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.

!function(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){"use strict";(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,u=!1,d=void 0,p=a,m=void 0;const _="object"==typeof self?self:"object"==typeof e?e:{};let 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?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,d=a,p=a,e=f.env.VSCODE_NLS_CONFIG,e)try{var g=JSON.parse(e),y=g.availableLanguages["*"];d=g.locale,p=y||a,g._translationsConfigFile}catch(e){}c=!0}}else m=navigator.userAgent,i=0<=m.indexOf("Windows"),o=0<=m.indexOf("Macintosh"),u=(0<=m.indexOf("Macintosh")||0<=m.indexOf("iPad")||0<=m.indexOf("iPhone"))&&!!navigator.maxTouchPoints&&0<navigator.maxTouchPoints,s=0<=m.indexOf("Linux"),l=!0,d=navigator.language,p=d;let h=0;o?h=1:i?h=3:s&&(h=2);const v=i,b=o,E=l,T=function(){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?void 0:f.nextTick))return f.nextTick.bind(f);const e=Promise.resolve();return n=>e.then(n)}()}).call(this,t("c8ba"),t("f28c"))},"973d":function(e,n,t){"use strict";t.r(n),function(e,r,a){t.d(n,"createClassifier",(function(){return XY})),t.d(n,"createLanguageService",(function(){return YY})),t.d(n,"displayPartsToString",(function(){return QY})),t.d(n,"EndOfLineState",(function(){return ZY})),t.d(n,"flattenDiagnosticMessageText",(function(){return $Y})),t.d(n,"IndentStyle",(function(){return eQ})),t.d(n,"ScriptKind",(function(){return nQ})),t.d(n,"ScriptTarget",(function(){return tQ})),t.d(n,"TokenClass",(function(){return rQ}));
/*! *****************************************************************************
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,u,d,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,ue,de,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,un,dn,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,ut,dt,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,ur,dr,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,ua,da,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,ui,di,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,us,ds,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,uc,dc,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,ul,dl,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,eu,nu,tu,ru,au,iu,ou,su,cu,lu,uu,du,pu,mu,_u,fu,gu,yu,hu,vu,bu,Eu,Tu,Su,xu,Lu,Du,Au,Cu,Iu,Nu,ku,Ru,Ou,Pu,wu,Mu,Fu,Gu,Bu,Uu,Vu,ju,Ku,Hu,Wu,zu,Ju,qu,Xu,Yu,Qu,Zu,$u=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))},ed=function(){return(ed=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)},nd=function(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e},td=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}}}},rd=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},ad=(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 id(){var e={};return{head:e.prev=e,tail:e,size:0}}function od(e,n){return e===n||e!=e&&n!=n}function sd(e){var n=e.prev;if(n&&n!==e)return n;throw new Error("Illegal state")}function cd(e){for(;e;){var n=!e.prev;if(e=e.next,!n)return e}}function ld(e,n){for(var t=e.tail;t!==e.head;t=sd(t))if(od(t.key,n))return t}function ud(e,n,t){var r=ld(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 dd(e,n){for(var t=e.tail;t!==e.head;t=sd(t)){if(void 0===t.prev)throw new Error("Illegal state");if(od(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 pd(e){for(var n=e.tail;n!==e.head;){var t=sd(n);n.next=e.head,n.prev=void 0,n=t}e.head.next=void 0,e.tail=e.head,e.size=0}function md(e,n){for(var t=e.head;t;)(t=cd(t))&&n(t.value,t.key)}function _d(e,n){if(e)for(var t=e.next();!t.done;t=e.next())n(t.value)}function fd(e,n){return{current:e.head,selector:n}}function gd(e){return e.current=cd(e.current),e.current?{value:e.selector(e.current.key,e.current.value),done:!1}:{value:void 0,done:!0}}(om=(om=SY=SY||{}).ShimCollections||(om.ShimCollections={})).createMapShim=function(e){t.prototype.next=function(){return gd(this._data)};var n=t;function t(e,n){this._data=fd(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=ld(this._mapData,e))?void 0:e.value},r.prototype.set=function(e,n){return ud(this._mapData,e,n),this},r.prototype.has=function(e){return!!ld(this._mapData,e)},r.prototype.delete=function(e){return!!dd(this._mapData,e)},r.prototype.clear=function(){pd(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){md(this._mapData,e)},r;function r(n){var t=this;this._mapData=id(),_d(e(n),(function(e){var n=e[0];e=e[1];t.set(n,e)}))}},om.createSetShim=function(e){t.prototype.next=function(){return gd(this._data)};var n=t;function t(e,n){this._data=fd(e,n)}return Object.defineProperty(r.prototype,"size",{get:function(){return this._mapData.size},enumerable:!1,configurable:!0}),r.prototype.add=function(e){return ud(this._mapData,e,e),this},r.prototype.has=function(e){return!!ld(this._mapData,e)},r.prototype.delete=function(e){return!!dd(this._mapData,e)},r.prototype.clear=function(){pd(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){md(this._mapData,e)},r;function r(n){var t=this;this._mapData=id(),_d(e(n),(function(e){t.add(e)}))}},(om=SY=SY||{}).versionMajorMinor="4.4",om.version="4.4.2",(sm=om.Comparison||(om.Comparison={}))[sm.LessThan=-1]="LessThan",sm[sm.EqualTo=0]="EqualTo",sm[sm.GreaterThan=1]="GreaterThan",(sm=om.NativeCollections||(om.NativeCollections={})).tryGetNativeMap=function(){return"undefined"!=typeof Map&&"entries"in Map.prototype&&1===new Map([[0,0]]).size?Map:void 0},sm.tryGetNativeSet=function(){return"undefined"!=typeof Set&&"entries"in Set.prototype&&1===new Set([0]).size?Set:void 0};var yd=SY=SY||{};function hd(e,n,t){if(n=null!=(n=yd.NativeCollections[n]())?n:null===yd.ShimCollections||void 0===yd.ShimCollections?void 0:yd.ShimCollections[t](vd),n)return n;throw new Error("TypeScript requires an environment that provides a compatible native "+e+" implementation.")}function vd(e){if(e){if(Hd(e))return kd(e);if(e instanceof yd.Map)return e.entries();if(e instanceof yd.Set)return e.values();throw new Error("Iteration not supported.")}}function bd(e,n,t){if(void 0===t&&(t=Yd),e)for(var r=0,a=e;r<a.length;r++)if(t(a[r],n))return!0;return!1}function Ed(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 Td(e,n){return Ed(n)?Ed(e)?$u($u([],e,!0),n,!0):n:e}function Sd(e,n){return n}function xd(e){return e.map(Sd)}function Ld(e,n){if(void 0!==n){if(void 0===e)return[n];e.push(n)}return e}function Dd(e,n){return n<0?e.length+n:n}function Ad(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:Dd(n,t),r=void 0===r?n.length:Dd(n,r);for(var a=t;a<r&&a<n.length;a++)void 0!==n[a]&&e.push(n[a])}return e}function Cd(e,n,t){return!bd(e,n,t)&&(e.push(n),!0)}function Id(e,n,t){n.sort((function(n,r){return t(e[n],e[r])||Zd(n,r)}))}function Nd(e,n){return 0===e.length?e:e.slice().sort(n)}function kd(e){var n=0;return{next:function(){return n===e.length?{value:void 0,done:!0}:{value:e[++n-1],done:!1}}}}function Rd(e,n,t,r,a){return Od(e,t(n),t,r,a)}function Od(e,n,t,r,a){if(!Ed(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 Pd(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}yd.Map=hd("Map","tryGetNativeMap","createMapShim"),yd.Set=hd("Set","tryGetNativeSet","createSetShim"),yd.getIterator=vd,yd.emptyArray=[],yd.emptyMap=new yd.Map,yd.emptySet=new yd.Set,yd.createMap=function(){return new yd.Map},yd.createMapFromTemplate=function(e){var n,t=new yd.Map;for(n in e)wd.call(e,n)&&t.set(n,e[n]);return t},yd.length=function(e){return e?e.length:0},yd.forEach=function(e,n){if(e)for(var t=0;t<e.length;t++){var r=n(e[t],t);if(r)return r}},yd.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}},yd.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}},yd.firstDefinedIterator=function(e,n){for(;;){var t=e.next();if(t.done)return;if(t=n(t.value),void 0!==t)return t}},yd.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},yd.zipWith=function(e,n,t){var r=[];yd.Debug.assertEqual(e.length,n.length);for(var a=0;a<e.length;a++)r.push(t(e[a],n[a],a));return r},yd.zipToIterator=function(e,n){yd.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}}}},yd.zipToMap=function(e,n){yd.Debug.assert(e.length===n.length);for(var t=new yd.Map,r=0;r<e.length;++r)t.set(e[r],n[r]);return t},yd.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},yd.every=function(e,n){if(e)for(var t=0;t<e.length;t++)if(!n(e[t],t))return!1;return!0},yd.find=function(e,n){for(var t=0;t<e.length;t++){var r=e[t];if(n(r,t))return r}},yd.findLast=function(e,n){for(var t=e.length-1;0<=t;t--){var r=e[t];if(n(r,t))return r}},yd.findIndex=function(e,n,t){for(var r=t||0;r<e.length;r++)if(n(e[r],r))return r;return-1},yd.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},yd.findMap=function(e,n){for(var t=0;t<e.length;t++){var r=n(e[t],t);if(r)return r}return yd.Debug.fail()},yd.contains=bd,yd.arraysEqual=function(e,n,t){return void 0===t&&(t=Yd),e.length===n.length&&e.every((function(e,r){return t(e,n[r])}))},yd.indexOfAnyCharCode=function(e,n,t){for(var r=t||0;r<e.length;r++)if(bd(n,e.charCodeAt(r)))return r;return-1},yd.countWhere=function(e,n){var t=0;if(e)for(var r=0;r<e.length;r++)n(e[r],r)&&t++;return t},yd.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},yd.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},yd.clear=function(e){e.length=0},yd.map=function(e,n){if(e)for(var t=[],r=0;r<e.length;r++)t.push(n(e[r],r));return t},yd.mapIterator=function(e,n){return{next:function(){var t=e.next();return t.done?t:{value:n(t.value),done:!1}}}},yd.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},yd.flatten=function(e){for(var n=[],t=0,r=e;t<r.length;t++){var a=r[t];a&&(Hd(a)?Ad(n,a):n.push(a))}return n},yd.flatMap=function(e,n){var t;if(e)for(var r=0;r<e.length;r++){var a=n(e[r],r);a&&(t=(Hd(a)?Ad:Ld)(t,a))}return t||yd.emptyArray},yd.flatMapToMutable=function(e,n){var t=[];if(e)for(var r=0;r<e.length;r++){var a=n(e[r],r);a&&(Hd(a)?Ad(t,a):t.push(a))}return t},yd.flatMapIterator=function(e,n){var t,r=e.next();return r.done?yd.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?yd.emptyIterator:Hd(e)?kd(e):e}},yd.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||Hd(i))&&(t=t||e.slice(0,r),Hd(i)?Ad(t,i):t.push(i))}return t||e},yd.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},yd.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},yd.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}}}}},yd.mapDefinedEntries=function(e,n){var t;if(e)return t=new yd.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},yd.mapDefinedValues=function(e,n){var t;if(e)return t=new yd.Set,e.forEach((function(e){e=n(e),void 0!==e&&t.add(e)})),t},yd.getOrUpdate=function(e,n,t){return e.has(n)?e.get(n):(t=t(),e.set(n,t),t)},yd.tryAddToSet=function(e,n){return!e.has(n)&&(e.add(n),!0)},yd.emptyIterator={next:function(){return{value:void 0,done:!0}}},yd.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}}}},yd.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},yd.mapEntries=function(e,n){var t;if(e)return t=new yd.Map,e.forEach((function(e,r){r=n(r,e),e=r[0],r=r[1],t.set(e,r)})),t},yd.some=Ed,yd.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)},yd.concatenate=Td,yd.indicesOf=xd,yd.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=xd(r),o=(Id(r,i,t),r[i[0]]),s=[i[0]],c=1;c<i.length;c++){var l=i[c],u=r[l];a(o,u)||(s.push(l),o=u)}return s.sort(),s.map((function(e){return r[e]}))}for(var d=n,p=[],m=0,_=t=e;m<_.length;m++)Cd(p,_[m],d);return p},yd.insertSorted=function(e,n,t){0===e.length?e.push(n):(t=Rd(e,n,zd,t))<0&&e.splice(~t,0,n)},yd.sortAndDeduplicate=function(e,n,t){var r=Nd(e,n),a=t||n||ep;if(0===r.length)return yd.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 yd.Debug.fail("Array is unsorted.")}o.push(i=c)}return o},yd.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},yd.arrayIsEqualTo=function(e,n,t){if(void 0===t&&(t=Yd),!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},yd.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},yd.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&&yd.Debug.assertGreaterThanOrEqual(t(n[i],n[i-1]),0);for(var o=a;a<e.length;a++)switch(o<a&&yd.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},yd.sum=function(e,n){for(var t=0,r=0,a=e;r<a.length;r++)t+=a[r][n];return t},yd.append=Ld,yd.combine=function(e,n){return void 0===e?n:void 0===n?e:Hd(e)?(Hd(n)?Td:Ld)(e,n):Hd(n)?Ld(n,e):[e,n]},yd.addRange=Ad,yd.pushIfUnique=Cd,yd.appendIfUnique=function(e,n,t){return e?(Cd(e,n,t),e):[n]},yd.sort=Nd,yd.arrayIterator=kd,yd.arrayReverseIterator=function(e){var n=e.length;return{next:function(){return 0===n?{value:void 0,done:!0}:{value:e[--n],done:!1}}}},yd.stableSort=function(e,n){var t=xd(e);return Id(e,t,n),t.map((function(n){return e[n]}))},yd.rangeEquals=function(e,n,t,r){for(;t<r;){if(e[t]!==n[t])return!1;t++}return!0},yd.elementAt=function(e,n){if(e&&(n=Dd(e,n))<e.length)return e[n]},yd.firstOrUndefined=function(e){return 0===e.length?void 0:e[0]},yd.first=function(e){return yd.Debug.assert(0!==e.length),e[0]},yd.lastOrUndefined=function(e){return 0===e.length?void 0:e[e.length-1]},yd.last=function(e){return yd.Debug.assert(0!==e.length),e[e.length-1]},yd.singleOrUndefined=function(e){return e&&1===e.length?e[0]:void 0},yd.singleOrMany=function(e){return e&&1===e.length?e[0]:e},yd.replaceElement=function(e,n,t){return(e=e.slice(0))[n]=t,e},yd.binarySearch=Rd,yd.binarySearchKey=Od,yd.reduceLeft=Pd;var wd=Object.prototype.hasOwnProperty;function Md(e,n){return wd.call(e,n)}function Fd(e){var n,t=[];for(n in e)wd.call(e,n)&&t.push(n);return t}yd.hasProperty=Md,yd.getProperty=function(e,n){return wd.call(e,n)?e[n]:void 0},yd.getOwnKeys=Fd,yd.getAllKeys=function(e){var n=[];do{for(var t=0,r=Object.getOwnPropertyNames(e);t<r.length;t++)Cd(n,r[t])}while(e=Object.getPrototypeOf(e));return n},yd.getOwnValues=function(e){var n,t=[];for(n in e)wd.call(e,n)&&t.push(e[n]);return t};var Gd=Object.entries||function(e){for(var n=Fd(e),t=Array(n.length),r=0;r<n.length;r++)t[r]=[n[r],e[n[r]]];return t};function Bd(e,n){for(var t=[],r=e.next();!r.done;r=e.next())t.push(n?n(r.value):r.value);return t}function Ud(e,n,t){void 0===t&&(t=zd);for(var r=Vd(),a=0,i=e;a<i.length;a++){var o=i[a];r.add(n(o),t(o))}return r}function Vd(){var e=new yd.Map;return e.add=jd,e.remove=Kd,e}function jd(e,n){var t=this.get(e);return t?t.push(n):this.set(e,t=[n]),t}function Kd(e,n){var t=this.get(e);t&&(_p(t,n),t.length||this.delete(e))}function Hd(e){return Array.isArray?Array.isArray(e):e instanceof Array}function Wd(e){}function zd(e){return e}function Jd(e){return e.toLowerCase()}yd.getEntries=function(e){return e?Gd(e):[]},yd.arrayOf=function(e,n){for(var t=new Array(e),r=0;r<e;r++)t[r]=n(r);return t},yd.arrayFrom=Bd,yd.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)Md(i,o)&&(e[o]=i[o])}return e},yd.equalOwnProperties=function(e,n,t){if(void 0===t&&(t=Yd),e!==n){if(!e||!n)return!1;for(var r in e)if(wd.call(e,r)){if(!wd.call(n,r))return!1;if(!t(e[r],n[r]))return!1}for(var r in n)if(wd.call(n,r)&&!wd.call(e,r))return!1}return!0},yd.arrayToMap=function(e,n,t){void 0===t&&(t=zd);for(var r=new yd.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},yd.arrayToNumericMap=function(e,n,t){void 0===t&&(t=zd);for(var r=[],a=0,i=e;a<i.length;a++){var o=i[a];r[n(o)]=t(o)}return r},yd.arrayToMultiMap=Ud,yd.group=function(e,n,t){return void 0===t&&(t=zd),Bd(Ud(e,n).values(),t)},yd.clone=function(e){var n,t={};for(n in e)wd.call(e,n)&&(t[n]=e[n]);return t},yd.extend=function(e,n){var t,r={};for(t in n)wd.call(n,t)&&(r[t]=n[t]);for(t in e)wd.call(e,t)&&(r[t]=e[t]);return r},yd.copyProperties=function(e,n){for(var t in n)wd.call(n,t)&&(e[t]=n[t])},yd.maybeBind=function(e,n){return n?n.bind(e):void 0},yd.createMultiMap=Vd,yd.createUnderscoreEscapedMultiMap=Vd,yd.isArray=Hd,yd.toArray=function(e){return Hd(e)?e:[e]},yd.isString=function(e){return"string"==typeof e},yd.isNumber=function(e){return"number"==typeof e},yd.tryCast=function(e,n){return void 0!==e&&n(e)?e:void 0},yd.cast=function(e,n){return void 0!==e&&n(e)?e:yd.Debug.fail("Invalid cast. The supplied value "+e+" did not pass the test '"+yd.Debug.getFunctionName(n)+"'.")},yd.noop=Wd,yd.returnFalse=function(){return!1},yd.returnTrue=function(){return!0},yd.returnUndefined=function(){},yd.identity=zd,yd.toLowerCase=Jd;var qd=/[^\u0130\u0131\u00DFa-z0-9\\/:\-_\. ]+/g;function Xd(e){return qd.test(e)?e.replace(qd,Jd):e}function Yd(e,n){return e===n}function Qd(e,n){return e===n?0:void 0===e||void 0!==n&&e<n?-1:1}function Zd(e,n){return Qd(e,n)}function $d(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 ep(e,n){return Qd(e,n)}yd.toFileNameLowerCase=Xd,yd.notImplemented=function(){throw new Error("Not implemented")},yd.memoize=function(e){var n;return function(){return e&&(n=e(),e=void 0),n}},yd.memoizeOne=function(e){var n=new yd.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}},yd.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 Pd(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}},(om=yd.AssertionLevel||(yd.AssertionLevel={}))[om.None=0]="None",om[om.Normal=1]="Normal",om[om.Aggressive=2]="Aggressive",om[om.VeryAggressive=3]="VeryAggressive",yd.equateValues=Yd,yd.equateStringsCaseInsensitive=function(e,n){return e===n||void 0!==e&&void 0!==n&&e.toUpperCase()===n.toUpperCase()},yd.equateStringsCaseSensitive=function(e,n){return e===n},yd.compareValues=Zd,yd.compareTextSpans=function(e,n){return Zd(null==e?void 0:e.start,null==n?void 0:n.start)||Zd(null==e?void 0:e.length,null==n?void 0:n.length)},yd.min=function(e,n,t){return-1===t(e,n)?e:n},yd.compareStringsCaseInsensitive=$d,yd.compareStringsCaseSensitive=ep,yd.getStringComparer=function(e){return e?$d:ep},rp=function(){return"object"==typeof Intl&&"function"==typeof Intl.Collator?cp:"function"==typeof String.prototype.localeCompare&&"function"==typeof String.prototype.toLocaleUpperCase&&"a".localeCompare("B")<0?lp:up}();var np,tp,rp,ap,ip,op=function(e){return void 0===e?np=np||rp(e):"en-US"===e?tp=tp||rp(e):rp(e)};function sp(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 cp(e){var n=new Intl.Collator(e,{usage:"sort",sensitivity:"variant"}).compare;return function(e,t){return sp(e,t,n)}}function lp(e){return void 0!==e?up():function(e,t){return sp(e,t,n)};function n(e,n){return e.localeCompare(n)}}function up(){return function(n,t){return sp(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 dp(e,n){var t=e.length-n.length;return 0<=t&&e.indexOf(n,t)===t}function pp(e,n){for(var t=n;t<e.length-1;t++)e[t]=e[t+1];e.pop()}function mp(e,n){e[n]=e[e.length-1],e.pop()}function _p(e,n){for(var t=e,r=function(e){return e===n},a=0;a<t.length;a++)if(r(t[a]))return mp(t,a),!0;return!1}function fp(e,n){return 0===e.lastIndexOf(n,0)}function gp(e,n){var t=e.prefix;e=e.suffix;return n.length>=t.length+e.length&&fp(n,t)&&dp(n,e)}function yp(){return null!=l?l:l=new o.Version(o.version)}function hp(e){return c.currentLogLevel<=e}function vp(e,n){c.loggingHost&&hp(e)&&c.loggingHost.log(e,n)}function bp(e){vp(s.Info,e)}function Ep(e){return e<=u}function Tp(e,n){if(e<=u)return 1;d[n]={level:e,assertion:c[n]},c[n]=o.noop}function Sp(e,n){throw e=new Error(e?"Debug Failure. "+e:"Debug Failure."),Error.captureStackTrace&&Error.captureStackTrace(e,n||Sp),e}function xp(e,n,t,r){e||(n=n?"False expression: "+n:"False expression.",t&&(n+="\r\nVerbose Debug Information: "+("string"==typeof t?t:t())),Sp(n,r||xp))}function Lp(e,n,t){null==e&&Sp(n,t||Lp)}function Dp(e,n,t){return Lp(e,n,t||Dp),e}function Ap(e,n,t){for(var r=0,a=e;r<a.length;r++)Lp(a[r],n,t||Ap)}function Cp(e,n,t){return Ap(e,n,t||Cp),e}function Ip(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 Np(e,n,t){if(void 0===e&&(e=0),n=function(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],u=c[1];if(e<l)break;0!==l&&l&e&&(r=r+(r?"|":"")+u,a&=~l)}if(0===a)return r}else for(var d=0,p=n;d<p.length;d++){var m=p[d];l=m[0],u=m[1];if(l===e)return u}return e.toString()}function kp(e){return Np(e,o.SyntaxKind,!1)}function Rp(e){return Np(e,o.NodeFlags,!0)}function Op(e){return Np(e,o.ModifierFlags,!0)}function Pp(e){return Np(e,o.TransformFlags,!0)}function wp(e){return Np(e,o.EmitFlags,!0)}function Mp(e){return Np(e,o.SymbolFlags,!0)}function Fp(e){return Np(e,o.TypeFlags,!0)}function Gp(e){return Np(e,o.SignatureFlags,!0)}function Bp(e){return Np(e,o.ObjectFlags,!0)}function Up(e){return Np(e,o.FlowFlags,!0)}function Vp(e){return function(){if(Hp(),p)return p;throw new Error("Debugging helpers could not be loaded.")}().formatControlFlowGraph(e)}function jp(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?" ("+Up(n)+")":"")}},__debugFlowFlags:{get:function(){return Np(this.flags,o.FlowFlags,!0)}},__debugToString:{value:function(){return Vp(this)}}})}function Kp(e){"__tsDebuggerDisplay"in e||Object.defineProperties(e,{__tsDebuggerDisplay:{value:function(e){return"NodeArray "+String(e).replace(/(?:,[\s\w\d_]+:[^,]+)+\]$/,"]")}}})}function Hp(){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?" ("+Mp(n)+")":"")}},__debugFlags:{get:function(){return Mp(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?" ("+Bp(n)+")":"")}},__debugFlags:{get:function(){return Fp(this.flags)}},__debugObjectFlags:{get:function(){return 524288&this.flags?Bp(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 Gp(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":kp(this.kind))+(this.flags?" ("+Rp(this.flags)+")":"")}},__debugKind:{get:function(){return kp(this.kind)}},__debugNodeFlags:{get:function(){return Rp(this.flags)}},__debugModifierFlags:{get:function(){return Op(o.getEffectiveModifierFlagsNoCache(this))}},__debugTransformFlags:{get:function(){return Pp(this.transformFlags)}},__debugIsParseTreeNode:{get:function(){return o.isParseTreeNode(this)}},__debugEmitFlags:{get:function(){return wp(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 Wp(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 zp(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:yp(),u="string"==typeof n.errorAfter?new o.Version(n.errorAfter):n.errorAfter,d="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:d,m=n.error||u&&l.compareTo(u)<=0;l=!d||0<=l.compareTo(d);return m?(d=n.message,c=Wp(e,!0,u,p,d),function(){throw new TypeError(c)}):l?(t=e,r=u,a=p,i=n.message,s=!1,function(){s||(bp.warn(Wp(t,!1,r,a,i)),s=!0)}):o.noop}function Jp(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(qp(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 qp(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 Xp(e){this._alternatives=e?g.Debug.checkDefined(Yp(e),"Invalid range spec."):g.emptyArray}function Yp(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(!function(e,n,t){if(e=Qp(e),e&&(n=Qp(n),n))return Zp(e.major)||t.push($p(">=",e.version)),Zp(n.major)||t.push(Zp(n.minor)?$p("<",n.version.increment("major")):Zp(n.patch)?$p("<",n.version.increment("minor")):$p("<=",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||!function(e,n,t){if(n=Qp(n),n){var r=n.version,a=n.major,i=n.minor,o=n.patch;if(Zp(a))"<"!==e&&">"!==e||t.push($p("<",E.zero));else switch(e){case"~":t.push($p(">=",r)),t.push($p("<",r.increment(Zp(i)?"major":"minor")));break;case"^":t.push($p(">=",r)),t.push($p("<",r.increment(0<r.major||Zp(i)?"major":0<r.minor||Zp(o)?"minor":"patch")));break;case"<":case">=":t.push($p(e,r));break;case"<=":case">":t.push(Zp(i)?$p("<="===e?"<":">=",r.increment("major")):Zp(o)?$p("<="===e?"<":">=",r.increment("minor")):$p(e,r));break;case"=":case void 0:Zp(i)||Zp(o)?(t.push($p(">=",r)),t.push($p("<",r.increment(Zp(i)?"major":"minor")))):t.push($p("=",r));break;default:return}return 1}}(l[1],l[2],a))return}n.push(a)}return n}function Qp(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(Zp(n)?0:parseInt(n,10),Zp(n)||Zp(t)?0:parseInt(t,10),Zp(n)||Zp(t)||Zp(r)?0:parseInt(r,10),a,e),major:n,minor:t,patch:r}}function Zp(e){return"*"===e||"x"===e||"X"===e}function $p(e,n){return{operator:e,operand:n}}function em(e){return g.map(e,nm).join(" ")}function nm(e){return""+e.operator+e.operand}function tm(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 rm(e,n,t){var r=0;return{enter:function(){1==++r&&am(n)},exit:function(){0==--r?(am(t),im(e,n,t)):r<0&&N.Debug.fail("enter/exit count does not match.")}}}function am(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 im(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)}yd.getUILocale=function(){return ip},yd.setUILocale=function(e){ip!==e&&(ip=e,ap=void 0)},yd.compareStringsCaseSensitiveUI=function(e,n){return(ap=ap||op(ip))(e,n)},yd.compareProperties=function(e,n,t,r){return e===n?0:void 0===e?-1:void 0===n?1:r(e[t],n[t])},yd.compareBooleans=function(e,n){return Zd(e?1:0,n?1:0)},yd.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=function(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),u=a[0]=o,d=1;d<c;d++)a[d]=i;for(d=c;d<=l;d++){var p=e[o-1].toLowerCase()===n[d-1].toLowerCase()?r[d-1]+.1:r[d-1]+2;p=s===n.charCodeAt(d-1)?r[d-1]:Math.min(r[d]+1,a[d-1]+1,p);a[d]=p,u=Math.min(u,p)}for(d=l+1;d<=n.length;d++)a[d]=i;if(t<u)return;var m=r;r=a,a=m}var _=r[n.length];return t<_?void 0:_}(e,l,i-.1))&&(yd.Debug.assert(l<i),i=l,r=c))}return r},yd.endsWith=dp,yd.removeSuffix=function(e,n){return dp(e,n)?e.slice(0,e.length-n.length):e},yd.tryRemoveSuffix=function(e,n){return dp(e,n)?e.slice(0,e.length-n.length):void 0},yd.stringContains=function(e,n){return-1!==e.indexOf(n)},yd.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)},yd.orderedRemoveItem=function(e,n){for(var t=0;t<e.length;t++)if(e[t]===n)return pp(e,t),!0;return!1},yd.orderedRemoveItemAt=pp,yd.unorderedRemoveItemAt=mp,yd.unorderedRemoveItem=_p,yd.createGetCanonicalFileName=function(e){return e?zd:Xd},yd.patternText=function(e){return e.prefix+"*"+e.suffix},yd.matchedText=function(e,n){return yd.Debug.assert(gp(e,n)),n.substring(e.prefix.length,n.length-e.suffix.length)},yd.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);gp(c,t)&&c.prefix.length>a&&(a=c.prefix.length,r=s)}return r},yd.startsWith=fp,yd.removePrefix=function(e,n){return fp(e,n)?e.substr(n.length):e},yd.tryRemovePrefix=function(e,n,t){return fp((t=void 0===t?zd:t)(e),t(n))?e.substring(n.length):void 0},yd.and=function(e,n){return function(t){return e(t)&&n(t)}},yd.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}},yd.not=function(e){return function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return!e.apply(void 0,n)}},yd.assertType=function(e){},yd.singleElementArray=function(e){return void 0===e?void 0:[e]},yd.enumerateInsertsAndDeletes=function(e,n,t,r,a,i){i=i||Wd;for(var o=0,s=0,c=e.length,l=n.length,u=!1;o<c&&s<l;){var d=e[o],p=n[s],m=t(d,p);-1===m?(r(d),o++,u=!0):1===m?(a(p),s++,u=!0):(i(p,d),o++,s++)}for(;o<c;)r(e[o++]),u=!0;for(;s<l;)a(n[s++]),u=!0;return u},yd.fill=function(e,n){for(var t=Array(e),r=0;r<e;r++)t[r]=n(r);return t},yd.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},yd.padLeft=function(e,n,t){return void 0===t&&(t=" "),n<=e.length?e:t.repeat(n-e.length)+e},yd.padRight=function(e,n,t){return void 0===t&&(t=" "),n<=e.length?e:e+t.repeat(n-e.length)},yd.takeWhile=function(e,n){for(var t=e.length,r=0;r<t&&n(e[r]);)r++;return e.slice(0,r)},yd.trimString=String.prototype.trim?function(e){return e.trim()}:function(e){return yd.trimStringEnd(yd.trimStringStart(e))},yd.trimStringEnd=String.prototype.trimEnd?function(e){return e.trimEnd()}:function(e){for(var n=e.length-1;0<=n&&yd.isWhiteSpaceLike(e.charCodeAt(n));)n--;return e.slice(0,n+1)},yd.trimStringStart=String.prototype.trimStart?function(e){return e.trimStart()}:function(e){return e.replace(/^\s+/g,"")},o=SY=SY||{},(sm=s=o.LogLevel||(o.LogLevel={}))[sm.Off=0]="Off",sm[sm.Error=1]="Error",sm[sm.Warning=2]="Warning",sm[sm.Info=3]="Info",sm[sm.Verbose=4]="Verbose",c=o.Debug||(o.Debug={}),u=0,c.currentLogLevel=s.Warning,c.isDebugging=!1,c.getTypeScriptVersion=yp,c.shouldLog=hp,c.log=bp,(sm=bp=c.log||(c.log={})).error=function(e){vp(s.Error,e)},sm.warn=function(e){vp(s.Warning,e)},sm.log=function(e){vp(s.Info,e)},sm.trace=function(e){vp(s.Verbose,e)},d={},c.getAssertionLevel=function(){return u},c.setAssertionLevel=function(e){if(u<(u=e))for(var n=0,t=o.getOwnKeys(d);n<t.length;n++){var r=t[n],a=d[r];void 0!==a&&c[r]!==a.assertion&&e>=a.level&&(c[r]=a,d[r]=void 0)}},c.shouldAssert=Ep,c.fail=Sp,c.failBadSyntaxKind=function e(n,t,r){return Sp((t||"Unexpected node.")+"\r\nNode "+kp(n.kind)+" was unexpected.",r||e)},c.assert=xp,c.assertEqual=function e(n,t,r,a,i){n!==t&&Sp("Expected "+n+" === "+t+". "+(r?a?r+" "+a:r:""),i||e)},c.assertLessThan=function e(n,t,r,a){t<=n&&Sp("Expected "+n+" < "+t+". "+(r||""),a||e)},c.assertLessThanOrEqual=function e(n,t,r){t<n&&Sp("Expected "+n+" <= "+t,r||e)},c.assertGreaterThanOrEqual=function e(n,t,r){n<t&&Sp("Expected "+n+" >= "+t,r||e)},c.assertIsDefined=Lp,c.checkDefined=Dp,c.assertDefined=Dp,c.assertEachIsDefined=Ap,c.checkEachDefined=Cp,c.assertEachDefined=Cp,c.assertNever=function e(n,t,r){return Sp((t=void 0===t?"Illegal value:":t)+" "+("object"==typeof n&&o.hasProperty(n,"kind")&&o.hasProperty(n,"pos")&&kp?"SyntaxKind: "+kp(n.kind):JSON.stringify(n)),r||e)},c.assertEachNode=function e(n,t,r,a){Tp(1,"assertEachNode")&&xp(void 0===t||o.every(n,t),r||"Unexpected node.",(function(){return"Node array did not pass test '"+Ip(t)+"'."}),a||e)},c.assertNode=function e(n,t,r,a){Tp(1,"assertNode")&&xp(void 0!==n&&(void 0===t||t(n)),r||"Unexpected node.",(function(){return"Node "+kp(null==n?void 0:n.kind)+" did not pass test '"+Ip(t)+"'."}),a||e)},c.assertNotNode=function e(n,t,r,a){Tp(1,"assertNotNode")&&xp(void 0===n||void 0===t||!t(n),r||"Unexpected node.",(function(){return"Node "+kp(n.kind)+" should not have passed test '"+Ip(t)+"'."}),a||e)},c.assertOptionalNode=function e(n,t,r,a){Tp(1,"assertOptionalNode")&&xp(void 0===t||void 0===n||t(n),r||"Unexpected node.",(function(){return"Node "+kp(null==n?void 0:n.kind)+" did not pass test '"+Ip(t)+"'."}),a||e)},c.assertOptionalToken=function e(n,t,r,a){Tp(1,"assertOptionalToken")&&xp(void 0===t||void 0===n||n.kind===t,r||"Unexpected node.",(function(){return"Node "+kp(null==n?void 0:n.kind)+" was not a '"+kp(t)+"' token."}),a||e)},c.assertMissingNode=function e(n,t,r){Tp(1,"assertMissingNode")&&xp(void 0===n,t||"Unexpected node.",(function(){return"Node "+kp(n.kind)+" was unexpected'."}),r||e)},c.type=function(e){},c.getFunctionName=Ip,c.formatSymbol=function(e){return"{ name: "+o.unescapeLeadingUnderscores(e.escapedName)+"; flags: "+Mp(e.flags)+"; declarations: "+o.map(e.declarations,(function(e){return kp(e.kind)}))+" }"},c.formatEnum=Np,c.formatSyntaxKind=kp,c.formatNodeFlags=Rp,c.formatModifierFlags=Op,c.formatTransformFlags=Pp,c.formatEmitFlags=wp,c.formatSymbolFlags=Mp,c.formatTypeFlags=Fp,c.formatSignatureFlags=Gp,c.formatObjectFlags=Bp,c.formatFlowFlags=Up,f=!1,c.printControlFlowGraph=function(e){},c.formatControlFlowGraph=Vp,c.attachFlowNodeDebugInfo=function(e){f&&("function"==typeof Object.setPrototypeOf?(m||jp(m=Object.create(Object.prototype)),Object.setPrototypeOf(e,m)):jp(e))},c.attachNodeArrayDebugInfo=function(e){f&&("function"==typeof Object.setPrototypeOf?(_||Kp(_=Object.create(Array.prototype)),Object.setPrototypeOf(e,_)):Kp(e))},c.enableDebugInfo=Hp,c.deprecate=function(e,n){var t,r;n=zp(Ip(e),n);return t=n,r=e,function(){return t(),r.apply(this,arguments)}},g=SY=SY||{},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*)$/,Jp.tryParse=function(e){if(e=qp(e),e)return new Jp(e.major,e.minor,e.patch,e.prerelease,e.build)},Jp.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)||function(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)},Jp.prototype.increment=function(e){switch(e){case"major":return new Jp(this.major+1,0,0);case"minor":return new Jp(this.major,this.minor+1,0);case"patch":return new Jp(this.major,this.minor,this.patch+1);default:return g.Debug.assertNever(e)}},Jp.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},Jp.zero=new Jp(0,0,0),E=Jp,g.Version=E,Xp.tryParse=function(e){var n;e=Yp(e);if(e)return(n=new Xp(""))._alternatives=e,n},Xp.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++){var a=r[t];if(function(e,n){for(var t=0,r=n;t<r.length;t++){var a=r[t];if(!function(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,a))return!0}return!1},Xp.prototype.toString=function(){return e=this._alternatives,g.map(e,em).join(" || ")||"*";var e},g.VersionRange=Xp,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=SY=SY||{},C=function(){if("object"==typeof performance&&"function"==typeof PerformanceObserver&&tm(performance,PerformanceObserver))return{shouldWriteNativeEvents:!0,performance:performance,PerformanceObserver:PerformanceObserver}}()||function(){if(void 0!==e&&e.nextTick&&!e.browser&&"object"==typeof a)try{var n,t,r={},i=r.performance,o=r.PerformanceObserver;if(tm(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=SY=SY||{},(k=N.performance||(N.performance={})).createTimerIf=function(e,n,t,r){return e?rm(n,t,r):k.nullTimer},k.createTimer=rm,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=am,k.measure=im,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 om=SY=SY||{},sm={logEvent:om.noop,logErrEvent:om.noop,logPerfEvent:om.noop,logInfoEvent:om.noop,logStartCommand:om.noop,logStopCommand:om.noop,logStartUpdateProgram:om.noop,logStopUpdateProgram:om.noop,logStartUpdateGraph:om.noop,logStopUpdateGraph:om.noop,logStartResolveModule:om.noop,logStopResolveModule:om.noop,logStartParseSourceFile:om.noop,logStopParseSourceFile:om.noop,logStartReadFile:om.noop,logStopReadFile:om.noop,logStartBindFile:om.noop,logStopBindFile:om.noop,logStartScheduledOperation:om.noop,logStopScheduledOperation:om.noop};try{Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_TITLE:"CRMEB",VUE_APP_API_URL:"",BASE_URL:"/admin/"}).TS_ETW_MODULE_PATH;var cm=void 0}catch(wu){cm=void 0}function lm(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 dm(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 pm(){}function mm(e){return 47===e||92===e}function _m(e){return 0<bm(e)}function fm(e){return 0!==bm(e)}function gm(e){return/^\.\.?($|[\\/])/.test(e)}function ym(e,n){return e.length>n.length&&Q.endsWith(e,n)}function hm(e){return 0<e.length&&mm(e.charCodeAt(e.length-1))}function vm(e){return 97<=e&&e<=122||65<=e&&e<=90}function bm(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(vm(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)&&vm(e.charCodeAt(r+1))&&(n=function(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 Em(e){return e=bm(e),e<0?~e:e}function Tm(e){var n=Em(e=Cm(e));return n===e.length?e:(e=wm(e)).slice(0,Math.max(n,e.lastIndexOf(Q.directorySeparator)))}function Sm(e,n,t){return Em(e=Cm(e))===e.length?"":(e=(e=wm(e)).slice(Math.max(Em(e),e.lastIndexOf(Q.directorySeparator)+1)),(n=void 0!==n&&void 0!==t?Lm(e,n,t):void 0)?e.slice(0,e.length-n.length):e)}function xm(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 Lm(e,n,t){if(n){var r=wm(e),a=t?Q.equateStringsCaseInsensitive:Q.equateStringsCaseSensitive;if("string"==typeof n)return xm(r,n,a)||"";for(var i=0,o=n;i<o.length;i++){var s=xm(r,o[i],a);if(s)return s}return""}return t=Sm(e),n=t.lastIndexOf("."),0<=n?t.substring(n):""}function Dm(e,n){return e=Nm(n=void 0===n?"":n,e),e=Em(n=e),t=n.substring(0,e),(n=n.substring(e).split(Q.directorySeparator)).length&&!Q.lastOrUndefined(n)&&n.pop(),$u([t],n,!0);var t}function Am(e){return 0===e.length?"":(e[0]&&Mm(e[0]))+e.slice(1).join(Q.directorySeparator)}function Cm(e){var n=e.indexOf("\\");return-1===n?e:($.lastIndex=n,e.replace($,Q.directorySeparator))}function Im(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 Nm(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];e=e&&Cm(e);for(var r=0,a=n;r<a.length;r++){var i=a[r];i&&(i=Cm(i),e=e&&0===Em(i)?Mm(e)+i:i)}return e}function km(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];return Pm(Q.some(n)?Nm.apply(void 0,$u([e],n,!1)):Cm(e))}function Rm(e,n){return Im(Dm(e,n))}function Om(e,n){return Am(Rm(e,n))}function Pm(e){var n;return e=Cm(e),ee.test(e)&&((n=e.replace(/\/\.\//g,"/").replace(/^\.\//,""))===e||ee.test(e=n))?(n=Am(Im(Dm(e))))&&hm(e)?Mm(n):n:e}function wm(e){return hm(e)?e.substr(0,e.length-1):e}function Mm(e){return hm(e)?e:e+Q.directorySeparator}function Fm(e){return fm(e)||gm(e)?e:"./"+e}function Gm(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,Em(e)),a=n.substring(0,Em(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=Im(Dm(e)),s=Im(Dm(n)),c=Math.min(o.length,s.length),l=1;l<c;l++){var u=t(o[l],s[l]);if(0!==u)return u}return Q.compareValues(o.length,s.length)}function Bm(e,n,t,r){for(var a=Im(Dm(e)),i=Im(Dm(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 $u($u([""],l,!0),e,!0)}function Um(e,n,t){Q.Debug.assert(0<Em(e)==0<Em(n),"Paths must either both be absolute or both be relative");var r="function"==typeof t?t:Q.identity;return Am(Bm(e,n,"boolean"==typeof t&&t?Q.equateStringsCaseInsensitive:Q.equateStringsCaseSensitive,r))}function Vm(e,n,t,r,a){return e=Bm(km(t,e),km(t,n),Q.equateStringsCaseSensitive,r),t=e[0],a&&_m(t)&&(n=t.charAt(0)===Q.directorySeparator?"file://":"file:///",e[0]=n+t),Am(e)}function jm(e,n){return e.getModifiedTime(n)||ne.missingFileModifiedTime}function Km(e){var n={};return n[re.Low]=e.Low,n[re.Medium]=e.Medium,n[re.High]=e.High,n}function Hm(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)&&Km(e?ed(ed({},r),e):r)}e.getEnvironmentVariable&&(n=function(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 Wm(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=Xm(c,jm(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 zm(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:jm(e,t)};return n.push(i),d(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 Wm(e,n,a,i,(function(e,a,i){i?(e.unchangedPolls=0,n!==t&&(n[a]=void 0,function(e){t.push(e),p(re.Low)}(e))):e.unchangedPolls!==ne.unchangedPollThresholds[r]?e.unchangedPolls++:n===t?(e.unchangedPolls=1,n[a]=void 0,d(e,re.Low)):r!==re.High&&(e.unchangedPolls++,n[a]=void 0,d(e,r===re.Low?re.Medium:re.High))}))}function u(e){switch(e){case re.Low:return r;case re.Medium:return a;case re.High:return i}}function d(e,n){u(n).push(e),p(n)}function p(e){u(e).pollScheduled||m(e)}function m(n){u(n).pollScheduled=e.setTimeout(n===re.Low?c:s,n,u(n))}}function Jm(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)||"."),u=r.get(l)||function(n,i,o){return 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),o.referenceCount=0,r.set(i,o),o}(ne.getDirectoryPath(n)||".",l,s);return u.referenceCount++,{close:function(){1===u.referenceCount?(u.close(),r.delete(l)):u.referenceCount--,t.remove(c,i)}}}}function qm(e){var n,t=[],r=0;return function(n,r){var a={fileName:n,callback:r,mtime:jm(e,n)};return t.push(a),i(),{close:function(){a.isClosed=!0,ne.unorderedRemoveItem(t,a)}}};function a(){n=void 0,r=Wm(e,t,r,ie[re.Low]),i()}function i(){t.length&&(n=n||e.setTimeout(a,re.High))}}function Xm(e,n){var t=e.mtime.getTime(),r=n.getTime();return t!==r&&(e.mtime=n,e.callback(e.fileName,Ym(t,r)),!0)}function Ym(e,n){return 0===e?te.Created:0===n?te.Deleted:te.Changed}function Qm(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,u=new ne.Map,d=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=u.get(i),m=(s?s.refCount++:(s={watcher:t(e,(function(t){var a,s,d,m,f,b,E;v(t,r)||(null!=r&&r.synchronousWatchDirectory?(g(i,t),h(e,i,r)):(a=e,s=i,t=t,d=r,(E=u.get(s))&&o(a)?(a=a,m=s,f=t,d=d,(b=p.get(m))?b.fileNames.push(f):p.set(m,{dirName:a,options:d,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(u.get(_(i.dirName)))}}}(E))))}),!1,r),refCount:1,childWatches:ne.emptyArray},u.set(i,s),h(e,i,r)),a&&{dirName:e,callback:a});return m&&d.add(i,m),{dirName:e,close:function(){var e=ne.Debug.checkDefined(u.get(i));m&&d.remove(i,m),e.refCount--,e.refCount||(u.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,d.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),d.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=u.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}))||Zm(e,n,r,a)}}function Zm(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 $m(e,n,t,r,a){return function(i,o){"rename"===i&&(i=o?ne.normalizePath(ne.combinePaths(e,o)):e,o&&Zm(i,t,r,a)||n(i))}}function e_(e,n,t,r,a,i,o){return{code:e,category:n,key:t,message:r,reportsUnnecessary:a,elidedInCompatabilityPyramid:i,reportsDeprecated:o}}om.perfLogger=cm&&cm.logEvent?cm:sm,B=SY=SY||{},U=wu=wu||{},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"+[ed({name:"process_name",args:{name:"tsc"}},n),ed({name:"thread_name",args:{name:"Main"}},n),ed(ed({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,u=void 0;if(16&c|2944&s.flags)try{u=null==(n=s.checker)?void 0:n.typeToString(s)}catch(e){u=void 0}var d,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==(_=(d=s).target)?void 0:_.id,typeArguments:null==(_=d.resolvedTypeArguments)?void 0:_.map((function(e){return e.id})),referenceLocation:dm(d.node)}),{}),f=(16777216&s.flags&&(_={conditionalCheckType:null==(d=s.checkType)?void 0:d.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)),ed(ed(ed(ed(ed(ed(ed({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:dm(s.pattern),firstDeclaration:dm(null==(c=null==l?void 0:l.declarations)?void 0:c[0]),flags:B.Debug.formatTypeFlags(s.flags).split("|"),display:u}));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)},(om=U.Phase||(U.Phase={})).Parse="parse",om.Program="program",om.Bind="bind",om.Check="check",om.CheckTypes="checkTypes",om.Emit="emit",om.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),lm(q.length-1,1e3*B.timestamp()),q.length--},U.popAll=function(){for(var e=1e3*B.timestamp(),n=q.length-1;0<=n;n--)lm(n,e);q.length=0},X=1e4,U.dumpLegend=function(){K&&V.writeFileSync(K,JSON.stringify(J))},B.startTracing=wu.startTracing,B.dumpTracingLegend=wu.dumpLegend,cm=SY=SY||{},(sm=cm.SyntaxKind||(cm.SyntaxKind={}))[sm.Unknown=0]="Unknown",sm[sm.EndOfFileToken=1]="EndOfFileToken",sm[sm.SingleLineCommentTrivia=2]="SingleLineCommentTrivia",sm[sm.MultiLineCommentTrivia=3]="MultiLineCommentTrivia",sm[sm.NewLineTrivia=4]="NewLineTrivia",sm[sm.WhitespaceTrivia=5]="WhitespaceTrivia",sm[sm.ShebangTrivia=6]="ShebangTrivia",sm[sm.ConflictMarkerTrivia=7]="ConflictMarkerTrivia",sm[sm.NumericLiteral=8]="NumericLiteral",sm[sm.BigIntLiteral=9]="BigIntLiteral",sm[sm.StringLiteral=10]="StringLiteral",sm[sm.JsxText=11]="JsxText",sm[sm.JsxTextAllWhiteSpaces=12]="JsxTextAllWhiteSpaces",sm[sm.RegularExpressionLiteral=13]="RegularExpressionLiteral",sm[sm.NoSubstitutionTemplateLiteral=14]="NoSubstitutionTemplateLiteral",sm[sm.TemplateHead=15]="TemplateHead",sm[sm.TemplateMiddle=16]="TemplateMiddle",sm[sm.TemplateTail=17]="TemplateTail",sm[sm.OpenBraceToken=18]="OpenBraceToken",sm[sm.CloseBraceToken=19]="CloseBraceToken",sm[sm.OpenParenToken=20]="OpenParenToken",sm[sm.CloseParenToken=21]="CloseParenToken",sm[sm.OpenBracketToken=22]="OpenBracketToken",sm[sm.CloseBracketToken=23]="CloseBracketToken",sm[sm.DotToken=24]="DotToken",sm[sm.DotDotDotToken=25]="DotDotDotToken",sm[sm.SemicolonToken=26]="SemicolonToken",sm[sm.CommaToken=27]="CommaToken",sm[sm.QuestionDotToken=28]="QuestionDotToken",sm[sm.LessThanToken=29]="LessThanToken",sm[sm.LessThanSlashToken=30]="LessThanSlashToken",sm[sm.GreaterThanToken=31]="GreaterThanToken",sm[sm.LessThanEqualsToken=32]="LessThanEqualsToken",sm[sm.GreaterThanEqualsToken=33]="GreaterThanEqualsToken",sm[sm.EqualsEqualsToken=34]="EqualsEqualsToken",sm[sm.ExclamationEqualsToken=35]="ExclamationEqualsToken",sm[sm.EqualsEqualsEqualsToken=36]="EqualsEqualsEqualsToken",sm[sm.ExclamationEqualsEqualsToken=37]="ExclamationEqualsEqualsToken",sm[sm.EqualsGreaterThanToken=38]="EqualsGreaterThanToken",sm[sm.PlusToken=39]="PlusToken",sm[sm.MinusToken=40]="MinusToken",sm[sm.AsteriskToken=41]="AsteriskToken",sm[sm.AsteriskAsteriskToken=42]="AsteriskAsteriskToken",sm[sm.SlashToken=43]="SlashToken",sm[sm.PercentToken=44]="PercentToken",sm[sm.PlusPlusToken=45]="PlusPlusToken",sm[sm.MinusMinusToken=46]="MinusMinusToken",sm[sm.LessThanLessThanToken=47]="LessThanLessThanToken",sm[sm.GreaterThanGreaterThanToken=48]="GreaterThanGreaterThanToken",sm[sm.GreaterThanGreaterThanGreaterThanToken=49]="GreaterThanGreaterThanGreaterThanToken",sm[sm.AmpersandToken=50]="AmpersandToken",sm[sm.BarToken=51]="BarToken",sm[sm.CaretToken=52]="CaretToken",sm[sm.ExclamationToken=53]="ExclamationToken",sm[sm.TildeToken=54]="TildeToken",sm[sm.AmpersandAmpersandToken=55]="AmpersandAmpersandToken",sm[sm.BarBarToken=56]="BarBarToken",sm[sm.QuestionToken=57]="QuestionToken",sm[sm.ColonToken=58]="ColonToken",sm[sm.AtToken=59]="AtToken",sm[sm.QuestionQuestionToken=60]="QuestionQuestionToken",sm[sm.BacktickToken=61]="BacktickToken",sm[sm.HashToken=62]="HashToken",sm[sm.EqualsToken=63]="EqualsToken",sm[sm.PlusEqualsToken=64]="PlusEqualsToken",sm[sm.MinusEqualsToken=65]="MinusEqualsToken",sm[sm.AsteriskEqualsToken=66]="AsteriskEqualsToken",sm[sm.AsteriskAsteriskEqualsToken=67]="AsteriskAsteriskEqualsToken",sm[sm.SlashEqualsToken=68]="SlashEqualsToken",sm[sm.PercentEqualsToken=69]="PercentEqualsToken",sm[sm.LessThanLessThanEqualsToken=70]="LessThanLessThanEqualsToken",sm[sm.GreaterThanGreaterThanEqualsToken=71]="GreaterThanGreaterThanEqualsToken",sm[sm.GreaterThanGreaterThanGreaterThanEqualsToken=72]="GreaterThanGreaterThanGreaterThanEqualsToken",sm[sm.AmpersandEqualsToken=73]="AmpersandEqualsToken",sm[sm.BarEqualsToken=74]="BarEqualsToken",sm[sm.BarBarEqualsToken=75]="BarBarEqualsToken",sm[sm.AmpersandAmpersandEqualsToken=76]="AmpersandAmpersandEqualsToken",sm[sm.QuestionQuestionEqualsToken=77]="QuestionQuestionEqualsToken",sm[sm.CaretEqualsToken=78]="CaretEqualsToken",sm[sm.Identifier=79]="Identifier",sm[sm.PrivateIdentifier=80]="PrivateIdentifier",sm[sm.BreakKeyword=81]="BreakKeyword",sm[sm.CaseKeyword=82]="CaseKeyword",sm[sm.CatchKeyword=83]="CatchKeyword",sm[sm.ClassKeyword=84]="ClassKeyword",sm[sm.ConstKeyword=85]="ConstKeyword",sm[sm.ContinueKeyword=86]="ContinueKeyword",sm[sm.DebuggerKeyword=87]="DebuggerKeyword",sm[sm.DefaultKeyword=88]="DefaultKeyword",sm[sm.DeleteKeyword=89]="DeleteKeyword",sm[sm.DoKeyword=90]="DoKeyword",sm[sm.ElseKeyword=91]="ElseKeyword",sm[sm.EnumKeyword=92]="EnumKeyword",sm[sm.ExportKeyword=93]="ExportKeyword",sm[sm.ExtendsKeyword=94]="ExtendsKeyword",sm[sm.FalseKeyword=95]="FalseKeyword",sm[sm.FinallyKeyword=96]="FinallyKeyword",sm[sm.ForKeyword=97]="ForKeyword",sm[sm.FunctionKeyword=98]="FunctionKeyword",sm[sm.IfKeyword=99]="IfKeyword",sm[sm.ImportKeyword=100]="ImportKeyword",sm[sm.InKeyword=101]="InKeyword",sm[sm.InstanceOfKeyword=102]="InstanceOfKeyword",sm[sm.NewKeyword=103]="NewKeyword",sm[sm.NullKeyword=104]="NullKeyword",sm[sm.ReturnKeyword=105]="ReturnKeyword",sm[sm.SuperKeyword=106]="SuperKeyword",sm[sm.SwitchKeyword=107]="SwitchKeyword",sm[sm.ThisKeyword=108]="ThisKeyword",sm[sm.ThrowKeyword=109]="ThrowKeyword",sm[sm.TrueKeyword=110]="TrueKeyword",sm[sm.TryKeyword=111]="TryKeyword",sm[sm.TypeOfKeyword=112]="TypeOfKeyword",sm[sm.VarKeyword=113]="VarKeyword",sm[sm.VoidKeyword=114]="VoidKeyword",sm[sm.WhileKeyword=115]="WhileKeyword",sm[sm.WithKeyword=116]="WithKeyword",sm[sm.ImplementsKeyword=117]="ImplementsKeyword",sm[sm.InterfaceKeyword=118]="InterfaceKeyword",sm[sm.LetKeyword=119]="LetKeyword",sm[sm.PackageKeyword=120]="PackageKeyword",sm[sm.PrivateKeyword=121]="PrivateKeyword",sm[sm.ProtectedKeyword=122]="ProtectedKeyword",sm[sm.PublicKeyword=123]="PublicKeyword",sm[sm.StaticKeyword=124]="StaticKeyword",sm[sm.YieldKeyword=125]="YieldKeyword",sm[sm.AbstractKeyword=126]="AbstractKeyword",sm[sm.AsKeyword=127]="AsKeyword",sm[sm.AssertsKeyword=128]="AssertsKeyword",sm[sm.AnyKeyword=129]="AnyKeyword",sm[sm.AsyncKeyword=130]="AsyncKeyword",sm[sm.AwaitKeyword=131]="AwaitKeyword",sm[sm.BooleanKeyword=132]="BooleanKeyword",sm[sm.ConstructorKeyword=133]="ConstructorKeyword",sm[sm.DeclareKeyword=134]="DeclareKeyword",sm[sm.GetKeyword=135]="GetKeyword",sm[sm.InferKeyword=136]="InferKeyword",sm[sm.IntrinsicKeyword=137]="IntrinsicKeyword",sm[sm.IsKeyword=138]="IsKeyword",sm[sm.KeyOfKeyword=139]="KeyOfKeyword",sm[sm.ModuleKeyword=140]="ModuleKeyword",sm[sm.NamespaceKeyword=141]="NamespaceKeyword",sm[sm.NeverKeyword=142]="NeverKeyword",sm[sm.ReadonlyKeyword=143]="ReadonlyKeyword",sm[sm.RequireKeyword=144]="RequireKeyword",sm[sm.NumberKeyword=145]="NumberKeyword",sm[sm.ObjectKeyword=146]="ObjectKeyword",sm[sm.SetKeyword=147]="SetKeyword",sm[sm.StringKeyword=148]="StringKeyword",sm[sm.SymbolKeyword=149]="SymbolKeyword",sm[sm.TypeKeyword=150]="TypeKeyword",sm[sm.UndefinedKeyword=151]="UndefinedKeyword",sm[sm.UniqueKeyword=152]="UniqueKeyword",sm[sm.UnknownKeyword=153]="UnknownKeyword",sm[sm.FromKeyword=154]="FromKeyword",sm[sm.GlobalKeyword=155]="GlobalKeyword",sm[sm.BigIntKeyword=156]="BigIntKeyword",sm[sm.OverrideKeyword=157]="OverrideKeyword",sm[sm.OfKeyword=158]="OfKeyword",sm[sm.QualifiedName=159]="QualifiedName",sm[sm.ComputedPropertyName=160]="ComputedPropertyName",sm[sm.TypeParameter=161]="TypeParameter",sm[sm.Parameter=162]="Parameter",sm[sm.Decorator=163]="Decorator",sm[sm.PropertySignature=164]="PropertySignature",sm[sm.PropertyDeclaration=165]="PropertyDeclaration",sm[sm.MethodSignature=166]="MethodSignature",sm[sm.MethodDeclaration=167]="MethodDeclaration",sm[sm.ClassStaticBlockDeclaration=168]="ClassStaticBlockDeclaration",sm[sm.Constructor=169]="Constructor",sm[sm.GetAccessor=170]="GetAccessor",sm[sm.SetAccessor=171]="SetAccessor",sm[sm.CallSignature=172]="CallSignature",sm[sm.ConstructSignature=173]="ConstructSignature",sm[sm.IndexSignature=174]="IndexSignature",sm[sm.TypePredicate=175]="TypePredicate",sm[sm.TypeReference=176]="TypeReference",sm[sm.FunctionType=177]="FunctionType",sm[sm.ConstructorType=178]="ConstructorType",sm[sm.TypeQuery=179]="TypeQuery",sm[sm.TypeLiteral=180]="TypeLiteral",sm[sm.ArrayType=181]="ArrayType",sm[sm.TupleType=182]="TupleType",sm[sm.OptionalType=183]="OptionalType",sm[sm.RestType=184]="RestType",sm[sm.UnionType=185]="UnionType",sm[sm.IntersectionType=186]="IntersectionType",sm[sm.ConditionalType=187]="ConditionalType",sm[sm.InferType=188]="InferType",sm[sm.ParenthesizedType=189]="ParenthesizedType",sm[sm.ThisType=190]="ThisType",sm[sm.TypeOperator=191]="TypeOperator",sm[sm.IndexedAccessType=192]="IndexedAccessType",sm[sm.MappedType=193]="MappedType",sm[sm.LiteralType=194]="LiteralType",sm[sm.NamedTupleMember=195]="NamedTupleMember",sm[sm.TemplateLiteralType=196]="TemplateLiteralType",sm[sm.TemplateLiteralTypeSpan=197]="TemplateLiteralTypeSpan",sm[sm.ImportType=198]="ImportType",sm[sm.ObjectBindingPattern=199]="ObjectBindingPattern",sm[sm.ArrayBindingPattern=200]="ArrayBindingPattern",sm[sm.BindingElement=201]="BindingElement",sm[sm.ArrayLiteralExpression=202]="ArrayLiteralExpression",sm[sm.ObjectLiteralExpression=203]="ObjectLiteralExpression",sm[sm.PropertyAccessExpression=204]="PropertyAccessExpression",sm[sm.ElementAccessExpression=205]="ElementAccessExpression",sm[sm.CallExpression=206]="CallExpression",sm[sm.NewExpression=207]="NewExpression",sm[sm.TaggedTemplateExpression=208]="TaggedTemplateExpression",sm[sm.TypeAssertionExpression=209]="TypeAssertionExpression",sm[sm.ParenthesizedExpression=210]="ParenthesizedExpression",sm[sm.FunctionExpression=211]="FunctionExpression",sm[sm.ArrowFunction=212]="ArrowFunction",sm[sm.DeleteExpression=213]="DeleteExpression",sm[sm.TypeOfExpression=214]="TypeOfExpression",sm[sm.VoidExpression=215]="VoidExpression",sm[sm.AwaitExpression=216]="AwaitExpression",sm[sm.PrefixUnaryExpression=217]="PrefixUnaryExpression",sm[sm.PostfixUnaryExpression=218]="PostfixUnaryExpression",sm[sm.BinaryExpression=219]="BinaryExpression",sm[sm.ConditionalExpression=220]="ConditionalExpression",sm[sm.TemplateExpression=221]="TemplateExpression",sm[sm.YieldExpression=222]="YieldExpression",sm[sm.SpreadElement=223]="SpreadElement",sm[sm.ClassExpression=224]="ClassExpression",sm[sm.OmittedExpression=225]="OmittedExpression",sm[sm.ExpressionWithTypeArguments=226]="ExpressionWithTypeArguments",sm[sm.AsExpression=227]="AsExpression",sm[sm.NonNullExpression=228]="NonNullExpression",sm[sm.MetaProperty=229]="MetaProperty",sm[sm.SyntheticExpression=230]="SyntheticExpression",sm[sm.TemplateSpan=231]="TemplateSpan",sm[sm.SemicolonClassElement=232]="SemicolonClassElement",sm[sm.Block=233]="Block",sm[sm.EmptyStatement=234]="EmptyStatement",sm[sm.VariableStatement=235]="VariableStatement",sm[sm.ExpressionStatement=236]="ExpressionStatement",sm[sm.IfStatement=237]="IfStatement",sm[sm.DoStatement=238]="DoStatement",sm[sm.WhileStatement=239]="WhileStatement",sm[sm.ForStatement=240]="ForStatement",sm[sm.ForInStatement=241]="ForInStatement",sm[sm.ForOfStatement=242]="ForOfStatement",sm[sm.ContinueStatement=243]="ContinueStatement",sm[sm.BreakStatement=244]="BreakStatement",sm[sm.ReturnStatement=245]="ReturnStatement",sm[sm.WithStatement=246]="WithStatement",sm[sm.SwitchStatement=247]="SwitchStatement",sm[sm.LabeledStatement=248]="LabeledStatement",sm[sm.ThrowStatement=249]="ThrowStatement",sm[sm.TryStatement=250]="TryStatement",sm[sm.DebuggerStatement=251]="DebuggerStatement",sm[sm.VariableDeclaration=252]="VariableDeclaration",sm[sm.VariableDeclarationList=253]="VariableDeclarationList",sm[sm.FunctionDeclaration=254]="FunctionDeclaration",sm[sm.ClassDeclaration=255]="ClassDeclaration",sm[sm.InterfaceDeclaration=256]="InterfaceDeclaration",sm[sm.TypeAliasDeclaration=257]="TypeAliasDeclaration",sm[sm.EnumDeclaration=258]="EnumDeclaration",sm[sm.ModuleDeclaration=259]="ModuleDeclaration",sm[sm.ModuleBlock=260]="ModuleBlock",sm[sm.CaseBlock=261]="CaseBlock",sm[sm.NamespaceExportDeclaration=262]="NamespaceExportDeclaration",sm[sm.ImportEqualsDeclaration=263]="ImportEqualsDeclaration",sm[sm.ImportDeclaration=264]="ImportDeclaration",sm[sm.ImportClause=265]="ImportClause",sm[sm.NamespaceImport=266]="NamespaceImport",sm[sm.NamedImports=267]="NamedImports",sm[sm.ImportSpecifier=268]="ImportSpecifier",sm[sm.ExportAssignment=269]="ExportAssignment",sm[sm.ExportDeclaration=270]="ExportDeclaration",sm[sm.NamedExports=271]="NamedExports",sm[sm.NamespaceExport=272]="NamespaceExport",sm[sm.ExportSpecifier=273]="ExportSpecifier",sm[sm.MissingDeclaration=274]="MissingDeclaration",sm[sm.ExternalModuleReference=275]="ExternalModuleReference",sm[sm.JsxElement=276]="JsxElement",sm[sm.JsxSelfClosingElement=277]="JsxSelfClosingElement",sm[sm.JsxOpeningElement=278]="JsxOpeningElement",sm[sm.JsxClosingElement=279]="JsxClosingElement",sm[sm.JsxFragment=280]="JsxFragment",sm[sm.JsxOpeningFragment=281]="JsxOpeningFragment",sm[sm.JsxClosingFragment=282]="JsxClosingFragment",sm[sm.JsxAttribute=283]="JsxAttribute",sm[sm.JsxAttributes=284]="JsxAttributes",sm[sm.JsxSpreadAttribute=285]="JsxSpreadAttribute",sm[sm.JsxExpression=286]="JsxExpression",sm[sm.CaseClause=287]="CaseClause",sm[sm.DefaultClause=288]="DefaultClause",sm[sm.HeritageClause=289]="HeritageClause",sm[sm.CatchClause=290]="CatchClause",sm[sm.PropertyAssignment=291]="PropertyAssignment",sm[sm.ShorthandPropertyAssignment=292]="ShorthandPropertyAssignment",sm[sm.SpreadAssignment=293]="SpreadAssignment",sm[sm.EnumMember=294]="EnumMember",sm[sm.UnparsedPrologue=295]="UnparsedPrologue",sm[sm.UnparsedPrepend=296]="UnparsedPrepend",sm[sm.UnparsedText=297]="UnparsedText",sm[sm.UnparsedInternalText=298]="UnparsedInternalText",sm[sm.UnparsedSyntheticReference=299]="UnparsedSyntheticReference",sm[sm.SourceFile=300]="SourceFile",sm[sm.Bundle=301]="Bundle",sm[sm.UnparsedSource=302]="UnparsedSource",sm[sm.InputFiles=303]="InputFiles",sm[sm.JSDocTypeExpression=304]="JSDocTypeExpression",sm[sm.JSDocNameReference=305]="JSDocNameReference",sm[sm.JSDocMemberName=306]="JSDocMemberName",sm[sm.JSDocAllType=307]="JSDocAllType",sm[sm.JSDocUnknownType=308]="JSDocUnknownType",sm[sm.JSDocNullableType=309]="JSDocNullableType",sm[sm.JSDocNonNullableType=310]="JSDocNonNullableType",sm[sm.JSDocOptionalType=311]="JSDocOptionalType",sm[sm.JSDocFunctionType=312]="JSDocFunctionType",sm[sm.JSDocVariadicType=313]="JSDocVariadicType",sm[sm.JSDocNamepathType=314]="JSDocNamepathType",sm[sm.JSDocComment=315]="JSDocComment",sm[sm.JSDocText=316]="JSDocText",sm[sm.JSDocTypeLiteral=317]="JSDocTypeLiteral",sm[sm.JSDocSignature=318]="JSDocSignature",sm[sm.JSDocLink=319]="JSDocLink",sm[sm.JSDocLinkCode=320]="JSDocLinkCode",sm[sm.JSDocLinkPlain=321]="JSDocLinkPlain",sm[sm.JSDocTag=322]="JSDocTag",sm[sm.JSDocAugmentsTag=323]="JSDocAugmentsTag",sm[sm.JSDocImplementsTag=324]="JSDocImplementsTag",sm[sm.JSDocAuthorTag=325]="JSDocAuthorTag",sm[sm.JSDocDeprecatedTag=326]="JSDocDeprecatedTag",sm[sm.JSDocClassTag=327]="JSDocClassTag",sm[sm.JSDocPublicTag=328]="JSDocPublicTag",sm[sm.JSDocPrivateTag=329]="JSDocPrivateTag",sm[sm.JSDocProtectedTag=330]="JSDocProtectedTag",sm[sm.JSDocReadonlyTag=331]="JSDocReadonlyTag",sm[sm.JSDocOverrideTag=332]="JSDocOverrideTag",sm[sm.JSDocCallbackTag=333]="JSDocCallbackTag",sm[sm.JSDocEnumTag=334]="JSDocEnumTag",sm[sm.JSDocParameterTag=335]="JSDocParameterTag",sm[sm.JSDocReturnTag=336]="JSDocReturnTag",sm[sm.JSDocThisTag=337]="JSDocThisTag",sm[sm.JSDocTypeTag=338]="JSDocTypeTag",sm[sm.JSDocTemplateTag=339]="JSDocTemplateTag",sm[sm.JSDocTypedefTag=340]="JSDocTypedefTag",sm[sm.JSDocSeeTag=341]="JSDocSeeTag",sm[sm.JSDocPropertyTag=342]="JSDocPropertyTag",sm[sm.SyntaxList=343]="SyntaxList",sm[sm.NotEmittedStatement=344]="NotEmittedStatement",sm[sm.PartiallyEmittedExpression=345]="PartiallyEmittedExpression",sm[sm.CommaListExpression=346]="CommaListExpression",sm[sm.MergeDeclarationMarker=347]="MergeDeclarationMarker",sm[sm.EndOfDeclarationMarker=348]="EndOfDeclarationMarker",sm[sm.SyntheticReferenceExpression=349]="SyntheticReferenceExpression",sm[sm.Count=350]="Count",sm[sm.FirstAssignment=63]="FirstAssignment",sm[sm.LastAssignment=78]="LastAssignment",sm[sm.FirstCompoundAssignment=64]="FirstCompoundAssignment",sm[sm.LastCompoundAssignment=78]="LastCompoundAssignment",sm[sm.FirstReservedWord=81]="FirstReservedWord",sm[sm.LastReservedWord=116]="LastReservedWord",sm[sm.FirstKeyword=81]="FirstKeyword",sm[sm.LastKeyword=158]="LastKeyword",sm[sm.FirstFutureReservedWord=117]="FirstFutureReservedWord",sm[sm.LastFutureReservedWord=125]="LastFutureReservedWord",sm[sm.FirstTypeNode=175]="FirstTypeNode",sm[sm.LastTypeNode=198]="LastTypeNode",sm[sm.FirstPunctuation=18]="FirstPunctuation",sm[sm.LastPunctuation=78]="LastPunctuation",sm[sm.FirstToken=0]="FirstToken",sm[sm.LastToken=158]="LastToken",sm[sm.FirstTriviaToken=2]="FirstTriviaToken",sm[sm.LastTriviaToken=7]="LastTriviaToken",sm[sm.FirstLiteralToken=8]="FirstLiteralToken",sm[sm.LastLiteralToken=14]="LastLiteralToken",sm[sm.FirstTemplateToken=14]="FirstTemplateToken",sm[sm.LastTemplateToken=17]="LastTemplateToken",sm[sm.FirstBinaryOperator=29]="FirstBinaryOperator",sm[sm.LastBinaryOperator=78]="LastBinaryOperator",sm[sm.FirstStatement=235]="FirstStatement",sm[sm.LastStatement=251]="LastStatement",sm[sm.FirstNode=159]="FirstNode",sm[sm.FirstJSDocNode=304]="FirstJSDocNode",sm[sm.LastJSDocNode=342]="LastJSDocNode",sm[sm.FirstJSDocTagNode=322]="FirstJSDocTagNode",sm[sm.LastJSDocTagNode=342]="LastJSDocTagNode",sm[sm.FirstContextualKeyword=126]="FirstContextualKeyword",sm[sm.LastContextualKeyword=158]="LastContextualKeyword",(sm=cm.NodeFlags||(cm.NodeFlags={}))[sm.None=0]="None",sm[sm.Let=1]="Let",sm[sm.Const=2]="Const",sm[sm.NestedNamespace=4]="NestedNamespace",sm[sm.Synthesized=8]="Synthesized",sm[sm.Namespace=16]="Namespace",sm[sm.OptionalChain=32]="OptionalChain",sm[sm.ExportContext=64]="ExportContext",sm[sm.ContainsThis=128]="ContainsThis",sm[sm.HasImplicitReturn=256]="HasImplicitReturn",sm[sm.HasExplicitReturn=512]="HasExplicitReturn",sm[sm.GlobalAugmentation=1024]="GlobalAugmentation",sm[sm.HasAsyncFunctions=2048]="HasAsyncFunctions",sm[sm.DisallowInContext=4096]="DisallowInContext",sm[sm.YieldContext=8192]="YieldContext",sm[sm.DecoratorContext=16384]="DecoratorContext",sm[sm.AwaitContext=32768]="AwaitContext",sm[sm.ThisNodeHasError=65536]="ThisNodeHasError",sm[sm.JavaScriptFile=131072]="JavaScriptFile",sm[sm.ThisNodeOrAnySubNodesHasError=262144]="ThisNodeOrAnySubNodesHasError",sm[sm.HasAggregatedChildData=524288]="HasAggregatedChildData",sm[sm.PossiblyContainsDynamicImport=1048576]="PossiblyContainsDynamicImport",sm[sm.PossiblyContainsImportMeta=2097152]="PossiblyContainsImportMeta",sm[sm.JSDoc=4194304]="JSDoc",sm[sm.Ambient=8388608]="Ambient",sm[sm.InWithStatement=16777216]="InWithStatement",sm[sm.JsonFile=33554432]="JsonFile",sm[sm.TypeCached=67108864]="TypeCached",sm[sm.Deprecated=134217728]="Deprecated",sm[sm.BlockScoped=3]="BlockScoped",sm[sm.ReachabilityCheckFlags=768]="ReachabilityCheckFlags",sm[sm.ReachabilityAndEmitFlags=2816]="ReachabilityAndEmitFlags",sm[sm.ContextFlags=25358336]="ContextFlags",sm[sm.TypeExcludesFlags=40960]="TypeExcludesFlags",sm[sm.PermanentlySetIncrementalFlags=3145728]="PermanentlySetIncrementalFlags",(sm=cm.ModifierFlags||(cm.ModifierFlags={}))[sm.None=0]="None",sm[sm.Export=1]="Export",sm[sm.Ambient=2]="Ambient",sm[sm.Public=4]="Public",sm[sm.Private=8]="Private",sm[sm.Protected=16]="Protected",sm[sm.Static=32]="Static",sm[sm.Readonly=64]="Readonly",sm[sm.Abstract=128]="Abstract",sm[sm.Async=256]="Async",sm[sm.Default=512]="Default",sm[sm.Const=2048]="Const",sm[sm.HasComputedJSDocModifiers=4096]="HasComputedJSDocModifiers",sm[sm.Deprecated=8192]="Deprecated",sm[sm.Override=16384]="Override",sm[sm.HasComputedFlags=536870912]="HasComputedFlags",sm[sm.AccessibilityModifier=28]="AccessibilityModifier",sm[sm.ParameterPropertyModifier=16476]="ParameterPropertyModifier",sm[sm.NonPublicAccessibilityModifier=24]="NonPublicAccessibilityModifier",sm[sm.TypeScriptModifier=18654]="TypeScriptModifier",sm[sm.ExportDefault=513]="ExportDefault",sm[sm.All=27647]="All",(sm=cm.JsxFlags||(cm.JsxFlags={}))[sm.None=0]="None",sm[sm.IntrinsicNamedElement=1]="IntrinsicNamedElement",sm[sm.IntrinsicIndexedElement=2]="IntrinsicIndexedElement",sm[sm.IntrinsicElement=3]="IntrinsicElement",(sm=cm.RelationComparisonResult||(cm.RelationComparisonResult={}))[sm.Succeeded=1]="Succeeded",sm[sm.Failed=2]="Failed",sm[sm.Reported=4]="Reported",sm[sm.ReportsUnmeasurable=8]="ReportsUnmeasurable",sm[sm.ReportsUnreliable=16]="ReportsUnreliable",sm[sm.ReportsMask=24]="ReportsMask",(sm=cm.GeneratedIdentifierFlags||(cm.GeneratedIdentifierFlags={}))[sm.None=0]="None",sm[sm.Auto=1]="Auto",sm[sm.Loop=2]="Loop",sm[sm.Unique=3]="Unique",sm[sm.Node=4]="Node",sm[sm.KindMask=7]="KindMask",sm[sm.ReservedInNestedScopes=8]="ReservedInNestedScopes",sm[sm.Optimistic=16]="Optimistic",sm[sm.FileLevel=32]="FileLevel",sm[sm.AllowNameSubstitution=64]="AllowNameSubstitution",(sm=cm.TokenFlags||(cm.TokenFlags={}))[sm.None=0]="None",sm[sm.PrecedingLineBreak=1]="PrecedingLineBreak",sm[sm.PrecedingJSDocComment=2]="PrecedingJSDocComment",sm[sm.Unterminated=4]="Unterminated",sm[sm.ExtendedUnicodeEscape=8]="ExtendedUnicodeEscape",sm[sm.Scientific=16]="Scientific",sm[sm.Octal=32]="Octal",sm[sm.HexSpecifier=64]="HexSpecifier",sm[sm.BinarySpecifier=128]="BinarySpecifier",sm[sm.OctalSpecifier=256]="OctalSpecifier",sm[sm.ContainsSeparator=512]="ContainsSeparator",sm[sm.UnicodeEscape=1024]="UnicodeEscape",sm[sm.ContainsInvalidEscape=2048]="ContainsInvalidEscape",sm[sm.BinaryOrOctalSpecifier=384]="BinaryOrOctalSpecifier",sm[sm.NumericLiteralFlags=1008]="NumericLiteralFlags",sm[sm.TemplateLiteralLikeFlags=2048]="TemplateLiteralLikeFlags",(sm=cm.FlowFlags||(cm.FlowFlags={}))[sm.Unreachable=1]="Unreachable",sm[sm.Start=2]="Start",sm[sm.BranchLabel=4]="BranchLabel",sm[sm.LoopLabel=8]="LoopLabel",sm[sm.Assignment=16]="Assignment",sm[sm.TrueCondition=32]="TrueCondition",sm[sm.FalseCondition=64]="FalseCondition",sm[sm.SwitchClause=128]="SwitchClause",sm[sm.ArrayMutation=256]="ArrayMutation",sm[sm.Call=512]="Call",sm[sm.ReduceLabel=1024]="ReduceLabel",sm[sm.Referenced=2048]="Referenced",sm[sm.Shared=4096]="Shared",sm[sm.Label=12]="Label",sm[sm.Condition=96]="Condition",(sm=cm.CommentDirectiveType||(cm.CommentDirectiveType={}))[sm.ExpectError=0]="ExpectError",sm[sm.Ignore=1]="Ignore",cm.OperationCanceledException=pm,(sm=cm.FileIncludeKind||(cm.FileIncludeKind={}))[sm.RootFile=0]="RootFile",sm[sm.SourceFromProjectReference=1]="SourceFromProjectReference",sm[sm.OutputFromProjectReference=2]="OutputFromProjectReference",sm[sm.Import=3]="Import",sm[sm.ReferenceFile=4]="ReferenceFile",sm[sm.TypeReferenceDirective=5]="TypeReferenceDirective",sm[sm.LibFile=6]="LibFile",sm[sm.LibReferenceDirective=7]="LibReferenceDirective",sm[sm.AutomaticTypeDirectiveFile=8]="AutomaticTypeDirectiveFile",(sm=cm.FilePreprocessingDiagnosticsKind||(cm.FilePreprocessingDiagnosticsKind={}))[sm.FilePreprocessingReferencedDiagnostic=0]="FilePreprocessingReferencedDiagnostic",sm[sm.FilePreprocessingFileExplainingDiagnostic=1]="FilePreprocessingFileExplainingDiagnostic",(sm=cm.StructureIsReused||(cm.StructureIsReused={}))[sm.Not=0]="Not",sm[sm.SafeModules=1]="SafeModules",sm[sm.Completely=2]="Completely",(sm=cm.ExitStatus||(cm.ExitStatus={}))[sm.Success=0]="Success",sm[sm.DiagnosticsPresent_OutputsSkipped=1]="DiagnosticsPresent_OutputsSkipped",sm[sm.DiagnosticsPresent_OutputsGenerated=2]="DiagnosticsPresent_OutputsGenerated",sm[sm.InvalidProject_OutputsSkipped=3]="InvalidProject_OutputsSkipped",sm[sm.ProjectReferenceCycle_OutputsSkipped=4]="ProjectReferenceCycle_OutputsSkipped",sm[sm.ProjectReferenceCycle_OutputsSkupped=4]="ProjectReferenceCycle_OutputsSkupped",(sm=cm.UnionReduction||(cm.UnionReduction={}))[sm.None=0]="None",sm[sm.Literal=1]="Literal",sm[sm.Subtype=2]="Subtype",(sm=cm.ContextFlags||(cm.ContextFlags={}))[sm.None=0]="None",sm[sm.Signature=1]="Signature",sm[sm.NoConstraints=2]="NoConstraints",sm[sm.Completions=4]="Completions",sm[sm.SkipBindingPatterns=8]="SkipBindingPatterns",(sm=cm.NodeBuilderFlags||(cm.NodeBuilderFlags={}))[sm.None=0]="None",sm[sm.NoTruncation=1]="NoTruncation",sm[sm.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",sm[sm.GenerateNamesForShadowedTypeParams=4]="GenerateNamesForShadowedTypeParams",sm[sm.UseStructuralFallback=8]="UseStructuralFallback",sm[sm.ForbidIndexedAccessSymbolReferences=16]="ForbidIndexedAccessSymbolReferences",sm[sm.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",sm[sm.UseFullyQualifiedType=64]="UseFullyQualifiedType",sm[sm.UseOnlyExternalAliasing=128]="UseOnlyExternalAliasing",sm[sm.SuppressAnyReturnType=256]="SuppressAnyReturnType",sm[sm.WriteTypeParametersInQualifiedName=512]="WriteTypeParametersInQualifiedName",sm[sm.MultilineObjectLiterals=1024]="MultilineObjectLiterals",sm[sm.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",sm[sm.UseTypeOfFunction=4096]="UseTypeOfFunction",sm[sm.OmitParameterModifiers=8192]="OmitParameterModifiers",sm[sm.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",sm[sm.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",sm[sm.NoTypeReduction=536870912]="NoTypeReduction",sm[sm.NoUndefinedOptionalParameterType=1073741824]="NoUndefinedOptionalParameterType",sm[sm.AllowThisInObjectLiteral=32768]="AllowThisInObjectLiteral",sm[sm.AllowQualifiedNameInPlaceOfIdentifier=65536]="AllowQualifiedNameInPlaceOfIdentifier",sm[sm.AllowQualifedNameInPlaceOfIdentifier=65536]="AllowQualifedNameInPlaceOfIdentifier",sm[sm.AllowAnonymousIdentifier=131072]="AllowAnonymousIdentifier",sm[sm.AllowEmptyUnionOrIntersection=262144]="AllowEmptyUnionOrIntersection",sm[sm.AllowEmptyTuple=524288]="AllowEmptyTuple",sm[sm.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",sm[sm.AllowEmptyIndexInfoType=2097152]="AllowEmptyIndexInfoType",sm[sm.AllowNodeModulesRelativePaths=67108864]="AllowNodeModulesRelativePaths",sm[sm.DoNotIncludeSymbolChain=134217728]="DoNotIncludeSymbolChain",sm[sm.IgnoreErrors=70221824]="IgnoreErrors",sm[sm.InObjectTypeLiteral=4194304]="InObjectTypeLiteral",sm[sm.InTypeAlias=8388608]="InTypeAlias",sm[sm.InInitialEntityName=16777216]="InInitialEntityName",(sm=cm.TypeFormatFlags||(cm.TypeFormatFlags={}))[sm.None=0]="None",sm[sm.NoTruncation=1]="NoTruncation",sm[sm.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",sm[sm.UseStructuralFallback=8]="UseStructuralFallback",sm[sm.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",sm[sm.UseFullyQualifiedType=64]="UseFullyQualifiedType",sm[sm.SuppressAnyReturnType=256]="SuppressAnyReturnType",sm[sm.MultilineObjectLiterals=1024]="MultilineObjectLiterals",sm[sm.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",sm[sm.UseTypeOfFunction=4096]="UseTypeOfFunction",sm[sm.OmitParameterModifiers=8192]="OmitParameterModifiers",sm[sm.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",sm[sm.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",sm[sm.NoTypeReduction=536870912]="NoTypeReduction",sm[sm.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",sm[sm.AddUndefined=131072]="AddUndefined",sm[sm.WriteArrowStyleSignature=262144]="WriteArrowStyleSignature",sm[sm.InArrayType=524288]="InArrayType",sm[sm.InElementType=2097152]="InElementType",sm[sm.InFirstTypeArgument=4194304]="InFirstTypeArgument",sm[sm.InTypeAlias=8388608]="InTypeAlias",sm[sm.WriteOwnNameForAnyLike=0]="WriteOwnNameForAnyLike",sm[sm.NodeBuilderFlagsMask=814775659]="NodeBuilderFlagsMask",(sm=cm.SymbolFormatFlags||(cm.SymbolFormatFlags={}))[sm.None=0]="None",sm[sm.WriteTypeParametersOrArguments=1]="WriteTypeParametersOrArguments",sm[sm.UseOnlyExternalAliasing=2]="UseOnlyExternalAliasing",sm[sm.AllowAnyNodeKind=4]="AllowAnyNodeKind",sm[sm.UseAliasDefinedOutsideCurrentScope=8]="UseAliasDefinedOutsideCurrentScope",sm[sm.DoNotIncludeSymbolChain=16]="DoNotIncludeSymbolChain",(sm=cm.SymbolAccessibility||(cm.SymbolAccessibility={}))[sm.Accessible=0]="Accessible",sm[sm.NotAccessible=1]="NotAccessible",sm[sm.CannotBeNamed=2]="CannotBeNamed",(sm=cm.SyntheticSymbolKind||(cm.SyntheticSymbolKind={}))[sm.UnionOrIntersection=0]="UnionOrIntersection",sm[sm.Spread=1]="Spread",(sm=cm.TypePredicateKind||(cm.TypePredicateKind={}))[sm.This=0]="This",sm[sm.Identifier=1]="Identifier",sm[sm.AssertsThis=2]="AssertsThis",sm[sm.AssertsIdentifier=3]="AssertsIdentifier",(sm=cm.TypeReferenceSerializationKind||(cm.TypeReferenceSerializationKind={}))[sm.Unknown=0]="Unknown",sm[sm.TypeWithConstructSignatureAndValue=1]="TypeWithConstructSignatureAndValue",sm[sm.VoidNullableOrNeverType=2]="VoidNullableOrNeverType",sm[sm.NumberLikeType=3]="NumberLikeType",sm[sm.BigIntLikeType=4]="BigIntLikeType",sm[sm.StringLikeType=5]="StringLikeType",sm[sm.BooleanType=6]="BooleanType",sm[sm.ArrayLikeType=7]="ArrayLikeType",sm[sm.ESSymbolType=8]="ESSymbolType",sm[sm.Promise=9]="Promise",sm[sm.TypeWithCallSignature=10]="TypeWithCallSignature",sm[sm.ObjectType=11]="ObjectType",(sm=cm.SymbolFlags||(cm.SymbolFlags={}))[sm.None=0]="None",sm[sm.FunctionScopedVariable=1]="FunctionScopedVariable",sm[sm.BlockScopedVariable=2]="BlockScopedVariable",sm[sm.Property=4]="Property",sm[sm.EnumMember=8]="EnumMember",sm[sm.Function=16]="Function",sm[sm.Class=32]="Class",sm[sm.Interface=64]="Interface",sm[sm.ConstEnum=128]="ConstEnum",sm[sm.RegularEnum=256]="RegularEnum",sm[sm.ValueModule=512]="ValueModule",sm[sm.NamespaceModule=1024]="NamespaceModule",sm[sm.TypeLiteral=2048]="TypeLiteral",sm[sm.ObjectLiteral=4096]="ObjectLiteral",sm[sm.Method=8192]="Method",sm[sm.Constructor=16384]="Constructor",sm[sm.GetAccessor=32768]="GetAccessor",sm[sm.SetAccessor=65536]="SetAccessor",sm[sm.Signature=131072]="Signature",sm[sm.TypeParameter=262144]="TypeParameter",sm[sm.TypeAlias=524288]="TypeAlias",sm[sm.ExportValue=1048576]="ExportValue",sm[sm.Alias=2097152]="Alias",sm[sm.Prototype=4194304]="Prototype",sm[sm.ExportStar=8388608]="ExportStar",sm[sm.Optional=16777216]="Optional",sm[sm.Transient=33554432]="Transient",sm[sm.Assignment=67108864]="Assignment",sm[sm.ModuleExports=134217728]="ModuleExports",sm[sm.All=67108863]="All",sm[sm.Enum=384]="Enum",sm[sm.Variable=3]="Variable",sm[sm.Value=111551]="Value",sm[sm.Type=788968]="Type",sm[sm.Namespace=1920]="Namespace",sm[sm.Module=1536]="Module",sm[sm.Accessor=98304]="Accessor",sm[sm.FunctionScopedVariableExcludes=111550]="FunctionScopedVariableExcludes",sm[sm.BlockScopedVariableExcludes=111551]="BlockScopedVariableExcludes",sm[sm.ParameterExcludes=111551]="ParameterExcludes",sm[sm.PropertyExcludes=0]="PropertyExcludes",sm[sm.EnumMemberExcludes=900095]="EnumMemberExcludes",sm[sm.FunctionExcludes=110991]="FunctionExcludes",sm[sm.ClassExcludes=899503]="ClassExcludes",sm[sm.InterfaceExcludes=788872]="InterfaceExcludes",sm[sm.RegularEnumExcludes=899327]="RegularEnumExcludes",sm[sm.ConstEnumExcludes=899967]="ConstEnumExcludes",sm[sm.ValueModuleExcludes=110735]="ValueModuleExcludes",sm[sm.NamespaceModuleExcludes=0]="NamespaceModuleExcludes",sm[sm.MethodExcludes=103359]="MethodExcludes",sm[sm.GetAccessorExcludes=46015]="GetAccessorExcludes",sm[sm.SetAccessorExcludes=78783]="SetAccessorExcludes",sm[sm.TypeParameterExcludes=526824]="TypeParameterExcludes",sm[sm.TypeAliasExcludes=788968]="TypeAliasExcludes",sm[sm.AliasExcludes=2097152]="AliasExcludes",sm[sm.ModuleMember=2623475]="ModuleMember",sm[sm.ExportHasLocal=944]="ExportHasLocal",sm[sm.BlockScoped=418]="BlockScoped",sm[sm.PropertyOrAccessor=98308]="PropertyOrAccessor",sm[sm.ClassMember=106500]="ClassMember",sm[sm.ExportSupportsDefaultModifier=112]="ExportSupportsDefaultModifier",sm[sm.ExportDoesNotSupportDefaultModifier=-113]="ExportDoesNotSupportDefaultModifier",sm[sm.Classifiable=2885600]="Classifiable",sm[sm.LateBindingContainer=6256]="LateBindingContainer",(sm=cm.EnumKind||(cm.EnumKind={}))[sm.Numeric=0]="Numeric",sm[sm.Literal=1]="Literal",(sm=cm.CheckFlags||(cm.CheckFlags={}))[sm.Instantiated=1]="Instantiated",sm[sm.SyntheticProperty=2]="SyntheticProperty",sm[sm.SyntheticMethod=4]="SyntheticMethod",sm[sm.Readonly=8]="Readonly",sm[sm.ReadPartial=16]="ReadPartial",sm[sm.WritePartial=32]="WritePartial",sm[sm.HasNonUniformType=64]="HasNonUniformType",sm[sm.HasLiteralType=128]="HasLiteralType",sm[sm.ContainsPublic=256]="ContainsPublic",sm[sm.ContainsProtected=512]="ContainsProtected",sm[sm.ContainsPrivate=1024]="ContainsPrivate",sm[sm.ContainsStatic=2048]="ContainsStatic",sm[sm.Late=4096]="Late",sm[sm.ReverseMapped=8192]="ReverseMapped",sm[sm.OptionalParameter=16384]="OptionalParameter",sm[sm.RestParameter=32768]="RestParameter",sm[sm.DeferredType=65536]="DeferredType",sm[sm.HasNeverType=131072]="HasNeverType",sm[sm.Mapped=262144]="Mapped",sm[sm.StripOptional=524288]="StripOptional",sm[sm.Synthetic=6]="Synthetic",sm[sm.Discriminant=192]="Discriminant",sm[sm.Partial=48]="Partial",(sm=cm.InternalSymbolName||(cm.InternalSymbolName={})).Call="__call",sm.Constructor="__constructor",sm.New="__new",sm.Index="__index",sm.ExportStar="__export",sm.Global="__global",sm.Missing="__missing",sm.Type="__type",sm.Object="__object",sm.JSXAttributes="__jsxAttributes",sm.Class="__class",sm.Function="__function",sm.Computed="__computed",sm.Resolving="__resolving__",sm.ExportEquals="export=",sm.Default="default",sm.This="this",(sm=cm.NodeCheckFlags||(cm.NodeCheckFlags={}))[sm.TypeChecked=1]="TypeChecked",sm[sm.LexicalThis=2]="LexicalThis",sm[sm.CaptureThis=4]="CaptureThis",sm[sm.CaptureNewTarget=8]="CaptureNewTarget",sm[sm.SuperInstance=256]="SuperInstance",sm[sm.SuperStatic=512]="SuperStatic",sm[sm.ContextChecked=1024]="ContextChecked",sm[sm.AsyncMethodWithSuper=2048]="AsyncMethodWithSuper",sm[sm.AsyncMethodWithSuperBinding=4096]="AsyncMethodWithSuperBinding",sm[sm.CaptureArguments=8192]="CaptureArguments",sm[sm.EnumValuesComputed=16384]="EnumValuesComputed",sm[sm.LexicalModuleMergesWithClass=32768]="LexicalModuleMergesWithClass",sm[sm.LoopWithCapturedBlockScopedBinding=65536]="LoopWithCapturedBlockScopedBinding",sm[sm.ContainsCapturedBlockScopeBinding=131072]="ContainsCapturedBlockScopeBinding",sm[sm.CapturedBlockScopedBinding=262144]="CapturedBlockScopedBinding",sm[sm.BlockScopedBindingInLoop=524288]="BlockScopedBindingInLoop",sm[sm.ClassWithBodyScopedClassBinding=1048576]="ClassWithBodyScopedClassBinding",sm[sm.BodyScopedClassBinding=2097152]="BodyScopedClassBinding",sm[sm.NeedsLoopOutParameter=4194304]="NeedsLoopOutParameter",sm[sm.AssignmentsMarked=8388608]="AssignmentsMarked",sm[sm.ClassWithConstructorReference=16777216]="ClassWithConstructorReference",sm[sm.ConstructorReferenceInClass=33554432]="ConstructorReferenceInClass",sm[sm.ContainsClassWithPrivateIdentifiers=67108864]="ContainsClassWithPrivateIdentifiers",sm[sm.ContainsSuperPropertyInStaticInitializer=134217728]="ContainsSuperPropertyInStaticInitializer",(sm=cm.TypeFlags||(cm.TypeFlags={}))[sm.Any=1]="Any",sm[sm.Unknown=2]="Unknown",sm[sm.String=4]="String",sm[sm.Number=8]="Number",sm[sm.Boolean=16]="Boolean",sm[sm.Enum=32]="Enum",sm[sm.BigInt=64]="BigInt",sm[sm.StringLiteral=128]="StringLiteral",sm[sm.NumberLiteral=256]="NumberLiteral",sm[sm.BooleanLiteral=512]="BooleanLiteral",sm[sm.EnumLiteral=1024]="EnumLiteral",sm[sm.BigIntLiteral=2048]="BigIntLiteral",sm[sm.ESSymbol=4096]="ESSymbol",sm[sm.UniqueESSymbol=8192]="UniqueESSymbol",sm[sm.Void=16384]="Void",sm[sm.Undefined=32768]="Undefined",sm[sm.Null=65536]="Null",sm[sm.Never=131072]="Never",sm[sm.TypeParameter=262144]="TypeParameter",sm[sm.Object=524288]="Object",sm[sm.Union=1048576]="Union",sm[sm.Intersection=2097152]="Intersection",sm[sm.Index=4194304]="Index",sm[sm.IndexedAccess=8388608]="IndexedAccess",sm[sm.Conditional=16777216]="Conditional",sm[sm.Substitution=33554432]="Substitution",sm[sm.NonPrimitive=67108864]="NonPrimitive",sm[sm.TemplateLiteral=134217728]="TemplateLiteral",sm[sm.StringMapping=268435456]="StringMapping",sm[sm.AnyOrUnknown=3]="AnyOrUnknown",sm[sm.Nullable=98304]="Nullable",sm[sm.Literal=2944]="Literal",sm[sm.Unit=109440]="Unit",sm[sm.StringOrNumberLiteral=384]="StringOrNumberLiteral",sm[sm.StringOrNumberLiteralOrUnique=8576]="StringOrNumberLiteralOrUnique",sm[sm.DefinitelyFalsy=117632]="DefinitelyFalsy",sm[sm.PossiblyFalsy=117724]="PossiblyFalsy",sm[sm.Intrinsic=67359327]="Intrinsic",sm[sm.Primitive=131068]="Primitive",sm[sm.StringLike=402653316]="StringLike",sm[sm.NumberLike=296]="NumberLike",sm[sm.BigIntLike=2112]="BigIntLike",sm[sm.BooleanLike=528]="BooleanLike",sm[sm.EnumLike=1056]="EnumLike",sm[sm.ESSymbolLike=12288]="ESSymbolLike",sm[sm.VoidLike=49152]="VoidLike",sm[sm.DisjointDomains=469892092]="DisjointDomains",sm[sm.UnionOrIntersection=3145728]="UnionOrIntersection",sm[sm.StructuredType=3670016]="StructuredType",sm[sm.TypeVariable=8650752]="TypeVariable",sm[sm.InstantiableNonPrimitive=58982400]="InstantiableNonPrimitive",sm[sm.InstantiablePrimitive=406847488]="InstantiablePrimitive",sm[sm.Instantiable=465829888]="Instantiable",sm[sm.StructuredOrInstantiable=469499904]="StructuredOrInstantiable",sm[sm.ObjectFlagsType=3899393]="ObjectFlagsType",sm[sm.Simplifiable=25165824]="Simplifiable",sm[sm.Singleton=67358815]="Singleton",sm[sm.Narrowable=536624127]="Narrowable",sm[sm.NotPrimitiveUnion=468598819]="NotPrimitiveUnion",sm[sm.IncludesMask=205258751]="IncludesMask",sm[sm.IncludesStructuredOrInstantiable=262144]="IncludesStructuredOrInstantiable",sm[sm.IncludesNonWideningType=4194304]="IncludesNonWideningType",sm[sm.IncludesWildcard=8388608]="IncludesWildcard",sm[sm.IncludesEmptyObject=16777216]="IncludesEmptyObject",(sm=cm.ObjectFlags||(cm.ObjectFlags={}))[sm.Class=1]="Class",sm[sm.Interface=2]="Interface",sm[sm.Reference=4]="Reference",sm[sm.Tuple=8]="Tuple",sm[sm.Anonymous=16]="Anonymous",sm[sm.Mapped=32]="Mapped",sm[sm.Instantiated=64]="Instantiated",sm[sm.ObjectLiteral=128]="ObjectLiteral",sm[sm.EvolvingArray=256]="EvolvingArray",sm[sm.ObjectLiteralPatternWithComputedProperties=512]="ObjectLiteralPatternWithComputedProperties",sm[sm.ReverseMapped=1024]="ReverseMapped",sm[sm.JsxAttributes=2048]="JsxAttributes",sm[sm.MarkerType=4096]="MarkerType",sm[sm.JSLiteral=8192]="JSLiteral",sm[sm.FreshLiteral=16384]="FreshLiteral",sm[sm.ArrayLiteral=32768]="ArrayLiteral",sm[sm.PrimitiveUnion=65536]="PrimitiveUnion",sm[sm.ContainsWideningType=131072]="ContainsWideningType",sm[sm.ContainsObjectOrArrayLiteral=262144]="ContainsObjectOrArrayLiteral",sm[sm.NonInferrableType=524288]="NonInferrableType",sm[sm.CouldContainTypeVariablesComputed=1048576]="CouldContainTypeVariablesComputed",sm[sm.CouldContainTypeVariables=2097152]="CouldContainTypeVariables",sm[sm.ClassOrInterface=3]="ClassOrInterface",sm[sm.RequiresWidening=393216]="RequiresWidening",sm[sm.PropagatingFlags=917504]="PropagatingFlags",sm[sm.ObjectTypeKindMask=1343]="ObjectTypeKindMask",sm[sm.ContainsSpread=4194304]="ContainsSpread",sm[sm.ObjectRestType=8388608]="ObjectRestType",sm[sm.IsClassInstanceClone=16777216]="IsClassInstanceClone",sm[sm.IdenticalBaseTypeCalculated=33554432]="IdenticalBaseTypeCalculated",sm[sm.IdenticalBaseTypeExists=67108864]="IdenticalBaseTypeExists",sm[sm.IsGenericTypeComputed=4194304]="IsGenericTypeComputed",sm[sm.IsGenericObjectType=8388608]="IsGenericObjectType",sm[sm.IsGenericIndexType=16777216]="IsGenericIndexType",sm[sm.IsGenericType=25165824]="IsGenericType",sm[sm.ContainsIntersections=33554432]="ContainsIntersections",sm[sm.IsNeverIntersectionComputed=33554432]="IsNeverIntersectionComputed",sm[sm.IsNeverIntersection=67108864]="IsNeverIntersection",(sm=cm.VarianceFlags||(cm.VarianceFlags={}))[sm.Invariant=0]="Invariant",sm[sm.Covariant=1]="Covariant",sm[sm.Contravariant=2]="Contravariant",sm[sm.Bivariant=3]="Bivariant",sm[sm.Independent=4]="Independent",sm[sm.VarianceMask=7]="VarianceMask",sm[sm.Unmeasurable=8]="Unmeasurable",sm[sm.Unreliable=16]="Unreliable",sm[sm.AllowsStructuralFallback=24]="AllowsStructuralFallback",(sm=cm.ElementFlags||(cm.ElementFlags={}))[sm.Required=1]="Required",sm[sm.Optional=2]="Optional",sm[sm.Rest=4]="Rest",sm[sm.Variadic=8]="Variadic",sm[sm.Fixed=3]="Fixed",sm[sm.Variable=12]="Variable",sm[sm.NonRequired=14]="NonRequired",sm[sm.NonRest=11]="NonRest",(sm=cm.AccessFlags||(cm.AccessFlags={}))[sm.None=0]="None",sm[sm.IncludeUndefined=1]="IncludeUndefined",sm[sm.NoIndexSignatures=2]="NoIndexSignatures",sm[sm.Writing=4]="Writing",sm[sm.CacheSymbol=8]="CacheSymbol",sm[sm.NoTupleBoundsCheck=16]="NoTupleBoundsCheck",sm[sm.ExpressionPosition=32]="ExpressionPosition",sm[sm.ReportDeprecated=64]="ReportDeprecated",sm[sm.SuppressNoImplicitAnyError=128]="SuppressNoImplicitAnyError",sm[sm.Contextual=256]="Contextual",sm[sm.Persistent=1]="Persistent",(sm=cm.JsxReferenceKind||(cm.JsxReferenceKind={}))[sm.Component=0]="Component",sm[sm.Function=1]="Function",sm[sm.Mixed=2]="Mixed",(sm=cm.SignatureKind||(cm.SignatureKind={}))[sm.Call=0]="Call",sm[sm.Construct=1]="Construct",(sm=cm.SignatureFlags||(cm.SignatureFlags={}))[sm.None=0]="None",sm[sm.HasRestParameter=1]="HasRestParameter",sm[sm.HasLiteralTypes=2]="HasLiteralTypes",sm[sm.Abstract=4]="Abstract",sm[sm.IsInnerCallChain=8]="IsInnerCallChain",sm[sm.IsOuterCallChain=16]="IsOuterCallChain",sm[sm.IsUntypedSignatureInJSFile=32]="IsUntypedSignatureInJSFile",sm[sm.PropagatingFlags=39]="PropagatingFlags",sm[sm.CallChainFlags=24]="CallChainFlags",(sm=cm.IndexKind||(cm.IndexKind={}))[sm.String=0]="String",sm[sm.Number=1]="Number",(sm=cm.TypeMapKind||(cm.TypeMapKind={}))[sm.Simple=0]="Simple",sm[sm.Array=1]="Array",sm[sm.Function=2]="Function",sm[sm.Composite=3]="Composite",sm[sm.Merged=4]="Merged",(sm=cm.InferencePriority||(cm.InferencePriority={}))[sm.NakedTypeVariable=1]="NakedTypeVariable",sm[sm.SpeculativeTuple=2]="SpeculativeTuple",sm[sm.SubstituteSource=4]="SubstituteSource",sm[sm.HomomorphicMappedType=8]="HomomorphicMappedType",sm[sm.PartialHomomorphicMappedType=16]="PartialHomomorphicMappedType",sm[sm.MappedTypeConstraint=32]="MappedTypeConstraint",sm[sm.ContravariantConditional=64]="ContravariantConditional",sm[sm.ReturnType=128]="ReturnType",sm[sm.LiteralKeyof=256]="LiteralKeyof",sm[sm.NoConstraints=512]="NoConstraints",sm[sm.AlwaysStrict=1024]="AlwaysStrict",sm[sm.MaxValue=2048]="MaxValue",sm[sm.PriorityImpliesCombination=416]="PriorityImpliesCombination",sm[sm.Circularity=-1]="Circularity",(sm=cm.InferenceFlags||(cm.InferenceFlags={}))[sm.None=0]="None",sm[sm.NoDefault=1]="NoDefault",sm[sm.AnyDefault=2]="AnyDefault",sm[sm.SkippedGenericFunction=4]="SkippedGenericFunction",(sm=cm.Ternary||(cm.Ternary={}))[sm.False=0]="False",sm[sm.Unknown=1]="Unknown",sm[sm.Maybe=3]="Maybe",sm[sm.True=-1]="True",(sm=cm.AssignmentDeclarationKind||(cm.AssignmentDeclarationKind={}))[sm.None=0]="None",sm[sm.ExportsProperty=1]="ExportsProperty",sm[sm.ModuleExports=2]="ModuleExports",sm[sm.PrototypeProperty=3]="PrototypeProperty",sm[sm.ThisProperty=4]="ThisProperty",sm[sm.Property=5]="Property",sm[sm.Prototype=6]="Prototype",sm[sm.ObjectDefinePropertyValue=7]="ObjectDefinePropertyValue",sm[sm.ObjectDefinePropertyExports=8]="ObjectDefinePropertyExports",sm[sm.ObjectDefinePrototypeProperty=9]="ObjectDefinePrototypeProperty",(sm=Y=cm.DiagnosticCategory||(cm.DiagnosticCategory={}))[sm.Warning=0]="Warning",sm[sm.Error=1]="Error",sm[sm.Suggestion=2]="Suggestion",sm[sm.Message=3]="Message",cm.diagnosticCategoryName=function(e,n){return e=Y[e.category],(n=void 0===n||n)?e.toLowerCase():e},(sm=cm.ModuleResolutionKind||(cm.ModuleResolutionKind={}))[sm.Classic=1]="Classic",sm[sm.NodeJs=2]="NodeJs",(sm=cm.WatchFileKind||(cm.WatchFileKind={}))[sm.FixedPollingInterval=0]="FixedPollingInterval",sm[sm.PriorityPollingInterval=1]="PriorityPollingInterval",sm[sm.DynamicPriorityPolling=2]="DynamicPriorityPolling",sm[sm.FixedChunkSizePolling=3]="FixedChunkSizePolling",sm[sm.UseFsEvents=4]="UseFsEvents",sm[sm.UseFsEventsOnParentDirectory=5]="UseFsEventsOnParentDirectory",(sm=cm.WatchDirectoryKind||(cm.WatchDirectoryKind={}))[sm.UseFsEvents=0]="UseFsEvents",sm[sm.FixedPollingInterval=1]="FixedPollingInterval",sm[sm.DynamicPriorityPolling=2]="DynamicPriorityPolling",sm[sm.FixedChunkSizePolling=3]="FixedChunkSizePolling",(sm=cm.PollingWatchKind||(cm.PollingWatchKind={}))[sm.FixedInterval=0]="FixedInterval",sm[sm.PriorityInterval=1]="PriorityInterval",sm[sm.DynamicPriority=2]="DynamicPriority",sm[sm.FixedChunkSize=3]="FixedChunkSize",(sm=cm.ModuleKind||(cm.ModuleKind={}))[sm.None=0]="None",sm[sm.CommonJS=1]="CommonJS",sm[sm.AMD=2]="AMD",sm[sm.UMD=3]="UMD",sm[sm.System=4]="System",sm[sm.ES2015=5]="ES2015",sm[sm.ES2020=6]="ES2020",sm[sm.ESNext=99]="ESNext",(sm=cm.JsxEmit||(cm.JsxEmit={}))[sm.None=0]="None",sm[sm.Preserve=1]="Preserve",sm[sm.React=2]="React",sm[sm.ReactNative=3]="ReactNative",sm[sm.ReactJSX=4]="ReactJSX",sm[sm.ReactJSXDev=5]="ReactJSXDev",(sm=cm.ImportsNotUsedAsValues||(cm.ImportsNotUsedAsValues={}))[sm.Remove=0]="Remove",sm[sm.Preserve=1]="Preserve",sm[sm.Error=2]="Error",(sm=cm.NewLineKind||(cm.NewLineKind={}))[sm.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",sm[sm.LineFeed=1]="LineFeed",(sm=cm.ScriptKind||(cm.ScriptKind={}))[sm.Unknown=0]="Unknown",sm[sm.JS=1]="JS",sm[sm.JSX=2]="JSX",sm[sm.TS=3]="TS",sm[sm.TSX=4]="TSX",sm[sm.External=5]="External",sm[sm.JSON=6]="JSON",sm[sm.Deferred=7]="Deferred",(sm=cm.ScriptTarget||(cm.ScriptTarget={}))[sm.ES3=0]="ES3",sm[sm.ES5=1]="ES5",sm[sm.ES2015=2]="ES2015",sm[sm.ES2016=3]="ES2016",sm[sm.ES2017=4]="ES2017",sm[sm.ES2018=5]="ES2018",sm[sm.ES2019=6]="ES2019",sm[sm.ES2020=7]="ES2020",sm[sm.ES2021=8]="ES2021",sm[sm.ESNext=99]="ESNext",sm[sm.JSON=100]="JSON",sm[sm.Latest=99]="Latest",(sm=cm.LanguageVariant||(cm.LanguageVariant={}))[sm.Standard=0]="Standard",sm[sm.JSX=1]="JSX",(sm=cm.WatchDirectoryFlags||(cm.WatchDirectoryFlags={}))[sm.None=0]="None",sm[sm.Recursive=1]="Recursive",(sm=cm.CharacterCodes||(cm.CharacterCodes={}))[sm.nullCharacter=0]="nullCharacter",sm[sm.maxAsciiCharacter=127]="maxAsciiCharacter",sm[sm.lineFeed=10]="lineFeed",sm[sm.carriageReturn=13]="carriageReturn",sm[sm.lineSeparator=8232]="lineSeparator",sm[sm.paragraphSeparator=8233]="paragraphSeparator",sm[sm.nextLine=133]="nextLine",sm[sm.space=32]="space",sm[sm.nonBreakingSpace=160]="nonBreakingSpace",sm[sm.enQuad=8192]="enQuad",sm[sm.emQuad=8193]="emQuad",sm[sm.enSpace=8194]="enSpace",sm[sm.emSpace=8195]="emSpace",sm[sm.threePerEmSpace=8196]="threePerEmSpace",sm[sm.fourPerEmSpace=8197]="fourPerEmSpace",sm[sm.sixPerEmSpace=8198]="sixPerEmSpace",sm[sm.figureSpace=8199]="figureSpace",sm[sm.punctuationSpace=8200]="punctuationSpace",sm[sm.thinSpace=8201]="thinSpace",sm[sm.hairSpace=8202]="hairSpace",sm[sm.zeroWidthSpace=8203]="zeroWidthSpace",sm[sm.narrowNoBreakSpace=8239]="narrowNoBreakSpace",sm[sm.ideographicSpace=12288]="ideographicSpace",sm[sm.mathematicalSpace=8287]="mathematicalSpace",sm[sm.ogham=5760]="ogham",sm[sm._=95]="_",sm[sm.$=36]="$",sm[sm._0=48]="_0",sm[sm._1=49]="_1",sm[sm._2=50]="_2",sm[sm._3=51]="_3",sm[sm._4=52]="_4",sm[sm._5=53]="_5",sm[sm._6=54]="_6",sm[sm._7=55]="_7",sm[sm._8=56]="_8",sm[sm._9=57]="_9",sm[sm.a=97]="a",sm[sm.b=98]="b",sm[sm.c=99]="c",sm[sm.d=100]="d",sm[sm.e=101]="e",sm[sm.f=102]="f",sm[sm.g=103]="g",sm[sm.h=104]="h",sm[sm.i=105]="i",sm[sm.j=106]="j",sm[sm.k=107]="k",sm[sm.l=108]="l",sm[sm.m=109]="m",sm[sm.n=110]="n",sm[sm.o=111]="o",sm[sm.p=112]="p",sm[sm.q=113]="q",sm[sm.r=114]="r",sm[sm.s=115]="s",sm[sm.t=116]="t",sm[sm.u=117]="u",sm[sm.v=118]="v",sm[sm.w=119]="w",sm[sm.x=120]="x",sm[sm.y=121]="y",sm[sm.z=122]="z",sm[sm.A=65]="A",sm[sm.B=66]="B",sm[sm.C=67]="C",sm[sm.D=68]="D",sm[sm.E=69]="E",sm[sm.F=70]="F",sm[sm.G=71]="G",sm[sm.H=72]="H",sm[sm.I=73]="I",sm[sm.J=74]="J",sm[sm.K=75]="K",sm[sm.L=76]="L",sm[sm.M=77]="M",sm[sm.N=78]="N",sm[sm.O=79]="O",sm[sm.P=80]="P",sm[sm.Q=81]="Q",sm[sm.R=82]="R",sm[sm.S=83]="S",sm[sm.T=84]="T",sm[sm.U=85]="U",sm[sm.V=86]="V",sm[sm.W=87]="W",sm[sm.X=88]="X",sm[sm.Y=89]="Y",sm[sm.Z=90]="Z",sm[sm.ampersand=38]="ampersand",sm[sm.asterisk=42]="asterisk",sm[sm.at=64]="at",sm[sm.backslash=92]="backslash",sm[sm.backtick=96]="backtick",sm[sm.bar=124]="bar",sm[sm.caret=94]="caret",sm[sm.closeBrace=125]="closeBrace",sm[sm.closeBracket=93]="closeBracket",sm[sm.closeParen=41]="closeParen",sm[sm.colon=58]="colon",sm[sm.comma=44]="comma",sm[sm.dot=46]="dot",sm[sm.doubleQuote=34]="doubleQuote",sm[sm.equals=61]="equals",sm[sm.exclamation=33]="exclamation",sm[sm.greaterThan=62]="greaterThan",sm[sm.hash=35]="hash",sm[sm.lessThan=60]="lessThan",sm[sm.minus=45]="minus",sm[sm.openBrace=123]="openBrace",sm[sm.openBracket=91]="openBracket",sm[sm.openParen=40]="openParen",sm[sm.percent=37]="percent",sm[sm.plus=43]="plus",sm[sm.question=63]="question",sm[sm.semicolon=59]="semicolon",sm[sm.singleQuote=39]="singleQuote",sm[sm.slash=47]="slash",sm[sm.tilde=126]="tilde",sm[sm.backspace=8]="backspace",sm[sm.formFeed=12]="formFeed",sm[sm.byteOrderMark=65279]="byteOrderMark",sm[sm.tab=9]="tab",sm[sm.verticalTab=11]="verticalTab",(sm=cm.Extension||(cm.Extension={})).Ts=".ts",sm.Tsx=".tsx",sm.Dts=".d.ts",sm.Js=".js",sm.Jsx=".jsx",sm.Json=".json",sm.TsBuildInfo=".tsbuildinfo",(sm=cm.TransformFlags||(cm.TransformFlags={}))[sm.None=0]="None",sm[sm.ContainsTypeScript=1]="ContainsTypeScript",sm[sm.ContainsJsx=2]="ContainsJsx",sm[sm.ContainsESNext=4]="ContainsESNext",sm[sm.ContainsES2021=8]="ContainsES2021",sm[sm.ContainsES2020=16]="ContainsES2020",sm[sm.ContainsES2019=32]="ContainsES2019",sm[sm.ContainsES2018=64]="ContainsES2018",sm[sm.ContainsES2017=128]="ContainsES2017",sm[sm.ContainsES2016=256]="ContainsES2016",sm[sm.ContainsES2015=512]="ContainsES2015",sm[sm.ContainsGenerator=1024]="ContainsGenerator",sm[sm.ContainsDestructuringAssignment=2048]="ContainsDestructuringAssignment",sm[sm.ContainsTypeScriptClassSyntax=4096]="ContainsTypeScriptClassSyntax",sm[sm.ContainsLexicalThis=8192]="ContainsLexicalThis",sm[sm.ContainsRestOrSpread=16384]="ContainsRestOrSpread",sm[sm.ContainsObjectRestOrSpread=32768]="ContainsObjectRestOrSpread",sm[sm.ContainsComputedPropertyName=65536]="ContainsComputedPropertyName",sm[sm.ContainsBlockScopedBinding=131072]="ContainsBlockScopedBinding",sm[sm.ContainsBindingPattern=262144]="ContainsBindingPattern",sm[sm.ContainsYield=524288]="ContainsYield",sm[sm.ContainsAwait=1048576]="ContainsAwait",sm[sm.ContainsHoistedDeclarationOrCompletion=2097152]="ContainsHoistedDeclarationOrCompletion",sm[sm.ContainsDynamicImport=4194304]="ContainsDynamicImport",sm[sm.ContainsClassFields=8388608]="ContainsClassFields",sm[sm.ContainsPossibleTopLevelAwait=16777216]="ContainsPossibleTopLevelAwait",sm[sm.ContainsLexicalSuper=33554432]="ContainsLexicalSuper",sm[sm.ContainsUpdateExpressionForIdentifier=67108864]="ContainsUpdateExpressionForIdentifier",sm[sm.HasComputedFlags=536870912]="HasComputedFlags",sm[sm.AssertTypeScript=1]="AssertTypeScript",sm[sm.AssertJsx=2]="AssertJsx",sm[sm.AssertESNext=4]="AssertESNext",sm[sm.AssertES2021=8]="AssertES2021",sm[sm.AssertES2020=16]="AssertES2020",sm[sm.AssertES2019=32]="AssertES2019",sm[sm.AssertES2018=64]="AssertES2018",sm[sm.AssertES2017=128]="AssertES2017",sm[sm.AssertES2016=256]="AssertES2016",sm[sm.AssertES2015=512]="AssertES2015",sm[sm.AssertGenerator=1024]="AssertGenerator",sm[sm.AssertDestructuringAssignment=2048]="AssertDestructuringAssignment",sm[sm.OuterExpressionExcludes=536870912]="OuterExpressionExcludes",sm[sm.PropertyAccessExcludes=536870912]="PropertyAccessExcludes",sm[sm.NodeExcludes=536870912]="NodeExcludes",sm[sm.ArrowFunctionExcludes=557748224]="ArrowFunctionExcludes",sm[sm.FunctionExcludes=591310848]="FunctionExcludes",sm[sm.ConstructorExcludes=591306752]="ConstructorExcludes",sm[sm.MethodOrAccessorExcludes=574529536]="MethodOrAccessorExcludes",sm[sm.PropertyExcludes=570433536]="PropertyExcludes",sm[sm.ClassExcludes=536940544]="ClassExcludes",sm[sm.ModuleExcludes=589443072]="ModuleExcludes",sm[sm.TypeExcludes=-2]="TypeExcludes",sm[sm.ObjectLiteralExcludes=536973312]="ObjectLiteralExcludes",sm[sm.ArrayLiteralOrCallOrNewExcludes=536887296]="ArrayLiteralOrCallOrNewExcludes",sm[sm.VariableDeclarationListExcludes=537165824]="VariableDeclarationListExcludes",sm[sm.ParameterExcludes=536870912]="ParameterExcludes",sm[sm.CatchClauseExcludes=536903680]="CatchClauseExcludes",sm[sm.BindingPatternExcludes=536887296]="BindingPatternExcludes",sm[sm.ContainsLexicalThisOrSuper=33562624]="ContainsLexicalThisOrSuper",sm[sm.PropertyNamePropagatingFlags=33562624]="PropertyNamePropagatingFlags",(sm=cm.EmitFlags||(cm.EmitFlags={}))[sm.None=0]="None",sm[sm.SingleLine=1]="SingleLine",sm[sm.AdviseOnEmitNode=2]="AdviseOnEmitNode",sm[sm.NoSubstitution=4]="NoSubstitution",sm[sm.CapturesThis=8]="CapturesThis",sm[sm.NoLeadingSourceMap=16]="NoLeadingSourceMap",sm[sm.NoTrailingSourceMap=32]="NoTrailingSourceMap",sm[sm.NoSourceMap=48]="NoSourceMap",sm[sm.NoNestedSourceMaps=64]="NoNestedSourceMaps",sm[sm.NoTokenLeadingSourceMaps=128]="NoTokenLeadingSourceMaps",sm[sm.NoTokenTrailingSourceMaps=256]="NoTokenTrailingSourceMaps",sm[sm.NoTokenSourceMaps=384]="NoTokenSourceMaps",sm[sm.NoLeadingComments=512]="NoLeadingComments",sm[sm.NoTrailingComments=1024]="NoTrailingComments",sm[sm.NoComments=1536]="NoComments",sm[sm.NoNestedComments=2048]="NoNestedComments",sm[sm.HelperName=4096]="HelperName",sm[sm.ExportName=8192]="ExportName",sm[sm.LocalName=16384]="LocalName",sm[sm.InternalName=32768]="InternalName",sm[sm.Indented=65536]="Indented",sm[sm.NoIndentation=131072]="NoIndentation",sm[sm.AsyncFunctionBody=262144]="AsyncFunctionBody",sm[sm.ReuseTempVariableScope=524288]="ReuseTempVariableScope",sm[sm.CustomPrologue=1048576]="CustomPrologue",sm[sm.NoHoisting=2097152]="NoHoisting",sm[sm.HasEndOfDeclarationMarker=4194304]="HasEndOfDeclarationMarker",sm[sm.Iterator=8388608]="Iterator",sm[sm.NoAsciiEscaping=16777216]="NoAsciiEscaping",sm[sm.TypeScriptClassWrapper=33554432]="TypeScriptClassWrapper",sm[sm.NeverApplyImportHelper=67108864]="NeverApplyImportHelper",sm[sm.IgnoreSourceNewlines=134217728]="IgnoreSourceNewlines",sm[sm.Immutable=268435456]="Immutable",sm[sm.IndirectCall=536870912]="IndirectCall",(sm=cm.ExternalEmitHelpers||(cm.ExternalEmitHelpers={}))[sm.Extends=1]="Extends",sm[sm.Assign=2]="Assign",sm[sm.Rest=4]="Rest",sm[sm.Decorate=8]="Decorate",sm[sm.Metadata=16]="Metadata",sm[sm.Param=32]="Param",sm[sm.Awaiter=64]="Awaiter",sm[sm.Generator=128]="Generator",sm[sm.Values=256]="Values",sm[sm.Read=512]="Read",sm[sm.SpreadArray=1024]="SpreadArray",sm[sm.Await=2048]="Await",sm[sm.AsyncGenerator=4096]="AsyncGenerator",sm[sm.AsyncDelegator=8192]="AsyncDelegator",sm[sm.AsyncValues=16384]="AsyncValues",sm[sm.ExportStar=32768]="ExportStar",sm[sm.ImportStar=65536]="ImportStar",sm[sm.ImportDefault=131072]="ImportDefault",sm[sm.MakeTemplateObject=262144]="MakeTemplateObject",sm[sm.ClassPrivateFieldGet=524288]="ClassPrivateFieldGet",sm[sm.ClassPrivateFieldSet=1048576]="ClassPrivateFieldSet",sm[sm.CreateBinding=2097152]="CreateBinding",sm[sm.FirstEmitHelper=1]="FirstEmitHelper",sm[sm.LastEmitHelper=2097152]="LastEmitHelper",sm[sm.ForOfIncludes=256]="ForOfIncludes",sm[sm.ForAwaitOfIncludes=16384]="ForAwaitOfIncludes",sm[sm.AsyncGeneratorIncludes=6144]="AsyncGeneratorIncludes",sm[sm.AsyncDelegatorIncludes=26624]="AsyncDelegatorIncludes",sm[sm.SpreadIncludes=1536]="SpreadIncludes",(sm=cm.EmitHint||(cm.EmitHint={}))[sm.SourceFile=0]="SourceFile",sm[sm.Expression=1]="Expression",sm[sm.IdentifierName=2]="IdentifierName",sm[sm.MappedTypeParameter=3]="MappedTypeParameter",sm[sm.Unspecified=4]="Unspecified",sm[sm.EmbeddedStatement=5]="EmbeddedStatement",sm[sm.JsxAttributeValue=6]="JsxAttributeValue",(sm=cm.OuterExpressionKinds||(cm.OuterExpressionKinds={}))[sm.Parentheses=1]="Parentheses",sm[sm.TypeAssertions=2]="TypeAssertions",sm[sm.NonNullAssertions=4]="NonNullAssertions",sm[sm.PartiallyEmittedExpressions=8]="PartiallyEmittedExpressions",sm[sm.Assertions=6]="Assertions",sm[sm.All=15]="All",(sm=cm.LexicalEnvironmentFlags||(cm.LexicalEnvironmentFlags={}))[sm.None=0]="None",sm[sm.InParameters=1]="InParameters",sm[sm.VariablesHoistedInParameters=2]="VariablesHoistedInParameters",(sm=cm.BundleFileSectionKind||(cm.BundleFileSectionKind={})).Prologue="prologue",sm.EmitHelpers="emitHelpers",sm.NoDefaultLib="no-default-lib",sm.Reference="reference",sm.Type="type",sm.Lib="lib",sm.Prepend="prepend",sm.Text="text",sm.Internal="internal",(sm=cm.ListFormat||(cm.ListFormat={}))[sm.None=0]="None",sm[sm.SingleLine=0]="SingleLine",sm[sm.MultiLine=1]="MultiLine",sm[sm.PreserveLines=2]="PreserveLines",sm[sm.LinesMask=3]="LinesMask",sm[sm.NotDelimited=0]="NotDelimited",sm[sm.BarDelimited=4]="BarDelimited",sm[sm.AmpersandDelimited=8]="AmpersandDelimited",sm[sm.CommaDelimited=16]="CommaDelimited",sm[sm.AsteriskDelimited=32]="AsteriskDelimited",sm[sm.DelimitersMask=60]="DelimitersMask",sm[sm.AllowTrailingComma=64]="AllowTrailingComma",sm[sm.Indented=128]="Indented",sm[sm.SpaceBetweenBraces=256]="SpaceBetweenBraces",sm[sm.SpaceBetweenSiblings=512]="SpaceBetweenSiblings",sm[sm.Braces=1024]="Braces",sm[sm.Parenthesis=2048]="Parenthesis",sm[sm.AngleBrackets=4096]="AngleBrackets",sm[sm.SquareBrackets=8192]="SquareBrackets",sm[sm.BracketsMask=15360]="BracketsMask",sm[sm.OptionalIfUndefined=16384]="OptionalIfUndefined",sm[sm.OptionalIfEmpty=32768]="OptionalIfEmpty",sm[sm.Optional=49152]="Optional",sm[sm.PreferNewLine=65536]="PreferNewLine",sm[sm.NoTrailingNewLine=131072]="NoTrailingNewLine",sm[sm.NoInterveningComments=262144]="NoInterveningComments",sm[sm.NoSpaceIfEmpty=524288]="NoSpaceIfEmpty",sm[sm.SingleElement=1048576]="SingleElement",sm[sm.SpaceAfterList=2097152]="SpaceAfterList",sm[sm.Modifiers=262656]="Modifiers",sm[sm.HeritageClauses=512]="HeritageClauses",sm[sm.SingleLineTypeLiteralMembers=768]="SingleLineTypeLiteralMembers",sm[sm.MultiLineTypeLiteralMembers=32897]="MultiLineTypeLiteralMembers",sm[sm.SingleLineTupleTypeElements=528]="SingleLineTupleTypeElements",sm[sm.MultiLineTupleTypeElements=657]="MultiLineTupleTypeElements",sm[sm.UnionTypeConstituents=516]="UnionTypeConstituents",sm[sm.IntersectionTypeConstituents=520]="IntersectionTypeConstituents",sm[sm.ObjectBindingPatternElements=525136]="ObjectBindingPatternElements",sm[sm.ArrayBindingPatternElements=524880]="ArrayBindingPatternElements",sm[sm.ObjectLiteralExpressionProperties=526226]="ObjectLiteralExpressionProperties",sm[sm.ArrayLiteralExpressionElements=8914]="ArrayLiteralExpressionElements",sm[sm.CommaListElements=528]="CommaListElements",sm[sm.CallExpressionArguments=2576]="CallExpressionArguments",sm[sm.NewExpressionArguments=18960]="NewExpressionArguments",sm[sm.TemplateExpressionSpans=262144]="TemplateExpressionSpans",sm[sm.SingleLineBlockStatements=768]="SingleLineBlockStatements",sm[sm.MultiLineBlockStatements=129]="MultiLineBlockStatements",sm[sm.VariableDeclarationList=528]="VariableDeclarationList",sm[sm.SingleLineFunctionBodyStatements=768]="SingleLineFunctionBodyStatements",sm[sm.MultiLineFunctionBodyStatements=1]="MultiLineFunctionBodyStatements",sm[sm.ClassHeritageClauses=0]="ClassHeritageClauses",sm[sm.ClassMembers=129]="ClassMembers",sm[sm.InterfaceMembers=129]="InterfaceMembers",sm[sm.EnumMembers=145]="EnumMembers",sm[sm.CaseBlockClauses=129]="CaseBlockClauses",sm[sm.NamedImportsOrExportsElements=525136]="NamedImportsOrExportsElements",sm[sm.JsxElementOrFragmentChildren=262144]="JsxElementOrFragmentChildren",sm[sm.JsxElementAttributes=262656]="JsxElementAttributes",sm[sm.CaseOrDefaultClauseStatements=163969]="CaseOrDefaultClauseStatements",sm[sm.HeritageClauseTypes=528]="HeritageClauseTypes",sm[sm.SourceFileStatements=131073]="SourceFileStatements",sm[sm.Decorators=2146305]="Decorators",sm[sm.TypeArguments=53776]="TypeArguments",sm[sm.TypeParameters=53776]="TypeParameters",sm[sm.Parameters=2576]="Parameters",sm[sm.IndexSignatureParameters=8848]="IndexSignatureParameters",sm[sm.JSDocComment=33]="JSDocComment",(sm=cm.PragmaKindFlags||(cm.PragmaKindFlags={}))[sm.None=0]="None",sm[sm.TripleSlashXML=1]="TripleSlashXML",sm[sm.SingleLine=2]="SingleLine",sm[sm.MultiLine=4]="MultiLine",sm[sm.All=7]="All",sm[sm.Default=7]="Default",cm.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=SY=SY||{}).directorySeparator="/",Q.altDirectorySeparator="\\",Z="://",$=/\\/g,Q.isAnyDirectorySeparator=mm,Q.isUrl=function(e){return bm(e)<0},Q.isRootedDiskPath=_m,Q.isDiskPathRoot=function(e){var n=bm(e);return 0<n&&n===e.length},Q.pathIsAbsolute=fm,Q.pathIsRelative=gm,Q.pathIsBareSpecifier=function(e){return!fm(e)&&!gm(e)},Q.hasExtension=function(e){return Q.stringContains(Sm(e),".")},Q.fileExtensionIs=ym,Q.fileExtensionIsOneOf=function(e,n){for(var t=0,r=n;t<r.length;t++)if(ym(e,r[t]))return!0;return!1},Q.hasTrailingDirectorySeparator=hm,Q.getRootLength=Em,Q.getDirectoryPath=Tm,Q.getBaseFileName=Sm,Q.getAnyExtensionFromPath=Lm,Q.getPathComponents=Dm,Q.getPathFromPathComponents=Am,Q.normalizeSlashes=Cm,Q.reducePathComponents=Im,Q.combinePaths=Nm,Q.resolvePath=km,Q.getNormalizedPathComponents=Rm,Q.getNormalizedAbsolutePath=Om,Q.normalizePath=Pm,Q.getNormalizedAbsolutePathWithoutRoot=function(e,n){return 0===(e=Rm(e,n)).length?"":e.slice(1).join(Q.directorySeparator)},Q.toPath=function(e,n,t){return t(_m(e)?Pm(e):Om(e,n))},Q.normalizePathAndParts=function(e){var n,t=Im(Dm(e=Cm(e))),r=t[0];return(t=t.slice(1)).length?(n=r+t.join(Q.directorySeparator),{path:hm(e)?Mm(n):n,parts:t}):{path:r,parts:t}},Q.removeTrailingDirectorySeparator=wm,Q.ensureTrailingDirectorySeparator=Mm,Q.ensurePathIsNonModuleName=Fm,Q.changeAnyExtension=function(e,n,t,r){return(t=void 0!==t&&void 0!==r?Lm(e,t,r):Lm(e))?e.slice(0,e.length-t.length)+(Q.startsWith(n,".")?n:"."+n):e},ee=/(?:\/\/)|(?:^|\/)\.\.?(?:$|\/)/,Q.comparePathsCaseSensitive=function(e,n){return Gm(e,n,Q.compareStringsCaseSensitive)},Q.comparePathsCaseInsensitive=function(e,n){return Gm(e,n,Q.compareStringsCaseInsensitive)},Q.comparePaths=function(e,n,t,r){return"string"==typeof t?(e=Nm(t,e),n=Nm(t,n)):"boolean"==typeof t&&(r=t),Gm(e,n,Q.getStringComparer(r))},Q.containsPath=function(e,n,t,r){if("string"==typeof t?(e=Nm(t,e),n=Nm(t,n)):"boolean"==typeof t&&(r=t),void 0===e||void 0===n)return!1;if(e!==n){var a=Im(Dm(e)),i=Im(Dm(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=Bm,Q.getRelativePathFromDirectory=Um,Q.convertToRelativePath=function(e,n,t){return _m(e)?Vm(n,e,n,t,!1):e},Q.getRelativePathFromFile=function(e,n,t){return Fm(Um(Tm(e),n,t))},Q.getRelativePathToDirectoryOrUrl=Vm,Q.forEachAncestorDirectory=function(e,n){for(;;){var t=n(e);if(void 0!==t)return t;if(t=Tm(e),t===e)return;e=t}},Q.isNodeModulesDirectory=function(e){return Q.endsWith(e,"/node_modules")},(ne=SY=SY||{}).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)},(om=te=ne.FileWatcherEventKind||(ne.FileWatcherEventKind={}))[om.Created=0]="Created",om[om.Changed=1]="Changed",om[om.Deleted=2]="Deleted",(om=re=ne.PollingInterval||(ne.PollingInterval={}))[om.High=2e3]="High",om[om.Medium=500]="Medium",om[om.Low=250]="Low",ne.missingFileModifiedTime=new Date(0),ne.getModifiedTime=jm,ie=Km(ae={Low:32,Medium:64,High:256}),ne.unchangedPollThresholds=Km(ae),ne.setCustomPollingValues=Hm,ne.createDynamicPriorityPollingWatchFile=zm,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=Xm,ne.getFileWatcherEventKind=Ym,ne.ignoredPaths=["/node_modules/.","/.git","/.#"],ne.sysLog=ne.noop,ne.setSysLog=function(e){ne.sysLog=e},ne.createDirectoryWatcherSupportingRecursive=Qm,(om=ne.FileSystemEntryKind||(ne.FileSystemEntryKind={}))[om.File=0]="File",om[om.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,u=e.fileExists,d=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=function(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,function(e,n,t){return function(r){n(e,"rename"===r?t(e)?te.Created:te.Deleted:te.Changed)}}(e,n,u),!1,t,ne.getFallbackOptions(a));case ne.WatchFileKind.UseFsEventsOnParentDirectory:return(r=r||Jm(l,d))(e,n,t,ne.getFallbackOptions(a));default:ne.Debug.assertNever(o)}},watchDirectory:function(e,n,t,r){return m?l(e,1,$m(e,n,r,d,p),t,re.Medium,ne.getFallbackOptions(r)):(a=a||Qm({useCaseSensitiveFileNames:d,getCurrentDirectory:p,directoryExists:_,getAccessibleSortedChildDirectories:f,watchDirectory:x,realpath:g,setTimeout:s,clearTimeout:c}),a(e,n,t,r))}};function E(){return n=n||zm({getModifiedTime:o,setTimeout:s})}function T(){return t=t||qm({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=function(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,$m(e,n,r,d,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&&(Hm(ne.sys),ne.Debug.setAssertionLevel(/^development$/i.test(ne.sys.getEnvironmentVariable("NODE_ENV"))?1:0)),ne.sys&&ne.sys.debugMode&&(ne.Debug.isDebugging=!0),(wu=SY=SY||{}).Diagnostics={Unterminated_string_literal:e_(1002,wu.DiagnosticCategory.Error,"Unterminated_string_literal_1002","Unterminated string literal."),Identifier_expected:e_(1003,wu.DiagnosticCategory.Error,"Identifier_expected_1003","Identifier expected."),_0_expected:e_(1005,wu.DiagnosticCategory.Error,"_0_expected_1005","'{0}' expected."),A_file_cannot_have_a_reference_to_itself:e_(1006,wu.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:e_(1007,wu.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:e_(1009,wu.DiagnosticCategory.Error,"Trailing_comma_not_allowed_1009","Trailing comma not allowed."),Asterisk_Slash_expected:e_(1010,wu.DiagnosticCategory.Error,"Asterisk_Slash_expected_1010","'*/' expected."),An_element_access_expression_should_take_an_argument:e_(1011,wu.DiagnosticCategory.Error,"An_element_access_expression_should_take_an_argument_1011","An element access expression should take an argument."),Unexpected_token:e_(1012,wu.DiagnosticCategory.Error,"Unexpected_token_1012","Unexpected token."),A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma:e_(1013,wu.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:e_(1014,wu.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:e_(1015,wu.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:e_(1016,wu.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:e_(1017,wu.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:e_(1018,wu.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:e_(1019,wu.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:e_(1020,wu.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:e_(1021,wu.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:e_(1022,wu.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:e_(1024,wu.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:e_(1025,wu.DiagnosticCategory.Error,"An_index_signature_cannot_have_a_trailing_comma_1025","An index signature cannot have a trailing comma."),Accessibility_modifier_already_seen:e_(1028,wu.DiagnosticCategory.Error,"Accessibility_modifier_already_seen_1028","Accessibility modifier already seen."),_0_modifier_must_precede_1_modifier:e_(1029,wu.DiagnosticCategory.Error,"_0_modifier_must_precede_1_modifier_1029","'{0}' modifier must precede '{1}' modifier."),_0_modifier_already_seen:e_(1030,wu.DiagnosticCategory.Error,"_0_modifier_already_seen_1030","'{0}' modifier already seen."),_0_modifier_cannot_appear_on_class_elements_of_this_kind:e_(1031,wu.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:e_(1034,wu.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:e_(1035,wu.DiagnosticCategory.Error,"Only_ambient_modules_can_use_quoted_names_1035","Only ambient modules can use quoted names."),Statements_are_not_allowed_in_ambient_contexts:e_(1036,wu.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:e_(1038,wu.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:e_(1039,wu.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:e_(1040,wu.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:e_(1041,wu.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:e_(1042,wu.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_here_1042","'{0}' modifier cannot be used here."),_0_modifier_cannot_appear_on_a_data_property:e_(1043,wu.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:e_(1044,wu.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:e_(1045,wu.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:e_(1046,wu.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:e_(1047,wu.DiagnosticCategory.Error,"A_rest_parameter_cannot_be_optional_1047","A rest parameter cannot be optional."),A_rest_parameter_cannot_have_an_initializer:e_(1048,wu.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:e_(1049,wu.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:e_(1051,wu.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:e_(1052,wu.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:e_(1053,wu.DiagnosticCategory.Error,"A_set_accessor_cannot_have_rest_parameter_1053","A 'set' accessor cannot have rest parameter."),A_get_accessor_cannot_have_parameters:e_(1054,wu.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:e_(1055,wu.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:e_(1056,wu.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:e_(1057,wu.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:e_(1058,wu.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:e_(1059,wu.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:e_(1060,wu.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:e_(1061,wu.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:e_(1062,wu.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:e_(1063,wu.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:e_(1064,wu.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:e_(1066,wu.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:e_(1068,wu.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:e_(1069,wu.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:e_(1070,wu.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:e_(1071,wu.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:e_(1079,wu.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:e_(1084,wu.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:e_(1085,wu.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:e_(1089,wu.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:e_(1090,wu.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:e_(1091,wu.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:e_(1092,wu.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:e_(1093,wu.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:e_(1094,wu.DiagnosticCategory.Error,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:e_(1095,wu.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:e_(1096,wu.DiagnosticCategory.Error,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:e_(1097,wu.DiagnosticCategory.Error,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:e_(1098,wu.DiagnosticCategory.Error,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:e_(1099,wu.DiagnosticCategory.Error,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:e_(1100,wu.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:e_(1101,wu.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:e_(1102,wu.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:e_(1103,wu.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:e_(1104,wu.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:e_(1105,wu.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:e_(1106,wu.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:e_(1107,wu.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:e_(1108,wu.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:e_(1109,wu.DiagnosticCategory.Error,"Expression_expected_1109","Expression expected."),Type_expected:e_(1110,wu.DiagnosticCategory.Error,"Type_expected_1110","Type expected."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:e_(1113,wu.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:e_(1114,wu.DiagnosticCategory.Error,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:e_(1115,wu.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:e_(1116,wu.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:e_(1117,wu.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:e_(1118,wu.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:e_(1119,wu.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:e_(1120,wu.DiagnosticCategory.Error,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_in_strict_mode:e_(1121,wu.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:e_(1123,wu.DiagnosticCategory.Error,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:e_(1124,wu.DiagnosticCategory.Error,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:e_(1125,wu.DiagnosticCategory.Error,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:e_(1126,wu.DiagnosticCategory.Error,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:e_(1127,wu.DiagnosticCategory.Error,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:e_(1128,wu.DiagnosticCategory.Error,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:e_(1129,wu.DiagnosticCategory.Error,"Statement_expected_1129","Statement expected."),case_or_default_expected:e_(1130,wu.DiagnosticCategory.Error,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:e_(1131,wu.DiagnosticCategory.Error,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:e_(1132,wu.DiagnosticCategory.Error,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:e_(1134,wu.DiagnosticCategory.Error,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:e_(1135,wu.DiagnosticCategory.Error,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:e_(1136,wu.DiagnosticCategory.Error,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:e_(1137,wu.DiagnosticCategory.Error,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:e_(1138,wu.DiagnosticCategory.Error,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:e_(1139,wu.DiagnosticCategory.Error,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:e_(1140,wu.DiagnosticCategory.Error,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:e_(1141,wu.DiagnosticCategory.Error,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:e_(1142,wu.DiagnosticCategory.Error,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:e_(1144,wu.DiagnosticCategory.Error,"or_expected_1144","'{' or ';' expected."),Declaration_expected:e_(1146,wu.DiagnosticCategory.Error,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:e_(1147,wu.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:e_(1148,wu.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:e_(1149,wu.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:e_(1155,wu.DiagnosticCategory.Error,"const_declarations_must_be_initialized_1155","'const' declarations must be initialized."),const_declarations_can_only_be_declared_inside_a_block:e_(1156,wu.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:e_(1157,wu.DiagnosticCategory.Error,"let_declarations_can_only_be_declared_inside_a_block_1157","'let' declarations can only be declared inside a block."),Unterminated_template_literal:e_(1160,wu.DiagnosticCategory.Error,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:e_(1161,wu.DiagnosticCategory.Error,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:e_(1162,wu.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:e_(1163,wu.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:e_(1164,wu.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:e_(1165,wu.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:e_(1166,wu.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:e_(1168,wu.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:e_(1169,wu.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:e_(1170,wu.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:e_(1171,wu.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:e_(1172,wu.DiagnosticCategory.Error,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:e_(1173,wu.DiagnosticCategory.Error,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:e_(1174,wu.DiagnosticCategory.Error,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:e_(1175,wu.DiagnosticCategory.Error,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:e_(1176,wu.DiagnosticCategory.Error,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:e_(1177,wu.DiagnosticCategory.Error,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:e_(1178,wu.DiagnosticCategory.Error,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:e_(1179,wu.DiagnosticCategory.Error,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:e_(1180,wu.DiagnosticCategory.Error,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:e_(1181,wu.DiagnosticCategory.Error,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:e_(1182,wu.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:e_(1183,wu.DiagnosticCategory.Error,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:e_(1184,wu.DiagnosticCategory.Error,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:e_(1185,wu.DiagnosticCategory.Error,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:e_(1186,wu.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:e_(1187,wu.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:e_(1188,wu.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:e_(1189,wu.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:e_(1190,wu.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:e_(1191,wu.DiagnosticCategory.Error,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:e_(1192,wu.DiagnosticCategory.Error,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:e_(1193,wu.DiagnosticCategory.Error,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:e_(1194,wu.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:e_(1195,wu.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:e_(1196,wu.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:e_(1197,wu.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:e_(1198,wu.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:e_(1199,wu.DiagnosticCategory.Error,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:e_(1200,wu.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:e_(1202,wu.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:e_(1203,wu.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:e_(1205,wu.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:e_(1206,wu.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:e_(1207,wu.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:e_(1208,wu.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:e_(1210,wu.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:e_(1211,wu.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:e_(1212,wu.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:e_(1213,wu.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:e_(1214,wu.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:e_(1215,wu.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:e_(1216,wu.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:e_(1218,wu.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:e_(1219,wu.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:e_(1220,wu.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:e_(1221,wu.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:e_(1222,wu.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:e_(1223,wu.DiagnosticCategory.Error,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:e_(1224,wu.DiagnosticCategory.Error,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:e_(1225,wu.DiagnosticCategory.Error,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:e_(1226,wu.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:e_(1227,wu.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:e_(1228,wu.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:e_(1229,wu.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:e_(1230,wu.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:e_(1231,wu.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:e_(1232,wu.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:e_(1233,wu.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:e_(1234,wu.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:e_(1235,wu.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:e_(1236,wu.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:e_(1237,wu.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:e_(1238,wu.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:e_(1239,wu.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:e_(1240,wu.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:e_(1241,wu.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:e_(1242,wu.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:e_(1243,wu.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:e_(1244,wu.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:e_(1245,wu.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:e_(1246,wu.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:e_(1247,wu.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:e_(1248,wu.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:e_(1249,wu.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:e_(1250,wu.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:e_(1251,wu.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:e_(1252,wu.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:e_(1253,wu.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:e_(1254,wu.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:e_(1255,wu.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:e_(1257,wu.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:e_(1258,wu.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:e_(1259,wu.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:e_(1260,wu.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:e_(1261,wu.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:e_(1262,wu.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:e_(1263,wu.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:e_(1264,wu.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:e_(1265,wu.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:e_(1266,wu.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:e_(1267,wu.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:e_(1268,wu.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:e_(1300,wu.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:e_(1308,wu.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:e_(1312,wu.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:e_(1313,wu.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:e_(1314,wu.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:e_(1315,wu.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:e_(1316,wu.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:e_(1317,wu.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:e_(1318,wu.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:e_(1319,wu.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:e_(1320,wu.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:e_(1321,wu.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:e_(1322,wu.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:e_(1323,wu.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:e_(1324,wu.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:e_(1325,wu.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:e_(1326,wu.DiagnosticCategory.Error,"Dynamic_import_cannot_have_type_arguments_1326","Dynamic import cannot have type arguments."),String_literal_with_double_quotes_expected:e_(1327,wu.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:e_(1328,wu.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:e_(1329,wu.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:e_(1330,wu.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:e_(1331,wu.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:e_(1332,wu.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:e_(1333,wu.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:e_(1334,wu.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:e_(1335,wu.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:e_(1337,wu.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:e_(1338,wu.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:e_(1339,wu.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:e_(1340,wu.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:e_(1342,wu.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:e_(1343,wu.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:e_(1344,wu.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:e_(1345,wu.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:e_(1346,wu.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:e_(1347,wu.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:e_(1348,wu.DiagnosticCategory.Error,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:e_(1349,wu.DiagnosticCategory.Error,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:e_(1350,wu.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:e_(1351,wu.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:e_(1352,wu.DiagnosticCategory.Error,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:e_(1353,wu.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:e_(1354,wu.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:e_(1355,wu.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:e_(1356,wu.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:e_(1357,wu.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:e_(1358,wu.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:e_(1359,wu.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:e_(1360,wu.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:e_(1361,wu.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:e_(1362,wu.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:e_(1363,wu.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:e_(1364,wu.DiagnosticCategory.Message,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:e_(1365,wu.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:e_(1366,wu.DiagnosticCategory.Message,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:e_(1367,wu.DiagnosticCategory.Message,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Did_you_mean_0:e_(1369,wu.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:e_(1371,wu.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:e_(1373,wu.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:e_(1374,wu.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:e_(1375,wu.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:e_(1376,wu.DiagnosticCategory.Message,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:e_(1377,wu.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:e_(1378,wu.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:e_(1379,wu.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:e_(1380,wu.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:e_(1381,wu.DiagnosticCategory.Error,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `&rbrace;`?"),Unexpected_token_Did_you_mean_or_gt:e_(1382,wu.DiagnosticCategory.Error,"Unexpected_token_Did_you_mean_or_gt_1382","Unexpected token. Did you mean `{'>'}` or `&gt;`?"),Only_named_exports_may_use_export_type:e_(1383,wu.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:e_(1384,wu.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:e_(1385,wu.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:e_(1386,wu.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:e_(1387,wu.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:e_(1388,wu.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:e_(1389,wu.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:e_(1390,wu.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:e_(1391,wu.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:e_(1392,wu.DiagnosticCategory.Error,"An_import_alias_cannot_use_import_type_1392","An import alias cannot use 'import type'"),Imported_via_0_from_file_1:e_(1393,wu.DiagnosticCategory.Message,"Imported_via_0_from_file_1_1393","Imported via {0} from file '{1}'"),Imported_via_0_from_file_1_with_packageId_2:e_(1394,wu.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:e_(1395,wu.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:e_(1396,wu.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:e_(1397,wu.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:e_(1398,wu.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:e_(1399,wu.DiagnosticCategory.Message,"File_is_included_via_import_here_1399","File is included via import here."),Referenced_via_0_from_file_1:e_(1400,wu.DiagnosticCategory.Message,"Referenced_via_0_from_file_1_1400","Referenced via '{0}' from file '{1}'"),File_is_included_via_reference_here:e_(1401,wu.DiagnosticCategory.Message,"File_is_included_via_reference_here_1401","File is included via reference here."),Type_library_referenced_via_0_from_file_1:e_(1402,wu.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:e_(1403,wu.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:e_(1404,wu.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:e_(1405,wu.DiagnosticCategory.Message,"Library_referenced_via_0_from_file_1_1405","Library referenced via '{0}' from file '{1}'"),File_is_included_via_library_reference_here:e_(1406,wu.DiagnosticCategory.Message,"File_is_included_via_library_reference_here_1406","File is included via library reference here."),Matched_by_include_pattern_0_in_1:e_(1407,wu.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:e_(1408,wu.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:e_(1409,wu.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:e_(1410,wu.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:e_(1411,wu.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:e_(1412,wu.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:e_(1413,wu.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:e_(1414,wu.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:e_(1415,wu.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:e_(1416,wu.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:e_(1417,wu.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:e_(1418,wu.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:e_(1419,wu.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:e_(1420,wu.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:e_(1421,wu.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:e_(1422,wu.DiagnosticCategory.Message,"Library_0_specified_in_compilerOptions_1422","Library '{0}' specified in compilerOptions"),File_is_library_specified_here:e_(1423,wu.DiagnosticCategory.Message,"File_is_library_specified_here_1423","File is library specified here."),Default_library:e_(1424,wu.DiagnosticCategory.Message,"Default_library_1424","Default library"),Default_library_for_target_0:e_(1425,wu.DiagnosticCategory.Message,"Default_library_for_target_0_1425","Default library for target '{0}'"),File_is_default_library_for_target_specified_here:e_(1426,wu.DiagnosticCategory.Message,"File_is_default_library_for_target_specified_here_1426","File is default library for target specified here."),Root_file_specified_for_compilation:e_(1427,wu.DiagnosticCategory.Message,"Root_file_specified_for_compilation_1427","Root file specified for compilation"),File_is_output_of_project_reference_source_0:e_(1428,wu.DiagnosticCategory.Message,"File_is_output_of_project_reference_source_0_1428","File is output of project reference source '{0}'"),File_redirects_to_file_0:e_(1429,wu.DiagnosticCategory.Message,"File_redirects_to_file_0_1429","File redirects to file '{0}'"),The_file_is_in_the_program_because_Colon:e_(1430,wu.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:e_(1431,wu.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:e_(1432,wu.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:e_(1433,wu.DiagnosticCategory.Error,"Decorators_may_not_be_applied_to_this_parameters_1433","Decorators may not be applied to 'this' parameters."),Unexpected_keyword_or_identifier:e_(1434,wu.DiagnosticCategory.Error,"Unexpected_keyword_or_identifier_1434","Unexpected keyword or identifier."),Unknown_keyword_or_identifier_Did_you_mean_0:e_(1435,wu.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:e_(1436,wu.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:e_(1437,wu.DiagnosticCategory.Error,"Namespace_must_be_given_a_name_1437","Namespace must be given a name."),Interface_must_be_given_a_name:e_(1438,wu.DiagnosticCategory.Error,"Interface_must_be_given_a_name_1438","Interface must be given a name."),Type_alias_must_be_given_a_name:e_(1439,wu.DiagnosticCategory.Error,"Type_alias_must_be_given_a_name_1439","Type alias must be given a name."),Variable_declaration_not_allowed_at_this_location:e_(1440,wu.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:e_(1441,wu.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:e_(1442,wu.DiagnosticCategory.Error,"Expected_for_property_initializer_1442","Expected '=' for property initializer."),Module_declaration_names_may_only_use_or_quoted_strings:e_(1443,wu.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:e_(2200,wu.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:e_(2201,wu.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:e_(2202,wu.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:e_(2203,wu.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:e_(2204,wu.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:e_(2205,wu.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:e_(2300,wu.DiagnosticCategory.Error,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:e_(2301,wu.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:e_(2302,wu.DiagnosticCategory.Error,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:e_(2303,wu.DiagnosticCategory.Error,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:e_(2304,wu.DiagnosticCategory.Error,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:e_(2305,wu.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:e_(2306,wu.DiagnosticCategory.Error,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0_or_its_corresponding_type_declarations:e_(2307,wu.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:e_(2308,wu.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:e_(2309,wu.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:e_(2310,wu.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:e_(2311,wu.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:e_(2312,wu.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:e_(2313,wu.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:e_(2314,wu.DiagnosticCategory.Error,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:e_(2315,wu.DiagnosticCategory.Error,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:e_(2316,wu.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:e_(2317,wu.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:e_(2318,wu.DiagnosticCategory.Error,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:e_(2319,wu.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:e_(2320,wu.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:e_(2321,wu.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:e_(2322,wu.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:e_(2323,wu.DiagnosticCategory.Error,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:e_(2324,wu.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:e_(2325,wu.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:e_(2326,wu.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:e_(2327,wu.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:e_(2328,wu.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:e_(2329,wu.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:e_(2330,wu.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:e_(2331,wu.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:e_(2332,wu.DiagnosticCategory.Error,"this_cannot_be_referenced_in_current_location_2332","'this' cannot be referenced in current location."),this_cannot_be_referenced_in_constructor_arguments:e_(2333,wu.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:e_(2334,wu.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:e_(2335,wu.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:e_(2336,wu.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:e_(2337,wu.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:e_(2338,wu.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:e_(2339,wu.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:e_(2340,wu.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:e_(2341,wu.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:e_(2342,wu.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:e_(2343,wu.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:e_(2344,wu.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:e_(2345,wu.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:e_(2346,wu.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:e_(2347,wu.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:e_(2348,wu.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:e_(2349,wu.DiagnosticCategory.Error,"This_expression_is_not_callable_2349","This expression is not callable."),Only_a_void_function_can_be_called_with_the_new_keyword:e_(2350,wu.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:e_(2351,wu.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:e_(2352,wu.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:e_(2353,wu.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:e_(2354,wu.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:e_(2355,wu.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:e_(2356,wu.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:e_(2357,wu.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:e_(2358,wu.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:e_(2359,wu.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:e_(2360,wu.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:e_(2361,wu.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:e_(2362,wu.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:e_(2363,wu.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:e_(2364,wu.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:e_(2365,wu.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:e_(2366,wu.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:e_(2367,wu.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:e_(2368,wu.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:e_(2369,wu.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:e_(2370,wu.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:e_(2371,wu.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:e_(2372,wu.DiagnosticCategory.Error,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:e_(2373,wu.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:e_(2374,wu.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:e_(2376,wu.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:e_(2377,wu.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:e_(2378,wu.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:e_(2380,wu.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:e_(2381,wu.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:e_(2382,wu.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:e_(2383,wu.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:e_(2384,wu.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:e_(2385,wu.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:e_(2386,wu.DiagnosticCategory.Error,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:e_(2387,wu.DiagnosticCategory.Error,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:e_(2388,wu.DiagnosticCategory.Error,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:e_(2389,wu.DiagnosticCategory.Error,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:e_(2390,wu.DiagnosticCategory.Error,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:e_(2391,wu.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:e_(2392,wu.DiagnosticCategory.Error,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:e_(2393,wu.DiagnosticCategory.Error,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:e_(2394,wu.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:e_(2395,wu.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:e_(2396,wu.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:e_(2397,wu.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:e_(2398,wu.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:e_(2399,wu.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:e_(2400,wu.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:e_(2401,wu.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:e_(2402,wu.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:e_(2403,wu.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:e_(2404,wu.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:e_(2405,wu.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:e_(2406,wu.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:e_(2407,wu.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:e_(2408,wu.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:e_(2409,wu.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:e_(2410,wu.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:e_(2411,wu.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:e_(2413,wu.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:e_(2414,wu.DiagnosticCategory.Error,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:e_(2415,wu.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:e_(2416,wu.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:e_(2417,wu.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:e_(2418,wu.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:e_(2419,wu.DiagnosticCategory.Error,"Types_of_construct_signatures_are_incompatible_2419","Types of construct signatures are incompatible."),Class_0_incorrectly_implements_interface_1:e_(2420,wu.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:e_(2422,wu.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:e_(2423,wu.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:e_(2425,wu.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:e_(2426,wu.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:e_(2427,wu.DiagnosticCategory.Error,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:e_(2428,wu.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:e_(2430,wu.DiagnosticCategory.Error,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:e_(2431,wu.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:e_(2432,wu.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:e_(2433,wu.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:e_(2434,wu.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:e_(2435,wu.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:e_(2436,wu.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:e_(2437,wu.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:e_(2438,wu.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:e_(2439,wu.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:e_(2440,wu.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:e_(2441,wu.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:e_(2442,wu.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:e_(2443,wu.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:e_(2444,wu.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:e_(2445,wu.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:e_(2446,wu.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:e_(2447,wu.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:e_(2448,wu.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:e_(2449,wu.DiagnosticCategory.Error,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:e_(2450,wu.DiagnosticCategory.Error,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:e_(2451,wu.DiagnosticCategory.Error,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:e_(2452,wu.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:e_(2453,wu.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:e_(2454,wu.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:e_(2455,wu.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:e_(2456,wu.DiagnosticCategory.Error,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:e_(2457,wu.DiagnosticCategory.Error,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:e_(2458,wu.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:e_(2459,wu.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:e_(2460,wu.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:e_(2461,wu.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:e_(2462,wu.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:e_(2463,wu.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:e_(2464,wu.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:e_(2465,wu.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:e_(2466,wu.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:e_(2467,wu.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:e_(2468,wu.DiagnosticCategory.Error,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:e_(2469,wu.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:e_(2470,wu.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:e_(2471,wu.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:e_(2472,wu.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:e_(2473,wu.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:e_(2474,wu.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:e_(2475,wu.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:e_(2476,wu.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:e_(2477,wu.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:e_(2478,wu.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:e_(2479,wu.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:e_(2480,wu.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:e_(2481,wu.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:e_(2483,wu.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:e_(2484,wu.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:e_(2487,wu.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:e_(2488,wu.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:e_(2489,wu.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:e_(2490,wu.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:e_(2491,wu.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:e_(2492,wu.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:e_(2493,wu.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:e_(2494,wu.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:e_(2495,wu.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:e_(2496,wu.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:e_(2497,wu.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:e_(2498,wu.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:e_(2499,wu.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:e_(2500,wu.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:e_(2501,wu.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:e_(2502,wu.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:e_(2503,wu.DiagnosticCategory.Error,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:e_(2504,wu.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:e_(2505,wu.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:e_(2506,wu.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:e_(2507,wu.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:e_(2508,wu.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:e_(2509,wu.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:e_(2510,wu.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:e_(2511,wu.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:e_(2512,wu.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:e_(2513,wu.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:e_(2514,wu.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:e_(2515,wu.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:e_(2516,wu.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:e_(2517,wu.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:e_(2518,wu.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:e_(2519,wu.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:e_(2520,wu.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:e_(2521,wu.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:e_(2522,wu.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:e_(2523,wu.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:e_(2524,wu.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:e_(2525,wu.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:e_(2526,wu.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:e_(2527,wu.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:e_(2528,wu.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:e_(2529,wu.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:e_(2530,wu.DiagnosticCategory.Error,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:e_(2531,wu.DiagnosticCategory.Error,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:e_(2532,wu.DiagnosticCategory.Error,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:e_(2533,wu.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:e_(2534,wu.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:e_(2535,wu.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:e_(2536,wu.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:e_(2537,wu.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:e_(2538,wu.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:e_(2539,wu.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:e_(2540,wu.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:e_(2541,wu.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:e_(2542,wu.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:e_(2543,wu.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:e_(2544,wu.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:e_(2545,wu.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:e_(2547,wu.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:e_(2548,wu.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:e_(2549,wu.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:e_(2550,wu.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:e_(2551,wu.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:e_(2552,wu.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:e_(2553,wu.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:e_(2554,wu.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:e_(2555,wu.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:e_(2556,wu.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:e_(2558,wu.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:e_(2559,wu.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:e_(2560,wu.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:e_(2561,wu.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:e_(2562,wu.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:e_(2563,wu.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:e_(2564,wu.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:e_(2565,wu.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:e_(2566,wu.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:e_(2567,wu.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:e_(2568,wu.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:e_(2569,wu.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:e_(2570,wu.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:e_(2571,wu.DiagnosticCategory.Error,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),Rest_signatures_are_incompatible:e_(2572,wu.DiagnosticCategory.Error,"Rest_signatures_are_incompatible_2572","Rest signatures are incompatible."),Property_0_is_incompatible_with_rest_element_type:e_(2573,wu.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:e_(2574,wu.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:e_(2575,wu.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:e_(2576,wu.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:e_(2577,wu.DiagnosticCategory.Error,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:e_(2578,wu.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:e_(2580,wu.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:e_(2581,wu.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:e_(2582,wu.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:e_(2583,wu.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:e_(2584,wu.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:e_(2585,wu.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:e_(2586,wu.DiagnosticCategory.Error,"Enum_type_0_circularly_references_itself_2586","Enum type '{0}' circularly references itself."),JSDoc_type_0_circularly_references_itself:e_(2587,wu.DiagnosticCategory.Error,"JSDoc_type_0_circularly_references_itself_2587","JSDoc type '{0}' circularly references itself."),Cannot_assign_to_0_because_it_is_a_constant:e_(2588,wu.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:e_(2589,wu.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:e_(2590,wu.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:e_(2591,wu.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:e_(2592,wu.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:e_(2593,wu.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:e_(2594,wu.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:e_(2595,wu.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:e_(2596,wu.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:e_(2597,wu.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:e_(2598,wu.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:e_(2600,wu.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:e_(2601,wu.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:e_(2602,wu.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:e_(2603,wu.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:e_(2604,wu.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:e_(2605,wu.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:e_(2606,wu.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:e_(2607,wu.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:e_(2608,wu.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:e_(2609,wu.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:e_(2610,wu.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:e_(2611,wu.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:e_(2612,wu.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:e_(2613,wu.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:e_(2614,wu.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:e_(2615,wu.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:e_(2616,wu.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:e_(2617,wu.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:e_(2618,wu.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:e_(2619,wu.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:e_(2620,wu.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:e_(2621,wu.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:e_(2623,wu.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:e_(2624,wu.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:e_(2625,wu.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:e_(2626,wu.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:e_(2627,wu.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:e_(2628,wu.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:e_(2629,wu.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:e_(2630,wu.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:e_(2631,wu.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:e_(2632,wu.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:e_(2633,wu.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:e_(2634,wu.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:e_(2649,wu.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:e_(2651,wu.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:e_(2652,wu.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:e_(2653,wu.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:e_(2654,wu.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:e_(2656,wu.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:e_(2657,wu.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:e_(2658,wu.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:e_(2659,wu.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:e_(2660,wu.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:e_(2661,wu.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:e_(2662,wu.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:e_(2663,wu.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:e_(2664,wu.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:e_(2665,wu.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:e_(2666,wu.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:e_(2667,wu.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:e_(2668,wu.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:e_(2669,wu.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:e_(2670,wu.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:e_(2671,wu.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:e_(2672,wu.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:e_(2673,wu.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:e_(2674,wu.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:e_(2675,wu.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:e_(2676,wu.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:e_(2677,wu.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:e_(2678,wu.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:e_(2679,wu.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:e_(2680,wu.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:e_(2681,wu.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:e_(2682,wu.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:e_(2683,wu.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:e_(2684,wu.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:e_(2685,wu.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:e_(2686,wu.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:e_(2687,wu.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:e_(2688,wu.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:e_(2689,wu.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:e_(2690,wu.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:e_(2691,wu.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:e_(2692,wu.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:e_(2693,wu.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:e_(2694,wu.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:e_(2695,wu.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:e_(2696,wu.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:e_(2697,wu.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:e_(2698,wu.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:e_(2699,wu.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:e_(2700,wu.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:e_(2701,wu.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:e_(2702,wu.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:e_(2703,wu.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:e_(2704,wu.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:e_(2705,wu.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:e_(2706,wu.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:e_(2707,wu.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:e_(2708,wu.DiagnosticCategory.Error,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:e_(2709,wu.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:e_(2710,wu.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:e_(2711,wu.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:e_(2712,wu.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:e_(2713,wu.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:e_(2714,wu.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:e_(2715,wu.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:e_(2716,wu.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:e_(2717,wu.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:e_(2718,wu.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:e_(2719,wu.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:e_(2720,wu.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:e_(2721,wu.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:e_(2722,wu.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:e_(2723,wu.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:e_(2724,wu.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:e_(2725,wu.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:e_(2726,wu.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:e_(2727,wu.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:e_(2728,wu.DiagnosticCategory.Message,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:e_(2729,wu.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:e_(2730,wu.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:e_(2731,wu.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:e_(2732,wu.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:e_(2733,wu.DiagnosticCategory.Error,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),Are_you_missing_a_semicolon:e_(2734,wu.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:e_(2735,wu.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:e_(2736,wu.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:e_(2737,wu.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:e_(2738,wu.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:e_(2739,wu.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:e_(2740,wu.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:e_(2741,wu.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:e_(2742,wu.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:e_(2743,wu.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:e_(2744,wu.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:e_(2745,wu.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:e_(2746,wu.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:e_(2747,wu.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:e_(2748,wu.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:e_(2749,wu.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:e_(2750,wu.DiagnosticCategory.Error,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:e_(2751,wu.DiagnosticCategory.Error,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:e_(2752,wu.DiagnosticCategory.Error,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:e_(2753,wu.DiagnosticCategory.Error,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:e_(2754,wu.DiagnosticCategory.Error,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:e_(2755,wu.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:e_(2756,wu.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:e_(2757,wu.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:e_(2758,wu.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:e_(2759,wu.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:e_(2760,wu.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:e_(2761,wu.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:e_(2762,wu.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:e_(2763,wu.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:e_(2764,wu.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:e_(2765,wu.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:e_(2766,wu.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:e_(2767,wu.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:e_(2768,wu.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:e_(2769,wu.DiagnosticCategory.Error,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:e_(2770,wu.DiagnosticCategory.Error,"The_last_overload_gave_the_following_error_2770","The last overload gave the following error."),The_last_overload_is_declared_here:e_(2771,wu.DiagnosticCategory.Error,"The_last_overload_is_declared_here_2771","The last overload is declared here."),Overload_0_of_1_2_gave_the_following_error:e_(2772,wu.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:e_(2773,wu.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:e_(2774,wu.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:e_(2775,wu.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:e_(2776,wu.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:e_(2777,wu.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:e_(2778,wu.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:e_(2779,wu.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:e_(2780,wu.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:e_(2781,wu.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:e_(2782,wu.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:e_(2783,wu.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:e_(2784,wu.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:e_(2785,wu.DiagnosticCategory.Error,"This_spread_always_overwrites_this_property_2785","This spread always overwrites this property."),_0_cannot_be_used_as_a_JSX_component:e_(2786,wu.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:e_(2787,wu.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:e_(2788,wu.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:e_(2789,wu.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:e_(2790,wu.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:e_(2791,wu.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:e_(2792,wu.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:e_(2793,wu.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:e_(2794,wu.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:e_(2795,wu.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:e_(2796,wu.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:e_(2797,wu.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:e_(2798,wu.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:e_(2799,wu.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:e_(2800,wu.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:e_(2801,wu.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:e_(2802,wu.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:e_(2803,wu.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:e_(2804,wu.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:e_(2805,wu.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:e_(2806,wu.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:e_(2807,wu.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:e_(2808,wu.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:e_(2809,wu.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:e_(2810,wu.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:e_(2811,wu.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:e_(2812,wu.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:e_(2813,wu.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:e_(2814,wu.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:e_(2815,wu.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:e_(2816,wu.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:e_(2817,wu.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:e_(2818,wu.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:e_(2819,wu.DiagnosticCategory.Error,"Namespace_name_cannot_be_0_2819","Namespace name cannot be '{0}'."),Import_declaration_0_is_using_private_name_1:e_(4e3,wu.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:e_(4002,wu.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:e_(4004,wu.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:e_(4006,wu.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:e_(4008,wu.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:e_(4010,wu.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:e_(4012,wu.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:e_(4014,wu.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:e_(4016,wu.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:e_(4019,wu.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:e_(4020,wu.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:e_(4021,wu.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:e_(4022,wu.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:e_(4023,wu.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:e_(4024,wu.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:e_(4025,wu.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:e_(4026,wu.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:e_(4027,wu.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:e_(4028,wu.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:e_(4029,wu.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:e_(4030,wu.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:e_(4031,wu.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:e_(4032,wu.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:e_(4033,wu.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:e_(4034,wu.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:e_(4035,wu.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:e_(4036,wu.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:e_(4037,wu.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:e_(4038,wu.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:e_(4039,wu.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:e_(4040,wu.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:e_(4041,wu.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:e_(4042,wu.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:e_(4043,wu.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:e_(4044,wu.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:e_(4045,wu.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:e_(4046,wu.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:e_(4047,wu.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:e_(4048,wu.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:e_(4049,wu.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:e_(4050,wu.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:e_(4051,wu.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:e_(4052,wu.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:e_(4053,wu.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:e_(4054,wu.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:e_(4055,wu.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:e_(4056,wu.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:e_(4057,wu.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:e_(4058,wu.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:e_(4059,wu.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:e_(4060,wu.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:e_(4061,wu.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:e_(4062,wu.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:e_(4063,wu.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:e_(4064,wu.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:e_(4065,wu.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:e_(4066,wu.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:e_(4067,wu.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:e_(4068,wu.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:e_(4069,wu.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:e_(4070,wu.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:e_(4071,wu.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:e_(4072,wu.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:e_(4073,wu.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:e_(4074,wu.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:e_(4075,wu.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:e_(4076,wu.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:e_(4077,wu.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:e_(4078,wu.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:e_(4081,wu.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:e_(4082,wu.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:e_(4083,wu.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:e_(4084,wu.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:e_(4090,wu.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:e_(4091,wu.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:e_(4092,wu.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:e_(4094,wu.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:e_(4095,wu.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:e_(4096,wu.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:e_(4097,wu.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:e_(4098,wu.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:e_(4099,wu.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:e_(4100,wu.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:e_(4101,wu.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:e_(4102,wu.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:e_(4103,wu.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:e_(4104,wu.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:e_(4105,wu.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:e_(4106,wu.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:e_(4107,wu.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:e_(4108,wu.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:e_(4109,wu.DiagnosticCategory.Error,"Type_arguments_for_0_circularly_reference_themselves_4109","Type arguments for '{0}' circularly reference themselves."),Tuple_type_arguments_circularly_reference_themselves:e_(4110,wu.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:e_(4111,wu.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:e_(4112,wu.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:e_(4113,wu.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:e_(4114,wu.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:e_(4115,wu.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:e_(4116,wu.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:e_(4117,wu.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:e_(4118,wu.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:e_(5001,wu.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:e_(5009,wu.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:e_(5010,wu.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:e_(5012,wu.DiagnosticCategory.Error,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:e_(5014,wu.DiagnosticCategory.Error,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:e_(5023,wu.DiagnosticCategory.Error,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:e_(5024,wu.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:e_(5025,wu.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:e_(5033,wu.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:e_(5042,wu.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:e_(5047,wu.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:e_(5048,wu.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:e_(5051,wu.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:e_(5052,wu.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:e_(5053,wu.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:e_(5054,wu.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:e_(5055,wu.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:e_(5056,wu.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:e_(5057,wu.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:e_(5058,wu.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:e_(5059,wu.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:e_(5061,wu.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:e_(5062,wu.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:e_(5063,wu.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:e_(5064,wu.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:e_(5065,wu.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:e_(5066,wu.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:e_(5067,wu.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:e_(5068,wu.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:e_(5069,wu.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:e_(5070,wu.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:e_(5071,wu.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:e_(5072,wu.DiagnosticCategory.Error,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:e_(5073,wu.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:e_(5074,wu.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:e_(5075,wu.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:e_(5076,wu.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:e_(5077,wu.DiagnosticCategory.Error,"Unknown_build_option_0_Did_you_mean_1_5077","Unknown build option '{0}'. Did you mean '{1}'?"),Unknown_watch_option_0:e_(5078,wu.DiagnosticCategory.Error,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:e_(5079,wu.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:e_(5080,wu.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:e_(5081,wu.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:e_(5082,wu.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:e_(5083,wu.DiagnosticCategory.Error,"Cannot_read_file_0_5083","Cannot read file '{0}'."),Tuple_members_must_all_have_names_or_all_not_have_names:e_(5084,wu.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:e_(5085,wu.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:e_(5086,wu.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:e_(5087,wu.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:e_(5088,wu.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:e_(5089,wu.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:e_(5090,wu.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:e_(5091,wu.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:e_(5092,wu.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:e_(5093,wu.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:e_(5094,wu.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:e_(6e3,wu.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:e_(6001,wu.DiagnosticCategory.Message,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:e_(6002,wu.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:e_(6655,wu.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:e_(6004,wu.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:e_(6005,wu.DiagnosticCategory.Message,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:e_(6006,wu.DiagnosticCategory.Message,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:e_(6007,wu.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:e_(6008,wu.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:e_(6009,wu.DiagnosticCategory.Message,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:e_(6010,wu.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:e_(6011,wu.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:e_(6012,wu.DiagnosticCategory.Message,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:e_(6013,wu.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:e_(6014,wu.DiagnosticCategory.Message,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version:e_(6015,wu.DiagnosticCategory.Message,"Specify_ECMAScript_target_version_6015","Specify ECMAScript target version."),Specify_module_code_generation:e_(6016,wu.DiagnosticCategory.Message,"Specify_module_code_generation_6016","Specify module code generation."),Print_this_message:e_(6017,wu.DiagnosticCategory.Message,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:e_(6019,wu.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:e_(6020,wu.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:e_(6023,wu.DiagnosticCategory.Message,"Syntax_Colon_0_6023","Syntax: {0}"),options:e_(6024,wu.DiagnosticCategory.Message,"options_6024","options"),file:e_(6025,wu.DiagnosticCategory.Message,"file_6025","file"),Examples_Colon_0:e_(6026,wu.DiagnosticCategory.Message,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:e_(6027,wu.DiagnosticCategory.Message,"Options_Colon_6027","Options:"),Version_0:e_(6029,wu.DiagnosticCategory.Message,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:e_(6030,wu.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:e_(6031,wu.DiagnosticCategory.Message,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:e_(6032,wu.DiagnosticCategory.Message,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:e_(6034,wu.DiagnosticCategory.Message,"KIND_6034","KIND"),FILE:e_(6035,wu.DiagnosticCategory.Message,"FILE_6035","FILE"),VERSION:e_(6036,wu.DiagnosticCategory.Message,"VERSION_6036","VERSION"),LOCATION:e_(6037,wu.DiagnosticCategory.Message,"LOCATION_6037","LOCATION"),DIRECTORY:e_(6038,wu.DiagnosticCategory.Message,"DIRECTORY_6038","DIRECTORY"),STRATEGY:e_(6039,wu.DiagnosticCategory.Message,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:e_(6040,wu.DiagnosticCategory.Message,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Generates_corresponding_map_file:e_(6043,wu.DiagnosticCategory.Message,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:e_(6044,wu.DiagnosticCategory.Error,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:e_(6045,wu.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:e_(6046,wu.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:e_(6048,wu.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:e_(6049,wu.DiagnosticCategory.Error,"Unsupported_locale_0_6049","Unsupported locale '{0}'."),Unable_to_open_file_0:e_(6050,wu.DiagnosticCategory.Error,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:e_(6051,wu.DiagnosticCategory.Error,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:e_(6052,wu.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:e_(6053,wu.DiagnosticCategory.Error,"File_0_not_found_6053","File '{0}' not found."),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:e_(6054,wu.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:e_(6055,wu.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:e_(6056,wu.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:e_(6058,wu.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:e_(6059,wu.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:e_(6060,wu.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:e_(6061,wu.DiagnosticCategory.Message,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:e_(6064,wu.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:e_(6065,wu.DiagnosticCategory.Message,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:e_(6066,wu.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:e_(6068,wu.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:e_(6069,wu.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:e_(6070,wu.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:e_(6071,wu.DiagnosticCategory.Message,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:e_(6072,wu.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:e_(6073,wu.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:e_(6074,wu.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:e_(6075,wu.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:e_(6076,wu.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:e_(6077,wu.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:e_(6078,wu.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:e_(6079,wu.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:e_(6080,wu.DiagnosticCategory.Message,"Specify_JSX_code_generation_6080","Specify JSX code generation."),File_0_has_an_unsupported_extension_so_skipping_it:e_(6081,wu.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:e_(6082,wu.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:e_(6083,wu.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:e_(6084,wu.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:e_(6085,wu.DiagnosticCategory.Message,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:e_(6086,wu.DiagnosticCategory.Message,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:e_(6087,wu.DiagnosticCategory.Message,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:e_(6088,wu.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:e_(6089,wu.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:e_(6090,wu.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:e_(6091,wu.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:e_(6092,wu.DiagnosticCategory.Message,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:e_(6093,wu.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:e_(6094,wu.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:e_(6095,wu.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:e_(6096,wu.DiagnosticCategory.Message,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exist_use_it_as_a_name_resolution_result:e_(6097,wu.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:e_(6098,wu.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:e_(6099,wu.DiagnosticCategory.Message,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:e_(6100,wu.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:e_(6101,wu.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:e_(6102,wu.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:e_(6103,wu.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:e_(6104,wu.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:e_(6105,wu.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:e_(6106,wu.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:e_(6107,wu.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:e_(6108,wu.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:e_(6109,wu.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:e_(6110,wu.DiagnosticCategory.Message,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:e_(6111,wu.DiagnosticCategory.Message,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:e_(6112,wu.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:e_(6113,wu.DiagnosticCategory.Message,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:e_(6114,wu.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:e_(6115,wu.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:e_(6116,wu.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:e_(6117,wu.DiagnosticCategory.Message,"Resolving_using_primary_search_paths_6117","Resolving using primary search paths..."),Resolving_from_node_modules_folder:e_(6118,wu.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:e_(6119,wu.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:e_(6120,wu.DiagnosticCategory.Message,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:e_(6121,wu.DiagnosticCategory.Message,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:e_(6122,wu.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:e_(6123,wu.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:e_(6124,wu.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:e_(6125,wu.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:e_(6126,wu.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:e_(6127,wu.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:e_(6128,wu.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:e_(6130,wu.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:e_(6131,wu.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:e_(6132,wu.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:e_(6133,wu.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:e_(6134,wu.DiagnosticCategory.Message,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:e_(6135,wu.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:e_(6136,wu.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:e_(6137,wu.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:e_(6138,wu.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:e_(6139,wu.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:e_(6140,wu.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:e_(6141,wu.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:e_(6142,wu.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:e_(6144,wu.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:e_(6145,wu.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:e_(6146,wu.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:e_(6147,wu.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:e_(6148,wu.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:e_(6149,wu.DiagnosticCategory.Message,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:e_(6150,wu.DiagnosticCategory.Message,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:e_(6151,wu.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:e_(6152,wu.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:e_(6153,wu.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:e_(6154,wu.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:e_(6155,wu.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:e_(6156,wu.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:e_(6157,wu.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:e_(6158,wu.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:e_(6159,wu.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:e_(6160,wu.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:e_(6161,wu.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:e_(6162,wu.DiagnosticCategory.Message,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:e_(6163,wu.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:e_(6622,wu.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:e_(6165,wu.DiagnosticCategory.Message,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:e_(6166,wu.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:e_(6167,wu.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:e_(6168,wu.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:e_(6169,wu.DiagnosticCategory.Message,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:e_(6170,wu.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:e_(6171,wu.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:e_(6179,wu.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:e_(6180,wu.DiagnosticCategory.Message,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),List_of_language_service_plugins:e_(6181,wu.DiagnosticCategory.Message,"List_of_language_service_plugins_6181","List of language service plugins."),Scoped_package_detected_looking_in_0:e_(6182,wu.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:e_(6183,wu.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:e_(6184,wu.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:e_(6186,wu.DiagnosticCategory.Message,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:e_(6187,wu.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:e_(6188,wu.DiagnosticCategory.Error,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:e_(6189,wu.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:e_(6191,wu.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:e_(6192,wu.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:e_(6193,wu.DiagnosticCategory.Message,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:e_(6194,wu.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:e_(6195,wu.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:e_(6196,wu.DiagnosticCategory.Error,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",!0),Include_modules_imported_with_json_extension:e_(6197,wu.DiagnosticCategory.Message,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:e_(6198,wu.DiagnosticCategory.Error,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",!0),All_variables_are_unused:e_(6199,wu.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:e_(6200,wu.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:e_(6201,wu.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:e_(6202,wu.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:e_(6203,wu.DiagnosticCategory.Message,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:e_(6204,wu.DiagnosticCategory.Message,"and_here_6204","and here."),All_type_parameters_are_unused:e_(6205,wu.DiagnosticCategory.Error,"All_type_parameters_are_unused_6205","All type parameters are unused."),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:e_(6206,wu.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:e_(6207,wu.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:e_(6208,wu.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:e_(6209,wu.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:e_(6210,wu.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:e_(6211,wu.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:e_(6212,wu.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:e_(6213,wu.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:e_(6214,wu.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:e_(6215,wu.DiagnosticCategory.Message,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:e_(6216,wu.DiagnosticCategory.Message,"Found_1_error_6216","Found 1 error."),Found_0_errors:e_(6217,wu.DiagnosticCategory.Message,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:e_(6218,wu.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:e_(6219,wu.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:e_(6220,wu.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:e_(6221,wu.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:e_(6222,wu.DiagnosticCategory.Message,"Emit_class_fields_with_Define_instead_of_Set_6222","Emit class fields with Define instead of Set."),Generates_a_CPU_profile:e_(6223,wu.DiagnosticCategory.Message,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:e_(6224,wu.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:e_(6225,wu.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:e_(6226,wu.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:e_(6227,wu.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:e_(6229,wu.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:e_(6230,wu.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:e_(6231,wu.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:e_(6232,wu.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:e_(6233,wu.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:e_(6234,wu.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:e_(6235,wu.DiagnosticCategory.Message,"Disable_loading_referenced_projects_6235","Disable loading referenced projects."),Arguments_for_the_rest_parameter_0_were_not_provided:e_(6236,wu.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:e_(6237,wu.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:e_(6238,wu.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:e_(6239,wu.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:e_(6240,wu.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:e_(6241,wu.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:e_(6242,wu.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:e_(6243,wu.DiagnosticCategory.Message,"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243","Interpret optional property types as written, rather than adding 'undefined'."),Modules:e_(6244,wu.DiagnosticCategory.Message,"Modules_6244","Modules"),File_Management:e_(6245,wu.DiagnosticCategory.Message,"File_Management_6245","File Management"),Emit:e_(6246,wu.DiagnosticCategory.Message,"Emit_6246","Emit"),JavaScript_Support:e_(6247,wu.DiagnosticCategory.Message,"JavaScript_Support_6247","JavaScript Support"),Type_Checking:e_(6248,wu.DiagnosticCategory.Message,"Type_Checking_6248","Type Checking"),Editor_Support:e_(6249,wu.DiagnosticCategory.Message,"Editor_Support_6249","Editor Support"),Watch_and_Build_Modes:e_(6250,wu.DiagnosticCategory.Message,"Watch_and_Build_Modes_6250","Watch and Build Modes"),Compiler_Diagnostics:e_(6251,wu.DiagnosticCategory.Message,"Compiler_Diagnostics_6251","Compiler Diagnostics"),Interop_Constraints:e_(6252,wu.DiagnosticCategory.Message,"Interop_Constraints_6252","Interop Constraints"),Backwards_Compatibility:e_(6253,wu.DiagnosticCategory.Message,"Backwards_Compatibility_6253","Backwards Compatibility"),Language_and_Environment:e_(6254,wu.DiagnosticCategory.Message,"Language_and_Environment_6254","Language and Environment"),Projects:e_(6255,wu.DiagnosticCategory.Message,"Projects_6255","Projects"),Output_Formatting:e_(6256,wu.DiagnosticCategory.Message,"Output_Formatting_6256","Output Formatting"),Completeness:e_(6257,wu.DiagnosticCategory.Message,"Completeness_6257","Completeness"),Projects_to_reference:e_(6300,wu.DiagnosticCategory.Message,"Projects_to_reference_6300","Projects to reference"),Enable_project_compilation:e_(6302,wu.DiagnosticCategory.Message,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:e_(6304,wu.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:e_(6305,wu.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:e_(6306,wu.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:e_(6307,wu.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:e_(6308,wu.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:e_(6309,wu.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:e_(6310,wu.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:e_(6350,wu.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:e_(6351,wu.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:e_(6352,wu.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:e_(6353,wu.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:e_(6354,wu.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:e_(6355,wu.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:e_(6356,wu.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:e_(6357,wu.DiagnosticCategory.Message,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:e_(6358,wu.DiagnosticCategory.Message,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:e_(6359,wu.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:e_(6360,wu.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:e_(6361,wu.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:e_(6362,wu.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:e_(6363,wu.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:e_(6364,wu.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:e_(6365,wu.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:e_(6367,wu.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:e_(6369,wu.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:e_(6370,wu.DiagnosticCategory.Error,"Options_0_and_1_cannot_be_combined_6370","Options '{0}' and '{1}' cannot be combined."),Updating_unchanged_output_timestamps_of_project_0:e_(6371,wu.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:e_(6372,wu.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:e_(6373,wu.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:e_(6374,wu.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:e_(6375,wu.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:e_(6376,wu.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:e_(6377,wu.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:e_(6378,wu.DiagnosticCategory.Message,"Enable_incremental_compilation_6378","Enable incremental compilation"),Composite_projects_may_not_disable_incremental_compilation:e_(6379,wu.DiagnosticCategory.Error,"Composite_projects_may_not_disable_incremental_compilation_6379","Composite projects may not disable incremental compilation."),Specify_file_to_store_incremental_compilation_information:e_(6380,wu.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:e_(6381,wu.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:e_(6382,wu.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:e_(6383,wu.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:e_(6384,wu.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:e_(6385,wu.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:e_(6386,wu.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:e_(6387,wu.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:e_(6388,wu.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:e_(6389,wu.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:e_(6390,wu.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:e_(6391,wu.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:e_(6392,wu.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:e_(6393,wu.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:e_(6394,wu.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:e_(6395,wu.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:e_(6396,wu.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:e_(6397,wu.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:e_(6398,wu.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:e_(6500,wu.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:e_(6501,wu.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:e_(6502,wu.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:e_(6503,wu.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:e_(6504,wu.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:e_(6505,wu.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:e_(6506,wu.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:e_(6600,wu.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:e_(6601,wu.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:e_(6602,wu.DiagnosticCategory.Message,"Allow_accessing_UMD_globals_from_modules_6602","Allow accessing UMD globals from modules."),Disable_error_reporting_for_unreachable_code:e_(6603,wu.DiagnosticCategory.Message,"Disable_error_reporting_for_unreachable_code_6603","Disable error reporting for unreachable code."),Disable_error_reporting_for_unused_labels:e_(6604,wu.DiagnosticCategory.Message,"Disable_error_reporting_for_unused_labels_6604","Disable error reporting for unused labels."),Ensure_use_strict_is_always_emitted:e_(6605,wu.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:e_(6606,wu.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:e_(6607,wu.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:e_(6608,wu.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:e_(6609,wu.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:e_(6611,wu.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:e_(6612,wu.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:e_(6613,wu.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:e_(6614,wu.DiagnosticCategory.Message,"Create_sourcemaps_for_d_ts_files_6614","Create sourcemaps for d.ts files."),Output_compiler_performance_information_after_building:e_(6615,wu.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:e_(6616,wu.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:e_(6617,wu.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:e_(6618,wu.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:e_(6619,wu.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:e_(6620,wu.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:e_(6621,wu.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:e_(6623,wu.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:e_(6624,wu.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:e_(6625,wu.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:e_(6626,wu.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:e_(6627,wu.DiagnosticCategory.Message,"Filters_results_from_the_include_option_6627","Filters results from the `include` option."),Remove_a_list_of_directories_from_the_watch_process:e_(6628,wu.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:e_(6629,wu.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:e_(6630,wu.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:e_(6631,wu.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:e_(6632,wu.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:e_(6633,wu.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:e_(6634,wu.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:e_(6635,wu.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:e_(6636,wu.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:e_(6637,wu.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:e_(6638,wu.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:e_(6639,wu.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:e_(6641,wu.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:e_(6642,wu.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:e_(6643,wu.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:e_(6644,wu.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:e_(6645,wu.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:e_(6646,wu.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:e_(6647,wu.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:e_(6648,wu.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:e_(6649,wu.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:e_(6650,wu.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:e_(6651,wu.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:e_(6652,wu.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:e_(6653,wu.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:e_(6654,wu.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:e_(6656,wu.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:e_(6657,wu.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:e_(6658,wu.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:e_(6659,wu.DiagnosticCategory.Message,"Set_the_newline_character_for_emitting_files_6659","Set the newline character for emitting files."),Disable_emitting_files_from_a_compilation:e_(6660,wu.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:e_(6661,wu.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:e_(6662,wu.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:e_(6663,wu.DiagnosticCategory.Message,"Disable_truncating_types_in_error_messages_6663","Disable truncating types in error messages."),Enable_error_reporting_for_fallthrough_cases_in_switch_statements:e_(6664,wu.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:e_(6665,wu.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:e_(6666,wu.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:e_(6667,wu.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:e_(6668,wu.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:e_(6669,wu.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:e_(6670,wu.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:e_(6671,wu.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:e_(6672,wu.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:e_(6673,wu.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:e_(6674,wu.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:e_(6675,wu.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:e_(6676,wu.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:e_(6677,wu.DiagnosticCategory.Message,"Deprecated_setting_Use_outFile_instead_6677","Deprecated setting. Use `outFile` instead."),Specify_an_output_folder_for_all_emitted_files:e_(6678,wu.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:e_(6679,wu.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:e_(6680,wu.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:e_(6681,wu.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:e_(6682,wu.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:e_(6683,wu.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:e_(6684,wu.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:e_(6685,wu.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:e_(6686,wu.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:e_(6687,wu.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:e_(6688,wu.DiagnosticCategory.Message,"Disable_emitting_comments_6688","Disable emitting comments."),Enable_importing_json_files:e_(6689,wu.DiagnosticCategory.Message,"Enable_importing_json_files_6689","Enable importing .json files"),Specify_the_root_folder_within_your_source_files:e_(6690,wu.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:e_(6691,wu.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:e_(6692,wu.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:e_(6693,wu.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:e_(6694,wu.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:e_(6695,wu.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:e_(6697,wu.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:e_(6698,wu.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:e_(6699,wu.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:e_(6700,wu.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:e_(6701,wu.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:e_(6702,wu.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:e_(6703,wu.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:e_(6704,wu.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:e_(6705,wu.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:e_(6706,wu.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:e_(6707,wu.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:e_(6709,wu.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:e_(6710,wu.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:e_(6711,wu.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:e_(6712,wu.DiagnosticCategory.Message,"Emit_ECMAScript_standard_compliant_class_fields_6712","Emit ECMAScript-standard-compliant class fields."),Enable_verbose_logging:e_(6713,wu.DiagnosticCategory.Message,"Enable_verbose_logging_6713","Enable verbose logging"),Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality:e_(6714,wu.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:e_(6715,wu.DiagnosticCategory.Message,"Specify_how_the_TypeScript_watch_mode_works_6715","Specify how the TypeScript watch mode works."),Include_undefined_in_index_signature_results:e_(6716,wu.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:e_(6717,wu.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:e_(6718,wu.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:e_(6803,wu.DiagnosticCategory.Message,"Type_catch_clause_variables_as_unknown_instead_of_any_6803","Type catch clause variables as 'unknown' instead of 'any'."),one_of_Colon:e_(6900,wu.DiagnosticCategory.Message,"one_of_Colon_6900","one of:"),one_or_more_Colon:e_(6901,wu.DiagnosticCategory.Message,"one_or_more_Colon_6901","one or more:"),type_Colon:e_(6902,wu.DiagnosticCategory.Message,"type_Colon_6902","type:"),default_Colon:e_(6903,wu.DiagnosticCategory.Message,"default_Colon_6903","default:"),module_system_or_esModuleInterop:e_(6904,wu.DiagnosticCategory.Message,"module_system_or_esModuleInterop_6904",'module === "system" or esModuleInterop'),false_unless_strict_is_set:e_(6905,wu.DiagnosticCategory.Message,"false_unless_strict_is_set_6905","`false`, unless `strict` is set"),false_unless_composite_is_set:e_(6906,wu.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:e_(6907,wu.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:e_(6908,wu.DiagnosticCategory.Message,"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908",'`[]` if `files` is specified, otherwise `["**/*"]`'),true_if_composite_false_otherwise:e_(6909,wu.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:e_(69010,wu.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:e_(6911,wu.DiagnosticCategory.Message,"Computed_from_the_list_of_input_files_6911","Computed from the list of input files"),Platform_specific:e_(6912,wu.DiagnosticCategory.Message,"Platform_specific_6912","Platform specific"),You_can_learn_about_all_of_the_compiler_options_at_0:e_(6913,wu.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:e_(6914,wu.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:e_(6915,wu.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:e_(6916,wu.DiagnosticCategory.Message,"COMMON_COMMANDS_6916","COMMON COMMANDS"),ALL_COMPILER_OPTIONS:e_(6917,wu.DiagnosticCategory.Message,"ALL_COMPILER_OPTIONS_6917","ALL COMPILER OPTIONS"),WATCH_OPTIONS:e_(6918,wu.DiagnosticCategory.Message,"WATCH_OPTIONS_6918","WATCH OPTIONS"),BUILD_OPTIONS:e_(6919,wu.DiagnosticCategory.Message,"BUILD_OPTIONS_6919","BUILD OPTIONS"),COMMON_COMPILER_OPTIONS:e_(6920,wu.DiagnosticCategory.Message,"COMMON_COMPILER_OPTIONS_6920","COMMON COMPILER OPTIONS"),COMMAND_LINE_FLAGS:e_(6921,wu.DiagnosticCategory.Message,"COMMAND_LINE_FLAGS_6921","COMMAND LINE FLAGS"),tsc_Colon_The_TypeScript_Compiler:e_(6922,wu.DiagnosticCategory.Message,"tsc_Colon_The_TypeScript_Compiler_6922","tsc: The TypeScript Compiler"),Compiles_the_current_project_tsconfig_json_in_the_working_directory:e_(6923,wu.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:e_(6924,wu.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:e_(6925,wu.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:e_(6926,wu.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:e_(6927,wu.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:e_(6928,wu.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:e_(6929,wu.DiagnosticCategory.Message,"Compiles_the_current_project_with_additional_settings_6929","Compiles the current project, with additional settings."),Variable_0_implicitly_has_an_1_type:e_(7005,wu.DiagnosticCategory.Error,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:e_(7006,wu.DiagnosticCategory.Error,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:e_(7008,wu.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:e_(7009,wu.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:e_(7010,wu.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:e_(7011,wu.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:e_(7013,wu.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:e_(7014,wu.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:e_(7015,wu.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:e_(7016,wu.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:e_(7017,wu.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:e_(7018,wu.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:e_(7019,wu.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:e_(7020,wu.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:e_(7022,wu.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:e_(7023,wu.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:e_(7024,wu.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:e_(7025,wu.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:e_(7026,wu.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:e_(7027,wu.DiagnosticCategory.Error,"Unreachable_code_detected_7027","Unreachable code detected.",!0),Unused_label:e_(7028,wu.DiagnosticCategory.Error,"Unused_label_7028","Unused label.",!0),Fallthrough_case_in_switch:e_(7029,wu.DiagnosticCategory.Error,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:e_(7030,wu.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:e_(7031,wu.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:e_(7032,wu.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:e_(7033,wu.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:e_(7034,wu.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:e_(7035,wu.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:e_(7036,wu.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:e_(7037,wu.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:e_(7038,wu.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:e_(7039,wu.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:e_(7040,wu.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:e_(7041,wu.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:e_(7042,wu.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:e_(7043,wu.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:e_(7044,wu.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:e_(7045,wu.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:e_(7046,wu.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:e_(7047,wu.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:e_(7048,wu.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:e_(7049,wu.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:e_(7050,wu.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:e_(7051,wu.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:e_(7052,wu.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:e_(7053,wu.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:e_(7054,wu.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:e_(7055,wu.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:e_(7056,wu.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:e_(7057,wu.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:e_(8e3,wu.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:e_(8001,wu.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:e_(8002,wu.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:e_(8003,wu.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:e_(8004,wu.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:e_(8005,wu.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:e_(8006,wu.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:e_(8008,wu.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:e_(8009,wu.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:e_(8010,wu.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:e_(8011,wu.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:e_(8012,wu.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:e_(8013,wu.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:e_(8016,wu.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:e_(8017,wu.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:e_(8018,wu.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:e_(8019,wu.DiagnosticCategory.Message,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:e_(8020,wu.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:e_(8021,wu.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:e_(8022,wu.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:e_(8023,wu.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:e_(8024,wu.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:e_(8025,wu.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:e_(8026,wu.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:e_(8027,wu.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:e_(8028,wu.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:e_(8029,wu.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:e_(8030,wu.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:e_(8031,wu.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:e_(8032,wu.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:e_(8033,wu.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:e_(8034,wu.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:e_(9002,wu.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:e_(9003,wu.DiagnosticCategory.Error,"class_expressions_are_not_currently_supported_9003","'class' expressions are not currently supported."),Language_service_is_disabled:e_(9004,wu.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:e_(9005,wu.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:e_(9006,wu.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:e_(17e3,wu.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:e_(17001,wu.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:e_(17002,wu.DiagnosticCategory.Error,"Expected_corresponding_JSX_closing_tag_for_0_17002","Expected corresponding JSX closing tag for '{0}'."),JSX_attribute_expected:e_(17003,wu.DiagnosticCategory.Error,"JSX_attribute_expected_17003","JSX attribute expected."),Cannot_use_JSX_unless_the_jsx_flag_is_provided:e_(17004,wu.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:e_(17005,wu.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:e_(17006,wu.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:e_(17007,wu.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:e_(17008,wu.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:e_(17009,wu.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:e_(17010,wu.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:e_(17011,wu.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:e_(17012,wu.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:e_(17013,wu.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:e_(17014,wu.DiagnosticCategory.Error,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:e_(17015,wu.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:e_(17016,wu.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:e_(17017,wu.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:e_(17018,wu.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:e_(18e3,wu.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:e_(18001,wu.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:e_(18002,wu.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:e_(18003,wu.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:e_(80001,wu.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:e_(80002,wu.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:e_(80003,wu.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:e_(80004,wu.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:e_(80005,wu.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:e_(80006,wu.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:e_(80007,wu.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:e_(80008,wu.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:e_(90001,wu.DiagnosticCategory.Message,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:e_(90002,wu.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:e_(90003,wu.DiagnosticCategory.Message,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:e_(90004,wu.DiagnosticCategory.Message,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:e_(90005,wu.DiagnosticCategory.Message,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:e_(90006,wu.DiagnosticCategory.Message,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:e_(90007,wu.DiagnosticCategory.Message,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:e_(90008,wu.DiagnosticCategory.Message,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_variable_statement:e_(90010,wu.DiagnosticCategory.Message,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:e_(90011,wu.DiagnosticCategory.Message,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:e_(90012,wu.DiagnosticCategory.Message,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_module_1:e_(90013,wu.DiagnosticCategory.Message,"Import_0_from_module_1_90013","Import '{0}' from module \"{1}\""),Change_0_to_1:e_(90014,wu.DiagnosticCategory.Message,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Add_0_to_existing_import_declaration_from_1:e_(90015,wu.DiagnosticCategory.Message,"Add_0_to_existing_import_declaration_from_1_90015","Add '{0}' to existing import declaration from \"{1}\""),Declare_property_0:e_(90016,wu.DiagnosticCategory.Message,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:e_(90017,wu.DiagnosticCategory.Message,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:e_(90018,wu.DiagnosticCategory.Message,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:e_(90019,wu.DiagnosticCategory.Message,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:e_(90020,wu.DiagnosticCategory.Message,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:e_(90021,wu.DiagnosticCategory.Message,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:e_(90022,wu.DiagnosticCategory.Message,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:e_(90023,wu.DiagnosticCategory.Message,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:e_(90024,wu.DiagnosticCategory.Message,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:e_(90025,wu.DiagnosticCategory.Message,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:e_(90026,wu.DiagnosticCategory.Message,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:e_(90027,wu.DiagnosticCategory.Message,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:e_(90028,wu.DiagnosticCategory.Message,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:e_(90029,wu.DiagnosticCategory.Message,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:e_(90030,wu.DiagnosticCategory.Message,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:e_(90031,wu.DiagnosticCategory.Message,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Import_default_0_from_module_1:e_(90032,wu.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:e_(90033,wu.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:e_(90034,wu.DiagnosticCategory.Message,"Add_parameter_name_90034","Add parameter name"),Declare_private_property_0:e_(90035,wu.DiagnosticCategory.Message,"Declare_private_property_0_90035","Declare private property '{0}'"),Replace_0_with_Promise_1:e_(90036,wu.DiagnosticCategory.Message,"Replace_0_with_Promise_1_90036","Replace '{0}' with 'Promise<{1}>'"),Fix_all_incorrect_return_type_of_an_async_functions:e_(90037,wu.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:e_(90038,wu.DiagnosticCategory.Message,"Declare_private_method_0_90038","Declare private method '{0}'"),Remove_unused_destructuring_declaration:e_(90039,wu.DiagnosticCategory.Message,"Remove_unused_destructuring_declaration_90039","Remove unused destructuring declaration"),Remove_unused_declarations_for_Colon_0:e_(90041,wu.DiagnosticCategory.Message,"Remove_unused_declarations_for_Colon_0_90041","Remove unused declarations for: '{0}'"),Declare_a_private_field_named_0:e_(90053,wu.DiagnosticCategory.Message,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Convert_function_to_an_ES2015_class:e_(95001,wu.DiagnosticCategory.Message,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_function_0_to_class:e_(95002,wu.DiagnosticCategory.Message,"Convert_function_0_to_class_95002","Convert function '{0}' to class"),Convert_0_to_1_in_0:e_(95003,wu.DiagnosticCategory.Message,"Convert_0_to_1_in_0_95003","Convert '{0}' to '{1} in {0}'"),Extract_to_0_in_1:e_(95004,wu.DiagnosticCategory.Message,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:e_(95005,wu.DiagnosticCategory.Message,"Extract_function_95005","Extract function"),Extract_constant:e_(95006,wu.DiagnosticCategory.Message,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:e_(95007,wu.DiagnosticCategory.Message,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:e_(95008,wu.DiagnosticCategory.Message,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:e_(95009,wu.DiagnosticCategory.Message,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Annotate_with_types_from_JSDoc:e_(95010,wu.DiagnosticCategory.Message,"Annotate_with_types_from_JSDoc_95010","Annotate with types from JSDoc"),Infer_type_of_0_from_usage:e_(95011,wu.DiagnosticCategory.Message,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:e_(95012,wu.DiagnosticCategory.Message,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:e_(95013,wu.DiagnosticCategory.Message,"Convert_to_default_import_95013","Convert to default import"),Install_0:e_(95014,wu.DiagnosticCategory.Message,"Install_0_95014","Install '{0}'"),Replace_import_with_0:e_(95015,wu.DiagnosticCategory.Message,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:e_(95016,wu.DiagnosticCategory.Message,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES6_module:e_(95017,wu.DiagnosticCategory.Message,"Convert_to_ES6_module_95017","Convert to ES6 module"),Add_undefined_type_to_property_0:e_(95018,wu.DiagnosticCategory.Message,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:e_(95019,wu.DiagnosticCategory.Message,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:e_(95020,wu.DiagnosticCategory.Message,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Convert_all_type_literals_to_mapped_type:e_(95021,wu.DiagnosticCategory.Message,"Convert_all_type_literals_to_mapped_type_95021","Convert all type literals to mapped type"),Add_all_missing_members:e_(95022,wu.DiagnosticCategory.Message,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:e_(95023,wu.DiagnosticCategory.Message,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:e_(95024,wu.DiagnosticCategory.Message,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:e_(95025,wu.DiagnosticCategory.Message,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:e_(95026,wu.DiagnosticCategory.Message,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:e_(95027,wu.DiagnosticCategory.Message,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:e_(95028,wu.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:e_(95029,wu.DiagnosticCategory.Message,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:e_(95030,wu.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:e_(95031,wu.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:e_(95032,wu.DiagnosticCategory.Message,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:e_(95033,wu.DiagnosticCategory.Message,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:e_(95034,wu.DiagnosticCategory.Message,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:e_(95035,wu.DiagnosticCategory.Message,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:e_(95036,wu.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:e_(95037,wu.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:e_(95038,wu.DiagnosticCategory.Message,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:e_(95039,wu.DiagnosticCategory.Message,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:e_(95040,wu.DiagnosticCategory.Message,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:e_(95041,wu.DiagnosticCategory.Message,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:e_(95042,wu.DiagnosticCategory.Message,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:e_(95043,wu.DiagnosticCategory.Message,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:e_(95044,wu.DiagnosticCategory.Message,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:e_(95045,wu.DiagnosticCategory.Message,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:e_(95046,wu.DiagnosticCategory.Message,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:e_(95047,wu.DiagnosticCategory.Message,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:e_(95048,wu.DiagnosticCategory.Message,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:e_(95049,wu.DiagnosticCategory.Message,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:e_(95050,wu.DiagnosticCategory.Message,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:e_(95051,wu.DiagnosticCategory.Message,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:e_(95052,wu.DiagnosticCategory.Message,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:e_(95053,wu.DiagnosticCategory.Message,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:e_(95054,wu.DiagnosticCategory.Message,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:e_(95055,wu.DiagnosticCategory.Message,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:e_(95056,wu.DiagnosticCategory.Message,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:e_(95057,wu.DiagnosticCategory.Message,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:e_(95058,wu.DiagnosticCategory.Message,"Add_or_remove_braces_in_an_arrow_function_95058","Add or remove braces in an arrow function"),Add_braces_to_arrow_function:e_(95059,wu.DiagnosticCategory.Message,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:e_(95060,wu.DiagnosticCategory.Message,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:e_(95061,wu.DiagnosticCategory.Message,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:e_(95062,wu.DiagnosticCategory.Message,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:e_(95063,wu.DiagnosticCategory.Message,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:e_(95064,wu.DiagnosticCategory.Message,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:e_(95065,wu.DiagnosticCategory.Message,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:e_(95066,wu.DiagnosticCategory.Message,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_missing_call_parentheses:e_(95067,wu.DiagnosticCategory.Message,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:e_(95068,wu.DiagnosticCategory.Message,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),Add_unknown_conversion_for_non_overlapping_types:e_(95069,wu.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:e_(95070,wu.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:e_(95071,wu.DiagnosticCategory.Message,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:e_(95072,wu.DiagnosticCategory.Message,"Add_missing_new_operator_to_all_calls_95072","Add missing 'new' operator to all calls"),Add_names_to_all_parameters_without_names:e_(95073,wu.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:e_(95074,wu.DiagnosticCategory.Message,"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074","Enable the 'experimentalDecorators' option in your configuration file"),Convert_parameters_to_destructured_object:e_(95075,wu.DiagnosticCategory.Message,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Extract_type:e_(95077,wu.DiagnosticCategory.Message,"Extract_type_95077","Extract type"),Extract_to_type_alias:e_(95078,wu.DiagnosticCategory.Message,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:e_(95079,wu.DiagnosticCategory.Message,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:e_(95080,wu.DiagnosticCategory.Message,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:e_(95081,wu.DiagnosticCategory.Message,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:e_(95082,wu.DiagnosticCategory.Message,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:e_(95083,wu.DiagnosticCategory.Message,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:e_(95084,wu.DiagnosticCategory.Message,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:e_(95085,wu.DiagnosticCategory.Message,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:e_(95086,wu.DiagnosticCategory.Message,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:e_(95087,wu.DiagnosticCategory.Message,"Remove_all_unnecessary_uses_of_await_95087","Remove all unnecessary uses of 'await'"),Enable_the_jsx_flag_in_your_configuration_file:e_(95088,wu.DiagnosticCategory.Message,"Enable_the_jsx_flag_in_your_configuration_file_95088","Enable the '--jsx' flag in your configuration file"),Add_await_to_initializers:e_(95089,wu.DiagnosticCategory.Message,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:e_(95090,wu.DiagnosticCategory.Message,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:e_(95091,wu.DiagnosticCategory.Message,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:e_(95092,wu.DiagnosticCategory.Message,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:e_(95093,wu.DiagnosticCategory.Message,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:e_(95094,wu.DiagnosticCategory.Message,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:e_(95095,wu.DiagnosticCategory.Message,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:e_(95096,wu.DiagnosticCategory.Message,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:e_(95097,wu.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:e_(95098,wu.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:e_(95099,wu.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:e_(95100,wu.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:e_(95101,wu.DiagnosticCategory.Message,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Add_class_tag:e_(95102,wu.DiagnosticCategory.Message,"Add_class_tag_95102","Add '@class' tag"),Add_this_tag:e_(95103,wu.DiagnosticCategory.Message,"Add_this_tag_95103","Add '@this' tag"),Add_this_parameter:e_(95104,wu.DiagnosticCategory.Message,"Add_this_parameter_95104","Add 'this' parameter."),Convert_function_expression_0_to_arrow_function:e_(95105,wu.DiagnosticCategory.Message,"Convert_function_expression_0_to_arrow_function_95105","Convert function expression '{0}' to arrow function"),Convert_function_declaration_0_to_arrow_function:e_(95106,wu.DiagnosticCategory.Message,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:e_(95107,wu.DiagnosticCategory.Message,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:e_(95108,wu.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:e_(95109,wu.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:e_(95110,wu.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:e_(95111,wu.DiagnosticCategory.Message,"Add_a_return_statement_95111","Add a return statement"),Remove_braces_from_arrow_function_body:e_(95112,wu.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:e_(95113,wu.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:e_(95114,wu.DiagnosticCategory.Message,"Add_all_missing_return_statement_95114","Add all missing return statement"),Remove_braces_from_all_arrow_function_bodies_with_relevant_issues:e_(95115,wu.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:e_(95116,wu.DiagnosticCategory.Message,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),Move_labeled_tuple_element_modifiers_to_labels:e_(95117,wu.DiagnosticCategory.Message,"Move_labeled_tuple_element_modifiers_to_labels_95117","Move labeled tuple element modifiers to labels"),Convert_overload_list_to_single_signature:e_(95118,wu.DiagnosticCategory.Message,"Convert_overload_list_to_single_signature_95118","Convert overload list to single signature"),Generate_get_and_set_accessors_for_all_overriding_properties:e_(95119,wu.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:e_(95120,wu.DiagnosticCategory.Message,"Wrap_in_JSX_fragment_95120","Wrap in JSX fragment"),Wrap_all_unparented_JSX_in_JSX_fragment:e_(95121,wu.DiagnosticCategory.Message,"Wrap_all_unparented_JSX_in_JSX_fragment_95121","Wrap all unparented JSX in JSX fragment"),Convert_arrow_function_or_function_expression:e_(95122,wu.DiagnosticCategory.Message,"Convert_arrow_function_or_function_expression_95122","Convert arrow function or function expression"),Convert_to_anonymous_function:e_(95123,wu.DiagnosticCategory.Message,"Convert_to_anonymous_function_95123","Convert to anonymous function"),Convert_to_named_function:e_(95124,wu.DiagnosticCategory.Message,"Convert_to_named_function_95124","Convert to named function"),Convert_to_arrow_function:e_(95125,wu.DiagnosticCategory.Message,"Convert_to_arrow_function_95125","Convert to arrow function"),Remove_parentheses:e_(95126,wu.DiagnosticCategory.Message,"Remove_parentheses_95126","Remove parentheses"),Could_not_find_a_containing_arrow_function:e_(95127,wu.DiagnosticCategory.Message,"Could_not_find_a_containing_arrow_function_95127","Could not find a containing arrow function"),Containing_function_is_not_an_arrow_function:e_(95128,wu.DiagnosticCategory.Message,"Containing_function_is_not_an_arrow_function_95128","Containing function is not an arrow function"),Could_not_find_export_statement:e_(95129,wu.DiagnosticCategory.Message,"Could_not_find_export_statement_95129","Could not find export statement"),This_file_already_has_a_default_export:e_(95130,wu.DiagnosticCategory.Message,"This_file_already_has_a_default_export_95130","This file already has a default export"),Could_not_find_import_clause:e_(95131,wu.DiagnosticCategory.Message,"Could_not_find_import_clause_95131","Could not find import clause"),Could_not_find_namespace_import_or_named_imports:e_(95132,wu.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:e_(95133,wu.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:e_(95134,wu.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:e_(95135,wu.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:e_(95136,wu.DiagnosticCategory.Message,"Name_is_not_valid_95136","Name is not valid"),Can_only_convert_property_with_modifier:e_(95137,wu.DiagnosticCategory.Message,"Can_only_convert_property_with_modifier_95137","Can only convert property with modifier"),Switch_each_misused_0_to_1:e_(95138,wu.DiagnosticCategory.Message,"Switch_each_misused_0_to_1_95138","Switch each misused '{0}' to '{1}'"),Convert_to_optional_chain_expression:e_(95139,wu.DiagnosticCategory.Message,"Convert_to_optional_chain_expression_95139","Convert to optional chain expression"),Could_not_find_convertible_access_expression:e_(95140,wu.DiagnosticCategory.Message,"Could_not_find_convertible_access_expression_95140","Could not find convertible access expression"),Could_not_find_matching_access_expressions:e_(95141,wu.DiagnosticCategory.Message,"Could_not_find_matching_access_expressions_95141","Could not find matching access expressions"),Can_only_convert_logical_AND_access_chains:e_(95142,wu.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:e_(95143,wu.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:e_(95144,wu.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:e_(95145,wu.DiagnosticCategory.Message,"Use_element_access_for_0_95145","Use element access for '{0}'"),Use_element_access_for_all_undeclared_properties:e_(95146,wu.DiagnosticCategory.Message,"Use_element_access_for_all_undeclared_properties_95146","Use element access for all undeclared properties."),Delete_all_unused_imports:e_(95147,wu.DiagnosticCategory.Message,"Delete_all_unused_imports_95147","Delete all unused imports"),Infer_function_return_type:e_(95148,wu.DiagnosticCategory.Message,"Infer_function_return_type_95148","Infer function return type"),Return_type_must_be_inferred_from_a_function:e_(95149,wu.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:e_(95150,wu.DiagnosticCategory.Message,"Could_not_determine_function_return_type_95150","Could not determine function return type"),Could_not_convert_to_arrow_function:e_(95151,wu.DiagnosticCategory.Message,"Could_not_convert_to_arrow_function_95151","Could not convert to arrow function"),Could_not_convert_to_named_function:e_(95152,wu.DiagnosticCategory.Message,"Could_not_convert_to_named_function_95152","Could not convert to named function"),Could_not_convert_to_anonymous_function:e_(95153,wu.DiagnosticCategory.Message,"Could_not_convert_to_anonymous_function_95153","Could not convert to anonymous function"),Can_only_convert_string_concatenation:e_(95154,wu.DiagnosticCategory.Message,"Can_only_convert_string_concatenation_95154","Can only convert string concatenation"),Selection_is_not_a_valid_statement_or_statements:e_(95155,wu.DiagnosticCategory.Message,"Selection_is_not_a_valid_statement_or_statements_95155","Selection is not a valid statement or statements"),Add_missing_function_declaration_0:e_(95156,wu.DiagnosticCategory.Message,"Add_missing_function_declaration_0_95156","Add missing function declaration '{0}'"),Add_all_missing_function_declarations:e_(95157,wu.DiagnosticCategory.Message,"Add_all_missing_function_declarations_95157","Add all missing function declarations"),Method_not_implemented:e_(95158,wu.DiagnosticCategory.Message,"Method_not_implemented_95158","Method not implemented."),Function_not_implemented:e_(95159,wu.DiagnosticCategory.Message,"Function_not_implemented_95159","Function not implemented."),Add_override_modifier:e_(95160,wu.DiagnosticCategory.Message,"Add_override_modifier_95160","Add 'override' modifier"),Remove_override_modifier:e_(95161,wu.DiagnosticCategory.Message,"Remove_override_modifier_95161","Remove 'override' modifier"),Add_all_missing_override_modifiers:e_(95162,wu.DiagnosticCategory.Message,"Add_all_missing_override_modifiers_95162","Add all missing 'override' modifiers"),Remove_all_unnecessary_override_modifiers:e_(95163,wu.DiagnosticCategory.Message,"Remove_all_unnecessary_override_modifiers_95163","Remove all unnecessary 'override' modifiers"),Can_only_convert_named_export:e_(95164,wu.DiagnosticCategory.Message,"Can_only_convert_named_export_95164","Can only convert named export"),Add_missing_properties:e_(95165,wu.DiagnosticCategory.Message,"Add_missing_properties_95165","Add missing properties"),Add_all_missing_properties:e_(95166,wu.DiagnosticCategory.Message,"Add_all_missing_properties_95166","Add all missing properties"),Add_missing_attributes:e_(95167,wu.DiagnosticCategory.Message,"Add_missing_attributes_95167","Add missing attributes"),Add_all_missing_attributes:e_(95168,wu.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:e_(18004,wu.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:e_(18006,wu.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:e_(18007,wu.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:e_(18009,wu.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:e_(18010,wu.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:e_(18011,wu.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:e_(18012,wu.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:e_(18013,wu.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:e_(18014,wu.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:e_(18015,wu.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:e_(18016,wu.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:e_(18017,wu.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:e_(18018,wu.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:e_(18019,wu.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:e_(18024,wu.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:e_(18026,wu.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:e_(18027,wu.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:e_(18028,wu.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:e_(18029,wu.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:e_(18030,wu.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:e_(18031,wu.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:e_(18032,wu.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:e_(18033,wu.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:e_(18034,wu.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:e_(18035,wu.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:e_(18036,wu.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:e_(18037,wu.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:e_(18038,wu.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:e_(18039,wu.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:e_(18041,wu.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 n_=SY=SY||{};function t_(e){return 79<=e}n_.tokenIsIdentifierOrKeyword=t_,n_.tokenIsIdentifierOrKeywordOrGreaterThan=function(e){return 31===e||79<=e},n_.textToKeywordObj=((sm={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,sm.debugger=87,sm.declare=134,sm.default=88,sm.delete=89,sm.do=90,sm.else=91,sm.enum=92,sm.export=93,sm.extends=94,sm.false=95,sm.finally=96,sm.for=97,sm.from=154,sm.function=98,sm.get=135,sm.if=99,sm.implements=117,sm.import=100,sm.in=101,sm.infer=136,sm.instanceof=102,sm.interface=118,sm.intrinsic=137,sm.is=138,sm.keyof=139,sm.let=119,sm.module=140,sm.namespace=141,sm.never=142,sm.new=103,sm.null=104,sm.number=145,sm.object=146,sm.package=120,sm.private=121,sm.protected=122,sm.public=123,sm.override=157,sm.readonly=143,sm.require=144,sm.global=155,sm.return=105,sm.set=147,sm.static=124,sm.string=148,sm.super=106,sm.switch=107,sm.symbol=149,sm.this=108,sm.throw=109,sm.true=110,sm.try=111,sm.type=150,sm.typeof=112,sm.undefined=151,sm.unique=152,sm.unknown=153,sm.var=113,sm.void=114,sm.while=115,sm.with=116,sm.yield=125,sm.async=130,sm.await=131,sm.of=158,sm);var r_=new n_.Map(n_.getEntries(n_.textToKeywordObj)),a_=new n_.Map(n_.getEntries(ed(ed({},n_.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}))),i_=[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],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,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],s_=[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],c_=[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],l_=[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],d_=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/,p_=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/;function m_(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 __(e,n){return m_(e,2<=n?l_:1===n?s_:i_)}n_.isUnicodeIdentifierStart=__,f_=[],a_.forEach((function(e,n){f_[e]=n}));var f_,g_=f_;function y_(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&&x_(a)&&(n.push(r),r=t)}}return n.push(r),n}function h_(e,n,t,r,a){return(n<0||n>=e.length)&&(a?n=n<0?0:n>=e.length?e.length-1:n:n_.Debug.fail("Bad line number. Line: "+n+", lineStarts.length: "+e.length+" , line map is correct? "+(void 0!==r?n_.arraysEqual(e,y_(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?n_.Debug.assert(t<e[n+1]):void 0!==r&&n_.Debug.assert(t<=r.length),t)}function v_(e){return e.lineMap||(e.lineMap=y_(e.text))}function b_(e,n){var t=E_(e,n);return{line:t,character:n-e[t]}}function E_(e,n,t){return e=n_.binarySearch(e,n,n_.identity,n_.compareValues,t),e<0&&n_.Debug.assert(-1!==(e=~e-1),"position cannot precede the beginning of the file"),e}function T_(e){return S_(e)||x_(e)}function S_(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 x_(e){return 10===e||13===e||8232===e||8233===e}function L_(e){return 48<=e&&e<=57}function D_(e){return L_(e)||65<=e&&e<=70||97<=e&&e<=102}function A_(e){return 48<=e&&e<=55}n_.tokenToString=function(e){return g_[e]},n_.stringToToken=function(e){return a_.get(e)},n_.computeLineStarts=y_,n_.getPositionOfLineAndCharacter=function(e,n,t,r){return e.getPositionOfLineAndCharacter?e.getPositionOfLineAndCharacter(n,t,r):h_(v_(e),n,t,e.text,r)},n_.computePositionOfLineAndCharacter=h_,n_.getLineStarts=v_,n_.computeLineAndCharacterOfPosition=b_,n_.computeLineOfPosition=E_,n_.getLinesBetweenPositions=function(e,n,t){var r,a;return n===t?0:(e=v_(e),n=(r=(a=Math.min(n,t))===t)?n:t,t=E_(e,a),a=E_(e,n,t),r?t-a:a-t)},n_.getLineAndCharacterOfPosition=function(e,n){return b_(v_(e),n)},n_.isWhiteSpaceLike=T_,n_.isWhiteSpaceSingleLine=S_,n_.isLineBreak=x_,n_.isOctalDigit=A_,n_.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}},n_.skipTrivia=function(e,n,t,r,a){if(n_.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&&!x_(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(I_(e,n)){n=N_(e,n),i=!1;continue}break;case 35:if(0===n&&R_(e,n)){n=O_(e,n),i=!1;continue}break;case 42:if(i){n++,i=!1;continue}break;default:if(127<o&&T_(o)){n++;continue}}return n}};var C_="<<<<<<<".length;function I_(e,n){if(n_.Debug.assert(0<=n),0===n||x_(e.charCodeAt(n-1))){var t=e.charCodeAt(n);if(n+C_<e.length){for(var r=0;r<C_;r++)if(e.charCodeAt(n+r)!==t)return;return 61===t||32===e.charCodeAt(n+C_)}}}function N_(e,n,t){t&&t(n_.Diagnostics.Merge_conflict_marker_encountered,n,C_);var r=e.charCodeAt(n),a=e.length;if(60===r||62===r)for(;n<a&&!x_(e.charCodeAt(n));)n++;else for(n_.Debug.assert(124===r||61===r);n<a;){var i=e.charCodeAt(n);if((61===i||62===i)&&i!==r&&I_(e,n))break;n++}return n}var k_=/^#!.*/;function R_(e,n){return n_.Debug.assert(0===n),k_.test(e)}function O_(e,n){return n+k_.exec(e)[0].length}function P_(e,n,t,r,a,i,o){var s,c,l,u,d=!1,p=r,m=o;0===t&&(p=!0,o=G_(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,d&&(u=!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(x_(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(d&&(m=a(s,c,l,u,i,m),!e)&&m)return m;s=h,c=t,l=y,u=g,d=!0}continue;default:if(127<_&&T_(_)){d&&x_(_)&&(u=!0),t++;continue}break e}}return d?a(s,c,l,u,i,m):m}function w_(e,n,t,r,a){return P_(!0,e,n,!1,t,r,a)}function M_(e,n,t,r,a){return P_(!0,e,n,!0,t,r,a)}function F_(e,n,t,r,a,i){return(i=i||[]).push({kind:t,pos:e,end:n,hasTrailingNewLine:r}),i}function G_(e){if(e=k_.exec(e),e)return e[0]}function B_(e,n){return 65<=e&&e<=90||97<=e&&e<=122||36===e||95===e||127<e&&__(e,n)}function U_(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&&m_(e,2<=(t=n)?u_:1===t?c_:o_)}n_.isShebangTrivia=R_,n_.scanShebangTrivia=O_,n_.forEachLeadingCommentRange=function(e,n,t,r){return P_(!1,e,n,!1,t,r)},n_.forEachTrailingCommentRange=function(e,n,t,r){return P_(!1,e,n,!0,t,r)},n_.reduceEachLeadingCommentRange=w_,n_.reduceEachTrailingCommentRange=M_,n_.getLeadingCommentRanges=function(e,n){return w_(e,n,F_,void 0,void 0)},n_.getTrailingCommentRanges=function(e,n){return M_(e,n,F_,void 0,void 0)},n_.getShebang=G_,n_.isIdentifierStart=B_,n_.isIdentifierPart=U_,n_.isIdentifierText=function(e,n,t){var r=V_(e,0);if(!B_(r,n))return!1;for(var a=j_(r);a<e.length;a+=j_(r))if(!U_(r=V_(e,a),n,t))return!1;return!0},n_.createScanner=function(e,n,t,r,a,i,o){void 0===t&&(t=0);var s,c,l,u,d,p,m,_,f=r,g=0,y=(j(f,i,o),{getStartPos:function(){return l},getTextPos:function(){return s},getToken:function(){return d},getTokenPos:function(){return u},getTokenText:function(){return f.substring(u,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===d||116<d},isReservedWord:function(){return 81<=d&&d<=116},isUnterminated:function(){return 0!=(4&m)},getCommentDirectives:function(){return _},getNumericLiteralFlags:function(){return 1008&m},getTokenFlags:function(){return m},reScanGreaterToken:function(){if(31===d){if(62===f.charCodeAt(s))return d=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++,d=33}return d},reScanAsteriskEqualsToken:function(){return n_.Debug.assert(66===d,"'reScanAsteriskEqualsToken' should only be called on a '*='"),s=u+1,d=63},reScanSlashToken:function(){if(43===d||68===d){for(var n=u+1,t=!1,r=!1;;){if(c<=n){m|=4,h(n_.Diagnostics.Unterminated_regular_expression_literal);break}var a=f.charCodeAt(n);if(x_(a)){m|=4,h(n_.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&&U_(f.charCodeAt(n),e);)n++;s=n,p=f.substring(u,s),d=13}return d},reScanTemplateToken:function(e){return n_.Debug.assert(19===d,"'reScanTemplateToken' should only be called on a '}'"),s=u,d=D(e)},reScanTemplateHeadOrNoSubstitutionTemplate:function(){return s=u,d=D(!0)},scanJsxIdentifier:function(){if(79<=d){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,d=79}":"===p.slice(-1)&&(p=p.slice(0,-1),s--)}return d},scanJsxAttributeValue:U,reScanJsxAttributeValue:function(){return s=u=l,U()},reScanJsxToken:function(e){return void 0===e&&(e=!0),s=u=l,d=B(e)},reScanLessThanToken:function(){return 47!==d?d:(s=u+1,d=29)},reScanHashToken:function(){return 80!==d?d:(s=u+1,d=62)},reScanQuestionToken:function(){return n_.Debug.assert(60===d,"'reScanQuestionToken' should only be called on a '??'"),s=u+1,d=57},reScanInvalidIdentifier:function(){n_.Debug.assert(0===d,"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'."),s=u=l,m=0;var e=V_(f,s),n=F(e,99);return n?d=n:(s+=j_(e),d)},scanJsxToken:B,scanJsDocToken:function(){if(l=u=s,m=0,c<=s)return d=1;var n=V_(f,s);switch(s+=j_(n),n){case 9:case 11:case 12:case 32:for(;s<c&&S_(f.charCodeAt(s));)s++;return d=5;case 64:return d=59;case 13:10===f.charCodeAt(s)&&s++;case 10:return m|=1,d=4;case 42:return d=41;case 123:return d=18;case 125:return d=19;case 91:return d=22;case 93:return d=23;case 60:return d=29;case 62:return d=31;case 61:return d=63;case 44:return d=27;case 46:return d=24;case 96:return d=61;case 35:return d=62;case 92:s--;var t=k();return 0<=t&&B_(t,e)?(s+=3,m|=8,p=I()+R(),d=O()):(t=N(),d=0<=t&&B_(t,e)?(s+=6,m|=1024,p=String.fromCharCode(t)+R(),O()):(s++,0))}if(B_(n,e)){for(var r=n;s<c&&U_(r=V_(f,s),e)||45===f.charCodeAt(s);)s+=j_(r);return p=f.substring(u,s),92===r&&(p+=R()),d=O()}return d=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=u,g=d,y=p,h=m,v=_;j(f,e,n),e=t();return c=r,s=a,l=i,u=o,d=g,p=y,m=h,_=v,e}});return n_.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?n_.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:n_.Diagnostics.Numeric_separators_are_not_allowed_here,s,1),e=++s;else{if(!L_(a))break;t=!(n=!0),s++}}return 95===f.charCodeAt(s-1)&&h(n_.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(n_.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;B_(V_(f,s),e)&&(r=s,1===(a=R().length)&&"n"===f[r]?h(t?n_.Diagnostics.A_bigint_literal_cannot_use_exponential_notation:n_.Diagnostics.A_bigint_literal_must_be_an_integer,n,r-n+1):(h(n_.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?n_.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:n_.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(n_.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(n_.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(x_(a)&&!e){t+=f.substring(r,s),m|=4,h(n_.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(n_.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 n_.Debug.assert(void 0!==n),p=a,n}function A(e){var n=s;if(c<=++s)return h(n_.Diagnostics.Unexpected_end_of_text),"";var t=f.charCodeAt(s);switch(s++,t){case 48:return e&&s<c&&L_(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&&!D_(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&&!D_(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(!D_(f.charCodeAt(s)))return m|=2048,f.substring(n,s);if(!D_(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(n_.Diagnostics.Hexadecimal_digit_expected),"")}function I(){var e=S(1,!1),n=(e=e?parseInt(e,16):-1,!1);return e<0?(h(n_.Diagnostics.Hexadecimal_digit_expected),n=!0):1114111<e&&(h(n_.Diagnostics.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),n=!0),c<=s?(h(n_.Diagnostics.Unexpected_end_of_text),n=!0):125===f.charCodeAt(s)?s++:(h(n_.Diagnostics.Unterminated_Unicode_escape_sequence),n=!0),n?"":H_(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===V_(f,s+1)&&123===V_(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=V_(f,s);if(U_(r,e))s+=j_(r);else{if(92!==r)break;if(0<=(r=k())&&U_(r,e))s+=3,m|=8,n+=I(),t=s;else{if(!(0<=(r=N())&&U_(r,e)))break;m|=1024,n=(n+=f.substring(t,s))+H_(r),t=s+=6}}}return n+f.substring(t,s)}function O(){var e=p.length;return d=2<=e&&e<=12&&(e=p.charCodeAt(0),97<=e&&e<=122&&(e=r_.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?n_.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:n_.Diagnostics.Numeric_separators_are_not_allowed_here,s,1),s++;else{if(t=!0,!L_(a)||e<=a-48)break;n+=f[s],s++,r=!1}}return 95===f.charCodeAt(s-1)&&h(n_.Diagnostics.Numeric_separators_are_not_allowed_here,s-1,1),n}function w(){return 110===f.charCodeAt(s)?(p+="n",384&m&&(p=n_.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<=(u=s))return d=1;var a=V_(f,s);if(35===a&&0===s&&R_(f,s)){if(s=O_(f,s),n)continue;return d=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++,d=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&&S_(f.charCodeAt(s));)s++;return d=5;case 33:return 61===f.charCodeAt(s+1)?d=61===f.charCodeAt(s+2)?(s+=3,37):(s+=2,35):(s++,d=53);case 34:case 39:return p=L(),d=10;case 96:return d=D(!1);case 37:return 61===f.charCodeAt(s+1)?(s+=2,d=69):(s++,d=44);case 38:return d=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++,d=20;case 41:return s++,d=21;case 42:if(61===f.charCodeAt(s+1))return s+=2,d=66;if(42===f.charCodeAt(s+1))return d=61===f.charCodeAt(s+2)?(s+=3,67):(s+=2,42);if(s++,g&&!r&&1&m){r=!0;continue}return d=41;case 43:return 43===f.charCodeAt(s+1)?(s+=2,d=45):d=61===f.charCodeAt(s+1)?(s+=2,64):(s++,39);case 44:return s++,d=27;case 45:return 45===f.charCodeAt(s+1)?(s+=2,d=46):d=61===f.charCodeAt(s+1)?(s+=2,65):(s++,40);case 46:return L_(f.charCodeAt(s+1))?(p=b().value,d=8):d=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&&!x_(f.charCodeAt(s));)s++;if(_=G(_,f.slice(u,s),d_,u),n)continue;return d=2}if(42!==f.charCodeAt(s+1))return d=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=u;s<c;){var y=f.charCodeAt(s);if(42===y&&47===f.charCodeAt(s+1)){s+=2,i=!0;break}s++,x_(y)&&(o=s,m|=1)}if(_=G(_,f.slice(o,s),p_,o),i||h(n_.Diagnostics.Asterisk_Slash_expected),n)continue;return i||(m|=4),d=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(n_.Diagnostics.Hexadecimal_digit_expected),p="0"),p="0x"+p,m|=64,d=w();if(s+2<c&&(66===f.charCodeAt(s+1)||98===f.charCodeAt(s+1)))return s+=2,(p=P(2))||(h(n_.Diagnostics.Binary_digit_expected),p="0"),p="0b"+p,m|=128,d=w();if(s+2<c&&(79===f.charCodeAt(s+1)||111===f.charCodeAt(s+1)))return s+=2,(p=P(8))||(h(n_.Diagnostics.Octal_digit_expected),p="0"),p="0o"+p,m|=256,d=w();if(s+1<c&&A_(f.charCodeAt(s+1)))return p=""+function(){for(var e=s;A_(f.charCodeAt(s));)s++;return+f.substring(e,s)}(),m|=32,d=8;case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return v=b(),d=v.type,p=v.value,d;case 58:return s++,d=58;case 59:return s++,d=26;case 60:if(I_(f,s)){if(s=N_(f,s,h),n)continue;return d=7}return d=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(I_(f,s)){if(s=N_(f,s,h),n)continue;return d=7}return d=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(I_(f,s)){if(s=N_(f,s,h),n)continue;return d=7}return s++,d=31;case 63:return 46!==f.charCodeAt(s+1)||L_(f.charCodeAt(s+2))?d=63===f.charCodeAt(s+1)?61===f.charCodeAt(s+2)?(s+=3,77):(s+=2,60):(s++,57):(s+=2,d=28);case 91:return s++,d=22;case 93:return s++,d=23;case 94:return 61===f.charCodeAt(s+1)?(s+=2,d=78):(s++,d=52);case 123:return s++,d=18;case 124:if(I_(f,s)){if(s=N_(f,s,h),n)continue;return d=7}return d=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++,d=19;case 126:return s++,d=54;case 64:return s++,d=59;case 92:var v=k();return 0<=v&&B_(v,e)?(s+=3,m|=8,p=I()+R(),d=O()):(E=N(),d=0<=E&&B_(E,e)?(s+=6,m|=1024,p=String.fromCharCode(E)+R(),O()):(h(n_.Diagnostics.Invalid_character),s++,0));case 35:return 0!==s&&"!"===f[s+1]?(h(n_.Diagnostics.can_only_be_used_at_the_start_of_a_file),s++,d=0):(B_(V_(f,s+1),e)?F(V_(f,++s),e):(p=String.fromCharCode(V_(f,s)),h(n_.Diagnostics.Invalid_character,s++,j_(a))),d=80);default:var E=F(a,e);if(E)return d=E;if(S_(a)){s+=j_(a);continue}if(x_(a)){m|=1,s+=j_(a);continue}var T=j_(a);return h(n_.Diagnostics.Invalid_character,s,T),s+=T,d=0}}}function F(e,n){var t=e;if(B_(t,n)){for(s+=j_(t);s<c&&U_(t=V_(f,s),n);)s+=j_(t);return p=f.substring(u,s),92===t&&(p+=R()),O()}}function G(e,n,t,r){return n=function(e,n){if(n=n.exec(e),n)switch(n[1]){case"ts-expect-error":return 0;case"ts-ignore":return 1}}(n_.trimStringStart(n),t),void 0===n?e:n_.append(e,{range:{pos:r,end:s},type:n})}function B(e){if(void 0===e&&(e=!0),l=u=s,c<=s)return d=1;var n=f.charCodeAt(s);if(60===n)return d=47===f.charCodeAt(s+1)?(s+=2,30):(s++,29);if(123===n)return s++,d=18;for(var t=0;s<c&&123!==(n=f.charCodeAt(s));){if(60===n){if(I_(f,s))return s=N_(f,s,h),d=7;break}if(62===n&&h(n_.Diagnostics.Unexpected_token_Did_you_mean_or_gt,s,1),125===n&&h(n_.Diagnostics.Unexpected_token_Did_you_mean_or_rbrace,s,1),x_(n)&&0===t)t=-1;else{if(!e&&x_(n)&&0<t)break;T_(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),d=10;default:return M()}}function V(e,n){var t=s,r=l,a=u,i=d,o=p,c=m;e=e();return e&&!n||(s=t,l=r,u=a,d=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){n_.Debug.assert(0<=e),u=l=s=e,p=void(d=0),m=0}};var V_=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 j_(e){return 65536<=e?2:1}var K_=String.fromCodePoint?function(e){return String.fromCodePoint(e)}:function(e){var n;return n_.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 H_(e){return K_(e)}function W_(e){return e.start+e.length}function z_(e){return 0===e.length}function J_(e,n){return e=X_(e,n),e&&0===e.length?void 0:e}function q_(e,n,t,r){return t<=e+n&&e<=t+r}function X_(e,n){var t=Math.max(e.start,n.start);e=Math.min(W_(e),W_(n));return t<=e?Q_(t,e):void 0}function Y_(e,n){if(e<0)throw new Error("start < 0");if(n<0)throw new Error("length < 0");return{start:e,length:n}}function Q_(e,n){return Y_(e,n-e)}function Z_(e,n){if(n<0)throw new Error("newLength < 0");return{span:e,newLength:n}}function $_(e){return!!Kf(e)&&oe.every(e.elements,ef)}function ef(e){return!!oe.isOmittedExpression(e)||$_(e.name)}function nf(e){for(var n=e.parent;oe.isBindingElement(n.parent);)n=n.parent.parent;return n.parent}function tf(e,n){var t=n(e=oe.isBindingElement(e)?nf(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 rf(e){return 0==(8&e.flags)}function af(e){return 3<=e.length&&95===e.charCodeAt(0)&&95===e.charCodeAt(1)&&95===e.charCodeAt(2)?e.substr(1):e}function of(e){return af(e.escapedText)}function sf(e){var n=e.parent.parent;if(n){if(Zf(n))return cf(n);switch(n.kind){case 235:if(n.declarationList&&n.declarationList.declarations[0])return cf(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 cf(n.expression);case 248:if(Zf(n.statement)||qf(n.statement))return cf(n.statement)}}}function cf(e){return e=pf(e),e&&oe.isIdentifier(e)?e:void 0}function lf(e){return e.name||sf(e)}function uf(e){return!!e.name}function df(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 lf(e);case 334:return sf(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 pf(e){if(void 0!==e)return df(e)||(oe.isFunctionExpression(e)||oe.isArrowFunction(e)||oe.isClassExpression(e)?mf(e):void 0)}function mf(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 _f(e,n){if(e.name){var t;if(oe.isIdentifier(e.name))return t=e.name.escapedText,bf(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"),bf(e.parent,n).filter(oe.isJSDocParameterTag));if(r<e.length)return[e[r]]}return oe.emptyArray}function ff(e){return _f(e,!1)}function gf(e,n){var t=e.name.escapedText;return bf(e.parent,n).filter((function(e){return oe.isJSDocTemplateTag(e)&&e.typeParameters.some((function(e){return e.name.escapedText===t}))}))}function yf(e){return Tf(e,oe.isJSDocReturnTag)}function hf(e){if(e=Tf(e,oe.isJSDocTypeTag),e&&e.typeExpression&&e.typeExpression.type)return e}function vf(e){var n=Tf(e,oe.isJSDocTypeTag);return(n=!n&&oe.isParameter(e)?oe.find(ff(e),(function(e){return!!e.typeExpression})):n)&&n.typeExpression&&n.typeExpression.type}function bf(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 Ef(e){return bf(e,!1)}function Tf(e,n,t){return oe.find(bf(e,t),n)}function Sf(e,n){return Ef(e).filter(n)}function xf(e){var n=e.kind;return!!(32&e.flags)&&(204===n||205===n||206===n||228===n)}function Lf(e){return xf(e)&&!oe.isNonNullExpression(e)&&!!e.questionDotToken}function Df(e){return oe.skipOuterExpressions(e,8)}function Af(e){switch(e.kind){case 297:case 298:return!0;default:return!1}}function Cf(e){return 159<=e}function If(e){return 0<=e&&e<=158}function Nf(e){return 8<=e&&e<=14}function kf(e){return 14<=e&&e<=17}function Rf(e){return(oe.isPropertyDeclaration(e)||Uf(e))&&oe.isPrivateIdentifier(e.name)}function Of(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 Pf(e){return!!(16476&oe.modifierToFlag(e))}function wf(e){return!!e&&Ff(e.kind)}function Mf(e){switch(e){case 254:case 167:case 169:case 170:case 171:case 211:case 212:return!0;default:return!1}}function Ff(e){switch(e){case 166:case 172:case 318:case 173:case 174:case 177:case 312:case 178:return!0;default:return Mf(e)}}function Gf(e){return e=e.kind,169===e||165===e||167===e||170===e||171===e||174===e||168===e||232===e}function Bf(e){return e&&(255===e.kind||224===e.kind)}function Uf(e){switch(e.kind){case 167:case 170:case 171:return!0;default:return!1}}function Vf(e){return e=e.kind,173===e||172===e||164===e||166===e||174===e}function jf(e){return e=e.kind,291===e||292===e||293===e||167===e||170===e||171===e}function Kf(e){return!!e&&(200===(e=e.kind)||199===e)}function Hf(e){switch(e.kind){case 199:case 203:return!0}return!1}function Wf(e){switch(e.kind){case 200:case 202:return!0}return!1}function zf(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 Jf(e){switch(e){case 217:case 218:case 213:case 214:case 215:case 216:case 209:return!0;default:return zf(e)}}function qf(e){var n=Df(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 Jf(n)}}function Xf(e){return oe.isExportAssignment(e)||oe.isExportDeclaration(e)}function Yf(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 Qf(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 Zf(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 $f(e){return 322<=e.kind&&e.kind<=342}function eg(e){return 319===e.kind||320===e.kind||321===e.kind}n_.utf16EncodeAsString=H_,(oe=SY=SY||{}).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=W_,oe.textSpanIsEmpty=z_,oe.textSpanContainsPosition=function(e,n){return n>=e.start&&n<W_(e)},oe.textRangeContainsPositionInclusive=function(e,n){return n>=e.pos&&n<=e.end},oe.textSpanContainsTextSpan=function(e,n){return n.start>=e.start&&W_(n)<=W_(e)},oe.textSpanOverlapsWith=function(e,n){return void 0!==J_(e,n)},oe.textSpanOverlap=J_,oe.textSpanIntersectsWithTextSpan=function(e,n){return q_(e.start,e.length,n.start,n.length)},oe.textSpanIntersectsWith=function(e,n,t){return q_(e.start,e.length,n,t)},oe.decodedTextSpanIntersectsWith=q_,oe.textSpanIntersectsWithPosition=function(e,n){return n<=W_(e)&&n>=e.start},oe.textSpanIntersection=X_,oe.createTextSpan=Y_,oe.createTextSpanFromBounds=Q_,oe.textChangeRangeNewSpan=function(e){return Y_(e.span.start,e.newLength)},oe.textChangeRangeIsUnchanged=function(e){return z_(e.span)&&0===e.newLength},oe.createTextChangeRange=Z_,oe.unchangedTextChangeRange=Z_(Y_(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=W_(n.span),a=t+n.newLength,i=1;i<e.length;i++){var o=e[i],s=t,c=r,l=a,u=o.span.start,d=W_(o.span);o=u+o.newLength,t=Math.min(s,u),r=Math.max(c,c+(d-l)),a=Math.max(o,o+(l-d))}return Z_(Q_(t,r),a-t)},oe.getTypeParameterOwner=function(e){if(e&&161===e.kind)for(var n=e;n;n=n.parent)if(wf(n)||Bf(n)||256===n.kind)return n},oe.isParameterPropertyDeclaration=function(e,n){return oe.hasSyntacticModifier(e,16476)&&169===n.kind},oe.isEmptyBindingPattern=$_,oe.isEmptyBindingElement=ef,oe.walkUpBindingElementsAndPatterns=nf,oe.getCombinedModifierFlags=function(e){return tf(e,oe.getEffectiveModifierFlags)},oe.getCombinedNodeFlagsAlwaysIncludeJSDoc=function(e){return tf(e,oe.getEffectiveModifierFlagsAlwaysIncludeJSDoc)},oe.getCombinedNodeFlags=function(e){return tf(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=rf,oe.getParseTreeNode=function(e,n){if(void 0===e||rf(e))return e;for(e=e.original;e;){if(rf(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=af,oe.idText=of,oe.symbolName=function(e){return e.valueDeclaration&&Rf(e.valueDeclaration)?of(e.valueDeclaration.name):af(e.escapedName)},oe.nodeHasName=function e(n,t){return!(!uf(n)||!oe.isIdentifier(n.name)||of(n.name)!==of(t))||!(!oe.isVariableStatement(n)||!oe.some(n.declarationList.declarations,(function(n){return e(n,t)})))},oe.getNameOfJSDocTypedef=lf,oe.isNamedDeclaration=uf,oe.getNonAssignedNameOfDeclaration=df,oe.getNameOfDeclaration=pf,oe.getAssignedName=mf,oe.getJSDocParameterTags=ff,oe.getJSDocParameterTagsNoCache=function(e){return _f(e,!0)},oe.getJSDocTypeParameterTags=function(e){return gf(e,!1)},oe.getJSDocTypeParameterTagsNoCache=function(e){return gf(e,!0)},oe.hasJSDocParameterTags=function(e){return!!Tf(e,oe.isJSDocParameterTag)},oe.getJSDocAugmentsTag=function(e){return Tf(e,oe.isJSDocAugmentsTag)},oe.getJSDocImplementsTags=function(e){return Sf(e,oe.isJSDocImplementsTag)},oe.getJSDocClassTag=function(e){return Tf(e,oe.isJSDocClassTag)},oe.getJSDocPublicTag=function(e){return Tf(e,oe.isJSDocPublicTag)},oe.getJSDocPublicTagNoCache=function(e){return Tf(e,oe.isJSDocPublicTag,!0)},oe.getJSDocPrivateTag=function(e){return Tf(e,oe.isJSDocPrivateTag)},oe.getJSDocPrivateTagNoCache=function(e){return Tf(e,oe.isJSDocPrivateTag,!0)},oe.getJSDocProtectedTag=function(e){return Tf(e,oe.isJSDocProtectedTag)},oe.getJSDocProtectedTagNoCache=function(e){return Tf(e,oe.isJSDocProtectedTag,!0)},oe.getJSDocReadonlyTag=function(e){return Tf(e,oe.isJSDocReadonlyTag)},oe.getJSDocReadonlyTagNoCache=function(e){return Tf(e,oe.isJSDocReadonlyTag,!0)},oe.getJSDocOverrideTagNoCache=function(e){return Tf(e,oe.isJSDocOverrideTag,!0)},oe.getJSDocDeprecatedTag=function(e){return Tf(e,oe.isJSDocDeprecatedTag)},oe.getJSDocDeprecatedTagNoCache=function(e){return Tf(e,oe.isJSDocDeprecatedTag,!0)},oe.getJSDocEnumTag=function(e){return Tf(e,oe.isJSDocEnumTag)},oe.getJSDocThisTag=function(e){return Tf(e,oe.isJSDocThisTag)},oe.getJSDocReturnTag=yf,oe.getJSDocTemplateTag=function(e){return Tf(e,oe.isJSDocTemplateTag)},oe.getJSDocTypeTag=hf,oe.getJSDocType=vf,oe.getJSDocReturnType=function(e){var n=yf(e);return n&&n.typeExpression?n.typeExpression.type:(n=hf(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=Ef,oe.getJSDocTagsNoCache=function(e){return bf(e,!0)},oe.getAllJSDocTags=Sf,oe.getAllJSDocTagsOfKind=function(e,n){return Ef(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=vf(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=xf,oe.isOptionalChainRoot=Lf,oe.isExpressionOfOptionalChainRoot=function(e){return Lf(e.parent)&&e.parent.expression===e},oe.isOutermostOptionalChain=function(e){return!xf(e.parent)||Lf(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=Df,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=Af,oe.isUnparsedNode=function(e){return Af(e)||295===e.kind||299===e.kind},oe.isJSDocPropertyLikeTag=function(e){return 342===e.kind||335===e.kind},oe.isNode=function(e){return Cf(e.kind)},oe.isNodeKind=Cf,oe.isTokenKind=If,oe.isToken=function(e){return If(e.kind)},oe.isNodeArray=function(e){return e.hasOwnProperty("pos")&&e.hasOwnProperty("end")},oe.isLiteralKind=Nf,oe.isLiteralExpression=function(e){return Nf(e.kind)},oe.isTemplateLiteralKind=kf,oe.isTemplateLiteralToken=function(e){return kf(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||kf(e.kind)},oe.isGeneratedIdentifier=function(e){return oe.isIdentifier(e)&&0<(7&e.autoGenerateFlags)},oe.isPrivateIdentifierClassElementDeclaration=Rf,oe.isPrivateIdentifierPropertyAccessExpression=function(e){return oe.isPropertyAccessExpression(e)&&oe.isPrivateIdentifier(e.name)},oe.isModifierKind=Of,oe.isParameterPropertyModifier=Pf,oe.isClassMemberModifier=function(e){return Pf(e)||124===e||157===e},oe.isModifier=function(e){return Of(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=wf,oe.isFunctionLikeOrClassStaticBlockDeclaration=function(e){return!!e&&(Ff(e.kind)||oe.isClassStaticBlockDeclaration(e))},oe.isFunctionLikeDeclaration=function(e){return e&&Mf(e.kind)},oe.isBooleanLiteral=function(e){return 110===e.kind||95===e.kind},oe.isFunctionLikeKind=Ff,oe.isFunctionOrModuleBlock=function(e){return oe.isSourceFile(e)||oe.isModuleBlock(e)||oe.isBlock(e)&&wf(e.parent)},oe.isClassElement=Gf,oe.isClassLike=Bf,oe.isAccessor=function(e){return e&&(170===e.kind||171===e.kind)},oe.isMethodOrAccessor=Uf,oe.isTypeElement=Vf,oe.isClassOrTypeElement=function(e){return Vf(e)||Gf(e)},oe.isObjectLiteralElementLike=jf,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=Kf,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 Hf(e)||Wf(e)},oe.isObjectBindingOrAssignmentPattern=Hf,oe.isObjectBindingOrAssignmentElement=function(e){switch(e.kind){case 201:case 291:case 292:case 293:return!0}return!1},oe.isArrayBindingOrAssignmentPattern=Wf,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 zf(Df(e).kind)},oe.isUnaryExpression=function(e){return Jf(Df(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=qf,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=Xf,oe.hasScopeMarker=function(e){return oe.some(e,Xf)},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)||qf(e)},oe.isFunctionBody=function(e){return oe.isBlock(e)},oe.isForInitializer=function(e){return oe.isVariableDeclarationList(e)||qf(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=Zf,oe.isDeclarationStatement=function(e){return Yf(e.kind)},oe.isStatementButNotDeclaration=function(e){return Qf(e.kind)},oe.isStatement=function(e){var n=e.kind;return Qf(n)||Yf(n)||function(e){return 233===e.kind&&((void 0===e.parent||250!==e.parent.kind&&290!==e.parent.kind)&&!oe.isFunctionBlock(e))}(e)},oe.isStatementOrBlock=function(e){return Qf(e=e.kind)||Yf(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||eg(e)||$f(e)||oe.isJSDocTypeLiteral(e)||oe.isJSDocSignature(e)},oe.isJSDocTag=$f,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||jf(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=eg;var ng=SY=SY||{};ng.resolvingEmptyArray=[],ng.externalHelpersModuleNameText="tslib",ng.defaultMaximumTruncationLength=160,ng.noTruncationMaximumTruncationLength=1e6,ng.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}},ng.createUnderscoreEscapedMap=function(){return new ng.Map},ng.hasEntries=function(e){return!!e&&!!e.size},ng.createSymbolTable=function(e){var n=new ng.Map;if(e)for(var t=0,r=e;t<r.length;t++){var a=r[t];n.set(a.escapedName,a)}return n},ng.isTransientSymbol=function(e){return 0!=(33554432&e.flags)},tg="";var tg,rg={getText:function(){return tg},write:ag,rawWrite:ag,writeKeyword:ag,writeOperator:ag,writePunctuation:ag,writeSpace:ag,writeStringLiteral:ag,writeLiteral:ag,writeParameter:ag,writeProperty:ag,writeSymbol:function(e,n){return ag(e)},writeTrailingSemicolon:ag,writeComment:ag,getTextPos:function(){return tg.length},getLine:function(){return 0},getColumn:function(){return 0},getIndent:function(){return 0},isAtStartOfLine:function(){return!1},hasTrailingComment:function(){return!1},hasTrailingWhitespace:function(){return!!tg.length&&ng.isWhiteSpaceLike(tg.charCodeAt(tg.length-1))},writeLine:function(){return tg+=" "},increaseIndent:ng.noop,decreaseIndent:ng.noop,clear:function(){return tg=""},trackSymbol:function(){return!1},reportInaccessibleThisError:ng.noop,reportInaccessibleUniqueSymbolError:ng.noop,reportPrivateInBaseOfClassExpression:ng.noop};function ag(e){return tg+=e}function ig(e,n){return og(e,n,ng.moduleResolutionOptionDeclarations)}function og(e,n,t){return e!==n&&t.some((function(t){return!Jb(_b(e,t),_b(n,t))}))}function sg(e){return e.end-e.pos}function cg(e){var n;return 524288&(n=e).flags||(0==(65536&n.flags)&&!ng.forEachChild(n,cg)||(n.flags|=262144),n.flags|=524288),0!=(262144&e.flags)}function lg(e){for(;e&&300!==e.kind;)e=e.parent;return e}function ug(e,n){ng.Debug.assert(0<=e);var t=ng.getLineStarts(n),r=n.text;if(e+1===t.length)return r.length-1;var a=t[e],i=t[e+1]-1;for(ng.Debug.assert(ng.isLineBreak(r.charCodeAt(i)));a<=i&&ng.isLineBreak(r.charCodeAt(i));)i--;return i}function dg(e){return void 0===e||e.pos===e.end&&0<=e.pos&&1!==e.kind}function pg(e){return!dg(e)}function mg(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,$u([r,0],n,!1))}return e}function _g(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 fg(e){return Jg(e)||!!(1048576&Tg(e))}function gg(e,n){return 42===e.charCodeAt(n+1)&&33===e.charCodeAt(n+2)}function yg(e,n,t){return dg(e)?e.pos:ng.isJSDocNode(e)||11===e.kind?ng.skipTrivia((n||lg(e)).text,e.pos,!1,!0):t&&ng.hasJSDocNodes(e)?yg(e.jsDoc[0],n):343===e.kind&&0<e._children.length?yg(e._children[0],n,t):ng.skipTrivia((n||lg(e)).text,e.pos,!1,!1,yy(e))}function hg(e,n,t){return vg(e.text,n,t=void 0!==t&&t)}function vg(e,n,t){return dg(n)?"":(t=e.substring((t=void 0!==t&&t)?n.pos:ng.skipTrivia(e,n.pos),n.end),ng.findAncestor(n,ng.isJSDocTypeExpression)?t.split(/\r\n|\n|\r/).map((function(e){return ng.trimStringStart(e.replace(/^\s*\*/,""))})).join("\n"):t)}function bg(e,n){return void 0===n&&(n=!1),hg(lg(e),e,n)}function Eg(e){return e.pos}function Tg(e){return e=e.emitNode,e&&e.flags||0}function Sg(e){return e=Eh(e),252===e.kind&&290===e.parent.kind}function xg(e){return ng.isModuleDeclaration(e)&&(10===e.name.kind||Dg(e))}function Lg(e){return ng.isModuleDeclaration(e)||ng.isIdentifier(e)}function Dg(e){return!!(1024&e.flags)}function Ag(e){return xg(e)&&Cg(e)}function Cg(e){switch(e.parent.kind){case 300:return ng.isExternalModule(e.parent);case 260:return xg(e.parent.parent)&&ng.isSourceFile(e.parent.parent.parent)&&!ng.isExternalModule(e.parent.parent.parent)}return!1}function Ig(e){return null==(e=e.declarations)?void 0:e.find((function(e){return!(Ag(e)||ng.isModuleDeclaration(e)&&Dg(e))}))}function Ng(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!ng.isFunctionLikeOrClassStaticBlockDeclaration(n)}return!1}function kg(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 ng.assertType(e),!1}}function Rg(e){switch(e.kind){case 264:case 263:return!0;default:return!1}}function Og(e){return Rg(e)||ng.isExportDeclaration(e)}function Pg(e){return ng.findAncestor(e.parent,(function(e){return Ng(e,e.parent)}))}function wg(e){return e&&0!==sg(e)?bg(e):"(Missing)"}function Mg(e){switch(e.kind){case 79:case 80:return e.escapedText;case 10:case 8:case 14:return ng.escapeLeadingUnderscores(e.text);case 160:return _h(e.expression)?ng.escapeLeadingUnderscores(e.expression.text):ng.Debug.fail("Text of property name cannot be read from non-literal-valued ComputedPropertyNames");default:return ng.Debug.assertNever(e)}}function Fg(e){switch(e.kind){case 108:return"this";case 80:case 79:return 0===sg(e)?ng.idText(e):bg(e);case 159:return Fg(e.left)+"."+Fg(e.right);case 204:return ng.isIdentifier(e.name)||ng.isPrivateIdentifier(e.name)?Fg(e.expression)+"."+Fg(e.name):ng.Debug.assertNever(e.name);case 306:return Fg(e.left)+Fg(e.right);default:return ng.Debug.assertNever(e)}}function Gg(e,n,t,r,a,i,o){return n=jg(e,n),ab(e,n.start,n.length,t,r,a,i,o)}function Bg(e,n,t){ng.Debug.assertGreaterThanOrEqual(n,0),ng.Debug.assertGreaterThanOrEqual(t,0),e&&(ng.Debug.assertLessThanOrEqual(n,e.text.length),ng.Debug.assertLessThanOrEqual(n+t,e.text.length))}function Ug(e,n,t,r,a){return Bg(e,n,t),{file:e,start:n,length:t,code:r.code,category:r.category,messageText:r.next?r:r.messageText,relatedInformation:a}}function Vg(e,n){return e=ng.createScanner(e.languageVersion,!0,e.languageVariant,e.text,void 0,n),e.scan(),n=e.getTokenPos(),ng.createTextSpanFromBounds(n,e.getTextPos())}function jg(e,n){var t=n;switch(n.kind){case 300:var r=ng.skipTrivia(e.text,0,!1);return r===e.text.length?ng.createTextSpan(0,0):Vg(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=ng.skipTrivia(r.text,a.pos);if(a.body&&233===a.body.kind){var o=ng.getLineAndCharacterOfPosition(r,a.body.pos).line;if(o<ng.getLineAndCharacterOfPosition(r,a.body.end).line)return ng.createTextSpan(i,ug(o,r)-i+1)}return ng.createTextSpanFromBounds(i,a.end);case 287:case 288:return o=ng.skipTrivia(e.text,n.pos),i=0<n.statements.length?n.statements[0].pos:n.end,ng.createTextSpanFromBounds(o,i)}if(void 0===t)return Vg(e,n.pos);ng.Debug.assert(!ng.isJSDoc(t));var s=dg(t),c=s||ng.isJsxText(n)?t.pos:ng.skipTrivia(e.text,t.pos);return s?(ng.Debug.assert(c===t.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),ng.Debug.assert(c===t.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")):(ng.Debug.assert(c>=t.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),ng.Debug.assert(c<=t.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")),ng.createTextSpanFromBounds(c,t.end)}function Kg(e){return 6===e.scriptKind}function Hg(e){return!!(2&ng.getCombinedNodeFlags(e))}function Wg(e){return 206===e.kind&&100===e.expression.kind}function zg(e){return ng.isImportTypeNode(e)&&ng.isLiteralTypeNode(e.argument)&&ng.isStringLiteral(e.argument.literal)}function Jg(e){return 236===e.kind&&10===e.expression.kind}function qg(e){return!!(1048576&Tg(e))}function Xg(e){return ng.isIdentifier(e.name)&&!e.initializer}ng.changesAffectModuleResolution=function(e,n){return e.configFilePath!==n.configFilePath||ig(e,n)},ng.optionsHaveModuleResolutionChanges=ig,ng.changesAffectingProgramStructure=function(e,n){return og(e,n,ng.optionsAffectingProgramStructure)},ng.optionsHaveChanges=og,ng.forEachAncestor=function(e,n){for(;;){var t=n(e);if("quit"===t)return;if(void 0!==t)return t;if(ng.isSourceFile(e))return;e=e.parent}},ng.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}},ng.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}},ng.copyEntries=function(e,n){e.forEach((function(e,t){n.set(t,e)}))},ng.usingSingleLineStringWriter=function(e){var n=rg.getText();try{return e(rg),rg.getText()}finally{rg.clear(),rg.writeKeyword(n)}},ng.getFullWidth=sg,ng.getResolvedModule=function(e,n){return e&&e.resolvedModules&&e.resolvedModules.get(n)},ng.setResolvedModule=function(e,n,t){e.resolvedModules||(e.resolvedModules=new ng.Map),e.resolvedModules.set(n,t)},ng.setResolvedTypeReferenceDirective=function(e,n,t){e.resolvedTypeReferenceDirectiveNames||(e.resolvedTypeReferenceDirectiveNames=new ng.Map),e.resolvedTypeReferenceDirectiveNames.set(n,t)},ng.projectReferenceIsEqualTo=function(e,n){return e.path===n.path&&!e.prepend==!n.prepend&&!e.circular==!n.circular},ng.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)},ng.packageIdToString=function(e){var n=e.name,t=e.subModuleName;return(t?n+"/"+t:n)+"@"+e.version},ng.typeDirectiveIsEqualTo=function(e,n){return e.resolvedFileName===n.resolvedFileName&&e.primary===n.primary&&e.originalPath===n.originalPath},ng.hasChangesInResolutions=function(e,n,t,r){ng.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},ng.containsParseError=cg,ng.getSourceFileOfNode=lg,ng.getSourceFileOfModule=function(e){return lg(e.valueDeclaration||Ig(e))},ng.isStatementWithLocals=function(e){switch(e.kind){case 233:case 261:case 240:case 241:case 242:return!0}return!1},ng.getStartPositionOfLine=function(e,n){return ng.Debug.assert(0<=e),ng.getLineStarts(n)[e]},ng.nodePosToString=function(e){var n=lg(e);e=ng.getLineAndCharacterOfPosition(n,e.pos);return n.fileName+"("+(e.line+1)+","+(e.character+1)+")"},ng.getEndLinePosition=ug,ng.isFileLevelUniqueName=function(e,n,t){return!(t&&t(n)||e.identifiers.has(n))},ng.nodeIsMissing=dg,ng.nodeIsPresent=pg,ng.insertStatementsAfterStandardPrologue=function(e,n){return mg(e,n,Jg)},ng.insertStatementsAfterCustomPrologue=function(e,n){return mg(e,n,fg)},ng.insertStatementAfterStandardPrologue=function(e,n){return _g(e,n,Jg)},ng.insertStatementAfterCustomPrologue=function(e,n){return _g(e,n,fg)},ng.isRecognizedTripleSlashComment=function(e,n,t){return 47===e.charCodeAt(n+1)&&n+2<t&&47===e.charCodeAt(n+2)&&(e=e.substring(n,t),!!(ng.fullTripleSlashReferencePathRegEx.test(e)||ng.fullTripleSlashAMDReferencePathRegEx.test(e)||Yg.test(e)||Qg.test(e)))},ng.isPinnedComment=gg,ng.createCommentDirectivesMap=function(e,n){var t=new ng.Map(n.map((function(n){return[""+ng.getLineAndCharacterOfPosition(e,n.range.end).line,n]}))),r=new ng.Map;return{getUnusedExpectations:function(){return ng.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)}}},ng.getTokenPosOfNode=yg,ng.getNonDecoratorTokenPosOfNode=function(e,n){return dg(e)||!e.decorators?yg(e,n):ng.skipTrivia((n||lg(e)).text,e.decorators.end)},ng.getSourceTextOfNodeFromSourceFile=hg,ng.isExportNamespaceAsDefaultDeclaration=function(e){return!!(ng.isExportDeclaration(e)&&e.exportClause&&ng.isNamespaceExport(e.exportClause)&&"default"===e.exportClause.name.escapedText)},ng.getTextOfNodeFromSourceText=vg,ng.getTextOfNode=bg,ng.indexOfNode=function(e,n){return ng.binarySearch(e,n,Eg,ng.compareValues)},ng.getEmitFlags=Tg,ng.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:ng.emptyArray,PromiseConstructor:["all","race","reject","resolve"],Symbol:["for","keyFor"],WeakMap:["entries","keys","values"],WeakSet:["entries","keys","values"],Iterator:ng.emptyArray,AsyncIterator:ng.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:ng.emptyArray,SharedArrayBuffer:ng.emptyArray,String:["padStart","padEnd"],ObjectConstructor:["values","entries","getOwnPropertyDescriptors"],DateTimeFormat:["formatToParts"]},es2018:{Promise:["finally"],RegExpMatchArray:["groups"],RegExpExecArray:["groups"],RegExp:["dotAll"],Intl:["PluralRules"],AsyncIterable:ng.emptyArray,AsyncIterableIterator:ng.emptyArray,AsyncGenerator:ng.emptyArray,AsyncGeneratorFunction:ng.emptyArray},es2019:{Array:["flat","flatMap"],ObjectConstructor:["fromEntries"],String:["trimStart","trimEnd","trimLeft","trimRight"],Symbol:["description"]},es2020:{BigInt:ng.emptyArray,BigInt64Array:ng.emptyArray,BigUint64Array:ng.emptyArray,PromiseConstructor:["allSettled"],SymbolConstructor:["matchAll"],String:["matchAll"],DataView:["setBigInt64","setBigUint64","getBigInt64","getBigUint64"],RelativeTimeFormat:["format","formatToParts","resolvedOptions"]},es2021:{PromiseConstructor:["any"],String:["replaceAll"]},esnext:{NumberFormat:["formatToParts"]}}},(om=ng.GetLiteralTextFlags||(ng.GetLiteralTextFlags={}))[om.None=0]="None",om[om.NeverAsciiEscape=1]="NeverAsciiEscape",om[om.JsxAttributeEscape=2]="JsxAttributeEscape",om[om.TerminateUnterminatedLiterals=4]="TerminateUnterminatedLiterals",om[om.AllowNumericSeparator=8]="AllowNumericSeparator",ng.getLiteralText=function(e,n,t){var r;if(function(e,n){if(!(Th(e)||!e.parent||4&n&&e.isUnterminated))return ng.isNumericLiteral(e)&&512&e.numericLiteralFlags?8&n:!ng.isBigIntLiteral(e)}(e,t))return hg(n,e);switch(e.kind){case 10:var a=2&t?Vh:1&t||16777216&Tg(e)?Ph:Mh;return e.singleQuote?"'"+a(e.text,39)+"'":'"'+a(e.text,34)+'"';case 14:case 15:case 16:case 17:a=1&t||16777216&Tg(e)?Ph:Mh;var i=null!=(r=e.rawText)?r:a(e.text,96).replace(Ah,"\\${");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 ng.Debug.fail("Literal kind '"+e.kind+"' not accounted for.")},ng.getTextOfConstantValue=function(e){return ng.isString(e)?'"'+Mh(e)+'"':""+e},ng.makeIdentifierFromModuleName=function(e){return ng.getBaseFileName(e).replace(/^(\d)/,"_$1").replace(/\W/g,"_")},ng.isBlockOrCatchScoped=function(e){return 0!=(3&ng.getCombinedNodeFlags(e))||Sg(e)},ng.isCatchClauseVariableDeclarationOrBindingElement=Sg,ng.isAmbientModule=xg,ng.isModuleWithStringLiteralName=function(e){return ng.isModuleDeclaration(e)&&10===e.name.kind},ng.isNonGlobalAmbientModule=function(e){return ng.isModuleDeclaration(e)&&ng.isStringLiteral(e.name)},ng.isEffectiveModuleDeclaration=Lg,ng.isShorthandAmbientModuleSymbol=function(e){return!!(e=e.valueDeclaration)&&259===e.kind&&!e.body},ng.isBlockScopedContainerTopLevel=function(e){return 300===e.kind||259===e.kind||ng.isFunctionLikeOrClassStaticBlockDeclaration(e)},ng.isGlobalScopeAugmentation=Dg,ng.isExternalModuleAugmentation=Ag,ng.isModuleAugmentationExternal=Cg,ng.getNonAugmentationDeclaration=Ig,ng.isEffectiveExternalModule=function(e,n){return ng.isExternalModule(e)||n.isolatedModules||ub(n)===ng.ModuleKind.CommonJS&&!!e.commonJsModuleIndicator},ng.isEffectiveStrictModeSourceFile=function(e,n){switch(e.scriptKind){case 1:case 3:case 2:case 4:break;default:return!1}return!(e.isDeclarationFile||!pb(n,"alwaysStrict")&&!ng.startsWithUseStrict(e.statements)&&(!ng.isExternalModule(e)&&!n.isolatedModules||!(ub(n)>=ng.ModuleKind.ES2015)&&n.noImplicitUseStrict))},ng.isBlockScope=Ng,ng.isDeclarationWithTypeParameters=function(e){switch(e.kind){case 333:case 340:case 318:return!0;default:return ng.assertType(e),kg(e)}},ng.isDeclarationWithTypeParameterChildren=kg,ng.isAnyImportSyntax=Rg,ng.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}},ng.hasPossibleExternalModuleReference=function(e){return Og(e)||ng.isModuleDeclaration(e)||ng.isImportTypeNode(e)||Wg(e)},ng.isAnyImportOrReExport=Og,ng.getEnclosingBlockScopeContainer=Pg,ng.forEachEnclosingBlockScopeContainer=function(e,n){for(var t=Pg(e);t;)n(t),t=Pg(t)},ng.declarationNameToString=wg,ng.getNameFromIndexInfo=function(e){return e.declaration?wg(e.declaration.parameters[0].name):void 0},ng.isComputedNonLiteralName=function(e){return 160===e.kind&&!_h(e.expression)},ng.getTextOfPropertyName=Mg,ng.entityNameToString=Fg,ng.createDiagnosticForNode=function(e,n,t,r,a,i){return Gg(lg(e),e,n,t,r,a,i)},ng.createDiagnosticForNodeArray=function(e,n,t,r,a,i,o){var s=ng.skipTrivia(e.text,n.pos);return ab(e,s,n.end-s,t,r,a,i,o)},ng.createDiagnosticForNodeInSourceFile=Gg,ng.createDiagnosticForNodeFromMessageChain=function(e,n,t){var r=lg(e);e=jg(r,e);return Ug(r,e.start,e.length,n,t)},ng.createFileDiagnosticFromMessageChain=Ug,ng.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}},ng.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}},ng.getSpanOfTokenAtPosition=Vg,ng.getErrorSpanForNode=jg,ng.isExternalOrCommonJsModule=function(e){return void 0!==(e.externalModuleIndicator||e.commonJsModuleIndicator)},ng.isJsonSourceFile=Kg,ng.isEnumConst=function(e){return!!(2048&ng.getCombinedModifierFlags(e))},ng.isDeclarationReadonly=function(e){return!(!(64&ng.getCombinedModifierFlags(e))||ng.isParameterPropertyDeclaration(e,e.parent))},ng.isVarConst=Hg,ng.isLet=function(e){return!!(1&ng.getCombinedNodeFlags(e))},ng.isSuperCall=function(e){return 206===e.kind&&106===e.expression.kind},ng.isImportCall=Wg,ng.isImportMeta=function(e){return ng.isMetaProperty(e)&&100===e.keywordToken&&"meta"===e.name.escapedText},ng.isLiteralImportTypeNode=zg,ng.isPrologueDirective=Jg,ng.isCustomPrologue=qg,ng.isHoistedFunction=function(e){return qg(e)&&ng.isFunctionDeclaration(e)},ng.isHoistedVariableStatement=function(e){return qg(e)&&ng.isVariableStatement(e)&&ng.every(e.declarationList.declarations,Xg)},ng.getLeadingCommentRangesOfNode=function(e,n){return 11!==e.kind?ng.getLeadingCommentRanges(n.text,e.pos):void 0},ng.getJSDocCommentRanges=function(e,n){return e=162===e.kind||161===e.kind||211===e.kind||212===e.kind||210===e.kind||252===e.kind?ng.concatenate(ng.getTrailingCommentRanges(n,e.pos),ng.getLeadingCommentRanges(n,e.pos)):ng.getLeadingCommentRanges(n,e.pos),ng.filter(e,(function(e){return 42===n.charCodeAt(e.pos+1)&&42===n.charCodeAt(e.pos+2)&&47!==n.charCodeAt(e.pos+3)}))},ng.fullTripleSlashReferencePathRegEx=/^(\/\/\/\s*<reference\s+path\s*=\s*)(('[^']*')|("[^"]*")).*?\/>/;var Yg=/^(\/\/\/\s*<reference\s+types\s*=\s*)(('[^']*')|("[^"]*")).*?\/>/,Qg=(ng.fullTripleSlashAMDReferencePathRegEx=/^(\/\/\/\s*<amd-dependency\s+path\s*=\s*)(('[^']*')|("[^"]*")).*?\/>/,/^(\/\/\/\s*<reference\s+no-default-lib\s*=\s*)(('[^']*')|("[^"]*"))\s*\/>/);function Zg(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!Nv(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),ng.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!Nv(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 ng.contains(n.typeArguments,e);case 208:return!1}}return!1}function $g(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 ey(e){return 253===e.parent.kind&&235===e.parent.parent.kind}function ny(e,n,t){return e.properties.filter((function(e){return 291===e.kind&&(e=Mg(e.name),n===e||!!t&&t===e)}))}function ty(e){if(e&&e.statements.length)return e=e.statements[0].expression,ng.tryCast(e,ng.isObjectLiteralExpression)}function ry(e,n){return e=ty(e),e?ny(e,n):ng.emptyArray}function ay(e,n){for(ng.Debug.assert(300!==e.kind);;){if(!(e=e.parent))return ng.Debug.fail();switch(e.kind){case 160:if(ng.isClassLike(e.parent.parent))return e;e=e.parent;break;case 163:162===e.parent.kind&&ng.isClassElement(e.parent.parent)?e=e.parent.parent:ng.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 iy(e){var n=e.kind;return(204===n||205===n)&&106===e.expression.kind}function oy(e,n,t){if(!ng.isNamedDeclaration(e)||!ng.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 sy(e,n,t){return void 0!==e.decorators&&oy(e,n,t)}function cy(e,n,t){return sy(e,n,t)||ly(e,n)}function ly(e,n){switch(e.kind){case 255:return ng.some(e.members,(function(t){return cy(t,e,n)}));case 167:case 171:case 169:return ng.some(e.parameters,(function(t){return sy(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 dy(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||ng.isJSDocLinkLike(e.parent)||ng.isJSDocNameReference(e.parent)||ng.isJSDocMemberName(e.parent)||uy(e);case 306:for(;ng.isJSDocMemberName(e.parent);)e=e.parent;return 179===e.parent.kind||ng.isJSDocLinkLike(e.parent)||ng.isJSDocNameReference(e.parent)||ng.isJSDocMemberName(e.parent)||uy(e);case 79:if(179===e.parent.kind||ng.isJSDocLinkLike(e.parent)||ng.isJSDocNameReference(e.parent)||ng.isJSDocMemberName(e.parent)||uy(e))return!0;case 8:case 9:case 10:case 14:case 108:return py(e);default:return!1}}function py(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&&Nv(n);case 292:return n.objectAssignmentInitializer===e;default:return dy(n)}}function my(e){for(;159===e.kind||79===e.kind;)e=e.parent;return 179===e.kind}function _y(e){return 263===e.kind&&275===e.moduleReference.kind}function fy(e){return gy(e)}function gy(e){return!!e&&!!(131072&e.flags)}function yy(e){return!!e&&!!(4194304&e.flags)}function hy(e,n){var t;return 206===e.kind&&(t=e.expression,e=e.arguments,79===t.kind)&&"require"===t.escapedText&&1===e.length&&(t=e[0],!n||ng.isStringLiteralLike(t))}function vy(e){return 201===e.kind&&(e=e.parent.parent),ng.isVariableDeclaration(e)&&!!e.initializer&&hy(qv(e.initializer),!0)}function by(e){return ng.isBinaryExpression(e)||Jv(e)||ng.isIdentifier(e)||ng.isCallExpression(e)}function Ey(e){return gy(e)&&e.initializer&&ng.isBinaryExpression(e.initializer)&&(56===e.initializer.operatorToken.kind||60===e.initializer.operatorToken.kind)&&e.name&&kv(e.name)&&Sy(e.name,e.initializer.left)?e.initializer.right:e.initializer}function Ty(e,n){var t;return ng.isCallExpression(e)?211===(t=th(e.expression)).kind||212===t.kind?e:void 0:211===e.kind||224===e.kind||212===e.kind||ng.isObjectLiteralExpression(e)&&(0===e.properties.length||n)?e:void 0}function Sy(e,n){var t;return vh(e)&&vh(n)?bh(e)===bh(n):ng.isIdentifier(e)&&Ny(n)&&(108===n.expression.kind||ng.isIdentifier(n.expression)&&("window"===n.expression.escapedText||"self"===n.expression.escapedText||"global"===n.expression.escapedText))?(t=wy(n),ng.isPrivateIdentifier(t)&&ng.Debug.fail("Unexpected PrivateIdentifier in name expression with literal-like access."),Sy(e,t)):!(!Ny(e)||!Ny(n))&&Fy(e)===Fy(n)&&Sy(e.expression,n.expression)}function xy(e){for(;Iv(e,!0);)e=e.right;return e}function Ly(e){return ng.isIdentifier(e)&&"exports"===e.escapedText}function Dy(e){return ng.isIdentifier(e)&&"module"===e.escapedText}function Ay(e){return(ng.isPropertyAccessExpression(e)||ky(e))&&Dy(e.expression)&&"exports"===Fy(e)}function Cy(e){var n=function(e){var n;return ng.isCallExpression(e)?Iy(e)?Ly(n=e.arguments[0])||Ay(n)?8:Ry(n)&&"prototype"===Fy(n)?9:7:0:63!==e.operatorToken.kind||!Jv(e.left)||function(e){return ng.isVoidExpression(e)&&ng.isNumericLiteral(e.expression)&&"0"===e.expression.text}(xy(e))?0:Py(e.left.expression,!0)&&"prototype"===Fy(e.left)&&ng.isObjectLiteralExpression(By(e))?6:Gy(e.left)}(e);return 5===n||gy(e)?n:0}function Iy(e){return 3===ng.length(e.arguments)&&ng.isPropertyAccessExpression(e.expression)&&ng.isIdentifier(e.expression.expression)&&"Object"===ng.idText(e.expression.expression)&&"defineProperty"===ng.idText(e.expression.name)&&_h(e.arguments[1])&&Py(e.arguments[0],!0)}function Ny(e){return ng.isPropertyAccessExpression(e)||ky(e)}function ky(e){return ng.isElementAccessExpression(e)&&_h(e.argumentExpression)}function Ry(e,n){return ng.isPropertyAccessExpression(e)&&(!n&&108===e.expression.kind||ng.isIdentifier(e.name)&&Py(e.expression,!0))||Oy(e,n)}function Oy(e,n){return ky(e)&&(!n&&108===e.expression.kind||kv(e.expression)||Ry(e.expression,!0))}function Py(e,n){return kv(e)||Ry(e,n)}function wy(e){return ng.isPropertyAccessExpression(e)?e.name:e.argumentExpression}function My(e){var n;return ng.isPropertyAccessExpression(e)?e.name:(n=th(e.argumentExpression),ng.isNumericLiteral(n)||ng.isStringLiteralLike(n)?n:e)}function Fy(e){if(e=My(e),e){if(ng.isIdentifier(e))return e.escapedText;if(ng.isStringLiteralLike(e)||ng.isNumericLiteral(e))return ng.escapeLeadingUnderscores(e.text)}}function Gy(e){if(108===e.expression.kind)return 4;if(Ay(e))return 2;if(Py(e.expression,!0)){if(Ov(e.expression))return 3;for(var n=e;!ng.isIdentifier(n.expression);)n=n.expression;var t=n.expression;if(("exports"===t.escapedText||"module"===t.escapedText&&"exports"===Fy(n))&&Ry(e))return 1;if(Py(e,!0)||ng.isElementAccessExpression(e)&&yh(e))return 5}return 0}function By(e){for(;ng.isBinaryExpression(e.right);)e=e.right;return e.right}function Uy(e){switch(e.parent.kind){case 264:case 270:return e.parent;case 275:return e.parent.parent;case 206:return Wg(e.parent)||hy(e.parent,!1)?e.parent:void 0;case 194:return ng.Debug.assert(ng.isStringLiteral(e)),ng.tryCast(e.parent.parent,ng.isImportTypeNode);default:return}}function Vy(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 zg(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 ng.Debug.assertNever(e)}}function jy(e){return 340===e.kind||333===e.kind||334===e.kind}function Ky(e){return ng.isExpressionStatement(e)&&ng.isBinaryExpression(e.expression)&&0!==Cy(e.expression)&&ng.isBinaryExpression(e.expression.right)&&(56===e.expression.right.operatorToken.kind||60===e.expression.right.operatorToken.kind)?e.expression.right.right:void 0}function Hy(e){switch(e.kind){case 235:var n=Wy(e);return n&&n.initializer;case 165:case 291:return e.initializer}}function Wy(e){return ng.isVariableStatement(e)?ng.firstOrUndefined(e.declarationList.declarations):void 0}function zy(e){return ng.isModuleDeclaration(e)&&e.body&&259===e.body.kind?e.body:void 0}function Jy(e){var n=e.parent;return 291===n.kind||269===n.kind||165===n.kind||236===n.kind&&204===e.kind||245===n.kind||zy(n)||ng.isBinaryExpression(e)&&63===e.operatorToken.kind?n:n.parent&&(Wy(n.parent)===e||ng.isBinaryExpression(n)&&63===n.operatorToken.kind)?n.parent:n.parent&&n.parent.parent&&(Wy(n.parent.parent)||Hy(n.parent.parent)===e||Ky(n.parent.parent))?n.parent.parent:void 0}function qy(e){return e=Xy(e),e&&ng.isFunctionLike(e)?e:void 0}function Xy(e){var n;e=Yy(e);if(e)return Ky(e)||(n=e,ng.isExpressionStatement(n)&&ng.isBinaryExpression(n.expression)&&63===n.expression.operatorToken.kind?xy(n.expression):void 0)||Hy(e)||Wy(e)||zy(e)||e}function Yy(e){var n;e=Qy(e);return e&&(n=e.parent)&&n.jsDoc&&e===ng.lastOrUndefined(n.jsDoc)?n:void 0}function Qy(e){return ng.findAncestor(e.parent,ng.isJSDoc)}function Zy(e){var n=ng.isJSDocParameterTag(e)?e.typeExpression&&e.typeExpression.type:e.type;return void 0!==e.dotDotDotToken||!!n&&313===n.kind}function $y(e){for(var n=e.parent;;){switch(n.kind){case 219:var t=n.operatorToken.kind;return Dv(t)&&n.left===e?63===t||Lv(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 eh(e,n){for(;e&&e.kind===n;)e=e.parent;return e}function nh(e){return eh(e,210)}function th(e){return ng.skipOuterExpressions(e,1)}function rh(e){return kv(e)||ng.isClassExpression(e)}function ah(e){return rh(ih(e))}function ih(e){return ng.isExportAssignment(e)?e.expression:e.right}function oh(e){var n=sh(e);return n&&gy(e)&&(e=ng.getJSDocAugmentsTag(e),e)?e.class:n}function sh(e){return e=uh(e.heritageClauses,94),e&&0<e.types.length?e.types[0]:void 0}function ch(e){return gy(e)?ng.getJSDocImplementsTags(e).map((function(e){return e.class})):null==(e=uh(e.heritageClauses,117))?void 0:e.types}function lh(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 dh(e){return 81<=e&&e<=158}function ph(e){return 126<=e&&e<=158}function mh(e){return dh(e)&&!ph(e)}function _h(e){return ng.isStringLiteralLike(e)||ng.isNumericLiteral(e)}function fh(e){return ng.isPrefixUnaryExpression(e)&&(39===e.operator||40===e.operator)&&ng.isNumericLiteral(e.operand)}function gh(e){return e=ng.getNameOfDeclaration(e),!!e&&yh(e)}function yh(e){return!(160!==e.kind&&205!==e.kind||_h(e=ng.isElementAccessExpression(e)?th(e.argumentExpression):e.expression)||fh(e))}function hh(e){switch(e.kind){case 79:case 80:return e.escapedText;case 10:case 8:return ng.escapeLeadingUnderscores(e.text);case 160:var n=e.expression;return _h(n)?ng.escapeLeadingUnderscores(n.text):fh(n)?40===n.operator?ng.tokenToString(n.operator)+n.operand.text:n.operand.text:void 0;default:return ng.Debug.assertNever(e)}}function vh(e){switch(e.kind){case 79:case 10:case 14:case 8:return!0;default:return!1}}function bh(e){return ng.isMemberName(e)?ng.idText(e):e.text}function Eh(e){for(;201===e.kind;)e=e.parent.parent;return e}function Th(e){return Hb(e.pos)||Hb(e.end)}function Sh(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 xh(e){return 219===e.kind?e.operatorToken.kind:217===e.kind||218===e.kind?e.operator:e.kind}function Lh(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 Dh(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 Dh(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}ng.isPartOfTypeNode=Zg,ng.isChildOfNodeWithKind=function(e,n){for(;e;){if(e.kind===n)return!0;e=e.parent}return!1},ng.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 ng.forEachChild(t,e)}}(e)},ng.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:ng.isFunctionLike(t)?t.name&&160===t.name.kind&&e(t.name.expression):Zg(t)||ng.forEachChild(t,e)}}(e)},ng.getRestParameterElementType=function(e){return e&&181===e.kind?e.elementType:e&&176===e.kind?ng.singleOrUndefined(e.typeArguments):void 0},ng.getMembersOfDeclaration=function(e){switch(e.kind){case 256:case 255:case 224:case 180:return e.members;case 203:return e.properties}},ng.isVariableLike=$g,ng.isVariableLikeOrAccessor=function(e){return $g(e)||ng.isAccessor(e)},ng.isVariableDeclarationInVariableStatement=ey,ng.isValidESSymbolDeclaration=function(e){return ng.isVariableDeclaration(e)?Hg(e)&&ng.isIdentifier(e.name)&&ey(e):ng.isPropertyDeclaration(e)?fv(e)&&_v(e):ng.isPropertySignature(e)&&fv(e)},ng.introducesArgumentsExoticObject=function(e){switch(e.kind){case 167:case 166:case 169:case 170:case 171:case 254:case 211:return!0}return!1},ng.unwrapInnermostStatementOfLabel=function(e,n){for(;;){if(n&&n(e),248!==e.statement.kind)return e.statement;e=e.statement}},ng.isFunctionBlock=function(e){return e&&233===e.kind&&ng.isFunctionLike(e.parent)},ng.isObjectLiteralMethod=function(e){return e&&167===e.kind&&203===e.parent.kind},ng.isObjectLiteralOrClassExpressionMethod=function(e){return 167===e.kind&&(203===e.parent.kind||224===e.parent.kind)},ng.isIdentifierTypePredicate=function(e){return e&&1===e.kind},ng.isThisTypePredicate=function(e){return e&&0===e.kind},ng.getPropertyAssignment=ny,ng.getPropertyArrayElementValue=function(e,n,t){return ng.firstDefined(ny(e,n),(function(e){return ng.isArrayLiteralExpression(e.initializer)?ng.find(e.initializer.elements,(function(e){return ng.isStringLiteral(e)&&e.text===t})):void 0}))},ng.getTsConfigObjectLiteralExpression=ty,ng.getTsConfigPropArrayElementValue=function(e,n,t){return ng.firstDefined(ry(e,n),(function(e){return ng.isArrayLiteralExpression(e.initializer)?ng.find(e.initializer.elements,(function(e){return ng.isStringLiteral(e)&&e.text===t})):void 0}))},ng.getTsConfigPropArray=ry,ng.getContainingFunction=function(e){return ng.findAncestor(e.parent,ng.isFunctionLike)},ng.getContainingFunctionDeclaration=function(e){return ng.findAncestor(e.parent,ng.isFunctionLikeDeclaration)},ng.getContainingClass=function(e){return ng.findAncestor(e.parent,ng.isClassLike)},ng.getContainingClassStaticBlock=function(e){return ng.findAncestor(e.parent,(function(e){return ng.isClassLike(e)||ng.isFunctionLike(e)?"quit":ng.isClassStaticBlockDeclaration(e)}))},ng.getContainingFunctionOrClassStaticBlock=function(e){return ng.findAncestor(e.parent,ng.isFunctionLikeOrClassStaticBlockDeclaration)},ng.getThisContainer=ay,ng.isInTopLevelContext=function(e){return e=ay(e=ng.isIdentifier(e)&&(ng.isClassDeclaration(e.parent)||ng.isFunctionDeclaration(e.parent))&&e.parent.name===e?e.parent:e,!0),ng.isSourceFile(e)},ng.getNewTargetContainer=function(e){var n=ay(e,!1);if(n)switch(n.kind){case 169:case 254:case 211:return n}},ng.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&&ng.isClassElement(e.parent.parent)?e=e.parent.parent:ng.isClassElement(e.parent)&&(e=e.parent)}}},ng.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}},ng.isSuperOrSuperProperty=function(e){return 106===e.kind||iy(e)},ng.isSuperProperty=iy,ng.isThisProperty=function(e){var n=e.kind;return(204===n||205===n)&&108===e.expression.kind},ng.isThisInitializedDeclaration=function(e){return!!e&&ng.isVariableDeclaration(e)&&108===(null==(e=e.initializer)?void 0:e.kind)},ng.isThisInitializedObjectBindingExpression=function(e){return!!e&&(ng.isShorthandPropertyAssignment(e)||ng.isPropertyAssignment(e))&&ng.isBinaryExpression(e.parent.parent)&&63===e.parent.parent.operatorToken.kind&&108===e.parent.parent.right.kind},ng.getEntityNameFromTypeNode=function(e){switch(e.kind){case 176:return e.typeName;case 226:return kv(e.expression)?e.expression:void 0;case 79:case 159:return e}},ng.getInvokedExpression=function(e){switch(e.kind){case 208:return e.tag;case 278:case 277:return e.tagName;default:return e.expression}},ng.nodeCanBeDecorated=oy,ng.nodeIsDecorated=sy,ng.nodeOrChildIsDecorated=cy,ng.childIsDecorated=ly,ng.classOrConstructorParameterIsDecorated=function(e){var n;return!!sy(e)||!!(n=nv(e))&&ly(n,e)},ng.isJSXTagName=uy,ng.isExpressionNode=dy,ng.isInExpressionContext=py,ng.isPartOfTypeQuery=my,ng.isNamespaceReexportDeclaration=function(e){return ng.isNamespaceExport(e)&&!!e.parent.moduleSpecifier},ng.isExternalModuleImportEqualsDeclaration=_y,ng.getExternalModuleImportEqualsDeclarationExpression=function(e){return ng.Debug.assert(_y(e)),e.moduleReference.expression},ng.getExternalModuleRequireArgument=function(e){return vy(e)&&qv(e.initializer).arguments[0]},ng.isInternalModuleImportEqualsDeclaration=function(e){return 263===e.kind&&275!==e.moduleReference.kind},ng.isSourceFileJS=fy,ng.isSourceFileNotJS=function(e){return!gy(e)},ng.isInJSFile=gy,ng.isInJsonFile=function(e){return!!e&&!!(33554432&e.flags)},ng.isSourceFileNotJson=function(e){return!Kg(e)},ng.isInJSDoc=yy,ng.isJSDocIndexSignature=function(e){return ng.isTypeReferenceNode(e)&&ng.isIdentifier(e.typeName)&&"Object"===e.typeName.escapedText&&e.typeArguments&&2===e.typeArguments.length&&(148===e.typeArguments[0].kind||145===e.typeArguments[0].kind)},ng.isRequireCall=hy,ng.isRequireVariableDeclaration=vy,ng.isRequireVariableStatement=function(e){return ng.isVariableStatement(e)&&0<e.declarationList.declarations.length&&ng.every(e.declarationList.declarations,vy)},ng.isSingleOrDoubleQuote=function(e){return 39===e||34===e},ng.isStringDoubleQuoted=function(e,n){return 34===hg(n,e).charCodeAt(0)},ng.isAssignmentDeclaration=by,ng.getEffectiveInitializer=Ey,ng.getDeclaredExpandoInitializer=function(e){var n=Ey(e);return n&&Ty(n,Ov(e.name))},ng.getAssignedExpandoInitializer=function(e){var n,t;return e&&e.parent&&ng.isBinaryExpression(e.parent)&&63===e.parent.operatorToken.kind?(n=Ov(e.parent.left),Ty(e.parent.right,n)||function(e,n,t){if(t=ng.isBinaryExpression(n)&&(56===n.operatorToken.kind||60===n.operatorToken.kind)&&Ty(n.right,t),t&&Sy(e,n.left))return t}(e.parent.left,e.parent.right,n)):e&&ng.isCallExpression(e)&&Iy(e)&&(n=e.arguments[2],t="prototype"===e.arguments[1].text,e=ng.forEach(n.properties,(function(e){return ng.isPropertyAssignment(e)&&ng.isIdentifier(e.name)&&"value"===e.name.escapedText&&e.initializer&&Ty(e.initializer,t)})),e)?e:void 0},ng.getExpandoInitializer=Ty,ng.isDefaultedExpandoInitializer=function(e){var n=ng.isVariableDeclaration(e.parent)?e.parent.name:ng.isBinaryExpression(e.parent)&&63===e.parent.operatorToken.kind?e.parent.left:void 0;return n&&Ty(e.right,Ov(n))&&kv(n)&&Sy(n,e.left)},ng.getNameOfExpando=function(e){if(ng.isBinaryExpression(e.parent)){var n=(56!==e.parent.operatorToken.kind&&60!==e.parent.operatorToken.kind||!ng.isBinaryExpression(e.parent.parent)?e:e.parent).parent;if(63===n.operatorToken.kind&&ng.isIdentifier(n.left))return n.left}else if(ng.isVariableDeclaration(e.parent))return e.parent.name},ng.isSameEntityName=Sy,ng.getRightMostAssignedExpression=xy,ng.isExportsIdentifier=Ly,ng.isModuleIdentifier=Dy,ng.isModuleExportsAccessExpression=Ay,ng.getAssignmentDeclarationKind=Cy,ng.isBindableObjectDefinePropertyCall=Iy,ng.isLiteralLikeAccess=Ny,ng.isLiteralLikeElementAccess=ky,ng.isBindableStaticAccessExpression=Ry,ng.isBindableStaticElementAccessExpression=Oy,ng.isBindableStaticNameExpression=Py,ng.getNameOrArgument=wy,ng.getElementOrPropertyAccessArgumentExpressionOrName=My,ng.getElementOrPropertyAccessName=Fy,ng.getAssignmentDeclarationPropertyAccessKind=Gy,ng.getInitializerOfBinaryExpression=By,ng.isPrototypePropertyAssignment=function(e){return ng.isBinaryExpression(e)&&3===Cy(e)},ng.isSpecialPropertyDeclaration=function(e){return gy(e)&&e.parent&&236===e.parent.kind&&(!ng.isElementAccessExpression(e)||ky(e))&&!!ng.getJSDocTypeTag(e.parent)},ng.setValueDeclaration=function(e,n){var t=e.valueDeclaration;(!t||(!(8388608&n.flags)||8388608&t.flags)&&by(t)&&!by(n)||t.kind!==n.kind&&Lg(t))&&(e.valueDeclaration=n)},ng.isFunctionSymbol=function(e){return!(!e||!e.valueDeclaration)&&(254===(e=e.valueDeclaration).kind||ng.isVariableDeclaration(e)&&e.initializer&&ng.isFunctionLike(e.initializer))},ng.tryGetModuleSpecifierFromDeclaration=function(e){var n;switch(e.kind){case 252:return e.initializer.arguments[0].text;case 264:return null==(n=ng.tryCast(e.moduleSpecifier,ng.isStringLiteralLike))?void 0:n.text;case 263:return null==(n=ng.tryCast(null==(n=ng.tryCast(e.moduleReference,ng.isExternalModuleReference))?void 0:n.expression,ng.isStringLiteralLike))?void 0:n.text;default:ng.Debug.assertNever(e)}},ng.importFromModuleSpecifier=function(e){return Uy(e)||ng.Debug.failBadSyntaxKind(e.parent)},ng.tryGetImportFromModuleSpecifier=Uy,ng.getExternalModuleName=Vy,ng.getNamespaceDeclarationNode=function(e){switch(e.kind){case 264:return e.importClause&&ng.tryCast(e.importClause.namedBindings,ng.isNamespaceImport);case 263:return e;case 270:return e.exportClause&&ng.tryCast(e.exportClause,ng.isNamespaceExport);default:return ng.Debug.assertNever(e)}},ng.isDefaultImport=function(e){return 264===e.kind&&!!e.importClause&&!!e.importClause.name},ng.forEachImportClauseDeclaration=function(e,n){var t;return e.name&&(t=n(e))||e.namedBindings&&(t=ng.isNamespaceImport(e.namedBindings)?n(e.namedBindings):ng.forEach(e.namedBindings.elements,n))?t:void 0},ng.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},ng.isJSDocConstructSignature=function(e){return e=ng.isJSDocFunctionType(e)?ng.firstOrUndefined(e.parameters):void 0,!!(e=ng.tryCast(e&&e.name,ng.isIdentifier))&&"new"===e.escapedText},ng.isJSDocTypeAlias=jy,ng.isTypeAlias=function(e){return jy(e)||ng.isTypeAliasDeclaration(e)},ng.getSingleInitializerOfVariableStatementOrPropertyDeclaration=Hy,ng.getSingleVariableOfVariableStatement=Wy,ng.getJSDocCommentsAndTags=function(e,n){$g(e)&&ng.hasInitializer(e)&&ng.hasJSDocNodes(e.initializer)&&(t=ng.append(t,ng.last(e.initializer.jsDoc)));for(var t,r=e;r&&r.parent;){if(ng.hasJSDocNodes(r)&&(t=ng.append(t,ng.last(r.jsDoc))),162===r.kind){t=ng.addRange(t,(n?ng.getJSDocParameterTagsNoCache:ng.getJSDocParameterTags)(r));break}if(161===r.kind){t=ng.addRange(t,(n?ng.getJSDocTypeParameterTagsNoCache:ng.getJSDocTypeParameterTags)(r));break}r=Jy(r)}return t||ng.emptyArray},ng.getNextJSDocCommentLocation=Jy,ng.getParameterSymbolFromJSDoc=function(e){if(e.symbol)return e.symbol;if(ng.isIdentifier(e.name)){var n=e.name.escapedText;e=qy(e);if(e)return(e=ng.find(e.parameters,(function(e){return 79===e.name.kind&&e.name.escapedText===n})))&&e.symbol}},ng.getHostSignatureFromJSDoc=qy,ng.getEffectiveJSDocHost=Xy,ng.getJSDocHost=Yy,ng.getJSDocRoot=Qy,ng.getTypeParameterFromJsDoc=function(e){var n=e.name.escapedText;return(e=e.parent.parent.parent.typeParameters)&&ng.find(e,(function(e){return e.name.escapedText===n}))},ng.hasRestParameter=function(e){return!!(e=ng.lastOrUndefined(e.parameters))&&Zy(e)},ng.isRestParameter=Zy,ng.hasTypeArguments=function(e){return!!e.typeArguments},(om=ng.AssignmentKind||(ng.AssignmentKind={}))[om.None=0]="None",om[om.Definite=1]="Definite",om[om.Compound=2]="Compound",ng.getAssignmentTargetKind=$y,ng.isAssignmentTarget=function(e){return 0!==$y(e)},ng.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},ng.isValueSignatureDeclaration=function(e){return ng.isFunctionExpression(e)||ng.isArrowFunction(e)||ng.isMethodOrAccessor(e)||ng.isFunctionDeclaration(e)||ng.isConstructorDeclaration(e)},ng.walkUpParenthesizedTypes=function(e){return eh(e,189)},ng.walkUpParenthesizedExpressions=nh,ng.walkUpParenthesizedTypesAndGetParentAndChild=function(e){for(var n;e&&189===e.kind;)e=(n=e).parent;return[n,e]},ng.skipParentheses=th,ng.isDeleteTarget=function(e){return(204===e.kind||205===e.kind)&&(e=nh(e.parent))&&213===e.kind},ng.isNodeDescendantOf=function(e,n){for(;e;){if(e===n)return!0;e=e.parent}return!1},ng.isDeclarationName=function(e){return!ng.isSourceFile(e)&&!ng.isBindingPattern(e)&&ng.isDeclaration(e.parent)&&e.parent.name===e},ng.getDeclarationFromName=function(e){var n,t=e.parent;switch(e.kind){case 10:case 14:case 8:if(ng.isComputedPropertyName(t))return t.parent;case 79:return ng.isDeclaration(t)?t.name===e?t:void 0:ng.isQualifiedName(t)?(n=t.parent,ng.isJSDocParameterTag(n)&&n.name===t?n:void 0):(n=t.parent,ng.isBinaryExpression(n)&&0!==Cy(n)&&(n.left.symbol||n.symbol)&&ng.getNameOfDeclaration(n)===e?n:void 0);case 80:return ng.isDeclaration(t)&&t.name===e?t:void 0;default:return}},ng.isLiteralComputedPropertyDeclarationName=function(e){return _h(e)&&160===e.parent.kind&&ng.isDeclaration(e.parent.parent)},ng.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},ng.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&&ah(e)||ng.isBinaryExpression(e)&&2===Cy(e)&&ah(e)||ng.isPropertyAccessExpression(e)&&ng.isBinaryExpression(e.parent)&&e.parent.left===e&&63===e.parent.operatorToken.kind&&rh(e.parent.right)||292===e.kind||291===e.kind&&rh(e.initializer)},ng.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)}},ng.isAliasableExpression=rh,ng.exportAssignmentIsAlias=ah,ng.getExportAssignmentExpression=ih,ng.getPropertyAssignmentAliasLikeExpression=function(e){return 292===e.kind?e.name:291===e.kind?e.initializer:e.parent.right},ng.getEffectiveBaseTypeNode=oh,ng.getClassExtendsHeritageElement=sh,ng.getEffectiveImplementsTypeNodes=ch,ng.getAllSuperTypeNodes=function(e){return ng.isInterfaceDeclaration(e)?lh(e)||ng.emptyArray:ng.isClassLike(e)&&ng.concatenate(ng.singleElementArray(oh(e)),ch(e))||ng.emptyArray},ng.getInterfaceBaseTypeNodes=lh,ng.getHeritageClause=uh,ng.getAncestor=function(e,n){for(;e;){if(e.kind===n)return e;e=e.parent}},ng.isKeyword=dh,ng.isContextualKeyword=ph,ng.isNonContextualKeyword=mh,ng.isFutureReservedKeyword=function(e){return 117<=e&&e<=125},ng.isStringANonContextualKeyword=function(e){return void 0!==(e=ng.stringToToken(e))&&mh(e)},ng.isStringAKeyword=function(e){return void 0!==(e=ng.stringToToken(e))&&dh(e)},ng.isIdentifierANonContextualKeyword=function(e){return!!(e=e.originalKeywordKind)&&!ph(e)},ng.isTrivia=function(e){return 2<=e&&e<=7},(om=ng.FunctionFlags||(ng.FunctionFlags={}))[om.Normal=0]="Normal",om[om.Generator=1]="Generator",om[om.Async=2]="Async",om[om.Invalid=4]="Invalid",om[om.AsyncGenerator=3]="AsyncGenerator",ng.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:pv(e,256)&&(n|=2)}return e.body||(n|=4),n},ng.isAsyncFunction=function(e){switch(e.kind){case 254:case 211:case 212:case 167:return void 0!==e.body&&void 0===e.asteriskToken&&pv(e,256)}return!1},ng.isStringOrNumericLiteralLike=_h,ng.isSignedNumericLiteral=fh,ng.hasDynamicName=gh,ng.isDynamicName=yh,ng.getPropertyNameForPropertyNameNode=hh,ng.isPropertyNameLiteral=vh,ng.getTextOfIdentifierOrLiteral=bh,ng.getEscapedTextOfIdentifierOrLiteral=function(e){return ng.isMemberName(e)?e.escapedText:ng.escapeLeadingUnderscores(e.text)},ng.getPropertyNameForUniqueESSymbol=function(e){return"__@"+ng.getSymbolId(e)+"@"+e.escapedName},ng.getSymbolNameForPrivateIdentifier=function(e,n){return"__#"+ng.getSymbolId(e)+"@"+n},ng.isKnownSymbol=function(e){return ng.startsWith(e.escapedName,"__@")},ng.isPrivateIdentifierSymbol=function(e){return ng.startsWith(e.escapedName,"__#")},ng.isESSymbolIdentifier=function(e){return 79===e.kind&&"Symbol"===e.escapedText},ng.isPushOrUnshiftIdentifier=function(e){return"push"===e.escapedText||"unshift"===e.escapedText},ng.isParameterDeclaration=function(e){return 162===Eh(e).kind},ng.getRootDeclaration=Eh,ng.nodeStartsNewLexicalEnvironment=function(e){return 169===(e=e.kind)||211===e||254===e||212===e||167===e||170===e||171===e||259===e||300===e},ng.nodeIsSynthesized=Th,ng.getOriginalSourceFile=function(e){return ng.getParseTreeNode(e,ng.isSourceFile)||e},(om=ng.Associativity||(ng.Associativity={}))[om.Left=0]="Left",om[om.Right=1]="Right",ng.getExpressionAssociativity=function(e){var n=xh(e),t=207===e.kind&&void 0!==e.arguments;return Sh(e.kind,n,t)},ng.getOperatorAssociativity=Sh,ng.getExpressionPrecedence=function(e){var n=xh(e),t=207===e.kind&&void 0!==e.arguments;return Lh(e.kind,n,t)},ng.getOperator=xh,(om=ng.OperatorPrecedence||(ng.OperatorPrecedence={}))[om.Comma=0]="Comma",om[om.Spread=1]="Spread",om[om.Yield=2]="Yield",om[om.Assignment=3]="Assignment",om[om.Conditional=4]="Conditional",om[om.Coalesce=4]="Coalesce",om[om.LogicalOR=5]="LogicalOR",om[om.LogicalAND=6]="LogicalAND",om[om.BitwiseOR=7]="BitwiseOR",om[om.BitwiseXOR=8]="BitwiseXOR",om[om.BitwiseAND=9]="BitwiseAND",om[om.Equality=10]="Equality",om[om.Relational=11]="Relational",om[om.Shift=12]="Shift",om[om.Additive=13]="Additive",om[om.Multiplicative=14]="Multiplicative",om[om.Exponentiation=15]="Exponentiation",om[om.Unary=16]="Unary",om[om.Update=17]="Update",om[om.LeftHandSide=18]="LeftHandSide",om[om.Member=19]="Member",om[om.Primary=20]="Primary",om[om.Highest=20]="Highest",om[om.Lowest=0]="Lowest",om[om.Invalid=-1]="Invalid",ng.getOperatorPrecedence=Lh,ng.getBinaryOperatorPrecedence=Dh,ng.getSemanticJsxChildren=function(e){return ng.filter(e,(function(e){switch(e.kind){case 286:return!!e.expression;case 11:return!e.containsOnlyTriviaWhiteSpaces;default:return!0}}))},ng.createDiagnosticCollection=function(){var e=[],n=[],t=new ng.Map,r=!1;return{add:function(a){var i;a.file?(i=t.get(a.file.fileName))||(i=[],t.set(a.file.fileName,i),ng.insertSorted(n,a.file.fileName,ng.compareStringsCaseSensitive)):(r&&(r=!1,e=e.slice()),i=e),ng.insertSorted(i,a,sb)},lookup:function(n){var r;if(r=n.file?t.get(n.file.fileName):e,r&&(n=ng.binarySearch(r,n,ng.identity,cb),0<=n))return r[n]},getGlobalDiagnostics:function(){return r=!0,e},getDiagnostics:function(r){return r?t.get(r)||[]:(r=ng.flatMapToMutable(n,(function(e){return t.get(e)})),e.length&&r.unshift.apply(r,e),r)}}};var Ah=/\$\{/g,Ch=(ng.hasInvalidEscape=function(e){return e&&!!(ng.isNoSubstitutionTemplateLiteral(e)?e.templateFlags:e.head.templateFlags||ng.some(e.templateSpans,(function(e){return!!e.literal.templateFlags})))},/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g),Ih=/[\\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,Nh=/\r\n|[\\\`\u0000-\u001f\t\v\f\b\r\u2028\u2029\u0085]/g,kh=new ng.Map(ng.getEntries({"\t":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","…":"\\u0085","\r\n":"\\r\\n"}));function Rh(e){return"\\u"+("0000"+e.toString(16).toUpperCase()).slice(-4)}function Oh(e,n,t){return 0===e.charCodeAt(0)?48<=(t=t.charCodeAt(n+e.length))&&t<=57?"\\x00":"\\0":kh.get(e)||Rh(e.charCodeAt(0))}function Ph(e,n){return e.replace(96===n?Nh:39===n?Ih:Ch,Oh)}ng.escapeString=Ph;var wh=/[^\u0000-\u007F]/g;function Mh(e,n){return e=Ph(e,n),wh.test(e)?e.replace(wh,(function(e){return Rh(e.charCodeAt(0))})):e}ng.escapeNonAsciiString=Mh;var Fh=/[\"\u0000-\u001f\u2028\u2029\u0085]/g,Gh=/[\'\u0000-\u001f\u2028\u2029\u0085]/g,Bh=new ng.Map(ng.getEntries({'"':"&quot;","'":"&apos;"}));function Uh(e){return 0===e.charCodeAt(0)?"&#0;":Bh.get(e)||"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function Vh(e,n){return e.replace(39===n?Gh:Fh,Uh)}ng.escapeJsxAttributeString=Vh,ng.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},ng.isIntrinsicJsxName=function(e){var n=e.charCodeAt(0);return 97<=n&&n<=122||ng.stringContains(e,"-")||ng.stringContains(e,":")};var jh=[""," "];function Kh(e){for(var n=jh[1],t=jh.length;t<=e;t++)jh.push(jh[t-1]+n);return jh[e]}function Hh(){return jh[1].length}function Wh(e){return!!e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames()}function zh(e,n,t){return n.moduleName||qh(e,n.fileName,t&&t.fileName)}function Jh(e,n){return e.getCanonicalFileName(ng.getNormalizedAbsolutePath(n,e.getCurrentDirectory()))}function qh(e,n,t){function r(n){return e.getCanonicalFileName(n)}var a=ng.toPath(t?ng.getDirectoryPath(t):e.getCommonSourceDirectory(),e.getCurrentDirectory(),r);n=ng.getNormalizedAbsolutePath(n,e.getCurrentDirectory()),n=Ub(ng.getRelativePathToDirectoryOrUrl(a,n,a,r,!1));return t?ng.ensurePathIsNonModuleName(n):n}function Xh(e,n,t,r,a){return n=n.declarationDir||n.outDir,Ub(n?$h(e,n,t,r,a):e)+".d.ts"}function Yh(e){return e.outFile||e.out}function Qh(e,n,t){return!(n.getCompilerOptions().noEmitForJsFiles&&fy(e))&&!e.isDeclarationFile&&!n.isSourceFileFromExternalLibrary(e)&&(t||!(Kg(e)&&n.getResolvedProjectReferenceToRedirect(e.fileName))&&!n.isSourceOfProjectReferenceRedirect(e.fileName))}function Zh(e,n,t){return $h(e,t,n.getCurrentDirectory(),n.getCommonSourceDirectory(),(function(e){return n.getCanonicalFileName(e)}))}function $h(e,n,t,r,a){return e=0===a(e=ng.getNormalizedAbsolutePath(e,t)).indexOf(a(r))?e.substring(r.length):e,ng.combinePaths(n,e)}function ev(e,n){return ng.computeLineOfPosition(e,n)}function nv(e){return ng.find(e.members,(function(e){return ng.isConstructorDeclaration(e)&&pg(e.body)}))}function tv(e){var n;if(e&&0<e.parameters.length)return n=2===e.parameters.length&&rv(e.parameters[0]),e.parameters[n?1:0]}function rv(e){return av(e.name)}function av(e){return!!e&&79===e.kind&&iv(e)}function iv(e){return 108===e.originalKeywordKind}function ov(e){var n;if(gy(e)||!ng.isFunctionDeclaration(e))return(n=e.type)||!gy(e)?n:ng.isJSDocPropertyLikeTag(e)?e.typeExpression&&e.typeExpression.type:ng.getJSDocType(e)}function sv(e,n,t,r){cv(e,n,t.pos,r)}function cv(e,n,t,r){r&&r.length&&t!==r[0].pos&&ev(e,t)!==ev(e,r[0].pos)&&n.writeLine()}function lv(e,n,t,r,a,i,o,s){if(r&&0<r.length){a&&t.writeSpace(" ");for(var c=!1,l=0,u=r;l<u.length;l++){var d=u[l];c&&(t.writeSpace(" "),c=!1),s(e,n,t,d.pos,d.end,o),d.hasTrailingNewLine?t.writeLine():c=!0}c&&i&&t.writeSpace(" ")}}function uv(e,n,t){for(var r=0;n<t&&ng.isWhiteSpaceSingleLine(e.charCodeAt(n));n++)9===e.charCodeAt(n)?r+=Hh()-r%Hh():r++;return r}function dv(e,n){return!!gv(e,n)}function pv(e,n){return!!yv(e,n)}function mv(e){return ng.isClassElement(e)&&_v(e)||ng.isClassStaticBlockDeclaration(e)}function _v(e){return pv(e,32)}function fv(e){return dv(e,64)}function gv(e,n){return vv(e)&n}function yv(e,n){return bv(e)&n}function hv(e,n,t){return 0<=e.kind&&e.kind<=158?0:(536870912&e.modifierFlagsCache||(e.modifierFlagsCache=536870912|Tv(e)),!n||4096&e.modifierFlagsCache||!t&&!gy(e)||!e.parent||(e.modifierFlagsCache|=4096|Ev(e)),-536875009&e.modifierFlagsCache)}function vv(e){return hv(e,!0)}function bv(e){return hv(e,!1)}function Ev(e){var n=0;return e.parent&&!ng.isParameter(e)&&(gy(e)&&(ng.getJSDocPublicTagNoCache(e)&&(n|=4),ng.getJSDocPrivateTagNoCache(e)&&(n|=8),ng.getJSDocProtectedTagNoCache(e)&&(n|=16),ng.getJSDocReadonlyTagNoCache(e)&&(n|=64),ng.getJSDocOverrideTagNoCache(e))&&(n|=16384),ng.getJSDocDeprecatedTagNoCache(e))&&(n|=8192),n}function Tv(e){var n=Sv(e.modifiers);return(4&e.flags||79===e.kind&&e.isInJSDocNamespace)&&(n|=1),n}function Sv(e){var n=0;if(e)for(var t=0,r=e;t<r.length;t++)n|=xv(r[t].kind);return n}function xv(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 Lv(e){return 75===e||76===e||77===e}function Dv(e){return 63<=e&&e<=78}function Av(e){return e=Cv(e),e&&!e.isImplements?e.class:void 0}function Cv(e){return ng.isExpressionWithTypeArguments(e)&&ng.isHeritageClause(e.parent)&&ng.isClassLike(e.parent.parent)?{class:e.parent.parent,isImplements:117===e.parent.token}:void 0}function Iv(e,n){return ng.isBinaryExpression(e)&&(n?63===e.operatorToken.kind:Dv(e.operatorToken.kind))&&ng.isLeftHandSideExpression(e.left)}function Nv(e){return void 0!==Av(e)}function kv(e){return 79===e.kind||Rv(e)}function Rv(e){return ng.isPropertyAccessExpression(e)&&ng.isIdentifier(e.name)&&kv(e.expression)}function Ov(e){return Ry(e)&&"prototype"===Fy(e)}ng.getIndentString=Kh,ng.getIndentSize=Hh,ng.createTextWriter=function(e){var n,t,r,a,i,o=!1;function s(e){var t=ng.computeLineStarts(e);r=1<t.length&&(a=a+t.length-1,(i=n.length-e.length+ng.last(t))-n.length==0)}function c(e){e&&e.length&&(r&&(e=Kh(t)+e,r=!1),n+=e,s(e))}function l(e){e&&(o=!1),c(e)}function u(){i=a=t=0,o=!(r=!(n=""))}return u(),{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*Hh():n.length-i},getText:function(){return n},isAtStartOfLine:function(){return r},hasTrailingComment:function(){return o},hasTrailingWhitespace:function(){return!!n.length&&ng.isWhiteSpaceLike(n.charCodeAt(n.length-1))},clear:u,reportInaccessibleThisError:ng.noop,reportPrivateInBaseOfClassExpression:ng.noop,reportInaccessibleUniqueSymbolError:ng.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}}},ng.getTrailingSemicolonDeferringWriter=function(e){var n=!1;function t(){n&&(e.writeTrailingSemicolon(";"),n=!1)}return ed(ed({},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()}})},ng.hostUsesCaseSensitiveFileNames=Wh,ng.hostGetCanonicalFileName=function(e){return ng.createGetCanonicalFileName(Wh(e))},ng.getResolvedExternalModuleName=zh,ng.getExternalModuleNameFromDeclaration=function(e,n,t){if((n=n.getExternalModuleFileFromDeclaration(t))&&!n.isDeclarationFile&&(t=Vy(t),!t||!ng.isStringLiteralLike(t)||ng.pathIsRelative(t.text)||-1!==Jh(e,n.path).indexOf(Jh(e,ng.ensureTrailingDirectorySeparator(e.getCommonSourceDirectory())))))return zh(e,n)},ng.getExternalModuleNameFromPath=qh,ng.getOwnEmitOutputFilePath=function(e,n,t){var r=n.getCompilerOptions();return(n=r.outDir?Ub(Zh(e,n,r.outDir)):Ub(e))+t},ng.getDeclarationEmitOutputFilePath=function(e,n){return Xh(e,n.getCompilerOptions(),n.getCurrentDirectory(),n.getCommonSourceDirectory(),(function(e){return n.getCanonicalFileName(e)}))},ng.getDeclarationEmitOutputFilePathWorker=Xh,ng.outFile=Yh,ng.getPathsBasePath=function(e,n){var t;if(e.paths)return null!=(t=e.baseUrl)?t:ng.Debug.checkDefined(e.pathsBasePath||(null==(t=n.getCurrentDirectory)?void 0:t.call(n)),"Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.")},ng.getSourceFilesToEmit=function(e,n,t){var r,a,i=e.getCompilerOptions();return Yh(i)?(r=ub(i),a=i.emitDeclarationOnly||r===ng.ModuleKind.AMD||r===ng.ModuleKind.System,ng.filter(e.getSourceFiles(),(function(n){return(a||!ng.isExternalModule(n))&&Qh(n,e,t)}))):(i=void 0===n?e.getSourceFiles():[n],ng.filter(i,(function(n){return Qh(n,e,t)})))},ng.sourceFileMayBeEmitted=Qh,ng.getSourceFilePathInNewDir=Zh,ng.getSourceFilePathInNewDirWorker=$h,ng.writeFile=function(e,n,t,r,a,i){e.writeFile(t,r,a,(function(e){n.add(ib(ng.Diagnostics.Could_not_write_file_0_Colon_1,t,e))}),i)},ng.writeFileEnsuringDirectories=function(e,n,t,r,a,i){try{r(e,n,t)}catch(wu){!function e(n,t,r){n.length>ng.getRootLength(n)&&!r(n)&&(e(ng.getDirectoryPath(n),t,r),t(n))}(ng.getDirectoryPath(ng.normalizePath(e)),a,i),r(e,n,t)}},ng.getLineOfLocalPosition=function(e,n){return e=ng.getLineStarts(e),ng.computeLineOfPosition(e,n)},ng.getLineOfLocalPositionFromLineMap=ev,ng.getFirstConstructorWithBody=nv,ng.getSetAccessorValueParameter=tv,ng.getSetAccessorTypeAnnotationNode=function(e){return(e=tv(e))&&e.type},ng.getThisParameter=function(e){if(e.parameters.length&&!ng.isJSDocSignature(e)&&(e=e.parameters[0],rv(e)))return e},ng.parameterIsThisKeyword=rv,ng.isThisIdentifier=av,ng.isThisInTypeQuery=function(e){if(!av(e))return!1;for(;ng.isQualifiedName(e.parent)&&e.parent.left===e;)e=e.parent;return 179===e.parent.kind},ng.identifierIsThisKeyword=iv,ng.getAllAccessorDeclarations=function(e,n){var t,r,a,i;return gh(n)?170===(t=n).kind?a=n:171===n.kind?i=n:ng.Debug.fail("Accessor has wrong kind"):ng.forEach(e,(function(e){ng.isAccessor(e)&&mv(e)===mv(n)&&hh(e.name)===hh(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}},ng.getEffectiveTypeAnnotationNode=ov,ng.getTypeAnnotationNode=function(e){return e.type},ng.getEffectiveReturnTypeNode=function(e){return ng.isJSDocSignature(e)?e.type&&e.type.typeExpression&&e.type.typeExpression.type:e.type||(gy(e)?ng.getJSDocReturnType(e):void 0)},ng.getJSDocTypeParameterDeclarations=function(e){return ng.flatMap(ng.getJSDocTags(e),(function(e){return n=e,!ng.isJSDocTemplateTag(n)||315===n.parent.kind&&n.parent.tags.some(jy)?void 0:e.typeParameters;var n}))},ng.getEffectiveSetAccessorTypeAnnotationNode=function(e){return(e=tv(e))&&ov(e)},ng.emitNewLineBeforeLeadingComments=sv,ng.emitNewLineBeforeLeadingCommentsOfPosition=cv,ng.emitNewLineBeforeLeadingCommentOfPosition=function(e,n,t,r){t!==r&&ev(e,t)!==ev(e,r)&&n.writeLine()},ng.emitComments=lv,ng.emitDetachedComments=function(e,n,t,r,a,i,o){var s,c;if(o?0===a.pos&&(s=ng.filter(ng.getLeadingCommentRanges(e,a.pos),(function(n){return gg(e,n.pos)}))):s=ng.getLeadingCommentRanges(e,a.pos),s){for(var l=[],u=void 0,d=0,p=s;d<p.length;d++){var m=p[d];if(u&&ev(n,u.end)+2<=ev(n,m.pos))break;l.push(m),u=m}l.length&&ev(n,ng.last(l).end)+2<=ev(n,ng.skipTrivia(e,a.pos))&&(sv(n,t,a,s),lv(e,n,t,l,!1,!0,i,r),c={nodePos:a.pos,detachedCommentEndPos:ng.last(l).end})}return c},ng.writeCommentRange=function(e,n,t,r,a,i){if(42===e.charCodeAt(r+1))for(var o=ng.computeLineAndCharacterOfPosition(n,r),s=n.length,c=void 0,l=r,u=o.line;l<a;u++){var d=u+1===s?e.length+1:n[u+1];if(l!==r){void 0===c&&(c=uv(e,n[o.line],r));var p=t.getIndent()*Hh()-c+uv(e,l,d);if(0<p){var m=p%Hh();p=Kh((p-m)/Hh());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=d;h=Math.min(_,h-1),(p=ng.trimString(p.substring(y,h)))?(f.writeComment(p),h!==_&&f.writeLine()):f.rawWrite(g),l=d}else t.writeComment(e.substring(r,a))},ng.hasEffectiveModifiers=function(e){return 0!==vv(e)},ng.hasSyntacticModifiers=function(e){return 0!==bv(e)},ng.hasEffectiveModifier=dv,ng.hasSyntacticModifier=pv,ng.isStatic=mv,ng.hasStaticModifier=_v,ng.hasOverrideModifier=function(e){return dv(e,16384)},ng.hasAbstractModifier=function(e){return pv(e,128)},ng.hasAmbientModifier=function(e){return pv(e,2)},ng.hasEffectiveReadonlyModifier=fv,ng.getSelectedEffectiveModifierFlags=gv,ng.getSelectedSyntacticModifierFlags=yv,ng.getEffectiveModifierFlags=vv,ng.getEffectiveModifierFlagsAlwaysIncludeJSDoc=function(e){return hv(e,!0,!0)},ng.getSyntacticModifierFlags=bv,ng.getEffectiveModifierFlagsNoCache=function(e){return Tv(e)|Ev(e)},ng.getSyntacticModifierFlagsNoCache=Tv,ng.modifiersToFlags=Sv,ng.modifierToFlag=xv,ng.createModifiers=function(e){return e?ng.factory.createNodeArray(ng.factory.createModifiersFromModifierFlags(e)):void 0},ng.isLogicalOperator=function(e){return 56===e||55===e||53===e},ng.isLogicalOrCoalescingAssignmentOperator=Lv,ng.isLogicalOrCoalescingAssignmentExpression=function(e){return Lv(e.operatorToken.kind)},ng.isAssignmentOperator=Dv,ng.tryGetClassExtendingExpressionWithTypeArguments=Av,ng.tryGetClassImplementingOrExtendingExpressionWithTypeArguments=Cv,ng.isAssignmentExpression=Iv,ng.isLeftHandSideOfAssignment=function(e){return Iv(e.parent)&&e.parent.left===e},ng.isDestructuringAssignment=function(e){return!!Iv(e,!0)&&(203===(e=e.left.kind)||202===e)},ng.isExpressionWithTypeArgumentsInClassExtendsClause=Nv,ng.isEntityNameExpression=kv,ng.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}},ng.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)},ng.isPropertyAccessEntityNameExpression=Rv,ng.tryGetPropertyAccessOrIdentifierToString=function e(n){var t;if(ng.isPropertyAccessExpression(n)){if(void 0!==(t=e(n.expression)))return t+"."+Fg(n.name)}else if(ng.isElementAccessExpression(n)){if(void 0!==(t=e(n.expression))&&ng.isPropertyName(n.argumentExpression))return t+"."+hh(n.argumentExpression)}else if(ng.isIdentifier(n))return ng.unescapeLeadingUnderscores(n.escapedText)},ng.isPrototypeAccess=Ov,ng.isRightSideOfQualifiedNameOrPropertyAccess=function(e){return 159===e.parent.kind&&e.parent.right===e||204===e.parent.kind&&e.parent.name===e},ng.isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName=function(e){return ng.isQualifiedName(e.parent)&&e.parent.right===e||ng.isPropertyAccessExpression(e.parent)&&e.parent.name===e||ng.isJSDocMemberName(e.parent)&&e.parent.right===e},ng.isEmptyObjectLiteral=function(e){return 203===e.kind&&0===e.properties.length},ng.isEmptyArrayLiteral=function(e){return 202===e.kind&&0===e.elements.length},ng.getLocalSymbolForExportDefault=function(e){if((n=e)&&0<ng.length(n.declarations)&&pv(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}},ng.tryExtractTSExtension=function(e){return ng.find(ng.supportedTSExtensionsForExtractExtension,(function(n){return ng.fileExtensionIs(e,n)}))};var Pv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function wv(e){for(var n,t,r,a,i="",o=function(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)):ng.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+=Pv.charAt(n)+Pv.charAt(t)+Pv.charAt(r)+Pv.charAt(a),s+=3;return i}function Mv(e,n){return ng.Debug.assert(e<=(n=void 0===n?e:n)||-1===n),{pos:e,end:n}}function Fv(e,n){return Mv(n,e.end)}function Gv(e){return e.decorators&&0<e.decorators.length?Fv(e,e.decorators.end):e}function Bv(e,n,t){return Uv(Vv(e,t,!1),n.end,t)}function Uv(e,n,t){return 0===ng.getLinesBetweenPositions(t,e,n)}function Vv(e,n,t){return Hb(e.pos)?-1:ng.skipTrivia(n.text,e.pos,!1,t)}function jv(e){return void 0!==e.initializer}function Kv(e){return 33554432&e.flags?e.checkFlags:0}function Hv(e){var n=e.parent;if(!n)return 0;switch(n.kind){case 210:return Hv(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&&Dv(r.kind)?63===r.kind?1:i():0;case 204:return n.name!==e?0:Hv(n);case 291:if(t=Hv(n.parent),e===n.name){var a=t;switch(a){case 0:return 1;case 1:return 0;case 2:return 2;default:return ng.Debug.assertNever(a)}return}return t;case 292:return e===n.objectAssignmentInitializer?0:Hv(n.parent);case 202:return Hv(n);default:return 0}function i(){return n.parent&&236===nh(n.parent).kind?1:2}}function Wv(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 zv(e){return null==(e=e.declarations)?void 0:e.find(ng.isClassLike)}function Jv(e){return 204===e.kind||205===e.kind}function qv(e){for(;Jv(e);)e=e.expression;return e}function Xv(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 Yv(e,n){this.flags=n,(ng.Debug.isDebugging||ng.tracing)&&(this.checker=e)}function Qv(e,n){this.flags=n,ng.Debug.isDebugging&&(this.checker=e)}function Zv(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 $v(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 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,this.original=void 0,this.flowNode=void 0}function nb(e,n,t){this.fileName=e,this.text=n,this.skipTrivia=t||function(e){return e}}function tb(e,n,t){return void 0===t&&(t=0),e.replace(/{(\d+)}/g,(function(e,r){return""+ng.Debug.checkDefined(n[+r+t])}))}function rb(e){return ng.localizedDiagnosticMessages&&ng.localizedDiagnosticMessages[e.key]||e.message}function ab(e,n,t,r){Bg(e,n,t);var a=rb(r);return{file:e,start:n,length:t,messageText:a=4<arguments.length?tb(a,arguments,4):a,category:r.category,code:r.code,reportsUnnecessary:r.reportsUnnecessary,reportsDeprecated:r.reportsDeprecated}}function ib(e){var n=rb(e);return{file:void 0,start:void 0,length:void 0,messageText:n=1<arguments.length?tb(n,arguments,1):n,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary,reportsDeprecated:e.reportsDeprecated}}function ob(e){return e.file?e.file.path:void 0}function sb(e,n){return cb(e,n)||function(e,n){return e.relatedInformation||n.relatedInformation?e.relatedInformation&&n.relatedInformation?ng.compareValues(e.relatedInformation.length,n.relatedInformation.length)||ng.forEach(e.relatedInformation,(function(e,t){return sb(e,n.relatedInformation[t])}))||0:e.relatedInformation?-1:1:0}(e,n)||0}function cb(e,n){return ng.compareStringsCaseSensitive(ob(e),ob(n))||ng.compareValues(e.start,n.start)||ng.compareValues(e.length,n.length)||ng.compareValues(e.code,n.code)||function e(n,t){if("string"==typeof n&&"string"==typeof t)return ng.compareStringsCaseSensitive(n,t);if("string"==typeof n)return-1;if("string"==typeof t)return 1;var r=ng.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 lb(e){return e.target||0}function ub(e){return"number"==typeof e.module?e.module:2<=lb(e)?ng.ModuleKind.ES2015:ng.ModuleKind.CommonJS}function db(e){return!(!e.declaration&&!e.composite)}function pb(e,n){return void 0===e[n]?!!e.strict:!!e[n]}function mb(e){return void 0===e.allowJs?!!e.checkJs:e.allowJs}function _b(e,n){return n.strictFlag?pb(e,n.name):e[n.name]}function fb(e,n,t,r){for(var a=ng.getPathComponents(ng.getNormalizedAbsolutePath(e,t)),i=ng.getPathComponents(ng.getNormalizedAbsolutePath(n,t)),o=!1;!gb(a[a.length-2],r)&&!gb(i[i.length-2],r)&&r(a[a.length-1])===r(i[i.length-1]);)a.pop(),i.pop(),o=!0;return o?[ng.getPathFromPathComponents(a),ng.getPathFromPathComponents(i)]:void 0}function gb(e,n){return"node_modules"===n(e)||ng.startsWith(e,"@")}ng.convertToBase64=wv,ng.base64encode=function(e,n){return e&&e.base64encode?e.base64encode(n):wv(n)},ng.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)!==Pv.charCodeAt(64);){var i=Pv.indexOf(n[a]),o=Pv.indexOf(n[a+1]),s=Pv.indexOf(n[a+2]),c=Pv.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 u=r,d="",p=0,m=u.length;p<m;){var _=u[p];if(_<128)d+=String.fromCharCode(_),p++;else if(192==(192&_)){for(var f=63&_,g=u[++p];128==(192&g);)f=f<<6|63&g,g=u[++p];d+=String.fromCharCode(f)}else d+=String.fromCharCode(_),p++}return d},ng.readJson=function(e,n){try{var t,r=n.readFile(e);return r?(t=ng.parseConfigFileTextToJson(e,r)).error?{}:t.config:{}}catch(e){return{}}},ng.directoryProbablyExists=function(e,n){return!n.directoryExists||n.directoryExists(e)},ng.getNewLineCharacter=function(e,n){switch(e.newLine){case 0:return"\r\n";case 1:return"\n"}return n?n():ng.sys?ng.sys.newLine:"\r\n"},ng.createRange=Mv,ng.moveRangeEnd=function(e,n){return Mv(e.pos,n)},ng.moveRangePos=Fv,ng.moveRangePastDecorators=Gv,ng.moveRangePastModifiers=function(e){return e.modifiers&&0<e.modifiers.length?Fv(e,e.modifiers.end):Gv(e)},ng.isCollapsedRange=function(e){return e.pos===e.end},ng.createTokenRange=function(e,n){return Mv(e,e+ng.tokenToString(n).length)},ng.rangeIsOnSingleLine=function(e,n){return Bv(e,e,n)},ng.rangeStartPositionsAreOnSameLine=function(e,n,t){return Uv(Vv(e,t,!1),Vv(n,t,!1),t)},ng.rangeEndPositionsAreOnSameLine=function(e,n,t){return Uv(e.end,n.end,t)},ng.rangeStartIsOnSameLineAsRangeEnd=Bv,ng.rangeEndIsOnSameLineAsRangeStart=function(e,n,t){return Uv(e.end,Vv(n,t,!1),t)},ng.getLinesBetweenRangeEndAndRangeStart=function(e,n,t,r){return n=Vv(n,t,r),ng.getLinesBetweenPositions(t,e.end,n)},ng.getLinesBetweenRangeEndPositions=function(e,n,t){return ng.getLinesBetweenPositions(t,e.end,n.end)},ng.isNodeArrayMultiLine=function(e,n){return!Uv(e.pos,e.end,n)},ng.positionsAreOnSameLine=Uv,ng.getStartPositionOfRange=Vv,ng.getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter=function(e,n,t,r){return e=ng.skipTrivia(t.text,e,!1,r),r=function(e,n,t){for(void 0===n&&(n=0);e-- >n;)if(!ng.isWhiteSpaceLike(t.text.charCodeAt(e)))return e}(e,n,t),ng.getLinesBetweenPositions(t,null!=r?r:n,e)},ng.getLinesBetweenPositionAndNextNonWhitespaceCharacter=function(e,n,t,r){return r=ng.skipTrivia(t.text,e,!1,r),ng.getLinesBetweenPositions(t,e,Math.min(n,r))},ng.isDeclarationNameOfEnumOrNamespace=function(e){var n=ng.getParseTreeNode(e);if(n)switch(n.parent.kind){case 258:case 259:return n===n.parent.name}return!1},ng.getInitializedVariables=function(e){return ng.filter(e.declarations,jv)},ng.isWatchSet=function(e){return e.watch&&e.hasOwnProperty("watch")},ng.closeFileWatcher=function(e){e.close()},ng.getCheckFlags=Kv,ng.getDeclarationModifierFlagsFromSymbol=function(e,n){return void 0===n&&(n=!1),e.valueDeclaration?(n=n&&e.declarations&&ng.find(e.declarations,(function(e){return 171===e.kind}))||e.valueDeclaration,n=ng.getCombinedModifierFlags(n),e.parent&&32&e.parent.flags?n:-29&n):6&Kv(e)?(1024&(n=e.checkFlags)?8:256&n?4:16)|(2048&n?32:0):4194304&e.flags?36:0},ng.skipAlias=function(e,n){return 2097152&e.flags?n.getAliasedSymbol(e):e},ng.getCombinedLocalAndExportSymbolFlags=function(e){return e.exportSymbol?e.exportSymbol.flags|e.flags:e.flags},ng.isWriteOnlyAccess=function(e){return 1===Hv(e)},ng.isWriteAccess=function(e){return 0!==Hv(e)},ng.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},ng.clearMap=function(e,n){e.forEach(n),e.clear()},ng.mutateMapSkippingNewValues=Wv,ng.mutateMap=function(e,n,t){Wv(e,n,t);var r=t.createNewValue;n.forEach((function(n,t){e.has(t)||e.set(t,r(t,n))}))},ng.isAbstractConstructorSymbol=function(e){return!!(32&e.flags)&&!!(e=zv(e))&&pv(e,128)},ng.getClassLikeDeclarationOfSymbol=zv,ng.getObjectFlags=function(e){return 3899393&e.flags?e.objectFlags:0},ng.typeHasCallOrConstructSignatures=function(e,n){return 0!==n.getSignaturesOfType(e,0).length||0!==n.getSignaturesOfType(e,1).length},ng.forSomeAncestorDirectory=function(e,n){return!!ng.forEachAncestorDirectory(e,(function(e){return!!n(e)||void 0}))},ng.isUMDExportSymbol=function(e){return!!e&&!!e.declarations&&!!e.declarations[0]&&ng.isNamespaceExportDeclaration(e.declarations[0])},ng.showModuleSpecifier=function(e){return e=e.moduleSpecifier,ng.isStringLiteral(e)?e.text:bg(e)},ng.getLastChild=function(e){var n;return ng.forEachChild(e,(function(e){pg(e)&&(n=e)}),(function(e){for(var t=e.length-1;0<=t;t--)if(pg(e[t])){n=e[t];break}})),n},ng.addToSeen=function(e,n,t){return void 0===t&&(t=!0),!e.has(n)&&(e.set(n,t),!0)},ng.isObjectTypeDeclaration=function(e){return ng.isClassLike(e)||ng.isInterfaceDeclaration(e)||ng.isTypeLiteralNode(e)},ng.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},ng.isAccessExpression=Jv,ng.getNameOfAccessExpression=function(e){return 204===e.kind?e.name:(ng.Debug.assert(205===e.kind),e.argumentExpression)},ng.isBundleFileTextLike=function(e){switch(e.kind){case"text":case"internal":return!0;default:return!1}},ng.isNamedImportsOrExports=function(e){return 267===e.kind||271===e.kind},ng.getLeftmostAccessExpression=qv,ng.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}},ng.objectAllocator={getNodeConstructor:function(){return Zv},getTokenConstructor:function(){return $v},getIdentifierConstructor:function(){return eb},getPrivateIdentifierConstructor:function(){return Zv},getSourceFileConstructor:function(){return Zv},getSymbolConstructor:function(){return Xv},getTypeConstructor:function(){return Yv},getSignatureConstructor:function(){return Qv},getSourceMapSourceConstructor:function(){return nb}},ng.setObjectAllocator=function(e){ng.objectAllocator=e},ng.formatStringFromArgs=tb,ng.setLocalizedDiagnosticMessages=function(e){ng.localizedDiagnosticMessages=e},ng.getLocaleSpecificMessage=rb,ng.createDetachedDiagnostic=function(e,n,t,r){Bg(void 0,n,t);var a=rb(r);return{file:void 0,start:n,length:t,messageText:a=4<arguments.length?tb(a,arguments,4):a,category:r.category,code:r.code,reportsUnnecessary:r.reportsUnnecessary,fileName:e}},ng.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=(ng.Debug.assertEqual(n.fileName,a),ng.Debug.assertLessThanOrEqual(n.start,i),ng.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?(ng.Debug.assertLessThanOrEqual(l.start,i),ng.Debug.assertLessThanOrEqual(l.start+l.length,i),o.relatedInformation.push(e(l,t))):o.relatedInformation.push(l)}}return o}(i,n))}return t},ng.createFileDiagnostic=ab,ng.formatMessage=function(e,n){return n=rb(n),2<arguments.length?tb(n,arguments,2):n},ng.createCompilerDiagnostic=ib,ng.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}},ng.chainDiagnosticMessages=function(e,n){var t=rb(n);return{messageText:t=2<arguments.length?tb(t,arguments,2):t,category:n.category,code:n.code,next:void 0===e||Array.isArray(e)?e:[e]}},ng.concatenateDiagnosticMessageChains=function(e,n){for(var t=e;t.next;)t=t.next[0];t.next=[n]},ng.compareDiagnostics=sb,ng.compareDiagnosticsSkipRelatedInformation=cb,ng.getLanguageVariant=function(e){return 4===e||2===e||1===e||6===e?1:0},ng.getEmitScriptTarget=lb,ng.getEmitModuleKind=ub,ng.getEmitModuleResolutionKind=function(e){var n=e.moduleResolution;return void 0===n?ub(e)===ng.ModuleKind.CommonJS?ng.ModuleResolutionKind.NodeJs:ng.ModuleResolutionKind.Classic:n},ng.hasJsonModuleEmitEnabled=function(e){switch(ub(e)){case ng.ModuleKind.CommonJS:case ng.ModuleKind.AMD:case ng.ModuleKind.ES2015:case ng.ModuleKind.ES2020:case ng.ModuleKind.ESNext:return!0;default:return!1}},ng.unreachableCodeIsError=function(e){return!1===e.allowUnreachableCode},ng.unusedLabelIsError=function(e){return!1===e.allowUnusedLabels},ng.getAreDeclarationMapsEnabled=function(e){return!(!db(e)||!e.declarationMap)},ng.getAllowSyntheticDefaultImports=function(e){var n=ub(e);return void 0!==e.allowSyntheticDefaultImports?e.allowSyntheticDefaultImports:e.esModuleInterop||n===ng.ModuleKind.System},ng.getEmitDeclarations=db,ng.shouldPreserveConstEnums=function(e){return!(!e.preserveConstEnums&&!e.isolatedModules)},ng.isIncrementalCompilation=function(e){return!(!e.incremental&&!e.composite)},ng.getStrictOptionValue=pb,ng.getAllowJSCompilerOption=mb,ng.getUseDefineForClassFields=function(e){return void 0===e.useDefineForClassFields?99===e.target:e.useDefineForClassFields},ng.compilerOptionsAffectSemanticDiagnostics=function(e,n){return og(n,e,ng.semanticDiagnosticsOptionDeclarations)},ng.compilerOptionsAffectEmit=function(e,n){return og(n,e,ng.affectsEmitOptionDeclarations)},ng.getCompilerOptionValue=_b,ng.getJSXTransformEnabled=function(e){return 2===(e=e.jsx)||4===e||5===e},ng.getJSXImplicitImportBase=function(e,n){return n=null==n?void 0:n.pragmas.get("jsximportsource"),n=ng.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},ng.getJSXRuntimeImport=function(e,n){return e?e+"/"+(5===n.jsx?"jsx-dev-runtime":"jsx-runtime"):void 0},ng.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},ng.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 ng.Map).set(e,n)},setSymlinkedDirectory:function(a,i){var o=ng.toPath(a,e,n);$b(o)||(o=ng.ensureTrailingDirectorySeparator(o),!1===i||null!=t&&t.has(o)||(r=r||ng.createMultiMap()).add(ng.ensureTrailingDirectorySeparator(i.realPath),a),(t=t||new ng.Map).set(o,i))},setSymlinkedDirectoryFromSymlinkedFile:function(t,r){this.setSymlinkedFile(ng.toPath(t,e,n),r),r=fb(r,t,e,n)||ng.emptyArray,t=r[0],r=r[1],t&&r&&this.setSymlinkedDirectory(r,{real:t,realPath:ng.toPath(t,e,n)})},setSymlinksFromResolutions:function(e,n){var t,r=this;ng.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,r=r.originalPath,t.setSymlinkedFile(ng.toPath(r,e,n),a),r=(a=fb(a,r,e,n)||ng.emptyArray)[0],a=a[1],r)&&a&&t.setSymlinkedDirectory(a,{real:r,realPath:ng.toPath(r,e,n)})}},ng.tryRemoveDirectoryPrefix=function(e,n,t){return void 0!==(e=ng.tryRemovePrefix(e,n,t))&&(n=e,ng.isAnyDirectorySeparator(n.charCodeAt(0)))?n.slice(1):void 0};var yb=/[^\w\s\/]/g;function hb(e){return"\\"+e}ng.regExpEscape=function(e){return e.replace(yb,hb)};var vb=[42,63],bb=(ng.commonPackageFolders=["node_modules","bower_components","jspm_packages"],"(?!("+ng.commonPackageFolders.join("|")+")(/|$))"),Eb={singleAsteriskRegexFragment:"([^./]|(\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:"(/"+bb+"[^/.][^/]*)*?",replaceWildcardCharacter:function(e){return Ib(e,Eb.singleAsteriskRegexFragment)}},Tb={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/"+bb+"[^/.][^/]*)*?",replaceWildcardCharacter:function(e){return Ib(e,Tb.singleAsteriskRegexFragment)}},Sb={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/.+?)?",replaceWildcardCharacter:function(e){return Ib(e,Sb.singleAsteriskRegexFragment)}},xb={files:Eb,directories:Tb,exclude:Sb};function Lb(e,n,t){if(e=Db(e,n,t),e&&e.length)return"^("+e.map((function(e){return"("+e+")"})).join("|")+")"+("exclude"===t?"($|/)":"$")}function Db(e,n,t){if(void 0!==e&&0!==e.length)return ng.flatMap(e,(function(e){return e&&Cb(e,n,t,xb[t])}))}function Ab(e){return!/[.*?]/.test(e)}function Cb(e,n,t,r){var a=r.singleAsteriskRegexFragment,i=r.doubleAsteriskRegexFragment,o=r.replaceWildcardCharacter,s="",c=!1;r=ng.getNormalizedPathComponents(e,n),e=ng.last(r);if("exclude"===t||"**"!==e){r[0]=ng.removeTrailingDirectorySeparator(r[0]),Ab(e)&&r.push("**","*");for(var l=0,u=0,d=r;u<d.length;u++){var p,m=d[u];"**"===m?s+=i:("directories"===t&&(s+="(",l++),c&&(s+=ng.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(yb,o))!==m&&(s+=bb),s+=p):s+=m.replace(yb,o)),c=!0}for(;0<l;)s+=")?",l--;return s}}function Ib(e,n){return"*"===e?n:"?"===e?"[^/]":"\\"+e}function Nb(e,n,t,r,a){return e=ng.normalizePath(e),a=ng.normalizePath(a),a=ng.combinePaths(a,e),{includeFilePatterns:ng.map(Db(t,a,"files"),(function(e){return"^"+e+"$"})),includeFilePattern:Lb(t,a,"files"),includeDirectoryPattern:Lb(t,a,"directories"),excludePattern:Lb(n,a,"exclude"),basePaths:function(e,n,t){var r=[e];if(n){for(var a=[],i=0,o=n;i<o.length;i++){var s=o[i];s=ng.isRootedDiskPath(s)?s:ng.normalizePath(ng.combinePaths(e,s));a.push(function(e){var n=ng.indexOfAnyCharCode(e,vb);return n<0?ng.hasExtension(e)?ng.removeTrailingDirectorySeparator(ng.getDirectoryPath(e)):e:e.substring(0,e.lastIndexOf(ng.directorySeparator,n))}(s))}a.sort(ng.getStringComparer(!t));for(var c=0,l=a;c<l.length;c++)!function(n){ng.every(r,(function(r){return!ng.containsPath(r,n,e,!t)}))&&r.push(n)}(l[c])}return r}(e,t,r)}}function kb(e,n){return new RegExp(e,n?"":"i")}function Rb(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}}ng.getRegularExpressionForWildcard=Lb,ng.getRegularExpressionsForWildcards=Db,ng.isImplicitGlob=Ab,ng.getPatternFromSpec=function(e,n,t){return(e=e&&Cb(e,n,t,xb[t]))&&"^("+e+")"+("exclude"===t?"($|/)":"$")},ng.getFileMatcherPatterns=Nb,ng.getRegexFromPattern=kb,ng.matchFiles=function(e,n,t,r,a,i,o,s,c,l){e=ng.normalizePath(e),i=ng.normalizePath(i);for(var u=(e=Nb(e,t,r,a,i)).includeFilePatterns&&e.includeFilePatterns.map((function(e){return kb(e,a)})),d=e.includeDirectoryPattern&&kb(e.includeDirectoryPattern,a),p=e.excludePattern&&kb(e.excludePattern,a),m=u?u.map((function(){return[]})):[[]],_=new ng.Map,f=ng.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=ng.combinePaths(t,e),i=ng.combinePaths(r,e);return n&&!ng.fileExtensionIsOneOf(a,n)||p&&p.test(i)?"continue":void(u?-1!==(e=ng.findIndex(u,(function(e){return e.test(i)})))&&m[e].push(a):m[0].push(a))}),g=0,y=ng.sort(o,ng.compareStringsCaseSensitive);g<y.length;g++){var h=y[g];l(h)}if(void 0===a||0!==--a)for(var v=0,b=ng.sort(i,ng.compareStringsCaseSensitive);v<b.length;v++){h=b[v];var E=ng.combinePaths(t,h),T=ng.combinePaths(r,h);d&&!d.test(T)||p&&p.test(T)||e(E,T,a)}}}(h,ng.combinePaths(i,h),o)}return ng.flatten(m)},ng.ensureScriptKind=function(e,n){return n||Rb(e)||3},ng.getScriptKindFromFileName=Rb,ng.supportedTSExtensions=[".ts",".tsx",".d.ts"],ng.supportedTSExtensionsWithJson=[".ts",".tsx",".d.ts",".json"],ng.supportedTSExtensionsForExtractExtension=[".d.ts",".ts",".tsx"],ng.supportedJSExtensions=[".js",".jsx"],ng.supportedJSAndJsonExtensions=[".js",".jsx",".json"];var Ob=$u($u([],ng.supportedTSExtensions,!0),ng.supportedJSExtensions,!0),Pb=$u($u($u([],ng.supportedTSExtensions,!0),ng.supportedJSExtensions,!0),[".json"],!1);function wb(e,n){var t=e&&mb(e);return n&&0!==n.length?(e=$u($u([],t?Ob:ng.supportedTSExtensions,!0),ng.mapDefined(n,(function(e){return 7===e.scriptKind||t&&(1===(n=e.scriptKind)||2===n)?e.extension:void 0;var n})),!0),ng.deduplicate(e,ng.equateStringsCaseSensitive,ng.compareStringsCaseSensitive)):t?Ob:ng.supportedTSExtensions}function Mb(e,n){return e&&e.resolveJsonModule?n===Ob?Pb:n===ng.supportedTSExtensions?ng.supportedTSExtensionsWithJson:$u($u([],n,!0),[".json"],!1):n}function Fb(e){return e=e.match(/\//g),e?e.length:0}function Gb(e,n){return e<2?0:e<n.length?2:n.length}ng.getSupportedExtensions=wb,ng.getSuppoertedExtensionsWithJsonIfResolveJsonModule=Mb,ng.hasJSFileExtension=function(e){return ng.some(ng.supportedJSExtensions,(function(n){return ng.fileExtensionIs(e,n)}))},ng.hasTSFileExtension=function(e){return ng.some(ng.supportedTSExtensions,(function(n){return ng.fileExtensionIs(e,n)}))},ng.isSupportedSourceFileName=function(e,n,t){if(e)for(var r=0,a=Mb(n,wb(n,t));r<a.length;r++){var i=a[r];if(ng.fileExtensionIs(e,i))return!0}return!1},ng.compareNumberOfDirectorySeparators=function(e,n){return ng.compareValues(Fb(e),Fb(n))},(om=ng.ExtensionPriority||(ng.ExtensionPriority={}))[om.TypeScriptFiles=0]="TypeScriptFiles",om[om.DeclarationAndJavaScriptFiles=2]="DeclarationAndJavaScriptFiles",om[om.Highest=0]="Highest",om[om.Lowest=2]="Lowest",ng.getExtensionPriority=function(e,n){for(var t=n.length-1;0<=t;t--)if(ng.fileExtensionIs(e,n[t]))return Gb(t,n);return 0},ng.adjustExtensionPriority=Gb,ng.getNextLowestExtensionPriority=function(e,n){return e<2?2:n.length};var Bb=[".d.ts",".ts",".js",".tsx",".jsx",".json"];function Ub(e){for(var n=0,t=Bb;n<t.length;n++){var r=Vb(e,t[n]);if(void 0!==r)return r}return e}function Vb(e,n){return ng.fileExtensionIs(e,n)?jb(e,n):void 0}function jb(e,n){return e.substring(0,e.length-n.length)}function Kb(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 Hb(e){return!(0<=e)}function Wb(e){return".ts"===e||".tsx"===e||".d.ts"===e}function zb(e){return ng.find(Bb,(function(n){return ng.fileExtensionIs(e,n)}))}function Jb(e,n){return e===n||"object"==typeof e&&null!==e&&"object"==typeof n&&null!==n&&ng.equalOwnProperties(e,n,Jb)}function qb(e,n){return e.pos=n,e}function Xb(e,n){return e.end=n,e}function Yb(e,n,t){return Xb(qb(e,n),t)}function Qb(e,n){return e&&n&&(e.parent=n),e}function Zb(e){return!ng.isOmittedExpression(e)}function $b(e){return ng.some(ng.ignoredPaths,(function(n){return ng.stringContains(e,n)}))}function eE(e,n){var t=8&e?nE:tE,r=de.memoize((function(){return 1&e?de.nullParenthesizerRules:de.createParenthesizerRules(f)})),a=de.memoize((function(){return 2&e?de.nullNodeConverters:de.createNodeConverters(f)})),i=de.memoizeOne((function(e){return function(n,t){return Ln(n,e,t)}})),o=de.memoizeOne((function(e){return function(n){return Sn(e,n)}})),s=de.memoizeOne((function(e){return function(n){return xn(n,e)}})),c=de.memoizeOne((function(e){return function(){return y(e)}})),l=de.memoizeOne((function(e){return function(n){return Kt(e,n)}})),u=de.memoizeOne((function(e){return function(n,r){return a=e,r=r,(n=n).type!==r?t(Kt(a,r),n):n;var a}})),d=de.memoizeOne((function(e){return function(n,t){return lr(e,n,t)}})),p=de.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=de.memoizeOne((function(e){return function(n,t,r){return ur(e,n,t,r)}})),_=de.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(ur(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(de.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(de.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),de.Debug.assert(!(7&n),"Argument out of range: flags"),de.Debug.assert(32!=(48&n),"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic"),M(e,3|n)},getGeneratedNameForNode:B,createPrivateIdentifier:function(e){de.startsWith(e,"#")||de.Debug.fail("First character of private identifier must be #: "+e);var t=n.createBasePrivateIdentifierNode(80);return t.escapedText=de.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:ue,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):de.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 de.setEmitFlags($e(e,n),131072)}:$e,updatePropertyAccessExpression:function(e,n,r){return de.isPropertyAccessChain(e)?nn(e,n,e.questionDotToken,de.cast(r,de.isIdentifier)):e.expression!==n||e.name!==r?t($e(n,r),e):e},createPropertyAccessChain:4&e?function(e,n,t){return de.setEmitFlags(en(e,n,t),131072)}:en,updatePropertyAccessChain:nn,createElementAccessExpression:tn,updateElementAccessExpression:function(e,n,r){return de.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 de.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:un,updateTaggedTemplateExpression:function(e,n,r,a){return e.tag!==n||e.typeArguments!==r||e.template!==a?t(un(n,r,a),e):e},createTypeAssertion:dn,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:ut,updateVariableDeclaration:function(e,n,r,a,i){return e.name!==n||e.type!==a||e.exclamationToken!==r||e.initializer!==i?t(ut(n,r,a,i),e):e},createVariableDeclarationList:dt,updateVariableDeclarationList:function(e,n){return e.declarations!==n?t(dt(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 u(310)},get createJSDocNullableType(){return l(309)},get updateJSDocNullableType(){return u(309)},get createJSDocOptionalType(){return l(311)},get updateJSDocOptionalType(){return u(311)},get createJSDocVariadicType(){return l(313)},get updateJSDocVariadicType(){return u(313)},get createJSDocNamepathType(){return l(314)},get updateJSDocNamepathType(){return u(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 d(325)},get updateJSDocAuthorTag(){return p(325)},get createJSDocClassTag(){return d(327)},get updateJSDocClassTag(){return p(327)},get createJSDocPublicTag(){return d(328)},get updateJSDocPublicTag(){return p(328)},get createJSDocPrivateTag(){return d(329)},get updateJSDocPrivateTag(){return p(329)},get createJSDocProtectedTag(){return d(330)},get updateJSDocProtectedTag(){return p(330)},get createJSDocReadonlyTag(){return d(331)},get updateJSDocReadonlyTag(){return p(331)},get createJSDocOverrideTag(){return d(332)},get updateJSDocOverrideTag(){return p(332)},get createJSDocDeprecatedTag(){return d(326)},get updateJSDocDeprecatedTag(){return p(326)},createJSDocUnknownTag:dr,updateJSDocUnknownTag:function(e,n,r){return e.tagName!==n||e.comment!==r?t(dr(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?function(e,n){return 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?function(e,n){return 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|=oE(a.statements)|iE(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(function(e,t,r,a,i,o,s){var c,l=n.createBaseSourceFileNode(300);for(c in e)"emitNode"!==c&&!de.hasProperty(l,c)&&de.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=oE(l.statements)|iE(l.endOfFileToken),l}(e,r,a,i,o,s,c),e):e},createBundle:Rr,updateBundle:function(e,n,r){return void 0===r&&(r=de.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=de.emptyArray,r.libReferenceDirectives=de.emptyArray,r.getLineAndCharacterOfPosition=function(e){return de.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,de.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",$u([n],t,!0))},createFunctionCallCall:function(e,n,t){return Vr(e,"call",$u([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,de.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=de.skipOuterExpressions(e,15);return de.isSuperProperty(s)?(i=j(),o=s):de.isSuperKeyword(s)?(i=j(),o=void 0!==t&&t<2?de.setTextRange(F("_super"),s):s):4096&de.getEmitFlags(s)?(i=Ur(),o=r().parenthesizeLeftSideOfAccess(s)):de.isPropertyAccessExpression(s)?zr(s.expression,a)?(i=G(n),o=$e(de.setTextRange(f.createAssignment(i,s.expression),s.expression),s.name),de.setTextRange(o,s)):(i=s.expression,o=s):de.isElementAccessExpression(s)?zr(s.expression,a)?(i=G(n),o=tn(de.setTextRange(f.createAssignment(i,s.expression),s.expression),s.argumentExpression),de.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):de.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&&de.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&&de.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,de.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 de.findUseStrictPrologue(e)?e:de.setTextRange(g($u([Yr()],e,!0)),e)},liftToBlock:function(e){return de.Debug.assert(de.every(e,de.isStatementOrBlock),"Cannot lift nodes to a Block."),de.singleOrUndefined(e)||Hn(e)},mergeLexicalEnvironment:function(e,n){if(de.some(n)){var t=$r(e,de.isPrologueDirective,0),r=$r(e,de.isHoistedFunction,t),a=$r(e,de.isHoistedVariableStatement,r),i=$r(n,de.isPrologueDirective,0),o=$r(n,de.isHoistedFunction,i),s=$r(n,de.isHoistedVariableStatement,o),c=$r(n,de.isCustomPrologue,s),l=(de.Debug.assert(c===n.length,"Expected declarations to be valid standard or custom prologues"),de.isNodeArray(e)?e.slice():e);if(s<c&&l.splice.apply(l,$u([a,0],n.slice(s,c),!1)),o<s&&l.splice.apply(l,$u([r,0],n.slice(o,s),!1)),i<o&&l.splice.apply(l,$u([t,0],n.slice(i,o),!1)),0<i)if(0===t)l.splice.apply(l,$u([0,0],n.slice(0,i),!1));else{for(var u=new de.Map,d=0;d<t;d++){var p=e[d];u.set(p.expression.text,!0)}for(d=i-1;0<=d;d--){var m=n[d];u.has(m.expression.text)||l.unshift(m)}}if(de.isNodeArray(e))return de.setTextRange(g(l,e.hasTrailingComma),e)}return e},updateModifiers:function(e,n){var t;return"number"==typeof n&&(n=z(n)),de.isParameter(e)?Q(e,e.decorators,n,e.dotDotDotToken,e.name,e.questionToken,e.type,e.initializer):de.isPropertySignature(e)?ee(e,n,e.name,e.questionToken,e.type):de.isPropertyDeclaration(e)?te(e,e.decorators,n,e.name,null!=(t=e.questionToken)?t:e.exclamationToken,e.type,e.initializer):de.isMethodSignature(e)?ae(e,n,e.name,e.questionToken,e.typeParameters,e.parameters,e.type):de.isMethodDeclaration(e)?oe(e,e.decorators,n,e.asteriskToken,e.name,e.questionToken,e.typeParameters,e.parameters,e.type,e.body):de.isConstructorDeclaration(e)?le(e,e.decorators,n,e.parameters,e.body):de.isGetAccessorDeclaration(e)?fe(e,e.decorators,n,e.name,e.parameters,e.type,e.body):de.isSetAccessorDeclaration(e)?ye(e,e.decorators,n,e.name,e.parameters,e.body):de.isIndexSignatureDeclaration(e)?Ee(e,e.decorators,n,e.parameters,e.type):de.isFunctionExpression(e)?gn(e,n,e.asteriskToken,e.name,e.typeParameters,e.parameters,e.type,e.body):de.isArrowFunction(e)?hn(e,n,e.typeParameters,e.parameters,e.type,e.equalsGreaterThanToken,e.body):de.isClassExpression(e)?Pn(e,e.decorators,n,e.name,e.typeParameters,e.heritageClauses,e.members):de.isVariableStatement(e)?zn(e,n,e.declarationList):de.isFunctionDeclaration(e)?mt(e,e.decorators,n,e.asteriskToken,e.name,e.typeParameters,e.parameters,e.type,e.body):de.isClassDeclaration(e)?ft(e,e.decorators,n,e.name,e.typeParameters,e.heritageClauses,e.members):de.isInterfaceDeclaration(e)?yt(e,e.decorators,n,e.name,e.typeParameters,e.heritageClauses,e.members):de.isTypeAliasDeclaration(e)?vt(e,e.decorators,n,e.name,e.typeParameters,e.type):de.isEnumDeclaration(e)?Et(e,e.decorators,n,e.name,e.members):de.isModuleDeclaration(e)?St(e,e.decorators,n,e.name,e.body):de.isImportEqualsDeclaration(e)?Ct(e,e.decorators,n,e.isTypeOnly,e.name,e.moduleReference):de.isImportDeclaration(e)?Nt(e,e.decorators,n,e.importClause,e.moduleSpecifier):de.isExportAssignment(e)?Ft(e,e.decorators,n,e.expression):de.isExportDeclaration(e)?Bt(e,e.decorators,n,e.isTypeOnly,e.exportClause,e.moduleSpecifier):de.Debug.assertNever(e)}};return f;function g(e,n){if(void 0===e||e===de.emptyArray)e=[];else if(de.isNodeArray(e))return void 0===n||e.hasTrailingComma===n?(void 0===e.transformFlags&&sE(e),de.Debug.attachNodeArrayDebugInfo(e),e):((t=e.slice()).pos=e.pos,t.end=e.end,t.hasTrailingComma=n,t.transformFlags=e.transformFlags,de.Debug.attachNodeArrayDebugInfo(t),t);var t=e.length;t=1<=t&&t<=4?e.slice():e;return de.setTextRangePosEnd(t,-1,-1),t.hasTrailingComma=!!n,sE(t),de.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|=oE(e.decorators)|oE(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(de.isIdentifier(r)){a.transformFlags|=aE(r);break}default:a.transformFlags|=iE(r)}return a}function b(e,n,t,r,a){return e=v(e,n,t,r),e.typeParameters=ea(a),e.transformFlags|=oE(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|=oE(e.parameters)|iE(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&iE(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|=oE(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|=oE(e.members),e}function A(e,n,t,r,a){return e=v(e,n,t,r),e.initializer=a,e.transformFlags|=iE(e.initializer),e}function C(e,n,t,r,a,i){return e=A(e,n,t,r,i),e.type=a,e.transformFlags|=iE(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:de.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?de.stringToToken(e):t)&&(t=void 0);var r=n.createBaseIdentifierNode(79);return r.originalKeywordKind=t,r.escapedText=de.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 de.Debug.assert(!(7&(n=void 0===n?0:n)),"Argument out of range: flags"),n=M(e&&de.isIdentifier(e)?de.idText(e):"",4|n),n.original=e,n}function U(e){return n.createBaseTokenNode(e)}function V(e){de.Debug.assert(0<=e&&e<=158,"Invalid token"),de.Debug.assert(e<=14||17<=e,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."),de.Debug.assert(e<=8||14<=e,"Invalid token. Use 'createLiteralLikeNode' to create literals."),de.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|=iE(t.left)|aE(t.right),t}function q(e){var n=y(160);return n.expression=r().parenthesizeExpressionOfComputedPropertyName(e),n.transformFlags|=66048|iE(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,de.isThisIdentifier(e.name)?e.transformFlags=1:(e.transformFlags|=iE(e.dotDotDotToken)|iE(e.questionToken),i&&(e.transformFlags|=1),16476&de.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|iE(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&&de.isQuestionToken(r)?r:void 0,e.exclamationToken=r&&de.isExclamationToken(r)?r:void 0,e.transformFlags|=iE(e.questionToken)|iE(e.exclamationToken)|8388608,(de.isComputedPropertyName(e.name)||de.hasStaticModifier(e)&&e.initializer)&&(e.transformFlags|=4096),(r||2&de.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&&de.isQuestionToken(i)?i:void 0)||e.exclamationToken!==(void 0!==i&&de.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|=iE(e.asteriskToken)|iE(e.questionToken)|512,a&&(e.transformFlags|=1),256&de.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|iE(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 ue(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(ue(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):de.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|oE(n.elements),16384&n.transformFlags&&(n.transformFlags|=32832),n}function qe(e){var n=y(200);return n.elements=g(e),n.transformFlags|=262656|oE(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|iE(t.dotDotDotToken),t.propertyName&&(t.transformFlags|=(de.isIdentifier(t.propertyName)?aE:iE)(t.propertyName)),e&&(t.transformFlags|=16384),t}function Ye(e){return y(e)}function Qe(e,n){var t=Ye(202),a=e&&de.lastOrUndefined(e);e=g(e,!(!a||!de.isOmittedExpression(a))||void 0);return t.elements=r().parenthesizeExpressionsOfCommaDelimitedList(e),t.multiLine=n,t.transformFlags|=oE(t.elements),t}function Ze(e,n){var t=Ye(203);return t.properties=g(e),t.multiLine=n,t.transformFlags|=oE(t.properties),t}function $e(e,n){var t=Ye(204);return t.expression=r().parenthesizeLeftSideOfAccess(e),t.name=na(n),t.transformFlags=iE(t.expression)|(de.isIdentifier(t.name)?aE:iE)(t.name),de.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|iE(a.expression)|iE(a.questionDotToken)|(de.isIdentifier(a.name)?aE:iE)(a.name),a}function nn(e,n,r,a){return de.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|=iE(t.expression)|iE(t.argumentExpression),de.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|=iE(a.expression)|iE(a.questionDotToken)|iE(a.argumentExpression)|16,a}function an(e,n,r,a){return de.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|=iE(a.expression)|oE(a.typeArguments)|oE(a.arguments),a.typeArguments&&(a.transformFlags|=1),de.isImportKeyword(a.expression)?a.transformFlags|=4194304:de.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|=iE(i.expression)|iE(i.questionDotToken)|oE(i.typeArguments)|oE(i.arguments)|16,i.typeArguments&&(i.transformFlags|=1),de.isSuperProperty(i.expression)&&(i.transformFlags|=8192),i}function cn(e,n,r,a,i){return de.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|=iE(a.expression)|oE(a.typeArguments)|oE(a.arguments)|16,a.typeArguments&&(a.transformFlags|=1),a}function un(e,n,t){var a=Ye(208);return a.tag=r().parenthesizeLeftSideOfAccess(e),a.typeArguments=ea(n),a.template=t,a.transformFlags|=iE(a.tag)|oE(a.typeArguments)|iE(a.template)|512,a.typeArguments&&(a.transformFlags|=1),de.hasInvalidEscape(a.template)&&(a.transformFlags|=64),a}function dn(e,n){var t=Ye(209);return t.expression=r().parenthesizeOperandOfPrefixUnary(n),t.type=e,t.transformFlags|=iE(t.expression)|iE(t.type)|1,t}function pn(e,n,r){return e.type!==n||e.expression!==r?t(dn(n,r),e):e}function mn(e){var n=Ye(210);return n.expression=e,n.transformFlags=iE(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|=iE(e.asteriskToken),e.typeParameters&&(e.transformFlags|=1),256&de.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|iE(e.equalsGreaterThanToken),256&de.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|=iE(n.expression),n}function bn(e){var n=Ye(214);return n.expression=r().parenthesizeOperandOfPrefixUnary(e),n.transformFlags|=iE(n.expression),n}function En(e){var n=Ye(215);return n.expression=r().parenthesizeOperandOfPrefixUnary(e),n.transformFlags|=iE(n.expression),n}function Tn(e){var n=Ye(216);return n.expression=r().parenthesizeOperandOfPrefixUnary(e),n.transformFlags|=1048768|iE(n.expression),n}function Sn(e,n){var t=Ye(217);return t.operator=e,t.operand=r().parenthesizeOperandOfPrefixUnary(n),t.transformFlags|=iE(t.operand),45!==e&&46!==e||!de.isIdentifier(t.operand)||de.isGeneratedIdentifier(t.operand)||de.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|=iE(t.operand),!de.isIdentifier(t.operand)||de.isGeneratedIdentifier(t.operand)||de.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|=iE(a.left)|iE(a.operatorToken)|iE(a.right),60===i?a.transformFlags|=16:63===i?de.isObjectLiteralExpression(a.left)?a.transformFlags|=2624|Dn(a.left):de.isArrayLiteralExpression(a.left)&&(a.transformFlags|=2560|Dn(a.left)):42===i||67===i?a.transformFlags|=256:de.isLogicalOrCoalescingAssignmentOperator(i)&&(a.transformFlags|=8),a}function Dn(e){if(32768&e.transformFlags)return 32768;if(64&e.transformFlags)for(var n=0,t=de.getElementsOfBindingOrAssignmentPattern(e);n<t.length;n++){var r=t[n];r=de.getTargetOfBindingOrAssignmentElement(r);if(r&&de.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|=iE(o.condition)|iE(o.questionToken)|iE(o.whenTrue)|iE(o.colonToken)|iE(o.whenFalse),o}function Cn(e,n){var t=Ye(221);return t.head=e,t.templateSpans=g(n),t.transformFlags|=iE(t.head)|oE(t.templateSpans)|512,t}function In(e,n,t,r){de.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=function(e,n){switch(pe=pe||de.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 de.Debug.fail("Invalid raw text");if(void 0===n){if(void 0===a)return de.Debug.fail("Arguments 'text' and 'rawText' may not both be undefined.");n=a}else void 0!==a&&de.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){de.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|=iE(t.expression)|iE(t.asteriskToken)|524864,t}function Rn(e){var n=Ye(223);return n.expression=r().parenthesizeExpressionForDisallowedComma(e),n.transformFlags|=16896|iE(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|=iE(t.expression)|oE(t.typeArguments)|512,t}function Mn(e,n){var t=Ye(227);return t.expression=e,t.type=n,t.transformFlags|=iE(t.expression)|iE(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|iE(n.expression),n}function Bn(e,n){return de.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|iE(n.expression),n}function Vn(e,n){return de.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|=iE(t.name),e){case 103:t.transformFlags|=512;break;case 100:t.transformFlags|=4;break;default:return de.Debug.assertNever(e)}return t}function Kn(e,n){var t=y(231);return t.expression=e,t.literal=n,t.transformFlags|=iE(t.expression)|iE(t.literal)|512,t}function Hn(e,n){var t=y(233);return t.statements=g(e),t.multiLine=n,t.transformFlags|=oE(t.statements),t}function Wn(e,n){return e=h(235,void 0,e),e.declarationList=de.isArray(n)?dt(n):n,e.transformFlags|=iE(e.declarationList),2&de.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|=iE(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|=iE(r.expression)|iE(r.thenStatement)|iE(r.elseStatement),r}function Yn(e,n){var t=y(238);return t.statement=ra(e),t.expression=n,t.transformFlags|=iE(t.statement)|iE(t.expression),t}function Qn(e,n){var t=y(239);return t.expression=e,t.statement=ra(n),t.transformFlags|=iE(t.expression)|iE(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|=iE(a.initializer)|iE(a.condition)|iE(a.incrementor)|iE(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|=iE(r.initializer)|iE(r.expression)|iE(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|=iE(i.awaitModifier)|iE(i.initializer)|iE(i.expression)|iE(i.statement)|512,e&&(i.transformFlags|=64),i}function nt(e){var n=y(243);return n.label=na(e),n.transformFlags|=2097152|iE(n.label),n}function tt(e){var n=y(244);return n.label=na(e),n.transformFlags|=2097152|iE(n.label),n}function rt(e){var n=y(245);return n.expression=e,n.transformFlags|=2097216|iE(n.expression),n}function at(e,n){var t=y(246);return t.expression=e,t.statement=ra(n),t.transformFlags|=iE(t.expression)|iE(t.statement),t}function it(e,n){var t=y(247);return t.expression=r().parenthesizeExpressionForDisallowedComma(e),t.caseBlock=n,t.transformFlags|=iE(t.expression)|iE(t.caseBlock),t}function ot(e,n){var t=y(248);return t.label=na(e),t.statement=ra(n),t.transformFlags|=iE(t.label)|iE(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|=iE(n.expression),n}function lt(e,n,t){var r=y(250);return r.tryBlock=e,r.catchClause=n,r.finallyBlock=t,r.transformFlags|=iE(r.tryBlock)|iE(r.catchClause)|iE(r.finallyBlock),r}function ut(e,n,t,a){return e=C(252,void 0,void 0,e,t,a&&r().parenthesizeExpressionForDisallowedComma(a)),e.exclamationToken=n,e.transformFlags|=iE(e.exclamationToken),n&&(e.transformFlags|=1),e}function dt(e,n){void 0===n&&(n=0);var t=y(253);return t.flags|=3&n,t.declarations=g(e),t.transformFlags|=2097152|oE(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&de.modifiersToFlags(e.modifiers)?e.transformFlags=1:(e.transformFlags|=2097152|iE(e.asteriskToken),256&de.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&de.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|oE(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&de.modifiersToFlags(e.modifiers)?e.transformFlags=1:e.transformFlags|=iE(e.name)|iE(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|=oE(n.statements),n}function Lt(e){var n=y(261);return n.clauses=g(e),n.transformFlags|=oE(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|=iE(e.moduleReference),de.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|=iE(e.importClause)|iE(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|=iE(r.name)|iE(r.namedBindings),e&&(r.transformFlags|=1),r.transformFlags&=-16777217,r}function Rt(e){var n=y(266);return n.name=e,n.transformFlags|=iE(n.name),n.transformFlags&=-16777217,n}function Ot(e){var n=y(272);return n.name=e,n.transformFlags|=4|iE(n.name),n.transformFlags&=-16777217,n}function Pt(e){var n=y(267);return n.elements=g(e),n.transformFlags|=oE(n.elements),n.transformFlags&=-16777217,n}function wt(e,n){var t=y(268);return t.propertyName=e,t.name=n,t.transformFlags|=iE(t.propertyName)|iE(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|=iE(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|=iE(e.exportClause)|iE(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|=oE(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|=iE(t.propertyName)|iE(t.name),t.transformFlags&=-16777217,t}function jt(e){var n=y(275);return n.expression=e,n.transformFlags|=iE(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=rE(e.kind);return e.tagName.escapedText===de.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=de.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=de.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|=iE(t.left)|iE(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(rE(e)),t)}function ur(e,n,t,r){return n=Xt(e,null!=n?n:F(rE(e)),r),n.typeExpression=t,n}function dr(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|=iE(r.openingElement)|oE(r.children)|iE(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|=iE(r.tagName)|oE(r.typeArguments)|iE(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|=iE(r.tagName)|oE(r.typeArguments)|iE(r.attributes)|2,n&&(r.transformFlags|=1),r}function yr(e){var n=y(279);return n.tagName=e,n.transformFlags|=2|iE(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|=iE(r.openingFragment)|oE(r.children)|iE(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|=iE(t.name)|iE(t.initializer)|2,t}function Er(e){var n=y(284);return n.properties=g(e),n.transformFlags|=2|oE(n.properties),n}function Tr(e){var n=y(285);return n.expression=e,n.transformFlags|=2|iE(n.expression),n}function Sr(e,n){var t=y(286);return t.dotDotDotToken=e,t.expression=n,t.transformFlags|=iE(t.dotDotDotToken)|iE(t.expression)|2,t}function xr(e,n){var t=y(287);return t.expression=r().parenthesizeExpressionForDisallowedComma(e),t.statements=g(n),t.transformFlags|=iE(t.expression)|oE(t.statements),t}function Lr(e){var n=y(288);return n.statements=g(e),n.transformFlags=oE(n.statements),n}function Dr(e,n){var t=y(289);switch(t.token=e,t.types=g(n),t.transformFlags|=oE(t.types),e){case 94:t.transformFlags|=512;break;case 117:t.transformFlags|=1;break;default:return de.Debug.assertNever(e)}return t}function Ar(e,n){var t=y(290);return e=de.isString(e)?ut(e,void 0,void 0,void 0):e,t.variableDeclaration=e,t.block=n,t.transformFlags|=iE(t.variableDeclaration)|iE(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|=iE(e.name)|iE(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|iE(e.objectAssignmentInitializer),e}function Nr(e){var n=y(293);return n.expression=r().parenthesizeExpressionForDisallowedComma(e),n.transformFlags|=32832|iE(n.expression),n}function kr(e,n){var t=y(294);return t.name=na(e),t.initializer=n&&r().parenthesizeExpressionForDisallowedComma(n),t.transformFlags|=iE(t.name)|iE(t.initializer)|1,t}function Rr(e,n){void 0===n&&(n=de.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|iE(t.expression),de.setTextRange(t,n),t}function wr(e,n){return e.expression!==n?t(Pr(n,e.original),e):e}function Mr(e){if(de.nodeIsSynthesized(e)&&!de.isParseTreeNode(e)&&!e.original&&!e.emitNode&&!e.id){if(de.isCommaListExpression(e))return e.elements;if(de.isBinaryExpression(e)&&de.isCommaToken(e.operatorToken))return[e.left,e.right]}return e}function Fr(e){var n=y(346);return n.elements=g(de.sameFlatMap(e,Mr)),n.transformFlags|=oE(n.elements),n}function Gr(e,n){var t=y(349);return t.expression=e,t.thisArg=n,t.transformFlags|=iE(t.expression)|iE(t.thisArg),t}function Br(e){if(void 0===e)return e;var t,r=de.isSourceFile(e)?n.createBaseSourceFileNode(300):de.isIdentifier(e)?n.createBaseIdentifierNode(79):de.isPrivateIdentifier(e)?n.createBasePrivateIdentifierNode(80):de.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 de.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 de.isParenthesizedExpression(e)&&de.nodeIsSynthesized(e)&&de.nodeIsSynthesized(de.getSourceMapRange(e))&&de.nodeIsSynthesized(de.getCommentRange(e))&&!de.some(de.getSyntheticLeadingComments(e))&&!de.some(de.getSyntheticTrailingComments(e))}function zr(e,n){var t=de.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=de.getNameOfDeclaration(e);return i&&de.isIdentifier(i)&&!de.isGeneratedIdentifier(i)?(a=de.setParent(de.setTextRange(Br(i),i),i.parent),r|=de.getEmitFlags(i),t||(r|=48),n||(r|=1536),r&&de.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,de.nodeIsSynthesized(n)?n:Br(n)),de.setTextRange(e,n),n=0,r||(n|=48),t||(n|=1536),n&&de.setEmitFlags(e,n),e}function Yr(){return de.startOnNewLine(qn(O("use strict")))}function Qr(e,n,t){de.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(!de.isPrologueDirective(s))break;r=s,de.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=de.returnTrue);for(var i=e.length;void 0!==t&&t<i;){var o=e[t];if(!(1048576&de.getEmitFlags(o)&&a(o)))break;de.append(n,r?de.visitNode(o,r,de.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&&de.isNotEmittedStatement(e)?de.setTextRange(uE(Jn(),e),e):e}}function nE(e,n){return e!==n&&de.setTextRange(e,n),e}function tE(e,n){return e!==n&&(uE(e,n),de.setTextRange(e,n)),e}function rE(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 de.Debug.fail("Unsupported kind: "+de.Debug.formatSyntaxKind(e))}}function aE(e){return-16777217&iE(e)}function iE(e){var n;return e?(n=e.transformFlags&~cE(e.kind),de.isNamedDeclaration(e)&&de.isPropertyName(e.name)?(e=e.name,n|33562624&e.transformFlags):n):0}function oE(e){return e?e.transformFlags:0}function sE(e){for(var n=0,t=0,r=e;t<r.length;t++)n|=iE(r[t]);e.transformFlags=n}function cE(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 lE(e){return e.flags|=8,e}function uE(e,n){return(e.original=n)&&(n=n.emitNode)&&(e.emitNode=function(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=de.addRange(r.slice(),n.leadingComments)),a&&(n.trailingComments=de.addRange(a.slice(),n.trailingComments)),t&&(n.flags=-268435457&t),i&&(n.commentRange=i),o&&(n.sourceMapRange=o),s&&(n.tokenSourceMapRanges=function(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 u=0,d=l;u<d.length;u++){var p=d[u];n.helpers=de.appendIfUnique(n.helpers,p)}return void 0!==e&&(n.startsOnNewLine=e),n}(n,e.emitNode)),e}function dE(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]};dE(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 pE(e){return null==(e=e.emitNode)?void 0:e.leadingComments}function mE(e,n){return dE(e).leadingComments=n,e}function _E(e){return null==(e=e.emitNode)?void 0:e.trailingComments}function fE(e,n){return dE(e).trailingComments=n,e}function gE(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 yE(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 hE(e,n){return e=be.parseNodeFactory.createIdentifier(e||"React"),be.setParent(e,be.getParseTreeNode(n)),e}function vE(e,n,t){var r,a;return be.isQualifiedName(n)?(r=vE(e,n.left,t),(a=e.createIdentifier(be.idText(n.right))).escapedText=n.right.escapedText,e.createPropertyAccessExpression(r,a)):hE(be.idText(n),t)}function bE(e,n,t,r){return n?vE(e,n,r):e.createPropertyAccessExpression(hE(t,r),"createElement")}function EE(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 TE(e){return be.isStringLiteral(e.expression)&&"use strict"===e.expression.text}function SE(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 xE(e,n){for(void 0===n&&(n=15);SE(e,n);)e=e.expression;return e}function LE(e){return be.setStartsOnNewLine(e,!0)}function DE(e){return e=be.getOriginalNode(e,be.isSourceFile),e=e&&e.emitNode,e&&e.externalHelpersModuleName}function AE(e,n,t,r,a){if(t.importHelpers&&be.isEffectiveExternalModule(n,t)){var i=DE(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 CE(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 IE(e){if(be.isDeclarationBindingElement(e))return e.name;if(!be.isObjectLiteralElementLike(e))return be.isAssignmentExpression(e,!0)?IE(e.left):be.isSpreadElement(e)?IE(e.expression):e;switch(e.kind){case 291:return IE(e.initializer);case 292:return e.name;case 293:return IE(e.expression)}}function NE(e){switch(e.kind){case 201:if(e.propertyName)return n=e.propertyName,be.isPrivateIdentifier(n)?be.Debug.failBadSyntaxKind(n):be.isComputedPropertyName(n)&&kE(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)&&kE(n.expression)?n.expression:n;break;case 293:return e.name&&be.isPrivateIdentifier(e.name)?be.Debug.failBadSyntaxKind(e.name):e.name}var t=IE(e);if(t&&be.isPropertyName(t))return t}function kE(e){return e=e.kind,10===e||8===e}function RE(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 OE(e,n,t,r,a,i,o){var s=0<n?a[n-1]:void 0;return be.Debug.assertEqual(t[n],OE),a[n]=e.onEnter(r[n],s,o),t[n]=BE(e,OE),n}function PE(e,n,t,r,a,i,o){return be.Debug.assertEqual(t[n],PE),be.Debug.assertIsDefined(e.onLeft),t[n]=BE(e,PE),e=e.onLeft(r[n].left,a[n],r[n]),e?(VE(n,r,e),UE(n,t,r,a,e)):n}function wE(e,n,t,r,a,i,o){return be.Debug.assertEqual(t[n],wE),be.Debug.assertIsDefined(e.onOperator),t[n]=BE(e,wE),e.onOperator(r[n].operatorToken,a[n],r[n]),n}function ME(e,n,t,r,a,i,o){return be.Debug.assertEqual(t[n],ME),be.Debug.assertIsDefined(e.onRight),t[n]=BE(e,ME),e=e.onRight(r[n].right,a[n],r[n]),e?(VE(n,r,e),UE(n,t,r,a,e)):n}function FE(e,n,t,r,a,i,o){return be.Debug.assertEqual(t[n],FE),t[n]=BE(e,FE),r=e.onExit(r[n],a[n]),0<n?(n--,e.foldState&&(t=t[n]===FE?"right":"left",a[n]=e.foldState(a[n],r,t))):i.value=r,n}function GE(e,n,t,r,a,i,o){return be.Debug.assertEqual(t[n],GE),n}function BE(e,n){switch(n){case OE:if(e.onLeft)return PE;case PE:if(e.onOperator)return wE;case wE:if(e.onRight)return ME;case ME:return FE;case FE:case GE:return GE;default:be.Debug.fail("Invalid state")}}function UE(e,n,t,r,a){return n[++e]=OE,t[e]=a,r[e]=void 0,e}function VE(e,n,t){if(be.Debug.shouldAssert(2))for(;0<=e;)be.Debug.assert(n[e]!==t,"Circular traversal detected."),e--}function jE(e,n){return n&&e(n)}function KE(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 HE(e,n){return 42===e.charCodeAt(n+1)&&42===e.charCodeAt(n+2)&&47!==e.charCodeAt(n+3)}function WE(e,n,t){if(e&&!(e.kind<=158))switch(e.kind){case 159:return jE(n,e.left)||jE(n,e.right);case 161:return jE(n,e.name)||jE(n,e.constraint)||jE(n,e.default)||jE(n,e.expression);case 292:return KE(n,t,e.decorators)||KE(n,t,e.modifiers)||jE(n,e.name)||jE(n,e.questionToken)||jE(n,e.exclamationToken)||jE(n,e.equalsToken)||jE(n,e.objectAssignmentInitializer);case 293:return jE(n,e.expression);case 162:return KE(n,t,e.decorators)||KE(n,t,e.modifiers)||jE(n,e.dotDotDotToken)||jE(n,e.name)||jE(n,e.questionToken)||jE(n,e.type)||jE(n,e.initializer);case 165:return KE(n,t,e.decorators)||KE(n,t,e.modifiers)||jE(n,e.name)||jE(n,e.questionToken)||jE(n,e.exclamationToken)||jE(n,e.type)||jE(n,e.initializer);case 164:return KE(n,t,e.decorators)||KE(n,t,e.modifiers)||jE(n,e.name)||jE(n,e.questionToken)||jE(n,e.type)||jE(n,e.initializer);case 291:return KE(n,t,e.decorators)||KE(n,t,e.modifiers)||jE(n,e.name)||jE(n,e.questionToken)||jE(n,e.initializer);case 252:return KE(n,t,e.decorators)||KE(n,t,e.modifiers)||jE(n,e.name)||jE(n,e.exclamationToken)||jE(n,e.type)||jE(n,e.initializer);case 201:return KE(n,t,e.decorators)||KE(n,t,e.modifiers)||jE(n,e.dotDotDotToken)||jE(n,e.propertyName)||jE(n,e.name)||jE(n,e.initializer);case 177:case 178:case 172:case 173:case 174:return KE(n,t,e.decorators)||KE(n,t,e.modifiers)||KE(n,t,e.typeParameters)||KE(n,t,e.parameters)||jE(n,e.type);case 167:case 166:case 169:case 170:case 171:case 211:case 254:case 212:return KE(n,t,e.decorators)||KE(n,t,e.modifiers)||jE(n,e.asteriskToken)||jE(n,e.name)||jE(n,e.questionToken)||jE(n,e.exclamationToken)||KE(n,t,e.typeParameters)||KE(n,t,e.parameters)||jE(n,e.type)||jE(n,e.equalsGreaterThanToken)||jE(n,e.body);case 168:return KE(n,t,e.decorators)||KE(n,t,e.modifiers)||jE(n,e.body);case 176:return jE(n,e.typeName)||KE(n,t,e.typeArguments);case 175:return jE(n,e.assertsModifier)||jE(n,e.parameterName)||jE(n,e.type);case 179:return jE(n,e.exprName);case 180:return KE(n,t,e.members);case 181:return jE(n,e.elementType);case 182:return KE(n,t,e.elements);case 185:case 186:return KE(n,t,e.types);case 187:return jE(n,e.checkType)||jE(n,e.extendsType)||jE(n,e.trueType)||jE(n,e.falseType);case 188:return jE(n,e.typeParameter);case 198:return jE(n,e.argument)||jE(n,e.qualifier)||KE(n,t,e.typeArguments);case 189:case 191:return jE(n,e.type);case 192:return jE(n,e.objectType)||jE(n,e.indexType);case 193:return jE(n,e.readonlyToken)||jE(n,e.typeParameter)||jE(n,e.nameType)||jE(n,e.questionToken)||jE(n,e.type);case 194:return jE(n,e.literal);case 195:return jE(n,e.dotDotDotToken)||jE(n,e.name)||jE(n,e.questionToken)||jE(n,e.type);case 199:case 200:case 202:return KE(n,t,e.elements);case 203:return KE(n,t,e.properties);case 204:return jE(n,e.expression)||jE(n,e.questionDotToken)||jE(n,e.name);case 205:return jE(n,e.expression)||jE(n,e.questionDotToken)||jE(n,e.argumentExpression);case 206:case 207:return jE(n,e.expression)||jE(n,e.questionDotToken)||KE(n,t,e.typeArguments)||KE(n,t,e.arguments);case 208:return jE(n,e.tag)||jE(n,e.questionDotToken)||KE(n,t,e.typeArguments)||jE(n,e.template);case 209:return jE(n,e.type)||jE(n,e.expression);case 210:case 213:case 214:case 215:return jE(n,e.expression);case 217:return jE(n,e.operand);case 222:return jE(n,e.asteriskToken)||jE(n,e.expression);case 216:return jE(n,e.expression);case 218:return jE(n,e.operand);case 219:return jE(n,e.left)||jE(n,e.operatorToken)||jE(n,e.right);case 227:return jE(n,e.expression)||jE(n,e.type);case 228:return jE(n,e.expression);case 229:return jE(n,e.name);case 220:return jE(n,e.condition)||jE(n,e.questionToken)||jE(n,e.whenTrue)||jE(n,e.colonToken)||jE(n,e.whenFalse);case 223:return jE(n,e.expression);case 233:case 260:return KE(n,t,e.statements);case 300:return KE(n,t,e.statements)||jE(n,e.endOfFileToken);case 235:return KE(n,t,e.decorators)||KE(n,t,e.modifiers)||jE(n,e.declarationList);case 253:return KE(n,t,e.declarations);case 236:return jE(n,e.expression);case 237:return jE(n,e.expression)||jE(n,e.thenStatement)||jE(n,e.elseStatement);case 238:return jE(n,e.statement)||jE(n,e.expression);case 239:return jE(n,e.expression)||jE(n,e.statement);case 240:return jE(n,e.initializer)||jE(n,e.condition)||jE(n,e.incrementor)||jE(n,e.statement);case 241:return jE(n,e.initializer)||jE(n,e.expression)||jE(n,e.statement);case 242:return jE(n,e.awaitModifier)||jE(n,e.initializer)||jE(n,e.expression)||jE(n,e.statement);case 243:case 244:return jE(n,e.label);case 245:return jE(n,e.expression);case 246:return jE(n,e.expression)||jE(n,e.statement);case 247:return jE(n,e.expression)||jE(n,e.caseBlock);case 261:return KE(n,t,e.clauses);case 287:return jE(n,e.expression)||KE(n,t,e.statements);case 288:return KE(n,t,e.statements);case 248:return jE(n,e.label)||jE(n,e.statement);case 249:return jE(n,e.expression);case 250:return jE(n,e.tryBlock)||jE(n,e.catchClause)||jE(n,e.finallyBlock);case 290:return jE(n,e.variableDeclaration)||jE(n,e.block);case 163:return jE(n,e.expression);case 255:case 224:case 256:return KE(n,t,e.decorators)||KE(n,t,e.modifiers)||jE(n,e.name)||KE(n,t,e.typeParameters)||KE(n,t,e.heritageClauses)||KE(n,t,e.members);case 257:return KE(n,t,e.decorators)||KE(n,t,e.modifiers)||jE(n,e.name)||KE(n,t,e.typeParameters)||jE(n,e.type);case 258:return KE(n,t,e.decorators)||KE(n,t,e.modifiers)||jE(n,e.name)||KE(n,t,e.members);case 294:return jE(n,e.name)||jE(n,e.initializer);case 259:return KE(n,t,e.decorators)||KE(n,t,e.modifiers)||jE(n,e.name)||jE(n,e.body);case 263:return KE(n,t,e.decorators)||KE(n,t,e.modifiers)||jE(n,e.name)||jE(n,e.moduleReference);case 264:return KE(n,t,e.decorators)||KE(n,t,e.modifiers)||jE(n,e.importClause)||jE(n,e.moduleSpecifier);case 265:return jE(n,e.name)||jE(n,e.namedBindings);case 262:case 266:case 272:return jE(n,e.name);case 267:case 271:return KE(n,t,e.elements);case 270:return KE(n,t,e.decorators)||KE(n,t,e.modifiers)||jE(n,e.exportClause)||jE(n,e.moduleSpecifier);case 268:case 273:return jE(n,e.propertyName)||jE(n,e.name);case 269:return KE(n,t,e.decorators)||KE(n,t,e.modifiers)||jE(n,e.expression);case 221:return jE(n,e.head)||KE(n,t,e.templateSpans);case 231:return jE(n,e.expression)||jE(n,e.literal);case 196:return jE(n,e.head)||KE(n,t,e.templateSpans);case 197:return jE(n,e.type)||jE(n,e.literal);case 160:return jE(n,e.expression);case 289:return KE(n,t,e.types);case 226:return jE(n,e.expression)||KE(n,t,e.typeArguments);case 275:return jE(n,e.expression);case 274:return KE(n,t,e.decorators);case 346:return KE(n,t,e.elements);case 276:return jE(n,e.openingElement)||KE(n,t,e.children)||jE(n,e.closingElement);case 280:return jE(n,e.openingFragment)||KE(n,t,e.children)||jE(n,e.closingFragment);case 277:case 278:return jE(n,e.tagName)||KE(n,t,e.typeArguments)||jE(n,e.attributes);case 284:return KE(n,t,e.properties);case 283:return jE(n,e.name)||jE(n,e.initializer);case 285:return jE(n,e.expression);case 286:return jE(n,e.dotDotDotToken)||jE(n,e.expression);case 279:return jE(n,e.tagName);case 183:case 184:case 304:case 310:case 309:case 311:case 313:return jE(n,e.type);case 312:return KE(n,t,e.parameters)||jE(n,e.type);case 315:return("string"==typeof e.comment?void 0:KE(n,t,e.comment))||KE(n,t,e.tags);case 341:return jE(n,e.tagName)||jE(n,e.name)||("string"==typeof e.comment?void 0:KE(n,t,e.comment));case 305:return jE(n,e.name);case 306:return jE(n,e.left)||jE(n,e.right);case 335:case 342:return jE(n,e.tagName)||(e.isNameFirst?jE(n,e.name)||jE(n,e.typeExpression)||("string"==typeof e.comment?void 0:KE(n,t,e.comment)):jE(n,e.typeExpression)||jE(n,e.name)||("string"==typeof e.comment?void 0:KE(n,t,e.comment)));case 325:return jE(n,e.tagName)||("string"==typeof e.comment?void 0:KE(n,t,e.comment));case 324:case 323:return jE(n,e.tagName)||jE(n,e.class)||("string"==typeof e.comment?void 0:KE(n,t,e.comment));case 339:return jE(n,e.tagName)||jE(n,e.constraint)||KE(n,t,e.typeParameters)||("string"==typeof e.comment?void 0:KE(n,t,e.comment));case 340:return jE(n,e.tagName)||(e.typeExpression&&304===e.typeExpression.kind?jE(n,e.typeExpression)||jE(n,e.fullName)||("string"==typeof e.comment?void 0:KE(n,t,e.comment)):jE(n,e.fullName)||jE(n,e.typeExpression)||("string"==typeof e.comment?void 0:KE(n,t,e.comment)));case 333:return jE(n,e.tagName)||jE(n,e.fullName)||jE(n,e.typeExpression)||("string"==typeof e.comment?void 0:KE(n,t,e.comment));case 336:case 338:case 337:case 334:return jE(n,e.tagName)||jE(n,e.typeExpression)||("string"==typeof e.comment?void 0:KE(n,t,e.comment));case 318:return xe.forEach(e.typeParameters,n)||xe.forEach(e.parameters,n)||jE(n,e.type);case 319:case 320:case 321:return jE(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 jE(n,e.tagName)||("string"==typeof e.comment?void 0:KE(n,t,e.comment));case 345:return jE(n,e.expression)}}function zE(e){var n=[];return WE(e,t,t),n;function t(e){n.unshift(e)}}function JE(e){return void 0!==e.externalModuleIndicator}function qE(e){return qe++,e}function XE(e,n,t,r,a){void 0===a&&(a=!1),YE(e,n,t=void 0===t?2:t,r,6),Be=en,DT();var i,o;n=TT();if(1===Je)i=QT([],n,n),o=JT();else{for(var s=void 0;1!==Je;){var c=void 0;switch(Je){case 22:c=DL();break;case 110:case 95:case 104:c=JT();break;case 40:c=(wT((function(){return 8===DT()&&58!==DT()}))?rL:CL)();break;case 8:case 10:if(wT((function(){return 58!==DT()}))){c=BS();break}default:c=CL()}s&&xe.isArray(s)?s.push(c):s?s=[s,c]:(s=c,1!==Je&&yT(xe.Diagnostics.Unexpected_token))}t=xe.isArray(s)?ZT(nn.createArrayLiteralExpression(s),n):xe.Debug.checkDefined(s),r=nn.createExpressionStatement(t),ZT(r,n),i=QT([r],n),o=zT(1,xe.Diagnostics.Unexpected_token)}return t=tT(e,2,6,!1,i,o,Be),a&&nT(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,QE(),r}function YE(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(ET),Me.setScriptTarget(Ve),Me.setLanguageVariant(Ke)}function QE(){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 ZE(e,n){return n?$E(e):e}function $E(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 eT(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=u(e.statements,0);-1!==c;)!function(){var n=e.statements[s],t=e.statements[c],r=(xe.addRange(i,e.statements,s,c),s=d(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),PT((function(){var n=en;for(en|=32768,Me.setTextPos(t.pos),DT();1!==Je;){var r=Me.getStartPos(),a=DS(0,zL);if(i.push(a),r===Me.getStartPos()&&DT(),0<=s){if(r=e.statements[s],a.end===r.pos)break;a.end>r.pos&&(s=d(e.statements,s+1))}}en=n}),2),c=0<=s?u(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 u(e,n){for(var t=n;t<e.length;t++)if(l(e[t]))return t;return-1}function d(e,n){for(var t=n;t<e.length;t++)if(!l(e[t]))return t;return-1}}function nT(e){xe.setParentRecursive(e,!0)}function tT(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,BD)||function(e){return 2097152&e.flags?UD(e):void 0}(i),(a=!r&&JE(a)&&16777216&a.transformFlags?eT(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 rT(e,n){e?en|=n:en&=~n}function aT(e){rT(e,4096)}function iT(e){rT(e,8192)}function oT(e){rT(e,16384)}function sT(e){rT(e,32768)}function cT(e,n){var t;e&=en;return e?(rT(!1,e),t=n(),rT(!0,e),t):n()}function lT(e,n){var t;e&=~en;return e?(rT(!0,e),t=n(),rT(!1,e),t):n()}function uT(e){return cT(4096,e)}function dT(e){return lT(32768,e)}function pT(e){return 0!=(en&e)}function mT(){return pT(8192)}function _T(){return pT(4096)}function fT(){return pT(16384)}function gT(){return pT(32768)}function yT(e,n){vT(Me.getTokenPos(),Me.getTextPos(),e,n)}function hT(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 vT(e,n,t,r){hT(e,n-e,t,r)}function bT(e,n,t){vT(e.pos,e.end,n,t)}function ET(e,n){hT(Me.getTextPos(),n,e)}function TT(){return Me.getStartPos()}function ST(){return Me.hasPrecedingJSDocComment()}function xT(){return Je=Me.scan()}function LT(e){return DT(),e()}function DT(){return xe.isKeyword(Je)&&(Me.hasUnicodeEscape()||Me.hasExtendedUnicodeEscape())&&vT(Me.getTokenPos(),Me.getTextPos(),xe.Diagnostics.Keywords_cannot_contain_escape_characters),xT()}function AT(){return Je=Me.scanJsDocToken()}function CT(){return Je=Me.reScanGreaterToken()}function IT(){Je=Me.reScanTemplateHeadOrNoSubstitutionTemplate()}function NT(){return Je=Me.reScanLessThanToken()}function kT(){Je=Me.reScanHashToken()}function RT(){Je=Me.scanJsxIdentifier()}function OT(){Je=Me.scanJsxToken()}function PT(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 wT(e){return PT(e,1)}function MT(e){return PT(e,0)}function FT(){return 79===Je||116<Je}function GT(){return 79===Je||!(125===Je&&mT()||131===Je&&gT())&&116<Je}function BT(e,n,t){return void 0===t&&(t=!0),Je===e?(t&&DT(),!0):(n?yT(n):yT(xe.Diagnostics._0_expected,xe.tokenToString(e)),!1)}function UT(e){if(xe.isTaggedTemplateExpression(e))vT(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 vT(t,e.end,xe.Diagnostics.Variable_declaration_not_allowed_at_this_location);case"declare":return;case"interface":return void VT(xe.Diagnostics.Interface_name_cannot_be_0,xe.Diagnostics.Interface_must_be_given_a_name,18);case"is":return void vT(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 VT(xe.Diagnostics.Namespace_name_cannot_be_0,xe.Diagnostics.Namespace_must_be_given_a_name,18);case"type":return void VT(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:function(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?vT(t,e.end,xe.Diagnostics.Unknown_keyword_or_identifier_Did_you_mean_0,r):0!==Je&&vT(t,e.end,xe.Diagnostics.Unexpected_keyword_or_identifier)}else yT(xe.Diagnostics._0_expected,xe.tokenToString(26))}}function VT(e,n,t){Je===t?yT(n):yT(e,xe.tokenToString(Je))}function jT(e){Je===e?AT():yT(xe.Diagnostics._0_expected,xe.tokenToString(e))}function KT(e){return Je===e&&(DT(),!0)}function HT(e){if(Je===e)return JT()}function WT(e){if(Je===e)return e=TT(),n=Je,AT(),ZT(nn.createToken(n),e);var n}function zT(e,n,t){return HT(e)||$T(e,!1,n||xe.Diagnostics._0_expected,t||xe.tokenToString(e))}function JT(){var e=TT(),n=Je;return DT(),ZT(nn.createToken(n),e)}function qT(){return 26===Je||19===Je||1===Je||Me.hasPrecedingLineBreak()}function XT(){return!!qT()&&(26===Je&&DT(),!0)}function YT(){XT()||BT(26)}function QT(e,n,t,r){return e=nn.createNodeArray(e,r),xe.setTextRangePosEnd(e,n,null!=t?t:Me.getStartPos()),e}function ZT(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 $T(e,n,t,r){return n?hT(Me.getStartPos(),0,t,r):t&&yT(t,r),n=TT(),ZT(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 eS(e){var n=Xe.get(e);return void 0===n&&Xe.set(e,n=e),n}function nS(e,n,t){if(e)return Qe++,e=TT(),a=Je,r=eS(Me.getTokenValue()),xT(),ZT(nn.createIdentifier(r,void 0,a),e);if(80===Je)return yT(t||xe.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),nS(!0);if(0===Je&&Me.tryScan((function(){return 79===Me.reScanInvalidIdentifier()})))return nS(!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 $T(79,r,n||t,e)}function tS(e){return nS(FT(),void 0,e)}function rS(e,n){return nS(GT(),e,n)}function aS(e){return nS(xe.tokenIsIdentifierOrKeyword(Je),e)}function iS(){return xe.tokenIsIdentifierOrKeyword(Je)||10===Je||8===Je}function oS(e){var n;return 10===Je||8===Je?((n=BS()).text=eS(n.text),n):e&&22===Je?(n=TT(),BT(22),e=uT(Hx),BT(23),ZT(nn.createComputedPropertyName(e),n)):(80===Je?cS:aS)()}function sS(){return oS(!0)}function cS(){var e,n=TT(),t=nn.createPrivateIdentifier((t=Me.getTokenText(),void 0===(e=Ye.get(t))&&Ye.set(t,e=t),e));return DT(),ZT(t,n)}function lS(e){return Je===e&&MT(dS)}function uS(){return DT(),!Me.hasPrecedingLineBreak()&&_S()}function dS(){switch(Je){case 85:return 92===DT();case 93:return DT(),88===Je?wT(fS):150===Je?wT(mS):pS();case 88:return fS();case 124:return uS();case 135:case 147:return DT(),_S();default:return uS()}}function pS(){return 41!==Je&&127!==Je&&18!==Je&&_S()}function mS(){return DT(),pS()}function _S(){return 22===Je||18===Je||41===Je||25===Je||iS()}function fS(){return DT(),84===Je||98===Je||118===Je||126===Je&&wT(BL)||130===Je&&wT(UL)}function gS(e,n){if(AS(e))return 1;switch(e){case 0:case 1:case 3:return(26!==Je||!n)&&HL();case 2:return 82===Je||88===Je;case 4:return wT(cx);case 5:return wT(pD)||26===Je&&!n;case 6:return 22===Je||iS();case 12:switch(Je){case 22:case 41:case 25:case 24:return 1;default:return iS()}case 18:return iS();case 9:return 22===Je||25===Je||iS();case 7:return 18===Je?wT(yS):n?GT()&&!ES():jx()&&!ES();case 8:return $L();case 10:return 27===Je||25===Je||$L();case 19:return GT();case 15:switch(Je){case 27:case 24:return 1}case 11:return 25===Je||Kx();case 16:return YS(!1);case 17:return YS(!0);case 20:case 21:return 27===Je||Ax();case 22:return AD();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 yS(){var e;return xe.Debug.assert(18===Je),19!==DT()||27===(e=DT())||18===e||94===e||117===e}function hS(){return DT(),GT()}function vS(){return DT(),xe.tokenIsIdentifierOrKeyword(Je)}function bS(){return DT(),xe.tokenIsIdentifierOrKeywordOrGreaterThan(Je)}function ES(){return(117===Je||94===Je)&&wT(TS)}function TS(){return DT(),Kx()}function SS(){return DT(),Ax()}function xS(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 qT()?1:eL(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&&wT(OD);default:return}}function LS(e,n){for(var t=Ze,r=(Ze|=1<<e,[]),a=TT();!xS(e);)if(gS(e,!1))r.push(DS(e,n));else if(IS(e))break;return Ze=t,QT(r,a)}function DS(e,n){return e=AS(e),e?CS(e):n()}function AS(e){if(ze&&function(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&&function(e,n){switch(n){case 5:return function(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 function(e){if(e)switch(e.kind){case 287:case 288:return 1}}(e);case 0:case 1:case 3:return function(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 function(e){if(e)switch(e.kind){case 173:case 166:case 174:case 164:case 172:return 1}}(e);case 8:return function(e){if(252===e.kind)return void 0===e.initializer}(e);case 17:case 16:return function(e){if(162===e.kind)return void 0===e.initializer}(e)}}(n,e))return n.jsDocCache&&(n.jsDocCache=void 0),n}}}function CS(e){return Me.setTextPos(e.end),DT(),e}function IS(e){if(function(e){switch(e){case 0:return 88===Je?yT(xe.Diagnostics._0_expected,xe.tokenToString(93)):yT(xe.Diagnostics.Declaration_or_statement_expected);case 1:return yT(xe.Diagnostics.Declaration_or_statement_expected);case 2:return yT(xe.Diagnostics.case_or_default_expected);case 3:return yT(xe.Diagnostics.Statement_expected);case 18:case 4:return yT(xe.Diagnostics.Property_or_signature_expected);case 5:return yT(xe.Diagnostics.Unexpected_token_A_constructor_method_accessor_or_property_was_expected);case 6:return yT(xe.Diagnostics.Enum_member_expected);case 7:return yT(xe.Diagnostics.Expression_expected);case 8:return xe.isKeyword(Je)?yT(xe.Diagnostics._0_is_not_allowed_as_a_variable_declaration_name,xe.tokenToString(Je)):yT(xe.Diagnostics.Variable_declaration_expected);case 9:return yT(xe.Diagnostics.Property_destructuring_pattern_expected);case 10:return yT(xe.Diagnostics.Array_element_destructuring_pattern_expected);case 11:return yT(xe.Diagnostics.Argument_expression_expected);case 12:return yT(xe.Diagnostics.Property_assignment_expected);case 15:return yT(xe.Diagnostics.Expression_or_comma_expected);case 17:case 16:return yT(xe.Diagnostics.Parameter_declaration_expected);case 19:return yT(xe.Diagnostics.Type_parameter_declaration_expected);case 20:return yT(xe.Diagnostics.Type_argument_expected);case 21:return yT(xe.Diagnostics.Type_expected);case 22:return yT(xe.Diagnostics.Unexpected_token_expected);case 23:case 13:case 14:return yT(xe.Diagnostics.Identifier_expected);default:}}(e),function(){for(var e=0;e<24;e++)if(Ze&1<<e&&(gS(e,!0)||xS(e)))return 1}())return 1;DT()}function NS(e,n,t){for(var r=Ze,a=(Ze|=1<<e,[]),i=TT(),o=-1;;)if(gS(e,!1)){var s=Me.getStartPos();if(a.push(DS(e,n)),o=Me.getTokenPos(),!KT(27)){if(o=-1,xS(e))break;BT(27,6===e?xe.Diagnostics.An_enum_member_name_must_be_followed_by_a_or:void 0),t&&26===Je&&!Me.hasPrecedingLineBreak()&&DT(),s===Me.getStartPos()&&DT()}}else{if(xS(e))break;if(IS(e))break}return Ze=r,QT(a,i,void 0,0<=o)}function kS(){var e=QT([],TT());return e.isMissingList=!0,e}function RS(e,n,t,r){return BT(t)?(t=NS(e,n),BT(r),t):kS()}function OS(e,n){for(var t=TT(),r=(e?aS:rS)(n),a=TT();KT(24);){if(29===Je){r.jsdocDotPos=a;break}a=TT(),r=ZT(nn.createQualifiedName(r,PS(e,!1)),t)}return r}function PS(e,n){var t;return Me.hasPrecedingLineBreak()&&xe.tokenIsIdentifierOrKeyword(Je)&&wT(GL)?$T(79,!0,xe.Diagnostics.Identifier_expected):80===Je?(t=cS(),n?t:$T(79,!0,xe.Diagnostics.Identifier_expected)):(e?aS:rS)()}function wS(e){for(var n,t,r=TT(),a=[];n=e,t=void 0,t=TT(),n=ZT(nn.createTemplateSpan(uT(Hx),GS(n)),t),a.push(n),16===n.literal.kind;);return QT(a,r)}function MS(e){var n=TT();return ZT(nn.createTemplateExpression(US(e),wS(e)),n)}function FS(){var e=TT();return ZT(nn.createTemplateLiteralType(US(!1),function(){for(var e,n=TT(),t=[];e=function(){var e=TT();return ZT(nn.createTemplateLiteralTypeSpan(Bx(),GS(!1)),e)}(),t.push(e),16===e.literal.kind;);return QT(t,n)}()),e)}function GS(e){return 19===Je?(Je=Me.reScanTemplateToken(e),e=VS(Je),xe.Debug.assert(16===e.kind||17===e.kind,"Template fragment has wrong token kind"),e):zT(17,xe.Diagnostics._0_expected,xe.tokenToString(19))}function BS(){return VS(Je)}function US(e){return e&&IT(),e=VS(Je),xe.Debug.assert(15===e.kind,"Template head has wrong token kind"),e}function VS(e){var n,t=TT(),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),DT(),ZT(r,t)}function jS(){return OS(!0,xe.Diagnostics.Type_expected)}function KS(){if(!Me.hasPrecedingLineBreak()&&29===NT())return RS(20,Bx,29,31)}function HS(){var e=TT();return ZT(nn.createTypeReferenceNode(jS(),KS()),e)}function WS(){var e=TT();return DT(),ZT(nn.createThisTypeNode(),e)}function zS(){var e,n=TT();return 108!==Je&&103!==Je||(e=aS(),BT(58)),ZT(nn.createParameterDeclaration(void 0,void 0,void 0,e,void 0,JS(),void 0),n)}function JS(){Me.setInJSDocType(!0);var e=TT();if(KT(140)){var n=nn.createJSDocNamepathType(void 0);e:for(;;)switch(Je){case 19:case 1:case 27:case 5:break e;default:AT()}return Me.setInJSDocType(!1),ZT(n,e)}n=KT(25);var t=Fx();return Me.setInJSDocType(!1),n&&(t=ZT(nn.createJSDocVariadicType(t),e)),63===Je?(DT(),ZT(nn.createJSDocOptionalType(t),e)):t}function qS(){var e,n,t=TT(),r=rS(),a=(KT(94)&&(Ax()||!Kx()?e=Bx():n=aL()),KT(63)?Bx():void 0);r=nn.createTypeParameterDeclaration(r,e,a);return r.expression=n,ZT(r,t)}function XS(){if(29===Je)return RS(19,qS,29,31)}function YS(e){return 25===Je||$L()||xe.isModifierKind(Je)||59===Je||Ax(!e)}function QS(){return $S(!0)}function ZS(){return $S(!1)}function $S(e){var n,t,r=TT(),a=ST();e=e?dT(gD):gD();return 108===Je?(n=nn.createParameterDeclaration(e,void 0,void 0,nS(!0),void 0,Vx(),void 0),e&&bT(e[0],xe.Diagnostics.Decorators_may_not_be_applied_to_this_parameters),ZE(ZT(n,r),a)):(n=tn,tn=!1,t=hD(),e=ZE(ZT(nn.createParameterDeclaration(e,t,HT(25),(e=t,t=eD(xe.Diagnostics.Private_identifiers_cannot_be_used_as_parameters),0===xe.getFullWidth(t)&&!xe.some(e)&&xe.isModifierKind(Je)&&DT(),t),HT(57),Vx(),Wx()),r),a),tn=n,e)}function ex(e,n){if(function(e,n){return 38===e?(BT(e),1):KT(58)?1:n&&38===Je?(yT(xe.Diagnostics._0_expected,xe.tokenToString(58)),DT(),1):void 0}(e,n))return Fx()}function nx(e){var n=mT(),t=gT();iT(!!(1&e)),sT(!!(2&e)),e=32&e?NS(17,zS):NS(16,t?QS:ZS);return iT(n),sT(t),e}function tx(e){return BT(20)?(e=nx(e),BT(21),e):kS()}function rx(){KT(27)||YT()}function ax(e){var n=TT(),t=ST(),r=(173===e&&BT(103),XS()),a=tx(4),i=ex(58,!0);return rx(),ZE(ZT(172===e?nn.createCallSignature(r,a,i):nn.createConstructSignature(r,a,i),n),t)}function ix(){return 22===Je&&wT(ox)}function ox(){if(DT(),25===Je||23===Je)return!0;if(xe.isModifierKind(Je)){if(DT(),GT())return!0}else{if(!GT())return!1;DT()}return 58===Je||27===Je||57===Je&&(DT(),58===Je||27===Je||23===Je)}function sx(e,n,t,r){var a=RS(16,ZS,22,23),i=Vx();return rx(),ZE(ZT(nn.createIndexSignature(t,r,a,i),e),n)}function cx(){if(20===Je||29===Je||135===Je||147===Je)return!0;for(var e=!1;xe.isModifierKind(Je);)e=!0,DT();return 22===Je||(iS()&&(e=!0,DT()),!!e&&(20===Je||29===Je||57===Je||58===Je||27===Je||qT()))}function lx(){var e,n,t,r,a,i,o,s;return 20===Je||29===Je?ax(172):103===Je&&wT(ux)?ax(173):(e=TT(),n=ST(),t=hD(),lS(135)?dD(e,n,void 0,t,170):lS(147)?dD(e,n,void 0,t,171):ix()?sx(e,n,void 0,t):(e=e,n=n,t=t,o=sS(),s=HT(57),20===Je||29===Je?(a=XS(),r=tx(4),i=ex(58,!0),a=nn.createMethodSignature(t,o,s,a,r,i)):(i=Vx(),a=nn.createPropertySignature(t,o,s,i),63===Je&&(a.initializer=Wx())),rx(),ZE(ZT(a,e),n)))}function ux(){return DT(),20===Je||29===Je}function dx(){return 24===DT()}function px(){switch(DT()){case 20:case 29:case 24:return!0}return!1}function mx(){var e;return BT(18)?(e=LS(4,lx),BT(19)):e=kS(),e}function _x(){return DT(),39===Je||40===Je?143===DT():(143===Je&&DT(),22===Je&&hS()&&101===DT())}function fx(){var e,n,t=TT(),r=(BT(18),143!==Je&&39!==Je&&40!==Je||143!==(e=JT()).kind&&BT(143),BT(22),i=TT(),r=aS(),BT(101),a=Bx(),ZT(nn.createTypeParameterDeclaration(r,a,void 0),i)),a=KT(127)?Bx():void 0,i=(BT(23),57!==Je&&39!==Je&&40!==Je||57!==(n=JT()).kind&&BT(57),Vx());return YT(),BT(19),ZT(nn.createMappedTypeNode(e,r,a,n,i),t)}function gx(){var e,n=TT();return KT(25)?ZT(nn.createRestTypeNode(Bx()),n):(n=Bx(),xe.isJSDocNullableType(n)&&n.pos===n.type.pos?(e=nn.createOptionalTypeNode(n.type),xe.setTextRange(e,n),e.flags=n.flags,e):n)}function yx(){return 58===DT()||57===Je&&58===DT()}function hx(){return 25===Je?xe.tokenIsIdentifierOrKeyword(DT())&&yx():xe.tokenIsIdentifierOrKeyword(Je)&&yx()}function vx(){var e,n,t,r,a,i;return wT(hx)?(e=TT(),n=ST(),t=HT(25),r=aS(),a=HT(57),BT(58),i=gx(),ZE(ZT(nn.createNamedTupleMember(t,r,a,i),e),n)):gx()}function bx(){var e,n=TT(),t=ST(),r=(126===Je&&(e=TT(),DT(),e=QT([ZT(nn.createToken(126),e)],e)),KT(103)),a=XS(),i=tx(4),o=ex(38,!1);a=r?nn.createConstructorTypeNode(e,a,i,o):nn.createFunctionTypeNode(a,i,o);return r||(a.modifiers=e),ZE(ZT(a,n),t)}function Ex(){var e=JT();return 24===Je?void 0:e}function Tx(e){var n=TT(),t=(e&&DT(),110===Je||95===Je||104===Je?JT():VS(Je));return e&&(t=ZT(nn.createPrefixUnaryExpression(40,t),n)),ZT(nn.createLiteralTypeNode(t),n)}function Sx(){return DT(),100===Je}function xx(){Be|=1048576;var e=TT(),n=KT(112),t=(BT(100),BT(20),Bx()),r=(BT(21),KT(24)?jS():void 0),a=KS();return ZT(nn.createImportTypeNode(t,r,a,n),e)}function Lx(){return DT(),8===Je||9===Je}function Dx(){switch(Je){case 129:case 153:case 148:case 145:case 156:case 149:case 132:case 151:case 142:case 146:return MT(Ex)||HS();case 66:Me.reScanAsteriskEqualsToken();case 41:return l=TT(),DT(),ZT(nn.createJSDocAllType(),l);case 60:Me.reScanQuestionToken();case 57:return l=TT(),DT(),ZT(27===Je||19===Je||21===Je||31===Je||63===Je||51===Je?nn.createJSDocUnknownType():nn.createJSDocNullableType(Bx()),l);case 98:return s=TT(),c=ST(),wT(kD)?(DT(),i=tx(36),o=ex(58,!1),ZE(ZT(nn.createJSDocFunctionType(i,o),s),c)):ZT(nn.createTypeReferenceNode(aS(),void 0),s);case 53:return i=TT(),DT(),ZT(nn.createJSDocNonNullableType(Dx()),i);case 14:case 10:case 8:case 9:case 110:case 95:case 104:return Tx();case 40:return wT(Lx)?Tx(!0):HS();case 114:return JT();case 108:return o=WS(),138!==Je||Me.hasPrecedingLineBreak()?o:(c=o,DT(),ZT(nn.createTypePredicateNode(void 0,c,Bx()),c.pos));case 112:return wT(Sx)?xx():(s=TT(),BT(112),ZT(nn.createTypeQueryNode(OS(!0)),s));case 18:return wT(_x)?fx():(a=TT(),ZT(nn.createTypeLiteralNode(mx()),a));case 22:return a=TT(),ZT(nn.createTupleTypeNode(RS(21,vx,22,23)),a);case 20:return t=TT(),BT(20),r=Bx(),BT(21),ZT(nn.createParenthesizedType(r),t);case 100:return xx();case 128:return wT(GL)?(r=TT(),t=zT(128),e=(108===Je?WS:rS)(),n=KT(138)?Bx():void 0,ZT(nn.createTypePredicateNode(t,e,n),r)):HS();case 15:return FS();default:return HS()}var e,n,t,r,a,i,o,s,c,l}function Ax(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&&wT(Lx);case 20:return!e&&wT(Cx);default:return GT()}}function Cx(){return DT(),21===Je||YS(!1)||Ax()}function Ix(){var e,n=TT();return BT(136),ZT(nn.createInferTypeNode((e=TT(),ZT(nn.createTypeParameterDeclaration(rS(),void 0,void 0),e))),n)}function Nx(){var e,n,t=Je;switch(t){case 139:case 152:case 143:return e=t,n=TT(),BT(e),ZT(nn.createTypeOperatorNode(e,Nx()),n);case 136:return Ix()}for(var r,a=TT(),i=Dx();!Me.hasPrecedingLineBreak();)switch(Je){case 53:DT(),i=ZT(nn.createJSDocNonNullableType(i),a);break;case 57:if(wT(SS))return i;DT(),i=ZT(nn.createJSDocNullableType(i),a);break;case 22:BT(22),i=Ax()?(r=Bx(),BT(23),ZT(nn.createIndexedAccessTypeNode(i,r),a)):(BT(23),ZT(nn.createArrayTypeNode(i),a));break;default:return i}return i}function kx(e){var n;if(wx())return bT(n=bx(),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 Rx(e,n,t){var r=TT(),a=51===e,i=KT(e),o=i&&kx(a)||n();if(Je===e||i){for(var s=[o];KT(e);)s.push(kx(a)||n());o=ZT(t(QT(s,r)),r)}return o}function Ox(){return Rx(50,Nx,nn.createIntersectionTypeNode)}function Px(){return DT(),103===Je}function wx(){return 29===Je||20===Je&&wT(Mx)||103===Je||126===Je&&wT(Px)}function Mx(){if(DT(),21===Je||25===Je)return!0;if(xe.isModifierKind(Je)&&hD(),GT()||108===Je?(DT(),1):22===Je||18===Je?(e=He.length,eD(),e===He.length):void 0){if(58===Je||27===Je||57===Je||63===Je)return!0;if(21===Je&&(DT(),38===Je))return!0}var e;return!1}function Fx(){var e=TT(),n=GT()&&MT(Gx),t=Bx();return n?ZT(nn.createTypePredicateNode(void 0,n,t),e):t}function Gx(){var e=rS();if(138===Je&&!Me.hasPrecedingLineBreak())return DT(),e}function Bx(){return cT(40960,Ux)}function Ux(e){var n,t,r,a;return wx()?bx():(n=TT(),t=Rx(51,Ox,nn.createUnionTypeNode),e||Me.hasPrecedingLineBreak()||!KT(94)?t:(e=Ux(!0),BT(57),r=Ux(),BT(58),a=Ux(),ZT(nn.createConditionalTypeNode(t,e,r,a),n)))}function Vx(){return KT(58)?Bx():void 0}function jx(){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 wT(px);default:return GT()}}function Kx(){if(jx())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!!function(){if(!_T()||101!==Je)return 0<xe.getBinaryOperatorPrecedence(Je)}()||GT()}}function Hx(){for(var e,n=fT(),t=(n&&oT(!1),TT()),r=zx();e=HT(27);)r=tL(r,e,zx(),t);return n&&oT(!0),r}function Wx(){return KT(63)?zx():void 0}function zx(){var e,n,t,r;return function(){if(125===Je)return mT()?1:wT(VL)}()?(e=TT(),DT(),Me.hasPrecedingLineBreak()||41!==Je&&!Kx()?ZT(nn.createYieldExpression(void 0,void 0),e):ZT(nn.createYieldExpression(HT(41),zx()),e)):function(){var e=20!==Je&&29!==Je&&130!==Je?38!==Je?0:1:wT(qx);if(0!==e)return 1===e?Qx(!0):MT(Xx)}()||function(){var e,n,t;if(130===Je&&1===wT(Yx))return e=TT(),n=vD(),t=$x(0),Jx(e,t,n)}()||(e=TT(),79===(n=$x(0)).kind&&38===Je?Jx(e,n,void 0):xe.isLeftHandSideExpression(n)&&xe.isAssignmentOperator(CT())?tL(n,JT(),zx(),e):(n=n,t=e,(r=HT(57))?ZT(nn.createConditionalExpression(n,r,cT(Fe,zx),r=zT(58),xe.nodeIsPresent(r)?zx():$T(79,!1,xe.Diagnostics._0_expected,xe.tokenToString(58))),t):n))}function Jx(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=(ZT(r,n.pos),QT([r],r.pos,r.end)),r=zT(38),Zx(!!t));return $E(ZT(nn.createArrowFunction(t,void 0,n,void 0,r,a),e))}function qx(){if(130===Je){if(DT(),Me.hasPrecedingLineBreak())return 0;if(20!==Je&&29!==Je)return 0}var e=Je,n=DT();if(20!==e)return xe.Debug.assert(29===e),GT()?1===Ke?wT((function(){var e=DT();if(94===e)switch(DT()){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(DT()){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&&wT(hS))return 1;if(GT()||108===n)switch(DT()){case 58:return 1;case 57:return DT(),58===Je||27===Je||63===Je||21===Je?1:0;case 27:case 63:case 21:return 2}return 0}function Xx(){var e,n=Me.getTokenPos();if(null==$e||!$e.has(n))return(e=Qx(!1))||($e=$e||new xe.Set).add(n),e}function Yx(){if(130===Je){if(DT(),Me.hasPrecedingLineBreak()||38===Je)return 0;var e=$x(0);if(!Me.hasPrecedingLineBreak()&&79===e.kind&&38===Je)return 1}return 0}function Qx(e){var n,t=TT(),r=ST(),a=vD(),i=xe.some(a,xe.isAsyncModifier)?2:0,o=XS();if(BT(20)){if(n=nx(i),!BT(21)&&!e)return}else{if(!e)return;n=kS()}if(i=ex(58,!1),!i||e||!function e(n){switch(n.kind){case 176:return xe.nodeIsMissing(n.typeName);case 177:case 178:var t=n.parameters,r=n.type;return!!t.isMissingList||e(r);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=zT(38),e=38===e||18===e?Zx(xe.some(a,xe.isAsyncModifier)):rS(),ZE(ZT(nn.createArrowFunction(a,o,n,i,s,e),t),r)}}function Zx(e){var n,t;return 18===Je?RL(e?2:0):26===Je||98===Je||84===Je||!HL()||18!==Je&&98!==Je&&84!==Je&&59!==Je&&Kx()?(n=tn,tn=!1,t=e?dT(zx):cT(32768,zx),tn=n,t):RL(16|(e?2:0))}function $x(e){var n=TT();return nL(e,aL(),n)}function eL(e){return 101===e||158===e}function nL(e,n,t){for(;;){CT();var r=xe.getBinaryOperatorPrecedence(Je);if(!(42===Je?e<=r:e<r))break;if(101===Je&&_T())break;if(127===Je){if(Me.hasPrecedingLineBreak())break;DT(),a=n,i=Bx(),n=ZT(nn.createAsExpression(a,i),a.pos)}else n=tL(n,JT(),$x(r),t)}var a,i;return n}function tL(e,n,t,r){return ZT(nn.createBinaryExpression(e,n,t),r)}function rL(){var e=TT();return ZT(nn.createPrefixUnaryExpression(Je,LT(iL)),e)}function aL(){var e,n,t,r;return function(){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=TT(),e=oL(),42===Je?nL(xe.getBinaryOperatorPrecedence(Je),e,t):e):(e=Je,n=iL(),42===Je&&(t=xe.skipTrivia(Ue,n.pos),r=n.end,209===n.kind?vT(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):vT(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 iL(){switch(Je){case 39:case 40:case 54:case 53:return rL();case 89:return r=TT(),ZT(nn.createDeleteExpression(LT(iL)),r);case 112:return r=TT(),ZT(nn.createTypeOfExpression(LT(iL)),r);case 114:return t=TT(),ZT(nn.createVoidExpression(LT(iL)),t);case 29:return t=TT(),BT(29),e=Bx(),BT(31),n=iL(),ZT(nn.createTypeAssertion(e,n),t);case 131:if(131===Je&&(gT()||wT(VL)))return e=TT(),ZT(nn.createAwaitExpression(LT(iL)),e);default:return oL()}var e,n,t,r}function oL(){var e,n;return 45===Je||46===Je?(e=TT(),ZT(nn.createPrefixUnaryExpression(Je,LT(sL)),e)):1===Ke&&29===Je&&wT(bS)?lL(!0):(e=sL(),xe.Debug.assert(xe.isLeftHandSideExpression(e)),45!==Je&&46!==Je||Me.hasPrecedingLineBreak()?e:(n=Je,DT(),ZT(nn.createPostfixUnaryExpression(e,n),e.pos)))}function sL(){var e,n=TT();return 100===Je?wT(ux)?(Be|=1048576,e=JT()):wT(dx)?(DT(),DT(),e=ZT(nn.createMetaProperty(100,aS()),n),Be|=2097152):e=cL():e=(106===Je?function(){var e,n=TT(),t=JT();return 29===Je&&(e=TT(),void 0!==MT(TL))&&vT(e,TT(),xe.Diagnostics.super_may_not_use_type_arguments),20!==Je&&24!==Je&&22!==Je?(zT(24,xe.Diagnostics.super_must_be_followed_by_an_argument_list_or_member_access),ZT(nn.createPropertyAccessExpression(t,PS(!0,!0)),n)):t}:cL)(),bL(n,e)}function cL(){return yL(TT(),SL(),!0)}function lL(e,n,t){var r,a,i=TT(),o=function(e){var n=TT();if(BT(29),31===Je)return OT(),ZT(nn.createJsxOpeningFragment(),n);var t=pL(),r=0==(131072&en)?DD():void 0,a=function(){var e=TT();return ZT(nn.createJsxAttributes(LS(13,_L)),e)}();return e=31===Je?(OT(),nn.createJsxOpeningElement(t,r,a)):(BT(43),BT(31,void 0,!1)&&(e?DT:OT)(),nn.createJsxSelfClosingElement(t,r,a)),ZT(e,n)}(e),s=278===o.kind?(a=void 0,276===(null==(c=(r=dL(o))[r.length-1])?void 0:c.kind)&&!eA(c.openingElement.tagName,c.closingElement.tagName)&&eA(o.tagName,c.closingElement.tagName)?(u=c.openingElement.end,s=ZT(nn.createJsxElement(c.openingElement,QT([],u,u),ZT(nn.createJsxClosingElement(ZT(nn.createIdentifier(""),u,u)),u,u)),c.openingElement.pos,u),r=QT($u($u([],r.slice(0,r.length-1),!0),[s],!1),r.pos,u),a=c.closingElement):(a=function(e,n){var t=TT(),r=(BT(30),pL());return BT(31,void 0,!1)&&(n||!eA(e.tagName,r)?DT:OT)(),ZT(nn.createJsxClosingElement(r),t)}(o,e),eA(o.tagName,a.tagName)||(t&&xe.isJsxOpeningElement(t)&&eA(a.tagName,t.tagName)?bT(o.tagName,xe.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,xe.getTextOfNodeFromSourceText(Ue,o.tagName)):bT(a.tagName,xe.Diagnostics.Expected_corresponding_JSX_closing_tag_for_0,xe.getTextOfNodeFromSourceText(Ue,o.tagName)))),ZT(nn.createJsxElement(o,r,a),i)):281===o.kind?ZT(nn.createJsxFragment(o,dL(o),function(e){var n=TT();return BT(30),xe.tokenIsIdentifierOrKeyword(Je)&&bT(pL(),xe.Diagnostics.Expected_corresponding_closing_tag_for_JSX_fragment),BT(31,void 0,!1)&&(e?DT:OT)(),ZT(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,u=MT((function(){return lL(!0,l)}));if(u)return c=$T(27,!1),xe.setTextRangePosWidth(c,u.pos,0),vT(xe.skipTrivia(Ue,l),u.end,xe.Diagnostics.JSX_expressions_must_have_one_parent_element),ZT(nn.createBinaryExpression(s,c,u),i)}return s}function uL(e,n){switch(n){case 1:return void(xe.isJsxOpeningFragment(e)?bT(e,xe.Diagnostics.JSX_fragment_has_no_corresponding_closing_tag):(t=e.tagName,vT(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=TT(),r=nn.createJsxText(Me.getTokenValue(),12===Je),Je=Me.scanJsxToken(),ZT(r,t);case 18:return mL(!1);case 29:return lL(!1,void 0,e);default:return xe.Debug.assertNever(n)}var t,r}function dL(e){var n=[],t=TT(),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)&&!eA(a.openingElement.tagName,a.closingElement.tagName)&&eA(e.tagName,a.closingElement.tagName))break}return Ze=r,QT(n,t)}function pL(){for(var e=TT(),n=(RT(),(108===Je?JT:aS)());KT(24);)n=ZT(nn.createPropertyAccessExpression(n,PS(!0,!1)),e);return n}function mL(e){var n,t,r=TT();if(BT(18))return 19!==Je&&(n=HT(25),t=Hx()),e?BT(19):BT(19,void 0,!1)&&OT(),ZT(nn.createJsxExpression(n,t),r)}function _L(){var e,n;return 18===Je?(e=TT(),BT(18),BT(25),n=Hx(),BT(19),ZT(nn.createJsxSpreadAttribute(n),e)):(RT(),n=TT(),ZT(nn.createJsxAttribute(aS(),63!==Je?void 0:10===(Je=Me.scanJsxAttributeValue())?BS():mL(!0)),n))}function fL(){return DT(),xe.tokenIsIdentifierOrKeyword(Je)||22===Je||hL()}function gL(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 yL(e,n,t){for(;;){var r=void 0;if(t&&28===Je&&wT(fL)?(r=zT(28),xe.tokenIsIdentifierOrKeyword(Je)):KT(24))a=e,i=n,o=r,s=PS(!(c=s=void 0),!0),c=o||gL(i),o=c?nn.createPropertyAccessChain(i,o,s):nn.createPropertyAccessExpression(i,s),c&&xe.isPrivateIdentifier(o.name)&&bT(o.name,xe.Diagnostics.An_optional_chain_cannot_contain_private_identifiers),n=ZT(o,a);else if(r||53!==Je||Me.hasPrecedingLineBreak())if(!r&&fT()||!KT(22)){if(!hL())return n;n=vL(e,n,r,void 0)}else i=e,s=n,c=r,o=void 0,o=23===Je?$T(79,!0,xe.Diagnostics.An_element_access_expression_should_take_an_argument):(o=uT(Hx),xe.isStringOrNumericLiteralLike(o)&&(o.text=eS(o.text)),o),BT(23),n=ZT(c||gL(s)?nn.createElementAccessChain(s,c,o):nn.createElementAccessExpression(s,o),i);else DT(),n=ZT(nn.createNonNullExpression(n),e)}var a,i,o,s,c}function hL(){return 14===Je||15===Je}function vL(e,n,t,r){return r=nn.createTaggedTemplateExpression(n,r,14===Je?(IT(),BS()):MS(!0)),(t||32&n.flags)&&(r.flags|=32),r.questionDotToken=t,ZT(r,e)}function bL(e,n){for(;;){n=yL(e,n,!0);var t=HT(28);if(0!=(131072&en)||29!==Je&&47!==Je){if(20===Je){a=EL(),n=ZT(t||gL(n)?nn.createCallChain(n,t,void 0,a):nn.createCallExpression(n,void 0,a),e);continue}}else{var r=MT(TL);if(r){if(hL()){n=vL(e,n,t,r);continue}var a=EL();n=ZT(t||gL(n)?nn.createCallChain(n,t,r,a):nn.createCallExpression(n,r,a),e);continue}}t&&(r=$T(79,!1,xe.Diagnostics.Identifier_expected),n=ZT(nn.createPropertyAccessChain(n,t,r),e));break}return n}function EL(){BT(20);var e=NS(11,LL);return BT(21),e}function TL(){var e;if(0==(131072&en)&&29===NT())return DT(),e=NS(20,Bx),BT(31)&&e&&function(){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 SL(){switch(Je){case 8:case 9:case 10:case 14:return BS();case 108:case 106:case 104:case 110:case 95:return JT();case 20:return a=TT(),i=ST(),BT(20),o=uT(Hx),BT(21),ZE(ZT(nn.createParenthesizedExpression(o),a),i);case 22:return DL();case 18:return CL();case 130:if(wT(UL))return IL();break;case 84:return TD(TT(),ST(),void 0,void 0,224);case 98:return IL();case 103:if(o=TT(),BT(103),KT(24))return a=aS(),ZT(nn.createMetaProperty(103,a),o);for(var e,n,t=TT(),r=SL();;){r=yL(t,r,!1),e=MT(TL),hL()&&(xe.Debug.assert(!!e,"Expected a type argument list; all plain tagged template starts should be consumed in 'parseMemberExpressionRest'"),r=vL(t,r,void 0,e),e=void 0);break}return 20===Je?n=EL():e&&vT(o,Me.getStartPos(),xe.Diagnostics.A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list),ZT(nn.createNewExpression(r,e,n),o);case 43:case 68:if(13===(Je=Me.reScanSlashToken()))return BS();break;case 15:return MS(!1)}var a,i,o;return rS(xe.Diagnostics.Expression_expected)}function xL(){return 25===Je?(e=TT(),BT(25),n=zx(),ZT(nn.createSpreadElement(n),e)):27===Je?ZT(nn.createOmittedExpression(),TT()):zx();var e,n}function LL(){return cT(Fe,xL)}function DL(){var e=TT(),n=(BT(22),Me.hasPrecedingLineBreak()),t=NS(15,xL);return BT(23),ZT(nn.createArrayLiteralExpression(t,n),e)}function AL(){var e,n,t,r,a,i,o,s,c=TT(),l=ST();return HT(25)?(e=zx(),ZE(ZT(nn.createSpreadAssignment(e),c),l)):(e=gD(),n=hD(),lS(135)?dD(c,l,e,n,170):lS(147)?dD(c,l,e,n,171):(i=HT(41),s=GT(),t=sS(),r=HT(57),a=HT(53),i||20===Je||29===Je?cD(c,l,e,n,i,t,r,a):(s&&58!==Je?(s=(i=HT(63))?uT(zx):void 0,(o=nn.createShorthandPropertyAssignment(t,s)).equalsToken=i):(BT(58),s=uT(zx),o=nn.createPropertyAssignment(t,s)),o.decorators=e,o.modifiers=n,o.questionToken=r,o.exclamationToken=a,ZE(ZT(o,c),l))))}function CL(){var e,n=TT(),t=Me.getTokenPos(),r=(BT(18),Me.hasPrecedingLineBreak()),a=NS(12,AL,!0);return BT(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)),ZT(nn.createObjectLiteralExpression(a,r),n)}function IL(){var e=fT(),n=(oT(!1),TT()),t=ST(),r=hD(),a=(BT(98),HT(41)),i=a?1:0,o=xe.some(r,xe.isAsyncModifier)?2:0,s=i&&o?lT(40960,NL):i?lT(8192,NL):o?dT(NL):NL(),c=XS(),l=tx(i|o),u=ex(58,!1);i=RL(i|o);return oT(e),ZE(ZT(nn.createFunctionExpression(r,a,s,c,l,u,i),n),t)}function NL(){return FT()?tS():void 0}function kL(e,n){var t,r=TT(),a=ST(),i=Me.getTokenPos();return BT(18,n)||e?(n=Me.hasPrecedingLineBreak(),t=LS(1,zL),BT(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=ZE(ZT(nn.createBlock(t,n),r),a),63===Je&&(yT(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),DT()),e):(t=kS(),ZE(ZT(nn.createBlock(t,void 0),r),a))}function RL(e,n){var t=mT(),r=(iT(!!(1&e)),gT()),a=(sT(!!(2&e)),tn),i=(tn=!1,fT());i&&oT(!1),e=kL(!!(16&e),n);return i&&oT(!0),tn=a,iT(t),sT(r),e}function OL(){var e,n,t=TT(),r=ST(),a=(BT(97),HT(131));return BT(20),26!==Je&&(e=113===Je||119===Je||85===Je?rD(!0):lT(4096,Hx)),ZE(ZT((a?BT:KT)(158)?(n=uT(zx),BT(21),nn.createForOfStatement(a,e,n,zL())):KT(101)?(n=uT(Hx),BT(21),nn.createForInStatement(e,n,zL())):(BT(26),a=26!==Je&&21!==Je?uT(Hx):void 0,BT(26),n=21!==Je?uT(Hx):void 0,BT(21),nn.createForStatement(e,a,n,zL())),t),r)}function PL(e){var n=TT(),t=ST(),r=(BT(244===e?81:86),qT()?void 0:rS());return YT(),ZE(ZT(244===e?nn.createBreakStatement(r):nn.createContinueStatement(r),n),t)}function wL(){return 82===Je?(e=TT(),BT(82),n=uT(Hx),BT(58),t=LS(3,zL),ZT(nn.createCaseClause(n,t),e)):(n=TT(),BT(88),BT(58),t=LS(3,zL),ZT(nn.createDefaultClause(t),n));var e,n,t}function ML(){var e,n=TT(),t=ST(),r=(BT(107),BT(20),uT(Hx)),a=(BT(21),e=TT(),BT(18),a=LS(2,wL),BT(19),ZT(nn.createCaseBlock(a),e));return ZE(ZT(nn.createSwitchStatement(r,a),n),t)}function FL(){var e,n,t,r=TT(),a=ST(),i=(BT(111),kL(!1)),o=83===Je?(e=TT(),BT(83),KT(20)?(o=tD(),BT(21)):o=void 0,n=kL(!1),ZT(nn.createCatchClause(o,n),e)):void 0;return o&&96!==Je||(BT(96),t=kL(!1)),ZE(ZT(nn.createTryStatement(i,o,t),r),a)}function GL(){return DT(),xe.tokenIsIdentifierOrKeyword(Je)&&!Me.hasPrecedingLineBreak()}function BL(){return DT(),84===Je&&!Me.hasPrecedingLineBreak()}function UL(){return DT(),98===Je&&!Me.hasPrecedingLineBreak()}function VL(){return DT(),(xe.tokenIsIdentifierOrKeyword(Je)||8===Je||9===Je||10===Je)&&!Me.hasPrecedingLineBreak()}function jL(){for(;;)switch(Je){case 113:case 119:case 85:case 98:case 84:case 92:return!0;case 118:case 150:return DT(),!Me.hasPrecedingLineBreak()&&GT();case 140:case 141:return DT(),!Me.hasPrecedingLineBreak()&&(GT()||10===Je);case 126:case 130:case 134:case 121:case 122:case 123:case 143:if(DT(),Me.hasPrecedingLineBreak())return!1;continue;case 155:return DT(),18===Je||79===Je||93===Je;case 100:return DT(),10===Je||41===Je||18===Je||xe.tokenIsIdentifierOrKeyword(Je);case 93:var e=DT();if(63===(e=150===e?wT(DT):e)||41===e||18===e||88===e||127===e)return!0;continue;case 124:DT();continue;default:return!1}}function KL(){return wT(jL)}function HL(){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 KL()||wT(px);case 85:case 93:return KL();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 KL()||!wT(GL);default:return Kx()}}function WL(){return DT(),FT()||18===Je||22===Je}function zL(){switch(Je){case 26:return p=TT(),m=ST(),BT(26),ZE(ZT(nn.createEmptyStatement(),p),m);case 18:return kL(!1);case 113:return iD(TT(),ST(),void 0,void 0);case 119:if(wT(WL))return iD(TT(),ST(),void 0,void 0);break;case 98:return oD(TT(),ST(),void 0,void 0);case 84:return ED(TT(),ST(),void 0,void 0);case 99:return p=TT(),m=ST(),BT(99),BT(20),l=uT(Hx),BT(21),u=zL(),d=KT(91)?zL():void 0,ZE(ZT(nn.createIfStatement(l,u,d),p),m);case 90:return l=TT(),u=ST(),BT(90),d=zL(),BT(115),BT(20),c=uT(Hx),BT(21),KT(26),ZE(ZT(nn.createDoStatement(d,c),l),u);case 115:return c=TT(),i=ST(),BT(115),BT(20),o=uT(Hx),BT(21),s=zL(),ZE(ZT(nn.createWhileStatement(o,s),c),i);case 97:return OL();case 86:return PL(243);case 81:return PL(244);case 105:return o=TT(),s=ST(),BT(105),i=qT()?void 0:uT(Hx),YT(),ZE(ZT(nn.createReturnStatement(i),o),s);case 116:return n=TT(),t=ST(),BT(116),BT(20),r=uT(Hx),BT(21),a=lT(16777216,zL),ZE(ZT(nn.createWithStatement(r,a),n),t);case 107:return ML();case 109:return r=TT(),a=ST(),BT(109),void 0===(n=Me.hasPrecedingLineBreak()?void 0:uT(Hx))&&(Qe++,n=ZT(nn.createIdentifier(""),TT())),XT()||UT(n),ZE(ZT(nn.createThrowStatement(n),r),a);case 111:case 83:case 96:return FL();case 87:return t=TT(),e=ST(),BT(87),YT(),ZE(ZT(nn.createDebuggerStatement(),t),e);case 59:return qL();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(KL())return qL()}var e,n,t,r,a,i,o,s,c,l,u,d,p,m,_,f,g,y,h;return f=TT(),g=ST(),y=20===Je,h=uT(Hx),xe.isIdentifier(h)&&KT(58)?_=nn.createLabeledStatement(h,zL()):(XT()||UT(h),_=nn.createExpressionStatement(h),y&&(g=!1)),ZE(ZT(_,f),g)}function JL(e){return 134===e.kind}function qL(){var e=xe.some(wT((function(){return gD(),hD()})),JL);if(e){var n=lT(8388608,(function(){var e=AS(Ze);if(e)return CS(e)}));if(n)return n}var t=TT(),r=ST(),a=gD(),i=hD();if(e){for(var o=0,s=i;o<s.length;o++)s[o].flags|=8388608;return lT(8388608,(function(){return XL(t,r,a,i)}))}return XL(t,r,a,i)}function XL(e,n,t,r){switch(Je){case 113:case 119:case 85:return iD(e,n,t,r);case 98:return oD(e,n,t,r);case 84:return ED(e,n,t,r);case 118:return B=e,a=n,U=t,V=r,BT(118),j=rS(),K=XS(),H=SD(),W=mx(),ZE(ZT(nn.createInterfaceDeclaration(U,V,j,K,H,W),B),a);case 150:return U=e,V=n,j=t,K=r,BT(150),H=rS(),W=XS(),BT(63),B=137===Je&&MT(Ex)||Bx(),YT(),ZE(ZT(nn.createTypeAliasDeclaration(j,K,H,W,B),U),V);case 92:var a=e,i=n,o=t,s=r;BT(92);var c=rS();return BT(18)?(l=cT(40960,(function(){return NS(6,CD)})),BT(19)):l=kS(),ZE(ZT(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 ND(o,s,c,l);if(KT(141))i|=16;else if(BT(140),10===Je)return ND(o,s,c,l);return function e(n,t,r,a,i){var o=16&i,s=rS();return o=KT(24)?e(TT(),!1,void 0,void 0,4|o):ID(),r=nn.createModuleDeclaration(r,a,s,o,i),ZE(ZT(r,n),t)}(o,s,c,l,i);case 100:var u=e,d=n,p=t,m=r,_=(BT(100),Me.getStartPos());GT()&&(x=rS());var f,g=!1;if(154===Je||"type"!==(null==x?void 0:x.escapedText)||!GT()&&41!==Je&&18!==Je||(g=!0,x=GT()?rS():void 0),x&&27!==Je&&154!==Je){var y=u,h=d,v=p,b=m,E=x,T=g;BT(63);var S=144===Je&&wT(kD)?function(){var e=TT(),n=(BT(144),BT(20),PD());return BT(21),ZT(nn.createExternalModuleReference(n),e)}():OS(!1);return YT(),ZE(ZT(nn.createImportEqualsDeclaration(v,b,T,E,S),y),h)}!x&&41!==Je&&18!==Je||(f=function(e,n,t){var r;return e&&!KT(27)||(r=41===Je?function(){var e=TT(),n=(BT(41),BT(127),rS());return ZT(nn.createNamespaceImport(n),e)}():wD(267)),ZT(nn.createImportClause(t,e,r),n)}(x,_,g),BT(154));var x=PD();return YT(),ZE(ZT(nn.createImportDeclaration(p,m,f,x),u),d);case 93:switch(DT(),Je){case 88:case 63:return A=e,C=n,P=t,w=r,F=gT(),sT(!0),KT(63)?M=!0:BT(88),G=zx(),YT(),sT(F),ZE(ZT(nn.createExportAssignment(P,w,M,G),A),C);case 127:return F=e,P=n,w=t,M=r,BT(127),BT(141),G=rS(),YT(),(G=nn.createNamespaceExportDeclaration(G)).decorators=w,G.modifiers=M,ZE(ZT(G,F),P);default:var L,D,A=e,C=n,I=t,N=r,k=gT(),R=(sT(!0),KT(150)),O=TT();return KT(41)?(KT(127)&&(L=function(e){return ZT(nn.createNamespaceExport(aS()),e)}(O)),BT(154),D=PD()):(L=wD(271),154!==Je&&(10!==Je||Me.hasPrecedingLineBreak())||(BT(154),D=PD())),YT(),sT(k),ZE(ZT(nn.createExportDeclaration(I,N,R,L,D),A),C)}default:if(t||r)return v=$T(274,!0,xe.Diagnostics.Declaration_expected),xe.setTextRangePos(v,e),v.decorators=t,v.modifiers=r,v}var P,w,M,F,G,B,U,V,j,K,H,W}function YL(e,n){if(18===Je||!qT())return RL(e,n);YT()}function QL(){var e,n,t,r=TT();return 27===Je?ZT(nn.createOmittedExpression(),r):(e=HT(25),n=eD(),t=Wx(),ZT(nn.createBindingElement(e,void 0,n,t),r))}function ZL(){var e,n=TT(),t=HT(25),r=FT(),a=sS();r&&58!==Je?(e=a,a=void 0):(BT(58),e=eD()),r=Wx();return ZT(nn.createBindingElement(t,a,e,r),n)}function $L(){return 18===Je||22===Je||80===Je||FT()}function eD(e){var n,t;return 22===Je?(t=TT(),BT(22),n=NS(10,QL),BT(23),ZT(nn.createArrayBindingPattern(n),t)):18===Je?(n=TT(),BT(18),t=NS(9,ZL),BT(19),ZT(nn.createObjectBindingPattern(t),n)):tS(e)}function nD(){return tD(!0)}function tD(e){var n,t=TT(),r=ST(),a=eD(xe.Diagnostics.Private_identifiers_are_not_allowed_in_variable_declarations),i=(e=(e&&79===a.kind&&53===Je&&!Me.hasPrecedingLineBreak()&&(n=JT()),Vx()),eL(Je)?void 0:Wx());return ZE(ZT(nn.createVariableDeclaration(a,n,e,i),t),r)}function rD(e){var n,t,r=TT(),a=0;switch(Je){case 113:break;case 119:a|=1;break;case 85:a|=2;break;default:xe.Debug.fail()}return DT(),158===Je&&wT(aD)?n=kS():(t=_T(),aT(e),n=NS(8,e?tD:nD),aT(t)),ZT(nn.createVariableDeclarationList(n,a),r)}function aD(){return hS()&&21===DT()}function iD(e,n,t,r){var a=rD(!1);YT(),r=nn.createVariableStatement(r,a);return r.decorators=t,ZE(ZT(r,e),n)}function oD(e,n,t,r){var a=gT(),i=xe.modifiersToFlags(r),o=(BT(98),HT(41)),s=(512&i?NL:tS)(),c=o?1:0,l=256&i?2:0,u=XS(),d=(i=(1&i&&sT(!0),tx(c|l)),ex(58,!1));c=YL(c|l,xe.Diagnostics.or_expected);return sT(a),ZE(ZT(nn.createFunctionDeclaration(t,r,o,s,u,i,d,c),e),n)}function sD(e,n,t,r){return MT((function(){var a,i,o,s;if(133===Je?BT(133):10===Je&&20===wT(DT)&&MT((function(){var e=BS();return"constructor"===e.text?e:void 0})))return a=XS(),s=tx(0),i=ex(58,!1),o=YL(0,xe.Diagnostics.or_expected),(s=nn.createConstructorDeclaration(t,r,s,o)).typeParameters=a,s.type=i,ZE(ZT(s,e),n)}))}function cD(e,n,t,r,a,i,o,s,c){var l=a?1:0,u=xe.some(r,xe.isAsyncModifier)?2:0,d=XS(),p=tx(l|u),m=ex(58,!1);l=YL(l|u,c),u=nn.createMethodDeclaration(t,r,a,i,o,d,p,m,l);return u.exclamationToken=s,ZE(ZT(u,e),n)}function lD(e,n,t,r,a,i){var o,s,c,l=i||Me.hasPrecedingLineBreak()?void 0:HT(53),u=Vx(),d=cT(45056,Wx);return o=a,s=u,c=d,59!==Je||Me.hasPrecedingLineBreak()?20===Je?(yT(xe.Diagnostics.Cannot_start_a_function_call_in_a_type_annotation),DT()):s&&!qT()?c?yT(xe.Diagnostics._0_expected,xe.tokenToString(26)):yT(xe.Diagnostics.Expected_for_property_initializer):XT()||(c?18===Je&&yT(xe.Diagnostics._0_expected,xe.tokenToString(26)):UT(o)):yT(xe.Diagnostics.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations),ZE(ZT(nn.createPropertyDeclaration(t,r,a,i||l,u,d),e),n)}function uD(e,n,t,r){var a=HT(41),i=sS(),o=HT(57);return a||20===Je||29===Je?cD(e,n,t,r,a,i,o,void 0,xe.Diagnostics.or_expected):lD(e,n,t,r,i,o)}function dD(e,n,t,r,a){var i=sS(),o=XS(),s=tx(0),c=ex(58,!1),l=YL(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),ZE(ZT(a,e),n)}function pD(){var e;if(59===Je)return!0;for(;xe.isModifierKind(Je);){if(e=Je,xe.isClassMemberModifier(e))return!0;DT()}if(41===Je)return!0;if(iS()&&(e=Je,DT()),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 qT()}}return!1}function mD(e,n,t,r){var a,i,o;return zT(124),a=mT(),i=gT(),iT(!1),sT(!0),o=kL(!1),iT(a),sT(i),ZE(ZT(nn.createClassStaticBlockDeclaration(t,r,o),e),n)}function _D(){var e,n;return gT()&&131===Je?(e=TT(),n=rS(xe.Diagnostics.Expression_expected),DT(),bL(e,yL(e,n,!0))):sL()}function fD(){var e,n=TT();if(KT(59))return e=lT(16384,_D),ZT(nn.createDecorator(e),n)}function gD(){for(var e,n,t=TT();n=fD();)e=xe.append(e,n);return e&&QT(e,t)}function yD(e,n){var t=TT(),r=Je;if(85===Je&&e){if(!MT(uS))return}else{if(n&&124===Je&&wT(RD))return;if(!xe.isModifierKind(Je)||!MT(dS))return}return ZT(nn.createToken(r),t)}function hD(e,n){for(var t,r,a=TT();r=yD(e,n);)t=xe.append(t,r);return t&&QT(t,a)}function vD(){var e;return 130===Je&&(e=TT(),DT(),e=QT([ZT(nn.createToken(130),e)],e)),e}function bD(){var e=TT();if(26===Je)return DT(),ZT(nn.createSemicolonClassElement(),e);var n=ST(),t=gD(),r=hD(!0,!0);if(124===Je&&wT(RD))return mD(e,n,t,r);if(lS(135))return dD(e,n,t,r,170);if(lS(147))return dD(e,n,t,r,171);if(133===Je||10===Je){var a=sD(e,n,t,r);if(a)return a}if(ix())return sx(e,n,t,r);if(xe.tokenIsIdentifierOrKeyword(Je)||10===Je||8===Je||41===Je||22===Je){if(xe.some(r,JL)){for(var i=0,o=r;i<o.length;i++)o[i].flags|=8388608;return lT(8388608,(function(){return uD(e,n,t,r)}))}return uD(e,n,t,r)}return t||r?(a=$T(79,!0,xe.Diagnostics.Declaration_expected),lD(e,n,t,r,a,void 0)):xe.Debug.fail("Should not have attempted to parse class member declaration.")}function ED(e,n,t,r){return TD(e,n,t,r,255)}function TD(e,n,t,r,a){var i,o=gT(),s=(BT(84),!FT()||117===Je&&wT(vS)?void 0:nS(FT())),c=XS(),l=(xe.some(r,xe.isExportModifier)&&sT(!0),SD());return BT(18)?(i=LS(5,bD),BT(19)):i=kS(),sT(o),ZE(ZT(255===a?nn.createClassDeclaration(t,r,s,c,l,i):nn.createClassExpression(t,r,s,c,l,i),e),n)}function SD(){if(AD())return LS(22,xD)}function xD(){var e=TT(),n=Je,t=(xe.Debug.assert(94===n||117===n),DT(),NS(7,LD));return ZT(nn.createHeritageClause(n,t),e)}function LD(){var e=TT(),n=sL(),t=DD();return ZT(nn.createExpressionWithTypeArguments(n,t),e)}function DD(){return 29===Je?RS(20,Bx,29,31):void 0}function AD(){return 94===Je||117===Je}function CD(){var e=TT(),n=ST(),t=sS(),r=uT(Wx);return ZE(ZT(nn.createEnumMember(t,r),e),n)}function ID(){var e,n=TT();return BT(18)?(e=LS(1,zL),BT(19)):e=kS(),ZT(nn.createModuleBlock(e),n)}function ND(e,n,t,r){var a,i,o=0;return 155===Je?(a=rS(),o|=1024):(a=BS()).text=eS(a.text),18===Je?i=ID():YT(),ZE(ZT(nn.createModuleDeclaration(t,r,a,i,o),e),n)}function kD(){return 20===DT()}function RD(){return 18===DT()}function OD(){return 43===DT()}function PD(){var e;return 10===Je?((e=BS()).text=eS(e.text),e):Hx()}function wD(e){var n=TT();return ZT(267===e?nn.createNamedImports(RS(23,FD,18,19)):nn.createNamedExports(RS(23,MD,18,19)),n)}function MD(){return GD(273)}function FD(){return GD(268)}function GD(e){var n,t=TT(),r=xe.isKeyword(Je)&&!GT(),a=Me.getTokenPos(),i=Me.getTextPos(),o=aS();o=127===Je?(n=o,BT(127),r=xe.isKeyword(Je)&&!GT(),a=Me.getTokenPos(),i=Me.getTextPos(),aS()):o;return 268===e&&r&&vT(a,i,xe.Diagnostics.Identifier_expected),ZT(268===e?nn.createImportSpecifier(n,o):nn.createExportSpecifier(n,o),t)}function BD(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 UD(e){return n=e,xe.isMetaProperty(n)&&100===n.keywordToken&&"meta"===n.name.escapedText?e:WE(e,UD);var n}function VD(e){var n=TT(),t=(e?KT:BT)(18),r=lT(4194304,JS);e&&!t||jT(19),e=nn.createJSDocTypeExpression(r);return nT(e),ZT(e,n)}function jD(){for(var e=TT(),n=KT(18),t=TT(),r=OS(!1);80===Je;)kT(),AT(),r=ZT(nn.createJSDocMemberName(r,rS()),t);return n&&jT(19),n=nn.createJSDocNameReference(r),nT(n),ZT(n,e)}function KD(e,n){void 0===e&&(e=0);var t,r,a,i,o,s,c,l=Ue,u=void 0===n?l.length:e+n;if(n=u-e,xe.Debug.assert(0<=e),xe.Debug.assert(e<=u),xe.Debug.assert(u<=l.length),HE(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(AT();k(5););k(4)&&(_=m=0);e:for(;;){switch(Je){case 59:0===m||1===m?(p(s),o=o||TT(),(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||d(s),c.push(ZT(nn.createJSDocText(s.join("")),null!=i?i:e,h)),c.push(v),s=[],i=Me.getTextPos();break}default:m=2,f(Me.getTokenText())}AT()}p(s),c.length&&s.length&&c.push(ZT(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&&QT(t,r,a);return ZT(nn.createJSDocComment(c.length?QT(c,e,o):s.length?s.join(""):void 0,E),e,u)}));function d(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(AT(),1===Je)return!0;if(5!==Je&&4!==Je)return!1}}function _(){if(5!==Je&&4!==Je||!wT(m))for(;5===Je||4===Je;)AT()}function f(){if((5===Je||4===Je)&&wT(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),AT();return n?t:""}function g(e){xe.Debug.assert(59===Je);var n,r,a,i,o,s,c,l,u,d,p,m,v,b,E,S,O,P,w,M,F,G=Me.getTokenPos(),B=(AT(),R(void 0)),U=f();switch(B.escapedText){case"author":n=function(e,n,t,r){var a=TT(),i=function(){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=AT()}return nn.createJSDocText(e.join(""))}(),o=Me.getStartPos();t=y(e,o,t,r);return t||(o=Me.getStartPos()),r="string"!=typeof t?QT(xe.concatenate([ZT(i,a,o)],t),a):i.text+t,ZT(nn.createJSDocAuthorTag(n,r),e)}(G,B,e,U);break;case"implements":O=G,P=B,w=e,M=U,F=A(),n=ZT(nn.createJSDocImplementsTag(P,F,y(O,TT(),w,M)),O);break;case"augments":case"extends":P=G,F=B,w=e,M=U,O=A(),n=ZT(nn.createJSDocAugmentsTag(F,O,y(P,TT(),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=VD(!0),_(),n=ZT(nn.createJSDocThisTag(v,S,y(m,TT(),b,E)),m);break;case"enum":v=G,S=B,b=e,E=U,m=VD(!0),_(),n=ZT(nn.createJSDocEnumTag(S,m,y(v,TT(),b,E)),v);break;case"arg":case"argument":case"param":return L(G,B,2,e);case"return":case"returns":c=G,l=B,u=e,d=U,xe.some(t,xe.isJSDocReturnTag)&&vT(l.pos,Me.getTokenPos(),xe.Diagnostics._0_tag_already_specified,l.escapedText),p=T(),n=ZT(nn.createJSDocReturnTag(l,p,y(c,TT(),u,d)),c);break;case"template":l=G,p=B,u=e,d=U,c=18===Je?VD():void 0,s=function(){var e=TT(),n=[];do{_();var t=function(){var e=TT(),n=R(xe.Diagnostics.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces);if(!xe.nodeIsMissing(n))return ZT(nn.createTypeParameterDeclaration(n,void 0,void 0),e)}()}while(void 0!==t&&n.push(t),f(),k(27));return QT(n,e)}(),n=ZT(nn.createJSDocTemplateTag(p,c,s,y(l,TT(),u,d)),l);break;case"type":n=D(G,B,e,U);break;case"typedef":n=function(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,u=void 0,d=void 0,p=!1;l=MT((function(){return N(1,t)}));)if(p=!0,338===l.kind){if(u){yT(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}u=l}else d=xe.append(d,l);p&&(c=i&&181===i.type.kind,c=nn.createJSDocTypeLiteral(d,c),i=u&&u.typeExpression&&!x(u.typeExpression.type)?u.typeExpression:ZT(c,e),c=i.end)}return c=c||void 0!==s?TT():(null!=(a=null!=o?o:i)?a:n).end,s=s||y(e,c,t,r),ZT(nn.createJSDocTypedefTag(n,i,o,s),e,c)}(G,B,e,U);break;case"callback":n=function(e,n,t,r){var a=I(),i=(_(),h(t)),o=function(e){for(var n,t,r=TT();n=MT((function(){return N(4,e)}));)t=xe.append(t,n);return QT(t||[],r)}(t),s=MT((function(){if(k(59)){var e=g(t);if(e&&336===e.kind)return e}}));o=ZT(nn.createJSDocSignature(void 0,o,s),e);return i=i||y(e,TT(),t,r),ZT(nn.createJSDocCallbackTag(n,o,a,i),e)}(G,B,e,U);break;case"see":s=G,r=B,a=e,i=U,o=wT((function(){return 59===AT()&&xe.tokenIsIdentifierOrKeyword(AT())&&"link"===Me.getTokenValue()}))?void 0:jD(),a=void 0!==a&&void 0!==i?y(s,TT(),a,i):void 0,n=ZT(nn.createJSDocSeeTag(r,o,a),s);break;default:i=G,r=e,o=U,n=ZT(nn.createJSDocUnknownTag(B,y(i,TT(),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=TT(),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 u=Je;e:for(;;){switch(u){case 4:s=0,i.push(Me.getTokenText()),e=0;break;case 59:if(3===s||2===s&&(!c||wT(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(ZT(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,u=AT()}return d(i),p(i),o.length?(i.length&&o.push(ZT(nn.createJSDocText(i.join("")),null!=t?t:a)),QT(o,a,Me.getTextPos())):i.length?i.join(""):void 0}function v(){var e=AT();return 5===e||4===e}function b(e){var n=MT(E);if(n){AT(),_();var t=TT(),r=xe.tokenIsIdentifierOrKeyword(Je)?OS(!0):void 0;if(r)for(;80===Je;)kT(),AT(),r=ZT(nn.createJSDocMemberName(r,rS()),t);for(var a=[];19!==Je&&4!==Je&&1!==Je;)a.push(Me.getTokenText()),AT();return ZT(("link"===n?nn.createJSDocLink:"linkcode"===n?nn.createJSDocLinkCode:nn.createJSDocLinkPlain)(r,a.join("")),e,Me.getTextPos())}}function E(){if(f(),18===Je&&59===AT()&&xe.tokenIsIdentifierOrKeyword(AT())){var e=Me.getTokenValue();if("link"===e||"linkcode"===e||"linkplain"===e)return e}}function T(){return f(),18===Je?VD():void 0}function S(){var e=k(22),n=(e&&_(),k(61)),t=function(){var e=R();for(KT(22)&&BT(23);KT(24);){var n=R();KT(22)&&BT(23),e=function(e,n){return ZT(nn.createQualifiedName(e,n),e.pos)}(e,n)}return e}();return n&&!WT(n=61)&&$T(n,!1,xe.Diagnostics._0_expected,xe.tokenToString(n)),e&&(_(),HT(63)&&Hx(),BT(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&&!wT(E)&&(a=T()),c=y(e,TT(),r,c),r=4!==t&&function(e,n,t,r){if(e&&x(e.type)){for(var a=TT(),i=void 0,o=void 0;i=MT((function(){return N(t,r,n)}));)335!==i.kind&&342!==i.kind||(o=xe.append(o,i));if(o)return e=ZT(nn.createJSDocTypeLiteral(o,181===e.type.kind),a),ZT(nn.createJSDocTypeExpression(e),a)}}(a,s,t,r);return r&&(a=r,i=!0),ZT(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)&&vT(n.pos,Me.getTokenPos(),xe.Diagnostics._0_tag_already_specified,n.escapedText);var i=VD(!0);r=void 0!==r&&void 0!==a?y(e,TT(),r,a):void 0;return ZT(nn.createJSDocTypeTag(n,i,r),e)}function A(){var e=KT(18),n=TT(),t=function(){for(var e=TT(),n=R();KT(24);){var t=R();n=ZT(nn.createPropertyAccessExpression(n,t),e)}return n}(),r=DD();t=ZT(nn.createExpressionWithTypeArguments(t,r),n);return e&&BT(19),t}function C(e,n,t,r,a){return ZT(n(t,y(e,TT(),r,a)),e)}function I(e){var n,t,r=Me.getTokenPos();if(xe.tokenIsIdentifierOrKeyword(Je))return n=R(),KT(24)?(t=I(!0),ZT(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(AT()){case 59:if(a)return!((r=function(e,n){xe.Debug.assert(59===Je);var t,r=Me.getStartPos(),a=(AT(),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)||!function(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&&(AT(),!0)}function R(e){if(!xe.tokenIsIdentifierOrKeyword(Je))return $T(79,!e,e||xe.Diagnostics.Identifier_expected);Qe++;e=Me.getTokenPos();var n=Me.getTextPos(),t=Je,r=eS(Me.getTokenValue());r=ZT(nn.createIdentifier(r,void 0,t),e,n);return AT(),r}}function HD(e,n,t,r,a,i){function o(e){var n="";if(i&&WD(e)&&(n=r.substring(e.pos,e.end)),e._children&&(e._children=void 0),xe.setTextRangePosEnd(e,e.pos+t,e.end+t),i&&WD(e)&&xe.Debug.assert(n===a.substring(e.pos,e.end)),WE(e,o,s),xe.hasJSDocNodes(e))for(var c=0,l=e.jsDoc;c<l.length;c++)o(l[c]);JD(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 WD(e){switch(e.kind){case 10:case 8:case 79:return 1}}function zD(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 JD(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]);WE(e,r),xe.Debug.assert(t<=e.end)}}function qD(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 XD(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&&(WE(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 WE(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,WE(e,o,s)),a=i,xe.Debug.assert(!r||r.pos===i),r}}}function YD(e){return xe.fileExtensionIs(e,".d.ts")}function QD(e,n){for(var t=[],r=0,a=xe.getLeadingCommentRanges(n,0)||xe.emptyArray;r<a.length;r++){var i=a[r];!function(e,n,t){var r=2===n.kind&&un.exec(t);if(r){r=r[1].toLowerCase();var 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],u=function(e){if(ln.has(e))return ln.get(e);var n=new RegExp("(\\s"+e+"\\s*=\\s*)(?:(?:'([^']*)')|(?:\"([^\"]*)\"))","im");return ln.set(e,n),n}(l.name).exec(t);if(!u&&!l.optional)return;u&&(c=u[2]||u[3],l.captureSpan?(u=n.pos+u.index+u[1].length+1,i[l.name]={value:c,pos:u,end:u+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&&dn.exec(t),a)return $D(e,n,2,a);if(3===n.kind)for(var d=/@(\S+)(\s+.*)?$/gim,p=void 0;p=d.exec(t);)$D(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 ZD(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 $D(e,n,t,r){var a,i;r&&(a=r[1].toLowerCase(),i=xe.commentPragmas[a])&&i.kind&t&&"fail"!==(t=function(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 eA(e,n){return e.kind===n.kind&&(79===e.kind?e.escapedText===n.escapedText:108===e.kind||e.name.escapedText===n.name.escapedText&&eA(e.expression,n.expression))}function nA(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 tA(){return mn=mn||nA(pn.optionDeclarations)}function rA(e){return e&&void 0!==e.enableAutoDiscovery&&void 0===e.enable?{enable:e.enableAutoDiscovery,include:e.include||[],exclude:e.exclude||[]}:e}function aA(e){return iA(e,pn.createCompilerDiagnostic)}function iA(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 oA(e,n,t){return YA(e,pn.trimString(n||""),t)}function sA(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 XA(e.element,parseInt(n),t)}));case"string":return pn.mapDefined(r,(function(n){return XA(e.element,n||"",t)}));default:return pn.mapDefined(r,(function(n){return oA(e.element,n,t)}))}}}function cA(e){return e.name}function lA(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,cA))?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,u,d=n[c];if(c++,64===d.charCodeAt(0)){g=f=_=m=p=void 0;var p=d.slice(1),m=yA(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===d.charCodeAt(0)?(l=d.slice(45===d.charCodeAt(1)?2:1),(u=mA(e.getOptionsNameMap,l,!0))?c=dA(n,c,e,u,a,o):(u=mA(Tn.getOptionsNameMap,l,!0))?c=dA(n,c,Tn,u,r=r||{},o):o.push(lA(l,e,pn.createCompilerDiagnostic,d))):i.push(d)}}}function dA(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]=XA(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,DA(r))),"null"!==e[n])switch(r.type){case"number":a[r.name]=XA(r,parseInt(e[n]),i),n++;break;case"boolean":var o=e[n];a[r.name]=XA(r,"false"!==o,i),"false"!==o&&"true"!==o||n++;break;case"string":a[r.name]=XA(r,e[n]||"",i),n++;break;case"list":var s=sA(r,e[n],i);a[r.name]=s||[],s&&n++;break;default:a[r.name]=oA(r,e[n],i),n++}else a[r.name]=void 0,n++;return n}function pA(e,n){return mA(tA,e,n)}function mA(e,n,t){void 0===t&&(t=!1),n=n.toLowerCase();e=e();var r=e.optionsNameMap;e=e.shortOptionNames;return t&&void 0!==(t=e.get(n))&&(n=t),r.get(n)}function _A(){return _n=_n||nA(pn.buildOpts)}function fA(e,n){return e=pn.parseJsonText(e,n),{config:SA(e,e.parseDiagnostics,!1,void 0),error:e.parseDiagnostics.length?e.parseDiagnostics[0]:void 0}}function gA(e,n){return n=yA(e,n),pn.isString(n)?pn.parseJsonText(e,n):{fileName:e,parseDiagnostics:[n]}}function yA(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 hA(e){return pn.arrayToMap(e,cA)}function vA(){return gn=gn||nA(pn.optionsForWatch)}function bA(){return hn=hn||hA(pn.optionDeclarations)}function EA(){return vn=vn||hA(pn.optionsForWatch)}function TA(){return bn=bn||hA(pn.typeAcquisitionDeclarations)}function SA(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:hA([{name:"compilerOptions",type:"object",elementOptions:bA(),extraKeyDiagnostics:pn.compilerOptionsDidYouMeanDiagnostics},{name:"watchOptions",type:"object",elementOptions:EA(),extraKeyDiagnostics:Tn},{name:"typingOptions",type:"object",elementOptions:TA(),extraKeyDiagnostics:yn},{name:"typeAcquisition",type:"object",elementOptions:TA(),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 LA(e,i,n,!0,t,r)}return{}}return LA(e,a,n,!0,t,r)}function xA(e,n){return LA(e,null==(e=e.statements[0])?void 0:e.expression,n,!0,void 0,void 0)}function LA(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,u){for(var d=r?{}:void 0,p=0,m=n.properties;p<m.length;p++)!function(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),m&&a?a.get(m):void 0),f=(m&&s&&!_&&(a?t.push(lA(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&&(d[m]=f),i)&&(u||o(a))&&(p=AA(_,f),u?p&&i.onSetValidOptionKeyValueInParent(u,_,f):o(a)&&(p?i.onSetValidOptionKeyValueInRoot(m,n.name,f,n.initializer):_||i.onSetUnknownOptionKeyValueInRoot(m,n.name,f,n.initializer)))}(m[p]);return d}function c(n,a){var i;switch(n.kind){case 110:return p(a&&"boolean"!==a.type),d(!0);case 95:return p(a&&"boolean"!==a.type),d(!1);case 104:return p(a&&"extends"===a.name),d(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)||(u=a).type.has(o.toLowerCase())||(t.push(iA(u,(function(t,r,a){return pn.createDiagnosticForNodeInSourceFile(e,n,t,r,a)}))),i=!0),d(o);case 8:return p(a&&"number"!==a.type),d(Number(n.text));case 217:if(40!==n.operator||8!==n.operand.kind)break;return p(a&&"number"!==a.type),d(-Number(n.operand.text));case 203:p(a&&"object"!==a.type);var u=n;return d(a?s(u,a.elementOptions,a.extraKeyDiagnostics,a.name):s(u,void 0,void 0,void 0));case 202:return p(a&&"list"!==a.type),d(function(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 d(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,$u([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,DA(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 DA(e){return"list"===e.type?"Array":pn.isString(e.type)?e.type:"string"}function AA(e,n){return!!e&&(!!PA(n)||("list"===e.type?pn.isArray(n):typeof n===(pn.isString(e.type)?e.type:"string")))}function CA(e){return ed({},pn.arrayFrom(e.entries()).reduce((function(e,n){return ed(ed({},e),((e={})[n[0]]=n[1],e))}),{}))}function IA(e,n){return pn.forEachEntry(n,(function(n,t){if(n===e)return t}))}function NA(e,n){return kA(e,tA(),n)}function kA(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 IA(e,r)}))):o.set(n,IA(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 RA(e,n,t,r,a,i,o,s,c){return MA(void 0,e,n,t,r,c,a,i,o,s)}function OA(e,n){n&&Object.defineProperty(e,"configFile",{enumerable:!1,writable:!1,value:n})}function PA(e){return null==e}function wA(e,n){return pn.getDirectoryPath(pn.getNormalizedAbsolutePath(e,n))}function MA(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 u=[],d=(e=UA(e,n,t,r,o,s,u,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),function(){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(d,"extends"),0===t.length)&&e&&!s&&(n?(e=o||"tsconfig.json",s=pn.Diagnostics.The_files_list_in_config_file_0_is_empty,c=pn.firstDefined(pn.getTsConfigPropArray(n,"files"),(function(e){return e.initializer})),c=c?pn.createDiagnosticForNodeInSourceFile(n,c,s,e):pn.createCompilerDiagnostic(s,e),u.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"),_(e));return"no-prop"===e&&d.compilerOptions&&(e=d.compilerOptions.outDir,i=d.compilerOptions.declarationDir,e||i)&&(c=[e,i].filter((function(e){return!!e}))),void 0===t&&void 0===s&&(s=["**/*"]),s&&(r=eC(s,u,!0,n,"include")),c&&(a=eC(c,u,!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),OA(p,n),a=pn.normalizePath(o?wA(o,r):r);return{options:p,watchOptions:l,fileNames:function(e){return e=QA(m,e,p,t,c),GA(e,BA(d),s)&&u.push(FA(m,o)),e}(a),projectReferences:function(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||HA(),raw:d,errors:u,wildcardDirectories:function(e,n,t){var r=e.validatedIncludeSpecs,a=(e=e.validatedExcludeSpecs,e=pn.getRegularExpressionForWildcard(e,n,"exclude"),e&&new RegExp(e,t?"":"i")),i={};if(void 0!==r){for(var o=[],s=0,c=r;s<c.length;s++){var l,u,d=c[s];d=pn.normalizePath(pn.combinePaths(n,d));a&&a.test(d)||(d=function(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}(d,t))&&(l=d.key,d=d.flags,void 0===(u=i[l])||u<d)&&1===(i[l]=d)&&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:!!d.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(d,e)&&!PA(d[e])?pn.isArray(d[e])?(a=d[e],n||pn.every(a,t)||u.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||u.push(pn.createCompilerDiagnostic(e,t,r))}}function FA(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 GA(e,n,t){return 0===e.length&&n&&(!t||0===t.length)}function BA(e){return!pn.hasProperty(e,"files")&&!pn.hasProperty(e,"references")}function UA(e,n,t,r,a,i,o,s){r=pn.normalizeSlashes(r);var c,l,u,d,p=pn.getNormalizedAbsolutePath(a||"",r);return 0<=i.indexOf(p)?(o.push(pn.createCompilerDiagnostic(pn.Diagnostics.Circularity_detected_while_resolving_configuration_Colon_0,$u($u([],i,!0),[p],!1).join(" -> "))),{raw:e||xA(n,o)}):(null!=(e=(c=e?function(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=KA(e.compilerOptions,t,a,r),s=WA(e.typeAcquisition||e.typingOptions,t,a,r),c=function(e,n,t){return zA(EA(),e,n,void 0,Tn,t)}(e.watchOptions,t,a);return e.compileOnSave=function(e,n,t){return!!pn.hasProperty(e,pn.compileOnSaveCommandLineOption.name)&&"boolean"==typeof(e=JA(pn.compileOnSaveCommandLineOption,e.compileOnSave,n,t))&&e}(e,t,a),e.extends&&(pn.isString(e.extends)?(r=r?wA(r,t):t,i=VA(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):function(e,n,t,r,a){var i,o,s,c,l=jA(r),u=SA(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||HA(r);break;case"typingOptions":c=o=o||HA(r);break;default:pn.Debug.fail("Unknown option")}c[n.name]=function e(n,t,r){var a;if(!PA(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)?qA(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?wA(r,t):t,c=VA(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:HA(r)),{raw:u,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=function(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=gA(n,(function(e){return t.readFile(e)}))).parseDiagnostics.length||(c=UA(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,u=c.raw,(e=function(e){!u[e]&&l[e]&&(u[e]=pn.map(l[e],(function(e){return pn.isRootedDiskPath(e)?e:pn.combinePaths(d=d||pn.convertToRelativePath(pn.getDirectoryPath(c.extendedConfigPath),r,pn.createGetCanonicalFileName(t.useCaseSensitiveFileNames)),e)})))})("include"),e("exclude"),e("files"),void 0===u.compileOnSave&&(u.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 VA(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 jA(e){return e&&"jsconfig.json"===pn.getBaseFileName(e)?{allowJs:!0,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:!0,skipLibCheck:!0,noEmit:!0}:{}}function KA(e,n,t,r){var a=jA(r);return zA(bA(),e,n,a,pn.compilerOptionsDidYouMeanDiagnostics,t),r&&(a.configFilePath=pn.normalizeSlashes(r)),a}function HA(e){return{enable:!!e&&"jsconfig.json"===pn.getBaseFileName(e),include:[],exclude:[]}}function WA(e,n,t,r){return r=HA(r),e=rA(e),zA(TA(),e,n,r,yn,t),r}function zA(e,n,t,r,a,i){if(n){for(var o in n){var s=e.get(o);s?(r=r||{})[s.name]=JA(s,n[o],t,i):i.push(lA(o,a,pn.createCompilerDiagnostic))}return r}}function JA(e,n,t,r){var a,i,o,s;if(AA(e,n))return"list"===(a=e.type)&&pn.isArray(n)?(i=e,o=t,s=r,pn.filter(pn.map(n,(function(e){return JA(i.element,e,o,s)})),(function(e){return!!e}))):pn.isString(a)?PA(a=XA(e,n,r))?a:qA(e,t,a):YA(e,n,r);r.push(pn.createCompilerDiagnostic(pn.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,e.name,DA(e)))}function qA(e,n,t){return e.isFilePath&&""===(t=pn.getNormalizedAbsolutePath(t,n))?".":t}function XA(e,n,t){var r;if(!PA(n))return(r=null==(r=e.extraValidation)?void 0:r.call(e,n))?void t.push(pn.createCompilerDiagnostic.apply(void 0,r)):n}function YA(e,n,t){if(!PA(n))return n=n.toLowerCase(),void 0!==(n=e.type.get(n))?XA(e,n,t):void t.push(aA(e))}function QA(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,u=e.validatedFilesSpec,d=e.validatedIncludeSpecs,p=(e=e.validatedExcludeSpecs,pn.getSupportedExtensions(t,a));a=pn.getSuppoertedExtensionsWithJsonIfResolveJsonModule(t,p);if(u)for(var m=0,_=u;m<_.length;m++){var f=_[m],g=pn.getNormalizedAbsolutePath(f,n);s.set(o(g),g)}if(d&&0<d.length)for(var y=function(e){if(pn.fileExtensionIs(e,".json"))return i||(_=d.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(function(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,u=p,m=o,_=pn.getExtensionPriority(t,u),f=pn.getNextLowestExtensionPriority(_,u);f<u.length;f++){var g=u[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,d,void 0);h<v.length;h++)y(g=v[h]);return t=pn.arrayFrom(s.values()),u=pn.arrayFrom(c.values()),t.concat(u,pn.arrayFrom(l.values()))}function ZA(e){var n=pn.startsWith(e,"**/")?0:e.indexOf("/**/");return-1!==n&&n<(pn.endsWith(e,"/..")?e.length:e.lastIndexOf("/../"))}function $A(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 eC(e,n,t,r,a){return e.filter((function(e){return!!pn.isString(e)&&(void 0!==(e=nC(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 nC(e,n){return n&&Sn.test(e)?[pn.Diagnostics.File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,e]:ZA(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 tC(e){e.trace(Ln.formatMessage.apply(void 0,arguments))}function rC(e,n){return!!e.traceResolution&&void 0!==n.trace}function aC(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 iC(e){return aC(void 0,e)}function oC(e){if(e)return Ln.Debug.assert(void 0===e.packageId),{path:e.path,ext:e.extension}}function sC(e){if(e)return Ln.Debug.assert(Ln.extensionIsTS(e.extension)),{fileName:e.path,packageId:e.packageId}}function cC(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 lC(e,n,t,r){if(Ln.hasProperty(e,n)){if(e=e[n],typeof e===t&&null!==e)return e;r.traceEnabled&&tC(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&&tC(r.host,Ln.Diagnostics.package_json_does_not_have_a_0_field,n)}function uC(e,n,t,r){if(e=lC(e,n,"string",r),void 0!==e){if(e)return t=Ln.normalizePath(Ln.combinePaths(t,e)),r.traceEnabled&&tC(r.host,Ln.Diagnostics.package_json_has_0_field_1_that_references_2,n,e,t),t;r.traceEnabled&&tC(r.host,Ln.Diagnostics.package_json_had_a_falsy_0_field,n)}}function dC(e,n,t){return uC(e,"typings",n,t)||uC(e,"types",n,t)}function pC(e,n,t){return uC(e,"main",n,t)}function mC(e,n){var t=function(e,n){if(void 0!==(e=lC(e,"typesVersions","object",n)))return n.traceEnabled&&tC(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)&&tC(n.host,Ln.Diagnostics.package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range,r);if(e=_C(t),e){var a=e.version,i=e.paths;if("object"==typeof i)return e;n.traceEnabled&&tC(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&&tC(n.host,Ln.Diagnostics.package_json_does_not_have_a_typesVersions_entry_that_matches_version_0,Ln.versionMajorMinor)}}function _C(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 fC(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 gC(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 yC(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 hC(e,n,t,r){return e=e.getOrCreateMapOfCacheRedirects(n),n=e.get(t),n||(n=r(),e.set(t,n)),n}function vC(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 bC(e,n,t){return{getOrCreateCacheForDirectory:function(r,a){return r=Ln.toPath(r,e,n),hC(t,a,r,(function(){return new Ln.Map}))},clear:function(){t.clear()},update:function(e){vC(e,t)}}}function EC(e,n,t,r,a){var i=function(e,n,t,r){var a=r.compilerOptions,i=a.baseUrl,o=a.paths;a=a.configFile;if(o&&!Ln.pathIsRelative(n))return r.traceEnabled&&(i&&tC(r.host,Ln.Diagnostics.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1,i,n),tC(r.host,Ln.Diagnostics.paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0,n)),i=Ln.getPathsBasePath(r.compilerOptions,r.host),a=null!=a&&a.configFileSpecs?(a=a.configFileSpecs).pathPatterns||(a.pathPatterns=Ln.tryParsePatterns(o)):void 0,jC(e,n,i,o,a,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&&tC(c.host,Ln.Diagnostics.rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0,i);for(var l,u,d=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(d,f)&&(void 0===u||u.length<f.length));c.traceEnabled&&tC(c.host,Ln.Diagnostics.Checking_if_0_is_the_longest_matching_prefix_for_1_2,f,d,g),g&&(u=f,l=_)}if(u){c.traceEnabled&&tC(c.host,Ln.Diagnostics.Longest_matching_prefix_for_0_is_1,d,u);var y=d.substr(u.length);i=(c.traceEnabled&&tC(c.host,Ln.Diagnostics.Loading_0_from_the_root_dir_1_candidate_location_2,y,u,d),s(o,d,!Ln.directoryProbablyExists(t,c.host),c));if(i)return i;c.traceEnabled&&tC(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&&tC(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&&tC(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&&tC(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&&tC(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 TC(e,n,t){return xC(e,n,{moduleResolution:Ln.ModuleResolutionKind.NodeJs,allowJs:!0},t,void 0,In,void 0)}function SC(e,n,t,r,a,i,o){return xC(e,Ln.getDirectoryPath(n),t,r,a,o?Rn:t.resolveJsonModule?kn:Nn,i)}function xC(e,n,t,r,a,i,o){var s,c=rC(t,r),l=[],u={compilerOptions:t,host:r,traceEnabled:c,failedLookupLocations:l,packageJsonInfoCache:a};i=Ln.forEach(i,(function(i){var s=EC(i,e,n,(function(e,n,t,r){return DC(e,n,t,r,!0)}),u);if(s)return JC({resolved:s,isExternalLibraryImport:AC(s.path)});if(Ln.isExternalModuleNameRelative(e))return s=Ln.normalizePathAndParts(Ln.combinePaths(n,e)),l=s.path,s=s.parts,(l=DC(i,l,!1,u,!0))&&JC({resolved:l,isExternalLibraryImport:Ln.contains(s,"node_modules")});c&&tC(r,Ln.Diagnostics.Loading_module_0_from_node_modules_folder_target_file_type_1,e,Dn[i]);var l=GC(i,e,n,u,a,o);return l?(s=l.value,t.preserveSymlinks||!s||s.originalPath||(i=LC(s.path,r,c),l=i===s.path?void 0:s.path,s=ed(ed({},s),{path:i,originalPath:l})),{value:s&&{resolved:s,isExternalLibraryImport:!0}}):void 0}));return cC(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,u.resultFromCache)}function LC(e,n,t){var r;return n.realpath?(r=Ln.normalizePath(n.realpath(e)),t&&tC(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 DC(e,n,t,r,a){if(r.traceEnabled&&tC(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&&tC(r.host,Ln.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,o),t=!0);var i,o=kC(e,n,t,r);if(o)return aC((i=a?CC(o.path):void 0)?wC(i,!1,r):void 0,o)}return t||Ln.directoryProbablyExists(n,r.host)||(r.traceEnabled&&tC(r.host,Ln.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,n),t=!0),PC(e,n,t,r,a)}function AC(e){return Ln.stringContains(e,Ln.nodeModulesPathPart)}function CC(e){e=Ln.normalizePath(e);var n,t=e.lastIndexOf(Ln.nodeModulesPathPart);if(-1!==t)return n=IC(e,t+=Ln.nodeModulesPathPart.length),64===e.charCodeAt(t)&&(n=IC(e,n)),e.slice(0,n)}function IC(e,n){return e=e.indexOf(Ln.directorySeparator,n+1),-1===e?n:e}function NC(e,n,t,r){return iC(kC(e,n,t,r))}function kC(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:RC(a||n,e,t,r):RC(n,e,t,r)||(Ln.hasJSFileExtension(n)?(a=Ln.removeFileExtension(n),r.traceEnabled&&(i=n.substring(a.length),tC(r.host,Ln.Diagnostics.File_name_0_has_a_1_extension_stripping_it,n,i)),RC(a,e,t,r)):void 0)}function RC(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=OC(e+n,t,r);return void 0===a?void 0:{path:a,ext:n}}}function OC(e,n,t){if(!n){if(t.host.fileExists(e))return t.traceEnabled&&tC(t.host,Ln.Diagnostics.File_0_exist_use_it_as_a_name_resolution_result,e),e;t.traceEnabled&&tC(t.host,Ln.Diagnostics.File_0_does_not_exist,e)}t.failedLookupLocations.push(e)}function PC(e,n,t,r,a){return a=(a=void 0===a||a)?wC(n,t,r):void 0,aC(a,MC(e,n,t,r,a&&a.packageJsonContent,a&&a.versionPaths))}function wC(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&&tC(a,Ln.Diagnostics.File_0_exists_according_to_earlier_cached_lookups,o),n):(n&&i&&tC(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&&tC(a,Ln.Diagnostics.Found_package_json_at_0,o),e={packageDirectory:e,packageJsonContent:r,versionPaths:mC(r,t)},null!=(r=t.packageJsonInfoCache)&&r.setPackageJsonInfo(o,e),e):(n&&i&&tC(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 MC(e,n,t,r,a,i){var o;if(a)switch(e){case Dn.JavaScript:case Dn.Json:o=pC(a,n,r);break;case Dn.TypeScript:o=dC(a,n,r)||pC(a,n,r);break;case Dn.DtsOnly:o=dC(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=OC(n,t,r);if(o){s=e,a=o;var s=void 0!==(i=Ln.tryGetExtensionFromPath(a))&&function(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 iC(s);r.traceEnabled&&tC(r.host,Ln.Diagnostics.File_0_has_an_unsupported_extension_so_skipping_it,o)}return DC(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 u=Ln.getRelativePathFromDirectory(n,o||l,!1);u=(r.traceEnabled&&tC(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,u),jC(e,u,n,i.paths,void 0,s,c||t,r));if(u)return oC(u.value)}return i=o&&oC(s(e,o,c,r)),i||kC(e,l,t,r)}function FC(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 GC(e,n,t,r,a,i){return BC(e,n,t,r,!1,a,i)}function BC(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 WC(s,n,t,r)||JC(UC(e,n,t,r,a))}))}function UC(e,n,t,r,a){t=Ln.combinePaths(t,"node_modules");var i=Ln.directoryProbablyExists(t,r.host);!i&&r.traceEnabled&&tC(r.host,Ln.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,t),a=a?void 0:VC(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&&tC(r.host,Ln.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,a),e=!1),VC(Dn.DtsOnly,function(e,n){var t=KC(e);return n.traceEnabled&&t!==e&&tC(n.host,Ln.Diagnostics.Scoped_package_detected_looking_in_0,t),t}(n,r),a,e,r)):void 0)}function VC(e,n,t,r,a){var i=Ln.normalizePath(Ln.combinePaths(t,n));if(c=wC(i,!r,a))return(s=kC(e,i,!r,a))?iC(s):(s=MC(e,i,!r,a,c.packageJsonContent,c.versionPaths),aC(c,s));function o(e,n,t,r){return e=kC(e,n,t,r)||MC(e,n,t,r,c&&c.packageJsonContent,c&&c.versionPaths),aC(c,e)}var s=FC(n);n=s.packageName,s=s.rest;if(""!==s){var c;t=Ln.combinePaths(t,n);if((c=wC(t,!r,a))&&c.versionPaths&&(a.traceEnabled&&tC(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=jC(e,s,t,c.versionPaths.paths,void 0,o,!n,a),s))return s.value}return o(e,i,!r,a)}function jC(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&&tC(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&&tC(s.host,Ln.Diagnostics.Trying_substitution_0_candidate_module_location_Colon_1,n,r),r=Ln.tryGetExtensionFromPath(n);return void 0!==r&&(n=OC(a,o,s),void 0!==n)?iC({path:n,ext:r}):i(e,a,o||!Ln.directoryProbablyExists(Ln.getDirectoryPath(a),s.host),s)}))}}function KC(e){if(Ln.startsWith(e,"@")){var n=e.replace(Ln.directorySeparator,On);if(n!==e)return n.slice(1)}return e}function HC(e){return Ln.stringContains(e,On)?"@"+e.replace(On,Ln.directorySeparator):e}function WC(e,n,t,r){if(e=e&&e.get(t),e)return r.traceEnabled&&tC(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 zC(e,n,t,r,a,i){var o=[],s={compilerOptions:t,host:r,traceEnabled:rC(t,r),failedLookupLocations:o,packageJsonInfoCache:a},c=Ln.getDirectoryPath(n);t=l(Dn.TypeScript)||l(Dn.JavaScript);return cC(t&&t.value,!1,o,s.resultFromCache);function l(n){var t,r=EC(n,e,c,NC,s);return r?{value:r}:Ln.isExternalModuleNameRelative(e)?(r=Ln.normalizePath(Ln.combinePaths(c,e)),JC(NC(n,r,!1,s))):(t=a&&a.getOrCreateCacheForModuleName(e,i),Ln.forEachAncestorDirectory(c,(function(r){var a=WC(t,e,r,s);return a||(a=Ln.normalizePath(Ln.combinePaths(r,e)),JC(NC(n,a,!1,s)))}))||(n===Dn.TypeScript?BC(Dn.DtsOnly,e,c,s,!0,void 0,void 0):void 0))}}function JC(e){return void 0!==e?{value:e}:void 0}ng.removeFileExtension=Ub,ng.tryRemoveExtension=Vb,ng.removeExtension=jb,ng.changeExtension=function(e,n){return ng.changeAnyExtension(e,n,Bb,!1)},ng.tryParsePattern=Kb,ng.tryParsePatterns=function(e){return ng.mapDefined(ng.getOwnKeys(e),Kb)},ng.positionIsSynthesized=Hb,ng.extensionIsTS=Wb,ng.resolutionExtensionIsTSOrJson=function(e){return Wb(e)||".json"===e},ng.extensionFromPath=function(e){var n=zb(e);return void 0!==n?n:ng.Debug.fail("File "+e+" has unknown extension.")},ng.isAnySupportedFileExtension=function(e){return void 0!==zb(e)},ng.tryGetExtensionFromPath=zb,ng.isCheckJsEnabledForFile=function(e,n){return e.checkJsDirective?e.checkJsDirective.enabled:n.checkJs},ng.emptyFileSystemEntries={files:ng.emptyArray,directories:ng.emptyArray},ng.matchPatternOrExact=function(e,n){for(var t=[],r=0,a=e;r<a.length;r++){var i=a[r];if(i===n)return n;ng.isString(i)||t.push(i)}return ng.findBestPatternMatch(t,(function(e){return e}),n)},ng.sliceAfter=function(e,n){return n=e.indexOf(n),ng.Debug.assert(-1!==n),e.slice(n)},ng.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=[]),ng.Debug.assert(e.relatedInformation!==ng.emptyArray,"Diagnostic had empty array singleton for related info, but is still being constructed!"),(n=e.relatedInformation).push.apply(n,t)),e},ng.minAndMax=function(e,n){ng.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}},ng.rangeOfNode=function(e){return{pos:yg(e),end:e.end}},ng.rangeOfTypeParameters=function(e,n){return{pos:n.pos-1,end:ng.skipTrivia(e.text,n.end)+1}},ng.skipTypeChecking=function(e,n,t){return n.skipLibCheck&&e.isDeclarationFile||n.skipDefaultLibCheck&&e.hasNoDefaultLib||t.isSourceOfProjectReferenceRedirect(e.fileName)},ng.isJsonEqual=Jb,ng.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,u=e.charCodeAt(s);u=(u<=57?u-48:10+u-(u<=70?65:97))<<(15&c),u=(o[l]|=u,u>>>16);u&&(o[l+1]|=u)}for(var d="",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)}d=_+d}return d},ng.pseudoBigIntToString=function(e){var n=e.negative;e=e.base10Value;return(n&&"0"!==e?"-":"")+e},ng.isValidTypeOnlyAliasUseSite=function(e){return!!(8388608&e.flags)||my(e)||79===(n=e).kind&&(117===(null==(n=ng.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))||function(e){for(;79===e.kind||204===e.kind;)e=e.parent;if(160!==e.kind)return!1;if(pv(e.parent,128))return!0;var n=e.parent.parent.kind;return 256===n||180===n}(e)||!(dy(e)||(n=e,ng.isIdentifier(n)&&ng.isShorthandPropertyAssignment(n.parent)&&n.parent.name===n));var n},ng.typeOnlyDeclarationIsExport=function(e){return 273===e.kind},ng.isIdentifierTypeReference=function(e){return ng.isTypeReferenceNode(e)&&ng.isIdentifier(e.typeName)},ng.arrayIsHomogeneous=function(e,n){if(void 0===n&&(n=ng.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},ng.setTextRangePos=qb,ng.setTextRangeEnd=Xb,ng.setTextRangePosEnd=Yb,ng.setTextRangePosWidth=function(e,n,t){return Yb(e,n,n+t)},ng.setNodeFlags=function(e,n){return e&&(e.flags=n),e},ng.setParent=Qb,ng.setEachParent=function(e,n){if(e)for(var t=0,r=e;t<r.length;t++)Qb(r[t],n);return e},ng.setParentRecursive=function(e,n){return e&&ng.forEachChildRecursively(e,ng.isJSDocNode(e)?t:function(e,n){return t(e,n)||function(e){if(ng.hasJSDocNodes(e))for(var n=0,r=e.jsDoc;n<r.length;n++){var a=r[n];t(a,e),ng.forEachChildRecursively(a,t)}}(e)}),e;function t(e,t){if(n&&e.parent===t)return"skip";Qb(e,t)}},ng.isPackedArrayLiteral=function(e){return ng.isArrayLiteralExpression(e)&&ng.every(e.elements,Zb)},ng.expressionResultIsUnused=function(e){for(ng.Debug.assertIsDefined(e.parent);;){var n=e.parent;if(ng.isParenthesizedExpression(n));else{if(ng.isExpressionStatement(n)||ng.isVoidExpression(n)||ng.isForStatement(n)&&(n.initializer===e||n.incrementor===e))return!0;if(ng.isCommaListExpression(n)){if(e!==ng.last(n.elements))return!0}else{if(!ng.isBinaryExpression(n)||27!==n.operatorToken.kind)return!1;if(e===n.left)return!0}}e=n}},ng.containsIgnoredPath=$b,ng.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(ng.isJSDocTag(e))return ng.isJSDocTypeLiteral(e.parent)?void 0:e.parent.tags;switch(t.kind){case 180:case 256:return ng.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 ng.isTypeNode(e)?t.typeArguments:t.expression===e?void 0:t.arguments;case 276:case 280:return ng.isJsxChild(e)?t.children:void 0;case 278:case 277:return ng.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 ng.isClassElement(e)?t.members:void 0;case 258:return ng.isEnumMember(e)?t.members:void 0;case 300:return t.statements}}},ng.hasContextSensitiveParameters=function(e){if(!e.typeParameters){if(ng.some(e.parameters,(function(e){return!ov(e)})))return!0;if(212!==e.kind&&(e=ng.firstOrUndefined(e.parameters),!e||!rv(e)))return!0}return!1},ng.isInfinityOrNaNString=function(e){return"Infinity"===e||"-Infinity"===e||"NaN"===e},(ce=SY=SY||{}).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=SY=SY||{}).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:u,parenthesizeElementTypeOfArrayType:function(n){switch(n.kind){case 179:case 191:case 188:return e.createParenthesizedType(n)}return u(n)},parenthesizeConstituentTypesOfUnionOrIntersectionType:function(n){return e.createNodeArray(le.sameMap(n,u))},parenthesizeTypeArguments:function(n){if(le.some(n))return e.createNodeArray(le.sameMap(n,d))}};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&&function(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 u(n){switch(n.kind){case 185:case 186:case 177:case 178:return e.createParenthesizedType(n)}return l(n)}function d(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)}},(ue=SY=SY||{}).createNodeConverters=function(e){return{convertToFunctionBlock:function(n,t){var r;return ue.isBlock(n)?n:(r=e.createReturnStatement(n),ue.setTextRange(r,n),r=e.createBlock([r],t),ue.setTextRange(r,n),r)},convertToFunctionExpression:function(n){if(!n.body)return ue.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 ue.setOriginalNode(t,n),ue.setTextRange(t,n),ue.getStartsOnNewLine(n)&&ue.setStartsOnNewLine(t,!0),t},convertToArrayAssignmentElement:n,convertToObjectAssignmentElement:t,convertToAssignmentPattern:r,convertToObjectAssignmentPattern:a,convertToArrayAssignmentPattern:i,convertToAssignmentElementTarget:o};function n(n){var t;return ue.isBindingElement(n)?n.dotDotDotToken?(ue.Debug.assertNode(n.name,ue.isIdentifier),ue.setOriginalNode(ue.setTextRange(e.createSpreadElement(n.name),n),n)):(t=o(n.name),n.initializer?ue.setOriginalNode(ue.setTextRange(e.createAssignment(t,n.initializer),n),n):t):ue.cast(n,ue.isExpression)}function t(n){var t;return ue.isBindingElement(n)?n.dotDotDotToken?(ue.Debug.assertNode(n.name,ue.isIdentifier),ue.setOriginalNode(ue.setTextRange(e.createSpreadAssignment(n.name),n),n)):n.propertyName?(t=o(n.name),ue.setOriginalNode(ue.setTextRange(e.createPropertyAssignment(n.propertyName,n.initializer?e.createAssignment(t,n.initializer):t),n),n)):(ue.Debug.assertNode(n.name,ue.isIdentifier),ue.setOriginalNode(ue.setTextRange(e.createShorthandPropertyAssignment(n.name,n.initializer),n),n)):ue.cast(n,ue.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 ue.isObjectBindingPattern(n)?ue.setOriginalNode(ue.setTextRange(e.createObjectLiteralExpression(ue.map(n.elements,t)),n),n):ue.cast(n,ue.isObjectLiteralExpression)}function i(t){return ue.isArrayBindingPattern(t)?ue.setOriginalNode(ue.setTextRange(e.createArrayLiteralExpression(ue.map(t.elements,n)),t),t):ue.cast(t,ue.isArrayLiteralExpression)}function o(e){return ue.isBindingPattern(e)?r(e):ue.cast(e,ue.isExpression)}},ue.nullNodeConverters={convertToFunctionBlock:ue.notImplemented,convertToFunctionExpression:ue.notImplemented,convertToArrayAssignmentElement:ue.notImplemented,convertToObjectAssignmentElement:ue.notImplemented,convertToAssignmentPattern:ue.notImplemented,convertToObjectAssignmentPattern:ue.notImplemented,convertToArrayAssignmentPattern:ue.notImplemented,convertToAssignmentElementTarget:ue.notImplemented},de=SY=SY||{},me=0,(wu=de.NodeFactoryFlags||(de.NodeFactoryFlags={}))[wu.None=0]="None",wu[wu.NoParenthesizerRules=1]="NoParenthesizerRules",wu[wu.NoNodeConverters=2]="NoNodeConverters",wu[wu.NoIndentationOnFreshPropertyAccess=4]="NoIndentationOnFreshPropertyAccess",wu[wu.NoOriginalNode=8]="NoOriginalNode",de.createNodeFactory=eE,_e={},de.getTransformFlagsSubtreeExclusions=cE,ge=de.createBaseNodeFactory(),de.factory=eE(4,{createBaseSourceFileNode:function(e){return lE(ge.createBaseSourceFileNode(e))},createBaseIdentifierNode:function(e){return lE(ge.createBaseIdentifierNode(e))},createBasePrivateIdentifierNode:function(e){return lE(ge.createBasePrivateIdentifierNode(e))},createBaseTokenNode:function(e){return lE(ge.createBaseTokenNode(e))},createBaseNode:function(e){return lE(ge.createBaseNode(e))}}),de.createUnparsedSourceFile=function(e,n,t){var r,a,i,o,s,c,l,u,d,p;return de.isString(e)?(i="",s=(o=e).length,c=n,l=t):(de.Debug.assert("js"===n||"dts"===n),i=("js"===n?e.javascriptPath:e.declarationPath)||"",c="js"===n?e.javascriptMapPath:e.declarationMapPath,u=function(){return"js"===n?e.javascriptText:e.declarationText},d=function(){return"js"===n?e.javascriptMapText:e.declarationMapText},s=function(){return u().length},e.buildInfo&&e.buildInfo.bundle&&(de.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?function(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=de.append(n,de.setTextRange(de.factory.createUnparsedTextLike(i.data,"internal"===i.kind),i));break;case"no-default-lib":case"reference":case"type":case"lib":t=de.append(t,de.setTextRange(de.factory.createUnparsedSyntheticReference(i),i));break;case"prologue":case"emitHelpers":case"prepend":break;default:de.Debug.assertNever(i)}}var o=de.factory.createUnparsedSource(de.emptyArray,t,null!=n?n:de.emptyArray);return de.setEachParent(t,o),de.setEachParent(n,o),o.helpers=de.map(e.sources&&e.sources.helpers,(function(e){return de.getAllUnscopedEmitHelpers().get(e)})),o}(de.Debug.assertDefined(a)):function(e,n,t){for(var r,a,i,o,s,c,l,u,d=0,p=e?e.sections:de.emptyArray;d<p.length;d++){var m=p[d];switch(m.kind){case"prologue":r=de.append(r,de.setTextRange(de.factory.createUnparsedPrologue(m.data),m));break;case"emitHelpers":a=de.append(a,de.getAllUnscopedEmitHelpers().get(m.data));break;case"no-default-lib":u=!0;break;case"reference":i=de.append(i,{pos:-1,end:-1,fileName:m.data});break;case"type":o=de.append(o,m.data);break;case"lib":s=de.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||(_=de.append(_,de.setTextRange(de.factory.createUnparsedTextLike(y.data,"internal"===y.kind),y)))}c=de.addRange(c,_),l=de.append(l,de.factory.createUnparsedPrepend(m.data,null!=_?_:de.emptyArray));break;case"internal":if(n){l=l||[];break}case"text":l=de.append(l,de.setTextRange(de.factory.createUnparsedTextLike(m.data,"internal"===m.kind),m));break;default:de.Debug.assertNever(m)}}return l||(e=de.factory.createUnparsedTextLike(void 0,!1),de.setTextRangePosWidth(e,0,"function"==typeof t?t():t),l=[e]),t=de.parseNodeFactory.createUnparsedSource(null!=r?r:de.emptyArray,void 0,l),de.setEachParent(r,t),de.setEachParent(l,t),de.setEachParent(c,t),t.hasNoDefaultLib=u,t.helpers=a,t.referencedFiles=i||de.emptyArray,t.typeReferenceDirectives=o,t.libReferenceDirectives=s||de.emptyArray,t}(a,r,s)).fileName=i,t.sourceMapPath=c,t.oldFileOfCurrentEmit=p,u&&d?(Object.defineProperty(t,"text",{get:u}),Object.defineProperty(t,"sourceMapText",{get:d})):(de.Debug.assert(!p),t.text=null!=o?o:"",t.sourceMapText=l),t},de.createInputFiles=function(e,n,t,r,a,i,o,s,c,l,u){var d,p,m,_,f=de.parseNodeFactory.createInputFiles();return de.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=u):(d=new de.Map,p=function(n){var t;if(void 0!==n)return void 0===(t=d.get(n))&&(t=e(n),d.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=de.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(de.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&&de.getBuildInfo(e)),_||void 0;var e}}})),f},de.createSourceMapSource=function(e,n,t){return new(fe=fe||de.objectAllocator.getSourceMapSourceConstructor())(e,n,t)},de.setOriginalNode=uE,(ye=SY=SY||{}).getOrCreateEmitNode=dE,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=dE(e);return n.flags|=1536,n.leadingComments=void 0,n.trailingComments=void 0,e},ye.setEmitFlags=function(e,n){return dE(e).flags=n,e},ye.addEmitFlags=function(e,n){var t=dE(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 dE(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=dE(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 dE(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 dE(e).commentRange=n,e},ye.getSyntheticLeadingComments=pE,ye.setSyntheticLeadingComments=mE,ye.addSyntheticLeadingComment=function(e,n,t,r){return mE(e,ye.append(pE(e),{kind:n,pos:-1,end:-1,hasTrailingNewLine:r,text:t}))},ye.getSyntheticTrailingComments=_E,ye.setSyntheticTrailingComments=fE,ye.addSyntheticTrailingComment=function(e,n,t,r){return fE(e,ye.append(_E(e),{kind:n,pos:-1,end:-1,hasTrailingNewLine:r,text:t}))},ye.moveSyntheticComments=function(e,n){return mE(e,pE(n)),fE(e,_E(n)),(n=dE(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 dE(e).constantValue=n,e},ye.addEmitHelper=function(e,n){var t=dE(e);return t.helpers=ye.append(t.helpers,n),e},ye.addEmitHelpers=function(e,n){if(ye.some(n))for(var t=dE(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=dE(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 dE(e).flags|=134217728,e},(he=SY=SY||{}).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 u,d=he.getPropertyNameOfBindingOrAssignmentElement(r[l]);d&&(he.isComputedPropertyName(d)?(he.Debug.assertIsDefined(i,"Encountered computed property name but 'computedTempVariables' argument was not provided."),u=i[c],c++,s.push(n.createConditionalExpression(n.createTypeCheck(u,"symbol"),void 0,u,void 0,n.createAdd(u,n.createStringLiteral(""))))):s.push(n.createStringLiteralFromNode(d)))}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,$u([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=gE,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:gE(nd(["\n const "," = name => super[name];"],["\n const "," = name => super[name];"]),"_superIndex")},he.advancedAsyncSuperHelper={name:"typescript:advanced-async-super",scoped:!0,text:gE(nd(["\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},(sm=SY=SY||{}).isNumericLiteral=function(e){return 8===e.kind},sm.isBigIntLiteral=function(e){return 9===e.kind},sm.isStringLiteral=function(e){return 10===e.kind},sm.isJsxText=function(e){return 11===e.kind},sm.isRegularExpressionLiteral=function(e){return 13===e.kind},sm.isNoSubstitutionTemplateLiteral=function(e){return 14===e.kind},sm.isTemplateHead=function(e){return 15===e.kind},sm.isTemplateMiddle=function(e){return 16===e.kind},sm.isTemplateTail=function(e){return 17===e.kind},sm.isDotDotDotToken=function(e){return 25===e.kind},sm.isCommaToken=function(e){return 27===e.kind},sm.isPlusToken=function(e){return 39===e.kind},sm.isMinusToken=function(e){return 40===e.kind},sm.isAsteriskToken=function(e){return 41===e.kind},sm.isExclamationToken=function(e){return 53===e.kind},sm.isQuestionToken=function(e){return 57===e.kind},sm.isColonToken=function(e){return 58===e.kind},sm.isQuestionDotToken=function(e){return 28===e.kind},sm.isEqualsGreaterThanToken=function(e){return 38===e.kind},sm.isIdentifier=function(e){return 79===e.kind},sm.isPrivateIdentifier=function(e){return 80===e.kind},sm.isExportModifier=function(e){return 93===e.kind},sm.isAsyncModifier=function(e){return 130===e.kind},sm.isAssertsKeyword=function(e){return 128===e.kind},sm.isAwaitKeyword=function(e){return 131===e.kind},sm.isReadonlyKeyword=function(e){return 143===e.kind},sm.isStaticModifier=function(e){return 124===e.kind},sm.isAbstractModifier=function(e){return 126===e.kind},sm.isSuperKeyword=function(e){return 106===e.kind},sm.isImportKeyword=function(e){return 100===e.kind},sm.isQualifiedName=function(e){return 159===e.kind},sm.isComputedPropertyName=function(e){return 160===e.kind},sm.isTypeParameterDeclaration=function(e){return 161===e.kind},sm.isParameter=function(e){return 162===e.kind},sm.isDecorator=function(e){return 163===e.kind},sm.isPropertySignature=function(e){return 164===e.kind},sm.isPropertyDeclaration=function(e){return 165===e.kind},sm.isMethodSignature=function(e){return 166===e.kind},sm.isMethodDeclaration=function(e){return 167===e.kind},sm.isClassStaticBlockDeclaration=function(e){return 168===e.kind},sm.isConstructorDeclaration=function(e){return 169===e.kind},sm.isGetAccessorDeclaration=function(e){return 170===e.kind},sm.isSetAccessorDeclaration=function(e){return 171===e.kind},sm.isCallSignatureDeclaration=function(e){return 172===e.kind},sm.isConstructSignatureDeclaration=function(e){return 173===e.kind},sm.isIndexSignatureDeclaration=function(e){return 174===e.kind},sm.isTypePredicateNode=function(e){return 175===e.kind},sm.isTypeReferenceNode=function(e){return 176===e.kind},sm.isFunctionTypeNode=function(e){return 177===e.kind},sm.isConstructorTypeNode=function(e){return 178===e.kind},sm.isTypeQueryNode=function(e){return 179===e.kind},sm.isTypeLiteralNode=function(e){return 180===e.kind},sm.isArrayTypeNode=function(e){return 181===e.kind},sm.isTupleTypeNode=function(e){return 182===e.kind},sm.isNamedTupleMember=function(e){return 195===e.kind},sm.isOptionalTypeNode=function(e){return 183===e.kind},sm.isRestTypeNode=function(e){return 184===e.kind},sm.isUnionTypeNode=function(e){return 185===e.kind},sm.isIntersectionTypeNode=function(e){return 186===e.kind},sm.isConditionalTypeNode=function(e){return 187===e.kind},sm.isInferTypeNode=function(e){return 188===e.kind},sm.isParenthesizedTypeNode=function(e){return 189===e.kind},sm.isThisTypeNode=function(e){return 190===e.kind},sm.isTypeOperatorNode=function(e){return 191===e.kind},sm.isIndexedAccessTypeNode=function(e){return 192===e.kind},sm.isMappedTypeNode=function(e){return 193===e.kind},sm.isLiteralTypeNode=function(e){return 194===e.kind},sm.isImportTypeNode=function(e){return 198===e.kind},sm.isTemplateLiteralTypeSpan=function(e){return 197===e.kind},sm.isTemplateLiteralTypeNode=function(e){return 196===e.kind},sm.isObjectBindingPattern=function(e){return 199===e.kind},sm.isArrayBindingPattern=function(e){return 200===e.kind},sm.isBindingElement=function(e){return 201===e.kind},sm.isArrayLiteralExpression=function(e){return 202===e.kind},sm.isObjectLiteralExpression=function(e){return 203===e.kind},sm.isPropertyAccessExpression=function(e){return 204===e.kind},sm.isElementAccessExpression=function(e){return 205===e.kind},sm.isCallExpression=function(e){return 206===e.kind},sm.isNewExpression=function(e){return 207===e.kind},sm.isTaggedTemplateExpression=function(e){return 208===e.kind},sm.isTypeAssertionExpression=function(e){return 209===e.kind},sm.isParenthesizedExpression=function(e){return 210===e.kind},sm.isFunctionExpression=function(e){return 211===e.kind},sm.isArrowFunction=function(e){return 212===e.kind},sm.isDeleteExpression=function(e){return 213===e.kind},sm.isTypeOfExpression=function(e){return 214===e.kind},sm.isVoidExpression=function(e){return 215===e.kind},sm.isAwaitExpression=function(e){return 216===e.kind},sm.isPrefixUnaryExpression=function(e){return 217===e.kind},sm.isPostfixUnaryExpression=function(e){return 218===e.kind},sm.isBinaryExpression=function(e){return 219===e.kind},sm.isConditionalExpression=function(e){return 220===e.kind},sm.isTemplateExpression=function(e){return 221===e.kind},sm.isYieldExpression=function(e){return 222===e.kind},sm.isSpreadElement=function(e){return 223===e.kind},sm.isClassExpression=function(e){return 224===e.kind},sm.isOmittedExpression=function(e){return 225===e.kind},sm.isExpressionWithTypeArguments=function(e){return 226===e.kind},sm.isAsExpression=function(e){return 227===e.kind},sm.isNonNullExpression=function(e){return 228===e.kind},sm.isMetaProperty=function(e){return 229===e.kind},sm.isSyntheticExpression=function(e){return 230===e.kind},sm.isPartiallyEmittedExpression=function(e){return 345===e.kind},sm.isCommaListExpression=function(e){return 346===e.kind},sm.isTemplateSpan=function(e){return 231===e.kind},sm.isSemicolonClassElement=function(e){return 232===e.kind},sm.isBlock=function(e){return 233===e.kind},sm.isVariableStatement=function(e){return 235===e.kind},sm.isEmptyStatement=function(e){return 234===e.kind},sm.isExpressionStatement=function(e){return 236===e.kind},sm.isIfStatement=function(e){return 237===e.kind},sm.isDoStatement=function(e){return 238===e.kind},sm.isWhileStatement=function(e){return 239===e.kind},sm.isForStatement=function(e){return 240===e.kind},sm.isForInStatement=function(e){return 241===e.kind},sm.isForOfStatement=function(e){return 242===e.kind},sm.isContinueStatement=function(e){return 243===e.kind},sm.isBreakStatement=function(e){return 244===e.kind},sm.isReturnStatement=function(e){return 245===e.kind},sm.isWithStatement=function(e){return 246===e.kind},sm.isSwitchStatement=function(e){return 247===e.kind},sm.isLabeledStatement=function(e){return 248===e.kind},sm.isThrowStatement=function(e){return 249===e.kind},sm.isTryStatement=function(e){return 250===e.kind},sm.isDebuggerStatement=function(e){return 251===e.kind},sm.isVariableDeclaration=function(e){return 252===e.kind},sm.isVariableDeclarationList=function(e){return 253===e.kind},sm.isFunctionDeclaration=function(e){return 254===e.kind},sm.isClassDeclaration=function(e){return 255===e.kind},sm.isInterfaceDeclaration=function(e){return 256===e.kind},sm.isTypeAliasDeclaration=function(e){return 257===e.kind},sm.isEnumDeclaration=function(e){return 258===e.kind},sm.isModuleDeclaration=function(e){return 259===e.kind},sm.isModuleBlock=function(e){return 260===e.kind},sm.isCaseBlock=function(e){return 261===e.kind},sm.isNamespaceExportDeclaration=function(e){return 262===e.kind},sm.isImportEqualsDeclaration=function(e){return 263===e.kind},sm.isImportDeclaration=function(e){return 264===e.kind},sm.isImportClause=function(e){return 265===e.kind},sm.isNamespaceImport=function(e){return 266===e.kind},sm.isNamespaceExport=function(e){return 272===e.kind},sm.isNamedImports=function(e){return 267===e.kind},sm.isImportSpecifier=function(e){return 268===e.kind},sm.isExportAssignment=function(e){return 269===e.kind},sm.isExportDeclaration=function(e){return 270===e.kind},sm.isNamedExports=function(e){return 271===e.kind},sm.isExportSpecifier=function(e){return 273===e.kind},sm.isMissingDeclaration=function(e){return 274===e.kind},sm.isNotEmittedStatement=function(e){return 344===e.kind},sm.isSyntheticReference=function(e){return 349===e.kind},sm.isMergeDeclarationMarker=function(e){return 347===e.kind},sm.isEndOfDeclarationMarker=function(e){return 348===e.kind},sm.isExternalModuleReference=function(e){return 275===e.kind},sm.isJsxElement=function(e){return 276===e.kind},sm.isJsxSelfClosingElement=function(e){return 277===e.kind},sm.isJsxOpeningElement=function(e){return 278===e.kind},sm.isJsxClosingElement=function(e){return 279===e.kind},sm.isJsxFragment=function(e){return 280===e.kind},sm.isJsxOpeningFragment=function(e){return 281===e.kind},sm.isJsxClosingFragment=function(e){return 282===e.kind},sm.isJsxAttribute=function(e){return 283===e.kind},sm.isJsxAttributes=function(e){return 284===e.kind},sm.isJsxSpreadAttribute=function(e){return 285===e.kind},sm.isJsxExpression=function(e){return 286===e.kind},sm.isCaseClause=function(e){return 287===e.kind},sm.isDefaultClause=function(e){return 288===e.kind},sm.isHeritageClause=function(e){return 289===e.kind},sm.isCatchClause=function(e){return 290===e.kind},sm.isPropertyAssignment=function(e){return 291===e.kind},sm.isShorthandPropertyAssignment=function(e){return 292===e.kind},sm.isSpreadAssignment=function(e){return 293===e.kind},sm.isEnumMember=function(e){return 294===e.kind},sm.isUnparsedPrepend=function(e){return 296===e.kind},sm.isSourceFile=function(e){return 300===e.kind},sm.isBundle=function(e){return 301===e.kind},sm.isUnparsedSource=function(e){return 302===e.kind},sm.isJSDocTypeExpression=function(e){return 304===e.kind},sm.isJSDocNameReference=function(e){return 305===e.kind},sm.isJSDocMemberName=function(e){return 306===e.kind},sm.isJSDocLink=function(e){return 319===e.kind},sm.isJSDocLinkCode=function(e){return 320===e.kind},sm.isJSDocLinkPlain=function(e){return 321===e.kind},sm.isJSDocAllType=function(e){return 307===e.kind},sm.isJSDocUnknownType=function(e){return 308===e.kind},sm.isJSDocNullableType=function(e){return 309===e.kind},sm.isJSDocNonNullableType=function(e){return 310===e.kind},sm.isJSDocOptionalType=function(e){return 311===e.kind},sm.isJSDocFunctionType=function(e){return 312===e.kind},sm.isJSDocVariadicType=function(e){return 313===e.kind},sm.isJSDocNamepathType=function(e){return 314===e.kind},sm.isJSDoc=function(e){return 315===e.kind},sm.isJSDocTypeLiteral=function(e){return 317===e.kind},sm.isJSDocSignature=function(e){return 318===e.kind},sm.isJSDocAugmentsTag=function(e){return 323===e.kind},sm.isJSDocAuthorTag=function(e){return 325===e.kind},sm.isJSDocClassTag=function(e){return 327===e.kind},sm.isJSDocCallbackTag=function(e){return 333===e.kind},sm.isJSDocPublicTag=function(e){return 328===e.kind},sm.isJSDocPrivateTag=function(e){return 329===e.kind},sm.isJSDocProtectedTag=function(e){return 330===e.kind},sm.isJSDocReadonlyTag=function(e){return 331===e.kind},sm.isJSDocOverrideTag=function(e){return 332===e.kind},sm.isJSDocDeprecatedTag=function(e){return 326===e.kind},sm.isJSDocSeeTag=function(e){return 341===e.kind},sm.isJSDocEnumTag=function(e){return 334===e.kind},sm.isJSDocParameterTag=function(e){return 335===e.kind},sm.isJSDocReturnTag=function(e){return 336===e.kind},sm.isJSDocThisTag=function(e){return 337===e.kind},sm.isJSDocTypeTag=function(e){return 338===e.kind},sm.isJSDocTemplateTag=function(e){return 339===e.kind},sm.isJSDocTypedefTag=function(e){return 340===e.kind},sm.isJSDocUnknownTag=function(e){return 322===e.kind},sm.isJSDocPropertyTag=function(e){return 342===e.kind},sm.isJSDocImplementsTag=function(e){return 324===e.kind},sm.isSyntaxList=function(e){return 343===e.kind},(be=SY=SY||{}).createEmptyExports=function(e){return e.createExportDeclaration(void 0,void 0,!1,e.createNamedExports([]),void 0)},be.createMemberAccessForPropertyName=yE,be.createJsxFactoryExpression=bE,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];LE(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,u=[(t=t)?vE(s,t,l):s.createPropertyAccessExpression(hE(c,l),"Fragment"),e.createNull()];if(a&&0<a.length)if(1<a.length)for(var d=0,p=a;d<p.length;d++){var m=p[d];LE(m),u.push(m)}else u.push(a[0]);return be.setTextRange(e.createCallExpression(bE(e,n,r,i),void 0,u),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($u([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=EE,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,u=i.getAccessor;i=i.setAccessor;return o===l?be.setTextRange(a.createObjectDefinePropertyCall(s,EE(a,o.name),a.createPropertyDescriptor({enumerable:a.createFalse(),configurable:!0,get:u&&be.setTextRange(be.setOriginalNode(a.createFunctionExpression(u.modifiers,void 0,void 0,void 0,u.parameters,void 0,u.body),u),u),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(yE(e,r,s.name,s.name),s.initializer),s),s);case 292:return o=e,u=t,be.setOriginalNode(be.setTextRange(o.createAssignment(yE(o,r,u.name,u.name),o.cloneNode(u.name)),u),u);case 167:return a=e,i=t,be.setOriginalNode(be.setTextRange(a.createAssignment(yE(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(TE(r))return r}},be.startsWithUseStrict=function(e){return void 0!==(e=be.firstOrUndefined(e))&&be.isPrologueDirective(e)&&TE(e)},be.isCommaSequence=function(e){return 219===e.kind&&27===e.operatorToken.kind||346===e.kind},be.isOuterExpression=SE,be.skipOuterExpressions=xE,be.skipAssertions=function(e){return xE(e,6)},be.startOnNewLine=LE,be.getExternalHelpersModuleName=DE,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=[],u=0,d=c;u<d.length;u++){var p=d[u];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=AE(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=AE,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,CE(e,a.getExternalModuleFileFromDeclaration(n),r,i)||function(e,n,t){return t=t.renamedDependencies&&t.renamedDependencies.get(n.text),t?e.createStringLiteral(t):void 0}(e,o,t)||e.cloneNode(o)},be.tryGetModuleNameFromFile=CE,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=IE,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=NE(e);return be.Debug.assert(!!n||be.isSpreadAssignment(e),"Invalid property name for binding element."),n},be.tryGetPropertyNameOfBindingOrAssignmentElement=NE,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 RE(e.kind)},(om=Ee=Ee||{}).enter=OE,om.left=PE,om.operator=wE,om.right=ME,om.exit=FE,om.done=GE,om.nextState=BE,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=SY=SY||{}).setTextRange=function(e,n){return n?Se.setTextRangePosEnd(e,n.pos,n.end):e},(xe=SY=SY||{}).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=HE,xe.forEachChild=WE,xe.forEachChildRecursively=function(e,n,t){for(var r=zE(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,u=zE(o);l<u.length;l++){var d=u[l];r.push(d),a.push(o)}}}},xe.createSourceFile=function(e,n,t,r,a){return void 0===r&&(r=!1),null!==xe.tracing&&void 0!==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&&void 0!==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=JE,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)},wu=Ne=Ne||{},Me=xe.createScanner(99,!0),Fe=20480,nn=xe.createNodeFactory(11,{createBaseSourceFileNode:function(e){return qE(new we(e,0,0))},createBaseIdentifierNode:function(e){return qE(new Oe(e,0,0))},createBasePrivateIdentifierNode:function(e){return qE(new Pe(e,0,0))},createBaseTokenNode:function(e){return qE(new Re(e,0,0))},createBaseNode:function(e){return qE(new ke(e,0,0))}}),rn=!(tn=!0),wu.parseSourceFile=function(e,n,t,r,a,i){var o;if(void 0===a&&(a=!1),6===(i=xe.ensureScriptKind(e,i)))return o=XE(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;YE(e,n,t,r,i);var s=function(e,n,t){var r=YD(Ge);r&&(en|=8388608),Be=en,DT();var a=LS(0,zL),i=(xe.Debug.assert(1===Je),$E(JT()));e=tT(Ge,e,t,r,a,i,Be);return QD(e,Ue),ZD(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&&nT(e),e}(t,a,i);return QE(),s},wu.parseIsolatedEntityName=function(e,n){return YE("",e,n,void 0,1),DT(),e=OS(!0),n=1===Je&&!He.length,QE(),n?e:void 0},wu.parseJsonText=XE,an=!1,wu.fixupParentReferences=nT,sn=Object.keys(xe.textToKeywordObj).filter((function(e){return 2<e.length})),(wu=on=wu.JSDocParser||(wu.JSDocParser={})).parseJSDocTypeExpressionForTests=function(e,n,t){return YE("file.js",e,99,void 0,1),Me.setText(e,n,t),Je=Me.scan(),e=VD(),n=tT("file.js",99,1,!1,[],nn.createToken(1),0),t=xe.attachFileToDiagnostics(He,n),We&&(n.jsDocDiagnostics=xe.attachFileToDiagnostics(We,n)),QE(),e?{jsDocTypeExpression:e,diagnostics:t}:void 0},wu.parseJSDocTypeExpression=VD,wu.parseJSDocNameReference=jD,wu.parseIsolatedJSDocComment=function(e,n,t){YE("",e,99,void 0,1);var r=lT(4194304,(function(){return KD(n,t)}));e=xe.attachFileToDiagnostics(He,{languageVariant:0,text:e});return QE(),r?{jsDoc:r,diagnostics:e}:void 0},wu.parseJSDocComment=function(e,n,t){var r=Je,a=He.length,i=rn,o=lT(4194304,(function(){return KD(n,t)}));return xe.setParent(o,e),131072&en&&(We=We||[]).push.apply(We,He),Je=r,He.length=a,rn=i,o},(wu=cn=cn||{}).updateSourceFile=function(e,n,t,r){var a,i,o,s,c,l,u,d,p,m,_;return qD(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):(d=e,xe.Debug.assert(!d.hasBeenIncrementallyParsed),d.hasBeenIncrementallyParsed=!0,Ne.fixupParentReferences(d),p=e.text,m=XD(e),_=function(e,n){for(var t=n.span.start,r=0;0<t&&r<=1;r++){var a=function(e,n){var t,r=e;return WE(e,(function e(a){if(!xe.nodeIsMissing(a))return a.pos<=n?(a.pos>=r.pos&&(r=a),n<a.end?(WE(a,e),!0):(xe.Debug.assert(a.end<=n),void(t=a))):(xe.Debug.assert(a.pos>n),!0)})),t&&(e=function(e){for(;;){var n=xe.getLastChild(e);if(!n)return e;e=n}}(t)).pos>r.pos&&(r=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),qD(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,d=d,a=_.span.start,i=xe.textSpanEnd(_.span),o=xe.textSpanEnd(xe.textChangeRangeNewSpan(_)),s=t,c=p,l=n,u=r,f(d),(d=Ne.parseSourceFile(e.fileName,n,e.languageVersion,m,!0,e.scriptKind)).commentDirectives=function(e,n,t,r,a,i,o,s){if(!e)return n;for(var c,l=!1,u=0,d=e;u<d.length;u++){var p=d[u],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,d.commentDirectives,_.span.start,xe.textSpanEnd(_.span),t,p,n,r),d);function f(e){if(xe.Debug.assert(e.pos<=e.end),e.pos>i)HD(e,!1,s,c,l,u);else{var n=e.end;if(a<=n){if(e.intersectsChange=!0,e._children=void 0,zD(e,a,i,o,s),WE(e,f,g),xe.hasJSDocNodes(e))for(var t=0,r=e.jsDoc;t<r.length;t++)f(r[t]);JD(e,u)}else xe.Debug.assert(n<a)}}function g(e){if(xe.Debug.assert(e.pos<=e.end),e.pos>i)HD(e,!0,s,c,l,u);else{var n=e.end;if(a<=n){e.intersectsChange=!0,e._children=void 0,zD(e,a,i,o,s);for(var t=0,r=e;t<r.length;t++)f(r[t])}else xe.Debug.assert(n<a)}}},wu.createSyntaxCursor=XD,xe.isDeclarationFileName=YD,xe.processCommentPragmas=QD,xe.processPragmasIntoFields=ZD,ln=new xe.Map,un=/^\/\/\/\s*<(\S+)\s.*?\/>/im,dn=/^\/\/\/?\s*@(\S+)\s*(.*)\s*$/im,xe.tagNamesAreEquivalent=eA,(pn=SY=SY||{}).compileOnSaveCommandLineOption={name:"compileOnSave",type:"boolean"},nd=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(nd.entries(),(function(e){var n=e[0];return[""+e[1],n]})))),sm=[["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=sm.map((function(e){return e[0]})),pn.libMap=new pn.Map(sm),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:nC},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:nC},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"},sm=[{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:nd,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=$u($u([],pn.commonOptionsWithBuild,!0),sm,!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=$u($u([],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=nA,pn.getOptionsNameMap=tA,nd={diagnostic:pn.Diagnostics.Compiler_option_0_may_only_be_used_with_build,getOptionsNameMap:_A},pn.defaultInitCompilerOptions={module:pn.ModuleKind.CommonJS,target:1,strict:!0,esModuleInterop:!0,forceConsistentCasingInFileNames:!0,skipLibCheck:!0},pn.convertEnableAutoDiscoveryToEnable=rA,pn.createCompilerDiagnosticForInvalidCustomType=aA,pn.parseCustomTypeOption=oA,pn.parseListTypeOption=sA,pn.parseCommandLineWorker=uA,pn.compilerOptionsDidYouMeanDiagnostics={alternateMode:nd,getOptionsNameMap:tA,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=pA,fn={alternateMode:{diagnostic:pn.Diagnostics.Compiler_option_0_may_not_be_used_with_build,getOptionsNameMap:tA},getOptionsNameMap:_A,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=yA(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,RA(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=yA(e,n),pn.isString(n)?fA(e,n):{config:{},error:n}},pn.parseConfigFileTextToJson=fA,pn.readJsonConfigFile=gA,pn.tryReadFile=yA,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:vA,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=xA,pn.convertToObjectWorker=LA,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?function(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=NA(e.options,{configFilePath:pn.getNormalizedAbsolutePath(n,t.getCurrentDirectory()),useCaseSensitiveFileNames:t.useCaseSensitiveFileNames}),o=e.watchOptions&&kA(e.watchOptions,vA());return ed(ed({compilerOptions:ed(ed({},CA(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&&CA(o),references:pn.map(e.projectReferences,(function(e){return ed(ed({},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=NA(pn.extend(e,pn.defaultInitCompilerOptions)),a=pn.createMultiMap(),i=0,o=pn.optionDeclarations;i<o.length;i++){var s=o[i],c=s.category;!function(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,u=0,d=[],p=(a.forEach((function(e,n){0!==d.length&&d.push({value:""}),d.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))+((u+=1)===r.size?"":","):'// "'+i.name+'": '+JSON.stringify(function(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))+",";d.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=d;_<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=tA().optionsNameMap;for(t in e)pn.hasProperty(e,t)&&(r[t]=function(e,n,t){if(e&&!PA(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 MA(e,void 0,n,t,r,c,a,i,o,s)},pn.parseJsonSourceFileConfigFileContent=RA,pn.setConfigFileInOptions=OA,pn.canJsonReportNoInputFiles=BA,pn.updateErrorForNoInputFiles=function(e,n,t,r,a){var i=r.length;return GA(e,a)?r.push(FA(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:KA(e,n,r,t),errors:r}},pn.convertTypeAcquisitionFromJson=function(e,n,t){var r=[];return{options:WA(e,n,r,t),errors:r}},pn.convertJsonOption=JA,Sn=/(^|\/)\*\*\/?$/,xn=/^[^*?]*(?=\/[^/]*[*?])/,pn.getFileNamesFromConfigSpecs=QA,pn.isExcludedFile=function(e,n,t,r,a){var i=n.validatedFilesSpec,o=n.validatedIncludeSpecs;n=n.validatedExcludeSpecs;if(!pn.length(o)||!pn.length(n))return!1;t=pn.normalizePath(t);var s=pn.createGetCanonicalFileName(r);if(i)for(var c=0,l=i;c<l.length;c++){var u=l[c];if(s(pn.getNormalizedAbsolutePath(u,t))===e)return!1}return $A(e,n,r,a,t)},pn.matchesExclude=function(e,n,t,r){return $A(e,pn.filter(n,(function(e){return!ZA(e)})),t,r)},pn.convertCompilerOptionsForTelemetry=function(e){var n,t,r={};for(n in e)e.hasOwnProperty(n)&&void 0!==(t=pA(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=SY=SY||{}).trace=tC,Ln.isTraceEnabled=rC,(om=Dn=Dn||{})[om.TypeScript=0]="TypeScript",om[om.JavaScript=1]="JavaScript",om[om.Json=2]="Json",om[om.TSConfig=3]="TSConfig",om[om.DtsOnly=4]="DtsOnly",Ln.getPackageJsonTypesVersionsPaths=_C,Ln.getEffectiveTypeRoots=fC,Cn=Ln.combinePaths("node_modules","@types"),Ln.resolveTypeReferenceDirective=function(e,n,t,r,a,i){var o,s,c,l=rC(t,r),u=(a&&(t=a.commandLine.options),n?Ln.getDirectoryPath(n):void 0),d=u?i&&i.getOrCreateCacheForDirectory(u,a):void 0,p=d&&d.get(e);return p?l&&(tC(r,Ln.Diagnostics.Resolving_type_reference_directive_0_containing_file_1,e,n),a&&tC(r,Ln.Diagnostics.Using_compiler_options_of_project_reference_redirect_0,a.sourceFile.fileName),tC(r,Ln.Diagnostics.Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1,e,u),m(p)):(o=fC(t,r),l&&(void 0===n?void 0===o?tC(r,Ln.Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set,e):tC(r,Ln.Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1,e,o):void 0===o?tC(r,Ln.Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set,e,n):tC(r,Ln.Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_2,e,n,o),a)&&tC(r,Ln.Diagnostics.Using_compiler_options_of_project_reference_redirect_0,a.sourceFile.fileName),s={compilerOptions:t,host:r,traceEnabled:l,failedLookupLocations:u=[],packageJsonInfoCache:i},a=!0,(i=function(){if(o&&o.length)return l&&tC(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&&tC(r,Ln.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,t),sC(PC(Dn.DtsOnly,n,!a,s))}));l&&tC(r,Ln.Diagnostics.Root_directory_cannot_be_determined_skipping_primary_search_paths)}())||(i=function(){var t,a=n&&Ln.getDirectoryPath(n);if(void 0!==a)return l&&tC(r,Ln.Diagnostics.Looking_up_in_node_modules_folder_initial_location_0,a),sC(Ln.isExternalModuleNameRelative(e)?(t=Ln.normalizePathAndParts(Ln.combinePaths(a,e)).path,DC(Dn.DtsOnly,t,!1,s,!0)):(t=GC(Dn.DtsOnly,e,a,s,void 0,void 0))&&t.value);l&&tC(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:LC(c,r,l),originalPath:c===a?void 0:c,packageId:i,isExternalLibraryImport:AC(c)}),p={resolvedTypeReferenceDirective:c,failedLookupLocations:u},null!=d&&d.set(e,p),l&&m(p)),p;function m(n){var t;null!=(t=n.resolvedTypeReferenceDirective)&&t.resolvedFileName?n.resolvedTypeReferenceDirective.packageId?tC(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):tC(r,Ln.Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2,e,n.resolvedTypeReferenceDirective.resolvedFileName,n.resolvedTypeReferenceDirective.primary):tC(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=fC(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=gC,Ln.createModuleResolutionCache=function(e,n,t,r,a){var i=bC(e,n,r=r||gC(t)),o=(a=a||gC(t),yC(e,n));return ed(ed(ed({},o),i),{getOrCreateCacheForModuleName:function(e,n){return Ln.Debug.assert(!Ln.isExternalModuleNameRelative(e)),hC(a,n,e,s)},clear:function(){i.clear(),a.clear(),o.clear()},update:function(e){vC(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&&function(t,r){for(var a=Ln.toPath(Ln.getDirectoryPath(r),e,n),i=0,o=Math.min(t.length,a.length);i<o&&t.charCodeAt(i)===a.charCodeAt(i);)i++;if(i===t.length&&(a.length===i||a[i]===Ln.directorySeparator))return t;if(r=Ln.getRootLength(t),!(i<r)){var s=t.lastIndexOf(Ln.directorySeparator,i-1);return-1!==s?t.substr(0,Math.max(s,r)):void 0}}(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=bC(e,n,a=a||gC(t));return r=r||yC(e,n),ed(ed(ed({},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=rC(t,r),s=(i&&(t=i.commandLine.options),o&&(tC(r,Ln.Diagnostics.Resolving_module_0_from_1,e,n),i)&&tC(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&&tC(r,Ln.Diagnostics.Resolution_for_module_0_was_found_in_cache_from_location_1,e,s);else{var u=t.moduleResolution;switch(void 0===u?(u=Ln.getEmitModuleKind(t)===Ln.ModuleKind.CommonJS?Ln.ModuleResolutionKind.NodeJs:Ln.ModuleResolutionKind.Classic,o&&tC(r,Ln.Diagnostics.Module_resolution_kind_is_not_specified_using_0,Ln.ModuleResolutionKind[u])):o&&tC(r,Ln.Diagnostics.Explicitly_specified_module_resolution_kind_Colon_0,Ln.ModuleResolutionKind[u]),Ln.perfLogger.logStartResolveModule(e),u){case Ln.ModuleResolutionKind.NodeJs:l=SC(e,n,t,r,a,i);break;case Ln.ModuleResolutionKind.Classic:l=zC(e,n,t,r,a,i);break;default:return Ln.Debug.fail("Unexpected moduleResolution: "+u)}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?tC(r,Ln.Diagnostics.Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2,e,l.resolvedModule.resolvedFileName,Ln.packageIdToString(l.resolvedModule.packageId)):tC(r,Ln.Diagnostics.Module_name_0_was_successfully_resolved_to_1,e,l.resolvedModule.resolvedFileName):tC(r,Ln.Diagnostics.Module_name_0_was_not_resolved,e)),l},Ln.resolveJSModule=function(e,n,t){var r=(t=TC(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=TC(e,n,t).resolvedModule)&&e.resolvedFileName},In=[Dn.JavaScript],Nn=[Dn.TypeScript,Dn.JavaScript],kn=$u($u([],Nn,!0),[Dn.Json],!1),Rn=[Dn.TSConfig],Ln.nodeModuleNameResolver=SC,Ln.nodeModulesPathPart="/node_modules/",Ln.pathContainsNodeModules=AC,Ln.parseNodeModuleFromPath=CC,Ln.parsePackageName=FC,On="__",Ln.getTypesPackageName=function(e){return"@types/"+KC(e)},Ln.mangleScopedPackageName=KC,Ln.getPackageNameFromTypesPackageName=function(e){var n=Ln.removePrefix(e,"@types/");return n!==e?HC(n):e},Ln.unmangleScopedPackageName=HC,Ln.classicNameResolver=zC,Ln.loadModuleFromGlobalCache=function(e,n,t,r,a,i){var o=rC(t,r);return o&&tC(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},cC(UC(Dn.DtsOnly,e,a,t,!1),!0,n,t.resultFromCache)};var qC=SY=SY||{};function XC(e,n){return e.body&&!e.body.parent&&(qC.setParent(e.body,e),qC.setParentRecursive(e.body,!1)),e.body?YC(e.body,n):1}function YC(e,n){void 0===n&&(n=new qC.Map);var t=qC.getNodeId(e);return n.has(t)?n.get(t)||0:(n.set(t,void 0),e=function(e,n){switch(e.kind){case 256:case 257:return 0;case 258:if(qC.isEnumConst(e))return 2;break;case 264:case 263:if(qC.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=function(e,n){for(var t=e.propertyName||e.name,r=e.parent;r;){if(qC.isBlock(r)||qC.isModuleBlock(r)||qC.isSourceFile(r)){for(var a=r.statements,i=void 0,o=0,s=a;o<s.length;o++){var c=s[o];if(qC.nodeHasName(c,t)&&(c.parent||(qC.setParent(c,r),qC.setParentRecursive(c,!1)),c=YC(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 qC.forEachChild(e,(function(e){var t=YC(e,n);switch(t){case 0:return;case 2:return void(s=2);case 1:return s=1,!0;default:qC.Debug.assertNever(t)}})),s;case 259:return XC(e,n);case 79:if(e.isInJSDocNamespace)return 0}return 1}(e,n),n.set(t,e),e)}function QC(e){return qC.Debug.attachFlowNodeDebugInfo(e),e}(wu=qC.ModuleInstanceState||(qC.ModuleInstanceState={}))[wu.NonInstantiated=0]="NonInstantiated",wu[wu.Instantiated=1]="Instantiated",wu[wu.ConstEnumOnly=2]="ConstEnumOnly",qC.getModuleInstanceState=XC,TI=!1,SI=0,xI={flags:1},LI={flags:1},DI=function(){return qC.createBinaryExpressionTrampoline((function(e,n){n?(n.stackIndex++,qC.setParent(e,nI),r=vI,kN(e),t=nI,nI=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&&!qC.isLogicalOrCoalescingAssignmentOperator(r)||(tN(e)?(t=HI(),dN(e,t,t),cI=$I(t)):dN(e,pI,mI),n.skip=!0),n}),(function(n,t,r){if(!t.skip)return e(n)}),(function(e,n,t){n.skip||(27===e.kind&&cN(t.left),CN(e))}),(function(n,t,r){if(!t.skip)return e(n)}),(function(e,n){n.skip||(t=e.operatorToken.kind,qC.isAssignmentOperator(t)&&!qC.isAssignmentTarget(e)&&(uN(e.left),63===t)&&205===e.left.kind&&KI(e.left.expression)&&(cI=QI(256,cI,e)));var t=n.inStrictModeStack[n.stackIndex];e=n.parentStack[n.stackIndex];void 0!==t&&(vI=t),void 0!==e&&(nI=e),n.skip=!1,n.stackIndex--}),void 0);function e(e){if(e&&qC.isBinaryExpression(e)&&!qC.isDestructuringAssignment(e))return e;CN(e)}}();var ZC,$C,eI,nI,tI,rI,aI,iI,oI,sI,cI,lI,uI,dI,pI,mI,_I,fI,gI,yI,hI,vI,bI,EI,TI,SI,xI,LI,DI,AI=function(e,n){ZC=e,$C=n,eI=qC.getEmitScriptTarget($C),e=ZC,vI=!(!qC.getStrictOptionValue(n,"alwaysStrict")||e.isDeclarationFile)||!!e.externalModuleIndicator,EI=new qC.Set,SI=0,bI=qC.objectAllocator.getSymbolConstructor(),qC.Debug.attachFlowNodeDebugInfo(xI),qC.Debug.attachFlowNodeDebugInfo(LI),ZC.locals||(CN(ZC),ZC.symbolCount=SI,ZC.classifiableNames=EI,function(){if(oI){for(var e=tI,n=iI,t=aI,r=nI,a=cI,i=0,o=oI;i<o.length;i++){var s=o[i],c=s.parent.parent,l=(tI=qC.findAncestor(c.parent,(function(e){return!!(1&fN(e))}))||ZC,aI=qC.getEnclosingBlockScopeContainer(c)||ZC,cI=QC({flags:2}),CN((nI=s).typeExpression),qC.getNameOfDeclaration(s));if((qC.isJSDocEnumTag(s)||!s.fullName)&&l&&qC.isPropertyAccessEntityNameExpression(l.parent)){if(c=KN(l.parent),c){switch(VN(ZC.symbol,l.parent,c,!!qC.findAncestor(l,(function(e){return qC.isPropertyAccessExpression(e)&&"prototype"===e.name.escapedText})),!1),c=tI,qC.getAssignmentDeclarationPropertyAccessKind(l.parent)){case 1:case 2:tI=qC.isExternalOrCommonJsModule(ZC)?ZC:void 0;break;case 4:tI=l.parent.expression;break;case 3:tI=l.parent.expression.name;break;case 5:tI=QN(ZC,l.parent.expression)?ZC:qC.isPropertyAccessExpression(l.parent.expression)?l.parent.expression.name:l.parent.expression;break;case 0:return qC.Debug.fail("Shouldn't have detected typedef or enum on non-assignment declaration")}tI&&PI(s,524288,788968),tI=c}}else qC.isJSDocEnumTag(s)||!s.fullName||79===s.fullName.kind?(nI=s.parent,EN(s,524288,788968)):CN(s.fullName)}tI=e,iI=n,aI=t,nI=r,cI=a}}()),gI=_I=mI=pI=dI=uI=lI=cI=oI=iI=aI=rI=tI=nI=eI=$C=ZC=void 0,TI=yI=sI=!1,hI=0};function CI(e,n,t,r,a){return qC.createDiagnosticForNodeInSourceFile(qC.getSourceFileOfNode(e)||ZC,e,n,t,r,a)}function II(e,n){return SI++,new bI(e,n)}function NI(e,n,t){e.flags|=t,(n.symbol=e).declarations=qC.appendIfUnique(e.declarations,n),1955&t&&!e.exports&&(e.exports=qC.createSymbolTable()),6240&t&&!e.members&&(e.members=qC.createSymbolTable()),e.constEnumOnlyModule&&304&e.flags&&(e.constEnumOnlyModule=!1),111551&t&&qC.setValueDeclaration(e,n)}function kI(e){if(269===e.kind)return e.isExportEquals?"export=":"default";var n=qC.getNameOfDeclaration(e);if(n){if(qC.isAmbientModule(e))return t=qC.getTextOfIdentifierOrLiteral(n),qC.isGlobalScopeAugmentation(e)?"__global":'"'+t+'"';if(160===n.kind){var t=n.expression;if(qC.isStringOrNumericLiteralLike(t))return qC.escapeLeadingUnderscores(t.text);if(qC.isSignedNumericLiteral(t))return qC.tokenToString(t.operator)+t.operand.text;qC.Debug.fail("Only computed properties with literal names have declaration names")}return qC.isPrivateIdentifier(n)?(t=qC.getContainingClass(e))?(t=t.symbol,qC.getSymbolNameForPrivateIdentifier(t,n.escapedText)):void 0:qC.isPropertyNameLiteral(n)?qC.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===qC.getAssignmentDeclarationKind(e))return"export=";qC.Debug.fail("Unknown binary declaration kind");break;case 312:return qC.isJSDocConstructSignature(e)?"__new":"__call";case 162:return qC.Debug.assert(312===e.parent.kind,"Impossible parameter parent kind",(function(){return"parent is: "+(qC.SyntaxKind?qC.SyntaxKind[e.parent.kind]:e.parent.kind)+", expected JSDocFunctionType"})),"arg"+e.parent.parameters.indexOf(e)}}function RI(e){return qC.isNamedDeclaration(e)?qC.declarationNameToString(e.name):qC.unescapeLeadingUnderscores(qC.Debug.checkDefined(kI(e)))}function OI(e,n,t,r,a,i,o){qC.Debug.assert(o||!qC.hasDynamicName(t));var s,c,l,u,d,p,m=qC.hasSyntacticModifier(t,512)||qC.isExportSpecifier(t)&&"default"===t.name.escapedText;o=o?"__computed":m&&n?"default":kI(t);if(void 0===o)s=II(0,"__missing");else if(s=e.get(o),2885600&r&&EI.add(o),s){if(i&&!s.isReplaceableByMethod)return s;s.flags&a&&(s.isReplaceableByMethod?e.set(o,s=II(0,o)):3&r&&67108864&s.flags||(qC.isNamedDeclaration(t)&&qC.setParent(t.name,t),c=2&s.flags?qC.Diagnostics.Cannot_redeclare_block_scoped_variable_0:qC.Diagnostics.Duplicate_identifier_0,l=!0,(384&s.flags||384&r)&&(c=qC.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations,l=!1),u=!1,qC.length(s.declarations)&&(m||s.declarations&&s.declarations.length&&269===t.kind&&!t.isExportEquals)&&(c=qC.Diagnostics.A_module_cannot_have_multiple_default_exports,u=!(l=!1)),d=[],qC.isTypeAliasDeclaration(t)&&qC.nodeIsMissing(t.type)&&qC.hasSyntacticModifier(t,1)&&2887656&s.flags&&d.push(CI(t,qC.Diagnostics.Did_you_mean_0,"export type { "+qC.unescapeLeadingUnderscores(t.name.escapedText)+" }")),p=qC.getNameOfDeclaration(t)||t,qC.forEach(s.declarations,(function(e,n){var t=qC.getNameOfDeclaration(e)||e;e=CI(t,c,l?RI(e):void 0);ZC.bindDiagnostics.push(u?qC.addRelatedInfo(e,CI(p,0===n?qC.Diagnostics.Another_export_default_is_here:qC.Diagnostics.and_here)):e),u&&d.push(CI(t,qC.Diagnostics.The_first_export_default_is_here))})),a=CI(p,c,l?RI(t):void 0),ZC.bindDiagnostics.push(qC.addRelatedInfo.apply(void 0,$u([a],d,!1))),s=II(0,o)))}else e.set(o,s=II(0,o)),i&&(s.isReplaceableByMethod=!0);return NI(s,t,r),s.parent?qC.Debug.assert(s.parent===n,"Existing symbol parent should match new one"):s.parent=n,s}function PI(e,n,t){var r=!!(1&qC.getCombinedModifierFlags(e))||function(e){return e.parent&&qC.isModuleDeclaration(e)&&(e=e.parent),!(!qC.isJSDocTypeAlias(e)||(qC.isJSDocEnumTag(e)||!e.fullName)&&(!(e=qC.getNameOfDeclaration(e))||!(qC.isPropertyAccessEntityNameExpression(e.parent)&&KN(e.parent)||qC.isDeclaration(e.parent)&&1&qC.getCombinedModifierFlags(e.parent))))}(e);return 2097152&n?273===e.kind||263===e.kind&&r?OI(tI.symbol.exports,tI.symbol,e,n,t):OI(tI.locals,void 0,e,n,t):(qC.isJSDocTypeAlias(e)&&qC.Debug.assert(qC.isInJSFile(e)),!qC.isAmbientModule(e)&&(r||64&tI.flags)?!tI.locals||qC.hasSyntacticModifier(e,512)&&!kI(e)?OI(tI.symbol.exports,tI.symbol,e,n,t):((r=OI(tI.locals,void 0,e,111551&n?1048576:0,t)).exportSymbol=OI(tI.symbol.exports,tI.symbol,e,n,t),e.localSymbol=r):OI(tI.locals,void 0,e,n,t))}function wI(e){MI(e,(function(e){return 254===e.kind?CN(e):void 0})),MI(e,(function(e){return 254!==e.kind?CN(e):void 0}))}function MI(e,n){void 0===n&&(n=CN),void 0!==e&&qC.forEach(e,n)}function FI(e){qC.forEachChild(e,CN,MI)}function GI(e){var n,t,r,a,i,o,s,c,l,u=TI;if(TI=!1,function(e){var n;if(1&cI.flags)return cI===xI&&(qC.isStatementButNotDeclaration(e)&&234!==e.kind||255===e.kind||259===e.kind&&function(e){return e=XC(e),1===e||2===e&&qC.shouldPreserveConstEnums($C)}(e))&&(cI=LI,$C.allowUnreachableCode||(n=qC.unreachableCodeIsError($C)&&!(8388608&e.flags)&&(!qC.isVariableStatement(e)||!!(3&qC.getCombinedNodeFlags(e.declarationList))||e.declarationList.declarations.some((function(e){return!!e.initializer}))),function(e,n){var t,r;qC.isStatement(e)&&YN(e)&&qC.isBlock(e.parent)?(t=e.parent.statements,r=qC.sliceAfter(t,e),qC.getRangesWhere(r,YN,(function(e,t){return n(r[e],r[t-1])}))):n(e,e)}(e,(function(e,t){return AN(n,e,t,qC.Diagnostics.Unreachable_code_detected)})))),1}(e))FI(e);else switch(235<=e.kind&&e.kind<=251&&!$C.allowUnreachableCode&&(e.flowNode=cI),e.kind){case 239:s=oN(o=e,WI()),c=HI(),l=HI(),qI(s,cI),cI=s,aN(o.expression,c,l),cI=$I(c),iN(o.statement,l,s),qI(s,cI),cI=$I(l);break;case 238:c=e,o=WI(),s=oN(c,HI()),l=HI(),qI(o,cI),cI=o,iN(c.statement,l,s),qI(s,cI),cI=$I(s),aN(c.expression,o,l),cI=$I(l);break;case 240:m=oN(p=e,WI()),d=HI(),i=HI(),CN(p.initializer),qI(m,cI),cI=m,aN(p.condition,d,i),cI=$I(d),iN(p.statement,i,m),CN(p.incrementor),qI(m,cI),cI=$I(i);break;case 241:case 242:var d=e,p=oN(d,WI()),m=HI();CN(d.expression),qI(p,cI),cI=p,242===d.kind&&CN(d.awaitModifier),qI(m,cI),CN(d.initializer),253!==d.initializer.kind&&uN(d.initializer),iN(d.statement,m,p),qI(p,cI),cI=$I(m);break;case 237:i=e,_=HI(),g=HI(),f=HI(),aN(i.expression,_,g),cI=$I(_),CN(i.thenStatement),qI(f,cI),cI=$I(g),CN(i.elseStatement),qI(f,cI),cI=$I(f);break;case 245:case 249:var _=e;CN(_.expression),245===_.kind&&(yI=!0,dI)&&qI(dI,cI),cI=xI;break;case 244:case 243:var f,g=e;CN(g.label),g.label?(f=function(e){for(var n=gI;n;n=n.next)if(n.name===e)return n}(g.label.escapedText))&&(f.referenced=!0,sN(g,f.breakTarget,f.continueTarget)):sN(g,lI,uI);break;case 250:var y=e,h=dI,v=_I,b=HI(),E=HI(),T=HI();y.finallyBlock&&(dI=E),qI(T,cI),_I=T,CN(y.tryBlock),qI(b,cI),y.catchClause&&(cI=$I(T),qI(T=HI(),cI),_I=T,CN(y.catchClause),qI(b,cI)),dI=h,_I=v,cI=y.finallyBlock?((h=HI()).antecedents=qC.concatenate(qC.concatenate(b.antecedents,T.antecedents),E.antecedents),cI=h,CN(y.finallyBlock),1&cI.flags||(dI&&E.antecedents&&qI(dI,zI(h,E.antecedents,cI)),_I&&T.antecedents&&qI(_I,zI(h,T.antecedents,cI)),!b.antecedents)?xI:zI(h,b.antecedents,cI)):$I(b);break;case 247:v=e,y=HI(),CN(v.expression),E=lI,T=fI,lI=y,fI=cI,CN(v.caseBlock),qI(y,cI),h=qC.forEach(v.caseBlock.clauses,(function(e){return 288===e.kind})),v.possiblyExhaustive=!h&&!y.antecedents,h||qI(y,YI(fI,v,0,0)),lI=E,fI=T,cI=$I(y);break;case 261:for(var S=e,x=S.clauses,L=BI(S.parent.expression),D=xI,A=0;A<x.length;A++){for(var C=A;!x[A].statements.length&&A+1<x.length;)CN(x[A]),A++;var I=HI();C=(qI(I,L?YI(fI,S.parent,C,A+1):fI),qI(I,D),cI=$I(I),x[A]);CN(C),1&(D=cI).flags||A===x.length-1||!$C.noFallthroughCasesInSwitch||(C.fallthroughFlowNode=cI)}break;case 287:b=cI,cI=fI,CN((a=e).expression),cI=b,MI(a.statements);break;case 236:CN((a=e).expression),cN(a.expression);break;case 248:var N=e,k=HI();if(gI={next:gI,name:N.label.escapedText,breakTarget:k,continueTarget:void 0,referenced:!1},CN(N.label),CN(N.statement),!gI.referenced&&!$C.allowUnusedLabels){var R=qC.unusedLabelIsError($C);N=N.label;var O=qC.Diagnostics.Unused_label;AN(R,N,N,O)}gI=gI.next,qI(k,cI),cI=$I(k);break;case 217:R=e,53===R.operator?(N=pI,pI=mI,mI=N,FI(R),mI=pI,pI=N):(FI(R),45!==R.operator&&46!==R.operator||uN(R.operand));break;case 218:FI(O=e),45!==O.operator&&46!==O.operator||uN(O.operand);break;case 219:if(qC.isDestructuringAssignment(e))return k=e,(TI=u)?(TI=!1,CN(k.operatorToken),CN(k.right),TI=!0,CN(k.left)):(TI=!0,CN(k.left),TI=!1,CN(k.operatorToken),CN(k.right)),void uN(k.left);DI(e);break;case 213:FI(r=e),204===r.expression.kind&&uN(r.expression);break;case 220:r=e,n=HI(),t=HI(),w=HI(),aN(r.condition,n,t),cI=$I(n),CN(r.questionToken),CN(r.whenTrue),qI(w,cI),cI=$I(t),CN(r.colonToken),CN(r.whenFalse),qI(w,cI),cI=$I(w);break;case 252:FI(n=e),(n.initializer||qC.isForInOrOfStatement(n.parent.parent))&&function e(n){var t=qC.isOmittedExpression(n)?void 0:n.name;if(qC.isBindingPattern(t))for(var r=0,a=t.elements;r<a.length;r++){var i=a[r];e(i)}else cI=QI(16,cI,n)}(n);break;case 204:case 205:t=e,(qC.isOptionalChain(t)?_N:FI)(t);break;case 206:var P,w=e;qC.isOptionalChain(w)?_N(w):211===(P=qC.skipParentheses(w.expression)).kind||212===P.kind?(MI(w.typeArguments),MI(w.arguments),CN(w.expression)):(FI(w),106===w.expression.kind&&(cI=ZI(cI,w))),204===w.expression.kind&&(P=w.expression,qC.isIdentifier(P.name))&&KI(P.expression)&&qC.isPushOrUnshiftIdentifier(P.name)&&(cI=QI(256,cI,w));break;case 228:P=e,(qC.isOptionalChain(P)?_N:FI)(P);break;case 340:case 333:case 334:var M=e;CN(M.tagName),334!==M.kind&&M.fullName&&(qC.setParent(M.fullName,M),qC.setParentRecursive(M.fullName,!1)),"string"!=typeof M.comment&&MI(M.comment);break;case 300:wI(e.statements),CN(e.endOfFileToken);break;case 233:case 260:wI(e.statements);break;case 201:M=e,qC.isBindingPattern(M.name)?(MI(M.decorators),MI(M.modifiers),CN(M.dotDotDotToken),CN(M.propertyName),CN(M.initializer),CN(M.name)):FI(M);break;case 203:case 202:case 291:case 223:TI=u;default:FI(e)}IN(e),TI=u}function BI(e){switch(e.kind){case 79:case 80:case 108:case 204:case 205:return VI(e);case 206:var n=e;if(n.arguments)for(var t=0,r=n.arguments;t<r.length;t++)if(VI(r[t]))return!0;return!(204!==n.expression.kind||!VI(n.expression.expression));case 210:case 228:return BI(e.expression);case 219:var a=e;switch(a.operatorToken.kind){case 63:case 75:case 76:case 77:return VI(a.left);case 34:case 35:case 36:case 37:return KI(a.left)||KI(a.right)||jI(a.right,a.left)||jI(a.left,a.right);case 102:return KI(a.left);case 101:case 27:return BI(a.right)}return!1;case 217:return 53===e.operator&&BI(e.operand);case 214:return BI(e.expression)}return!1}function UI(e){return qC.isDottedName(e)||(qC.isPropertyAccessExpression(e)||qC.isNonNullExpression(e)||qC.isParenthesizedExpression(e))&&UI(e.expression)||qC.isBinaryExpression(e)&&27===e.operatorToken.kind&&UI(e.right)||qC.isElementAccessExpression(e)&&qC.isStringOrNumericLiteralLike(e.argumentExpression)&&UI(e.expression)||qC.isAssignmentExpression(e)&&UI(e.left)}function VI(e){return UI(e)||qC.isOptionalChain(e)&&VI(e.expression)}function jI(e,n){return qC.isTypeOfExpression(e)&&KI(e.expression)&&qC.isStringLiteralLike(n)}function KI(e){switch(e.kind){case 210:return KI(e.expression);case 219:switch(e.operatorToken.kind){case 63:return KI(e.left);case 27:return KI(e.right)}}return VI(e)}function HI(){return QC({flags:4,antecedents:void 0})}function WI(){return QC({flags:8,antecedents:void 0})}function zI(e,n,t){return QC({flags:1024,target:e,antecedents:n,antecedent:t})}function JI(e){e.flags|=2048&e.flags?4096:2048}function qI(e,n){1&n.flags||qC.contains(e.antecedents,n)||((e.antecedents||(e.antecedents=[])).push(n),JI(n))}function XI(e,n,t){return 1&n.flags?n:t?!(110===t.kind&&64&e||95===t.kind&&32&e)||qC.isExpressionOfOptionalChainRoot(t)||qC.isNullishCoalesce(t.parent)?BI(t)?(JI(n),QC({flags:e,antecedent:n,node:t})):n:xI:32&e?n:xI}function YI(e,n,t,r){return JI(e),QC({flags:128,antecedent:e,switchStatement:n,clauseStart:t,clauseEnd:r})}function QI(e,n,t){return JI(n),e=QC({flags:e,antecedent:n,node:t}),_I&&qI(_I,e),e}function ZI(e,n){return JI(e),QC({flags:512,antecedent:e,node:n})}function $I(e){var n=e.antecedents;return n?1===n.length?n[0]:e:xI}function eN(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 nN(e){return e=qC.skipParentheses(e),qC.isBinaryExpression(e)&&qC.isLogicalOrCoalescingAssignmentOperator(e.operatorToken.kind)}function tN(e){for(;qC.isParenthesizedExpression(e.parent)||qC.isPrefixUnaryExpression(e.parent)&&53===e.parent.operator;)e=e.parent;return!(function(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)||nN(e.parent)||eN(e.parent)||qC.isOptionalChain(e.parent)&&e.parent.expression===e)}function rN(e,n,t,r){var a=pI,i=mI;pI=t,mI=r,e(n),pI=a,mI=i}function aN(e,n,t){rN(CN,e,n,t),e&&(nN(e)||eN(e)||qC.isOptionalChain(e)&&qC.isOutermostOptionalChain(e))||(qI(n,XI(32,cI,e)),qI(t,XI(64,cI,e)))}function iN(e,n,t){var r=lI,a=uI;lI=n,uI=t,CN(e),lI=r,uI=a}function oN(e,n){for(var t=gI;t&&248===e.parent.kind;)t.continueTarget=n,t=t.next,e=e.parent;return n}function sN(e,n,t){e=244===e.kind?n:t,e&&(qI(e,cI),cI=xI)}function cN(e){206===e.kind&&106!==(e=e).expression.kind&&qC.isDottedName(e.expression)&&(cI=ZI(cI,e))}function lN(e){219===e.kind&&63===e.operatorToken.kind?uN(e.left):uN(e)}function uN(e){if(UI(e))cI=QI(16,cI,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):lN(r)}else if(203===e.kind)for(var a=0,i=e.properties;a<i.length;a++){var o=i[a];291===o.kind?lN(o.initializer):292===o.kind?uN(o.name):293===o.kind&&uN(o.expression)}}function dN(e,n,t){var r=HI();55===e.operatorToken.kind||76===e.operatorToken.kind?aN(e.left,r,t):aN(e.left,n,r),cI=$I(r),CN(e.operatorToken),qC.isLogicalOrCoalescingAssignmentOperator(e.operatorToken.kind)?(rN(CN,e.right,n,t),uN(e.left),qI(n,XI(32,cI,e)),qI(t,XI(64,cI,e))):aN(e.right,n,t)}function pN(e){switch(e.kind){case 204:CN(e.questionDotToken),CN(e.name);break;case 205:CN(e.questionDotToken),CN(e.argumentExpression);break;case 206:CN(e.questionDotToken),MI(e.typeArguments),MI(e.arguments)}}function mN(e,n,t){var r,a,i,o=qC.isOptionalChainRoot(e)?HI():void 0;rN(CN,r=e.expression,a=o||n,i=t),qC.isOptionalChain(r)&&!qC.isOutermostOptionalChain(r)||(qI(a,XI(32,cI,r)),qI(i,XI(64,cI,r))),o&&(cI=$I(o)),rN(pN,e,n,t),qC.isOutermostOptionalChain(e)&&(qI(n,XI(32,cI,e)),qI(t,XI(64,cI,e)))}function _N(e){var n;tN(e)?(mN(e,n=HI(),n),cI=$I(n)):mN(e,pI,mI)}function fN(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(qC.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 qC.isFunctionLike(e.parent)||qC.isClassStaticBlockDeclaration(e.parent)?0:2}return 0}function gN(e){iI&&(iI.nextContainer=e),iI=e}function yN(e,n,t){switch(tI.kind){case 259:return PI(e,n,t);case 300:return r=e,a=n,i=t,qC.isExternalModule(ZC)?PI(r,a,i):OI(ZC.locals,void 0,r,a,i);case 224:case 255:return r=e,a=n,i=t,qC.isStatic(r)?OI(tI.symbol.exports,tI.symbol,r,a,i):OI(tI.symbol.members,tI.symbol,r,a,i);case 258:return OI(tI.symbol.exports,tI.symbol,e,n,t);case 180:case 317:case 203:case 256:case 284:return OI(tI.symbol.members,tI.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 OI(tI.locals,void 0,e,n,t)}var r,a,i}function hN(e){var n;8388608&e.flags&&(n=e,!(n=qC.isSourceFile(n)?n:qC.tryCast(n.body,qC.isModuleBlock))||!n.statements.some((function(e){return qC.isExportDeclaration(e)||qC.isExportAssignment(e)})))?e.flags|=64:e.flags&=-65}function vN(e){var n=XC(e),t=0!==n;return yN(e,t?512:1024,t?110735:0),n}function bN(e,n,t){return t=II(n,t),106508&n&&(t.parent=tI.symbol),NI(t,e,n),t}function EN(e,n,t){switch(aI.kind){case 259:PI(e,n,t);break;case 300:if(qC.isExternalOrCommonJsModule(tI)){PI(e,n,t);break}default:aI.locals||(aI.locals=qC.createSymbolTable(),gN(aI)),OI(aI.locals,void 0,e,n,t)}}function TN(e){ZC.parseDiagnostics.length||8388608&e.flags||4194304&e.flags||qC.isIdentifierName(e)||(vI&&117<=e.originalKeywordKind&&e.originalKeywordKind<=125?ZC.bindDiagnostics.push(CI(e,function(e){return qC.getContainingClass(e)?qC.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:ZC.externalModuleIndicator?qC.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:qC.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode}(e),qC.declarationNameToString(e))):131===e.originalKeywordKind?qC.isExternalModule(ZC)&&qC.isInTopLevelContext(e)?ZC.bindDiagnostics.push(CI(e,qC.Diagnostics.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module,qC.declarationNameToString(e))):32768&e.flags&&ZC.bindDiagnostics.push(CI(e,qC.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,qC.declarationNameToString(e))):125===e.originalKeywordKind&&8192&e.flags&&ZC.bindDiagnostics.push(CI(e,qC.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,qC.declarationNameToString(e))))}function SN(e,n){var t,r;n&&79===n.kind&&(r=t=n,!qC.isIdentifier(r)||"eval"!==r.escapedText&&"arguments"!==r.escapedText||(r=qC.getErrorSpanForNode(ZC,n),ZC.bindDiagnostics.push(qC.createFileDiagnostic(ZC,r.start,r.length,function(e){return qC.getContainingClass(e)?qC.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:ZC.externalModuleIndicator?qC.Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode:qC.Diagnostics.Invalid_use_of_0_in_strict_mode}(e),qC.idText(t)))))}function xN(e){vI&&SN(e,e.name)}function LN(e){var n;eI<2&&(300===aI.kind||259===aI.kind||qC.isFunctionLikeOrClassStaticBlockDeclaration(aI)||(n=qC.getErrorSpanForNode(ZC,e),ZC.bindDiagnostics.push(qC.createFileDiagnostic(ZC,n.start,n.length,qC.getContainingClass(e)?qC.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:ZC.externalModuleIndicator?qC.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:qC.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5))))}function DN(e,n,t,r,a){e=qC.getSpanOfTokenAtPosition(ZC,e.pos),ZC.bindDiagnostics.push(qC.createFileDiagnostic(ZC,e.start,e.length,n,t,r,a))}function AN(e,n,t,r){n={pos:qC.getTokenPosOfNode(n,ZC),end:t.end},t=r,n=qC.createFileDiagnostic(ZC,n.pos,n.end-n.pos,t),e?ZC.bindDiagnostics.push(n):ZC.bindSuggestionDiagnostics=qC.append(ZC.bindSuggestionDiagnostics,ed(ed({},n),{category:qC.DiagnosticCategory.Suggestion}))}function CN(e){var n,t,r,a,i,o,s,c,l,u,d,p,m,_,f;e&&(qC.setParent(e,nI),n=vI,kN(e),158<e.kind?(t=nI,0===(a=fN(nI=e))?GI(e):(r=e,m=tI,_=rI,f=aI,1&(a=a)?(212!==r.kind&&(rI=tI),tI=aI=r,32&a&&(tI.locals=qC.createSymbolTable()),gN(tI)):2&a&&((aI=r).locals=void 0),4&a?(i=cI,o=lI,s=uI,c=dI,l=_I,u=gI,d=yI,(p=16&a&&!qC.hasSyntacticModifier(r,256)&&!r.asteriskToken&&!!qC.getImmediatelyInvokedFunctionExpression(r))||(cI=QC({flags:2}),144&a&&(cI.node=r)),dI=p||169===r.kind||168===r.kind||qC.isInJSFile(r)&&(254===r.kind||211===r.kind)?HI():void 0,gI=uI=lI=_I=void 0,yI=!1,GI(r),r.flags&=-2817,!(1&cI.flags)&&8&a&&qC.nodeIsPresent(r.body)&&(r.flags|=256,yI&&(r.flags|=512),r.endFlowNode=cI),300===r.kind&&(r.flags|=hI,r.endFlowNode=cI),dI&&(qI(dI,cI),cI=$I(dI),169!==r.kind&&168!==r.kind&&(!qC.isInJSFile(r)||254!==r.kind&&211!==r.kind)||(r.returnFlowNode=cI)),p||(cI=i),lI=o,uI=s,dI=c,_I=l,gI=u,yI=d):64&a?(sI=!1,GI(r),r.flags=sI?128|r.flags:-129&r.flags):GI(r),tI=m,rI=_,aI=f)):(t=nI,1===e.kind&&(nI=e),IN(e)),nI=t,vI=n)}function IN(e){if(qC.hasJSDocNodes(e))if(qC.isInJSFile(e))for(var n=0,t=e.jsDoc;n<t.length;n++)CN(i=t[n]);else for(var r=0,a=e.jsDoc;r<a.length;r++){var i=a[r];qC.setParent(i,e),qC.setParentRecursive(i,!1)}}function NN(e){if(!vI)for(var n=0,t=e;n<t.length;n++){var r=t[n];if(!qC.isPrologueDirective(r))return;if(function(e){return e=qC.getSourceTextOfNodeFromSourceFile(ZC,e.expression),'"use strict"'===e||"'use strict'"===e}(r))return void(vI=!0)}}function kN(e){switch(e.kind){case 79:if(e.isInJSDocNamespace){for(var n=e.parent;n&&!qC.isJSDocTypeAlias(n);)n=n.parent;EN(n,524288,788968);break}case 108:return cI&&(qC.isExpression(e)||292===nI.kind)&&(e.flowNode=cI),TN(e);case 159:cI&&qC.isPartOfTypeQuery(e)&&(e.flowNode=cI);break;case 229:case 106:e.flowNode=cI;break;case 80:return"#constructor"!==(w=e).escapedText||ZC.parseDiagnostics.length||ZC.bindDiagnostics.push(CI(w,qC.Diagnostics.constructor_is_a_reserved_word,qC.declarationNameToString(w)));case 204:case 205:w=e,cI&&UI(w)&&(w.flowNode=cI),qC.isSpecialPropertyDeclaration(w)&&(108===(P=w).expression.kind?MN(P):qC.isBindableStaticAccessExpression(P)&&300===P.parent.parent.kind&&(qC.isPrototypeAccess(P.expression)?BN(P,P.parent):UN(P))),qC.isInJSFile(w)&&ZC.commonJsModuleIndicator&&qC.isModuleExportsAccessExpression(w)&&!ZN(aI,"module")&&OI(ZC.locals,void 0,w.expression,134217729,111550);break;case 219:switch(qC.getAssignmentDeclarationKind(e)){case 1:PN(e);break;case 2:ON(R=e)&&(O=qC.getRightMostAssignedExpression(R.right),qC.isEmptyObjectLiteral(O)||tI===ZC&&QN(ZC,O)||(qC.isObjectLiteralExpression(O)&&qC.every(O.properties,qC.isShorthandPropertyAssignment)?qC.forEach(O.properties,wN):(O=qC.exportAssignmentIsAlias(R)?2097152:1049092,O=OI(ZC.symbol.exports,ZC.symbol,R,67108864|O,0),qC.setValueDeclaration(O,R))));break;case 3:BN(e.left,e);break;case 6:O=e,qC.setParent(O.left,O),qC.setParent(O.right,O),HN(O.left.expression,O.left,!1,!0);break;case 4:MN(e);break;case 5:if(R=e.left.expression,qC.isInJSFile(e)&&qC.isIdentifier(R)){var t=ZN(aI,R.escapedText);if(qC.isThisInitializedDeclaration(null==t?void 0:t.valueDeclaration)){MN(e);break}}k=WN((t=e).left.expression,tI)||WN(t.left.expression,aI),(qC.isInJSFile(t)||qC.isFunctionSymbol(k))&&(N=qC.getLeftmostAccessExpression(t.left),qC.isIdentifier(N)&&2097152&(null==(N=ZN(tI,N.escapedText))?void 0:N.flags)||(qC.setParent(t.left,t),qC.setParent(t.right,t),qC.isIdentifier(t.left.expression)&&tI===ZC&&QN(ZC,t.left.expression)?PN(t):qC.hasDynamicName(t)?(bN(t,67108868,"__computed"),N=VN(k,t.left.expression,KN(t.left),!1,!1),GN(t,N)):UN(qC.cast(t.left,qC.isBindableStaticNameExpression))));break;case 0:break;default:qC.Debug.fail("Unknown binary expression special property assignment kind")}return P=e,vI&&qC.isLeftHandSideExpression(P.left)&&qC.isAssignmentOperator(P.operatorToken.kind)&&SN(P,P.left);case 290:return I=e,vI&&I.variableDeclaration&&SN(I,I.variableDeclaration.name);case 213:return I=e,vI&&79===I.expression.kind&&(I=qC.getErrorSpanForNode(ZC,I.expression),ZC.bindDiagnostics.push(qC.createFileDiagnostic(ZC,I.start,I.length,qC.Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode)));case 8:return C=e,vI&&32&C.numericLiteralFlags&&ZC.bindDiagnostics.push(CI(C,qC.Diagnostics.Octal_literals_are_not_allowed_in_strict_mode));case 218:return C=e,vI&&SN(C,C.operand);case 217:return A=e,!vI||45!==A.operator&&46!==A.operator||SN(A,A.operand);case 246:return A=e,vI&&DN(A,qC.Diagnostics.with_statements_are_not_allowed_in_strict_mode);case 248:return D=e,vI&&2<=$C.target&&(qC.isDeclarationStatement(D.statement)||qC.isVariableStatement(D.statement))&&DN(D.label,qC.Diagnostics.A_label_is_not_allowed_here);case 190:return void(sI=!0);case 175:break;case 161:return D=e,void(qC.isJSDocTemplateTag(D.parent)?(r=qC.find(D.parent.parent.tags,qC.isJSDocTypeAlias)||qC.getHostSignatureFromJSDoc(D.parent))?(r.locals||(r.locals=qC.createSymbolTable()),OI(r.locals,void 0,D,262144,526824)):yN(D,262144,526824):188===D.parent.kind?(r=function(e){return e=qC.findAncestor(e,(function(e){return e.parent&&qC.isConditionalTypeNode(e.parent)&&e.parent.extendsType===e})),e&&e.parent}(D.parent))?(r.locals||(r.locals=qC.createSymbolTable()),OI(r.locals,void 0,D,262144,526824)):bN(D,262144,kI(D)):yN(D,262144,526824));case 162:return qN(e);case 252:return JN(e);case 201:return e.flowNode=cI,JN(e);case 165:case 164:return XN(e,4|(e.questionToken?16777216:0),0);case 291:case 292:return XN(e,4,0);case 294:return XN(e,8,900095);case 172:case 173:case 174:return yN(e,131072,0);case 167:case 166:return XN(e,8192|(e.questionToken?16777216:0),qC.isObjectLiteralMethod(e)?0:103359);case 254:var r=e;return ZC.isDeclarationFile||8388608&r.flags||qC.isAsyncFunction(r)&&(hI|=2048),xN(r),void(vI?(LN(r),EN):yN)(r,16,110991);case 169:return yN(e,16384,0);case 170:return XN(e,32768,46015);case 171:return XN(e,65536,78783);case 177:case 312:case 318:case 178:return NI(u=II(131072,kI(x=e)),x,131072),NI(L=II(2048,"__type"),x,2048),L.members=qC.createSymbolTable(),L.members.set(u.escapedName,u);case 180:case 317:case 193:return bN(e,2048,"__type");case 327:return FI(x=e),(x=qC.getHostSignatureFromJSDoc(x))&&167!==x.kind&&NI(x.symbol,x,32);case 203:if(L=e,vI&&!qC.isAssignmentTarget(L))for(var a=new qC.Map,i=0,o=L.properties;i<o.length;i++){var s,c,l=o[i];293!==l.kind&&79===l.name.kind&&(s=l.name,l=291===l.kind||292===l.kind||167===l.kind?1:2,(c=a.get(s.escapedText))?1==l&&1===c&&(c=qC.getErrorSpanForNode(ZC,s),ZC.bindDiagnostics.push(qC.createFileDiagnostic(ZC,c.start,c.length,qC.Diagnostics.An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode))):a.set(s.escapedText,l))}return bN(L,4096,"__object");case 211:case 212:var u=e,d=(ZC.isDeclarationFile||8388608&u.flags||qC.isAsyncFunction(u)&&(hI|=2048),cI&&(u.flowNode=cI),xN(u),u.name?u.name.escapedText:"__function");return bN(u,16,d);case 206:switch(qC.getAssignmentDeclarationKind(e)){case 7:return p=WN((T=e).arguments[0]),S=300===T.parent.parent.kind,p=VN(p,T.arguments[0],S,!1,!1),jN(T,p,!1);case 8:return ON(S=e)&&(T=zN(S.arguments[0],void 0,(function(e,n){return n&&NI(n,e,67110400),n})))&&OI(T.exports,T,S,1048580,0);case 9:var p=e,m=WN(p.arguments[0].expression);return m&&m.valueDeclaration&&NI(m,m.valueDeclaration,32),void jN(p,m,!0);case 0:break;default:return qC.Debug.fail("Unknown call expression assignment declaration kind")}qC.isInJSFile(e)&&(d=e,!ZC.commonJsModuleIndicator)&&qC.isRequireCall(d,!1)&&ON(d);break;case 224:case 255:vI=!0;var _=e,f=(255===_.kind?EN(_,32,899503):(f=_.name?_.name.escapedText:"__class",bN(_,32,f),_.name&&EI.add(_.name.escapedText)),_.symbol),g=II(4194308,"prototype"),y=f.exports.get(g.escapedName);return y&&(_.name&&qC.setParent(_.name,_),ZC.bindDiagnostics.push(CI(y.declarations[0],qC.Diagnostics.Duplicate_identifier_0,qC.symbolName(g)))),f.exports.set(g.escapedName,g),void(g.parent=f);case 256:return EN(e,64,788872);case 257:return EN(e,524288,788968);case 258:return _=e,qC.isEnumConst(_)?EN(_,128,899967):EN(_,256,899327);case 259:return hN(y=e),qC.isAmbientModule(y)?(qC.hasSyntacticModifier(y,1)&&DN(y,qC.Diagnostics.export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible),qC.isModuleAugmentationExternal(y)?vN(y):(b=void 0,10===y.name.kind&&(E=y.name.text,void 0===(b=qC.tryParsePattern(E)))&&DN(y.name,qC.Diagnostics.Pattern_0_can_have_at_most_one_Asterisk_character,E),E=yN(y,512,110735),ZC.patternAmbientModules=qC.append(ZC.patternAmbientModules,b&&!qC.isString(b)?{pattern:b,symbol:E}:void 0))):0!==(b=vN(y))&&((E=y.symbol).constEnumOnlyModule=!(304&E.flags)&&2===b&&!1!==E.constEnumOnlyModule);case 284:return bN(e,4096,"__jsxAttributes");case 283:return yN(e,4,0);case 263:case 266:case 268:case 273:return yN(e,2097152,2097152);case 262:return(g=e).modifiers&&g.modifiers.length&&ZC.bindDiagnostics.push(CI(g,qC.Diagnostics.Modifiers_cannot_appear_here)),(f=qC.isSourceFile(g.parent)?qC.isExternalModule(g.parent)?g.parent.isDeclarationFile?void 0:qC.Diagnostics.Global_module_exports_may_only_appear_in_declaration_files:qC.Diagnostics.Global_module_exports_may_only_appear_in_module_files:qC.Diagnostics.Global_module_exports_may_only_appear_at_top_level)?ZC.bindDiagnostics.push(CI(g,f)):(ZC.symbol.globalExports=ZC.symbol.globalExports||qC.createSymbolTable(),OI(ZC.symbol.globalExports,ZC.symbol,g,2097152,2097152));case 265:return(b=e).name&&yN(b,2097152,2097152);case 270:return E=e,tI.symbol&&tI.symbol.exports?E.exportClause?qC.isNamespaceExport(E.exportClause)&&(qC.setParent(E.exportClause,E),OI(tI.symbol.exports,tI.symbol,E.exportClause,2097152,2097152)):OI(tI.symbol.exports,tI.symbol,E,8388608,0):bN(E,8388608,kI(E));case 269:var h=e;return void(tI.symbol&&tI.symbol.exports?(v=qC.exportAssignmentIsAlias(h)?2097152:4,v=OI(tI.symbol.exports,tI.symbol,h,v,67108863),h.isExportEquals&&qC.setValueDeclaration(v,h)):bN(h,111551,kI(h)));case 300:var v;return NN(e.statements),hN(ZC),void(qC.isExternalModule(ZC)?RN():qC.isJsonSourceFile(ZC)&&(RN(),v=ZC.symbol,OI(ZC.symbol.exports,ZC.symbol,ZC,4,67108863),ZC.symbol=v));case 233:if(!qC.isFunctionLikeOrClassStaticBlockDeclaration(e.parent))return;case 260:return NN(e.statements);case 335:if(318===e.parent.kind)return qN(e);if(317!==e.parent.kind)break;case 342:return yN(e,e.isBracketed||e.typeExpression&&311===e.typeExpression.type.kind?16777220:4,0);case 340:case 333:case 334:(oI=oI||[]).push(e)}var b,E,T,S,x,L,D,A,C,I,N,k,R,O,P,w}function RN(){bN(ZC,512,'"'+qC.removeFileExtension(ZC.fileName)+'"')}function ON(e){return!ZC.externalModuleIndicator&&(ZC.commonJsModuleIndicator||(ZC.commonJsModuleIndicator=e,RN()),1)}function PN(e){var n,t;ON(e)&&(n=zN(e.left.expression,void 0,(function(e,n){return n&&NI(n,e,67110400),n})))&&(t=qC.isAliasableExpression(e.right)&&(qC.isExportsIdentifier(e.left.expression)||qC.isModuleExportsAccessExpression(e.left.expression))?2097152:1048580,qC.setParent(e.left,e),OI(n.exports,n,e.left,t,0))}function wN(e){OI(ZC.symbol.exports,ZC.symbol,e,69206016,0)}function MN(e){qC.Debug.assert(qC.isInJSFile(e));var n=qC.isBinaryExpression(e)&&qC.isPropertyAccessExpression(e.left)&&qC.isPrivateIdentifier(e.left.name)||qC.isPropertyAccessExpression(e)&&qC.isPrivateIdentifier(e.name);if(!n){var t=qC.getThisContainer(e,!1);switch(t.kind){case 254:case 211:var r=t.symbol;(r=qC.isBinaryExpression(t.parent)&&63===t.parent.operatorToken.kind&&(a=t.parent.left,qC.isBindableStaticAccessExpression(a))&&qC.isPrototypeAccess(a.expression)?WN(a.expression.expression,rI):r)&&r.valueDeclaration&&(r.members=r.members||qC.createSymbolTable(),qC.hasDynamicName(e)?FN(e,r,r.members):OI(r.members,r,e,67108868,0),NI(r,r.valueDeclaration,32));break;case 169:case 165:case 167:case 170:case 171:var a=t.parent;r=qC.isStatic(t)?a.symbol.exports:a.symbol.members;qC.hasDynamicName(e)?FN(e,a.symbol,r):OI(r,a.symbol,e,67108868,0,!0);break;case 300:qC.hasDynamicName(e)||(t.commonJsModuleIndicator?OI(t.symbol.exports,t.symbol,e,1048580,0):yN(e,1,111550));break;default:qC.Debug.failBadSyntaxKind(t)}}}function FN(e,n,t){OI(t,n,e,4,0,!0,!0),GN(e,n)}function GN(e,n){n&&(n.assignmentDeclarationMembers||(n.assignmentDeclarationMembers=new qC.Map)).set(qC.getNodeId(e),e)}function BN(e,n){var t=e.expression,r=t.expression;qC.setParent(r,t),qC.setParent(t,e),qC.setParent(e,n),HN(r,e,!0,!0)}function UN(e){qC.Debug.assert(!qC.isIdentifier(e)),qC.setParent(e.expression,e),HN(e.expression,e,!1,!1)}function VN(e,n,t,r,a){return 2097152&(null==e?void 0:e.flags)||(t&&!r&&(e=zN(n,e,(function(e,n,t){return n?(NI(n,e,67110400),n):OI(t?t.exports:ZC.jsGlobalAugmentations||(ZC.jsGlobalAugmentations=qC.createSymbolTable()),t,e,67110400,110735)}))),a&&e&&e.valueDeclaration&&NI(e,e.valueDeclaration,32)),e}function jN(e,n,t){var r,a;n&&function(e){if(1072&e.flags)return 1;if(e=e.valueDeclaration,e&&qC.isCallExpression(e))return qC.getAssignedExpandoInitializer(e);var n=e?qC.isVariableDeclaration(e)?e.initializer:qC.isBinaryExpression(e)?e.right:qC.isPropertyAccessExpression(e)&&qC.isBinaryExpression(e.parent)?e.parent.right:void 0:void 0;return(n=n&&qC.getRightMostAssignedExpression(n))?(e=qC.isPrototypeAccess(qC.isVariableDeclaration(e)?e.name:qC.isBinaryExpression(e)?e.left:e),qC.getExpandoInitializer(!qC.isBinaryExpression(n)||56!==n.operatorToken.kind&&60!==n.operatorToken.kind?n:n.right,e)):void 0}(n)&&(t=t?n.members||(n.members=qC.createSymbolTable()):n.exports||(n.exports=qC.createSymbolTable()),a=r=0,qC.isFunctionLikeDeclaration(qC.getAssignedExpandoInitializer(e))?(r=8192,a=103359):qC.isCallExpression(e)&&qC.isBindableObjectDefinePropertyCall(e)&&(qC.some(e.arguments[2].properties,(function(e){return e=qC.getNameOfDeclaration(e),!!e&&qC.isIdentifier(e)&&"set"===qC.idText(e)}))&&(r|=65540,a|=78783),qC.some(e.arguments[2].properties,(function(e){return e=qC.getNameOfDeclaration(e),!!e&&qC.isIdentifier(e)&&"get"===qC.idText(e)})))&&(r|=32772,a|=46015),0===r&&(r=4,a=0),OI(t,n,e,67108864|r,-67108865&a))}function KN(e){return qC.isBinaryExpression(e.parent)?300===function(e){for(;qC.isBinaryExpression(e.parent);)e=e.parent;return e.parent}(e.parent).parent.kind:300===e.parent.parent.kind}function HN(e,n,t,r){e=WN(e,tI)||WN(e,aI);var a=KN(n);jN(n,VN(e,n.expression,a,t,r),t)}function WN(e,n){return void 0===n&&(n=tI),qC.isIdentifier(e)?ZN(n,e.escapedText):(n=WN(e.expression))&&n.exports&&n.exports.get(qC.getElementOrPropertyAccessName(e))}function zN(e,n,t){var r;return QN(ZC,e)?ZC.symbol:qC.isIdentifier(e)?t(e,WN(e),n):(n=zN(e.expression,n,t),r=qC.getNameOrArgument(e),qC.isPrivateIdentifier(r)&&qC.Debug.fail("unexpected PrivateIdentifier"),t(r,n&&n.exports&&n.exports.get(qC.getElementOrPropertyAccessName(e)),n))}function JN(e){vI&&SN(e,e.name),qC.isBindingPattern(e.name)||(qC.isInJSFile(e)&&qC.isRequireVariableDeclaration(e)&&!qC.getJSDocTypeTag(e)?yN(e,2097152,2097152):qC.isBlockOrCatchScoped(e)?EN(e,2,111551):qC.isParameterDeclaration(e)?yN(e,1,111551):yN(e,1,111550))}function qN(e){var n;335===e.kind&&318!==tI.kind||(!vI||8388608&e.flags||SN(e,e.name),qC.isBindingPattern(e.name)?bN(e,1,"__"+e.parent.parameters.indexOf(e)):yN(e,1,111551),qC.isParameterPropertyDeclaration(e,e.parent)&&OI((n=e.parent.parent).symbol.members,n.symbol,e,4|(e.questionToken?16777216:0),0))}function XN(e,n,t){return ZC.isDeclarationFile||8388608&e.flags||!qC.isAsyncFunction(e)||(hI|=2048),cI&&qC.isObjectLiteralOrClassExpressionMethod(e)&&(e.flowNode=cI),qC.hasDynamicName(e)?bN(e,n,"__computed"):yN(e,n,t)}function YN(e){return!(qC.isFunctionDeclaration(e)||function(e){switch(e.kind){case 256:case 257:return 1;case 259:return 1!==XC(e);case 258:return qC.hasSyntacticModifier(e,2048);default:return}}(e)||qC.isEnumDeclaration(e)||qC.isVariableStatement(e)&&!(3&qC.getCombinedNodeFlags(e))&&e.declarationList.declarations.some((function(e){return!e.initializer})))}function QN(e,n){for(var t,r=0,a=[n];a.length&&r<100;){if(r++,n=a.shift(),qC.isExportsIdentifier(n)||qC.isModuleExportsAccessExpression(n))return!0;qC.isIdentifier(n)&&(t=ZN(e,n.escapedText))&&t.valueDeclaration&&qC.isVariableDeclaration(t.valueDeclaration)&&t.valueDeclaration.initializer&&(t=t.valueDeclaration.initializer,a.push(t),qC.isAssignmentExpression(t,!0))&&(a.push(t.left),a.push(t.right))}return!1}function ZN(e,n){var t=e.locals&&e.locals.get(n);return t?t.exportSymbol||t:qC.isSourceFile(e)&&e.jsGlobalAugmentations&&e.jsGlobalAugmentations.has(n)?e.jsGlobalAugmentations.get(n):e.symbol&&e.symbol.exports&&e.symbol.exports.get(n)}function $N(){}function ek(){this.flags=0}function nk(e){return e.id||(e.id=Un,Un++),e.id}function tk(e){return e.id||(e.id=Bn,Bn++),e.id}function rk(e,n){return e=wn.getModuleInstanceState(e),1===e||n&&2===e}function ak(e){return 254!==e.kind&&167!==e.kind||!!e.body}function ik(e){switch(e.parent.kind){case 268:case 273:return wn.isIdentifier(e);default:return wn.isDeclarationName(e)}}function ok(e){switch(e){case 0:return"yieldType";case 1:return"returnType";case 2:return"nextType"}}function sk(e){return!!(1&e.flags)}function ck(e){return!!(2&e.flags)}function lk(e,n,t,r){return void 0===e||void 0===n||(n=n(e))===e?e:void 0!==n?(e=Jn.isArray(n)?(r||fk)(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 u=0;u<a;u++){var d=e[u+r],p=void 0!==d?n(d):void 0;if((void 0!==i||void 0===p||p!==d)&&(void 0===i&&(i=e.slice(0,u),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 dk(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 pk(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=function(e,n){for(var t,r=0;r<e.length;r++){var a=e[r],i=function(e,n){return e.dotDotDotToken?e:Jn.isBindingPattern(e.name)?function(e,n){var t=n.factory;return n.addInitializationStatement(t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(e.name,void 0,e.type,e.initializer?t.createConditionalExpression(t.createStrictEquality(t.getGeneratedNameForNode(e),t.createVoidZero()),void 0,e.initializer,void 0,t.getGeneratedNameForNode(e)):t.getGeneratedNameForNode(e))]))),t.updateParameterDeclaration(e,e.decorators,e.modifiers,e.dotDotDotToken,t.getGeneratedNameForNode(e),e.questionToken,e.type,void 0)}(e,n):e.initializer?function(e,n,t,r){var a=r.factory;return r.addInitializationStatement(a.createIfStatement(a.createTypeCheck(a.cloneNode(n),"undefined"),Jn.setEmitFlags(Jn.setTextRange(a.createBlock([a.createExpressionStatement(Jn.setEmitFlags(Jn.setTextRange(a.createAssignment(Jn.setEmitFlags(a.cloneNode(n),48),Jn.setEmitFlags(t,1584|Jn.getEmitFlags(t))),e),1536))]),e),1953))),a.updateParameterDeclaration(e,e.decorators,e.modifiers,e.dotDotDotToken,e.name,e.questionToken,e.type,void 0)}(e,e.name,e.initializer,n):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 mk(e,n,t,r){void 0===r&&(r=lk),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 _k(e,n,t){return t.startBlockScope(),e=lk(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 fk(e){return Jn.Debug.assert(e.length<=1,"Too many nodes written to output."),Jn.singleOrUndefined(e)}function gk(e){return"string"==typeof e||null===e}function yk(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)&&(void 0===e.sourceRoot||null===e.sourceRoot||"string"==typeof e.sourceRoot)&&(void 0===e.sourcesContent||null===e.sourcesContent||qn.isArray(e.sourcesContent)&&qn.every(e.sourcesContent,gk))&&(void 0===e.names||null===e.names||qn.isArray(e.names)&&qn.every(e.names,qn.isString))}function hk(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 u(!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 d();if(i<0)return m("Invalid generatedCharacter found");if(!f()){if(n=!0,o+=g(),_())return d();if(o<0)return m("Invalid sourceIndex found");if(f())return m("Unsupported Format: No entries after sourceIndex");if(s+=g(),_())return d();if(s<0)return m("Invalid sourceLine found");if(f())return m("Unsupported Format: No entries after sourceLine");if(c+=g(),_())return d();if(c<0)return m("Invalid sourceCharacter found");if(!f()){if(p=!0,l+=g(),_())return d();if(l<0)return m("Invalid nameIndex found");if(!f())return m("Unsupported Error Format: Entries after nameIndex")}}return{value:u(n,p),done:t}}r++}return d()}};function u(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 d(){return{value:void 0,done:t=!0}}function p(e){void 0===n&&(n=e)}function m(e){return p(e),d()}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 vk(e){return void 0!==e.sourceIndex&&void 0!==e.sourceLine&&void 0!==e.sourceCharacter}function bk(e){return void 0!==e.sourceIndex&&void 0!==e.sourcePosition}function Ek(e,n){return e.generatedPosition===n.generatedPosition&&e.sourceIndex===n.sourceIndex&&e.sourcePosition===n.sourcePosition}function Tk(e,n){return qn.Debug.assert(e.sourceIndex===n.sourceIndex),qn.compareValues(e.sourcePosition,n.sourcePosition)}function Sk(e,n){return qn.compareValues(e.generatedPosition,n.generatedPosition)}function xk(e){return e.sourcePosition}function Lk(e){return e.generatedPosition}function Dk(e){return(e=Qn.getOriginalNode(e))?Qn.getNodeId(e):0}function Ak(e){return void 0!==e.propertyName&&"default"===e.propertyName.escapedText}function Ck(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++)Ak(a[r])&&t++;return 0<t&&t!==n.elements.length||!!(n.elements.length-t)&&Qn.isDefaultImport(e)}function Ik(e){return!Ck(e)&&(Qn.isDefaultImport(e)||!!e.importClause&&Qn.isNamedImports(e.importClause.namedBindings)&&!!(e=e.importClause.namedBindings)&&!!Qn.isNamedImports(e)&&Qn.some(e.elements,Ak))}function Nk(e,n,t){var r=e[n];r?r.push(t):e[n]=r=[t]}function kk(e){return Qn.isStringLiteralLike(e)||8===e.kind||Qn.isKeyword(e.kind)||Qn.isIdentifier(e)}function Rk(e){return n=e,Qn.isPropertyDeclaration(n)&&Qn.hasStaticModifier(n)||Qn.isClassStaticBlockDeclaration(e);var n}function Ok(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(Ok(a[r],t))return 1}function Pk(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),Pk)}function wk(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=Fk(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=Fk(e,t,!0,r))):t=a:t=t||e.context.factory.createVoidZero()),Zn.isObjectBindingOrAssignmentPattern(i)){var o,s,c=e,l=n,u=i,d=t,p=r,m=Zn.getElementsOfBindingOrAssignmentPattern(u),_=m.length;1!==_&&(l=!Zn.isDeclarationBindingElement(l)||0!==_,d=Fk(c,d,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),d,p,u),o=void 0),y=c.context.getEmitHelperFactory().createRestHelper(d,m,s,u),wk(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),d,p,u),o=void 0),y=function(e,n,t){var r;return Zn.isComputedPropertyName(t)?(r=Fk(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,d,g),Zn.isComputedPropertyName(g)&&(s=Zn.append(s,y.argumentExpression)),wk(c,h,y,h)):o=Zn.append(o,Zn.visitNode(h,c.visitor)))}o&&c.emitBindingOrAssignment(c.createObjectBindingOrAssignmentPattern(o),d,p,u)}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=Fk(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=Fk(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&&!Mk(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),wk(E,N,I,N)):(I=E.context.factory.createElementAccessExpression(x,A),wk(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];N=O[1];wk(E,N,P,N)}}else e.emitBindingOrAssignment(i,t,r,n)}function Mk(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),Mk):Zn.isIdentifier(t))}function Fk(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 Gk(e){return e}function Bk(e){return e.templateFlags?$n.factory.createVoidZero():$n.factory.createStringLiteral(e.text)}function Uk(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 Vk(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 jk(e,n){return{kind:e,expression:n}}function Kk(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=function(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 Hk(e,n){return n=n.text.substring(e.pos,e.end),bt.stringContains(n,"@internal")}function Wk(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&&Hk(bt.last(t),n)):(r=a&&bt.getLeadingCommentRangesOfNode(a,n),!!bt.forEach(r,(function(e){return Hk(e,n)})))}function zk(e){function n(){return bt.Debug.fail("Diagnostic emitted without context")}var t,r,a,i,o,s,c,l,u,d,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),d.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,d=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=u=r,a=void 0,o=!1,i=new bt.Map,_=n,v=h=!1,k(r,d),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,d),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),d.forEach(S),L;f=!0,u=t=c,_=n,o=y=g=v=h=!1,a=void 0,i=new bt.Map,r=void 0,d=k(u,new bt.Map),p=R(u,new bt.Map);var T,S=[],L=bt.getDirectoryPath(bt.normalizeSlashes(bt.getOutputPathsFor(c,E,!0).declarationFilePath));L=w(S,L);bt.isSourceFileJS(u)?(T=b.createNodeArray(N(c)),d.forEach(L),m=bt.filter(T,bt.isAnyImportSyntax)):(C=bt.visitNodes(c.statements,q),T=bt.setTextRange(b.createNodeArray(z(C)),c.statements),d.forEach(L),m=bt.filter(T,bt.isAnyImportSyntax),bt.isExternalModule(c)&&(!y||h&&!v)&&(T=bt.setTextRange(b.createNodeArray($u($u([],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,u,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(Jk(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 function(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),function(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 d=bt.visitEachChild(n,J,e);return y(b.updateExpressionWithTypeArguments(d,d.expression,d.typeArguments));case 176:return K(n.typeName,t),d=bt.visitEachChild(n,J,e),y(b.updateTypeReferenceNode(d,d.typeName,d.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):(d=ne(n,S.getAllAccessorDeclarations(n)),y(b.updateGetAccessorDeclaration(n,void 0,ee(n),n.name,U(n,bt.hasEffectiveModifier(n,8)),M(n,d),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===(d=n).parent.kind&&bt.hasEffectiveModifier(d.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(u,n.pos).line===bt.getLineAndCharacterOfPosition(u,n.end).line&&bt.setEmitFlags(n,1),y(bt.visitEachChild(n,J,e))}}function y(e){var u,d;return e&&i&&bt.hasDynamicName(n)&&(u=n,o||(d=_,_=bt.createGetSymbolAccessibilityDiagnosticForNodeName(u)),c=u.name,bt.Debug.assert(S.isLateBound(bt.getParseTreeNode(u))),K(u.name.expression,t),o||(_=d),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(function(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),u=_,d=(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),_=u,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];e=e[1];return b.createExportSpecifier(n,e)}))))):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($u($u([],x,!0),[bt.createEmptyExports(b)],!1)):bt.visitNodes(x,X)),k=b.updateModuleBlock(L,x),f=d,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=d,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(function(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&&(_=u),259===e.kind&&(f=d),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&&Wk(e,u)}function $(e){return bt.isExportAssignment(e)||bt.isExportDeclaration(e)}function ee(e){var n=bt.getEffectiveModifierFlags(e),t=function(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),Jk(e,n,t)}(e);return n===t?e.modifiers:b.createModifiersFromModifierFlags(t)}function ne(e,n){var t=qk(e);return t||e===n.firstAccessor||(t=qk(n.firstAccessor),_=bt.createGetSymbolAccessibilityDiagnosticForNode(n.firstAccessor)),!t&&n.secondAccessor&&e!==n.secondAccessor&&(t=qk(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 Jk(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 qk(e){if(e)return 170===e.kind?e.type:0<e.parameters.length?e.parameters[0].type:void 0}function Xk(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 Yk(e){return Xk(e,Tt.chainBundle)}function Qk(e){return Xk(e,(function(e,n){return n}))}function Zk(e,n){return n}function $k(e,n,t){t(e,n)}function eR(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),u=n(rR(s,e,r),s)))return u}else{if(!a)for(var c=0,l=t;c<l.length;c++){var u,d=l[c];if(u=n(rR(d,e,r),d))return u}if(i&&(s=nR(o),s))return n({buildInfoPath:s},void 0)}}function nR(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 tR(e,n){var t=St.outFile(e),r=e.emitDeclarationOnly?void 0:t,a=r&&aR(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:nR(e)}}function rR(e,n,t){var r,a,i,o=n.getCompilerOptions();return 301===e.kind?tR(o,t):(i=St.getOwnEmitOutputFilePath(e.fileName,n,iR(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:aR(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 aR(e,n){return n.sourceMap&&!n.inlineSourceMap?e+".map":void 0}function iR(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 oR(e,n,t,r,a){return r?St.resolvePath(r,St.getRelativePathFromDirectory(a?a():mR(n,t),e,t)):e}function sR(e,n,t,r){return St.Debug.assert(!St.fileExtensionIs(e,".d.ts")&&!St.fileExtensionIs(e,".json")),St.changeExtension(oR(e,n,t,n.options.declarationDir||n.options.outDir,r),".d.ts")}function cR(e,n,t,r){var a;if(!n.options.emitDeclarationOnly)return a=St.fileExtensionIs(e,".json"),r=St.changeExtension(oR(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 lR(){var e;return{addOutput:function(n){n&&(e=e||[]).push(n)},getOutputs:function(){return e||St.emptyArray}}}function uR(e,n){e=tR(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 dR(e,n,t,r,a){var i;St.fileExtensionIs(n,".d.ts")||(r(i=cR(n,e,t,a)),St.fileExtensionIs(n,".json"))||(i&&e.options.sourceMap&&r(i+".map"),St.getEmitDeclarations(e.options)&&(r(i=sR(n,e,t,a)),e.options.declarationMap)&&r(i+".map"))}function pR(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 mR(e,n){var t=e.options,r=e.fileNames;return pR(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 _R(e,n,t,r,a,i,o){var s,c,l=r.scriptTransformers,u=r.declarationTransformers,d=n.getCompilerOptions(),p=d.sourceMap||d.inlineSourceMap||St.getAreDeclarationMapsEnabled(d)?[]:void 0,m=d.listEmittedFiles?[]:void 0,_=St.createDiagnosticCollection(),f=St.getNewLineCharacter(d,(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(),eR(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&&void 0!==St.tracing&&St.tracing.push("emit","emitJsFileOrBundle",{jsFilePath:f}),function(t,r,i,o){t&&!a&&r&&(r&&n.isEmitBlocked(r)||d.noEmit?h=!0:(t=St.transformNodes(e,n,St.factory,d,[t],l,!1),o=yR({removeComments:d.removeComments,newLine:d.newLine,noEmitHelpers:d.noEmitHelpers,module:d.module,target:d.target,sourceMap:d.sourceMap,inlineSourceMap:d.inlineSourceMap,inlineSources:d.inlineSources,extendedDiagnostics:d.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,d),t.dispose(),s&&(s.js=o.bundleFileInfo)))}(i,f,g,T),null!==St.tracing&&void 0!==St.tracing&&St.tracing.pop(),null!==St.tracing&&void 0!==St.tracing&&St.tracing.push("emit","emitDeclarationFileOrBundle",{declarationFilePath:y}),function(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(d)?[St.factory.createBundle(p,St.isSourceFile(t)?void 0:t.prepends)]:p,p=(a&&!St.getEmitDeclarations(d)&&p.forEach(v),St.transformNodes(e,n,St.factory,d,t,u,!1));if(St.length(p.diagnostics))for(var m=0,f=p.diagnostics;m<f.length;m++){var g=f[m];_.add(g)}t=yR({removeComments:d.removeComments,newLine:d.newLine,noEmitHelpers:!0,module:d.module,target:d.target,sourceMap:d.sourceMap,inlineSourceMap:d.inlineSourceMap,extendedDiagnostics:d.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)||!!d.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&&d.declarationMap,sourceRoot:d.sourceRoot,mapRoot:d.mapRoot,extendedDiagnostics:d.extendedDiagnostics}),o&&300===p.transformed[0].kind&&(l=p.transformed[0],c=l.exportedModulesFromDeclarationEmit)),p.dispose(),s&&(s.dts=t.bundleFileInfo)}else(a||d.emitDeclarationOnly)&&(h=!0)}(i,y,E,T),null!==St.tracing&&void 0!==St.tracing&&St.tracing.pop(),null!==St.tracing&&void 0!==St.tracing&&St.tracing.push("emit","emitBuildInfo",{buildInfoPath:r}),function(e,r){var a,i;!r||t||h||(a=n.getProgramBuildInfo(),n.isEmitBlocked(r)?h=!0:(i=St.version,St.writeFile(n,_,r,fR({bundle:e,program:a,version:i}),!1)))}(s,r),null!==St.tracing&&void 0!==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,u=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)),function(e){return e=St.normalizeSlashes(e.sourceRoot||""),e&&St.ensureTrailingDirectorySeparator(e)}(i),function(e,t,r){return e.sourceRoot?n.getCommonSourceDirectory():e.mapRoot?(e=St.normalizeSlashes(e.mapRoot),r&&(e=St.getDirectoryPath(St.getSourceFilePathInNewDir(r.fileName,n,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=function(e,t,r,a,i){return 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,u))):g.writeLine(),St.writeFile(n,_,e,g.getText(),!!d.emitBOM,u),g.clear()}}function fR(e){return JSON.stringify(e)}function gR(e){return JSON.parse(e)}function yR(e,n){void 0===e&&(e={});var t,r,a,i,o,s,c,l,u,d,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){d.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 function(e){return function(e,n){var t=d;ge(n,void 0),_e(4,e,void 0),ye(),d=t}(e,pe()),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:de,writeBundle:ue,bundleFileInfo:F};function ne(e){return ue(e,pe(),void 0),me()}function te(e){return de(e,pe(),void 0),me()}function re(e,n,t,r){var a=d;ge(r,void 0),_e(e,n,t),ye(),d=a}function ae(e,n,t,r){var a=d;ge(r,void 0),t&&fe(t),An(void 0,n,e),ye(),d=a}function ie(){return d.getTextPosWithWriteLine?d.getTextPosWithWriteLine():d.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(d.getTextPos()),U=ie(),V="internal",e}function ce(e){e&&(le(d.getTextPos()),U=ie(),V=e)}function le(e){return U<e&&(oe(U,e,V),1)}function ue(n,t,r){m=!1;var a=d;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 u=0,p=n.prepends;u<p.length;u++){var _,f=p[u],g=(Un(),d.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:d.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(d.getTextPos())&&((r=function(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=function(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 u=l[c];u.scoped||s||r.get(u.name)||(r.set(u.name,!0),(t=t||[]).push(u.name))}}return t}}(n))&&(F.sources||(F.sources={}),F.sources.helpers=t),ye(),d=a}function de(e,n,t){m=!0;var r=d;ge(n,t),mn(e),pn(e),_e(0,e,e),ye(),d=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=!(d=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,u,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,le,ue,de,pe;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((z=n).symbol?kn:M)(ot(z,!1),z.symbol);case 159:var me=(z=n).left;return(79===me.kind?Ee:ve)(me),Rn("."),ve(z.right);case 160:return me=n,Rn("["),Ee(me.expression,Z.parenthesizeExpressionOfComputedPropertyName),Rn("]");case 161:var _e=n;return ve(_e.name),_e.constraint&&(Gn(),Pn("extends"),Gn(),ve(_e.constraint)),void(_e.default&&(Gn(),wn("="),Gn(),ve(_e.default)));case 162:return _e=n,En(_e,_e.decorators),fn(_e,_e.modifiers),ve(_e.dotDotDotToken),_n(_e.name,Mn),ve(_e.questionToken),(_e.parent&&312===_e.parent.kind&&!_e.name?ve:gn)(_e.type),void yn(_e.initializer,_e.type?_e.type.end:_e.questionToken?_e.questionToken.end:_e.name?_e.name.end:_e.modifiers?_e.modifiers.end:_e.decorators?_e.decorators.end:_e.pos,_e,Z.parenthesizeExpressionForDisallowedComma);case 163:return W=n,Rn("@"),Ee(W.expression,Z.parenthesizeLeftSideOfAccess);case 164:return En(W=n,W.decorators),fn(W,W.modifiers),_n(W.name,Bn),ve(W.questionToken),gn(W.type),On();case 165:return En(H=n,H.decorators),fn(H,H.modifiers),ve(H.name),ve(H.questionToken),ve(H.exclamationToken),gn(H.type),yn(H.initializer,(H.type||H.questionToken||H.name).end,H),On();case 166:return ct(H=n),En(H,H.decorators),fn(H,H.modifiers),ve(H.name),ve(H.questionToken),Sn(H,H.typeParameters),xn(H,H.parameters),gn(H.type),On(),lt(H);case 167:return En(K=n,K.decorators),fn(K,K.modifiers),ve(K.asteriskToken),ve(K.name),ve(K.questionToken),ze(K,Je);case 168:return En(K=n,K.decorators),fn(K,K.modifiers),Pn("static"),qe(K.body);case 169:return fn(j=n,j.modifiers),Pn("constructor"),ze(j,Je);case 170:case 171:return En(j=n,j.decorators),fn(j,j.modifiers),Pn(170===j.kind?"get":"set"),Gn(),ve(j.name),ze(j,Je);case 172:return ct(V=n),En(V,V.decorators),fn(V,V.modifiers),Sn(V,V.typeParameters),xn(V,V.parameters),gn(V.type),On(),lt(V);case 173:return ct(V=n),En(V,V.decorators),fn(V,V.modifiers),Pn("new"),Gn(),Sn(V,V.typeParameters),xn(V,V.parameters),gn(V.type),On(),lt(V);case 174:En(U=n,U.decorators),fn(U,U.modifiers);var fe=U,ge=U.parameters;return An(fe,ge,8848),gn(U.type),On();case 175:return fe=n,fe.assertsModifier&&(ve(fe.assertsModifier),Gn()),ve(fe.parameterName),void(fe.type&&(Gn(),Pn("is"),Gn(),ve(fe.type)));case 176:return ve((ge=n).typeName),Tn(ge,ge.typeArguments);case 177:return ct(U=n),Sn(U,U.typeParameters),Ln(U,U.parameters),Gn(),Rn("=>"),Gn(),ve(U.type),lt(U);case 178:return ct(B=n),fn(B,B.modifiers),Pn("new"),Gn(),Sn(B,B.typeParameters),xn(B,B.parameters),Gn(),Rn("=>"),Gn(),ve(B.type),lt(B);case 179:return B=n,Pn("typeof"),Gn(),ve(B.exprName);case 180:return P=n,Rn("{"),G=1&St.getEmitFlags(P)?768:32897,An(P,P.members,524288|G),Rn("}");case 181:return ve(n.elementType,Z.parenthesizeElementTypeOfArrayType),Rn("["),Rn("]");case 182:return He(22,(P=n).pos,Rn,P),G=1&St.getEmitFlags(P)?528:657,An(P,P.elements,524288|G),He(23,P.elements.end,Rn,P);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((O=n).checkType,Z.parenthesizeMemberOfConditionalType),Gn(),Pn("extends"),Gn(),ve(O.extendsType,Z.parenthesizeMemberOfConditionalType),Gn(),Rn("?"),Gn(),ve(O.trueType),Gn(),Rn(":"),Gn(),ve(O.falseType);case 188:return O=n,Pn("infer"),Gn(),ve(O.typeParameter);case 189:return R=n,Rn("("),ve(R.type),Rn(")");case 226:return Ee((R=n).expression,Z.parenthesizeLeftSideOfAccess),Tn(R,R.typeArguments);case 190:return Pn("this");case 191:return Wn((k=n).operator,Pn),Gn(),ve(k.type,Z.parenthesizeMemberOfElementType);case 192:return ve((k=n).objectType,Z.parenthesizeMemberOfElementType),Rn("["),ve(k.indexType),Rn("]");case 193:var ye=n,he=St.getEmitFlags(ye);return Rn("{"),(1&he?Gn:(Un(),Vn))(),ye.readonlyToken&&(ve(ye.readonlyToken),143!==ye.readonlyToken.kind&&Pn("readonly"),Gn()),Rn("["),Le(3,ye.typeParameter),ye.nameType&&(Gn(),Pn("as"),Gn(),ve(ye.nameType)),Rn("]"),ye.questionToken&&(ve(ye.questionToken),57!==ye.questionToken.kind)&&Rn("?"),Rn(":"),Gn(),ve(ye.type),On(),(1&he?Gn:(Un(),jn))(),void Rn("}");case 194:return Ee(n.literal);case 195:return ve((ye=n).dotDotDotToken),ve(ye.name),ve(ye.questionToken),He(58,ye.name.end,Rn,ye),Gn(),ve(ye.type);case 196:return ve((he=n).head),An(he,he.templateSpans,262144);case 197:return ve((be=n).type),ve(be.literal);case 198:var be=n;return be.isTypeOf&&(Pn("typeof"),Gn()),Pn("import"),Rn("("),ve(be.argument),Rn(")"),be.qualifier&&(Rn("."),ve(be.qualifier)),void Tn(be,be.typeArguments);case 199:return N=n,Rn("{"),An(N,N.elements,525136),Rn("}");case 200:return N=n,Rn("["),An(N,N.elements,524880),Rn("]");case 201:var Se=n;return ve(Se.dotDotDotToken),Se.propertyName&&(ve(Se.propertyName),Rn(":"),Gn()),ve(Se.name),void yn(Se.initializer,Se.name.end,Se,Z.parenthesizeExpressionForDisallowedComma);case 231:return Ee((Se=n).expression),ve(Se.literal);case 232:return On();case 233:return Ue(I=n,!I.multiLine&&at(I));case 235:return fn(I=n,I.modifiers),ve(I.declarationList),On();case 234:return Ve(!1);case 236:return Ee((C=n).expression,Z.parenthesizeExpressionOfExpressionStatement),St.isJsonSourceFile(t)&&!St.nodeIsSynthesized(C.expression)||On();case 237:return xe=He(99,(C=n).pos,Pn,C),Gn(),He(20,xe,Rn,C),Ee(C.expression),He(21,C.expression.end,Rn,C),bn(C,C.thenStatement),C.elseStatement&&(zn(C,C.thenStatement,C.elseStatement),He(91,C.thenStatement.end,Pn,C),237===C.elseStatement.kind?(Gn(),ve(C.elseStatement)):bn(C,C.elseStatement));case 238:var xe=n;return He(90,xe.pos,Pn,xe),bn(xe,xe.statement),St.isBlock(xe.statement)&&!w?Gn():zn(xe,xe.statement,xe.expression),je(xe,xe.statement.end),void On();case 239:return je(A=n,A.pos),bn(A,A.statement);case 240:return D=He(97,(A=n).pos,Pn,A),Gn(),D=He(20,D,Rn,A),Ke(A.initializer),D=He(26,A.initializer?A.initializer.end:D,Rn,A),vn(A.condition),D=He(26,A.condition?A.condition.end:D,Rn,A),vn(A.incrementor),He(21,A.incrementor?A.incrementor.end:D,Rn,A),bn(A,A.statement);case 241:return x=He(97,(D=n).pos,Pn,D),Gn(),He(20,x,Rn,D),Ke(D.initializer),Gn(),He(101,D.initializer.end,Pn,D),Gn(),Ee(D.expression),He(21,D.expression.end,Rn,D),bn(D,D.statement);case 242:S=He(97,(x=n).pos,Pn,x),Gn();var De=x.awaitModifier;return De&&(ve(De),Gn()),He(20,S,Rn,x),Ke(x.initializer),Gn(),He(158,x.initializer.end,Pn,x),Gn(),Ee(x.expression),He(21,x.expression.end,Rn,x),bn(x,x.statement);case 243:return He(86,(De=n).pos,Pn,De),hn(De.label),On();case 244:return He(81,(S=n).pos,Pn,S),hn(S.label),On();case 245:return He(105,(T=n).pos,Pn,T),vn(T.expression),On();case 246:return E=He(116,(T=n).pos,Pn,T),Gn(),He(20,E,Rn,T),Ee(T.expression),He(21,T.expression.end,Rn,T),bn(T,T.statement);case 247:return v=He(107,(E=n).pos,Pn,E),Gn(),He(20,v,Rn,E),Ee(E.expression),He(21,E.expression.end,Rn,E),Gn(),ve(E.caseBlock);case 248:return ve((v=n).label),He(58,v.label.end,Rn,v),Gn(),ve(v.statement);case 249:return He(109,(Ae=n).pos,Pn,Ae),vn(Ae.expression),On();case 250:var Ae=n;return He(111,Ae.pos,Pn,Ae),Gn(),ve(Ae.tryBlock),Ae.catchClause&&(zn(Ae,Ae.tryBlock,Ae.catchClause),ve(Ae.catchClause)),void(Ae.finallyBlock&&(zn(Ae,Ae.catchClause||Ae.tryBlock,Ae.finallyBlock),He(96,(Ae.catchClause||Ae.tryBlock).end,Pn,Ae),Gn(),ve(Ae.finallyBlock)));case 251:return Kn(87,n.pos,Pn),On();case 252:return ve((h=n).name),ve(h.exclamationToken),gn(h.type),yn(h.initializer,(h.type||h.name).end,h,Z.parenthesizeExpressionForDisallowedComma);case 253:return h=n,Pn(St.isLet(h)?"let":St.isVarConst(h)?"const":"var"),Gn(),An(h,h.declarations,528);case 254:return We(n);case 255:return Qe(n);case 256:return En(y=n,y.decorators),fn(y,y.modifiers),Pn("interface"),Gn(),ve(y.name),Sn(y,y.typeParameters),An(y,y.heritageClauses,512),Gn(),Rn("{"),An(y,y.members,129),Rn("}");case 257:return En(y=n,y.decorators),fn(y,y.modifiers),Pn("type"),Gn(),ve(y.name),Sn(y,y.typeParameters),Gn(),Rn("="),Gn(),ve(y.type),On();case 258:return fn(Ce=n,Ce.modifiers),Pn("enum"),Gn(),ve(Ce.name),Gn(),Rn("{"),An(Ce,Ce.members,145),Rn("}");case 259:var Ce=n,Ie=(fn(Ce,Ce.modifiers),1024&~Ce.flags&&(Pn(16&Ce.flags?"namespace":"module"),Gn()),ve(Ce.name),Ce.body);if(!Ie)return On();for(;Ie&&St.isModuleDeclaration(Ie);)Rn("."),ve(Ie.name),Ie=Ie.body;return Gn(),void ve(Ie);case 260:return ct(g=n),St.forEach(g.statements,dt),Ue(g,at(g)),lt(g);case 261:return He(18,(g=n).pos,Rn,g),An(g,g.clauses,129),He(19,g.clauses.end,Rn,g,!0);case 262:return Ne=He(93,(ke=n).pos,Pn,ke),Gn(),Ne=He(127,Ne,Pn,ke),Gn(),Ne=He(141,Ne,Pn,ke),Gn(),ve(ke.name),On();case 263:var Ne=n,ke=(fn(Ne,Ne.modifiers),He(100,Ne.modifiers?Ne.modifiers.end:Ne.pos,Pn,Ne),Gn(),Ne.isTypeOnly&&(He(150,Ne.pos,Pn,Ne),Gn()),ve(Ne.name),Gn(),He(63,Ne.name.end,Rn,Ne),Gn(),Ne.moduleReference);return(79===ke.kind?Ee:ve)(ke),void On();case 264:var Re=n;return fn(Re,Re.modifiers),He(100,Re.modifiers?Re.modifiers.end:Re.pos,Pn,Re),Gn(),Re.importClause&&(ve(Re.importClause),Gn(),He(154,Re.importClause.end,Pn,Re),Gn()),Ee(Re.moduleSpecifier),void On();case 265:return Re=n,Re.isTypeOnly&&(He(150,Re.pos,Pn,Re),Gn()),ve(Re.name),Re.name&&Re.namedBindings&&(He(27,Re.name.end,Rn,Re),Gn()),void ve(Re.namedBindings);case 266:return f=He(41,(_=n).pos,Rn,_),Gn(),He(127,f,Pn,_),Gn(),ve(_.name);case 272:return _=He(41,(f=n).pos,Rn,f),Gn(),He(127,_,Pn,f),Gn(),ve(f.name);case 267:return Ze(n);case 268:return $e(n);case 269:var Oe=n,Pe=He(93,Oe.pos,Pn,Oe);return Gn(),Oe.isExportEquals?He(63,Pe,wn,Oe):He(88,Pe,Pn,Oe),Gn(),Ee(Oe.expression,Oe.isExportEquals?Z.getParenthesizeRightSideOfBinaryForOperator(63):Z.parenthesizeExpressionOfExportDefault),void On();case 270:return Pe=n,Oe=He(93,Pe.pos,Pn,Pe),Gn(),Pe.isTypeOnly&&(Oe=He(150,Oe,Pn,Pe),Gn()),Pe.exportClause?ve(Pe.exportClause):Oe=He(41,Oe,Rn,Pe),Pe.moduleSpecifier&&(Gn(),He(154,Pe.exportClause?Pe.exportClause.end:Oe,Pn,Pe),Gn(),Ee(Pe.moduleSpecifier)),void On();case 271:return Ze(n);case 273:return $e(n);case 274:return;case 275:return m=n,Pn("require"),Rn("("),Ee(m.expression),Rn(")");case 11:return m=n,d.writeLiteral(m.text);case 278:case 281:var we,Xe=n;return Rn("<"),St.isJsxOpeningElement(Xe)&&(we=et(Xe.tagName,Xe),en(Xe.tagName),Tn(Xe,Xe.typeArguments),Xe.attributes.properties&&0<Xe.attributes.properties.length&&Gn(),ve(Xe.attributes),nt(Xe.attributes,Xe),Xn(we)),void Rn(">");case 279:case 282:return Xe=n,Rn("</"),St.isJsxClosingElement(Xe)&&en(Xe.tagName),void Rn(">");case 283:ve((we=n).name);var Ye="=",ln=Rn,un=we.initializer,dn=Te;return void(un&&(ln(Ye),dn(un)));case 284:return An(n,n.properties,262656);case 285:return ln=n,Rn("{..."),Ee(ln.expression),Rn("}");case 286:var pn;Ye=n;return void((Ye.expression||!X&&!St.nodeIsSynthesized(Ye)&&function(e){return function(e){var n=!1;return St.forEachTrailingCommentRange((null==t?void 0:t.text)||"",e+1,(function(){return n=!0})),n}(e)||function(e){var n=!1;return St.forEachLeadingCommentRange((null==t?void 0:t.text)||"",e+1,(function(){return n=!0})),n}(e)}(Ye.pos))&&((dn=t&&!St.nodeIsSynthesized(Ye)&&St.getLineAndCharacterOfPosition(t,Ye.pos).line!==St.getLineAndCharacterOfPosition(t,Ye.end).line)&&d.increaseIndent(),un=He(18,Ye.pos,Rn,Ye),ve(Ye.dotDotDotToken),Ee(Ye.expression),He(19,(null==(pn=Ye.expression)?void 0:pn.end)||un,Rn,Ye),dn)&&d.decreaseIndent());case 287:return He(82,(pn=n).pos,Pn,pn),Gn(),Ee(pn.expression,Z.parenthesizeExpressionForDisallowedComma),nn(pn,pn.statements,pn.expression.end);case 288:return mn=He(88,(p=n).pos,Pn,p),nn(p,p.statements,mn);case 289:return p=n,Gn(),Wn(p.token,Pn),Gn(),An(p,p.types,528);case 290:var mn=n,Dn=He(83,mn.pos,Pn,mn);return Gn(),mn.variableDeclaration&&(He(20,Dn,Rn,mn),ve(mn.variableDeclaration),He(21,mn.variableDeclaration.end,Rn,mn),Gn()),void ve(mn.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((u=n).name),u.objectAssignmentInitializer&&(Gn(),Rn("="),Gn(),Ee(u.objectAssignmentInitializer,Z.parenthesizeExpressionForDisallowedComma));case 293:return(u=n).expression&&(He(25,u.pos,Rn,u),Ee(u.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 In=0,Fn=n.texts;In<Fn.length;In++){var Jn=Fn[In];Un(),ve(Jn)}return;case 297:case 298:return l=n,c=ie(),Fe(l),F&&oe(c,d.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=d.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 Yn=n;if(M("/**"),Yn.comment){var Qn=St.getTextOfJSDocComment(Yn.comment);if(Qn){Qn=Qn.split(/\r\n?|\n/g);for(var Zn=0,$n=Qn;Zn<$n.length;Zn++){var tt=$n[Zn];Un(),Gn(),Rn("*"),Gn(),M(tt)}}}return Yn.tags&&(1!==Yn.tags.length||338!==Yn.tags[0].kind||Yn.comment?An(Yn,Yn.tags,33):(Gn(),ve(Yn.tags[0]))),Gn(),void M("*/");case 317:return tn(n);case 318:return rn(n);case 322:case 327:return an((Qn=n).tagName),on(Qn.comment);case 323:case 324:return an((Yn=n).tagName),Gn(),Rn("{"),ve(Yn.class),Rn("}"),on(Yn.comment);case 325:case 326:return;case 328:case 329:case 330:case 331:case 332:return;case 333:var it=n;return an(it.tagName),it.name&&(Gn(),ve(it.name)),on(it.comment),void rn(it.typeExpression);case 335:case 342:return it=n,an(it.tagName),sn(it.typeExpression),Gn(),it.isBracketed&&Rn("["),ve(it.name),it.isBracketed&&Rn("]"),void on(it.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 ut=n;return an(ut.tagName),ut.typeExpression&&(304===ut.typeExpression.kind?sn(ut.typeExpression):(Gn(),Rn("{"),M("Object"),ut.typeExpression.isArrayType&&(Rn("["),Rn("]")),Rn("}"))),ut.fullName&&(Gn(),ve(ut.fullName)),on(ut.comment),void(ut.typeExpression&&317===ut.typeExpression.kind&&tn(ut.typeExpression));case 341:return an((ut=n).tagName),ve(ut.name),on(ut.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 de=(ue=n).elements,pe=ue.multiLine?65536:0,Cn(ue,de,8914|pe,Z.parenthesizeExpressionForDisallowedComma);case 203:return ue=n,St.forEach(ue.properties,pt),(de=65536&St.getEmitFlags(ue))&&Vn(),pe=ue.multiLine?65536:0,_t=1<=t.languageVersion&&!St.isJsonSourceFile(t)?64:0,An(ue,ue.properties,526226|_t|pe),de&&jn();case 204:var _t=n,ft=(Ee(_t.expression,Z.parenthesizeLeftSideOfAccess),_t.questionDotToken||St.setTextRangePosEnd(St.factory.createToken(24),_t.expression.end,_t.name.pos)),gt=rt(_t,_t.expression,ft),yt=rt(_t,ft,_t.name);return qn(gt,!1),28===ft.kind||!function(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}(_t.expression)||d.hasTrailingComment()||d.hasTrailingWhitespace()||Rn("."),_t.questionDotToken?ve(ft):He(ft.kind,_t.expression.end,Rn,_t),qn(yt,!1),ve(_t.name),void Xn(gt,yt);case 205:return Ee((ft=n).expression,Z.parenthesizeLeftSideOfAccess),ve(ft.questionDotToken),He(22,ft.expression.end,Rn,ft),Ee(ft.argumentExpression),He(23,ft.argumentExpression.end,Rn,ft);case 206:return gt=n,yt=536870912&St.getEmitFlags(gt),yt&&(Rn("("),Nn("0"),Rn(","),Gn()),Ee(gt.expression,Z.parenthesizeLeftSideOfAccess),yt&&Rn(")"),ve(gt.questionDotToken),Tn(gt,gt.typeArguments),void Cn(gt,gt.arguments,2576,Z.parenthesizeExpressionForDisallowedComma);case 207:return He(103,(ht=n).pos,Pn,ht),Gn(),Ee(ht.expression,Z.parenthesizeExpressionOfNew),Tn(ht,ht.typeArguments),Cn(ht,ht.arguments,18960,Z.parenthesizeExpressionForDisallowedComma);case 208:var ht=n,vt=536870912&St.getEmitFlags(ht);return vt&&(Rn("("),Nn("0"),Rn(","),Gn()),Ee(ht.tag,Z.parenthesizeLeftSideOfAccess),vt&&Rn(")"),Tn(ht,ht.typeArguments),Gn(),void Ee(ht.template);case 209:return vt=n,Rn("<"),ve(vt.type),Rn(">"),Ee(vt.expression,Z.parenthesizeOperandOfPrefixUnary);case 210:return ce=He(20,(se=n).pos,Rn,se),le=et(se.expression,se),Ee(se.expression,void 0),nt(se.expression,se),Xn(le),He(21,se.expression?se.expression.end:ce,Rn,se);case 211:return mt((le=n).name),We(le);case 212:return En(ce=n,ce.decorators),fn(ce,ce.modifiers),ze(ce,Be);case 213:return He(89,(se=n).pos,Pn,se),Gn(),Ee(se.expression,Z.parenthesizeOperandOfPrefixUnary);case 214:return He(112,(ae=n).pos,Pn,ae),Gn(),Ee(ae.expression,Z.parenthesizeOperandOfPrefixUnary);case 215:return He(114,(ae=n).pos,Pn,ae),Gn(),Ee(ae.expression,Z.parenthesizeOperandOfPrefixUnary);case 216:return He(131,(bt=n).pos,Pn,bt),Gn(),Ee(bt.expression,Z.parenthesizeOperandOfPrefixUnary);case 217:var bt=n;return Wn(bt.operator,wn),function(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))}(bt)&&Gn(),void Ee(bt.operand,Z.parenthesizeOperandOfPrefixUnary);case 218:return Ee((re=n).operand,Z.parenthesizeOperandOfPostfixUnary),Wn(re.operator,wn);case 219:return $(n);case 220:return Q=rt(re=n,re.condition,re.questionToken),ee=rt(re,re.questionToken,re.whenTrue),ne=rt(re,re.whenTrue,re.colonToken),te=rt(re,re.colonToken,re.whenFalse),Ee(re.condition,Z.parenthesizeConditionOfConditionalExpression),qn(Q,!0),ve(re.questionToken),qn(ee,!0),Ee(re.whenTrue,Z.parenthesizeBranchOfConditionalExpression),Xn(Q,ee),qn(ne,!0),ve(re.colonToken),qn(te,!0),Ee(re.whenFalse,Z.parenthesizeBranchOfConditionalExpression),Xn(ne,te);case 221:return ve((Q=n).head),An(Q,Q.templateSpans,262144);case 222:return He(125,(ee=n).pos,Pn,ee),ve(ee.asteriskToken),vn(ee.expression,Z.parenthesizeExpressionForDisallowedComma);case 223:return He(25,(ne=n).pos,Rn,ne),Ee(ne.expression,Z.parenthesizeExpressionForDisallowedComma);case 224:return mt((te=n).name),Qe(te);case 225:return;case 227:return Ee((Y=n).expression,void 0),Y.type&&(Gn(),Pn("as"),Gn(),ve(Y.type));case 228:return Ee(n.expression,Z.parenthesizeLeftSideOfAccess),wn("!");case 229:return Kn((Y=n).keywordToken,Y.pos,Rn),Rn("."),ve(Y.name);case 230:return St.Debug.fail("SyntheticExpression should never be printed.");case 276:return ve((q=n).openingElement),An(q,q.children,262144),ve(q.closingElement);case 277:return q=n,Rn("<"),en(q.tagName),Tn(q,q.typeArguments),Gn(),ve(q.attributes),Rn("/>");case 280:return ve((J=n).openingFragment),An(J,J.children,262144),ve(J.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),u=(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(u){if(P.get(f.name))continue;P.set(f.name,!0)}}var g=ie();"string"==typeof f.text?Jn(f.text):Jn(f.text(bt)),F&&F.sections.push({pos:g,end:d.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)?d.writeStringLiteral(t):Nn(t)}function Fe(e){d.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,dt),dt(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=function(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=dn(e.statements),r=d.getTextPos();Pe(e),0===t&&r===d.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,un):un(e)}function ln(e,n,r,a){if(e&&(p=d.getTextPos(),Fn('/// <reference no-default-lib="true"/>'),F&&F.sections.push({pos:p,end:d.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 u=l[c],p=d.getTextPos();Fn('/// <reference path="'+u.fileName+'" />'),F&&F.sections.push({pos:p,end:d.getTextPos(),kind:"reference",data:u.fileName}),Un()}for(var m=0,_=r;m<_.length;m++)u=_[m],p=d.getTextPos(),Fn('/// <reference types="'+u.fileName+'" />'),F&&F.sections.push({pos:p,end:d.getTextPos(),kind:"type",data:u.fileName}),Un();for(var f=0,g=a;f<g.length;f++)u=g[f],p=d.getTextPos(),Fn('/// <reference lib="'+u.fileName+'" />'),F&&F.sections.push({pos:p,end:d.getTextPos(),kind:"lib",data:u.fileName}),Un()}function un(e){var n,t=e.statements,r=(ct(e),St.forEach(e.statements,dt),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 dn(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=d.getTextPos(),ve(s),r&&F&&F.sections.push({pos:o,end:d.getTextPos(),kind:"prologue",data:s.expression.text}),!t)||t.add(s.expression.text)}return e.length}function pn(e){if(St.isSourceFile(e))dn(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=u=c=s=o=i=void 0,a.prologues),o=n,s=0,c=i;s<c.length;s++){var l,u=c[s];o.has(u.data)||(Un(),l=d.getTextPos(),ve(u),F&&F.sections.push({pos:l,end:d.getTextPos(),kind:"prologue",data:u.data}),o&&o.add(u.data))}for(var p=0,m=e.sourceFiles;p<m.length;p++){var _=m[p];dn(_.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),d=l,p=Yn(n,r,a),m=(p?(Un(p),d=!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),d=!1):m&&512&a&&Gn()),_=se(h),d?Ft(St.getCommentRange(h).pos):d=l,u=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){d.writeLiteral(e)}function kn(e,n){d.writeSymbol(e,n)}function Rn(e){d.writePunctuation(e)}function On(){d.writeTrailingSemicolon(";")}function Pn(e){d.writeKeyword(e)}function wn(e){d.writeOperator(e)}function Mn(e){d.writeParameter(e)}function Fn(e){d.writeComment(e)}function Gn(){d.writeSpace(" ")}function Bn(e){d.writeProperty(e)}function Un(e){void 0===e&&(e=1);for(var n=0;n<e;n++)d.writeLine(0<n)}function Vn(){d.increaseIndent()}function jn(){d.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===u)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&&function(e,n){if(!(n.pos<e.end)){e=St.getOriginalNode(e),n=St.getOriginalNode(n);var t=e.parent;return t&&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 ut(e){(l=l&&l!==St.lastOrUndefined(c)?l:new St.Set).add(e)}function dt(e){if(e)switch(e.kind){case 233:St.forEach(e.statements,dt);break;case 248:case 246:case 238:case 239:dt(e.statement);break;case 237:dt(e.thenStatement),dt(e.elseStatement);break;case 240:case 242:case 241:dt(e.initializer),dt(e.statement);break;case 247:dt(e.caseBlock);break;case 261:St.forEach(e.clauses,dt);break;case 287:case 288:St.forEach(e.statements,dt);break;case 250:dt(e.tryBlock),dt(e.catchClause),dt(e.finallyBlock);break;case 290:dt(e.variableDeclaration),dt(e.block);break;case 235:dt(e.declarationList);break;case 253:St.forEach(e.declarations,dt);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,dt),dt(e.body));break;case 199:case 200:St.forEach(e.elements,dt);break;case 264:dt(e.importClause);break;case 265:mt(e.name),dt(e.namedBindings);break;case 266:case 272:mt(e.name);break;case 267:St.forEach(e.elements,dt);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)&&dt(e))}function _t(e){var n;return 4==(7&e.autoGenerateFlags)?ft(function(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]=function(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]=function(e,n){switch(e.kind){case 79:return vt(ot(e),gt,!!(16&n),!!(8&n));case 259:case 258:return function(e){var n=ot(e.name);return function(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 function(e){return 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 function(e){return 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&&ut(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&&ut(t),t}}function vt(e,n,t,r){if(void 0===n&&(n=gt),t&&n(e))return r?ut(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?ut(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||d.writeLine(),Ct(e),e.hasTrailingNewLine||2===e.kind?d.writeLine():d.writeSpace(" ")}function At(e){d.isAtStartOfLine()||d.writeSpace(" "),Ct(e),e.hasTrailingNewLine&&d.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,d,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(),d,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&&!d.isAtStartOfLine()&&d.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(),d,i,e),q=!0),qt(e),St.writeCommentRange(t.text,he(),d,e,n,R),qt(n),a?d.writeLine():3===r&&d.writeSpace(" "))}function wt(e){X||-1===e||Nt(e,!0)}function Mt(e,n,r,a){Ot(t.text,e)&&(d.isAtStartOfLine()||d.writeSpace(" "),qt(e),St.writeCommentRange(t.text,he(),d,e,n,R),qt(n),a)&&d.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(),d,e,n,R),qt(n),2===r&&d.writeLine()}function Bt(e,n,r,a){qt(e),St.writeCommentRange(t.text,he(),d,e,n,R),qt(n),a?d.writeLine():d.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(d.getLine(),d.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(d.getLine(),d.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 hR(e){e.watcher.close()}function vR(e,n){return n=At.getDirectoryPath(n),n=At.isRootedDiskPath(e)?e:At.combinePaths(n,e),At.normalizePath(n)}function bR(e,n){return ER(e,n)}function ER(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)},u={getSourceFile:function(e,t,r){var a;try{At.performance.mark("beforeIORead"),a=u.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(u.createDirectory||t.createDirectory)(e)}),(function(e){return e=e,!!a.has(e)||!!(u.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 u}function TR(e,n){var t,r,a=At.diagnosticCategoryName(e)+" TS"+e.code+": "+AR(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 SR(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 xR(e,n){return n+e+kt}function LR(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),u=o.character,d=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+xR(At.padLeft(Rt,m),It)+Nt+i.getNewLine(),f=l-1);var g=At.getPositionOfLineAndCharacter(e,f,0),y=f<d?At.getPositionOfLineAndCharacter(e,f+1,0):e.text.length;g=e.text.slice(g,y);g=(g=At.trimStringEnd(g)).replace(/\t/g," "),_=(_=(_+=r+xR(At.padLeft(f+1+"",m),It)+Nt)+(g+i.getNewLine()))+(r+xR(At.padLeft("",m),It)+Nt)+a,f===s?(y=f===l?u:void 0,_=(_+=g.slice(0,c).replace(/\S/g," "))+g.slice(c,y).replace(/./g,"~")):_+=(f===l?g.slice(0,u):g).replace(/./g,"~"),_+=kt}return _}function DR(e,n,t,r){void 0===r&&(r=xR);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 AR(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+=AR(o[i],n,t);return r}function CR(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 IR(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 NR(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 kR(e){return void 0!==e.pos}function RR(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=UR(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 OR(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=$u($u($u($u([],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=$u($u([],o,!0),n.diagnostics,!0)),i=n.emittedFiles),{diagnostics:o,sourceMaps:void 0,emittedFiles:i,emitSkipped:!0}}}function PR(e,n){return At.filter(e,(function(e){return!e.skippedOn||!n[e.skippedOn]}))}function wR(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 MR(e,n,t){if(!e)return At.emptyArray;for(var r,a=0;a<e.length;a++){var i,o,s,c=e[a],l=n(c,a);c.prepend&&l&&l.options&&At.outFile(l.options)&&(l=(c=At.getOutputPathsForBundle(l.options,!0)).jsFilePath,i=c.sourceMapFilePath,o=c.declarationFilePath,s=c.declarationMapPath,c=c.buildInfoPath,l=At.createInputFiles(t,l,i,o,s,c),(r=r||[]).push(l))}return r||At.emptyArray}function FR(e,n){return At.resolveConfigFileProjectName((n||e).path)}function GR(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 BR(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 UR(e,n){var t=e.imports;e=e.moduleAugmentations;if(n<t.length)return t[n];for(var r=t.length,a=0,i=e;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 VR(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,r=e.diagnostics,t=e.exportedModulesFromDeclarationEmit;return{outputFiles:o,emitSkipped:n,diagnostics:r,exportedModulesFromDeclarationEmit:t}}function jR(){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 KR(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,KR(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 KR(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 HR(e){return Ot.mapDefined(e.declarations,(function(e){return null==(e=Ot.getSourceFileOfNode(e))?void 0:e.resolvedPath}))}function WR(e,n,t,r){return Ot.toPath(e.getProjectReferenceRedirect(n)||n,t,r)}function zR(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))&&HR(a);null!=c&&c.forEach(b)}var l=Ot.getDirectoryPath(n.resolvedPath);if(n.referencedFiles&&0<n.referencedFiles.length)for(var u=0,d=n.referencedFiles;u<d.length;u++){var p=d[u];b(WR(e,p.fileName,l,t))}if(n.resolvedTypeReferenceDirectiveNames&&n.resolvedTypeReferenceDirectiveNames.forEach((function(n){n&&(n=n.resolvedFileName,b(WR(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 JR(e,n){return n&&!n.referencedMap==!e}function qR(e,n){n.forEach((function(n,t){return XR(e,n,t)}))}function XR(e,n,t){e.fileInfos.get(t).signature=n,e.hasCalledUpdateShapeSignature.add(t)}function YR(e,n,t,r,a,i,o,s){var c,l,u,d,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=VR(n,t,!0,a,void 0,!0),(u=Ot.firstOrUndefined(l.outputFiles))&&(Ot.Debug.assert(Ot.fileExtensionIs(u.name,".d.ts"),"File extension for signature expected to be dts",(function(){return"Found: "+Ot.getAnyExtensionFromPath(u.name)+" for "+u.name+":: All output files: "+JSON.stringify(l.outputFiles.map((function(e){return e.name})))})),p=(i||Ot.generateDjb2Hash)(u.text),o)&&p!==c&&(s=t,n=l.exportedModulesFromDeclarationEmit,a=o,n&&(n.forEach((function(e){null!=(e=HR(e))&&e.length&&(d=d||new Ot.Set,e.forEach((function(e){return d.add(e)})))})),d)?a.set(s.resolvedPath,d):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 QR(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 ZR(e,n){return e=e.referencedMap.getKeys(n),e?Ot.arrayFrom(e.keys()):[]}function $R(e){return Ot.some(e.moduleAugmentations,(function(e){return Ot.isGlobalScopeAugmentation(e.parent)}))||!Ot.isExternalOrCommonJsModule(e)&&!Ot.isJsonSourceFile(e)&&!function(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 eO(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 nO(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),u=o?t.referencedMap:void 0,d=c&&!r.skipLibCheck==!s.skipLibCheck,p=d&&!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=u&&u.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&&!d||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=tO(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 tO(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 _O(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 tO(e,n,t){var r=e.file;return ed(ed({},e),{file:r?n.getSourceFileByPath(t(r)):void 0})}function rO(e,n){wt.Debug.assert(!n||!e.affectedFiles||e.affectedFiles[e.affectedFilesIndex-1]!==n||!e.semanticDiagnosticsPerFile.has(n.resolvedPath))}function aO(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,u=o,d=n,p=t;if(iO(l,u.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)&&iO(l,e.resolvedPath)}))),wt.BuilderState.updateShapeSignature(l,wt.Debug.checkDefined(l.program),u,wt.Debug.checkDefined(l.currentAffectedFilesSignatures),d,p,l.currentAffectedFilesExportedModulesMap);else if(wt.Debug.assert(l.hasCalledUpdateShapeSignature.has(u.resolvedPath)||(null==(_=l.currentAffectedFilesSignatures)?void 0:_.has(u.resolvedPath)),"Signature not updated for affected file: "+u.fileName),!l.compilerOptions.assumeChangesOnlyAffectDirectDependencies){var m=l,_=u,f=function(e,n){var t,r,a=d,i=p;iO(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))&&_O(e,n,0))};if(m.exportedModulesMap&&m.changedFilesSet.has(_.resolvedPath)&&oO(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),oO(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!=(u=m.currentAffectedFilesExportedModulesMap.getKeys(_.resolvedPath))&&u.forEach((function(e){return sO(m,e,v,f)})),null!=(u=m.exportedModulesMap.getKeys(_.resolvedPath))&&u.forEach((function(e){var n;return!m.currentAffectedFilesExportedModulesMap.hasKey(e)&&!(null!=(n=m.currentAffectedFilesExportedModulesMap.deletedKeys())&&n.has(e))&&sO(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 iO(e,n){return!e.semanticDiagnosticsFromOldState||(e.semanticDiagnosticsFromOldState.delete(n),e.semanticDiagnosticsPerFile.delete(n),!e.semanticDiagnosticsFromOldState.size)}function oO(e,n){return wt.Debug.checkDefined(e.currentAffectedFilesSignatures).get(n)!==wt.Debug.checkDefined(e.fileInfos.get(n)).signature}function sO(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 cO(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 lO(e,n,t){return cO(e,t),{result:n,affected:t}}function uO(e,n,t,r,a,i){return cO(e,t,r,a,i),{result:n,affected:t}}function dO(e,n,t){return wt.concatenate(function(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 pO(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)),u=[],d=new wt.Map,p=wt.arrayFrom(e.fileInfos.entries(),(function(n){var t=n[0],r=(n=n[1],T(t));wt.Debug.assert(u[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:function(e,n){return wt.Debug.assert(!!e.length),e.map((function(e){var t=mO(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 mO(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:u,fileInfos:p,options:function(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]=function(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=d.get(e);return void 0===n&&(u.push(E(e)),d.set(e,n=u.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 mO(e,n){var t=e.file;return ed(ed({},e),{file:t?n(t.resolvedPath):void 0})}function _O(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 fO(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 gO(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 yO(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 hO(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 vO(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:function(){switch(a){case"minimal":return 0;case"index":return 1;case"js":return 2;default:return function(e){return 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 bO(e,n,t,r,a,i){var o=SO(n,r);n=IO(n,t,r,i);return Bt.firstDefined(n,(function(n){return RO(n,o,r,e)}))||xO(t,o,e,r,a)}function EO(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 TO(e,n,t,r,a,i){var o,s;n=function(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.name.text:(t=Bt.mapDefined(e.declarations,(function(e){var t,r;return Bt.isModuleDeclaration(e)&&null!=(r=null==(t=function(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?t.name.text:void 0)}(e,n);return n?{moduleSpecifiers:[n],computedWithoutCache:!1}:(e=(n=EO(e,r,a,i))[0],o=n[1],s=n[2],n=n[3],e?{moduleSpecifiers:e,computedWithoutCache:!1}:o?(e=function(e,n,t,r,a){var i=SO(t.path,r),o=vO(a,n,t);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}))}));if(a)return[a];for(var s,c,l,u=Bt.some(e,(function(e){return e.isInNodeModules})),d=0,p=e;d<p.length;d++){var m=p[d],_=RO(m,i,r,n);if(s=Bt.append(s,_),_&&m.isRedirect)return s;_||m.isRedirect||(_=xO(m.path,i,n,r,o),Bt.pathIsBareSpecifier(_)?c=Bt.append(c,_):u&&!m.isInNodeModules||(l=Bt.append(l,_)))}return null!=c&&c.length?c:null!=s&&s.length?s:Bt.Debug.checkDefined(l)}(s=s||NO(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 SO(e,n){return{getCanonicalFileName:Bt.createGetCanonicalFileName(!n.useCaseSensitiveFileNames||n.useCaseSensitiveFileNames()),importingSourceFileName:e,sourceDirectory:Bt.getDirectoryPath(e)}}function xO(e,n,t,r,a){var i,o=a.ending,s=(a=a.relativePreference,t.baseUrl),c=t.paths,l=t.rootDirs,u=n.sourceDirectory,d=n.getCanonicalFileName;l=l&&function(e,n,t,r,a,i){if(n=OO(n,e,r),void 0!==n)return t=OO(t,e,r),e=void 0!==t?Bt.ensurePathIsNonModuleName(Bt.getRelativePathFromDirectory(t,n,r)):n,Bt.getEmitModuleResolutionKind(i)===Bt.ModuleResolutionKind.NodeJs?PO(e,a,i):Bt.removeFileExtension(e)}(l,e,u,d,o,t)||PO(Bt.ensurePathIsNonModuleName(Bt.getRelativePathFromDirectory(u,e,d)),o,t);return(s||c)&&0!==a&&(i=MO(e,Bt.getNormalizedAbsolutePath(Bt.getPathsBasePath(t,r)||s,r.getCurrentDirectory()),d))&&(o=PO(i,o,t),c=void 0===(i=c&&kO(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,d),i=Bt.startsWith(u,s),t=Bt.startsWith(o,s),i&&!t||!i&&t||(n=AO(r,Bt.getDirectoryPath(o)),AO(r,u)!==n)?c:l):(2!==a&&Bt.Debug.assertNever(a),FO(c)||LO(l)<LO(c)?l:c):l}function LO(e){for(var n=0,t=Bt.startsWith(e,"./")?2:0;t<e.length;t++)47===e.charCodeAt(t)&&n++;return n}function DO(e,n){return Bt.compareBooleans(n.isRedirect,e.isRedirect)||Bt.compareNumberOfDirectorySeparators(e.path,n.path)}function AO(e,n){return e.getNearestAncestorDirectoryWithPackageJson?e.getNearestAncestorDirectoryWithPackageJson(n):!!Bt.forEachAncestorDirectory(n,(function(n){return!!e.fileExists(Bt.combinePaths(n,"package.json"))||void 0}))}function CO(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,$u($u($u([],s?[s]:Bt.emptyArray,!0),[n],!1),c,!0).map((function(e){return Bt.getNormalizedAbsolutePath(e,o)}))),u=!Bt.every(l,Bt.containsIgnoredPath);if(!r&&(c=Bt.forEach(l,(function(e){return!(u&&Bt.containsIgnoredPath(e))&&a(e,s===e)})),c))return c;var d=null==(c=t.getSymlinkCache)?void 0:c.call(t).getSymlinkedDirectoriesByRealpath();c=Bt.getNormalizedAbsolutePath(n,o);return d&&Bt.forEachAncestorDirectory(Bt.getDirectoryPath(c),(function(n){var t=d.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(u=!0,l)return l}}))}))||(r?Bt.forEach(l,(function(e){return u&&Bt.containsIgnoredPath(e)?void 0:a(e,e===s)})):void 0)}function IO(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=NO(e,n,t),i&&i.setModulePaths(e,a,r,o),o}function NO(e,n,t){for(var r,a=Bt.hostGetCanonicalFileName(t),i=new Bt.Map,o=(CO(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=function(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(DO),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(DO),o.push.apply(o,n)),o}function kO(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 RO(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=function(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 u=s.packageRootIndex,d=void 0;;){var p=function(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=kO(Bt.removeFileExtension(c),PO(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}}(u),m=p.moduleFileToTry;p=p.packageRootPath;if(p){c=p,l=!0;break}if(d=d||m,-1===(u=i.indexOf(Bt.directorySeparator,u+1))){c=function(e){return e=Bt.removeFileExtension(e),"/index"!==o(e.substring(s.fileNameIndex))||function(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)}(d);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 OO(e,n,t){return Bt.firstDefined(n,(function(n){return n=MO(e,n,t),FO(n)?void 0:n}))}function PO(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=wO(r=e,a=t))?a:Bt.Debug.fail("Extension "+Bt.extensionFromPath(r)+" is unsupported:: FileName:: "+r));default:return Bt.Debug.assertNever(n)}}function wO(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 MO(e,n,t){return e=Bt.getRelativePathToDirectoryOrUrl(n,e,n,t,!1),Bt.isRootedDiskPath(e)?void 0:e}function FO(e){return Bt.startsWith(e,"..")}function GO(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 BO(e,n,t){return e.clearScreen&&!t.preserveWatchOutput&&!t.extendedDiagnostics&&!t.diagnostics&&Ut.contains(Ut.screenStartingMessageCodes,n.code)&&(e.clearScreen(),1)}function UO(e){return e.now?e.now().toLocaleTimeString("en-US",{timeZone:"UTC"}):(new Date).toLocaleTimeString()}function VO(e,n){return n?function(n,t,r){BO(e,n,r),r="["+Ut.formatColorAndReset(UO(e),Ut.ForegroundColorEscapeSequences.Grey)+"] ",r+=""+Ut.flattenDiagnosticMessageText(n.messageText,e.newLine)+(t+t),e.write(r)}:function(n,t,r){var a="";BO(e,n,r)||(a+=t),a=(a+=UO(e)+" - ")+Ut.flattenDiagnosticMessageText(n.messageText,e.newLine)+(r=t,Ut.contains(Ut.screenStartingMessageCodes,n.code)?r+r:r),e.write(a)}}function jO(e){return Ut.countWhere(e,(function(e){return e.category===Ut.DiagnosticCategory.Error}))}function KO(e){return 1===e?Ut.Diagnostics.Found_1_error_Watching_for_file_changes:Ut.Diagnostics.Found_0_errors_Watching_for_file_changes}function HO(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 WO(e){return!!e.getState}function zO(e,n){var t=e.getCompilerOptions();t.explainFiles?JO(WO(e)?e.getProgram():e,n):(t.listFiles||t.listFilesOnly)&&Ut.forEach(e.getSourceFiles(),(function(e){n(e.fileName)}))}function JO(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(""+ZO(c,i)),null!=(t=r.get(c.path))&&t.forEach((function(t){return n(" "+QO(e,t,i).messageText)})),null!=(t=qO(c,i))&&t.forEach((function(e){return n(" "+e.messageText)}))}}function qO(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,ZO(e.originalFileName,n))),e.redirectInfo&&(t=t||[]).push(Ut.chainDiagnosticMessages(void 0,Ut.Diagnostics.File_redirects_to_file_0,ZO(e.redirectInfo.redirectTarget,n))),t}function XO(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 YO(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 QO(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,ZO(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()),XO(e,s)?Ut.chainDiagnosticMessages(void 0,Ut.Diagnostics.Part_of_files_list_in_tsconfig_json):(s=YO(e,s))?Ut.chainDiagnosticMessages(void 0,Ut.Diagnostics.Matched_by_include_pattern_0_in_1,s,ZO(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,ZO(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 ZO(e,n){return e=Ut.isString(e)?e:e.fileName,n?n(e):e}function $O(e,n,t,r,a,i,o,s){var c,l=!!e.getCompilerOptions().listFilesOnly,u=e.getConfigFileParsingDiagnostics().slice(),d=u.length;Ut.addRange(u,e.getSyntacticDiagnostics(void 0,i)),u.length===d&&(Ut.addRange(u,e.getOptionsDiagnostics(i)),l||(Ut.addRange(u,e.getGlobalDiagnostics(i)),u.length===d&&Ut.addRange(u,e.getSemanticDiagnostics(void 0,i)))),d=l?{emitSkipped:!0,diagnostics:Ut.emptyArray}:e.emit(void 0,a,i,o,s),l=d.emittedFiles,a=d.diagnostics,Ut.addRange(u,a),i=Ut.sortAndDeduplicateDiagnostics(u);return i.forEach(n),t&&(c=e.getCurrentDirectory(),Ut.forEach(l,(function(e){e=Ut.getNormalizedAbsolutePath(e,c),t("TSFILE: "+e)})),zO(e,t)),r&&r(jO(i)),{emitResult:d,diagnostics:i}}function eP(e,n,t,r,a,i,o,s){return e=$O(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 nP(e,n){return void 0===e&&(e=Ut.sys),{onWatchStatusChange:n||VO(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 tP(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 rP(e,n,t,r){function a(n){return e.write(n+e.newLine)}void 0===e&&(e=Ut.sys);var i=tP(e,n);return Ut.copyProperties(i,nP(e,r)),i.afterProgramCreate=function(n){var r=n.getCompilerOptions(),o=Ut.getNewLineCharacter(r,(function(){return e.newLine}));$O(n,t,a,(function(e){return i.onWatchStatusChange(Ut.createCompilerDiagnostic(KO(e),e),o,r,e)}))},i}function aP(e,n,t){n(t),e.exit(Ut.ExitStatus.DiagnosticsPresent_OutputsSkipped)}function iP(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 oP(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 sP(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 cP(e,n){return e<n?n:e}function lP(e){return Ht.fileExtensionIs(e,".d.ts")}function uP(e){return!!e&&!!e.buildOrder}function dP(e){return uP(e)?e.buildOrder:e}function pP(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 mP(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||pP(e),n.now=Ht.maybeBind(e,e.now),n}function _P(e,n,t,r,a){var i,o,s,c,l=n,u=l.getCurrentDirectory(),d=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 hP(v,e,gP(v,e))},m.resolveModuleNames=Ht.maybeBind(l,l.resolveModuleNames),m.resolveTypeReferenceDirectives=Ht.maybeBind(l,l.resolveTypeReferenceDirectives),m.resolveModuleNames?void 0:Ht.createModuleResolutionCache(u,d)),f=m.resolveTypeReferenceDirectives?void 0:Ht.createTypeReferenceDirectiveResolutionCache(u,d,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:u,getCanonicalFileName:d,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 fP(e,n){return Ht.toPath(n,e.currentDirectory,e.getCanonicalFileName)}function gP(e,n){var t=e.resolvedConfigFilePaths,r=t.get(n);return void 0!==r||(r=fP(e,n),t.set(n,r)),r}function yP(e){return e.options}function hP(e,n,t){var r,a,i,o,s,c=e.configFileCache,l=c.get(t);return l?yP(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 vP(e,n){return Ht.resolveConfigFileProjectName(Ht.resolvePath(e.currentDirectory,n))}function bP(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=gP(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 u=hP(e,s,l);if(u&&u.projectReferences)for(var d=0,p=u.projectReferences;d<p.length;d++){var m=p[d],_=vP(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 EP(e){return e.buildOrder||function(e){var n=bP(e,e.rootNames.map((function(n){return vP(e,n)}))),t=(e.resolvedConfigFilePaths.clear(),new Ht.Map(dP(n).map((function(n){return[gP(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 TP(e,n,t){n=n&&vP(e,n);var r=EP(e);if(uP(r))return r;if(n){var a=gP(e,n);if(-1===Ht.findIndex(r,(function(n){return gP(e,n)===a})))return}return r=n?bP(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 SP(e){e.cache&&xP(e);var n=e.compilerHost,t=e.host,r=e.readFileWithCache,a=n.getSourceFile,i=(t=Ht.changeCompilerHostLikeToUseCache(t,(function(n){return fP(e,n)}),(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a.call.apply(a,$u([n],e,!1))})),t.originalReadFile),o=t.originalFileExists,s=t.originalDirectoryExists,c=t.originalCreateDirectory,l=t.originalWriteFile,u=t.getSourceFileWithCache;t=t.readFileWithCache;e.readFileWithCache=t,n.getSourceFile=u,e.cache={originalReadFile:i,originalFileExists:o,originalDirectoryExists:s,originalCreateDirectory:c,originalWriteFile:l,originalReadFileWithCache:r,originalGetSourceFile:a}}function xP(e){var n,t,r,a,i,o;e.cache&&(n=e.cache,t=e.host,r=e.compilerHost,a=e.extendedConfigCache,i=e.moduleResolutionCache,o=e.typeReferenceDirectiveResolutionCache,t.readFile=n.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 LP(e,n){e.projectStatus.delete(n),e.diagnostics.delete(n)}function DP(e,n,t){e=e.projectPendingBuild;var r=e.get(n);(void 0===r||r<t)&&e.set(n,t)}function AP(e,n){e.allProjectBuildPending&&(e.allProjectBuildPending=!1,e.options.watch&&ZP(e,Ht.Diagnostics.Starting_compilation_in_watch_mode),SP(e),dP(EP(e)).forEach((function(n){return e.projectPendingBuild.set(gP(e,n),Ht.ConfigFileProgramReloadLevel.None)})),n)&&n.throwIfCancellationRequested()}function CP(e,n){return e.projectPendingBuild.delete(n),e.currentInvalidatedProject=void 0,e.diagnostics.has(n)?Ht.ExitStatus.DiagnosticsPresent_OutputsSkipped:Ht.ExitStatus.Success}function IP(e,n,t,r,a,i,o){var s,c,l,u=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),u===Jt.EmitBuildInfo?y(r,a):u===Jt.Emit?g(r,a,o):void 0)},done:d}:{kind:e,project:t,projectPath:r,buildOrder:o,getCompilerOptions:function(){return i.options},getCurrentDirectory:function(){return n.currentDirectory},emit:function(e,n){return u!==Jt.EmitBundle?l:v(e,n)},done:d};function d(e,t,a){return b(Jt.Done,e,t,a),CP(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,d;Ht.Debug.assert(void 0===s),n.options.dry?(QP(n,Ht.Diagnostics.A_non_dry_build_would_build_project_0,t),c=Wt.Success,u=Jt.QueueReferencingProjects):(n.options.verbose&&QP(n,Ht.Diagnostics.Building_project_0,t),0===i.fileNames.length?(ew(n,r,Ht.getConfigFileParsingDiagnostics(i)),c=Wt.None,u=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,d=n.builderPrograms,e=n.compilerHost,l.force?void 0:d.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?fP(n,n.host.realpath(t)):t,e]}))),n.watch&&n.builderPrograms.set(r,s),u++))}function f(e,t,a){e.length?(e=OP(n,r,s,i,e,t,a),c=e.buildResult,u=e.step):u++}function g(e,a,o){Ht.Debug.assertIsDefined(s),Ht.Debug.assert(u===Jt.Emit),s.backupState();var l,d,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=OP(n,r,s,i,l,Wt.DeclarationEmitErrors,"Declaration file"),c=a.buildResult,u=a.step,{emitSkipped:!0,diagnostics:o.diagnostics}):(d=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&&lP(a)&&(d.fileExists(a)&&n.readFileWithCache(a)===i?r=d.getModifiedTime(a):(m&=~Wt.DeclarationOutputUnchanged,f=!0)),y.set(fP(n,a),a),Ht.writeFile(e?{writeFile:e}:p,g,a,i,t),void 0!==r&&(_=cP(r,_))})),h(g,y,_,f,v.length?v[0].name:Ht.getFirstProjectOutput(i,!d.useCaseSensitiveFileNames()),m),o)}function y(e,t){return Ht.Debug.assertIsDefined(s),Ht.Debug.assert(u===Jt.EmitBuildInfo),e=s.emitBuildInfo(e,t),e.diagnostics.length&&($P(n,e.diagnostics),n.diagnostics.set(r,$u($u([],n.diagnostics.get(r),!0),e.diagnostics,!0)),c=Wt.EmitErrors&c),e.emittedFiles&&n.write&&e.emittedFiles.forEach((function(e){return kP(n,i,e)})),RP(n,s,i),u=Jt.QueueReferencingProjects,e}function h(e,t,a,o,l,d){var p;e=e.getDiagnostics();return e.length?(p=OP(n,r,s,i,e,Wt.EmitErrors,"Emit"),c=p.buildResult,u=p.step):(n.write&&t.forEach((function(e){return kP(n,i,e)})),p=MP(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}),RP(n,s,i),u=Jt.QueueReferencingProjects,c=d),e}function v(s,d){if(Ht.Debug.assert(e===zt.UpdateBundle),!n.options.dry){n.options.verbose&&QP(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=vP(n,e.path),hP(n,e,gP(n,e))}),d||(null==(m=(d=n.host).getCustomTransformers)?void 0:m.call(d,t))));if(Ht.isString(m))return QP(n,Ht.Diagnostics.Cannot_update_output_of_project_0_because_there_was_error_reading_file_1,t,YP(n,m)),u=Jt.BuildInvalidatedProjectOfBundle,l=IP(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(fP(n,t),t),Ht.writeFile(s?{writeFile:s}:p,_,t,r,e)})),{emitSkipped:!1,diagnostics:h(_,f,qt,!1,m[0].name,Wt.DeclarationOutputUnchanged)}}QP(n,Ht.Diagnostics.A_non_dry_build_would_update_output_of_project_0,t),c=Wt.Success,u=Jt.QueueReferencingProjects}function b(e,d,p,m){for(;u<=e&&u<Jt.Done;){var h=u;switch(u){case Jt.CreateProgram:_();break;case Jt.SyntaxDiagnostics:w=d,Ht.Debug.assertIsDefined(s),f($u($u($u($u([],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=d,f(Ht.Debug.checkDefined(s).getSemanticDiagnostics(void 0,w),Wt.TypeErrors,"Semantic");break;case Jt.Emit:g(p,d,m);break;case Jt.EmitBuildInfo:y(p,d);break;case Jt.EmitBundle:v(p,m);break;case Jt.BuildInvalidatedProjectOfBundle:Ht.Debug.checkDefined(l).done(d,p,m),u=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=gP(b,C);if(!b.projectPendingBuild.has(I)&&(C=hP(b,C,I),C&&C.projectReferences))for(var N=0,k=C.projectReferences;N<k.length;N++){var R=k[N],O=vP(b,R.path);if(gP(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:gP(b,vP(b,P.upstreamProjectName))===T&&LP(b,I)}DP(b,I,Ht.ConfigFileProgramReloadLevel.None);break}}}u++;break;default:Jt.Done,Ht.assertType(u)}Ht.Debug.assert(h<u)}var w}}function NP(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],u=gP(e,l),d=e.projectPendingBuild.get(u);if(void 0!==d){t&&(t=!1,rw(e,n));var p=hP(e,l,u);if(p){d===Ht.ConfigFileProgramReloadLevel.Full?(HP(e,l,u,p),WP(e,u,p),zP(e,l,u,p),JP(e,l,u,p),qP(e,l,u,p)):d===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)),JP(e,l,u,p),qP(e,l,u,p));var m,_,f,g;d=wP(e,p,u);if(a=l,i=d,(r=e).options.verbose&&function(e,n,t){if(e.options.force&&(t.type===Ht.UpToDateStatusType.UpToDate||t.type===Ht.UpToDateStatusType.UpToDateWithUpstreamTypes))return QP(e,Ht.Diagnostics.Project_0_is_being_forcibly_rebuilt,YP(e,n));switch(t.type){case Ht.UpToDateStatusType.OutOfDateWithSelf:return QP(e,Ht.Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2,YP(e,n),YP(e,t.outOfDateOutputFileName),YP(e,t.newerInputFileName));case Ht.UpToDateStatusType.OutOfDateWithUpstream:return QP(e,Ht.Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2,YP(e,n),YP(e,t.outOfDateOutputFileName),YP(e,t.newerProjectName));case Ht.UpToDateStatusType.OutputMissing:return QP(e,Ht.Diagnostics.Project_0_is_out_of_date_because_output_file_1_does_not_exist,YP(e,n),YP(e,t.missingOutputFileName));case Ht.UpToDateStatusType.UpToDate:if(void 0!==t.newestInputFileTime)return QP(e,Ht.Diagnostics.Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2,YP(e,n),YP(e,t.newestInputFileName||""),YP(e,t.oldestOutputFileName||""));break;case Ht.UpToDateStatusType.OutOfDateWithPrepend:return QP(e,Ht.Diagnostics.Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed,YP(e,n),YP(e,t.newerProjectName));case Ht.UpToDateStatusType.UpToDateWithUpstreamTypes:return QP(e,Ht.Diagnostics.Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies,YP(e,n));case Ht.UpToDateStatusType.UpstreamOutOfDate:return QP(e,Ht.Diagnostics.Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date,YP(e,n),YP(e,t.upstreamProjectName));case Ht.UpToDateStatusType.UpstreamBlocked:return QP(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,YP(e,n),YP(e,t.upstreamProjectName));case Ht.UpToDateStatusType.Unbuildable:return QP(e,Ht.Diagnostics.Failed_to_parse_file_0_Colon_1,YP(e,n),t.reason);case Ht.UpToDateStatusType.TsVersionOutputOfDate:return QP(e,Ht.Diagnostics.Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2,YP(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(d.type===Ht.UpToDateStatusType.UpToDate){ew(e,u,Ht.getConfigFileParsingDiagnostics(p)),s.delete(u),o.dry&&QP(e,Ht.Diagnostics.Project_0_is_up_to_date,l);continue}if(d.type===Ht.UpToDateStatusType.UpToDateWithUpstreamTypes)return ew(e,u,Ht.getConfigFileParsingDiagnostics(p)),m=e,_=u,f=p,g=!0,{kind:zt.UpdateOutputFileStamps,project:l,projectPath:_,buildOrder:n,getCompilerOptions:function(){return f.options},getCurrentDirectory:function(){return m.currentDirectory},updateOutputFileStatmps:function(){FP(m,f,_),g=!1},done:function(){return g&&FP(m,f,_),CP(m,_)}}}if(d.type===Ht.UpToDateStatusType.UpstreamBlocked)ew(e,u,Ht.getConfigFileParsingDiagnostics(p)),s.delete(u),o.verbose&&QP(e,d.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,d.upstreamProjectName);else{if(d.type!==Ht.UpToDateStatusType.ContainerOnly)return IP((r=p,a=(a=e).options,d.type!==Ht.UpToDateStatusType.OutOfDateWithPrepend||a.force||0===r.fileNames.length||Ht.getConfigFileParsingDiagnostics(r).length||!Ht.isIncrementalCompilation(r.options)?zt.Build:zt.UpdateBundle),e,l,u,c,p,n);ew(e,u,Ht.getConfigFileParsingDiagnostics(p)),s.delete(u)}}else nw(e,u),s.delete(u)}}}}function kP(e,n,t){e=e.write,e&&n.options.listEmittedFiles&&e("TSFILE: "+t)}function RP(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 OP(e,n,t,r,a,i,o){var s=!(i&Wt.SyntaxErrors)&&t&&!Ht.outFile(t.getCompilerOptions());return ew(e,n,a),e.projectStatus.set(n,{type:Ht.UpToDateStatusType.Unbuildable,reason:o+" errors"}),s?{buildResult:i,step:Jt.EmitBuildInfo}:(RP(e,t,r),{buildResult:i,step:Jt.QueueReferencingProjects})}function PP(e,n,t,r){if(t<Ht.getModifiedTime(e.host,n))return{type:Ht.UpToDateStatusType.OutOfDateWithSelf,outOfDateOutputFileName:r,newerInputFileName:n}}function wP(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=function(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,u=c[s];if(!o.fileExists(u))return{type:Ht.UpToDateStatusType.Unbuildable,reason:u+" does not exist"};r||(l=Ht.getModifiedTime(o,u),o.getModifiedTime(u),i<l&&(a=u,i=l))}if(!n.fileNames.length&&!Ht.canJsonReportNoInputFiles(n.raw))return{type:Ht.UpToDateStatusType.ContainerOnly};var d,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)){d=E;break}var T=Ht.getModifiedTime(o,E);if(T<_&&(_=T,m=E),T<i){h=!0;break}g<T&&(g=T,f=E),lP(E)&&(y=cP(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=gP(e,I);I=wP(e,hP(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||d||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!==d?{type:Ht.UpToDateStatusType.OutputMissing,missingOutputFileName:d}:h?{type:Ht.UpToDateStatusType.OutOfDateWithSelf,outOfDateOutputFileName:m,newerInputFileName:a}:(p=PP(e,n.options.configFilePath,_,m))||(p=Ht.forEach(n.options.configFile.extendedSourceFiles||Ht.emptyArray,(function(n){return PP(e,n,_,m)})))||(p=Ht.forEach(e.lastCachedPackageJsonLookups.get(t)||Ht.emptyArray,(function(n){return n=n[0],PP(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 MP(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,u=o;l<u.length;l++){var d=u[l];a&&a.has(fP(e,d))||(s&&(s=!1,QP(e,r,n.options.configFilePath)),lP(d)&&(t=cP(t,Ht.getModifiedTime(i,d))),i.setModifiedTime(d,c))}}return t}function FP(e,n,t){if(e.options.dry)return QP(e,Ht.Diagnostics.A_non_dry_build_would_update_timestamps_for_output_of_project_0,n.options.configFilePath);var r=MP(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 GP(e,n,t,r,a,i){var o=TP(e,n,i);if(!o)return Ht.ExitStatus.InvalidProject_OutputsSkipped;AP(e,t);for(var s=!0,c=0;;){var l=NP(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++}xP(e),tw(e,o);var u=e;n=o;if(u.watchAllProjectsPending){u.watchAllProjectsPending=!1;for(var d=0,p=dP(n);d<p.length;d++){var m=p[d],_=gP(u,m),f=hP(u,m,_);HP(u,m,_,f),WP(u,_,f),f&&(zP(u,m,_,f),JP(u,m,_,f),qP(u,m,_,f))}}return uP(o)?Ht.ExitStatus.ProjectReferenceCycle_OutputsSkipped:o.some((function(n){return e.diagnostics.has(gP(e,n))}))?c?Ht.ExitStatus.DiagnosticsPresent_OutputsGenerated:Ht.ExitStatus.DiagnosticsPresent_OutputsSkipped:Ht.ExitStatus.Success}function BP(e,n,t){if(n=TP(e,n,t),!n)return Ht.ExitStatus.InvalidProject_OutputsSkipped;if(uP(n))return $P(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=gP(e,s);s=hP(e,s,c);if(void 0===s)nw(e,c);else{var l=Ht.getAllProjectOutputs(s,!r.useCaseSensitiveFileNames());if(l.length)for(var u=new Ht.Set(s.fileNames.map((function(n){return fP(e,n)}))),d=0,p=l;d<p.length;d++){var m=p[d];u.has(fP(e,m))||r.fileExists(m)&&(a?a.push(m):(r.deleteFile(m),UP(e,c,Ht.ConfigFileProgramReloadLevel.None)))}}}return a&&QP(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 UP(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,LP(e,n),DP(e,n,t),SP(e)}function VP(e,n,t){e.reportFileChangeDetected=!0,UP(e,n,t),jP(e)}function jP(e){var n=e.hostWithWatch;n.setTimeout&&n.clearTimeout&&(e.timerToBuildInvalidatedProject&&n.clearTimeout(e.timerToBuildInvalidatedProject),e.timerToBuildInvalidatedProject=n.setTimeout(KP,250,e))}function KP(e){e.timerToBuildInvalidatedProject=void 0,e.reportFileChangeDetected&&(e.reportFileChangeDetected=!1,e.projectErrorsReported.clear(),ZP(e,Ht.Diagnostics.File_change_detected_Starting_incremental_compilation));var n=EP(e),t=NP(e,n,!1);t&&(t.done(),e.projectPendingBuild.size)?e.watch&&!e.timerToBuildInvalidatedProject&&jP(e):(xP(e),tw(e,n))}function HP(e,n,t,r){e.watch&&!e.allWatchedConfigFiles.has(t)&&e.allWatchedConfigFiles.set(t,e.watchFile(n,(function(){VP(e,t,Ht.ConfigFileProgramReloadLevel.Full)}),Ht.PollingInterval.High,null==r?void 0:r.watchOptions,Ht.WatchType.ConfigFile,n))}function WP(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 VP(e,n,Ht.ConfigFileProgramReloadLevel.Full)}))}),Ht.PollingInterval.High,null==t?void 0:t.watchOptions,Ht.WatchType.ExtendedConfigFile)}),(function(n){return fP(e,n)}))}function zP(e,n,t,r){e.watch&&Ht.updateWatchingWildcardDirectories(sP(e.allWatchedWildcardDirectories,t),new Ht.Map(Ht.getEntries(r.wildcardDirectories)),(function(a,i){return e.watchDirectory(a,(function(i){Ht.isIgnoredFileFromWildCardWatching({watchedDirPath:fP(e,a),fileOrDirectory:i,fileOrDirectoryPath:fP(e,i),configFileName:n,currentDirectory:e.currentDirectory,options:r.options,program:e.builderPrograms.get(t)||(null===(i=(i=(i=e).configFileCache.get(t))&&yP(i)?i:void 0)||void 0===i?void 0:i.fileNames),useCaseSensitiveFileNames:e.parseConfigFileHost.useCaseSensitiveFileNames,writeLog:function(n){return e.writeLog(n)},toPath:function(n){return fP(e,n)}})||VP(e,t,Ht.ConfigFileProgramReloadLevel.Partial)}),i,null==r?void 0:r.watchOptions,Ht.WatchType.WildcardDirectory,n)}))}function JP(e,n,t,r){e.watch&&Ht.mutateMap(sP(e.allWatchedInputFiles,t),Ht.arrayToMap(r.fileNames,(function(n){return fP(e,n)})),{createNewValue:function(a,i){return e.watchFile(i,(function(){return VP(e,t,Ht.ConfigFileProgramReloadLevel.None)}),Ht.PollingInterval.Low,null==r?void 0:r.watchOptions,Ht.WatchType.SourceFile,n)},onDeleteValue:Ht.closeFileWatcher})}function qP(e,n,t,r){e.watch&&e.lastCachedPackageJsonLookups&&Ht.mutateMap(sP(e.allWatchedPackageJsonFiles,t),new Ht.Map(e.lastCachedPackageJsonLookups.get(t)),{createNewValue:function(a,i){return e.watchFile(a,(function(){return VP(e,t,Ht.ConfigFileProgramReloadLevel.Full)}),Ht.PollingInterval.High,null==r?void 0:r.watchOptions,Ht.WatchType.PackageJson,n)},onDeleteValue:Ht.closeFileWatcher})}function XP(e,n,t,r,a){var i=_P(e,n,t,r,a);return{build:function(e,n,t,r){return GP(i,e,n,t,r)},clean:function(e){return BP(i,e)},buildReferences:function(e,n,t,r){return GP(i,e,n,t,r,!0)},cleanReferences:function(e){return BP(i,e,!0)},getNextInvalidatedProject:function(e){return AP(i,e),NP(i,EP(i),!1)},getBuildOrder:function(){return EP(i)},getUpToDateStatusOfProject:function(e){e=vP(i,e);var n=gP(i,e);return wP(i,hP(i,e,n),n)},invalidateProject:function(e,n){return UP(i,e,n||Ht.ConfigFileProgramReloadLevel.None)},buildNextInvalidatedProject:function(){return KP(i)},getAllParsedConfigs:function(){return Ht.arrayFrom(Ht.mapDefinedIterator(i.configFileCache.values(),(function(e){return yP(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 YP(e,n){return Ht.convertToRelativePath(n,e.currentDirectory,(function(n){return e.getCanonicalFileName(n)}))}function QP(e,n){for(var t=[],r=2;r<arguments.length;r++)t[r-2]=arguments[r];e.host.reportSolutionBuilderStatus(Ht.createCompilerDiagnostic.apply(void 0,$u([n],t,!1)))}function ZP(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,$u([n],a,!1)),e.host.getNewLine(),e.baseCompilerOptions)}function $P(e,n){var t=e.host;n.forEach((function(e){return t.reportDiagnostic(e)}))}function ew(e,n,t){$P(e,t),e.projectErrorsReported.set(n,!0),t.length&&e.diagnostics.set(n,t)}function nw(e,n){ew(e,n,[e.configFileCache.get(n)])}function tw(e,n){var t,r,a;e.needsSummary&&(e.needsSummary=!1,t=e.watch||!!e.host.reportErrorSummary,r=e.diagnostics,a=0,uP(n)?(rw(e,n.buildOrder),$P(e,n.circularDiagnostics),t&&(a+=Ht.getErrorCountForSummary(n.circularDiagnostics))):(n.forEach((function(n){n=gP(e,n),e.projectErrorsReported.has(n)||$P(e,r.get(n)||Ht.emptyArray)})),t&&r.forEach((function(e){return a+=Ht.getErrorCountForSummary(e)}))),e.watch?ZP(e,Ht.getWatchErrorSummaryDiagnosticMessage(a),a):e.host.reportErrorSummary&&e.host.reportErrorSummary(a))}function rw(e,n){e.options.verbose&&QP(e,Ht.Diagnostics.Projects_in_this_build_Colon_0,n.map((function(n){return"\r\n * "+YP(e,n)})).join(""))}function aw(e,n){return new Qt.Version(Qt.getProperty(n,"ts"+Qt.versionMajorMinor)||Qt.getProperty(n,"latest")).compareTo(e.version)<=0}function iw(e){return Zt.nodeCoreModules.has(e)?"node":e}function ow(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 sw(e){this.text=e}function cw(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}}qC.bindSourceFile=function(e,n){null!==qC.tracing&&void 0!==qC.tracing&&qC.tracing.push("bind","bindSourceFile",{path:e.path},!0),qC.performance.mark("beforeBind"),qC.perfLogger.logStartBindFile(""+e.fileName),AI(e,n),qC.perfLogger.logStopBindFile(),qC.performance.mark("afterBind"),qC.performance.measure("Bind","beforeBind","afterBind"),null!==qC.tracing&&void 0!==qC.tracing&&qC.tracing.pop()},qC.isExportsOrModuleExportsOrAlias=QN,(Pn=SY=SY||{}).createGetSymbolWalker=function(e,n,t,r,a,i,o,s,c,l){return function(u){void 0===u&&(u=function(){return!0});var d=[],p=[];return{walkType:function(e){try{return m(e),{visitedTypes:Pn.getOwnValues(d),visitedSymbols:Pn.getOwnValues(p)}}finally{Pn.clear(d),Pn.clear(p)}},walkSymbol:function(e){try{return g(e),{visitedTypes:Pn.getOwnValues(d),visitedSymbols:Pn.getOwnValues(p)}}finally{Pn.clear(d),Pn.clear(p)}}};function m(e){var n,t,a,i;!e||d[e.id]||g((d[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,u=e.properties;l<u.length;l++)g(u[l])}function g(e){if(e){var n=Pn.getSymbolId(e);if(!p[n]){if(p[n]=e,!u(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=SY=SY||{},Fn=/^".+"$/,Gn="(anonymous)",(sm={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",sm[sm.Spread=33]="Spread",sm[sm.Destructuring=65]="Destructuring",sm[sm.ForOf=13]="ForOf",sm[sm.ForAwaitOf=15]="ForAwaitOf",sm[sm.YieldStar=17]="YieldStar",sm[sm.AsyncYieldStar=19]="AsyncYieldStar",sm[sm.GeneratorReturnType=1]="GeneratorReturnType",sm[sm.AsyncGeneratorReturnType=2]="AsyncGeneratorReturnType",(sm={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",sm[sm.NonEmptyStringStrictFacts=7929345]="NonEmptyStringStrictFacts",sm[sm.NonEmptyStringFacts=16776705]="NonEmptyStringFacts",sm[sm.BaseNumberStrictFacts=3734786]="BaseNumberStrictFacts",sm[sm.BaseNumberFacts=12582146]="BaseNumberFacts",sm[sm.NumberStrictFacts=16317698]="NumberStrictFacts",sm[sm.NumberFacts=16776450]="NumberFacts",sm[sm.ZeroNumberStrictFacts=12123394]="ZeroNumberStrictFacts",sm[sm.ZeroNumberFacts=12582146]="ZeroNumberFacts",sm[sm.NonZeroNumberStrictFacts=7929090]="NonZeroNumberStrictFacts",sm[sm.NonZeroNumberFacts=16776450]="NonZeroNumberFacts",sm[sm.BaseBigIntStrictFacts=3734276]="BaseBigIntStrictFacts",sm[sm.BaseBigIntFacts=12581636]="BaseBigIntFacts",sm[sm.BigIntStrictFacts=16317188]="BigIntStrictFacts",sm[sm.BigIntFacts=16775940]="BigIntFacts",sm[sm.ZeroBigIntStrictFacts=12122884]="ZeroBigIntStrictFacts",sm[sm.ZeroBigIntFacts=12581636]="ZeroBigIntFacts",sm[sm.NonZeroBigIntStrictFacts=7928580]="NonZeroBigIntStrictFacts",sm[sm.NonZeroBigIntFacts=16775940]="NonZeroBigIntFacts",sm[sm.BaseBooleanStrictFacts=3733256]="BaseBooleanStrictFacts",sm[sm.BaseBooleanFacts=12580616]="BaseBooleanFacts",sm[sm.BooleanStrictFacts=16316168]="BooleanStrictFacts",sm[sm.BooleanFacts=16774920]="BooleanFacts",sm[sm.FalseStrictFacts=12121864]="FalseStrictFacts",sm[sm.FalseFacts=12580616]="FalseFacts",sm[sm.TrueStrictFacts=7927560]="TrueStrictFacts",sm[sm.TrueFacts=16774920]="TrueFacts",sm[sm.SymbolStrictFacts=7925520]="SymbolStrictFacts",sm[sm.SymbolFacts=16772880]="SymbolFacts",sm[sm.ObjectStrictFacts=7888800]="ObjectStrictFacts",sm[sm.ObjectFacts=16736160]="ObjectFacts",sm[sm.FunctionStrictFacts=7880640]="FunctionStrictFacts",sm[sm.FunctionFacts=16728e3]="FunctionFacts",sm[sm.UndefinedFacts=9830144]="UndefinedFacts",sm[sm.NullFacts=9363232]="NullFacts",sm[sm.EmptyObjectStrictFacts=16318463]="EmptyObjectStrictFacts",sm[sm.AllTypeofNE=556800]="AllTypeofNE",sm[sm.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(ak,(function(e){return!wn.isAccessor(e)})),zn=new wn.Map(wn.getEntries({Uppercase:0,Lowercase:1,Capitalize:2,Uncapitalize:3})),wn.getNodeId=nk,wn.getSymbolId=tk,wn.isInstantiatedModule=rk,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(),u=wn.objectAllocator.getSignatureConstructor(),d=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=function(e){return 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=function(){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:ux,isOptionalUninitializedParameterProperty:dx,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&&!function(e){return 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))&&function(e,n){return e=ka(e),!!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&&function(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=[],u=new wn.Set,d=[],p=r,m=((r=ed(ed({},p),{usedSymbolNames:new wn.Set(p.usedSymbolNames),remappedSymbolNames:new wn.Map,tracker:ed(ed({},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="),n&&1<t.size&&2097152&n.flags&&(t=wn.createSymbolTable()).set("export=",n),y(t),n=l;return n=function(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=function(e){var n=wn.filter(e,(function(e){return wn.isExportDeclaration(e)&&!e.moduleSpecifier&&!!e.exportClause&&wn.isNamedExports(e.exportClause)}));1<wn.length(n)&&(t=wn.filter(e,(function(e){return!wn.isExportDeclaration(e)||!!e.moduleSpecifier||!e.exportClause})),e=$u($u([],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));var t=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++)!function(n){1<n.length&&(e=$u($u([],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=function(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($u($u([],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=$u($u($u([],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=$u($u([],wn.filter(e,(function(e){return e!==s&&e!==i})),!0),l,!0))),e}(n))),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||d.push(new wn.Map),e.forEach((function(e){h(e,!1,!!t)})),n||(d[d.length-1].forEach((function(e){h(e,!0,!!t)})),d.pop())}function h(e,n,t){var a=Ci(e);!u.has(tk(a))&&(u.add(tk(a)),!n||wn.length(e.declarations)&&wn.some(e.declarations,(function(e){return!!wn.findAncestor(e,(function(e){return e===c}))})))&&(r=function(e){return e=ed({},e),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),function(e,n,t){var a=wn.unescapeLeadingUnderscores(e.escapedName),l="default"===e.escapedName;if(!n||131072&r.flags||!wn.isStringANonContextualKeyword(a)||l){var u,d,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&&function(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,u=(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=u}(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),u=G(e,a),16&e.flags||!N(t,e)?(d=2&e.flags?Jg(e)?2:1:void 0,p=!g&&4&e.flags?M(u,e):u,(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=u===_.parent.right.escapedText?void 0:_.parent.right,T(wn.factory.createExportDeclaration(void 0,void 0,!1,wn.factory.createNamedExports([wn.factory.createExportSpecifier(f,u)])),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))],d)),m),p!==u?-2&l:l),p===u||n||(T(wn.factory.createExportDeclaration(void 0,void 0,!1,wn.factory.createNamedExports([wn.factory.createExportSpecifier(p,u)])),0),g=y=!1))):x(t,e,u,l))),384&e.flags&&function(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:function(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)),u=Ps(l),d=(a=a&&wn.getEffectiveImplementsTypeNodes(a),a=a&&function(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(function(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=!(null==(p=d.symbol)||!p.valueDeclaration)&&wn.isClassLike(d.symbol.valueDeclaration),m=p?Rs(d):Xn,_=(a=$u($u([],wn.length(u)?[wn.factory.createHeritageClause(94,wn.map(u,(function(e){var t=m,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),function(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(uc(i[a],e.thisType)),s=0,c=o;s<c.length;s++){var l=c[s],u=r.get(l.escapedName);u&&!i_(u,l)&&r.delete(l.escapedName)}return wn.arrayFrom(r.values())}(l,u,zc(l))),f=wn.filter(_,(function(e){return e=e.valueDeclaration,!(!e||wn.isNamedDeclaration(e)&&wn.isPrivateIdentifier(e.name))})),g=(_=wn.some(_,(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,f=wn.flatMap(f,(function(e){return o(e,!1,u[0])})),wn.flatMap(wn.filter(zc(d),(function(e){return!(4194304&e.flags||"prototype"===e.escapedName||D(e))})),(function(e){return o(e,!0,m)})));p=!p&&e.valueDeclaration&&wn.isInJSFile(e.valueDeclaration)&&!wn.some(hl(d,1))?[wn.factory.createConstructorDeclaration(void 0,wn.factory.createModifiersFromModifierFlags(8),[],void 0)]:R(1,d,m,169),d=O(l,u[0]);r.enclosingDeclaration=s,T(wn.setTextRange(wn.factory.createClassDeclaration(void 0,void 0,n,c,a,$u($u($u($u($u([],d,!0),g,!0),p,!0),f,!0),_,!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||function(e){return wn.every(S(e),(function(e){return!(111551&ri(e).flags)}))}(e))||v)&&function(e,n,t){var a,i,o=S(e),s=(o=wn.arrayToMultiMap(o,(function(n){return n.parent&&n.parent===e?"real":"merged"})),o.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)&&function(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)?Td(o):void 0,l=wn.flatMap(zc(a),(function(e){return s(e,!1,c)})),u=R(0,a,c,172),d=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,$u($u($u($u([],a,!0),d,!0),u,!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(d[d.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)})),d[n?0:d.length-1].set(tk(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,function(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,u;wn.length(e)&&(u=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=ed(ed({},r),{enclosingDeclaration:n}),o=r,r=s,y(wn.createSymbolTable(u),a,!0),r=o,m=i,s=l,l=e,u=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(u,(function(e){return wn.hasSyntacticModifier(e,1)}))?wn.map(u,g):u,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),u=ie(i.parent||i,r);T(wn.factory.createImportEqualsDeclaration(void 0,void 0,!1,l,wn.factory.createExternalModuleReference(wn.factory.createStringLiteral(u))),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):(u=!(512&i.flags||wn.isVariableDeclaration(a)),T(wn.factory.createImportEqualsDeclaration(void 0,void 0,!1,wn.factory.createIdentifier(n),u?ce(i,r,67108863,!1):wn.factory.createExternalModuleReference(wn.factory.createStringLiteral(ie(i,r)))),u?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,u,d,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)}))?(((u=(p=(s=s&&(wn.isExportAssignment(s)||wn.isBinaryExpression(s)?wn.getExportAssignmentExpression(s):wn.getPropertyAssignmentAliasLikeExpression(s)))&&wn.isEntityNameExpression(s)?function(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(u||o),u=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))):(d=M(n,e),T(wn.factory.createImportEqualsDeclaration(void 0,void 0,!1,wn.factory.createIdentifier(d),ce(o,r,67108863,!1)),0),C(n,d)),r.tracker.trackSymbol=u,0):(d=M(n,e),N(p=ef(hs(Ci(e))),e)?x(p,e,d,a?0:1):T(wn.factory.createVariableStatement(void 0,wn.factory.createVariableDeclarationList([wn.factory.createVariableDeclaration(d,void 0,ge(r,p,e,c,E,i))],2)),o&&4&o.flags&&"export="===o.escapedName?2:n===d?1:0),a?(l.push(wn.factory.createExportAssignment(void 0,void 0,t,wn.factory.createIdentifier(d))),0):n===d||(C(n,d),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),u=!!(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 d,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,u?void 0:ge(r,hs(a),a,c,E,i))],void 0),(null==(d=a.declarations)?void 0:d.find(wn.isSetAccessor))||o)),32768&a.flags&&(d=8&l,s.push(wn.setTextRange(wn.factory.createGetAccessorDeclaration(void 0,wn.factory.createModifiersFromModifierFlags(p),m,[],d?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,u?void 0:ge(r,hs(a),a,c,E,i),void 0),(null==(d=a.declarations)?void 0:d.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,u=0,d=i;u<d.length;u++){var p=d[u];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(yu(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?tk(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=tk(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 ed(ed({},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:dl(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)):Jd(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?d(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?function(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)),u(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?d(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)):d(e,(function(e){return H(e,n)})):H(e,n)}function u(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||function(){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})));if(e||t)return(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=function(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):d(e,p)):p(e)}function d(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"+nk(e.node):16777216&e.flags?"N"+nk(e.root.node):e.symbol?(i?"+":"")+tk(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,nu),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(Td(r),n)):(e=n.flags,n.flags|=4194304,o=function(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 u=l[c];t.push(X(u,n,1024&e.objectFlags?W(n):void 0))}var d=e.properties;if(!d)return t;for(var p=0,m=0,_=d;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<d.length-1){t.push(wn.factory.createPropertySignature(void 0,"... "+(d.length-p)+" more ...",void 0,void 0)),J(d[d.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=yu(e);if(e.target===we||e.target===Me)return 2&n.flags?(d=H(t[0],n),wn.factory.createTypeReferenceNode(e.target===we?"Array":"ReadonlyArray",[d])):(d=H(t[0],n),d=wn.factory.createArrayTypeNode(d),e.target===we?d:wn.factory.createTypeOperatorNode(143,d));if(!(8&e.target.objectFlags)){if(2048&n.flags&&e.symbol.valueDeclaration&&wn.isClassLike(e.symbol.valueDeclaration)&&!Zi(e.symbol,n.enclosingDeclaration))return u(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=uu(r[a]);++a<o&&uu(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 d=void 0,p=(0<t.length&&(m=(e.target.typeParameters||wn.emptyArray).length,d=q(t.slice(a,m),n)),n.flags),m=(n.flags|=16,oe(e.symbol,n,788968,d));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=hu(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)?(d=wn.getNameOfDeclaration(p))&&wn.isElementAccessExpression(d)&&wn.isPropertyAccessEntityNameExpression(d.argumentExpression)&&ee(d.argumentExpression,i,n):ee(p.name.expression,i,n)):null!=(d=n.tracker)&&d.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 u=Y(l[c],166,n,{name:o,questionToken:s});t.push(m(u))}else{var d=void 0,p=(z(e,n)?d=W(n):(r&&(n.reverseMappedStack||(n.reverseMappedStack=[]),n.reverseMappedStack.push(e)),d=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,d));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];i=i[1];a[i]=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)})),u=(e.thisParameter&&(u=$(e.thisParameter,t),l.unshift(u)),Hl(e)),d=(u=(u?(o=2===u.kind||3===u.kind?wn.factory.createToken(128):void 0,d=1===u.kind||3===u.kind?wn.setEmitFlags(wn.factory.createIdentifier(u.parameterName),16777216):wn.factory.createThisTypeNode(),u=u.type&&H(u.type,t),o=wn.factory.createTypePredicateNode(o,d,u)):!(d=zl(e))||s&&Io(d)?s||(o=wn.factory.createKeywordTypeNode(129)):o=function(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,d,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(u),u=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(u,null!=(d=null==r?void 0:r.name)?d:wn.factory.createIdentifier(""),null==r?void 0:r.questionToken,a,l,o):167===n?wn.factory.createMethodDeclaration(void 0,u,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,u,l,void 0):170===n?wn.factory.createGetAccessorDeclaration(void 0,u,null!=(d=null==r?void 0:r.name)?d:wn.factory.createIdentifier(""),l,o,void 0):171===n?wn.factory.createSetAccessorDeclaration(void 0,u,null!=(s=null==r?void 0:r.name)?s:wn.factory.createIdentifier(""),l,void 0):174===n?wn.factory.createIndexSignature(void 0,u,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(u,a,l,null!=o?o:wn.factory.createTypeReferenceNode(wn.factory.createIdentifier(""))):254===n?wn.factory.createFunctionDeclaration(void 0,u,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(u,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(u,a,l,o,void 0,wn.factory.createBlock([])):wn.Debug.assertNever(n));return i&&(d.typeArguments=wn.factory.createNodeArray(i)),d}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&&ux(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})),u=(l=(l.sort(_),l.map((function(e){return c[e]}))),0),d=l;u<d.length;u++){var p=d[u],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=tk(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 u=l[c];n.tracker.trackReferencedAmbientModule(u,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?ed(ed({},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),u=e[t],d=e[t-1];return 0===t?(n.flags|=16777216,i=Eo(u,n),n.approximateLength+=(i?i.length:0)+1,n.flags^=16777216):d&&xi(d)&&(o=xi(d),wn.forEachEntry(o,(function(e,n){if(Pi(e,u)&&!tc(n)&&"export="!==n)return i=wn.unescapeLeadingUnderscores(n),!0}))),i=i||Eo(u,n),n.approximateLength+=i.length+1,!(16&n.flags)&&d&&cc(d)&&cc(d).get(u.escapedName)&&Pi(cc(d).get(u.escapedName),u)?(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=u,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 ue(e){return e=wn.getNameOfDeclaration(e),!!e&&wn.isStringLiteral(e)}function de(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,de);n=function(e,n,t){var r;if(e=Na(e).nameType,e)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,ue),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,d(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,d(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))||Nu(r)||Jn===Su(Tu(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),u=l.introducesError;l=l.node;if(o=o||u,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 d(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":d(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 d},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)?ds(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:db,getParameterIdentifierNameAtPosition:function(e,n){var t=e.parameters.length-(sk(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:yu,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){if(e=wn.getParseTreeNode(e),!e)return[];var t,r,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:!function(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=Cd(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:di,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&&function(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,yu),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:gd,isTypeAssignableTo:hm,createAnonymousType:zi,createSignature:pc,createSymbol:Ea,createIndexInfo:au,getAnyType:function(){return Xn},getStringType:function(){return ct},getNumberType:function(){return lt},createPromiseType:Sb,createArrayType:qu,getElementTypeOfArrayType:p_,getBooleanType:function(){return ft},getFalseType:function(e){return e?dt: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&&Cd(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=gd(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&&function(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(ed(ed({},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,un,dn,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"),ut=Ui(64,"bigint"),dt=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,dt.regularType=pt,dt.freshType=dt,(pt.regularType=pt).freshType=dt,gd([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=gd([ct,lt]),Lt=gd([ct,lt,gt]),Dt=k?ct:Lt,At=gd([lt,ut]),Ct=gd([ct,lt,ft,ut,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=au(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||Gu("AsyncIterator",3,e))||wt},getGlobalIterableType:function(e){return(sn=sn||Gu("AsyncIterable",1,e))||wt},getGlobalIterableIteratorType:function(e){return(ln=ln||Gu("AsyncIterableIterator",1,e))||wt},getGlobalGeneratorType:function(e){return(un=un||Gu("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||Gu("Iterator",3,e))||wt},getGlobalIterableType:Hu,getGlobalIterableIteratorType:function(e){return(tn=tn||Gu("IterableIterator",1,e))||wt},getGlobalGeneratorType:function(e){return(rn=rn||Gu("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,ur=Dp(""),dr=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:ut,boolean:ft,symbol:gt,undefined:tt})),Fr=gd(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=Gu("IArguments",0,!0),Na(Jn).type=Zn,Na(Te).type=Vi(16,Te),we=Gu("Array",1,!0),ke=Gu("Object",0,!0),Re=Gu("Function",0,!0),Oe=D&&Gu("CallableFunction",0,!0)||Re,Pe=D&&Gu("NewableFunction",0,!0)||Re,Fe=Gu("String",0,!0),Ge=Gu("Number",0,!0),Be=Gu("Boolean",0,!0),Ue=Gu("RegExp",0,!0),je=qu(Xn),(Ke=qu(Yn))===kt&&(Ke=zi(void 0,y,wn.emptyArray,wn.emptyArray,wn.emptyArray)),Me=Wu("ReadonlyArray",1)||we,He=Me?zu(Me,[Xn]):je,Ve=Wu("ThisType",1),Hr)for(var ca=0,la=Hr;ca<la.length;ca++){ta=la[ca];for(var ua=0,da=ta;ua<da.length;ua++)ia=da[ua],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(ed(ed({},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}})),u((l=wn.getOrUpdate(r.conflictingSymbols,o,(function(){return{isBlockScoped:a,firstFileLocations:[],secondFileLocations:[]}}))).firstFileLocations,n),u(l.secondFileLocations,e)):(Da(n,t,o,e),Da(e,t,o,n)))}return e;function u(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)),u=0,d=r||wn.emptyArray;u<d.length;u++)!function(e){if(e=(wn.getExpandoInitializer(e,!1)?wn.getNameOfExpando(e):wn.getNameOfDeclaration(e))||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)}}(d[u])}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=tk(e),vr[e]||(vr[e]=new $N))}function ka(e){return e=nk(e),br[e]||(br[e]=new ek)}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)?!u(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))&&u(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))&&function(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 u(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,u,d,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)&&u&&u!==e.body?(t&l.flags&788968&&315!==u.kind&&(L=!!(262144&l.flags)&&(u===e.type||162===u.kind||161===u.kind)),t&l.flags&3&&(wa(l,e,u)?L=!1:1&l.flags&&(L=162===u.kind||u===e.type&&!!wn.findAncestor(l.valueDeclaration,wn.isParameter)))):187===e.kind&&(L=u===e.trueType),L)break;l=void 0}switch(E=E||function(e,n){return 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,u),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(!function(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(u&&wn.isStatic(u))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(u===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:u&&(u===e.initializer||u===e.name&&wn.isBindingPattern(u))&&(m=m||e);break;case 201:u&&(u===e.initializer||u===e.name&&wn.isBindingPattern(u))&&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}}}!function(e){switch(e.kind){case 254:case 255:case 256:case 258:case 257:case 259:return 1;default:return}}(e)||(d=e),e=(u=e).parent}if(!i||!l||d&&l===d.symbol||(l.isReferenced|=t),!l){if(u&&(wn.Debug.assert(300===u.kind),u.commonJsModuleIndicator)&&"exports"===n&&t&u.symbol.flags)return u.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)&&function(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&&(function(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)||function(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)||function(e,n){if(Ua(n)&&273===e.parent.kind)return fa(e,wn.Diagnostics.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,n),1}(S,n)||function(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),function(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):function(e,n){if(e=wn.findAncestor(e.parent,(function(e){return!wn.isComputedPropertyName(e)&&!wn.isPropertySignature(e)&&(wn.isTypeLiteralNode(e)||"quit")})),e&&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)||function(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)||function(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=function(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=ui(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):function(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),function(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 u,d,p,m=di(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,u=o,d=_,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,u)):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,u)):(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,u,u,d))):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,$u([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 u=n,d=(l=e).parent.parent.moduleSpecifier,p=_i(l,d),d=vi(p,d,u,!1),ii(l,p,d,!1),d;case 272:return u=n,d=(p=(l=e).parent.moduleSpecifier)&&_i(l,p),p=p&&vi(d,p,u,!1),ii(l,d,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,u,d,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 ui(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 di(e,n){return e.parent?di(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)?function(e,n){if(Cu(e.parent)){var t=function(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=di(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=function(e,n){if(!e||e===Jn||e===n||1===n.exports.size||2097152&e.flags)return e;var t=Na(e);if(t.cjsExportMerged)return t.cjsExportMerged;var r=33554432&e.flags?e:xa(e);return r.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&&function(n,t){var r,a=wn.getSourceFileOfNode(t),i=nk(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 u=0,d=e.getSourceFiles();u<d.length;u++){var p=d[u];wn.isExternalModule(p)&&Oi(p=Ii(p),n)&&(r=wn.append(r,p))}return o.extendedContainers=r||wn.emptyArray}(n,t),i=function(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=$u($u(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),d++,e.id=d,n&&null!==wn.tracing&&void 0!==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=function(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&&!function(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&&nk(o))+"|"+t,i.has(o)?i.get(o):(c=tk(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=function(t,a,i){return d(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&&d(Ci(t.exportSymbol),void 0,a))return[e]}))||(t===be?p(Te,Te,a):void 0)}(t,a,i),s.pop(),t}function u(e,t){return!Yi(e,n,t)||!!Xi(e.parent,n,qi(t),r,a)}function d(n,r,a){return(e===(r||n)||Ci(e)===Ci(r||n))&&!wn.some(n.declarations,ao)&&(a||u(Ci(n),t))}function p(e,n,r){return d(e,n,r)?[e]:(n=(r=xi(n))&&l(r,!0))&&u(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 u=l[c];if(d=Xi(u,t,a,!1)){var d,p=u;if(d=io(d[0],i))return d}if(o&&wn.some(u.declarations,ao)){if(i){s=!0;continue}return{accessibility:0}}if(d=e(ki(u,t,a),t,r,r===u?qi(a):a,i,o))return d}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=!!function(){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(tk(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,tk(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(function(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=gd(wn.map(n,Cd));if(Hd(e)||Wd(r))return 131072&r.flags?e:(fn=fn||Fu("Omit",524288,wn.Diagnostics.Cannot_find_global_type_0),fn?bu(fn,[e,r]):Zn);for(var a=wn.createSymbolTable(),i=0,o=zc(e);i<o.length;i++){var s=o[i];hm(Id(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=function(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=Cd(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=dl(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,Zd(t,Cd(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 od(e,l)})):qu(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,gd([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=kd(xh(yE(e.parent.parent.expression)))).flags?Rd(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:db)(a,i)}if(a="this"===e.symbol.escapedName?uy(r):dy(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?function(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,u=e.declarations;l<u.length;l++){var d,p=u[l],m=wn.isBinaryExpression(p)||wn.isCallExpression(p)?p:wn.isAccessExpression(p)?wn.isBinaryExpression(p.parent)?p.parent:p:void 0;!m||((4===(d=wn.isAccessExpression(m)?wn.getAssignmentDeclarationPropertyAccessKind(m):wn.getAssignmentDeclarationKind(m))||wn.isBinaryExpression(m)&&vy(m,d))&&(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)?function(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=uv(i),i)?zl(i):(i=Co(a,"set"),i&&(a=uv(i),a)?vb(a):Xn))}return function(e,n){return wn.isPropertyAccessExpression(e)&&108===e.expression.kind&&wn.forEachChildRecursively(n,(function(n){return Vf(e,n)}))}(t.left,t.right)?Xn:(i=n?hs(n):x_(nE(t.right)),524288&i.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=gd([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);var o}(e,n,m,d):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 _=gd(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,zu(Hu(!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=rd(i,wn.map(a,(function(e,n){return e===o?4:r<=n?2:1}))),n&&((i=fu(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=au(ct,Xn,!1):ec(n=Cd(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||Mu("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=function(e){if(4194304&e.flags)return function(e){return(e=Hs(Ni(e))).typeParameters?_u(e,wn.map(e.typeParameters,(function(e){return Xn}))):e}(e);if(e===xe)return Xn;if(134217728&e.flags&&e.valueDeclaration)return t=Ii(wn.getSourceFileOfNode(e.valueDeclaration)),(r=Ea(t.flags,"exports")).declarations=t.declarations?t.declarations.slice():[],r.parent=e,(r.target=t).valueDeclaration&&(r.valueDeclaration=t.valueDeclaration),t.members&&(r.members=new wn.Map(t.members)),t.exports&&(r.exports=new wn.Map(t.exports)),(t=wn.createSymbolTable()).set("exports",r),zi(e,t,wn.emptyArray,wn.emptyArray,wn.emptyArray);wn.Debug.assertIsDefined(e.valueDeclaration);var n,t,r=e.valueDeclaration;if(wn.isCatchClauseVariableDeclarationOrBindingElement(r))return void 0===(t=wn.getEffectiveTypeAnnotationNode(r))?N?nt:Xn:Io(t=WS(t))||t===nt?t:Zn;if(wn.isSourceFile(r)&&wn.isJsonSourceFile(r))return r.statements.length?ef(x_(yE(r.statements[0].expression))):kt;if(!xo(e,0))return(512&e.flags&&!(67108864&e.flags)?ms:gs)(e);if(269===r.kind)n=rs(nE(r.expression),r);else if(wn.isBinaryExpression(r)||wn.isInJSFile(r)&&(wn.isCallExpression(r)||(wn.isPropertyAccessExpression(r)||wn.isBindableStaticElementAccessExpression(r))&&wn.isBinaryExpression(r.parent)))n=qo(e);else if(wn.isPropertyAccessExpression(r)||wn.isElementAccessExpression(r)||wn.isIdentifier(r)||wn.isStringLiteralLike(r)||wn.isNumericLiteral(r)||wn.isClassDeclaration(r)||wn.isFunctionDeclaration(r)||wn.isMethodDeclaration(r)&&!wn.isObjectLiteralMethod(r)||wn.isMethodSignature(r)||wn.isSourceFile(r)){if(9136&e.flags)return ms(e);n=wn.isBinaryExpression(r.parent)?qo(e):is(r)||Xn}else if(wn.isPropertyAssignment(r))n=is(r)||sE(r);else if(wn.isJsxAttribute(r))n=is(r)||$y(r);else if(wn.isShorthandPropertyAssignment(r))n=is(r)||oE(r.name,0);else if(wn.isObjectLiteralMethod(r))n=is(r)||cE(r,0);else if(wn.isParameter(r)||wn.isPropertyDeclaration(r)||wn.isPropertySignature(r)||wn.isVariableDeclaration(r)||wn.isBindingElement(r)||wn.isJSDocPropertyLikeTag(r))n=ns(r,!0);else if(wn.isEnumDeclaration(r))n=ms(e);else if(wn.isEnumMember(r))n=_s(e);else{if(!wn.isAccessor(r))return wn.Debug.fail("Unhandled declaration kind! "+wn.Debug.formatSyntaxKind(r.kind)+" for "+wn.Debug.formatSymbol(e));n=ds(e)||wn.Debug.fail("Non-write accessor resolution must always produce a type")}return Do()?n:(!(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=us(e)||wn.Debug.fail("Read type of accessor must always produce a type"))}function us(e,n){return void 0===n&&(n=!1),xo(e,0)?(n=ds(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 ds(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=function(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))?Td([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=us(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?gd:Td)(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,up(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&&sk(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=lu(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,qu(gd(wn.sameMap(p.typeParameters,(function(e,n){return 8&p.elementFlags[n]?Zd(e,lt):e}))||wn.emptyArray),p.readonly))];else if(96&e.symbol.flags){if(32&e.symbol.flags&&function(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&&function(e){var n,t=e.outerTypeParameters;return t?(n=t.length-1,e=yu(e),t[n].symbol!==e[n].symbol):1}(a))t=vu(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:(n=dl(t),ws(n)?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=dl(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,u=e.symbol.declarations;l<u.length;l++){var d=u[l];255!==d.kind&&256!==d.kind||Os(d,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)&&function(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||!function(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(du(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(du(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 u=l[c],d=fx(u),p=Sp((d=void 0!==d?d:0,n=m,t=Ii(u),p=void 0,n=n+("string"==typeof d?"@":"#")+d,p=1024|("string"==typeof d?128:256),In.get(n)||(In.set(n,n=Tp(p,d,t)),n)));Na(Ii(u)).declaredType=p,a.push(xp(p))}}if(a.length)return 1048576&(_=gd(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=iu(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,u=wn.isElementAccessExpression(l)?nE(l.argumentExpression):Wy(l);if(ec(u))return i=ic(u),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&u.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=u,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}a.resolvedSymbol}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 u=l[c];u=wn.getMembersOfDeclaration(u);if(u)for(var d=0,p=u;d<p.length;d++){var m=p[d];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 uc(e,n,t){if(4&wn.getObjectFlags(e)){var r=e.target,a=yu(e);if(wn.length(r.typeParameters)===wn.length(a))return a=_u(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 uc(e,n,t)})))!==e.types?Td(r):e;return t?ol(e):e}function dc(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,u=t;l<u.length;l++)var d=u[l],p=(d=c?uc(am(d,a),c):d,d=(Qs(i,zc(d)),o=wn.concatenate(o,hl(d,0)),s=wn.concatenate(s,hl(d,1)),d!==Xn?Sl(d):[au(ct,Xn,!1)]),wn.concatenate(p,wn.filter(d,(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 u(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]=function(e,n){return 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),e.flags|=n,e}(e,n))}function gc(e,n){if(sk(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=yu(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?qu(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,u=i[a];n&&yc(n,u,!1,!1,!0)||(o=function(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,u,r))&&(s=u,1<o.length&&(l=u.thisParameter,(c=wn.forEach(o,(function(e){return e.thisParameter})))&&(l=X_(c,Td(wn.mapDefined(o,(function(e){return e.thisParameter&&hs(e.thisParameter)}))))),(s=_c(u,o)).thisParameter=l),(n=n||[]).push(s))}}if(!wn.length(n)&&-1!==t){for(var d=e[void 0!==t?t:0],p=d.slice(),m=function(e){if(e!==d){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=function(e,n,t){for(var r=_b(e),a=_b(n),i=a<=r?e:n,o=i===e?n:e,s=i===e?r:a,c=gb(e)||gb(n),l=c&&!gb(i),u=new Array(s+(l?1:0)),d=0;d<s;d++){var p=pb(i,d),m=(i===n&&(p=am(p,t)),pb(o,d)||nt),_=(p=(o===n&&(m=am(m,t)),Td([p,m])),m=c&&!l&&d===s-1,d>=fb(i)&&d>=fb(o)),f=r<=d?void 0:cb(e,d),g=a<=d?void 0:cb(n,d);_=Ea(1|(_&&!m?16777216:0),(f===g?f:f?g?void 0:f:g)||"arg"+d);_.type=m?qu(p):p,u[d]=_}var y;return l&&((y=Ea(1,"args")).type=qu(db(o,s)),o===n&&(y.type=am(y.type,t)),u[s]=y),u}(e,r,t),s=function(e,n,t){return e&&n?(t=Td([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(lu(a)||nt,am(lu(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++)!function(n){var r=n.keyType;wn.every(e,(function(e){return!!xl(e,r)}))&&t.push(au(r,gd(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?Td([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=function(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 Td(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++)!function(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]=au(a.keyType,(t?gd:Td)([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,u=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&u.flags?(Wi(e,y,wn.emptyArray,wn.emptyArray,wn.emptyArray),a=Vl((n=cc(u)).get("__call")),s=Vl(n.get("__new")),Wi(e,n,a,s,t=iu(u))):(n=y,t=void 0,a=void(u.exports&&(n=xi(u),u===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&u.flags&&(11272192&(i=Rs(Ms(u))).flags?Qs(n=wn.createSymbolTable((l=Hi(c=n),(c=ru(c))?wn.concatenate(l,[c]):l)),zc(i)):i===Xn&&(a=au(ct,Xn,!1))),(c=ru(n))?t=ou(c):(a&&(t=wn.append(t,a)),384&u.flags&&(32&Hs(u).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&u.flags&&(e.callSignatures=Vl(u)),32&u.flags&&(o=Ms(u),s=u.members?Vl(u.members.get("__constructor")):wn.emptyArray,(s=16&u.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=function(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=Ru(r),o=wn.length(i),s=[],c=0,l=n;c<l.length;c++){var u=l[c],d=Ml(u.typeParameters),p=wn.length(u.typeParameters);(a||d<=o&&o<=p)&&((p=p?Zl(u,Fl(i,u.typeParameters,d,a)):mc(u)).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?[au(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 u,d,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?(u=e.constraintType.type.objectType,d=e.mappedType,n=e.constraintType.type,t=u,d=am(d,Bp([n.indexType,n.objectType],[Ap(0),rd([t])])),m.mappedType=d,m.constraintType=kd(u)):(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))?sd:kd)(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?Td(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 u=0,d=zc(s);u<d.length;u++)f(Id(d[u],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 u,d,p,m,_,f,g=a;ec(l)?(u=ic(l),(d=t.get(u))?(d.nameType=gd([d.nameType,l]),d.keyType=gd([d.keyType,g])):(d=ec(g)?gl(s,ic(g)):void 0,p=!!(4&c||!(8&c)&&d&&16777216&d.flags),_=!!(1&c||!(2&c)&&d&&Fb(d)),f=x&&!p&&d&&16777216&d.flags,m=d?Ic(d):0,(p=Ea(4|(p?16777216:0),u,262144|m|(_?8:0)|(f?524288:0))).mappedType=e,p.nameType=l,p.keyType=g,d&&(p.syntheticOrigin=d,p.declarations=i?void 0:d.declarations),t.set(u,p))):(su(l)||33&l.flags)&&(m=5&l.flags?ct:40&l.flags?lt:l,_=am(o,Jp(e.mapper,r,g)),f=au(m,_,!!(1&c)),n=Lc(n,f,!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))&&Wd(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=yu(n),dc(n,t,r,a.length===r.length?a:wn.concatenate(a,[n]))):3&e.objectFlags?dc(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=ul(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)?lu(e):void 0}function Xc(e){var n=qd(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:gd([t,n])),e.resolvedDefaultConstraint}function Qc(e){if(e.root.isDistributive&&e.restrictiveInstantiation!==e){var n=qd(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=uc(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=function(e){if(262144&e.flags)return u=lu(e),e.isThisType||!u?u:r(u);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?gd(t):2097152&e.flags&&t.length?Td(t):void 0:e}return 4194304&e.flags?Dt:134217728&e.flags?(n=e.types,(l=wn.mapDefined(n,r)).length===n.length?Od(e.texts,l):ct):268435456&e.flags?(u=r(e.type))?wd(e.symbol,u):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?(u=Zc(e))&&r(u):33554432&e.flags?r(e.substitute):e;var l,u}(qd(e,!1)),n.pop()),Do()||(262144&e.flags&&(t=cu(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=function(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=uc(n,n,!0)):402653316&e.flags?Fe:296&e.flags?Ge:2112&e.flags?(n=7<=b,(gn=gn||Gu("BigInt",0,n))||kt):528&e.flags?Be:12288&e.flags?Vu(2<=b):67108864&e.flags?kt:4194304&e.flags?Dt:2&e.flags&&!x?kt:e}function sl(e){return dl(ol(dl(e)))}function cl(e,n,t){for(var r,a,i,o,s,c,l=1048576&e.flags,u=l?0:16777216,d=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?u|=16777216&x.flags:u&=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(tk(r),r),s=tk(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)||(d=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|u,n,d|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?gd:Td)(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 ul(e,n,t){return e=ll(e,n,t),!e||16&wn.getCheckFlags(e)?void 0:e}function dl(e){return 1048576&e.flags&&33554432&e.objectFlags?e.resolvedReducedType||(e.resolvedReducedType=function(e){var n=wn.sameMap(e.types,dl);return n===e.types||(e=gd(n),1048576&e.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 ul(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?au(nt,Td(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 u=e.parameters[l],d=u.symbol,p=wn.isJSDocParameterTag(u)?u.typeExpression&&u.typeExpression.type:u.type;d&&4&d.flags&&!wn.isBindingPattern(u.name)&&(d=Ma(u,d.escapedName,111551,void 0,void 0,!1)),0===l&&"this"===d.escapedName?(o=!0,i=u.symbol):t.push(d),p&&194===p.kind&&(r|=2),Pl(u)||u.initializer||u.questionToken||wn.isRestParameter(u)||s&&t.length>s.arguments.length&&!p||kl(u)||(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)&&function(e,n){if(!wn.isJSDocSignature(e)&&Ul(e)){var t=wn.lastOrUndefined(e.parameters);t=t?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);return t.type=e?qu(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)&&uv(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=function(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(!yd(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?gd(e,t):Td(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(sk(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=dv(zl(n));if(e)return(t=mc(e)).typeParameters=r,(e=mc(n)).resolvedReturnType=nu(t),e}return n}function Ql(e,n){var t=e.instantiations||(e.instantiations=new wn.Map),r=du(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 eu(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 nu(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 tu(e){return e.members?ru(e.members):void 0}function ru(e){return e.get("__index")}function au(e,n,t,r){return{keyType:e,type:n,isReadonly:t,declaration:r}}function iu(e){return e=tu(e),e?ou(e):wn.emptyArray}function ou(e){if(e.declarations){for(var n=[],t=0,r=e.declarations;t<r.length;t++)!function(e){var t;1===e.parameters.length&&(t=e.parameters[0]).type&&hg(Op(t.type),(function(t){su(t)&&!vl(n,t)&&n.push(au(t,e.type?Op(e.type):Xn,wn.hasEffectiveModifier(e,64),e))}))}(r[t]);return n}return wn.emptyArray}function su(e){return!!(4108&e.flags)||jd(e)||!!(2097152&e.flags)&&!Wd(e)&&!Hd(e)&&wn.some(e.types,su)}function cu(e){return wn.mapDefined(wn.filter(e.symbol&&e.symbol.declarations,wn.isTypeParameterDeclaration),wn.getEffectiveConstraintOfTypeParameter)[0]}function lu(e){var n,t;return e.constraint||(e.target?(n=qc(e.target),e.constraint=n?am(n,e.mapper):Ft):(n=cu(e))?(1&(t=Op(n)).flags&&t!==Zn&&(t=193===n.parent.parent.kind?Dt:nt),e.constraint=t):e.constraint=function(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,qu(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&&Td(c)}(e)||Ft),e.constraint===Ft?void 0:e.constraint}function uu(e){return e=wn.getDeclarationOfKind(e.symbol,161),e=wn.isJSDocTemplateTag(e.parent)?wn.getHostSignatureFromJSDoc(e.parent):e.parent,e&&Ii(e)}function du(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 pu(e,n){return e?"@"+tk(e)+(n?":"+du(n):""):""}function mu(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 _u(e,n){var t=du(n),r=e.instantiations.get(t);return r||(r=Vi(4,e.symbol),e.instantiations.set(t,r),r.objectFlags|=n?mu(n,0):0,r.target=e,r.resolvedTypeArguments=n),r}function fu(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 gu(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 yu(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 hu(e){return wn.length(e.target.typeParameters)}function vu(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&&Zu(e,wn.length(e.typeArguments)!==r.length)?gu(t,e,void 0):_u(t,wn.concatenate(t.outerTypeParameters,Fl(Ru(e),r,i,o))):Zn}return Iu(e,n)?t:Zn}function bu(e,n,t,r){var a,i,o,s,c=Hs(e);return c===et&&zn.has(e.escapedName)&&n&&1===n.length?wd(e,n[0]):(i=(a=Na(e)).typeParameters,o=du(n)+pu(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 Eu(e){return e=null==(e=e.declarations)?void 0:e.find(wn.isTypeAlias),e&&wn.getContainingFunction(e)}function Tu(e){switch(e.kind){case 176:return e.typeName;case 226:var n=e.expression;if(wn.isEntityNameExpression(n))return n}}function Su(e,n,t){return e&&pi(e,n,t)||Jn}function xu(e,n){var t,r,a,i,o,s;return n===Jn?Zn:96&(n=function(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?vu(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))||!Eu(r)&&Eu(a)?void 0:a,bu(r,Ru(t),i,fp(i))):Iu(t,r)?o:Zn):(s=Ws(n))?Iu(e,n)?xp(s):Zn:111551&n.flags&&Cu(e)?function(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=xu(e,t.symbol)),i.resolvedJSDocType=r),i.resolvedJSDocType}(e,n)||(Su(Tu(e),788968),hs(n)):Zn}function Lu(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 Du(e){return 182===e.kind&&1===e.elements.length}function Au(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 Du(t)&&Du(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?Lu(e,Td(wn.append(t,e))):e}function Cu(e){return!!(4194304&e.flags)&&(176===e.kind||198===e.kind)}function Iu(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 Nu(e){if(wn.isIdentifier(e.typeName)){var n,t,r=e.typeArguments;switch(e.typeName.escapedText){case"String":return Iu(e),ct;case"Number":return Iu(e),lt;case"Boolean":return Iu(e),ft;case"Void":return Iu(e),yt;case"Undefined":return Iu(e),tt;case"Null":return Iu(e),ot;case"Function":case"function":return Iu(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?[au(t,n,!1)]:wn.emptyArray,zi(void 0,y,wn.emptyArray,wn.emptyArray,t)):Xn:(Iu(e),C?void 0:Xn)}}}function ku(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;!Cu(e)||(r=Nu(e))||((t=Su(Tu(e),a,!0))===Jn?t=Su(Tu(e),900095):Su(Tu(e),a),r=xu(e,t)),r=r||xu(e,t=Su(Tu(e),a)),n.resolvedSymbol=t,n.resolvedType=r}return n.resolvedType}function Ru(e){return wn.map(e.typeArguments,Op)}function Ou(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 Pu(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 wu(e,n){return Fu(e,111551,n?wn.Diagnostics.Cannot_find_global_value_0:void 0)}function Mu(e,n){return Fu(e,788968,n?wn.Diagnostics.Cannot_find_global_type_0:void 0)}function Fu(e,n,t){return Ma(void 0,e,n,t,e,!1)}function Gu(e,n,t){return e=Mu(e,t),e||t?Pu(e,n):void 0}function Bu(){return(pn=pn||Gu("ImportMeta",0,!0))||kt}function Uu(e){return ze=ze||wu("Symbol",e)}function Vu(e){return(qe=qe||Gu("Symbol",0,e))||kt}function ju(e){return(Ye=Ye||Gu("Promise",1,e))||wt}function Ku(e){return Ze=Ze||wu("Promise",e)}function Hu(e){return(en=en||Gu("Iterable",1,e))||wt}function Wu(e,n){return void 0===n&&(n=0),e=Fu(e,788968,void 0),e&&Pu(e,n)}function zu(e,n){return e!==wt?_u(e,n):kt}function Ju(e){return zu((Xe=Xe||Gu("TypedPropertyDescriptor",1,!0))||wt,[e])}function qu(e,n){return zu(n?Me:we,[e])}function Xu(e){switch(e.kind){case 183:return 2;case 184:return Yu(e);case 195:return e.questionToken?2:e.dotDotDotToken?Yu(e):1;default:return 1}}function Yu(e){return Rp(e.type)?4:8}function Qu(e){n=e.parent;var n=wn.isTypeOperatorNode(n)&&143===n.operator;return Rp(e)?n?Me:we:ad(wn.map(e.elements,Xu),n,wn.some(e.elements,(function(e){return 195!==e.kind}))?void 0:e.elements)}function Zu(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?nd(e.elementType):182===e.kind?wn.some(e.elements,nd):n||wn.some(e.typeArguments,nd))}function nd(e){switch(e.kind){case 176:return Cu(e)||!!(524288&Su(e.typeName,788968).flags);case 179:return!0;case 191:return 152!==e.operator&&nd(e.type);case 189:case 183:case 195:case 311:case 309:case 310:case 304:return nd(e.type);case 184:return 181!==e.type.kind||nd(e.type.elementType);case 185:case 186:return wn.some(e.types,nd);case 192:return nd(e.objectType)||nd(e.indexType);case 187:return nd(e.checkType)||nd(e.extendsType)||nd(e.trueType)||nd(e.falseType)}return!1}function rd(e,n,t,r){return void 0===t&&(t=!1),n=ad(n||wn.map(e,(function(e){return 1})),t,r),n===wt?kt:e.length?id(n,e):n}function ad(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,nk).join(","):""),(a=Sn.get(r))||Sn.set(r,a=function(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(),u=e[c];12&(s|=u)||((u=Ea(4|(2&u?16777216:0),""+c,n?8:0)).tupleLabelDeclaration=null==t?void 0:t[c],u.type=l,o.push(u))}}var d=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=gd(m)}return o.push(p),p=Vi(12),p.typeParameters=r,p.outerTypeParameters=void 0,p.localTypeParameters=r,p.instantiations=new wn.Map,p.instantiations.set(du(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=d,p.hasRestElement=!!(12&s),p.combinedFlags=s,p.readonly=n,p.labeledElementDeclarations=t,p}(e,n,t)),a)}function id(e,n){return(8&e.objectFlags?function e(n,t){var r,a;if(!(14&n.combinedFlags))return _u(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 xd(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=[],u=-1,d=-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=yu(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;_<u;_++)2&c[_]&&(c[_]=1);0<=d&&d<p&&(s[d]=gd(wn.sameMap(s.slice(d,p+1),(function(e,n){return 8&c[d+n]?Zd(e,lt):e}))),s.splice(d+1,p-d),c.splice(d+1,p-d),null!=l)&&l.splice(d+1,p-d);var g=ad(c,n.readonly,l);return g===wt?kt:c.length?_u(g,s):g;function y(e,n,t){1&n&&(u=c.length),4&n&&d<0&&(d=c.length),6&n&&(p=c.length),s.push(e),c.push(n),l&&t?l.push(t):l=void 0}}:_u)(e,n)}function od(e,n,t){void 0===t&&(t=0);var r=e.target;t=hu(e)-t;return n>r.fixedLength?function(e){return e=k_(e),e&&qu(e)}(e)||rd(wn.emptyArray):rd(yu(e).slice(n,t),r.elementFlags.slice(n,t),!1,r.labeledElementDeclarations&&r.labeledElementDeclarations.slice(n,t))}function sd(e){return gd(wn.append(wn.arrayOf(e.target.fixedLength,(function(e){return Dp(""+e)})),kd(e.target.readonly?Me:we)))}function cd(e,n){var t=wn.findIndex(e.elementFlags,(function(e){return!(e&n)}));return 0<=t?t:e.elementFlags.length}function ld(e,n){return e.elementFlags.length-wn.findLastIndex(e.elementFlags,(function(e){return!(e&n)}))-1}function ud(e){return e.id}function dd(e,n){return 0<=wn.binarySearch(e,n,ud,wn.compareValues)}function pd(e,n){var t=wn.binarySearch(e,n,ud,wn.compareValues);return t<0&&(e.splice(~t,0,n),1)}function md(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)?md(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,ud,wn.compareValues))<0&&r.splice(~o,0,l)),a)}return n}function _d(e){var n=wn.filter(e,jd);if(n.length)for(var t=e.length;0<t;)!function(){var r=e[--t];128&r.flags&&wn.some(n,(function(e){return ym(r,e)}))&&wn.orderedRemoveItemAt(e,t)}()}function fd(e,n){return e=Bi(e),e.types=n,e}function gd(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=md(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,ud,wn.compareValues))&&dd(s,tt)&&wn.orderedRemoveItemAt(s,o),402664320&c||16384&c&&32768&c)for(var l=s,u=c,d=!!(2&n),p=l.length;0<p;){var m=l[--p],_=m.flags;(402653312&_&&4&u||256&_&&8&u||2048&_&&64&u||8192&_&&4096&u||d&&32768&_&&16384&u||Lp(m)&&dd(l,m.regularType))&&wn.orderedRemoveItemAt(l,p)}if(128&c&&134217728&c&&_d(s),2===n&&!(s=function(e,n){var t=du(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 u=61603840&l.flags?wn.find(zc(l),(function(e){return b_(hs(e))})):void 0,d=u&&xp(hs(u)),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&&void 0!==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++,u&&61603840&_.flags){var f=Co(_,u.escapedName);if(f&&b_(f)&&xp(f)!==d)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++)!function(e){wn.some(f,(function(n){return dd(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++)pd(g,b[v]);a=fd(1048576,g)}}return hd(s,(468598819&c?0:65536)|(2097152&c?33554432:0),t,r,a)}function yd(e,n){return e.kind===n.kind&&e.parameterIndex===n.parameterIndex}function hd(e,n,t,r,a){var i,o;return 0===e.length?ht:1===e.length?e[0]:(i=(a?1048576&a.flags?"|"+du(a.types):2097152&a.flags?"&"+du(a.types):"#"+a.type.id+"|"+du(e):du(e))+pu(t,r),(o=xn.get(i))||((o=Gi(1048576)).objectFlags=n|mu(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 vd(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)?vd(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 bd(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 Ed(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,u=c[s].types;l<u.length;l++)!pd(i,a=u[l])||!function(e,n){for(var t=0,r=e;t<r.length;t++){var a=r[t];if(!dd(a.types,n)){var i=128&n.flags?ct:256&n.flags?lt:2048&n.flags?ut:8192&n.flags?gt:void 0;if(!i||!dd(a.types,i))return}}return 1}(n,a)||pd(o,a);return e[t]=hd(o,65536),1}}}function Td(e,n,t){var r=new wn.Map;e=vd(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&&function(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(jd(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=du(r)+pu(n,t);if(!(l=Ln.get(c))){if(1048576&e)if(Ed(r))l=Td(r,n,t);else if(bd(r,32768))l=gd([Td(r),tt],1,n,t);else if(bd(r,65536))l=gd([Td(r),ot],1,n,t);else{if(!xd(r))return Zn;e=function(e){for(var n=Sd(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=Td(o);131072&l.flags||t.push(l)}return t}(r);var l=gd(e,1,n,t,wn.some(e,(function(e){return!!(2097152&e.flags)}))?fd(2097152,r):void 0)}else e=r,r=n,n=t,(t=Gi(2097152)).objectFlags=mu(e,98304),t.types=e,t.aliasSymbol=r,t.aliasTypeArguments=n,l=t;Ln.set(c,l)}return l}function Sd(e){return wn.reduceLeft(e,(function(e,n){return 1048576&n.flags?e*n.types.length:131072&n.flags?0:e}),1)}function xd(e){var n=Sd(e);return!(1e5<=n&&(null!==wn.tracing&&void 0!==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 Ld(e,n){var t=Gi(4194304);return t.type=e,t.stringsOnly=n,t}function Dd(e,n,t){return am(e,Jp(n.mapper,kc(n),t))}function Ad(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 Cd(e){return wn.isPrivateIdentifier(e)?ht:wn.isIdentifier(e)?Dp(wn.unescapeLeadingUnderscores(e.escapedText)):xp((wn.isComputedPropertyName(e)?Wy:yE)(e))}function Id(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&&Cd(r)||(wn.isKnownSymbol(e)?void 0:Dp(wn.symbolName(e)))),t&&t.flags&n)return t}return ht}function Nd(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 Id(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 gd(wn.concatenate(r,e),1,void 0,void 0,t)}function kd(e,n,t){return void 0===n&&(n=k),1048576&(e=dl(e)).flags?Td(wn.map(e.types,(function(e){return kd(e,n,t)}))):2097152&e.flags?gd(wn.map(e.types,(function(e){return kd(e,n,t)}))):58982400&e.flags||I_(e)||Vc(e)&&!Ad(e)?(s=e,n?s.resolvedStringIndexType||(s.resolvedStringIndexType=Ld(s,!0)):s.resolvedIndexType||(s.resolvedIndexType=Ld(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?gd([Sg(s,(function(e){return Dd(i,r,e)})),Sg(gd(wn.map(o||wn.emptyArray,(function(e){return Id(e,8576)}))),(function(e){return Dd(i,r,e)}))]):s):e===Qn?Qn:2&e.flags?ht:131073&e.flags?Dt:Nd(e,(t?128:402653316)|(n?0:12584),n===k&&!t);var r,a,i,o,s}function Rd(e){return k?e:(_n=_n||Fu("Extract",524288,wn.Diagnostics.Cannot_find_global_type_0),_n?bu(_n,[e,ct]):ct)}function Od(e,n){var t,r,a,i,o,s,c,l=wn.findIndex(n,(function(e){return!!(1179648&e.flags)}));return 0<=l?xd(n)?Sg(n[l],(function(t){return Od(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+=Pd(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(!Wd(s)&&!Vd(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=du(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 Pd(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 wd(e,n){var t,r,a,i;return 1179648&n.flags?Sg(n,(function(n){return wd(e,n)})):Wd(n)?(r=n,a=tk(t=e)+","+r.id,(i=Rn.get(a))||Rn.set(a,i=function(e,n){var t=Gi(268435456);return t.symbol=e,t.type=n,t}(t,r)),i):128&n.flags?Dp(function(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 Md(e){var n;return!C&&(!!(8192&wn.getObjectFlags(e))||(1048576&e.flags?wn.every(e.types,Md):2097152&e.flags?wn.some(e.types,Md):!!(465829888&e.flags)&&(n=tl(e))!==e&&Md(n)))}function Fd(e,n){return ec(e)?ic(e):n&&wn.isPropertyName(n)?wn.getPropertyNameForPropertyNameNode(n):void 0}function Gd(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 Bd(e,n,t,r,a,i){var o=a&&205===a.kind?a:void 0,s=a&&wn.isPrivateIdentifier(a)?void 0:Fd(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)&&Gd(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||(u=Ud(a),C_(n)?fa(u,wn.Diagnostics.Tuple_type_0_of_length_1_has_no_element_at_index_2,lo(n),hu(n),wn.unescapeLeadingUnderscores(s)):fa(u,wn.Diagnostics.Property_0_does_not_exist_on_type_1,wn.unescapeLeadingUnderscores(s),lo(n))),d(xl(n,lt)),Sg(n,(function(e){return e=k_(e)||tt,1&i?gd([e,tt]):e}))}if(!(98304&t.flags)&&Kb(t,402665900)){if(131073&n.flags)return n;var u;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(u=Ud(a),wn.Diagnostics.Type_0_cannot_be_used_as_an_index_type,lo(t)):d(c),1&i?gd([c.type,tt]):c.type);if(131072&t.flags)return ht;if(Md(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),gd(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=function(e,n,t){var r=wn.isAssignmentTarget(n)?"set":"get";if(function(n){if(n=Hc(e,n))return(n=uv(hs(n)))&&1<=fb(n)&&hm(t,db(n,0))}(r))return n=wn.tryGetPropertyAccessOrIdentifierToString(n.expression),void 0===n?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=di(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 Md(n)?Xn:(a&&(u=Ud(a),384&t.flags?fa(u,wn.Diagnostics.Property_0_does_not_exist_on_type_1,""+t.value,lo(n)):12&t.flags?fa(u,wn.Diagnostics.Type_0_has_no_matching_index_signature_for_type_1,lo(n),lo(t)):fa(u,wn.Diagnostics.Type_0_cannot_be_used_as_an_index_type,lo(t))),Io(t)?t:void 0);function d(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 Ud(e){return 205===e.kind?e.argumentExpression:192===e.kind?e.indexType:160===e.kind?e.expression:e}function Vd(e){return!!(77&e.flags)}function jd(e){return!!(134217728&e.flags)&&wn.every(e.types,Vd)}function Kd(e){return!!zd(e)}function Hd(e){return 8388608&zd(e)}function Wd(e){return!!(16777216&zd(e))}function zd(e){return 3145728&e.flags?(4194304&e.objectFlags||(e.objectFlags|=4194304|wn.reduceLeft(e.types,(function(e,n){return e|zd(n)}),0)),25165824&e.objectFlags):33554432&e.flags?(4194304&e.objectFlags||(e.objectFlags|=4194304|zd(e.substitute)|zd(e.baseType)),25165824&e.objectFlags):(58982400&e.flags||Vc(e)||I_(e)?8388608:0)|(465829888&e.flags&&!jd(e)?16777216:0)}function Jd(e){return 262144&e.flags&&e.isThisType}function qd(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=qd(t.objectType,r),o=qd(t.indexType,r),s=function(e,n,t){if(1048576&n.flags)return n=wn.map(n.types,(function(n){return qd(Zd(e,n),t)})),(t?Td:gd)(n)}(i,o,r);return s?t[a]=s:465829888&o.flags||(s=Xd(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(Qd(i,t.indexType),(function(e){return qd(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 qd(t,s);if(Yd(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||Yd(i,a))return qd(n,s)}return o}return e}function Xd(e,n,t){var r;if(3145728&e.flags)return r=wn.map(e.types,(function(e){return qd(Zd(e,n),t)})),(2097152&e.flags||t?Td:gd)(r)}function Yd(e,n){return 131072&gd([Ec(e,n),ht]).flags}function Qd(e,n){return n=Bp([kc(e)],[n]),n=Wp(e.mapper,n),am(Pc(e),n)}function Zd(e,n,t,r,a,i){return ep(e,n,t=void 0===t?0:t,r,a,i)||(r?Zn:nt)}function $d(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,u,d,p;if(!Mm(e)||98304&n.flags||!Kb(n,12)||(n=ct),v.noUncheckedIndexedAccess&&32&t&&(t|=1),Wd(n)||(r&&192!==r.kind?I_(e)&&!$d(n,e.target.fixedLength):Hd(e)&&(!C_(e)||!$d(n,e.target.fixedLength))))return 3&e.flags?e:(s=e.id+","+n.id+","+(l=1&t)+pu(a,i),(o=Nn.get(s))||Nn.set(s,(s=e,c=n,l=l,u=a,d=i,(p=Gi(8388608)).objectType=s,p.indexType=c,p.accessFlags=l,p.aliasSymbol=u,p.aliasTypeArguments=d,o=p)),o);var m=sl(e);if(!(1048576&n.flags)||16&n.flags)return Bd(e,m,n,n,r,72|t);for(var _=[],f=!1,g=0,y=n.types;g<y.length;g++){var h=Bd(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?Td(_,a,i):gd(_,1,a,i)}function np(e){var n,t,r,a=ka(e);return a.resolvedType||(r=Zd(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?Au(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)?Zd(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)?yu(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=Kd(s),l=am(op(e,e.extendsType),n);if(s===Qn||l===Qn)return Qn;var u=void 0,d=(e.inferTypeParameters&&(d=sf(e.inferTypeParameters,void 0,0),c||Cf(d.inferences,s,l,1536),u=n?Wp(d.mapper,n):d.mapper),u?am(op(e,e.extendsType),u):l);if(!c&&!Kd(d)){if(!(3&d.flags)&&(1&s.flags&&!o||!hm(om(s),om(d)))){if(1&s.flags&&!o&&(i=i||[]).push(am(Op(e.node.trueType),u||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&d.flags||hm(sm(s),sm(d))){a=am(Op(e.node.trueType),u||n);break}}(a=Gi(16777216)).root=e,a.checkType=am(e.checkType,n),a.extendsType=am(e.extendsType,n),a.mapper=n,a.combinedMapper=u,a.aliasSymbol=t||e.aliasSymbol,a.aliasTypeArguments=t?r:Mp(e.aliasTypeArguments,n);break}return i?gd(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 up(e){var n;return e.locals&&e.locals.forEach((function(e){262144&e.flags&&(n=wn.append(n,Hs(e)))})),n}function dp(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,di(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):xu(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=qu(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 xd([e,n])?Sg(e,(function(e){return vp(e,n,t,r,a)})):Zn;if(1048576&(n=hp(n,a)).flags)return xd([e,n])?Sg(n,(function(n){return vp(e,n,t,r,a)})):Zn;if(473960444&n.flags)return e;if(Hd(e)||Hd(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 Td(wn.concatenate(i.slice(0,i.length-1),[vp(o,n,t,r,a)]))}return Td([e,n])}for(var s=wn.createSymbolTable(),c=new wn.Set,l=(i=e===kt?Sl(n):bc([e,n]),0),u=zc(n);l<u.length;l++){var d=u[l];24&wn.getDeclarationModifierFlagsFromSymbol(d)?c.add(d.escapedName):bp(d)&&s.set(d.escapedName,Ep(d,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(d=s.get(y.escapedName)),16777216&d.flags&&(f=wn.concatenate(y.declarations,d.declarations),(g=Ea(4|16777216&y.flags,y.escapedName)).type=gd([hs(y),J_(_)]),g.leftSpread=y,g.rightSpread=d,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?au(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+"@"+tk(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 Au(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 ut;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 ku(e);case 175:return e.assertsModifier?yt:ft;case 226:return ku(e);case 179:return Ou(e);case 181:case 182:return(h=ka(y=e)).resolvedType||((f=Qu(y))===wt?h.resolvedType=kt:182===y.kind&&wn.some(y.elements,(function(e){return!!(8&Xu(e))}))||!Zu(y)?(g=181===y.kind?[Op(y.elementType)]:wn.map(y.elements,Op),h.resolvedType=id(f,g)):h.resolvedType=182===y.kind&&0===y.elements.length?f:gu(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=gd(wn.map(g.types,Op),1,_,fp(_))),f.resolvedType;case 186:return(m=ka(_=e)).resolvedType||(p=_p(_),m.resolvedType=Td(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 qu(n)}return wn.isParameter(t)&&wn.isJSDocFunctionType(t.parent)?qu(n):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=kd(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(u=e)).resolvedType||(i=Op(u.checkType),n=fp(t=_p(u)),d=xs(u,!0),d=n?d:wn.filter(d,(function(e){return Qp(e,u)})),i={node:u,checkType:i,extendsType:Op(u.extendsType),isDistributive:!!(262144&i.flags),inferTypeParameters:up(u),outerTypeParameters:d,instantiations:void 0,aliasSymbol:t,aliasTypeArguments:n},r.resolvedType=sp(i,void 0),d&&(i.instantiations=new wn.Map,i.instantiations.set(du(d),r.resolvedType))),r.resolvedType;case 188:return(l=ka(d=e)).resolvedType||(l.resolvedType=Ks(Ii(d.typeParameter))),l.resolvedType;case 196:return(c=ka(l=e)).resolvedType||(c.resolvedType=Od($u([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 dp(e);case 79:case 159:case 204:return c=HS(e),c?Hs(c):Zn;default:return Zn}var c,l,u,d,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(dl(i),(function(t){if(61603843&t.flags&&t!==Qn&&t!==Zn){if(!e.declaration.nameType){if(l_(t))return d=zp(a,g=t,n),(d=nm(r=e,lt,!0,d))===Zn?Zn:qu(d,em(u_(g),Gc(r)));if(I_(t))return p=e,m=a,_=n,f=(d=t).target.elementFlags,g=wn.map(yu(d),(function(e,n){return e=8&f[n]?e:4&f[n]?qu(e):rd([e],[f[n]]),$p(p,zp(m,e,_))})),d=em(d.target.readonly,Gc(p)),rd(g,wn.map(g,(function(e){return 8})),d);if(C_(t))return i=e,o=zp(a,r=t,n),s=r.target.elementFlags,c=wn.map(yu(r),(function(e,n){return nm(i,Dp(""+n),!!(2&s[n]),o)})),l=Gc(i),u=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:rd(c,u,l,r.target.labeledElementDeclarations)}return tm(e,zp(a,t,n))}var r,i,o,s,c,l,u,d,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=du(a=wn.map(s.outerTypeParameters,(function(e){return Up(e,n)})))+pu(t,r),(o=s.instantiations.get(i))||(o=function(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&&void 0!==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=function(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?id(e.target,c):e):1024&l?function(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):function(e,n,t,r){var a,i,o,s,c=4&e.objectFlags?e.node:e.symbol.declarations[0],l=ka(c),u=4&e.objectFlags?l.resolvedType:64&e.objectFlags?e.target:e,d=l.outerTypeParameters;return d||(s=xs(c,!0),Wv(c)&&(o=Il(c),s=wn.addRange(s,o)),d=s||wn.emptyArray,a=4&e.objectFlags?[c]:e.symbol.declarations,d=(4&u.objectFlags||8192&u.symbol.flags||2048&u.symbol.flags)&&!u.aliasTypeArguments?wn.filter(d,(function(e){return wn.some(a,(function(n){return Qp(e,n)}))})):d,l.outerTypeParameters=d),d.length?(i=Wp(e.mapper,n),o=wn.map(d,(function(e){return Up(e,i)})),s=t||e.aliasSymbol,c=t?r:Mp(e.aliasTypeArguments,n),l=du(o)+pu(s,c),u.instantiations||(u.instantiations=new wn.Map,u.instantiations.set(du(d)+pu(u.aliasSymbol,u.aliasTypeArguments),u)),(t=u.instantiations.get(l))||(r=Bp(d,o),t=4&u.objectFlags?gu(e.target,e.node,r,s,c):(32&u.objectFlags?$p:tm)(u,r,s,c),u.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?Td(l,a,i):gd(l,1,a,i));if(4194304&o)return kd(am(e.type,n));if(134217728&o)return Od(e.texts,Mp(e.types,n));if(268435456&o)return wd(e.symbol,am(e.type,n));if(8388608&o)return a=t||e.aliasSymbol,i=t?r:Mp(e.aliasTypeArguments,n),Zd(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?Lu(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 au(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 um(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 um(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 dm(e){return(wn.isInJSFile(e)&&wn.isFunctionDeclaration(e)||Fy(e)||wn.isObjectLiteralMethod(e))&&um(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 Td(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)&&!u_(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)&&function(e,n,t,r,a,i,o){for(var s=hl(n,0),c=hl(n,1),l=0,u=[c,s];l<u.length;l++){var d,p=u[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,d=o||{}),d=d.errors[d.errors.length-1],wn.addRelatedInfo(d,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 td(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=Id(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,u=(s=n,t),d=r,p=i,m=o,_=Am(function(e){var n,t,r;return td(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,u,d,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=Zd(u,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=rd(eh(f,0)),D=function(e,n){var t,r,a,i;return td(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,d,p,m)||_):Bm(Zd(s,y),h,d)||(_=!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 td(this,(function(e){switch(e.label){case 0:return[4,b];case 1:return e.sent(),[2]}}))}(),s,u,d,p,m)||_):Bm(Zd(s,y),h,d)||(_=!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=Zd(u,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=ed(ed({},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=uv(T),T&&(y=hl(S,0),wn.length(y)&&(d=D.body,T=zl(T),y=gd(wn.map(y,zl)),!jm(T,y,x,void 0))))){if(f=d&&Dm(d,T,y,x,void 0,v,p),f)return f;if(f=p||{},jm(T,y,x,d,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,u,d=s.value,p=d.errorNode,m=d.innerExpression,_=d.nameType,f=(d=d.errorMessage,function(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||(u=ep(n,_))&&(c=!!((l=Fd(_,void 0))&&16777216&(gl(t,l)||Jn).flags),l=!!(l&&16777216&(gl(n,l)||Jn).flags),f=W_(f,c),jm(u=W_(u,c&&l),f,r,void 0)||(m&&Dm(m,u,f,r,void 0,a,i)||(c=i||{},jm(l=m?function(e,n){e.contextualType=n;try{return oE(e,1,n)}finally{e.contextualType=void 0}}(m,u):u,f,r,p,d,a,c)&&l!==u&&jm(u,f,r,p,d,a,c),c.errors&&(m=c.errors[c.errors.length-1],l=!1,(f=void 0!==(u=ec(_)?ic(_):void 0)?gl(t,u):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))&&(d=(f&&wn.length(f.declarations)?f:t.symbol).declarations[0],wn.getSourceFileOfNode(d).hasNoDefaultLib||wn.addRelatedInfo(m,wn.createDiagnosticForNode(d,wn.Diagnostics.The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1,!u||8192&_.flags?lo(_):wn.unescapeLeadingUnderscores(u),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 td(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&&sk(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=eu(n),void 0,o):e),u=hb(e),d=hb(n);if((u||d)&&am(u||d,s),u&&d&&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=u||d?Math.min(l,c):Math.max(l,c),y=u||d?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:uv(U_(v)),S=3&t?void 0:uv(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)_&=function(e,n,t,r,a){return 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?(a=e.type===n.type?-1:e.type&&n.type?a(e.type,n.type,t):0,0===a&&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=tk(e)+","+tk(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?_u(e.target,yu(e)):3145728&e.flags?dl(e):33554432&e.flags?n?e.baseType:e.substitute:25165824&e.flags?qd(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,u,d,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&&void 0!==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,$u([_],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 u=l[c];i=u[0],o=u.slice(1),u=i.elidedInCompatabilityPyramid;i.elidedInCompatabilityPyramid=!1,N.apply(void 0,$u([i],o,!1)),i.elidedInCompatabilityPyramid=u}}n&&k.apply(void 0,$u([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&&d_(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):u_(e)&&d_(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,(d=s).flags!==p.flags?0:67358815&d.flags?-1:(w(d,p),3145728&d.flags?((u=M(d,p))&&(u&=M(p,d)),u):U(d,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 u=Dg(l,-98305);if(1179648&u.flags||(l=Vm(u,!0)),s===u)return-1}if(t===Vr&&!(131072&l.flags)&&Gm(l,s,t)||Gm(s,l,t,a?N:void 0))return-1;var d=!!(2048&wn.getObjectFlags(s)),p=!(2&o)&&kf(s)&&16384&wn.getObjectFlags(s);if(p&&function(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)||function(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(u=n,p=e.symbol,u.valueDeclaration&&p.valueDeclaration&&u.valueDeclaration.parent===p.valueDeclaration&&!Um(e,n)){if(!fh(c,n.escapedName,o)){if(a){var t,l,u=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),u))?so(l):void 0)?N(wn.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,p,lo(u),l):N(wn.Diagnostics.Property_0_does_not_exist_on_type_1,p,lo(u))):(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,u):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(u),l):N(wn.Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,so(n),lo(u)))}return{value:!0}}if(s&&!P(hs(n),(p=s,d=n.escapedName,gd(wn.reduceLeft(p,(function(e,n){var t=(3145728&(n=ol(n)).flags?ul:Hc)(n,d);n=t&&hs(t)||(null==(t=Cl(n,d))?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 d,p}),u=0,d=zc(e);u<d.length;u++){var p=d[u];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&&!function(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,d))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=function(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 Td(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,d),y;function v(t,o,s,l){if(!s&&a){s=!!__(e);var u=!!__(n);s=(t=e.aliasSymbol||s?e:t,o=n.aliasSymbol||u?n:o,0<b);if(s&&b--,524288&t.flags&&524288&o.flags&&(u=c,R(t,o,a),c!==u)&&(s=!!c),524288&t.flags&&131068&o.flags)u=o,p=mo((d=t).symbol)?lo(d,d.symbol.valueDeclaration):lo(d),_=mo(u.symbol)?lo(u,u.symbol.valueDeclaration):lo(u),(Fe===d&&ct===u||Ge===d&&lt===u||Be===d&&ft===u||Vu(!1)===d&&gt===u)&&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(d=o.types,u=rh(Mn.IntrinsicAttributes,r),_=rh(Mn.IntrinsicClassAttributes,r),u!==Zn&&_!==Zn&&(wn.contains(d,u)||wn.contains(d,_)))return}else c=fl(c,n);!i&&s?m=[t,o]:k(i,t,o)}var d,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(dd(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&&dd(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 u=P(l,s.types[c%s.types.length],!1,void 0,r);if(u){i&=u;continue}}if(u=P(l,n,t,void 0,r),!u)return 0;i&=u}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(u){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===u[c]||s===u[c])return 3;if(100===g)return h=!0,0}else u=[],d=[],p=[];var l,m=f,_=(o=(u[f]=i,f++,d[g]=e,p[g]=n,g++,y),1&y||!r_(e,d,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&&void 0!==wn.tracing&&wn.tracing.instant("checkTypes","recursiveTypeRelatedTo_DepthLimit",{sourceId:e.id,sourceIdStack:d.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(u[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&&void 0!==wn.tracing&&wn.tracing.push("checkTypes","structuredTypeRelatedTo",{sourceId:e.id,targetId:n.id}),e=function(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 function(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=Td(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,u=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(yu(e)[0],n))||N_(n)&&(n.target.readonly||d_($c(e)||e))&&(o=P(e,yu(n)[0])))return o;if(262144&n.flags){if(32&wn.getObjectFlags(e)&&!e.declaration.nameType&&P(kd(n),Rc(e))&&!(4&Gc(e))){var d=Pc(e),p=Zd(n,kc(e));if(o=P(d,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,sd(m),r))return o}else{var _=Xc(m);if(_&&-1===P(e,kd(_,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(u),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(!Hd(g)&&!Wd(f)&&(_=ep(g,f,4|(g!==m?2:0)))){if(r&&s&&L(u),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=kd(e,void 0,!0),g=4&g;var y=g?Ec(m,f):void 0;if(g?!(131072&y.flags):P(m,f))if(d=Pc(n),g=kc(n),m=Dg(d,-98305),8388608&m.flags&&m.indexType===g){if(o=P(e,m.objectType,r))return o}else if(f=y?Td([y,g]):g,p=Zd(e,f),o=P(p,d,r))return o;s=c,L(u)}}}else if(16777216&n.flags){if(m=n,y=!hm(om(m.checkType),om(m.extendsType)),g=!y&&function(e){var n=e.root.inferTypeParameters&&Bp(e.root.inferTypeParameters,wn.map(e.root.inferTypeParameters,(function(){return Qn}))),t=e.checkType;e=e.extendsType;return hm(sm(t),sm(am(e,n)))}(m),f=void 0,p=rp(m.root.checkType),p=void(m.root.isDistributive&&262144&p.flags&&(d=qp(p),f=zp(p,d,m.mapper),d.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(u),p}else if(134217728&n.flags&&(134217728&e.flags&&am(e,jp(K)),d=Lf(e,n),d&&wn.every(d,(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&&function(e){var n=wn.createScanner(99,!1),t=!0,r=(n.setOnError((function(){return t=!1})),n.setText(e+"n"),n.scan());40===r&&(r=n.scan());var a=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(u),o}else{if(o=P(_,n,!1,void 0,a))return L(u),o;if(o=P(uc(_,e),n,r&&!(n.flags&e.flags&262144),void 0,a))return L(u),o}}else if(4194304&e.flags){if(o=P(Dt,n,r))return L(u),o}else if(134217728&e.flags){if(!(134217728&n.flags)&&(y=$c(e),o=P(_=y&&y!==e?y:ct,n,r)))return L(u),o}else if(268435456&e.flags){if(268435456&n.flags&&e.symbol===n.symbol){if(o=P(e.type,n.type,r))return L(u),o}else if((_=$c(e))&&(o=P(_,n,r)))return L(u),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(u),o}else if(d=Qc(e),d&&(o=P(d,n,r)))return L(u),o;if(y=Yc(e),y&&(o=P(y,n,r)))return L(u),o}else{if(t!==Gr&&t!==Br&&function(e){return 32&wn.getObjectFlags(e)&&4&Gc(e)}(n)&&Pm(e))return-1;if(Vc(n))return Vc(e)&&(o=function(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(u),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(yu(e),yu(n),h,a)))return v}else{if(u_(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===u.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||u.errorInfo;else if(o)return o;if(2621440&e.flags&&1048576&n.flags&&(p=Dg(n,36175872),1048576&p.flags&&(f=function(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*=function(e){return 1048576&e.flags?e.types.length:1}(vs(s))))return null!==wn.tracing&&void 0!==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,u=0;u<r.length;u++){var d=vs(s=r[u]);c[u]=1048576&d.flags?d.types:[d],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 u=function(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"===u)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=function(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,u=7&l;if(4!=u){var d=e[c],p=n[c],m=-1;if(8&l?m=t===jr?P(d,p,!1):_m(d,p):1==u?m=P(d,p,a,void 0,i):2==u?m=P(p,d,a,void 0,i):3==u?m=(m=P(p,d,!1))||P(d,p,a,void 0,i):(m=P(d,p,a,void 0,i))&&(m&=P(p,d,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(u);else if(e=n&&function(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(u)}}}(e,n,r,a),null!==wn.tracing&&void 0!==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),u=wn.getDeclarationModifierFlagsFromSymbol(r);if(8&l||8&u){if(t.valueDeclaration!==r.valueDeclaration)return i&&(8&l&&8&u?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&u){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;u=t,l=r,a=a,d=i,o=o,p=x&&!!(48&wn.getCheckFlags(l)),l=Vo(vs(l),!1,p);var d,p=P(a(u),l,d,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),u=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(""===u.escapedText?Gn:u))}var u;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,$u([wn.Diagnostics.Property_0_is_missing_in_type_1_but_required_in_type_2,s],uo(e,n),!1)),wn.length(t.declarations)&&(u=wn.createDiagnosticForNode(t.declarations[0],wn.Diagnostics._0_is_declared_here,s),wn.Debug.assert(!!c),l?l.push(u):l=[u]),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,u=0,d=o;u<d.length;u++){var p=d[u],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&&(u_(e)||C_(e)&&e.target.readonly))return 0;var f=hu(e),g=hu(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=yu(e),b=yu(n),E=Math.min(C_(e)?cd(e.target,11):0,cd(n.target,11)),T=Math.min(C_(e)?ld(e.target,11):0,o?ld(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?qu(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,u=0;u<s.length;u++){var d=s_(s[u],c[u],!1,!1,!1,P);if(!d)return 0;l&=d}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(!function(e,n,t){return e.declaration&&n.declaration?(e=wn.getSelectedEffectiveModifierFlags(e.declaration,24),n=wn.getSelectedEffectiveModifierFlags(n.declaration,24),8===n||16===n&&8!==e?1:16===n||e?void(t&&N(wn.Diagnostics.Cannot_assign_a_0_constructor_type_to_a_1_constructor_type,yo(e),yo(n))):1):1}(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,u=s;l<u.length;l++){var d=u[l],p=xl(o,d.keyType);if(!p||!P(p.type,d.type)||p.isReadonly!==d.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):function(e,n,t,r){var a=Al(e,n.keyType);return a?Z(a,n,t):1&r||!q_(e)?(t&&N(wn.Diagnostics.Index_signature_for_type_0_is_missing_in_type_1,lo(n.keyType),lo(e)),0):function(e,n,t){for(var r=-1,a=n.keyType,i=0,o=(2097152&e.flags?Wc:Kc)(e);i<o.length;i++){var s=o[i];if(!Um(e,s)&&El(Id(s,8576),a)){var c=vs(s);if(!(d=P(O||32768&c.flags||a===lt||!(16777216&s.flags)?c:rg(c,524288),n.type,t)))return t&&N(wn.Diagnostics.Property_0_is_incompatible_with_index_signature,so(s)),0;r&=d}}for(var l=0,u=Sl(e);l<u.length;l++){var d,p=u[l];if(El(p.keyType,a)){if(!(d=Z(p,n,t)))return 0;r&=d}}return r}(e,n,t)}(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)||function(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)||function(e,n){if(128&wn.getObjectFlags(e)&&vg(n,m_))return wn.find(n.types,(function(e){return!m_(e)}))}(e,n)||function(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)||function(e,n){for(var t,r=0,a=0,i=n.types;a<i.length;a++){var o,s=i[a],c=Td([kd(e),kd(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],u=c[1];c=ll(e,u);if(!(a&&c&&16&wn.getCheckFlags(c)))for(var d=0,p=0,m=e.types;p<m.length;p++){var _=Co(m[p],u);_&&t(l(),_)?i[d]=void 0===i[d]||i[d]:i[d]=!1,d++}}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=_u(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=bu(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&&void 0!==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++)!function(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);c=(hm(c,s)?1:0)|(hm(s,c)?2:0);3===c&&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&&void 0!==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(yu(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=yu(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(d=e),u=_b(p),_=fb(d),m=fb(p),d=gb(d),p=gb(p),(l!==u||_!==m||d!==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(lu(h),o)||nt,lu(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 u=Kl(n);if(u){if(!(y=i(l,u)))return 0;c&=y}}}var d,p,m,_,f=_b(n);for(s=0;s<f;s++){var g,y,h=db(e,s);if(!(y=i(g=db(n,s),h)))return 0;c&=y}return a||(d=Hl(e),p=Hl(n),c&=d||p?(t=p,_=i,(m=d)&&t&&yd(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]:function(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)?gd(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 u_(e){return!!(4&wn.getObjectFlags(e))&&e.target===Me}function d_(e){return l_(e)&&!u_(e)||C_(e)&&!e.target.readonly}function p_(e){return l_(e)?yu(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,yu(e).slice(0,n.typeParameters.length))):t[0],wn.length(yu(e))>wn.length(n.typeParameters)&&(t=uc(t,wn.last(yu(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?ut: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)?ut: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=hu(e)-t;if(n<a){for(var i=yu(e),o=[],s=n;s<a;s++){var c=i[s];o.push(8&e.target.elementFlags[s]?Zd(c,lt):c)}return(r?Td:gd)(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===dt||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?ur:8&e.flags?dr:64&e.flags?pr:e===pt||e===dt||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:gd(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:gd([e,n?it:tt])}function U_(e){return x?(n=rg(n=e,2097152),(We=We||Fu("NonNullable",524288,void 0)||Jn)!==Jn?bu(We,[n]):n):e;var n}function V_(e){return x?gd([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&&dd(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=function(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 u=l[c];s.set(u.escapedName,(r=n,a=void 0,4&(t=u).flags&&(r=nf(a=hs(t),r&&Q_(r,t.escapedName,void 0)))!==a?X_(t,r):t))}if(n)for(var d=0,p=Z_(n);d<p.length;d++)u=p[d],s.has(u.escapedName)||s.set(u.escapedName,(i=u,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 au(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=gd(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=Td(wn.sameMap(e.types,ef)):(l_(e)||C_(e))&&(a=_u(e.target,wn.sameMap(yu(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(u=a[r])&&(t=!0);if(l_(n)||C_(n))for(var i=0,o=yu(n);i<o.length;i++)e(u=o[i])&&(t=!0);if(kf(n))for(var s=0,c=Kc(n);s<c.length;s++){var l=c[s],u=hs(l);131072&wn.getObjectFlags(u)&&(e(u)||fa(l.valueDeclaration,wn.Diagnostics.Object_literal_s_property_0_implicitly_has_an_1_type,so(l),lo(ef(u))),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(db(e,c),db(n,c));o&&t(mb(e,s),o)}function of(e,n,t){var r=Hl(e),a=Hl(n);r&&a&&yd(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(df),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&&(uf(r),i.isFixed=!0),wf(e,a)}return n}function uf(e){for(var n=0,t=e;n<t.length;n++){var r=t[n];r.isFixed||(r.inferredType=void 0)}}function df(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(yu(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=function(e,n,t){if(xl(e,ct)||0!==zc(e).length&&hf(e)){if(l_(e))return qu(vf(yu(e)[0],n,t),u_(e));var r;if(C_(e))return a=wn.map(yu(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,rd(a,r,e.target.readonly,e.target.labeledElementDeclarations);var a=Vi(1040,void 0);return a.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(yu(e),hf)}function vf(e,n,t){return t=Zd(t.type,kc(n)),n=Pc(n),t=df(t),Cf([t],e,n),Tf(t)||nt}function bf(e,n,t,r){var a,i,o,s,c,l;return td(this,(function(u){switch(u.label){case 0:i=zc(n),a=0,i=i,u.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 u.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:u.sent(),u.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?gd(e.candidates,2):e.contraCandidates?Td(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:Od(["",""],[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),u=[],d=0,p=t.length,m=1;m<s;m++){var _=o[m];if(0<_.length){for(var f=d,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(d).length)h(d,p+1);else{if(!(d<r))return;h(d+1,0)}}return h(r,y(r).length),u}function y(n){return n<r?e[n]:l}function h(t,r){var a=t===d?Dp(y(t).slice(p,r)):Od($u($u([e[d].slice(p)],e.slice(d+1,t),!0),[y(t).slice(0,r)],!1),n.slice(d,t));u.push(a),d=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,u=2048,d=!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=gd(L),0===x.length)return void _(n,o,1);n=gd(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=Td(x),o=Td(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),uf(e)):wn.contains(S.candidates,x)||(S.candidates=wn.append(S.candidates,x),uf(e))),!(128&r)&&262144&o.flags&&S.topLevel&&!gf(t,o)&&(S.topLevel=!1,uf(e))),void(u=Math.min(u,r));(L=qd(o,!1))!==o?f(n,L,m):8388608&o.flags&&465829888&(x=qd(o.indexType,!1)).flags&&(S=Xd(qd(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?[au(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=dl(n),!(512&r&&467927040&n.flags)){if(S=ol(n),S!==n&&d&&!(2621440&S.flags))return d=!1,m(S,o);n=S}2621440&n.flags&&f(n,o,T)}else y(yu(n),yu(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,d=o&&o.get(l);void 0!==d||((o=o||new wn.Map).set(l,-1),d=u,u=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()):u=-1,p=r,o.set(l,u)),u=Math.min(u,d)}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 u=l[c];t(u,s)&&(m(u,s),r=wn.appendIfUnique(r,u),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,d=n;l<d.length;l++)if(v(b=d[l]))i=b,a++;else for(var p=0;p<o.length;p++){var f=u;u=2048,m(o[p],b),u===r&&(s[p]=!0),c=c||-1===u,u=Math.min(u,f)}if(0===a)return void((g=function(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(gd(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(yu(e),yu(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)&&(_(kd(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(gd(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=hu(e),s=hu(n),c=yu(n),l=n.target.elementFlags;if(C_(e)&&(t=n,hu(i=e)===hu(t))&&wn.every(i.target.elementFlags,(function(e,n){return(12&e)==(12&t.target.elementFlags[n])}))){for(var u=0;u<s;u++)m(yu(e)[u],c[u]);return}var d=C_(e)?Math.min(e.target.fixedLength,n.target.fixedLength):0,p=Math.min(C_(e)?ld(e.target,3):0,n.target.hasRestElement?ld(n.target,3):0);for(u=0;u<d;u++)m(yu(e)[u],c[u]);if(!C_(e)||o-d-p==1&&4&e.target.elementFlags[d]){var f=yu(e)[d];for(u=d;u<s-p;u++)m(8&l[u]?qu(f):f,c[u])}else{var g=s-d-p;2==g&&l[d]&l[d+1]&8&&C_(e)?(b=v(c[d]))&&void 0!==b.impliedArity&&(m(od(e,d,p+o-b.impliedArity),c[d]),m(od(e,d+b.impliedArity,p),c[d+1])):1==g&&8&l[d]?(b=2&n.target.elementFlags[s-1],_(C_(e)?od(e,d,p):qu(yu(e)[0]),c[d],b?2:0)):1==g&&4&l[d]&&(f=C_(e)?R_(e,d,p):yu(e)[0])&&m(f,c[d])}for(u=0;u<p;u++)m(yu(e)[o-u-1],c[s-u-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)),u=0;u<s;u++){d=f=_=p=void 0;var d,p=function(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+u]),_=$l(a[o-s+u]),f=c;f||(f=l,d=_.declaration?_.declaration.kind:0,l=l||167===d||166===d||169===d,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,u=c[s];El(Id(u,8576),i.keyType)&&(l=hs(u),o.push(16777216&u.flags?J_(l):l))}for(var d=0,p=Sl(e);d<p.length;d++){var m=p[d];El(m.keyType,i.keyType)&&o.push(m.type)}o.length&&_(gd(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?Td(e.contraCandidates):(e=e.contraCandidates,wn.reduceLeft(e,(function(e,n){return ym(n,e)?n:e})))}function Pf(e,n){var t=function(e){if(1<e.length){var n=wn.filter(e,Rf);if(n.length)return n=gd(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?gd(r,2):(n=r,x?(t=wn.filter(n,(function(e){return!(98304&e.flags)}))).length?G_(c_(t),98304&P_(n)):gd(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,uc(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=function(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===dt||e===pt?12121864:7927560:e===dt||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?jd(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?gd([Oo(e),_E(n)]):e}function ig(e,n){n=Cd(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?gd([e,tt]):e)}function cg(e){return qu(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 ug(e){return ig(dg(e.parent),e.name)}function dg(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(dg(t),t.right):_E(t.right);case 213:return tt;case 202:return t=e,og(dg(n=r),n.elements.indexOf(t));case 223:return cg(dg(r.parent));case 291:return ug(r);case 292:return ag(ug(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&&function(e,n){if(1048576&e.flags){for(var t=0,r=e.types;t<r.length;t++){var a=r[t];if(!dd(n.types,a))return}return 1}return 1024&e.flags&&Us(e)===n?1:dd(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=fd(1048576,o)}}return hd(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&&gd(r,t?0:1):e}function xg(e,n,t,r){return 1048576&e.flags&&t?gd(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(ut,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(gd([e.elementType,n]))}function Og(e){return e.finalArrayType||(e.finalArrayType=131072&(e=e.elementType).flags?Ke:qu(1048576&e.flags?gd(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(d(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 u(){return i?a:(i=!0,a=function e(n,t,r,a){switch(n.kind){case 79:return(o=Bf(n))!==Jn?(a?nk(a):"-1")+"|"+t.id+"|"+r.id+"|"+tk(o):void 0;case 108:return"0|"+(a?nk(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 d(a){if(2e3===o)return null!==wn.tracing&&void 0!==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=function(t){var r=t.node;if(Vf(e,r))return Vg(t)?2===wn.getAssignmentTargetKind(r)?Ng(S_(Ig(a=d(t.antecedent))),Cg(a)):n===Yn||n===Ke?function(e){return 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 d(t.antecedent)}return n}return wn.isVariableDeclaration(r)&&241===r.parent.parent.kind&&Vf(e,r.parent.parent.expression)?xh(Ig(d(t.antecedent))):void 0}(a))){a=a.antecedent;continue}}else if(512&g){if(!(h=function(e){var n=Bg(e.node);if(n){var t,r,a=Hl(n);if(a&&(2===a.kind||3===a.kind))return t=d(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 gd([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=function(e){var n=d(e.antecedent),t=Ig(n);if(131072&t.flags)return n;var r=0!=(32&e.flags);t=Pg(t),e=R(t,e.node,r);return e!==t?Ng(e,Cg(n)):n}(a);else if(128&g)h=function(n){var t=n.switchStatement.expression,r=d(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=function(e,n,t,r){if(n=gg(n,!0),!n.length)return e;var a,i,o,s=wn.findIndex(n,(function(e){return void 0===e})),c=t===r||t<=s&&s<r;if(i=-1<s?(o=n.filter((function(e){return void 0!==e})),l=s<t?t-1:t,s=s<r?r-1:r,a=o.slice(l,s),Ib(l,s,o,c)):(a=n.slice(t,r),Ib(t,r,n,c)),c)return Eg(e,(function(e){return(tg(e)&i)===i}));var l=rg(gd(a.map((function(n){return D(e,n)||e}))),i);return rg(Sg(e,A(l)),i)}(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=function(e,n,t,r,a){if(r<a&&1048576&e.flags&&qf(e)===jf(n)){var i=fg(t).slice(r,a);i=gd(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?function(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 u=d(l);if((p=Ig(u))===n&&n===t)return p;wn.pushIfUnique(a,p),yg(p,n)||(i=!0),Cg(u)&&(o=!0)}}if(r){var p=Ig(u=d(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(u)&&(o=!0)}}return Ng(m(a,i?2:1),o)}:function(e){var t=$f(e),r=Er[t]||(Er[t]=new wn.Map),a=u();if(!a)return n;if(t=r.get(a),t)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=d(_),vn=g,or--,r.get(a));if(g)return g}else f=o=d(_);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=function(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=d(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=d(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:dg)(n),e)}function m(e,t){return function(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(gd(wn.map(e,wg))):(e=gd(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=function(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||Jd(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?gd(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):gd([R(n,t.left,!1),R(n,t.right,!1)]);case 56:return r?gd([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:gd([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 gd(void 0===o?i:o)}var l=gd(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:gd([t,r])):t}function D(e,n){switch(n){case"function":return 1&e.flags?e:Re;case"object":return 2&e.flags?gd([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 Td([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:Td([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,u=r;if(Zf(l,e)){var d=u||!wn.isCallChain(l)?Bg(l):void 0;d=d&&Hl(d);if(d&&(0===d.kind||1===d.kind))return k(c,d,l,u)}return z_(c)&&wn.isAccessExpression(e)&&wn.isPropertyAccessExpression(l.expression)&&(d=l.expression,Vf(e.expression,_g(d.expression))&&wn.isIdentifier(d.name)&&"hasOwnProperty"===d.name.escapedText&&1===l.arguments.length&&(d=l.arguments[0],wn.isStringLiteralLike(d)&&jf(e)===wn.escapeLeadingUnderscores(d.text)))?rg(c,u?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)&&Wd(_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))||Kd(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)&&Gd(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=function(e,n){return!!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=function(e,n){return 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&&function(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 u=162===wn.getRootDeclaration(i).kind,d=Hg(i),p=Hg(e),m=p!==d,_=e.parent&&e.parent.parent&&wn.isSpreadAssignment(e.parent)&&lg(e.parent.parent),f=134217728&t.flags;p!==d&&(211===p.kind||212===p.kind||wn.isObjectLiteralOrClassExpressionMethod(p))&&(Jg(r)&&s!==Ke||u&&!Wg(r));)p=Hg(p);var g,y,h;a=u||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?u?(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&&function(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&&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||uy(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 function(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):uc(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?yu(e)[0]:void 0}function uy(e){if(212!==e.kind){if(dm(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 dy(e){var n,t,r,a,i=e.parent;if(dm(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 dy(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=Cd(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,sk(t)&&e<=n?Zd(hs(t.parameters[e]),Ap(n-e),256):db(t,n))}function hy(e,n){var t=e.parent,r=t.left,a=t.operatorToken,i=t.right;switch(a.kind){case 63:case 76:case 75:case 77:if(e===i){var o=t,s=wn.getAssignmentDeclarationKind(o);switch(s){case 0:case 4:var c=function(e){return e.symbol?e.symbol:wn.isIdentifier(e)?Bf(e):wn.isPropertyAccessExpression(e)?(n=_E(e.expression),wn.isPrivateIdentifier(e.name)?function(e,n){return n=Oh(n.escapedText,n),n&&Ph(e,n)}(n,e.name):gl(n,e.name.escapedText)):void 0;var n}(o.left),l=c&&c.valueDeclaration;return l&&(wn.isPropertyDeclaration(l)||wn.isPropertySignature(l))?(u=wn.getEffectiveTypeAnnotationNode(l))&&am(Op(u),Na(c).mapper)||l.initializer&&_E(o.left):0===s?_E(o.left):by(o);case 5:if(vy(o,s))return by(o);if(o.left.symbol){if(c=o.left.symbol.valueDeclaration,!c)return;l=wn.cast(o.left,wn.isAccessExpression);if(u=wn.getEffectiveTypeAnnotationNode(c))return Op(u);if(wn.isIdentifier(l.expression)){var u=l.expression;u=Ma(u,u.escapedText,111551,void 0,u.escapedText,!0);if(u)return u=u.valueDeclaration&&wn.getEffectiveTypeAnnotationNode(u.valueDeclaration),u&&(l=wn.getElementOrPropertyAccessName(l),void 0!==l)?Ey(Op(u),l):void 0}return wn.isInJSFile(c)?void 0:_E(o.left)}return _E(o.left);case 1:case 6:case 3:var d=null==(u=o.left.symbol)?void 0:u.valueDeclaration;case 2:return c=(d=d||(null==(l=o.symbol)?void 0:l.valueDeclaration))&&wn.getEffectiveTypeAnnotationNode(d),c?Op(c):void 0;case 7:case 8:case 9:return wn.Debug.fail("Does not apply");default:return wn.Debug.assertNever(s)}return}return;case 56:case 60:var p=ky(t,n);return e===i&&(p&&p.pattern||!p&&!wn.isDefaultedExpandoInitializer(t))?_E(r):p;case 55:case 27:return e===i?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 Qd(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=Cd(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)?Zd(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)?function(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,dE))){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?gd(wn.map(e.types,(function(e){return Ny(e,n)})),0):2097152&e.flags?Td(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))&&gd([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))&&gd([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 d=n,u=(l=e).parent,l===u.whenTrue||l===u.whenFalse?ky(u,d):void 0;case 231:wn.Debug.assert(221===t.parent.kind);var l=t.parent,u=e;return 208===l.parent.kind?gy(l.parent,u):void 0;case 210:var d=wn.isInJSFile(t)?wn.getJSDocTypeTag(t):void 0;return d?Op(d.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)?function(e,n){return e=bb(e,nt),e=Py(n,oh(n),e),n=rh(Mn.IntrinsicAttributes,n),n!==Zn&&(e=Ec(n,e)),e}:function(e,n){var t=oh(n),r=function(e){return sh(Mn.ElementAttributesPropertyNameContainer,e)}(t),a=void 0===r?bb(e,nt):""===r?zl(e):function(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 Td(t)}return e=zl(e),Io(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?_u(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)?nu(Vv(i,o=uh(i))):128&(r=nE(i.tagName)).flags?(o=lh(r,i))?nu(Vv(i,o)):Zn:r;if(524288&n.flags){var o=Na(n).typeParameters;if(2<=wn.length(o))return bu(n,Fl([i,t],o,2,wn.isInJSFile(e)))}if(2<=wn.length(a.typeParameters))return _u(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)),c=t.declaration,i=function(e,n,t){for(var r=_b(e),a=_b(n),i=a<=r?e:n,o=i===e?n:e,s=i===e?r:a,c=gb(e)||gb(n),l=c&&!gb(i),u=new Array(s+(l?1:0)),d=0;d<s;d++){var p=pb(i,d),m=(i===n&&(p=am(p,t)),pb(o,d)||nt),_=(p=(o===n&&(m=am(m,t)),gd([p,m])),m=c&&!l&&d===s-1,d>=fb(i)&&d>=fb(o)),f=r<=d?void 0:cb(e,d),g=a<=d?void 0:cb(n,d);_=Ea(1|(_&&!m?16777216:0),(f===g?f:f?g?void 0:f:g)||"arg"+d);_.type=m?qu(p):p,u[d]=_}var y;return l&&((y=Ea(1,"args")).type=qu(db(o,s)),o===n&&(y.type=am(y.type,t)),u[s]=y),u}(t,n,r),o=function(e,n,t){return e&&n?(t=gd([hs(e),am(hs(n),t)]),X_(e,t)):e||n}(t.thisParameter,n.thisParameter,r),s=Math.max(t.minArgumentCount,n.minArgumentCount),(c=pc(c,a,o,i,void 0,void 0,s,39&(t.flags|n.flags))).compositeKind=2097152,c.compositeSignatures=wn.concatenate(2097152===t.compositeKind&&t.compositeSignatures||[t],[n]),r&&(c.mapper=2097152===t.compositeKind&&t.mapper&&t.compositeSignatures?Wp(t.mapper,r):r),c):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),u=0;u<a;u++){var d,p,m=r[u];223===m.kind?(b<2&&kx(m,v.downlevelIteration?1536:1024),m_(d=yE(m.expression,n,t))?(i.push(d),o.push(8)):(c?(p=Ll(d,lt)||NT(65,d,tt,void 0,!1)||nt,i.push(p)):i.push(IT(33,d,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?rd(i,o):t||e||s&&vg(s,y_)?jy(rd(i,o,e)):jy(qu(i.length?gd(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=fu(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 au(r,i.length?gd(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=(function(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 u=l[c];130===u.kind&&167===i.kind||rL(u,wn.Diagnostics._0_modifier_cannot_be_used_here,wn.getTextOfNode(u))}var d=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),d=4;break;case 167:d=8;break;case 170:d=1;break;case 171:d=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&d&&12&p)rL(s,wn.Diagnostics.Duplicate_identifier_0,wn.getTextOfNode(s));else{if(!(3&d&&3&p))return rL(s,wn.Diagnostics.An_object_literal_cannot_have_property_and_accessor_with_the_same_name);if(3===p||d===p)return rL(s,wn.Diagnostics.An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name);t.set(o,d|p)}else t.set(o,d)}}}}(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),u=l?8:0,d=wn.isInJSFile(e)&&!wn.isInJsonFile(e),p=wn.getJSDocEnumTag(e),m=!s&&d&&!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=(d&&((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|u):Ea(4|I.flags,I.escapedName,u);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=dl(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,u=2048,d=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),u|=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===d&&(l=!0)):(wn.Debug.assert(285===g.kind),0<o.size&&(s=vp(s,v(),a.symbol,u,!1),o=wn.createSymbolTable()),Io(f=dl(nE(g.expression,r)))&&(c=!0),Yy(f)?(s=vp(s,f,a.symbol,u,!1),i&&nh(f,i,g)):t=t?Td([t,f]):f)}c||0<o.size&&(s=vp(s,v(),a.symbol,u,!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)&&d&&""!==d&&(l&&fa(a,wn.Diagnostics._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,wn.unescapeLeadingUnderscores(d)),e=(e=Cy(e.attributes))&&Ey(e,d),(h=Ea(4,d)).type=1===n.length?n[0]:e&&vg(e,y_)?rd(n):qu(gd(n)),h.valueDeclaration=wn.factory.createPropertySignature(void 0,wn.unescapeLeadingUnderscores(d),void 0,void 0),wn.setParent(h.valueDeclaration,a),h.valueDeclaration.symbol=h,(e=wn.createSymbolTable()).set(d,h),s=vp(s,zi(a.symbol,e,wn.emptyArray,wn.emptyArray,wn.emptyArray),a.symbol,u,!1)),c?Xn:t&&s!==Rt?Td([t,s]):t||(s===Rt?v():s);function v(){u|=R;var e=zi(a.symbol,o,wn.emptyArray,wn.emptyArray,wn.emptyArray);return e.objectFlags|=262272|u,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(Fu(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 uh(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 dh(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 gd([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&&function(e){(function(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=dh(i))&&jm(a,s,Ur,i.tagName,wn.Diagnostics.Its_instance_type_0_is_not_a_valid_JSX_element,l):(o=mh(i),s=dh(i),o&&s&&jm(a,gd([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=function(e){return e=wn.getThisContainer(e,!1),e&&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 u,d,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&&(u=wn.getContainingClass(_.valueDeclaration),d=wn.findAncestor(e,(function(e){return e===u?"quit":!(!wn.isPropertyDeclaration(e.parent)||!wn.hasStaticModifier(e.parent)||e.parent.initializer!==e||e.parent.parent!==u)})))&&(p=Ii(d.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(d.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)&&function(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)&&Gd(e,m)&&ba(r,m.declarations,r.escapedText),d=e,p=r,(l=(_=m).valueDeclaration)&&!wn.getSourceFileOfNode(d).isDeclarationFile&&(i=wn.idText(p),!Bh(d)||function(e){return wn.isPropertyDeclaration(e)&&e.questionToken}(l)||wn.isAccessExpression(d)&&wn.isAccessExpression(d.expression)||Pa(l,p)||!v.useDefineForClassFields&&function(e){if(32&e.parent.flags)for(var n=hs(e.parent);;){if(!(n=n.symbol&&function(e){if(e=Ps(e),0!==e.length)return Td(e)}(n)))return;var t=gl(n,e.escapedName);if(t&&t.valueDeclaration)return 1}}(_)?255!==l.kind||176===d.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&&Hd(t)&&!Jd(t)?void 0:Cl(c,r.escapedText),!l||!l.type){if(o=Fh(e,t.symbol,!0),!o&&Md(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=Jd(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=function(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=function(e){return v.lib&&!v.lib.includes("dom")&&function(e,n){return 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)?gd([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)&&uS(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=function(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&&function(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|(Hd(n)&&!Jd(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(db(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 uv(e){return pv(e,0,!1)}function dv(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=uv(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?nu(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,dE)?mf((l=m,(p=wn.filter(l.inferences,dE)).length?cf(wn.map(p,pf),l.signature,l.flags,l.compareTypes):void 0)):void 0);var i,o,s,c,l,u=hb(n),d=u?Math.min(_b(n)-1,t.length):t.length,p=(u&&262144&u.flags&&(m=wn.find(a.inferences,(function(e){return e.typeParameter===u})))&&(m.impliedArity=wn.findIndex(t,av,d)<0?t.length-d:void 0),Kl(n));p&&(l=Tv(e),Cf(a.inferences,_v(l),p));for(var m,_=0;_<d;_++){var f,g=t[_];225!==g.kind&&(f=eE(g,g=db(n,_),a,r),Cf(a.inferences,f,g))}return u&&(m=yv(t,d,t.length,u,a,r),Cf(a.inferences,m,u)),Ff(a)}function gv(e){return 1048576&e.flags?Sg(e,gv):1&e.flags||d_($c(e)||e)?e:C_(e)?rd(yu(e),e.target.elementFlags,!1,e.target.labeledElementDeclarations):rd([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,u=[],d=[],p=[],m=n;m<t;m++)av(o=e[m])?m_(s=230===o.kind?o.type:yE(o.expression))?(u.push(s),d.push(8)):(u.push(IT(33,s,tt,223===o.kind?o.expression:o)),d.push(4)):(c=eE(o,s=Zd(r,Ap(m-n),256),a,i),l=jb(s,406978556),u.push((l?xp:x_)(c)),d.push(1)),230===o.kind&&o.tupleNameSource&&p.push(o.tupleNameSource);return rd(u,d,!1,wn.length(p)===wn.length(u)?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,u=r||wn.Diagnostics.Type_0_does_not_satisfy_the_constraint_1,d=d||Bp(i,o),p=o[s];if(!Tm(p,uc(am(c,d),p),t?n[s]:void 0,u,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),function(){if(ih(e))return 1;var n=wn.isJsxOpeningElement(e)||wn.isJsxSelfClosingElement(e)&&!Zy(e.tagName)?yE(e.tagName):void 0;if(!n)return 1;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 u=hl(db(l[c],0),0);if(wn.length(u))for(var d=0,p=u;d<p.length;d++){var m=p[d];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),u=_v(l),d=(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(u,c,r,l,d,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=(u=hb(t),u?Math.min(_b(t)-1,n.length):n.length),_=0;_<m;_++){var f=n[_];if(225!==f.kind){var g=db(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(u&&(c=yv(n,m,n.length,u,void 0,a),d=n.length-m,l=i?0==d?e:1==d?n[m]:wn.setTextRangePosEnd(Sv(e,c),n[m].pos,n[n.length-1].end):void 0,!jm(c,u,r,l,p,void 0,s)))return wn.Debug.assert(!i||!!s.errors,"rest parameter should have errors when reporting errors"),h(l,c,u),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,(dn=dn||Gu("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,function(e){var n=Ii(e.parent);return(wn.isStatic(e)?hs:Hs)(n)}(r)),Sv(a,function(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?Ju(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++)!function(e){var n=o[e],t=223===n.kind&&(or?yE:nE)(n.expression);t&&C_(t)?wn.forEach(yu(t),(function(e,r){var a=t.target.elementFlags[r];a=Sv(n,4&a?qu(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,c;return wn.isCallExpression(e)?(o=(c=Dv(e)).sourceFile,s=c.start,c=c.length,wn.createFileDiagnostic(o,s,c,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,u=n;l<u.length;l++){var d=u[l],p=fb(d),m=_b(d);p<i&&(i=p,a=d),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&&function(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=Ku(!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,u,d,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?(u=v=y.length,c=L):c&&L===c?u+=1:(c=L,u=v),l=x,ck(S)?(d=++b,v++):d=u,y.splice(d,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=xv(e),N=(_=1===g.length&&!g[0].typeParameters,m||_||!wn.some(I,lm)?0:4);i=!!(16&a)&&206===e.kind&&e.arguments.hasTrailingComma;if(K=(K=1<g.length?Q(g,Gr,_,i):K)||Q(g,Ur,_,i))return K;if(f)if(D)if(1===D.length||3<D.length){var k,R=D[D.length-1];p=(3<D.length&&(k=wn.chainDiagnosticMessages(k,wn.Diagnostics.The_last_overload_gave_the_following_error),k=wn.chainDiagnosticMessages(k,wn.Diagnostics.No_overload_matches_this_call)),Ev(e,I,R,Ur,0,!0,(function(){return k})));if(p)for(var O=0,P=p;O<P.length;O++){var w=P[O];R.declaration&&3<D.length&&wn.addRelatedInfo(w,wn.createDiagnosticForNode(R.declaration,wn.Diagnostics.The_last_overload_is_declared_here)),Y(R,w),Pr.add(w)}else wn.Debug.fail("No error for last overload signature")}else{for(var M=[],F=0,G=Number.MAX_VALUE,B=0,U=0,V=0,j=D;V<j.length;V++)!function(n){var t=Ev(e,I,n,Ur,0,!0,(function(){return wn.chainDiagnosticMessages(void 0,wn.Diagnostics.Overload_0_of_1_2_gave_the_following_error,U+1,g.length,co(n))}));t?(t.length<=G&&(G=t.length,B=U),F=Math.max(F,t.length),M.push(t)):wn.Debug.fail("No error for 3 or fewer overload signatures"),U++}(j[V]);var K,H=1<F?M[B]:wn.flatten(M);a=(wn.Debug.assert(0<H.length,"No errors reported for 3 or fewer overload signatures"),wn.chainDiagnosticMessages(wn.map(H,(function(e){return"string"==typeof e.messageText?e:e.messageText})),wn.Diagnostics.No_overload_matches_this_call)),_=$u([],wn.flatMap(H,(function(e){return e.relatedInformation})),!0),i=void 0;i=wn.every(H,(function(e){return e.start===H[0].start&&e.length===H[0].length&&e.file===H[0].file}))?{file:(K=H[0]).file,start:K.start,length:K.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],I)):C?hv(C,e.typeArguments,!0,o):0===(f=wn.filter(t,(function(e){return lv(e,s)}))).length?Pr.add(function(e,n,t){var r,a=t.length;if(1===n.length)return r=Ml((l=n[0]).typeParameters),d=wn.length(l.typeParameters),wn.createDiagnosticForNodeArray(wn.getSourceFileOfNode(e),t,wn.Diagnostics.Expected_0_type_arguments_but_got_1,r<d?r+"-"+d:r,a);for(var i=-1/0,o=1/0,s=0,c=n;s<c.length;s++){var l,u=Ml((l=c[s]).typeParameters),d=wn.length(l.typeParameters);a<u?o=Math.min(o,u):d<a&&(i=Math.max(i,d))}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,I));if(p=e,K=g,a=I,_=!!r,wn.Debug.assert(0<K.length),NS(p),_||1===K.length||K.some((function(e){return!!e.typeParameters})))return i=p,t=a,o=function(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=K,void 0===ve?t.length:ve),f=m[o],(r=f.typeParameters)?(_=(_=nv(i)?i.typeArguments:void 0)?Zl(f,function(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))):function(e,n,t,r){return 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 W,z=K;(p=wn.mapDefined(z,(function(e){return e.thisParameter}))).length&&(W=kv(p,p.map(ob)));a=(p=wn.minAndMax(z,Nv)).min;for(var J=p.max,q=[],X=0;X<J;X++)!function(e){var n=wn.mapDefined(z,(function(n){return sk(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 sk(e)?wn.last(e.parameters):void 0})),i=0,0!==p.length&&(r=qu(gd(wn.mapDefined(z,Xl),2)),q.push(Rv(p,r)),i|=1),z.some(ck)&&(i|=2),pc(z[0].declaration,void 0,W,q,Td(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,I,i,a)?void 0:Ev(e,I,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,I,i,a)){var c=void 0,l=void 0;if(i.typeParameters){var u=void 0;if(wn.some(s)){if(!(u=hv(i,s,!1))){C=i;continue}}else l=sf(i.typeParameters,i,wn.isInJSFile(e)?2:0),u=fv(e,i,I,8|N,l),N|=4&l.flags?8:0;if(c=Yl(i,u,wn.isInJSFile(i.declaration),l&&l.inferredTypeParameters),hb(i)&&!cv(e,I,c,a)){A=c;continue}}else c=i;if(!Ev(e,I,c,t,N,!1,void 0)){if(N){if(N=0,l&&(c=Yl(i,u=fv(e,i,I,N,l),wn.isInJSFile(i.declaration),l&&l.inferredTypeParameters),hb(i)&&!cv(e,I,c,a))){A=c;continue}if(Ev(e,I,c,t,N,!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 sk(e)?n-1:n}function kv(e,n){return Rv(e,gd(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&dl(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 function(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)?1:(r=wn.getContainingClass(e),r&&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 u=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&&(u=wn.Diagnostics.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without),{messageChain:wn.chainDiagnosticMessages(r,u),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&&!sk(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=uh(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)?(d=(l=H_(o,r.expression))===o?0:wn.isOutermostOptionalChain(r)?16:8,o=l):d=0,(o=Ah(o,r.expression,Dh))===vt?Jt:(l=ol(o))===Zn?rv(r):(p=hl(l,0),u=hl(l,1).length,Pv(o,l,p.length,u)?(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)?(uE(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,d):(u?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,d=t,o=yE((u=e).tag),(a=ol(o))===Zn?rv(u):(l=hl(a,0),p=hl(a,1).length,Pv(o,a,l.length,p)?tv(u):l.length?Iv(u,l,i,d,0):(wn.isArrayLiteralExpression(u.parent)?(o=wn.createDiagnosticForNode(u.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(u.tag,a,0),rv(u)));case 163:return Uv(e,n,t);case 278:case 277:return jv(e,n,t)}var u,d,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(tk(e))?r.inferredClassSymbol.get(tk(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(tk(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=Uu(!1))?n===Ma(e,"Symbol",111551,void 0,void 0,!1):void 0}function Qv(e){if(Bx(e.arguments)||function(e){if(E===wn.ModuleKind.ES2015)return rL(e,wn.Diagnostics.Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system_or_umd);if(e.typeArguments)return rL(e,wn.Diagnostics.Dynamic_import_cannot_have_type_arguments);var n=e.arguments;1!==n.length?rL(e,wn.Diagnostics.Dynamic_import_must_have_one_specifier_as_an_argument):(Px(n),wn.isSpreadElement(n[0])&&rL(n[0],wn.Diagnostics.Specifier_of_dynamic_import_cannot_be_spread_element))}(e),0!==e.arguments.length){for(var n=e.arguments[0],t=nE(n),r=1;r<e.arguments.length;++r)nE(e.arguments[r]);if((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)),t=_i(e,n),t&&(n=vi(t,n,!0,!1),n))return Lb(e,Zv(hs(n),n,t))}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){!function(e){if(e.questionDotToken||32&e.flags)return 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 function(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?Bu():Zn):wn.Debug.assertNever(e.keywordToken)}function ab(e){switch(e.keywordToken){case 100:return mn||(t=Ea(0,"ImportMetaExpression"),a=Bu(),(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-(sk(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 ub(e){return 195===e.kind||wn.isParameter(e)&&e.name&&wn.isIdentifier(e.name)}function db(e,n){return pb(e,n)||Xn}function pb(e,n){var t=e.parameters.length-(sk(e)?1:0);return n<t?ob(e.parameters[n]):sk(e)&&(e=hs(e.parameters[t]),n-=t,!C_(e)||e.target.hasRestElement||n<e.target.fixedLength)?Zd(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:qu(Zd(a,lt));for(var i,o,s,c=[],l=[],u=[],d=n;d<t;d++){!a||d<t-1?(c.push(db(e,d)),l.push(d<r?1:2)):(c.push(a),l.push(8)),i=d,s=o=void 0,s=(p=e).parameters.length-(sk(p)?1:0);var p=i<s?(o=p.parameters[i].valueDeclaration)&&ub(o)?o:void 0:C_(p=hs(o=p.parameters[s]||Jn))?(p=p.target.labeledElementDeclarations)&&p[i-s]:o.valueDeclaration&&ub(o.valueDeclaration)?o.valueDeclaration:void 0;p&&u.push(p)}return rd(c,l,!1,wn.length(u)===wn.length(c)?u:void 0)}function _b(e){var n=e.parameters.length;return sk(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=sk(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(db(e,o),ov).flags)break;i=o}e.resolvedMinArgumentCount=i}return e.resolvedMinArgumentCount}function gb(e){return!!sk(e)&&(!C_(e=hs(e.parameters[e.parameters.length-1]))||e.target.hasRestElement)}function yb(e){if(sk(e)){if(e=hs(e.parameters[e.parameters.length-1]),!C_(e))return e;if(e.target.hasRestElement)return od(e,e.target.fixedLength)}}function hb(e){return e=yb(e),!e||l_(e)||Io(e)||0!=(131072&dl(e).flags)?void 0:e}function vb(e){return bb(e,ht)}function bb(e,n){return 0<e.parameters.length?db(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-(sk(e)?1:0),r=0;r<t;r++){var a=e.parameters[r];wn.getEffectiveTypeAnnotationNode(a.valueDeclaration)||Tb(a,pb(n,r))}sk(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=ju(!0);return n!==wt?_u(n,[e=VE(e)||nt]):nt}function xb(e){var n=(Qe=Qe||Gu("PromiseLike",1,!0))||wt;return n!==wt?_u(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):(Ku(!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),u=0!=(1&c),d=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(u){var p=Rb(e,n),m=(p=(p?0<p.length&&(t=gd(p,2)):d=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)?gd(m,2):void 0,p=wn.some(p)?Td(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=gd(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)?u?void 0:t:Iy(zl(c),e):void 0,u?(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)),u?Ab(m||ht,t||d,p||_y(2,e)||nt,l):l?Sb(t||d):t||d}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?zu(a,[e]):(r.getGlobalIterableIteratorType(!0),kt):(r.getGlobalGeneratorType(!0),kt)):zu(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=function(e){var n;if(214===e.expression.kind)return 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);var t,r=_E(e.expression);return!!T_(r)&&!(!(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&&!function(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-(sk(o)?1:0),u=0;u<l;u++){var d=o.parameters[u].valueDeclaration;d.type&&(d=wn.getEffectiveTypeAnnotationNode(d))&&Cf(c.inferences,Op(d),db(s,u))}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===dt||t===pt||!!(n&&n.valueDeclaration&&wn.isPropertyAssignment(n.valueDeclaration)&&(t=yE(n.valueDeclaration.initializer),t===dt||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:ut: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,ut)||!!(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=Cd(i=s.name))&&(p=gl(n,ic(o)))&&(qh(p,s,a),bh(s,!1,!0,n,p)),p=Po(s,Zd(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,u=r;l<u.length;l++){var d=u[l];wn.isSpreadAssignment(d)||c.push(d.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 od(e,t)})):qu(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=292===e.kind?((s=e).objectAssignmentInitializer&&(!x||32768&w_(yE(s.objectAssignmentInitializer))||(n=rg(n,524288)),function(e,n,t,r,a){var i=n.kind;if(63===i&&(203===e.kind||202===e.kind))return Xb(e,yE(t,r),r,108===t.kind);i=(55===i||56===i||60===i?LT:yE)(e,r),r=yE(t,r),Qb(e,n,t,i,r,a)}(s.name,s.equalsToken,s.objectAssignmentInitializer,t)),e.name):e;if(219===s.kind&&63===s.operatorToken.kind&&(P(s,t),s=s.left),203===s.kind){var c=s,l=n,u=r,d=c.properties;if(x&&0===d.length)return Ch(l,c);for(var p=0;p<d.length;p++)Jb(c,l,p,d,u);return l}if(202!==s.kind)return e=n,a=yE(r=s,a=t),i=293===r.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,o=293===r.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(r,i,o)&&Sm(e,a,r,r),wn.isPrivateIdentifierPropertyAccessExpression(r)&&kx(r.parent,1048576),e;for(var m=s,_=n,f=t,g=m.elements,y=(b<2&&v.downlevelIteration&&kx(m,512),IT(193,_,tt,m)||Zn),h=v.noUncheckedIndexedAccess?void 0:y,E=0;E<g.length;E++){var T=y;qb(m,_,E,T=223===m.elements[E].kind?h=null!=h?h:IT(65,_,tt,m)||Zn:T,f)}return _}function Yb(e,n){return 0!=(98304&n.flags)||bm(e,n)}function Qb(e,t,r,a,i,o){var s,c,l,u=t.kind;switch(u){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 d=void 0;if(528&a.flags&&528&i.flags&&void 0!==(d=function(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(d)),lt;d=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(u){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=ut}else k(A),p=Zn;return d&&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)),d=void 0,Kb(a,296,!0)&&Kb(i,296,!0)?d=lt:Kb(a,2112,!0)&&Kb(i,2112,!0)?d=ut:Kb(a,402653316,!0)||Kb(i,402653316,!0)?d=ct:(Io(a)||Io(i))&&(d=a===Zn||i===Zn?Zn:Xn),!d||C(u)){if(!d)return k((function(e,n){return Kb(e,402655727)&&Kb(n,402655727)})),Xn;64===u&&I(d)}return d;case 29:case 31:case 32:case 33:return C(u)&&(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,d=i,(l=a)===vt||d===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(d)||XS(d)||ym(d,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)?gd([Sg(x?a:S_(i),F_),i]):a;return 76===u&&I(i),_;case 56:case 75:var f=8388608&tg(a)?gd([M_(a),i],2):a;return 75===u&&I(i),f;case 60:case 77:var g=262144&tg(a)?gd([U_(a),i],2):a;return 77===u&&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 function(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(u)&&(!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=function(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];!function(e,n,r,a){var i;switch(t.kind){case 36:case 34:i="false";break;case 37:case 35:i="true"}if(i)return 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)?Od(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&&hu(n)<e.name.elements.length){t=n;for(var r=e.name.elements,a=yu(t).slice(),i=t.target.elementFlags.slice(),o=hu(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 rd(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 uE(e,t),Mt;if(r=Ry(e),t=r.signature&&zl(r.signature),e=t&&dv(t),e&&!e.typeParameters&&!wn.every(r.inferences,dE)){t=function(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,function(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),u=0,d=r;u<d.length;u++)(c=d[u]).mapper=l;return a}(r,a.typeParameters),e=Ql(a,t);var o=wn.map(r.inferences,(function(e){return df(e.typeParameter)}));if(af(e,i,(function(e,n){Cf(o,e,n,0,!0)})),wn.some(o,dE)&&(of(e,i,(function(e,n){Cf(o,e,n)})),!function(e,n){for(var t=0;t<e.length;t++)if(dE(e[t])&&dE(n[t]))return 1}(r.inferences,o))){for(var s=r.inferences,c=o,l=0;l<s.length;l++)!dE(s[l])&&dE(c[l])&&(s[l]=c[l]);return r.inferredTypeParameters=wn.concatenate(r.inferredTypeParameters,t),nu(e)}}return nu(mv(a,i,r))}}}return n}function uE(e,n){2&n&&(Ry(e).flags|=4)}function dE(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=uv(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[nk(e)],n))return n;n=lr;var t=yE(e);return lr!==n&&(vn=vn||[],vn[nk(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&&void 0!==wn.tracing&&wn.tracing.push("check","checkExpression",{kind:e.kind,pos:e.pos,end:e.end});var o=i;f=0,a=function(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 function(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 dt;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 function(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,Td([t,e])):t)}(e,r);case 208:return eb(e);case 210:return function(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 function(e){return sS(e),NS(e),hs(Ii(e))}(e);case 211:case 212:return Pb(e,r);case 214:return function(e){return yE(e.expression),Fr}(e);case 209:case 227:return function(e){return 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 function(e){return yE(e.expression),rt}(e);case 216:return function(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 function(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?dt: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 function(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 function(e,n){var t=LT(e.condition);return ST(e.condition,t,e.whenTrue),gd([yE(e.whenTrue,n),yE(e.whenFalse,n)],2)}(e,r);case 223:return function(e,n){return 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 function(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 function(e){return e.isSpread?Zd(e.type,lt):e.type}(e);case 286:return yh(e,r);case 276:return function(e){return NS(e),ph(e)||Xn}(e);case 277:return function(e){return NS(e),ph(e)||Xn}(e);case 280:return function(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&&void 0!==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,uc(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(dl(hs(e.symbol)),He)||fa(e,wn.Diagnostics.A_rest_parameter_must_be_of_an_array_type)}function bE(e){var n=function(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)sk(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){174===e.kind?Rx(t=e)||function(e){var n=e.parameters[0];if(1!==e.parameters.length)return rL(n?n.name:e,wn.Diagnostics.An_index_signature_must_have_exactly_one_parameter);if(Px(e.parameters,wn.Diagnostics.An_index_signature_cannot_have_a_trailing_comma),n.dotDotDotToken)return rL(n.dotDotDotToken,wn.Diagnostics.An_index_signature_cannot_have_a_rest_parameter);if(wn.hasEffectiveModifiers(n))return rL(n.name,wn.Diagnostics.An_index_signature_parameter_cannot_have_an_accessibility_modifier);if(n.questionToken)return rL(n.questionToken,wn.Diagnostics.An_index_signature_parameter_cannot_have_a_question_mark);if(n.initializer)return rL(n.name,wn.Diagnostics.An_index_signature_parameter_cannot_have_an_initializer);if(!n.type)return rL(n.name,wn.Diagnostics.An_index_signature_parameter_must_have_a_type_annotation);var t=Op(n.type);if(vg(t,(function(e){return!!(8576&e.flags)}))||Kd(t))return rL(n.name,wn.Diagnostics.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead);bg(t,su)?e.type||rL(e,wn.Diagnostics.An_index_signature_must_have_a_type_annotation):rL(n.name,wn.Diagnostics.An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type)}(t):177!==e.kind&&254!==e.kind&&178!==e.kind&&172!==e.kind&&169!==e.kind&&173!==e.kind||Fx(e);var t=wn.getFunctionFlags(e);if(4&t||(3==(3&t)&&b<99&&kx(e,6144),2==(3&t)&&b<4&&kx(e,64),0!=(3&t)&&b<2&&kx(e,128)),iS(e.typeParameters),wn.forEach(e.parameters,vE),e.type&&CS(e.type),n){o=e,2<=b||!wn.hasRestParameter(o)||8388608&o.flags||wn.nodeIsMissing(o.body)||wn.forEach(o.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 r,a,i,o=wn.getEffectiveReturnTypeNode(e);if(C&&!o)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)}o&&(1==(5&(r=wn.getFunctionFlags(e)))?(a=Op(o))===yt?fa(o,wn.Diagnostics.A_generator_cannot_have_a_void_type_annotation):Tm(Ab(i=YT(0,a,0!=(2&r))||Xn,YT(1,a,0!=(2&r))||i,YT(2,a,0!=(2&r))||nt,!!(2&r)),a,o):2==(3&r)&&function(e,n){var t=Op(n);if(2<=b){if(t===Zn)return;var r=ju(!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(function(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)===ju(!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||Gu("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,o)),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=tu(Ii(e)),null!=n&&n.declarations){for(var t=new wn.Map,r=0,a=n.declarations;r<a.length;r++)!function(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)||function(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),!function(e){var n,t=wn.isInJSFile(e)?wn.getJSDocTypeParameterDeclarations(e):void 0;t=e.typeParameters||t&&wn.firstOrUndefined(t);if(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)||function(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(!function(e){return 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=ku(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=ku(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,kd(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(Hd(t)){var i=Fd(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){!function(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,u,d=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),d|=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,$u([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!=(d^p)&&(u=wE(k(s,c),l),wn.forEach(s,(function(e){var n=wE(e,l)^u;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 u=r&a,d=i&(r|a);if(u||d)for(var p=0,m=t.declarations;p<m.length;p++){c=g(_=m[p]);var _,f=wn.getNameOfDeclaration(_);c&d?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&u&&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,ju(!1)))return t.promisedTypeOfPromise=yu(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(gd(wn.map(e,vb)),2097152),!Io(e)){if(e=hl(e,0),0!==e.length)return t.promisedTypeOfPromise=gd(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=gd([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=gd([Ju(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=d=p=u=l=c=s=void 0;for(var s=o,c=n,l=0,u=s.members;l<u.length;l++){var d,p=u[l];switch(p.kind){case 167:case 165:case 170:case 171:171===p.kind&&32768&p.symbol.flags||(d=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(d)));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,u,d=i[a];rT(d)&&(o=wn.idText(d.name),188!==(l=d.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),u=(l=1===l.typeParameters.length)?wn.Diagnostics._0_is_declared_but_its_value_is_never_read:wn.Diagnostics.All_type_parameters_are_unused,n(d,1,wn.createFileDiagnostic(s,c.pos,c.end-c.pos,u,l?o:void 0))):n(d,1,wn.createDiagnosticForNode(d,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,nk):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,nk)):wn.isVariableDeclaration(l)?aT(a,l.parent,l,nk):(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,nk):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,nk):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 uT(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 dT(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||!uT(r,t,"require")&&!uT(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||!uT(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&&(uT(r,t,"WeakMap")||uT(r,t,"WeakSet"))&&kr.push(r),t=e,(r=n)&&2<=b&&b<=8&&uT(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=Cd(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||function(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&&void 0!==wn.tracing&&wn.tracing.push("check","checkVariableDeclaration",{kind:e.kind,pos:e.pos,end:e.end}),function(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)}if(e.exclamationToken&&(235!==e.parent.parent.kind||!e.type||e.initializer||8388608&e.flags))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);var n=wn.getEmitModuleKind(v);n<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&&void 0!==wn.tracing&&wn.tracing.pop()}function ET(e){return function(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)&&function(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=Rd(kd(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 u;t=n,a=!1,o=!1;return 4&e&&(1048576&t.flags?(l=n.types,(u=wn.filter(l,(function(e){return!(402653316&e.flags)})))!==l&&(t=gd(u,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:gd(c?[l,ct,tt]:[l,ct],2):128&e?sg(l):l):(r&&!a&&(l=(u=function(t,r){return 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]:function(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,u[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[ok(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=du([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&&gd(n),t&&gd(t),r&&Td(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,i;return bs(e,t=n.getGlobalIterableType(!1))||bs(e,t=n.getGlobalIterableIteratorType(!1))?(r=yu(e)[0],a=(t=GT(t,n)).returnType,i=t.nextType,e[n.iterableCacheKey]=RT(r,a,i)):bs(e,n.getGlobalGeneratorType(!1))?(r=(t=yu(e))[0],a=t[1],i=t[2],e[n.iterableCacheKey]=RT(r,a,i)):void 0}function UT(e,n,t){var r=gl(e,(a=n.iteratorSymbolName,(r=(r=Uu(!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(Td(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)||function(e,n){var t,r,a,i=n.getGlobalIterableIteratorType(!1);return bs(e,i)?(t=yu(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=yu(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")||dt,hm(0===n?dt: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||Gu("IteratorYieldResult",1,!1))||wt)?(n=yu(e)[0],e.iterationTypesOfIteratorResult=RT(n,void 0,void 0)):bs(e,(on=on||Gu("IteratorReturnResult",1,!1))||wt)?(n=yu(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,u=!l&&(null==(u=null==(u=c.symbol)?void 0:u.members)?void 0:u.get(t))===e.symbol;if(l||u)return u=e.mapper,RT(Up((e=l?s:c).typeParameters[0],u),Up(e.typeParameters[1],u),"next"===t?Up(e.typeParameters[2],u):void 0)}for(var d,p,m,_=0,f=o;_<f.length;_++){var g=f[_];"throw"!==t&&wn.some(g.parameters)&&(a=wn.append(a,db(g,0))),i=wn.append(i,zl(g))}return"throw"!==t&&(l=a?gd(a):nt,"next"===t?d=l:"return"===t&&(s=n.resolveIterationType(l,r)||Xn,p=wn.append(p,s))),c=i?Td(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,gd(p),d)}}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[ok(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,Id(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,u=c[s];wn.isStatic(u)||ac(u)||rS(e,l=Ii(u),_E(u.name.expression),vs(l))}if(1<t.length)for(var d=0,p=t;d<p.length;d++)!function(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++)!function(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);r&&!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[d])}}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++)!function(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);a&&!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,function(e,n,t){!function e(r){if(176===r.kind){var a=ku(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)&&!function(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 u=s[l],d=n[l];if(u.name.escapedText!==d.symbol.escapedName)return;var p=wn.getEffectiveConstraintOfTypeParameter(u),m=(p=p&&Op(p),qc(d));if(p&&m&&!mm(p,m))return;if(p=u.default&&Op(u.default),m=al(d),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),function(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=uc(r),i=hs(t),o=(t=(oS(t),ME(t),e),new wn.Map),s=new wn.Map,c=new wn.Map,l=0,u=t.members;l<u.length;l++){var d=u[l];if(169===d.kind)for(var p=0,m=d.parameters;p<m.length;p++){var _=m[p];wn.isParameterPropertyDeclaration(_,d)&&!wn.isBindingPattern(_.name)&&L(o,_.name,_.name.escapedText,3)}else{var f=wn.isStatic(d),g=d.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(d.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,di(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=uc(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&&dS(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?uc(wn.first(oe),te.thisType):void 0,ce=Rs(te),le=0,ue=ne.members;le<ue.length;le++)!function(e){wn.hasAmbientModifier(e)||(wn.isConstructorDeclaration(e)&&wn.forEach(e.parameters,(function(n){wn.isParameterPropertyDeclaration(n,e)&&de(n,!0)})),de(e))}(ue[le]);function de(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=dl(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=uc(_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)&&uS(Se)&&(Ee=Se.name,!wn.isIdentifier(Ee)&&!wn.isPrivateIdentifier(Ee)||3&(Te=hs(Ii(Se))).flags||32768&w_(Te)||he&&dS(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 uS(e){return 165===e.kind&&!wn.hasAbstractModifier(e)&&!e.exclamationToken&&!e.initializer}function dS(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)||function(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=uc(r);if(function(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(uc(s,e.thisType));c<l.length;c++){var u,d,p=l[c],m=r.get(p.escapedName);m?m.containingType===e||i_(m.prop,p)||(a=!1,m=lo(m.containingType),u=lo(s),d=wn.chainDiagnosticMessages(void 0,wn.Diagnostics.Named_property_0_of_types_1_and_2_are_not_identical,so(p),m,u),d=wn.chainDiagnosticMessages(d,wn.Diagnostics.Interface_0_cannot_simultaneously_extend_types_1_and_2,lo(e),m,u),Pr.add(wn.createDiagnosticForNodeFromMessageChain(n,d))):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,uc(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=function(e,n){var t;if(wn.isComputedNonLiteralName(e.name)?fa(e.name,wn.Diagnostics.Computed_property_names_are_not_allowed_in_enums):Hy(t=wn.getTextOfPropertyName(e.name))&&!wn.isInfinityOrNaNString(t)&&fa(e.name,wn.Diagnostics.An_enum_member_cannot_have_a_numeric_name),e.initializer)return function(e){var n=Bs(Ii(e.parent)),t=wn.isEnumConst(e.parent),r=e.initializer,a=1!==n||Gs(e)?function n(t){switch(t.kind){case 217:var r=n(t.operand);if("number"==typeof r)switch(t.operator){case 39:return r;case 40:return-r;case 54:return~r}break;case 219:var a=n(t.left),o=n(t.right);if("number"==typeof a&&"number"==typeof o)switch(t.operatorToken.kind){case 51:return a|o;case 50:return a&o;case 48:return a>>o;case 49:return a>>>o;case 47:return a<<o;case 52:return a^o;case 41:return a*o;case 43:return a/o;case 39:return a+o;case 40:return a-o;case 44:return a%o;case 42:return Math.pow(a,o)}else if("string"==typeof a&&"string"==typeof o&&39===t.operatorToken.kind)return a+o;break;case 10:case 14:return t.text;case 8:return iL(t),+t.text;case 210:return n(t.expression);case 79:var s=t;return wn.isInfinityOrNaNString(s.escapedText)?+s.escapedText:wn.nodeIsMissing(t)?0:i(t,Ii(e.parent),s.escapedText);case 205:case 204:if(s=t,_S(s)){var c,l=_E(s.expression);if(l.symbol&&384&l.symbol.flags)return c=void 0,c=204===s.kind?s.name.escapedText:wn.escapeLeadingUnderscores(wn.cast(s.argumentExpression,wn.isLiteralExpression).text),i(t,l.symbol,c)}}}(r):void 0;if(void 0!==a)t&&"number"==typeof a&&!isFinite(a)&&fa(r,isNaN(a)?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===n)return fa(r,wn.Diagnostics.Computed_values_are_not_permitted_in_an_enum_with_string_valued_members),0;t?fa(r,wn.Diagnostics.const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values):8388608&e.parent.flags?fa(r,wn.Diagnostics.In_ambient_enum_declarations_member_initializer_must_be_constant_expression):Kb(n=yE(r),296)?Tm(n,Hs(Ii(e.parent)),r,void 0):fa(r,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(n))}return a;function i(n,t,r){if(t=t.exports.get(r),t){if(r=t.valueDeclaration,r!==e)return r&&Pa(r,e)?fx(r):(fa(n,wn.Diagnostics.A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums),0);fa(n,wn.Diagnostics.Property_0_is_used_before_being_assigned,so(t))}}}(e);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&&rk(e,wn.shouldPreserveConstEnums(v))&&((r=function(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 u=l[c];e(u,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)&&!function(e){if(e.isTypeOnly&&e.name&&e.namedBindings)return 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];ak(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,function(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 function(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 function(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 function(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 function(e){Ou(e)}(e);case 180:return function(e){wn.forEach(e.members,CS),n&&(tS(mp(e)),SE(e),TE(e))}(e);case 181:return function(e){CS(e.elementType)}(e);case 182:return function(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=Xu(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 function(e){wn.forEach(e.types,CS),Op(e)}(e);case 189:case 183:case 184:return CS(e.type);case 190:return function(e){Np(e)}(e);case 191:return OE(e);case 187:return function(e){wn.forEachChild(e,CS)}(e);case 188:return function(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 function(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 function(e){CS(e.argument),Op(e)}(e);case 195:return function(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 function(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 function(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 function(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 function(e){CS(e.constraint);for(var n=0,t=e.typeParameters;n<t.length;n++)CS(t[n])}(e);case 338:return function(e){CS(e.typeExpression)}(e);case 335:return function(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 function(e){CS(e.typeExpression)}(e);case 312:!function(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 function(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 function(e){CS(e.objectType),CS(e.indexType),RE(np(e),e)}(e);case 193:return function(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 function(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 function(e){aL(e),yE(e.expression)}(e);case 237:return function(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 function(e){aL(e),CS(e.statement),LT(e.expression)}(e);case 239:return function(e){aL(e),LT(e.expression),CS(e.statement)}(e);case 240:return function(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 function(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 function(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 function(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 function(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 function(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 function(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 function(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 function(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 function(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 function(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 function(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:(function(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=nk(e),t.deferredNodes.set(n,e))}function kS(e){null!==wn.tracing&&void 0!==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&&void 0!==wn.tracing&&wn.tracing.pop()}function RS(n){var t,r;null!==wn.tracing&&void 0!==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)||(8388608&(t=n).flags&&function(e){for(var n=0,t=e.statements;n<t.length;n++){var r=t[n];if((wn.isDeclaration(r)||235===r.kind)&&function(e){if(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))return eL(e,wn.Diagnostics.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier)}(r))return}}(t),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,dT),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&&void 0!==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!==function(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=function(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),ui(e,!0);if(wn.isEntityName(e)){n=function(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(function(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(ik(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?uc(t,a.thisType):t):wn.isExpressionNode(e)?JS(e):a&&!r.isImplements?(t=wn.firstOrUndefined(Ps(a)))?uc(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)):ik(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,r;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.rightSpread,r=e.syntheticOrigin,n?[n,t]:r?[r]:wn.singleElementArray(function(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 ux(e){return!(!x||Ol(e)||wn.isJSDocParameterTag(e)||!e.initializer||wn.hasSyntacticModifier(e,16476))}function dx(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=Ku(!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===dt&&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=function(e,n){return a=a||gi(e,wn.externalHelpersModuleNameText,wn.Diagnostics.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,n)||Jn,a}(t,e);if(i!==Jn)for(var o,s,c=n&~r,l=1;l<=2097152;l<<=1)c&l&&(o=function(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 function(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)||function(e){var n,t,r,a,i,o=function(e){return!!e.modifiers&&(function(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 u=l[c];if(143!==u.kind){if(164===e.kind||166===e.kind)return rL(u,wn.Diagnostics._0_modifier_cannot_appear_on_a_type_member,wn.tokenToString(u.kind));if(174===e.kind&&(124!==u.kind||!wn.isClassLike(e.parent)))return rL(u,wn.Diagnostics._0_modifier_cannot_appear_on_an_index_signature,wn.tokenToString(u.kind))}switch(u.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(u,wn.Diagnostics._0_modifier_already_seen,"override");if(2&s)return rL(u,wn.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"override","declare");if(64&s)return rL(u,wn.Diagnostics._0_modifier_must_precede_1_modifier,"override","readonly");if(256&s)return rL(u,wn.Diagnostics._0_modifier_must_precede_1_modifier,"override","async");s|=16384,i=u;break;case 123:case 122:case 121:var d=yo(wn.modifierToFlag(u.kind));if(28&s)return rL(u,wn.Diagnostics.Accessibility_modifier_already_seen);if(16384&s)return rL(u,wn.Diagnostics._0_modifier_must_precede_1_modifier,d,"override");if(32&s)return rL(u,wn.Diagnostics._0_modifier_must_precede_1_modifier,d,"static");if(64&s)return rL(u,wn.Diagnostics._0_modifier_must_precede_1_modifier,d,"readonly");if(256&s)return rL(u,wn.Diagnostics._0_modifier_must_precede_1_modifier,d,"async");if(260===e.parent.kind||300===e.parent.kind)return rL(u,wn.Diagnostics._0_modifier_cannot_appear_on_a_module_or_namespace_element,d);if(128&s)return 121===u.kind?rL(u,wn.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,d,"abstract"):rL(u,wn.Diagnostics._0_modifier_must_precede_1_modifier,d,"abstract");if(wn.isPrivateIdentifierClassElementDeclaration(e))return rL(u,wn.Diagnostics.An_accessibility_modifier_cannot_be_used_with_a_private_identifier);s|=wn.modifierToFlag(u.kind);break;case 124:if(32&s)return rL(u,wn.Diagnostics._0_modifier_already_seen,"static");if(64&s)return rL(u,wn.Diagnostics._0_modifier_must_precede_1_modifier,"static","readonly");if(256&s)return rL(u,wn.Diagnostics._0_modifier_must_precede_1_modifier,"static","async");if(260===e.parent.kind||300===e.parent.kind)return rL(u,wn.Diagnostics._0_modifier_cannot_appear_on_a_module_or_namespace_element,"static");if(162===e.kind)return rL(u,wn.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"static");if(128&s)return rL(u,wn.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(16384&s)return rL(u,wn.Diagnostics._0_modifier_must_precede_1_modifier,"static","override");s|=32,n=u;break;case 143:if(64&s)return rL(u,wn.Diagnostics._0_modifier_already_seen,"readonly");if(165!==e.kind&&164!==e.kind&&174!==e.kind&&162!==e.kind)return rL(u,wn.Diagnostics.readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature);s|=64,a=u;break;case 93:if(1&s)return rL(u,wn.Diagnostics._0_modifier_already_seen,"export");if(2&s)return rL(u,wn.Diagnostics._0_modifier_must_precede_1_modifier,"export","declare");if(128&s)return rL(u,wn.Diagnostics._0_modifier_must_precede_1_modifier,"export","abstract");if(256&s)return rL(u,wn.Diagnostics._0_modifier_must_precede_1_modifier,"export","async");if(wn.isClassLike(e.parent))return rL(u,wn.Diagnostics._0_modifier_cannot_appear_on_class_elements_of_this_kind,"export");if(162===e.kind)return rL(u,wn.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"export");s|=1;break;case 88:if(d=(300===e.parent.kind?e:e.parent).parent,259===d.kind&&!wn.isAmbientModule(d))return rL(u,wn.Diagnostics.A_default_export_can_only_be_used_in_an_ECMAScript_style_module);if(!(1&s))return rL(u,wn.Diagnostics._0_modifier_must_precede_1_modifier,"export","default");s|=512;break;case 134:if(2&s)return rL(u,wn.Diagnostics._0_modifier_already_seen,"declare");if(256&s)return rL(u,wn.Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(16384&s)return rL(u,wn.Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context,"override");if(wn.isClassLike(e.parent)&&!wn.isPropertyDeclaration(e))return rL(u,wn.Diagnostics._0_modifier_cannot_appear_on_class_elements_of_this_kind,"declare");if(162===e.kind)return rL(u,wn.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"declare");if(8388608&e.parent.flags&&260===e.parent.kind)return rL(u,wn.Diagnostics.A_declare_modifier_cannot_be_used_in_an_already_ambient_context);if(wn.isPrivateIdentifierClassElementDeclaration(e))return rL(u,wn.Diagnostics._0_modifier_cannot_be_used_with_a_private_identifier,"declare");s|=2,t=u;break;case 126:if(128&s)return rL(u,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(u,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(u,wn.Diagnostics.Abstract_methods_can_only_appear_within_an_abstract_class);if(32&s)return rL(u,wn.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(8&s)return rL(u,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(u,wn.Diagnostics._0_modifier_must_precede_1_modifier,"abstract","override")}if(wn.isNamedDeclaration(e)&&80===e.name.kind)return rL(u,wn.Diagnostics._0_modifier_cannot_be_used_with_a_private_identifier,"abstract");s|=128;break;case 130:if(256&s)return rL(u,wn.Diagnostics._0_modifier_already_seen,"async");if(2&s||8388608&e.parent.flags)return rL(u,wn.Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(162===e.kind)return rL(u,wn.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"async");if(128&s)return rL(u,wn.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"async","abstract");s|=256,r=u}}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 function(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,$u([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)||function(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)}}},(sm=Mn=Mn||{}).JSX="JSX",sm.IntrinsicElements="IntrinsicElements",sm.ElementClass="ElementClass",sm.ElementAttributesPropertyNameContainer="ElementAttributesProperty",sm.ElementChildrenAttributeNameContainer="ElementChildrenAttribute",sm.Element="Element",sm.IntrinsicAttributes="IntrinsicAttributes",sm.IntrinsicClassAttributes="IntrinsicClassAttributes",sm.LibraryManagedAttributes="LibraryManagedAttributes",wn.signatureHasRestParameter=sk,wn.signatureHasLiteralTypes=ck,(Jn=SY=SY||{}).visitNode=lk,Jn.visitNodes=uk,Jn.visitLexicalEnvironment=dk,Jn.visitParameterList=pk,Jn.visitFunctionBody=mk,Jn.visitIterationBody=_k,Jn.visitEachChild=function(e,n,t,r,a,i){if(void 0===r&&(r=uk),void 0===i&&(i=lk),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),pk(e.parameters,n,t,r),i(e.type,n,Jn.isTypeNode),mk(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),pk(e.parameters,n,t,r),mk(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),pk(e.parameters,n,t,r),i(e.type,n,Jn.isTypeNode),mk(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),pk(e.parameters,n,t,r),mk(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),mk(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,lk(e.dotDotDotToken,n,Jn.isDotDotDotToken),lk(e.name,n,Jn.isIdentifier),lk(e.questionToken,n,Jn.isQuestionToken),lk(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),pk(e.parameters,n,t,r),i(e.type,n,Jn.isTypeNode),mk(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),pk(e.parameters,n,t,r),i(e.type,n,Jn.isTypeNode),i(e.equalsGreaterThanToken,a,Jn.isEqualsGreaterThanToken),mk(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,_k(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),_k(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),_k(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),_k(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),_k(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),pk(e.parameters,n,t,r),i(e.type,n,Jn.isTypeNode),mk(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,dk(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=SY=SY||{}).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=[],u=[],d=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=[],u=hk(t.mappings),d=u.next();!d.done;d=u.next()){var p,m,_,f,g,y,h=d.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=d.get(t);return void 0===a&&(a=u.length,u.push(t),l.push(n),d.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,u;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,u=a,void 0===(o=t)||void 0===l||void 0===u||x!==o||!(l<L||L===l&&u<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:u,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=yk,qn.tryParseRawSourceMap=function(e){try{var n=JSON.parse(e);if(yk(n))return n}catch(e){}},qn.decodeMappings=hk,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=vk,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)})),u=new qn.Map(l.map((function(n,t){return[e.getCanonicalFileName(n),t]})));return{getSourcePosition:function(e){var n=function(){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,Sk,Ek)}return a}();if(!qn.some(n))return e;var t=qn.binarySearchKey(n,e.pos,Lk,qn.compareValues);return t<0&&(t=~t),n=n[t],void 0!==n&&bk(n)?{fileName:l[n.sourceIndex],pos:n.sourcePosition}:e},getGeneratedPosition:function(n){var t=u.get(e.getCanonicalFileName(n.fileName));if(void 0===t)return n;var r=function(e){if(void 0===i){for(var n=[],t=0,r=p();t<r.length;t++){var a,o=r[t];bk(o)&&((a=n[o.sourceIndex])||(n[o.sourceIndex]=a=[]),a.push(o))}i=n.map((function(e){return qn.sortAndDeduplicate(e,Tk,Ek)}))}return i[e]}(t);if(!qn.some(r))return n;var a=qn.binarySearchKey(r,n.pos,xk,qn.compareValues);return a<0&&(a=~a),r=r[a],void 0!==r&&r.sourceIndex===t?{fileName:s,pos:r.generatedPosition}:n}};function d(t){var r,a,i=void 0!==c?qn.getPositionOfLineAndCharacter(c,t.generatedLine,t.generatedCharacter,!0):-1;return vk(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=hk(n.mappings),a=qn.arrayFrom(t,d),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=SY=SY||{}).getOriginalNodeId=Dk,Qn.chainBundle=function(e,n){return function(t){return(300===t.kind?n:function(t){return e.factory.createBundle(Qn.map(t.sourceFiles,n),t.prepends)})(t)}},Qn.getExportNeedsImportStarHelper=function(e){return!!Qn.getNamespaceDeclarationNode(e)},Qn.getImportNeedsImportStarHelper=Ck,Qn.getImportNeedsImportDefaultHelper=Ik,Qn.collectExternalModuleInfo=function(e,n,t,r){for(var a,i=[],o=Qn.createMultiMap(),s=[],c=new Qn.Map,l=!1,u=!1,d=!1,p=!1,m=0,_=n.statements;m<_.length;m++){var f,g=_[m];switch(g.kind){case 264:i.push(g),!d&&Ck(g)&&(d=!0),!p&&Ik(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))||(Nk(s,Dk(g),f),c.set(Qn.idText(f),!0),v=Qn.append(v,f)),d=!0)):(i.push(g),u=!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||(Nk(s,Dk(g),e.factory.getDeclarationName(g)),l=!0):(f=g.name,c.get(Qn.idText(f))||(Nk(s,Dk(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||(Nk(s,Dk(g),e.factory.getDeclarationName(g)),l=!0):(f=g.name)&&!c.get(Qn.idText(f))&&(Nk(s,Dk(g),f),c.set(Qn.idText(f),!0),v=Qn.append(v,f)))}}return(n=Qn.createExternalHelpersImportDeclarationIfNeeded(e.factory,e.getEmitHelperFactory(),n,r,u,d,p))&&i.unshift(n),{externalImports:i,exportSpecifiers:o,exportEquals:a,hasExportStarsToExportValues:u,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))&&Nk(s,Dk(a),i.name),c.set(Qn.idText(i.name),!0),v=Qn.append(v,i.name))}}},Qn.isSimpleCopiableExpression=kk,Qn.isSimpleInlineableExpression=function(e){return!Qn.isIdentifier(e)&&kk(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,Rk)},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=SY=SY||{},(nd=Zn.FlattenLevel||(Zn.FlattenLevel={}))[nd.All=0]="All",nd[nd.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:Gk,visitor:n},o&&(o=Zn.visitNode(o,n,Zn.isExpression),Zn.isIdentifier(o)&&Ok(e,o.escapedText)||Pk(e)?o=Fk(r,o,!1,c):a?o=Fk(r,o,!0,c):Zn.nodeIsSynthesized(e)&&(c=o)),wk(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)&&Ok(e,n.escapedText)||Pk(e))&&(n=Fk(r,Zn.visitNode(n,r.visitor),!1,n),e=t.factory.updateVariableDeclaration(e,e.name,void 0,void 0,n)),wk(r,e,a,e,o),s&&(n=t.factory.createTempVariable(void 0),i?y(n,f=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 u=0,d=c;u<d.length;u++){var p=d[u],m=p.pendingExpressions,_=p.name,f=p.value,g=p.location;p=p.original,_=t.factory.createVariableDeclaration(_,void 0,void 0,m?t.factory.inlineExpressions(Zn.append(m,f)):f);_.original=p,Zn.setTextRange(_,g),l.push(_)}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=SY=SY||{},(om=et=$n.ProcessLevel||($n.ProcessLevel={}))[om.LiftRestriction=0]="LiftRestriction",om[om.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=[],u=n.template;if(i===et.LiftRestriction&&!$n.hasInvalidEscape(u))return $n.visitEachChild(n,t,e);if($n.isNoSubstitutionTemplateLiteral(u))c.push(Bk(u)),l.push(Uk(u,r));else{c.push(Bk(u.head)),l.push(Uk(u.head,r));for(var d=0,p=u.templateSpans;d<p.length;d++){var m=p[d];c.push(Bk(m.literal)),l.push(Uk(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=SY=SY||{}).transformTypeScript=function(e){var n,t,r,a,i,o,s,c,l,u,d=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=u,i=n;nt.isSourceFile(t)&&(n=t),2&c&&function(e){return 259===nt.getOriginalNode(e).kind}(t)&&(u|=2),8&c&&function(e){return 258===nt.getOriginalNode(e).kind}(t)&&(u|=8),T(e,t,r),u=a,n=i},e.onSubstituteNode=function(e,n){return n=S(e,n),1===e?function(e){switch(e.kind){case 79:return function(e){return function(e){if(1&c&&33554432&y.getNodeCheckFlags(e)){var n=y.getReferencedValueDeclaration(e);if(n){n=l[n.id];if(n)return n=d.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)?function(e){if(2&c){var n,t=e.name,r=we(t);if(r)return e.objectAssignmentInitializer?(n=d.createAssignment(r,e.objectAssignmentInitializer),nt.setTextRange(d.createPropertyAssignment(t,n),e)):nt.setTextRange(d.createPropertyAssignment(t,r),e)}return e}(n):n},e.enableSubstitution(204),e.enableSubstitution(205),function(e){return 301!==e.kind?x(e):(e=e,d.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,u=e;switch(u.kind){case 300:case 261:case 260:case 233:a=u,o=i=void 0;break;case 255:case 254:nt.hasSyntacticModifier(u,2)||(u.name?ge(u):nt.Debug.assert(255===u.kind||nt.hasSyntacticModifier(u,512)),nt.isClassDeclaration(u)&&(i=u))}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 function(e){if(!e.importClause)return e;if(!e.importClause.isTypeOnly){var n=nt.visitNode(e.importClause,be,nt.isImportClause);return n||1===h.importsNotUsedAsValues||2===h.importsNotUsedAsValues?d.updateImportDeclaration(e,void 0,void 0,n,e.moduleSpecifier):void 0}}(t);case 263:return Le(t);case 269:return function(n){return y.isValueAliasDeclaration(n)?nt.visitEachChild(n,D,e):void 0}(t);case 270:return function(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))?d.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 ue(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 d.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 d.createNotEmittedStatement(i);case 165:return le(i);case 262:return;case 169:return ue(i);case 256:return d.createNotEmittedStatement(i);case 255:var o=i;return G(o)||t&&nt.hasSyntacticModifier(o,1)?(_=nt.getProperties(o,!0,!0),128&(_=function(e,n){var t=0;return nt.some(n)&&(t|=1),n=nt.getEffectiveBaseTypeNode(e),n&&104!==nt.skipOuterExpressions(n.expression).kind&&(t|=64),nt.classOrConstructorParameterIsDecorated(e)&&(t|=2),nt.childIsDecorated(e)&&(t|=4),De(e)?t|=8:function(e){return Ae(e)&&nt.hasSyntacticModifier(e,512)}(e)?t|=32:Ce(e)&&(t|=16),b<=1&&7&t&&(t|=128),t}(o,_))&&e.startLexicalEnvironment(),u=o.name||(5&_?d.getGeneratedNameForNode(o):void 0),W(v=[u=2&_?function(n,t){var r=nt.moveRangePastDecorators(n),a=function(n){var t;if(16777216&y.getNodeCheckFlags(n))return 0==(1&c)&&(c|=1,e.enableSubstitution(79),l=[]),t=d.createUniqueName(n.name&&!nt.isGeneratedIdentifier(n.name)?nt.idText(n.name):"default"),l[nt.getOriginalNodeId(n)]=t,g(t),t}(n),i=b<=2?d.getInternalName(n,!1,!0):d.getLocalName(n,!1,!0),o=nt.visitNodes(n.heritageClauses,D,nt.isHeritageClause),s=B(n);t=d.createClassExpression(void 0,void 0,t,void 0,o,s),nt.setOriginalNode(t,n),nt.setTextRange(t,r),o=d.createVariableStatement(void 0,d.createVariableDeclarationList([d.createVariableDeclaration(i,void 0,void 0,a?d.createAssignment(a,t):t)],1));return nt.setOriginalNode(o,n),nt.setTextRange(o,r),nt.setCommentRange(o,n),o}(o,u):function(e,n,t){var r=128&t?void 0:nt.visitNodes(e.modifiers,P,nt.isModifier);r=d.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,u,_)],o,!1),W(v,o,!0),z=v,(s=function(e){var n,t,r=function(e){var n=e.decorators;e=j(nt.getFirstConstructorWithBody(e));if(n||e)return{decorators:n,parameters:e}}(e);r=H(e,e,r);if(r)return n=l&&l[nt.getOriginalNodeId(e)],t=b<=2?d.getInternalName(e,!1,!0):d.getLocalName(e,!1,!0),r=p().createDecorateHelper(r,t),t=d.createAssignment(t,n?d.createAssignment(n,r):r),nt.setEmitFlags(t,1536),nt.setSourceMapRange(t,nt.moveRangePastDecorators(e)),t}(K=o))&&z.push(nt.setOriginalNode(d.createExpressionStatement(s),K)),128&_&&(z=nt.createTokenRange(nt.skipTrivia(n.text,o.members.end),19),s=d.getInternalName(o),s=d.createPartiallyEmittedExpression(s),nt.setTextRangeEnd(s,z.end),nt.setEmitFlags(s,1536),s=d.createReturnStatement(s),nt.setTextRangePos(s,z.pos),nt.setEmitFlags(s,1920),v.push(s),nt.insertStatementsAfterStandardPrologue(v,e.endLexicalEnvironment()),z=d.createImmediatelyInvokedArrowFunction(v),nt.setEmitFlags(z,33554432),s=d.createVariableStatement(void 0,d.createVariableDeclarationList([d.createVariableDeclaration(d.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(d.createExportDefault(d.getLocalName(o,!1,!0))):16&_&&v.push(d.createExternalModuleExport(d.getLocalName(o,!1,!0)))),1<v.length&&(v.push(d.createEndOfDeclarationMarker(o)),nt.setEmitFlags(u,4194304|nt.getEmitFlags(u))),nt.singleOrMany(v)):nt.visitEachChild(o,D,e);case 224:return G(K=i)?(z=d.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 d.updateExpressionWithTypeArguments(i,nt.visitNode(i.expression,D,nt.isLeftHandSideExpression),void 0);case 167:var u,_=i;return ce(_)?((u=d.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(u,_),nt.setSourceMapRange(u,nt.moveRangePastDecorators(_))),u):void 0;case 170:var v=i;return pe(v)?((o=d.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)||d.createBlock([])))!==v&&(nt.setCommentRange(o,v),nt.setSourceMapRange(o,nt.moveRangePastDecorators(v))),o):void 0;case 171:var T=i;return pe(T)?((S=d.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)||d.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=d.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)||d.createBlock([])),De(T)?(Ne(V=[S],T),V):S):d.createNotEmittedStatement(T);case 211:return ce(V=i)?d.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)||d.createBlock([])):d.createOmittedExpression();case 212:return U=i,d.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=d.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))?d.updateParenthesizedExpression(x,L):d.createPartiallyEmittedExpression(L,x)):nt.visitEachChild(x,D,e);case 209:case 227:return L=i,F=nt.visitNode(L.expression,D,nt.isExpression),d.createPartiallyEmittedExpression(F,L);case 206:return F=i,d.updateCallExpression(F,nt.visitNode(F.expression,D,nt.isExpression),void 0,nt.visitNodes(F.arguments,D,nt.isExpression));case 207:return M=i,d.updateNewExpression(M,nt.visitNode(M.expression,D,nt.isExpression),void 0,nt.visitNodes(M.arguments,D,nt.isExpression));case 208:return M=i,d.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),d.createPartiallyEmittedExpression(C,w);case 258:var A,C=i;return function(e){return!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)?d.getExternalModuleOrNamespaceExportName(r,C,!1,!0):d.getLocalName(C,!1,!0),O=d.createLogicalOr(O,d.createAssignment(O,d.createObjectLiteralExpression())),fe(C)&&(k=d.getLocalName(C,!1,!0),O=d.createAssignment(k,O)),k=d.createExpressionStatement(d.createCallExpression(d.createFunctionExpression(void 0,void 0,void 0,void 0,[d.createParameterDeclaration(void 0,void 0,void 0,N)],void 0,function(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,d.createBlock(nt.setTextRange(d.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(d.createEndOfDeclarationMarker(C)),A):d.createNotEmittedStatement(C);case 235:var I,N=i;return De(N)?0!==(I=nt.getInitializedVariables(N.declarationList)).length?nt.setTextRange(d.createExpressionStatement(d.inlineExpressions(nt.map(I,me))),N):void 0:nt.visitEachChild(N,D,e);case 252:return O=i,d.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,d.updateJsxSelfClosingElement(R,nt.visitNode(R.tagName,D,nt.isJsxTagNameExpression),void 0,nt.visitNode(R.attributes,D,nt.isJsxAttributes));case 278:return k=i,d.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 d.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(d.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(d.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;return r.body?(a=(t=nt.getAllAccessorDeclarations(t.members,r)).firstAccessor,i=t.secondAccessor,t=t.setAccessor,(a=a.decorators?a:i&&i.decorators?i:void 0)&&r===a&&(i=a.decorators,r=j(t),i||r)?{decorators:i,parameters:r}:void 0):void 0;case 167:var a=n;return a.body?(t=a.decorators,a=j(a),t||a?{decorators:t,parameters:a}:void 0):void 0;case 165:var i=n;return(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(function(e,n){n=U(e,n);for(var t,r=0,a=n;r<a.length;r++){var i=a[r];i=function(e,n){var t,r,a=K(e,n);a=H(n,e,a);if(a)return e=function(e,n){return nt.isStatic(n)?d.getDeclarationName(e):function(e){return d.createPropertyAccessExpression(d.getDeclarationName(e),"prototype")}(e)}(e,n),t=oe(n,!0),r=0<b?165===n.kind?d.createVoidZero():d.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 d.createIdentifier("Function");default:return d.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=function(e,n){return 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 d.createArrayLiteralExpression(t)}function $(e){return nt.isFunctionLike(e)&&e.type?ee(e.type):nt.isAsyncFunction(e)?d.createIdentifier("Promise"):d.createVoidZero()}function ee(e){if(void 0!==e)switch(e.kind){case 114:case 151:case 142:return d.createVoidZero();case 189:return ee(e.type);case 177:case 178:return d.createIdentifier("Function");case 181:case 182:return d.createIdentifier("Array");case 175:case 132:return d.createIdentifier("Boolean");case 148:return d.createIdentifier("String");case 146:return d.createIdentifier("Object");case 194:switch(e.literal.kind){case 10:case 14:return d.createIdentifier("String");case 217:case 8:return d.createIdentifier("Number");case 9:return ie();case 110:case 95:return d.createIdentifier("Boolean");case 104:return d.createVoidZero();default:return nt.Debug.failBadSyntaxKind(e.literal)}case 145:return d.createIdentifier("Number");case 156:return ie();case 149:return b<2?ae():d.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)}))?d.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=d.createTempVariable(g);return d.createLogicalAnd(d.createLogicalAnd(t.left,d.createStrictInequality(d.createAssignment(r,t.right),d.createVoidZero())),d.createPropertyAccessExpression(r,n.right))}(r.typeName),t=d.createTempVariable(g),d.createConditionalExpression(d.createTypeCheck(d.createAssignment(t,n),"function"),void 0,t,void 0,d.createIdentifier("Object")));case nt.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue:return re(r.typeName);case nt.TypeReferenceSerializationKind.VoidNullableOrNeverType:return d.createVoidZero();case nt.TypeReferenceSerializationKind.BigIntLikeType:return ie();case nt.TypeReferenceSerializationKind.BooleanType:return d.createIdentifier("Boolean");case nt.TypeReferenceSerializationKind.NumberLikeType:return d.createIdentifier("Number");case nt.TypeReferenceSerializationKind.StringLikeType:return d.createIdentifier("String");case nt.TypeReferenceSerializationKind.ArrayLikeType:return d.createIdentifier("Array");case nt.TypeReferenceSerializationKind.ESSymbolType:return b<2?ae():d.createIdentifier("Symbol");case nt.TypeReferenceSerializationKind.TypeWithCallSignature:return d.createIdentifier("Function");case nt.TypeReferenceSerializationKind.Promise:return d.createIdentifier("Promise");case nt.TypeReferenceSerializationKind.ObjectType:return d.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 d.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 d.createIdentifier("Object")}else n=i}}return n||d.createVoidZero()}function te(e,n){return d.createLogicalAnd(d.createStrictInequality(d.createTypeOfExpression(e),d.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,d.createPropertyAccessExpression(re(n.left),n.right)}}function ae(){return d.createConditionalExpression(d.createTypeCheck(d.createIdentifier("Symbol"),"function"),void 0,d.createIdentifier("Symbol"),void 0,d.createIdentifier("Object"))}function ie(){return b<99?d.createConditionalExpression(d.createTypeCheck(d.createIdentifier("BigInt"),"function"),void 0,d.createIdentifier("BigInt"),void 0,d.createIdentifier("Object")):d.createIdentifier("BigInt")}function oe(e,n){return e=e.name,nt.isPrivateIdentifier(e)?d.createIdentifier(""):nt.isComputedPropertyName(e)?n&&!nt.isSimpleInlineableExpression(e.expression)?d.getGeneratedNameForNode(e):e.expression:nt.isIdentifier(e)?d.createStringLiteral(nt.idText(e)):d.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=d.getGeneratedNameForNode(n),g(t),d.updateComputedPropertyName(n,d.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=d.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 ue(n){var t,r,a,i;if(ce(n))return d.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(d,r,a,D),nt.addRange(a,nt.map(n,de)),nt.addRange(a,nt.visitNodes(t.statements,D,nt.isStatement,i)),a=d.mergeLexicalEnvironment(a,f()),n=d.createBlock(nt.setTextRange(d.createNodeArray(a),t.statements),!0),nt.setTextRange(n,t),nt.setOriginalNode(n,t),n):nt.visitFunctionBody(t,D,e)))}function de(e){var n,t=e.name;if(nt.isIdentifier(t))return n=nt.setParent(nt.setTextRange(d.cloneNode(t),t),t.parent),nt.setEmitFlags(n,1584),t=nt.setParent(nt.setTextRange(d.cloneNode(t),t),t.parent),nt.setEmitFlags(t,1536),nt.startOnNewLine(nt.removeAllComments(nt.setTextRange(nt.setOriginalNode(d.createExpressionStatement(d.createAssignment(nt.setTextRange(d.createPropertyAccessExpression(d.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(d.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?d.createStringLiteral(a):d.createNumericLiteral(a):(0==(8&c)&&(c|=8,e.enableSubstitution(79)),i.initializer?nt.visitNode(i.initializer,D,nt.isExpression):d.createVoidZero())),i=d.createAssignment(d.createElementAccessExpression(r,t),a);a=10===a.kind?i:d.createAssignment(d.createElementAccessExpression(r,i),t);return nt.setTextRange(d.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=d.createVariableStatement(nt.visitNodes(n.modifiers,P,nt.isModifier),d.createVariableDeclarationList([d.createVariableDeclaration(d.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=d.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,u,p,_,g,y;return l=i,(l=nt.getParseTreeNode(l,nt.isModuleDeclaration))&&!nt.isInstantiatedModule(l,nt.shouldPreserveConstEnums(h))?d.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,!(u=he(s=[],i))||E===nt.ModuleKind.System&&a===n||(l|=512),p=Oe(i),_=Pe(i),g=nt.hasSyntacticModifier(i,1)?d.getExternalModuleOrNamespaceExportName(r,i,!1,!0):d.getLocalName(i,!1,!0),g=d.createLogicalOr(g,d.createAssignment(g,d.createObjectLiteralExpression())),fe(i)&&(y=d.getLocalName(i,!1,!0),g=d.createAssignment(y,g)),y=d.createExpressionStatement(d.createCallExpression(d.createFunctionExpression(void 0,void 0,void 0,void 0,[d.createParameterDeclaration(void 0,void 0,void 0,p)],void 0,function(e,n){var a,i,s=r,c=t,l=o,u=(r=n,t=e,o=void 0,[]);return m(),e.body&&(260===e.body.kind?(L(e.body,(function(e){return nt.addRange(u,nt.visitNodes(e.statements,N,nt.isStatement))})),a=e.body.statements,i=e.body):((n=ve(e.body))&&(nt.isArray(n)?nt.addRange(u,n):u.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(u,f()),r=s,t=c,o=l,n=d.createBlock(nt.setTextRange(d.createNodeArray(u),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),u&&(nt.setSyntheticLeadingComments(y,void 0),nt.setSyntheticTrailingComments(y,void 0)),nt.setTextRange(y,i),nt.addEmitFlags(y,l),s.push(y),s.push(d.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?d.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)?d.updateNamedImports(e,n):void 0)}function Te(e){return y.isReferencedAliasDeclaration(e)?e:void 0}function Se(e){return nt.isNamespaceExport(e)?d.updateNamespaceExport(e,nt.visitNode(e.name,D,nt.isIdentifier)):(e=e,n=nt.visitNodes(e.elements,xe,nt.isExportSpecifier),nt.some(n)?d.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(d.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(d,t.moduleReference),nt.setEmitFlags(o,3584),Ce(t)||!De(t)?nt.setOriginalNode(nt.setTextRange(d.createVariableStatement(nt.visitNodes(t.modifiers,P,nt.isModifier),d.createVariableDeclarationList([nt.setOriginalNode(d.createVariableDeclaration(t.name,void 0,void 0,o),t)])),t),t):nt.setOriginalNode((i=t.name,o=o,s=t,nt.setTextRange(d.createExpressionStatement(d.createAssignment(d.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 d.createExpressionStatement(e)}function Ne(e,n){var t=d.createAssignment(d.getExternalModuleOrNamespaceExportName(r,n,!1,!0),d.getLocalName(n));nt.setSourceMapRange(t,nt.createRange((n.name||n).pos,n.end)),t=d.createExpressionStatement(t);nt.setSourceMapRange(t,nt.createRange(-1,n.end)),e.push(t)}function ke(e,n,t){return nt.setTextRange(d.createAssignment(Re(e),n),t)}function Re(e){return d.getNamespaceMemberName(r,e,!1,!0)}function Oe(e){var n=d.getGeneratedNameForNode(e);return nt.setSourceMapRange(n,e.name),n}function Pe(e){return d.getGeneratedNameForNode(e)}function we(e){if(c&u&&!nt.isGeneratedIdentifier(e)&&!nt.isLocalName(e)){var n=y.getReferencedExportContainer(e,!1);if(n&&300!==n.kind&&(2&u&&259===n.kind||8&u&&258===n.kind))return nt.setTextRange(d.createPropertyAccessExpression(d.getGeneratedNameForNode(n),e),e)}}function Me(e){var n,t=function(e){if(!h.isolatedModules)return nt.isPropertyAccessExpression(e)||nt.isElementAccessExpression(e)?y.getConstantValue(e):void 0}(e);return void 0!==t?(nt.setConstantValue(e,t),t="string"==typeof t?d.createStringLiteral(t):d.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=SY=SY||{},(wu=tt.PrivateIdentifierKind||(tt.PrivateIdentifierKind={})).Field="f",wu.Method="m",wu.Accessor="a",tt.transformClassFields=function(e){var n,t,r,a,i,o,s,c=e.factory,l=e.hoistVariableDeclaration,u=e.endLexicalEnvironment,d=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 function(e){return function(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 function(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,u){if(8388608&o.transformFlags)switch(o.kind){case 224:case 255:var d=o;return tt.forEach(d.members,F)?(f=r,r=void 0,S.push(i),i=void 0,h&&((y=tt.getNameOfDeclaration(d))&&tt.isIdentifier(y)&&(J().className=tt.idText(y)),y=G(d),tt.some(y))&&(J().weakSetName=X("instances",y[0].name)),y=(tt.isClassDeclaration(d)?function(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=tt.getEffectiveBaseTypeNode(e),n=!(!n||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}:function(i){var o=B(i);o&&(z().facts=o),8&o&&H();var s,u=!!(1&o),d=tt.getStaticPropertiesAndClassStaticBlock(i),p=tt.getEffectiveBaseTypeNode(i),f=(p=!(!p||104===tt.skipOuterExpressions(p.expression).kind),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(d,(function(e){return tt.isClassStaticBlockDeclaration(e)||!!e.initializer||h&&tt.isPrivateIdentifier(e.name)}))||tt.some(r)){if(!u)return p=[],s=s||g(),f&&(0==(1&n)&&(n|=1,e.enableSubstitution(79),t=[]),(u=c.cloneNode(s)).autoGenerateFlags&=-9,t[tt.getOriginalNodeId(i)]=u),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,function(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}(d,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(d)&&j(a,d,c.getInternalName(i)),s)return c.inlineExpressions([c.createAssignment(s,o),s])}return o})(d),i=S.pop(),r=f,y):tt.visitEachChild(d,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)?$u([f],a,!0):f,a=y,f;case 80:return d=o,h?tt.setOriginalNode(c.createIdentifier(""),d):d;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=u;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=u,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($u($u([],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,$u([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,$u([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=function(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=function(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),d(),t=s,s=e,n=tt.visitNodes(e.body.statements,A,tt.isStatement),n=c.mergeLexicalEnvironment(n,u()),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,d,m,_,f,g,v,b,E,T=a[r];tt.isPrivateIdentifierClassElementDeclaration(T)&&(E=b=v=g=f=_=m=d=l=s=o=i=void 0,i=T,o=tt.getTextOfPropertyName(i.name),s=z().classConstructor,l=J(),d=l.weakSetName,m=[],_=i.name.escapedText,f=l.identifiers.get(_),g=!("#constructor"===i.name.escapedText)&&void 0===f,tt.hasStaticModifier(i)?(tt.Debug.assert(s,"weakSetName should be set in private identifier environment"),tt.isPropertyDeclaration(i)?(v=Y(o,i),l.identifiers.set(_,{kind:"f",variableName:v,brandCheckIdentifier:s,isStatic:!0,isValid:g})):tt.isMethodDeclaration(i)?(v=Y(o,i),l.identifiers.set(_,{kind:"m",methodName:v,brandCheckIdentifier:s,isStatic:!0,isValid:g})):tt.isGetAccessorDeclaration(i)?(b=Y(o+"_get",i),"a"===(null==f?void 0:f.kind)&&f.isStatic&&!f.getterName?f.getterName=b:l.identifiers.set(_,{kind:"a",getterName:b,setterName:void 0,brandCheckIdentifier:s,isStatic:!0,isValid:g})):tt.isSetAccessorDeclaration(i)?(E=Y(o+"_set",i),"a"===(null==f?void 0:f.kind)&&f.isStatic&&!f.setterName?f.setterName=E:l.identifiers.set(_,{kind:"a",getterName:void 0,setterName:E,brandCheckIdentifier:s,isStatic:!0,isValid:g})):tt.Debug.assertNever(i,"Unknown class element type.")):tt.isPropertyDeclaration(i)?(v=Y(o,i),l.identifiers.set(_,{kind:"f",brandCheckIdentifier:v,isStatic:!1,variableName:void 0,isValid:g}),m.push(c.createAssignment(v,c.createNewExpression(c.createIdentifier("WeakMap"),void 0,[])))):tt.isMethodDeclaration(i)?(tt.Debug.assert(d,"weakSetName should be set in private identifier environment"),l.identifiers.set(_,{kind:"m",methodName:Y(o,i),brandCheckIdentifier:d,isStatic:!1,isValid:g})):tt.isAccessor(i)?(tt.Debug.assert(d,"weakSetName should be set in private identifier environment"),tt.isGetAccessor(i)?(b=Y(o+"_get",i),"a"!==(null==f?void 0:f.kind)||f.isStatic||f.getterName?l.identifiers.set(_,{kind:"a",getterName:b,setterName:void 0,brandCheckIdentifier:d,isStatic:!1,isValid:g}):f.getterName=b):(E=Y(o+"_set",i),"a"!==(null==f?void 0:f.kind)||f.isStatic||f.setterName?l.identifiers.set(_,{kind:"a",getterName:void 0,setterName:E,brandCheckIdentifier:d,isStatic:!1,isValid:g}):f.setterName=E)):tt.Debug.assertNever(i,"Unknown class element type."),(s=q()).push.apply(s,m))}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=function(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=function(n,t,r){var a=tt.getProperties(n,!1,!1);y||(a=tt.filter(a,(function(e){return!!e.initializer||tt.isPrivateIdentifier(e.name)})));var i=G(n),o=tt.some(a)||tt.some(i);if(!t&&!o)return tt.visitFunctionBody(void 0,A,e);p();o=0;var s=[];return!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(),function(e,n,t){h&&tt.some(n)&&(n=J().weakSetName,tt.Debug.assert(n,"weakSetName should be set in private identifier environment"),e.push(c.createExpressionStatement(function(e,n){return tt.factory.createCallExpression(tt.factory.createPropertyAccessExpression(n,"add"),void 0,[e])}(t,n))))}(s,i,r),j(s,a,r),t&&tt.addRange(s,tt.visitNodes(t.body.statements,A,tt.isStatement,o)),s=c.mergeLexicalEnvironment(s,u()),tt.setTextRange(c.createBlock(tt.setTextRange(c.createNodeArray(s),t?t.body.statements:n.members),!0),t?t.body:void 0)}(n,r,t),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=function(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?function(e,n){return tt.factory.createAssignment(e,tt.factory.createObjectLiteralExpression([tt.factory.createPropertyAssignment("value",n||tt.factory.createVoidZero())]))}(a.variableName,tt.visitNode(e.initializer,A,tt.isExpression)):function(e,n,t){return 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=SY=SY||{}).transformES2017=function(e){var n,t,r,a,i=e.factory,o=e.getEmitHelperFactory,s=e.resumeLexicalEnvironment,c=e.endLexicalEnvironment,l=e.hoistVariableDeclaration,u=e.getEmitResolver(),d=e.getCompilerOptions(),p=rt.getEmitScriptTarget(d),m=0,_=[],f=0,g=e.onEmitNode,y=e.onSubstituteNode;return e.onEmitNode=function(e,t,r){if(1&n&&function(e){return e=e.kind,255===e||169===e||167===e||170===e||171===e}(t)){var a=6144&u.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?function(e){switch(e.kind){case 204:return F(e);case 205:return G(e);case 206:return function(e){var n=e.expression;return rt.isSuperProperty(n)?(n=(rt.isPropertyAccessExpression(n)?F:G)(n),i.createCallExpression(i.createPropertyAccessExpression(n,"call"),void 0,$u([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,d)),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)?(u=k(r.declarationList,!1))?i.createExpressionStatement(u):void 0:rt.visitEachChild(r,S,e);case 240:return r=(u=n).initializer,i.updateForStatement(u,N(r)?k(r,!1):rt.visitNode(u.initializer,S,rt.isForInitializer),rt.visitNode(u.condition,S,rt.isExpression),rt.visitNode(u.incrementor,S,rt.isExpression),rt.visitIterationBody(u.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,u;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 d=rt.getOriginalNode(l,rt.isFunctionLike).type,m=(d=p<2?function(e){if(e=e&&rt.getEntityNameFromTypeNode(e),e&&rt.isEntityName(e)){var n=u.getTypeReferenceSerializationKind(e);if(n===rt.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue||n===rt.TypeReferenceSerializationKind.Unknown)return e}}(d):void 0,212===l.kind),f=0!=(8192&u.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,d,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,d,M(l.body,E)))),rt.insertStatementsAfterStandardPrologue(v,c()),(f=2<=p&&6144&u.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)&&(d=Vk(i,u,l,r),_[rt.getNodeId(d)]=!0,rt.insertStatementsAfterStandardPrologue(v,[d])),T=i.createBlock(v,!0),rt.setTextRange(T,l.body),f&&a&&(4096&u.getNodeCheckFlags(l)?rt.addEmitHelper(T,rt.advancedAsyncSuperHelper):2048&u.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=Vk,at=SY=SY||{},(sm={None:0,0:"None",HasLexicalThis:1,1:"HasLexicalThis",IterationContainer:2,2:"IterationContainer",AncestorFactsMask:3,3:"AncestorFactsMask",SourceFileIncludes:1})[1]="SourceFileIncludes",sm[sm.SourceFileExcludes=2]="SourceFileExcludes",sm[sm.StrictModeSourceFileIncludes=0]="StrictModeSourceFileIncludes",sm[sm.ClassOrFunctionIncludes=1]="ClassOrFunctionIncludes",sm[sm.ClassOrFunctionExcludes=2]="ClassOrFunctionExcludes",sm[sm.ArrowFunctionIncludes=0]="ArrowFunctionIncludes",sm[sm.ArrowFunctionExcludes=2]="ArrowFunctionExcludes",sm[sm.IterationStatementIncludes=2]="IterationStatementIncludes",sm[sm.IterationStatementExcludes=0]="IterationStatementExcludes",at.transformES2018=function(e){var n,t,r,a,i,o,s=e.factory,c=e.getEmitHelperFactory,l=e.resumeLexicalEnvironment,u=e.endLexicalEnvironment,d=e.hoistVariableDeclaration,p=e.getEmitResolver(),m=e.getCompilerOptions(),_=at.getEmitScriptTarget(m),f=e.onEmitNode,g=(e.onEmitNode=function(e,t,r){if(1&n&&function(e){return e=e.kind,255===e||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?function(e){switch(e.kind){case 204:return H(e);case 205:return W(e);case 206:return function(e){var n=e.expression;return at.isSuperProperty(n)?(n=(at.isPropertyAccessExpression(n)?H:W)(n),s.createCallExpression(s.createPropertyAccessExpression(n,"call"),void 0,$u([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=function(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?(u=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(u),u)),u)))),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 u=n;return 2&t&&1&t?s.updateReturnStatement(u,O(u.expression?at.visitNode(u.expression,x,at.isExpression):s.createVoidZero())):at.visitEachChild(u,x,e);case 248:var d=n;return 2&t?242===(p=at.unwrapInnermostStatementOfLabel(d)).kind&&p.awaitModifier?R(p,d):s.restoreEnclosingLabel(at.visitNode(p,x,at.isStatement,s.liftToBlock),d):at.visitEachChild(d,x,e);case 203:var p=n;if(32768&p.transformFlags){var m=function(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:d=n;var g=a;return at.isDestructuringAssignment(d)&&32768&d.left.transformFlags?at.flattenDestructuringAssignment(d,x,e,1,!g):27!==d.operatorToken.kind?at.visitEachChild(d,x,e):s.updateBinaryExpression(d,at.visitNode(d.left,L,at.isExpression),d.operatorToken,at.visitNode(d.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,$u([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,u,p,m,_,f,g,y,h=E(0,2),v=(n=32768&n.initializer.transformFlags?function(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),u=s.createUniqueName("e"),p=s.getGeneratedNameForNode(u),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,[]),d(u),d(m),v=2&v?s.inlineExpressions([s.createAssignment(u,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,function(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(u,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(u,s.createThrowStatement(s.createPropertyAccessExpression(u,"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),d=(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,u()),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=d,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=u();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=SY=SY||{}).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=SY=SY||{}).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 u;return 60===a.operatorToken.kind?(l=a,d=ot.visitNode(l.left,r,ot.isExpression),u=d,ot.isSimpleCopiableExpression(d)||(u=n.createTempVariable(t),d=n.createAssignment(u,d)),ot.setTextRange(n.createConditionalExpression(c(d,u),void 0,u,void 0,ot.visitNode(l.right,r,ot.isExpression)),l)):ot.visitEachChild(a,r,e);case 213:return d=a,ot.isOptionalChain(ot.skipParentheses(d.expression))?ot.setOriginalNode(o(d.expression,!1,!0),d):n.updateDeleteExpression(d,ot.visitNode(d.expression,r,ot.isExpression));default:return ot.visitEachChild(a,r,e)}var d}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,u=o,d=c,ot.isOptionalChain(l)?s(l,u,d):(d=ot.visitNode(l.expression,r,ot.isExpression),ot.Debug.assertNotNode(d,ot.isSyntheticReference),u&&(ot.isSimpleCopiableExpression(d)?p=d:(p=n.createTempVariable(t),d=n.createAssignment(p,d))),d=204===l.kind?n.updatePropertyAccessExpression(l,d,ot.visitNode(l.name,r,ot.isIdentifier)):n.updateElementAccessExpression(l,d,ot.visitNode(l.argumentExpression,r,ot.isExpression)),p?n.createSyntheticReferenceExpression(d,p):d);case 206:return i(e,o);default:return ot.visitNode(e,r,ot.isExpression)}var l,u,d,p}function s(e,a,i){for(var s,l=function(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),u=l.expression,d=l.chain,p=(l=o(u,ot.isCallChain(d[0]),!1),ot.isSyntheticReference(l)?l.thisArg:void 0),m=(u=ot.isSyntheticReference(l)?l.expression:l,l=u,ot.isSimpleCopiableExpression(u)||(l=n.createTempVariable(t),u=n.createAssignment(l,u)),l),_=0;_<d.length;_++){var f=d[_];switch(f.kind){case 204:case 205:_===d.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(u,l,!0),void 0,n.createTrue(),void 0,n.createDeleteExpression(m)):n.createConditionalExpression(c(u,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=SY=SY||{}).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,u,d,p=a;if(st.isLogicalOrCoalescingAssignmentExpression(p))return i=(p=p).operatorToken,i=st.getNonAssignmentOperatorForCompoundAssignment(i.kind),o=st.skipParentheses(st.visitNode(p.left,r,st.isLeftHandSideExpression)),s=o,p=st.skipParentheses(st.visitNode(p.right,r,st.isExpression)),st.isAccessExpression(o)&&(l=st.isSimpleCopiableExpression(o.expression),c=l?o.expression:t.createTempVariable(n),l=l?o.expression:t.createAssignment(c,o.expression),o=st.isPropertyAccessExpression(o)?(s=t.createPropertyAccessExpression(c,o.name),t.createPropertyAccessExpression(l,o.name)):(u=st.isSimpleCopiableExpression(o.argumentExpression),d=u?o.argumentExpression:t.createTempVariable(n),s=t.createElementAccessExpression(c,d),t.createElementAccessExpression(l,u?o.argumentExpression:t.createAssignment(d,o.argumentExpression)))),t.createBinaryExpression(o,i,t.createParenthesizedExpression(t.createAssignment(s,p)))}return st.visitEachChild(a,r,e)}},(ct=SY=SY||{}).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:(t.kind,ct.visitEachChild(t,n,e))}},(lt=SY=SY||{}).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,u=lt.arrayFrom(t.utilizedImplicitRuntimeImports.entries());l<u.length;l++){var d,p=u[l],m=p[0];p=p[1];lt.isExternalModule(a)?(d=r.createImportDeclaration(void 0,void 0,r.createImportClause(!1,void 0,r.createNamedImports(lt.arrayFrom(p.values()))),r.createStringLiteral(m)),lt.setParentRecursive(d,!1),s=lt.insertStatementAfterCustomPrologue(s.slice(),d)):lt.isExternalOrCommonJsModule(a)&&(d=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(d,!1),s=lt.insertStatementAfterCustomPrologue(s.slice(),d))}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 d(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=function(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 d(e,!0);case 277:return p(e,!0);case 280:return m(e,!0);default:return lt.Debug.failBadSyntaxKind(e)}}function u(e){return void 0===t.importSpecifier||function(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 d(e,n){return(u(e.openingElement)?y:f)(e.openingElement,e.children,n,e)}function p(e,n){return(u(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,u){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,u.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),u),l&&lt.startOnNewLine(a),a}function y(o,c,u,d){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),d));return u&&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((a=e.text,((i=L(a))===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=ut.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)}},ut=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})),(dt=SY=SY||{}).transformES2016=function(e){var n=e.factory,t=e.hoistVariableDeclaration;return dt.chainBundle(e,(function(n){return n.isDeclarationFile?n:dt.visitEachChild(n,r,e)}));function r(a){if(0==(256&a.transformFlags))return a;if(219!==a.kind)return dt.visitEachChild(a,r,e);var i=a;switch(i.operatorToken.kind){case 67:return function(e){var a,i,o,s=dt.visitNode(e.left,r,dt.isExpression),c=dt.visitNode(e.right,r,dt.isExpression);return i=dt.isElementAccessExpression(s)?(o=n.createTempVariable(t),i=n.createTempVariable(t),a=dt.setTextRange(n.createElementAccessExpression(dt.setTextRange(n.createAssignment(o,s.expression),s.expression),dt.setTextRange(n.createAssignment(i,s.argumentExpression),s.argumentExpression)),s),dt.setTextRange(n.createElementAccessExpression(o,i),s)):dt.isPropertyAccessExpression(s)?(o=n.createTempVariable(t),a=dt.setTextRange(n.createPropertyAccessExpression(dt.setTextRange(n.createAssignment(o,s.expression),s.expression),s.name),s),dt.setTextRange(n.createPropertyAccessExpression(o,s.name),s)):a=s,dt.setTextRange(n.createAssignment(a,dt.setTextRange(n.createGlobalMethodCall("Math","pow",[i,c]),e)),e)}(i);case 42:return function(e){var t=dt.visitNode(e.left,r,dt.isExpression),a=dt.visitNode(e.right,r,dt.isExpression);return dt.setTextRange(n.createGlobalMethodCall("Math","pow",[t,a]),e)}(i);default:return dt.visitEachChild(i,r,e)}}},pt=SY=SY||{},(nd={None:0,0:"None",Function:1,1:"Function",ArrowFunction:2,2:"ArrowFunction",AsyncFunctionBody:4,4:"AsyncFunctionBody",NonStaticClassElement:8,8:"NonStaticClassElement",CapturesThis:16,16:"CapturesThis",ExportedVariableStatement:32,32:"ExportedVariableStatement",TopLevel:64,64:"TopLevel",Block:128,128:"Block",IterationStatement:256,256:"IterationStatement",IterationStatementBlock:512,512:"IterationStatementBlock",IterationContainer:1024,1024:"IterationContainer",ForStatement:2048,2048:"ForStatement",ForInOrForOfStatement:4096,4096:"ForInOrForOfStatement",ConstructorWithCapturedSuper:8192,8192:"ConstructorWithCapturedSuper",StaticInitializer:16384,16384:"StaticInitializer",AncestorFactsMask:32767,32767:"AncestorFactsMask",BlockScopeIncludes:0})[0]="BlockScopeIncludes",nd[nd.BlockScopeExcludes=7104]="BlockScopeExcludes",nd[nd.SourceFileIncludes=64]="SourceFileIncludes",nd[nd.SourceFileExcludes=8064]="SourceFileExcludes",nd[nd.FunctionIncludes=65]="FunctionIncludes",nd[nd.FunctionExcludes=32670]="FunctionExcludes",nd[nd.AsyncFunctionBodyIncludes=69]="AsyncFunctionBodyIncludes",nd[nd.AsyncFunctionBodyExcludes=32662]="AsyncFunctionBodyExcludes",nd[nd.ArrowFunctionIncludes=66]="ArrowFunctionIncludes",nd[nd.ArrowFunctionExcludes=15232]="ArrowFunctionExcludes",nd[nd.ConstructorIncludes=73]="ConstructorIncludes",nd[nd.ConstructorExcludes=32662]="ConstructorExcludes",nd[nd.DoOrWhileStatementIncludes=1280]="DoOrWhileStatementIncludes",nd[nd.DoOrWhileStatementExcludes=0]="DoOrWhileStatementExcludes",nd[nd.ForStatementIncludes=3328]="ForStatementIncludes",nd[nd.ForStatementExcludes=5056]="ForStatementExcludes",nd[nd.ForInOrForOfStatementIncludes=5376]="ForInOrForOfStatementIncludes",nd[nd.ForInOrForOfStatementExcludes=3008]="ForInOrForOfStatementExcludes",nd[nd.BlockIncludes=128]="BlockIncludes",nd[nd.BlockExcludes=6976]="BlockExcludes",nd[nd.IterationStatementBlockIncludes=512]="IterationStatementBlockIncludes",nd[nd.IterationStatementBlockExcludes=7104]="IterationStatementBlockExcludes",nd[nd.StaticInitializerIncludes=16449]="StaticInitializerIncludes",nd[nd.StaticInitializerExcludes=32670]="StaticInitializerExcludes",nd[nd.NewTarget=32768]="NewTarget",nd[nd.CapturedLexicalThis=65536]="CapturedLexicalThis",nd[nd.SubtreeFactsMask=-32768]="SubtreeFactsMask",nd[nd.ArrowFunctionSubtreeExcludes=0]="ArrowFunctionSubtreeExcludes",nd[nd.FunctionSubtreeExcludes=98304]="FunctionSubtreeExcludes",pt.transformES2015=function(e){var n,t,r,a,i,o,s=e.factory,c=e.getEmitHelperFactory,l=e.startLexicalEnvironment,u=e.resumeLexicalEnvironment,d=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?function(e){switch(e.kind){case 79:return function(e){if(2&o&&!pt.isInternalName(e)){var n=_.getReferencedDeclarationWithCollidingName(e);if(n&&(!pt.isClassLike(n)||!function(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 function(e){return 1&o&&16&r?pt.setTextRange(s.createUniqueName("_this",48),e):e}(e)}return e}(n):pt.isIdentifier(n)?function(e){if(2&o&&!pt.isInternalName(e)){var n=pt.getParseTreeNode(e,pt.isIdentifier);if(n&&function(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=function(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,d()),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),[]),u=(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)&&(u=pt.hasSyntacticModifier(o,512)?s.createExportDefault(s.getLocalName(o)):s.createExternalModuleExport(s.getLocalName(o)),pt.setOriginalNode(u,c),l.push(u)),pt.getEmitFlags(o));return 0==(4194304&u)&&(l.push(s.createEndOfDeclarationMarker(o)),pt.setEmitFlags(c,4194304|u)),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,u=i,i=void 0,l=h(32670,65),Ze=pt.visitParameterList(c.parameters,T,e),$e=U(c),en=32768&r?s.getLocalName(c):c.name,v(l,98304,0),i=u,s.updateFunctionDeclaration(c,void 0,pt.visitNodes(c.modifiers,T,pt.isModifier),c.asteriskToken,en,void 0,Ze,void 0,$e);case 212:return 8192&(en=t).transformFlags&&!(16384&r)&&(r|=65536),Ze=i,i=void 0,$e=h(15232,66),Qe=s.createFunctionExpression(void 0,void 0,void 0,void 0,pt.visitParameterList(en.parameters,T,e),void 0,U(en)),pt.setTextRange(Qe,en),pt.setOriginalNode(Qe,en),pt.setEmitFlags(Qe,8),v($e,0,0),i=Ze,Qe;case 211:return Qe=t,ze=262144&pt.getEmitFlags(Qe)?h(32662,69):h(32670,65),Je=i,i=void 0,qe=pt.visitParameterList(Qe.parameters,T,e),Xe=U(Qe),Ye=32768&r?s.getLocalName(Qe):Qe.name,v(ze,98304,0),i=Je,s.updateFunctionExpression(Qe,void 0,Qe.asteriskToken,Ye,void 0,qe,void 0,Xe);case 252:return K(t);case 79:return C(t);case 253:return ze=t,3&ze.flags||262144&ze.transformFlags?(3&ze.flags&&ve(),Je=pt.flatMap(ze.declarations,1&ze.flags?j:K),Ye=s.createVariableDeclarationList(Je),pt.setOriginalNode(Ye,ze),pt.setTextRange(Ye,ze),pt.setCommentRange(Ye,ze),262144&ze.transformFlags&&(pt.isBindingPattern(ze.declarations[0].name)||pt.isBindingPattern(pt.last(ze.declarations).name))&&pt.setSourceMapRange(Ye,function(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)}(Je)),Ye):pt.visitEachChild(ze,T,e);case 247:return qe=t,void 0===i?pt.visitEachChild(qe,T,e):(Xe=i.allowedNonLabeledJumps,i.allowedNonLabeledJumps|=2,qe=pt.visitEachChild(qe,T,e),i.allowedNonLabeledJumps=Xe,qe);case 261:return He=t,We=h(7104,0),He=pt.visitEachChild(t,T,e),v(We,0,0),He;case 233:return We=t,He=!1,He?pt.visitEachChild(We,T,e):(He=256&r?h(7104,512):h(6976,128),We=pt.visitEachChild(We,T,e),v(He,0,0),We);case 244:case 243:var d=t;if(i){var m=244===d.kind?2:4;if(!(d.label&&i.labels&&i.labels.get(pt.idText(d.label))||!d.label&&i.allowedNonLabeledJumps&m)){m=void 0;var _=d.label;_=(_?244===d.kind?(m="break-"+_.escapedText,ue(i,!0,pt.idText(_),m)):(m="continue-"+_.escapedText,ue(i,!1,pt.idText(_),m)):m=244===d.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(d,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:d=t;for(var R=d.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(d,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),d.multiLine),P?65536:0)),Z=(d.multiLine&&pt.startOnNewLine(Q),z.push(Q),z),$=d,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(function(e,n,t,r){return 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(function(e,n,t){return 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(function(e,n,t){return 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(d.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."),Ke=pt.isBindingPattern(Q.variableDeclaration.name)?(z=s.createTempVariable(void 0),Ke=s.createVariableDeclaration(z),pt.setTextRange(Ke,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,Ke,function(e,n){var t=pt.visitNodes(e.statements,T,pt.isStatement);return s.updateBlock(e,$u([n],t,!0))}(Q.block,z))):pt.visitEachChild(Q,T,e),v(F,0,0),Ke;case 292:return Ke=t,pt.setTextRange(s.createPropertyAssignment(Ke.name,C(s.cloneNode(Ke.name))),Ke);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:var se;oe=t;if(33554432&pt.getEmitFlags(oe)){var le=oe;function de(e){return pt.isVariableStatement(e)&&!!pt.first(e.declarationList.declarations).initializer}var _e=pt.cast(pt.cast(pt.skipOuterExpressions(le.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,de)),_e=pt.filter(_e,(function(e){return!de(e)})),pt.cast(pt.first(fe),pt.isVariableStatement).declarationList.declarations[0]),ye=pt.skipOuterExpressions(ge.initializer),be=pt.tryCast(ye,pt.isAssignmentExpression);!be&&pt.isBinaryExpression(ye)&&27===ye.operatorToken.kind&&(be=pt.tryCast(ye.left,pt.isAssignmentExpression));ye=pt.cast(be?pt.skipOuterExpressions(be.right):ye,pt.isCallExpression);var Ee=pt.cast(pt.skipOuterExpressions(ye.expression),pt.isFunctionExpression),Te=Ee.body.statements,Se=0,xe=-1,Le=[];for(be&&((se=pt.tryCast(Te[Se],pt.isExpressionStatement))&&(Le.push(se),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(le.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===(se=pt.skipOuterExpressions(oe.expression)).kind||pt.isSuperProperty(se)||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($u([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;le=a;if(le)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 le=Ae?pt.setTextRange(s.createNodeArray(Ae),De.elements):De.elements,s.updateCommaListExpression(De,le);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:return Le=t,function(e,n){!function(e){return pt.Debug.assert(0!==e.templateSpans.length),0!==e.head.text.length||0===e.templateSpans[0].literal.text.length}(n)||e.push(s.createStringLiteral(n.head.text))}(ye=[],Le),function(e,n){for(var t=0,r=n.templateSpans;t<r.length;t++){var a=r[t];e.push(pt.visitNode(a.expression,T,pt.isExpression)),0!==a.literal.text.length&&e.push(s.createStringLiteral(a.literal.text))}}(ye,Le),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:var ke=t;return 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!==(ke=t).keywordToken||"target"!==ke.name.escapedText?ke:(r|=32768,s.createUniqueName("_newTarget",48));case 167:return Oe=t,pt.Debug.assert(!pt.isComputedPropertyName(Oe.name)),Re=B(Oe,pt.moveRangePos(Oe,-1),void 0,void 0),pt.setEmitFlags(Re,512|pt.getEmitFlags(Re)),pt.setTextRange(s.createPropertyAssignment(Oe.name,Re),Oe);case 170:case 171:var Re=t,Oe=(pt.Debug.assert(!pt.isComputedPropertyName(Re.name)),i),Pe=(i=void 0,h(32670,65)),we=pt.visitParameterList(Re.parameters,T,e),Me=U(Re);return Re=170===Re.kind?s.updateGetAccessorDeclaration(Re,Re.decorators,Re.modifiers,Re.name,we,Re.type,Me):s.updateSetAccessorDeclaration(Re,Re.decorators,Re.modifiers,Re.name,we,Me),v(Pe,98304,0),i=Oe,Re;case 235:var Fe;we=t,Me=h(0,pt.hasSyntacticModifier(we,1)?32:0);if(i&&0==(3&we.declarationList.flags)&&!function(e){return 1===e.declarationList.declarations.length&&e.declarationList.declarations[0].initializer&&33554432&pt.getEmitFlags(e.declarationList.declarations[0].initializer)}(we)){for(var Ge=void 0,Be=0,Ue=we.declarationList.declarations;Be<Ue.length;Be++){var Ve,je=Ue[Be];!function(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&&(Ve=void 0,pt.isBindingPattern(je.name)?Ve=pt.flattenDestructuringAssignment(je,T,e,0):(Ve=s.createBinaryExpression(je.name,63,pt.visitNode(je.initializer,T,pt.isExpression)),pt.setTextRange(Ve,je)),Ge=pt.append(Ge,Ve))}Fe=Ge?pt.setTextRange(s.createExpressionStatement(s.inlineExpressions(Ge)),we):void 0}else Fe=pt.visitEachChild(we,T,e);return v(Me,0,0),Fe;case 245:return Pe=t,i?(i.nonLocalJumps|=8,b(Pe)&&(Pe=A(Pe)),s.createReturnStatement(s.createObjectLiteralExpression([s.createPropertyAssignment(s.createIdentifier("value"),Pe.expression?pt.visitNode(Pe.expression,T,pt.isExpression):s.createVoidZero())]))):b(Pe)?A(Pe):pt.visitEachChild(Pe,T,e);case 215:return pt.visitEachChild(t,S,e);default:return pt.visitEachChild(t,T,e)}var Ke,He,We,ze,Je,qe,Xe,Ye,Qe,Ze,$e,en}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(),function(e,n,t){t&&e.push(pt.setTextRange(s.createExpressionStatement(c().createExtendsHelper(s.getInternalName(n))),t))}(m,_,f),function(n,t,a,o){var c=i,l=(i=void 0,h(32662,73)),p=pt.getFirstConstructorWithBody(t),m=function(e,n){if(!e||!n)return!1;if(pt.some(e.parameters))return!1;n=pt.firstOrUndefined(e.body.statements);return!(!n||!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,function(n,t){return pt.visitParameterList(n&&!t?n.parameters:void 0,T,e)||[]}(p,m),void 0,function(e,n,t,a){if(t=!!t&&104!==pt.skipOuterExpressions(t.expression).kind,!e)return function(e,n){var t=[];return u(),s.mergeLexicalEnvironment(t,d()),n&&t.push(s.createReturnStatement(k())),n=s.createNodeArray(t),pt.setTextRange(n,e.members),t=s.createBlock(n,!0),pt.setTextRange(t,e),pt.setEmitFlags(t,1536),t}(n,t);n=[];var i,o=[],c=(u(),0);return a||(c=s.copyStandardPrologue(e.body.statements,n,!1)),O(o,e),P(o,e,a),a||(c=s.copyCustomPrologue(e.body.statements,o,c,T)),a?i=k():t&&c<e.body.statements.length&&(a=e.body.statements[c],pt.isExpressionStatement(a))&&pt.isSuperCall(a.expression)&&(i=function(e){return pe(e,!1)}(a.expression)),i&&(r|=8192,c++),pt.addRange(o,pt.visitNodes(e.body.statements,T,pt.isStatement,c)),s.mergeLexicalEnvironment(n,d()),F(n,e,!1),t?!i||c!==e.body.statements.length||8192&e.body.transformFlags?(M(o,e,i||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)||o.push(s.createReturnStatement(s.createUniqueName("_this",48)))):(a=pt.cast(pt.cast(i,pt.isBinaryExpression).left,pt.isCallExpression),t=s.createReturnStatement(i),pt.setCommentRange(t,pt.getCommentRange(a)),pt.setEmitFlags(a,1536),o.push(t)):w(n,e),c=s.createBlock(pt.setTextRange(s.createNodeArray(pt.concatenate(n,o)),e.body.statements),!0),pt.setTextRange(c,e.body),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),function(t,r){for(var a=0,i=r.members;a<i.length;a++){var o=i[a];switch(o.kind){case 232:t.push(function(e){return pt.setTextRange(s.createEmptyStatement(),e)}(o));break;case 167:t.push(function(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(function(e,n,t){return 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,d()),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,u,d=i[a],p=d.name,m=d.initializer;d.dotDotDotToken||(pt.isBindingPattern(p)?r=function(n,t,r,a){return 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,d,p,m)||r:m&&(u=l=c=o=void 0,o=n,c=d,l=p,u=m,u=pt.visitNode(u,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(u,1584|pt.getEmitFlags(u))),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)),u=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,u),t),n)}function U(e){var t,r,a,i=!1,o=!1,c=[],l=[],p=e.body;return u(),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,d()),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=function(n,t,a,o){if(!ae(n))return c=void 0,i&&(c=i.allowedNonLabeledJumps,i.allowedNonLabeledJumps=6),u=o?o(n,t,void 0,a):s.restoreEnclosingLabel(pt.isForStatement(n)?function(e){return 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),u;var c=function(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 u=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 u=l[c];pt.isOmittedExpression(u)||e(n,u,r,a,i)}else{r.push(s.createParameterDeclaration(void 0,void 0,void 0,o));var d,p,m=_.getNodeCheckFlags(t);(4194304&m||i)&&(d=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:d}))}}(e,u,r,a,o)}var d={loopParameters:r,loopOutParameters:a};return i&&(i.argumentsName&&(d.argumentsName=i.argumentsName),i.thisName&&(d.thisName=i.thisName),i.hoistedLocalVariables)&&(d.hoistedLocalVariables=i.hoistedLocalVariables),d}(n),u=[],p=i,m=(i=c,te(n)?function(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);var o=[];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)),o=s.createVariableDeclarationList(pt.map(n.loopOutParameters,se));return{functionName:t,containsYield:a,functionDeclaration:e,part:o}}(n,c):void 0),f=ie(n)?function(e,n,t){var a=s.createUniqueName("_loop"),i=(l(),pt.visitNode(e.statement,T,pt.isStatement,s.liftToBlock)),o=d(),c=[];return(re(e)||function(e){return 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=function(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=[],de(n.labeledNonLocalBreaks,!0,e,t,i),de(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;return i=p,m&&u.push(m.functionDeclaration),f&&u.push(f.functionDeclaration),function(e,n,t){var r;if(n.argumentsName&&(t?t.argumentsName=n.argumentsName:(r=r||[]).push(s.createVariableDeclaration(n.argumentsName,void 0,void 0,s.createIdentifier("arguments")))),n.thisName&&(t?t.thisName=n.thisName:(r=r||[]).push(s.createVariableDeclaration(n.thisName,void 0,void 0,s.createIdentifier("this")))),n.hoistedLocalVariables)if(t)t.hoistedLocalVariables=n.hoistedLocalVariables;else{r=r||[];for(var a=0,i=n.hoistedLocalVariables;a<i.length;a++){var o=i[a];r.push(s.createVariableDeclaration(o))}}if(n.loopOutParameters.length){r=r||[];for(var c=0,l=n.loopOutParameters;c<l.length;c++){var u=l[c];r.push(s.createVariableDeclaration(u.outParamName))}}n.conditionVariable&&(r=r||[]).push(s.createVariableDeclaration(n.conditionVariable,void 0,void 0,s.createFalse())),r&&e.push(s.createVariableStatement(void 0,s.createVariableDeclarationList(r)))}(u,c,p),m&&u.push(function(e,n){return 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)),u.push(o),u}(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),u=s.createUniqueName("e"),d=s.getGeneratedNameForNode(u),m=s.createTempVariable(void 0),_=(a=pt.setTextRange(c().createValuesHelper(a),e.expression),s.createCallExpression(s.createPropertyAccessExpression(o,"next"),void 0,[]));p(u),p(m),r=1024&r?s.inlineExpressions([s.createAssignment(u,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(d),pt.setEmitFlags(s.createBlock([s.createExpressionStatement(s.createAssignment(u,s.createObjectLiteralExpression([s.createPropertyAssignment("error",d)])))]),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(u,s.createThrowStatement(s.createPropertyAccessExpression(u,"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 ue(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 de(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))):(ue(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),u=e?0:1;u<i.length;u++){var d=i[u];l=o.createSpreadArrayHelper(l,d.expression,1===d.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),jk(t,e)}function ye(e,n,t){return jk(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=SY=SY||{}).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)?function(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)?function(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=SY=SY||{}).transformGenerators=function(e){var n,t,r,a,i,o,s,c,l,u,d,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 function(n){return a?(ae(),n=_t.visitEachChild(n,M,e),oe(),n):_t.visitEachChild(n,M,e)}(i);case 239:return function(n){return a?(ae(),n=_t.visitEachChild(n,M,e),oe(),n):_t.visitEachChild(n,M,e)}(i);case 247:return function(n){return a&&ee({kind:2,isScript:!0,breakLabel:-1}),n=_t.visitEachChild(n,M,e),a&&se(),n}(i);case 248:return function(n){return a&&function(e){ee({kind:4,isScript:!0,labelText:e,breakLabel:-1})}(_t.idText(n.label)),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,u=c.declarations;l<u.length;l++){var d=u[l];C(d.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 function(n){var t=_t.getExpressionAssociativity(n);switch(t){case 0:return function(n){return q(n.right)?_t.isLogicalOperator(n.operatorToken.kind)?function(e){var n=Z(),t=Q();return be(t,_t.visitNode(e.left,M,_t.isExpression),e.left),(55===e.operatorToken.kind?Se:Te)(n,t,e.left),be(t,_t.visitNode(e.right,M,_t.isExpression),e.right),$(n),t}(n):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 function(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 function(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 function(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 function(e){var n=Z(),t=_t.visitNode(e.expression,M,_t.isExpression);return e.asteriskToken?function(e,n){xe(7,[e],n)}(0==(8388608&_t.getEmitFlags(e.expression))?_t.setTextRange(x().createValuesHelper(t),e):t,e):function(e,n){xe(6,[e],n)}(t,e),$(n),function(e){return _t.setTextRange(S.createCallExpression(S.createPropertyAccessExpression(_,"sent"),void 0,[]),e)}(e)}(E);case 202:return function(e){return j(e.elements,void 0,void 0,e.multiLine)}(E);case 203:return function(e){var n=e.properties,t=e.multiLine,r=X(n),a=Q();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);return n.push(t?_t.startOnNewLine(_t.setParent(_t.setTextRange(S.cloneNode(a),a),a.parent)):a),S.inlineExpressions(n)}(E);case 205:return function(n){return 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 function(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 function(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=u,G=O,B=d,U=p,V=m,j=_,H=(a=!(r=!0),O=1,m=p=d=u=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=function(){if(d){for(var e=0;e<d.length;e++)!function(e){if(Ae(e),function(e){if(i)for(;P<s.length&&o[P]<=e;P++){var n=i[P],t=s[P];switch(n.kind){case 0:0===t?(v=v||[],(b=b||[]).push(E),E=n):1===t&&(E=b.pop());break;case 1:0===t?(T=T||[]).push(n):1===t&&T.pop()}}}(e),!g){y=g=!1;var n=d[e];if(0!==n)if(10===n)g=!0,Ce(S.createReturnStatement(S.createArrayLiteralExpression([ge(7)])));else{var t=p[e];if(1===n)return Ce(t[0]);var r=m[e];switch(n){case 2:return function(e,n,t){Ce(_t.setTextRange(S.createExpressionStatement(S.createAssignment(e,n)),t))}(t[0],t[1],r);case 3:return function(e,n){g=!0,Ce(_t.setEmitFlags(_t.setTextRange(S.createReturnStatement(S.createArrayLiteralExpression([ge(3),fe(e)])),n),384))}(t[0],r);case 4:return function(e,n,t){Ce(_t.setEmitFlags(S.createIfStatement(n,_t.setEmitFlags(_t.setTextRange(S.createReturnStatement(S.createArrayLiteralExpression([ge(3),fe(e)])),t),384)),1))}(t[0],t[1],r);case 5:return function(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))}(t[0],t[1],r);case 6:return function(e,n){g=!0,Ce(_t.setEmitFlags(_t.setTextRange(S.createReturnStatement(S.createArrayLiteralExpression(e?[ge(4),e]:[ge(4)])),n),384))}(t[0],r);case 7:return function(e,n){g=!0,Ce(_t.setEmitFlags(_t.setTextRange(S.createReturnStatement(S.createArrayLiteralExpression([ge(5),e])),n),384))}(t[0],r);case 8:return Ie(t[0],r);case 9:(function(e,n){y=g=!0,Ce(_t.setTextRange(S.createThrowStatement(e),n))})(t[0],r)}}}}(e);Le(d.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,u=F,O=G,d=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?$u([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?$u([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?$u([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),function(r){switch(r.kind){case 233:return function(e){q(e)?K(e.statements):ve(_t.visitNode(e,M,_t.isStatement))}(r);case 236:return function(e){ve(_t.visitNode(e,M,_t.isStatement))}(r);case 237:return function(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 function(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 function(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 function(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 function(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 function(e){var n=_e(e.label?_t.idText(e.label):void 0);0<n?Ee(n,e):ve(e)}(r);case 244:return function(e){var n=me(e.label?_t.idText(e.label):void 0);0<n?Ee(n,e):ve(e)}(r);case 245:return function(e){!function(e,n){xe(8,[e],n)}(_t.visitNode(e.expression,M,_t.isExpression),e)}(r);case 246:return function(e){q(e)?(function(e){var n=Z(),t=Z();$(n),ee({kind:1,expression:e,startLabel:n,endLabel:t})}(Y(_t.visitNode(e.expression,M,_t.isExpression))),H(e.statement),_t.Debug.assert(1===re()),$(ne().endLabel)):ve(_t.visitNode(e,M,_t.isStatement))}(r);case 247:return function(e){if(q(e.caseBlock)){for(var n=e.caseBlock,t=n.clauses.length,r=function(){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,u=[];l<t;){var d=0;for(s=l;s<t;s++)if(287===(c=n.clauses[s]).kind){if(q(c.expression)&&0<u.length)break;u.push(S.createCaseClause(_t.visitNode(c.expression,M,_t.isExpression),[ye(i[s],c.expression)]))}else d++;u.length&&(ve(S.createSwitchStatement(a,S.createCaseBlock(u))),l+=u.length,u=[]),0<d&&(l+=d,d=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 function(e){q(e)?(function(e){var n=Z();ee({kind:4,isScript:!1,labelText:e,breakLabel:n})}(_t.idText(e.label)),H(e.statement),ce()):ve(_t.visitNode(e,M,_t.isStatement))}(r);case 249:return function(e){var n;!function(e,n){xe(9,[e],n)}(_t.visitNode(null!=(n=e.expression)?n:S.createVoidZero(),M,_t.isExpression),e)}(r);case 250:return function(r){q(r)?(function(){var e=Z(),n=Z();$(e),ee({kind:0,state:0,startLabel:e,endLabel:n}),he()}(),H(r.tryBlock),r.catchClause&&(function(r){var a;_t.Debug.assert(0===re()),_t.isGeneratedIdentifier(r.name)?(a=r.name,C(r.name)):(i=_t.idText(r.name),a=Q(i),n||(n=new _t.Map,t=[],e.enableSubstitution(79)),n.set(i,!0),t[_t.getOriginalNodeId(r)]=a);var i=te();_t.Debug.assert(i.state<1),Ee(i.endLabel),r=Z(),$(r),i.state=1,i.catchVariable=a,i.catchLabel=r,be(a,S.createCallExpression(S.createPropertyAccessExpression(_,"sent"),void 0,[])),he()}(r.catchClause.variableDeclaration),H(r.catchClause.block)),r.finallyBlock&&(function(){_t.Debug.assert(0===re());var e=te();_t.Debug.assert(e.state<2),Ee(e.endLabel);var n=Z();$(n),e.state=2,e.finallyLabel=n}(),H(r.finallyBlock)),function(){_t.Debug.assert(0===re());var e=ne();e.state<2?Ee(e.endLabel):xe(10),$(e.endLabel),he(),e.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]=d?d.length:0}function ee(e){i||(i=[],s=[],o=[],c=[]);var n=s.length;s[n]=0,o[n]=d?d.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]=d?d.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 ue(e){return 4===e.kind}function de(e){return 3===e.kind}function pe(e,n){for(var t=n;0<=t;t--){var r=c[t];if(!ue(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(ue(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(de(t=c[n])&&pe(e,n-1))return t.continueLabel}else{var t;for(n=c.length-1;0<=n;n--)if(de(t=c[n]))return t.continueLabel}return 0}function fe(e){var n;return void 0!==e&&0<e?(void 0===u&&(u=[]),n=S.createNumericLiteral(-1),void 0===u[e]?u[e]=[n]:u[e].push(n),n):S.createOmittedExpression()}function ge(e){var n=S.createNumericLiteral(e);return _t.addSyntheticTrailingComment(n,3,function(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===d&&(d=[],p=[],m=[]),void 0===l&&$(Z());var r=d.length;d[r]=e,p[r]=n,m[r]=t}function Le(e){if(!function(e){if(!y)return 1;if(l&&u)for(var n=0;n<l.length;n++)if(l[n]===e&&u[n])return 1}(e)||(Ae(e),Ie(T=void 0,void 0)),v&&h&&De(!1),void 0!==u&&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=u[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=SY=SY||{}).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(),u=e.getEmitResolver(),d=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 function(e){switch(e.kind){case 79:return z(e);case 206:return function(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 function(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 function(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 function(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,u,l),g[ft.getOriginalNodeId(a)]=t,a=function(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 u=0;u<t.exportedNames.length;u+=50)ft.append(i,a.createExpressionStatement(ft.reduceLeft(t.exportedNames.slice(u,u+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,d,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,$u($u([],r?[r]:[],!0),[a.createArrayLiteralExpression(i?ft.emptyArray:$u($u([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,$u([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,d,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,$u($u([],o?[o]:[],!0),[a.createArrayLiteralExpression($u($u([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,$u([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,d,u,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,d,u,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 u=n;if(!u.moduleSpecifier)return;var d=a.getGeneratedNameForNode(u);if(u.exportClause&&ft.isNamedExports(u.exportClause)){var _=[];m!==ft.ModuleKind.AMD&&_.push(ft.setOriginalNode(ft.setTextRange(a.createVariableStatement(void 0,a.createVariableDeclarationList([a.createVariableDeclaration(d,void 0,void 0,P(u))])),u),u));for(var f=0,g=u.exportClause.elements;f<g.length;f++){var h,v=g[f];0===p?_.push(ft.setOriginalNode(ft.setTextRange(a.createExpressionStatement(i().createCreateBindingHelper(d,a.createStringLiteralFromNode(v.propertyName||v.name),v.propertyName?a.createStringLiteralFromNode(v.name):void 0)),v),v)):(h=!(!l.esModuleInterop||67108864&ft.getEmitFlags(u)||"default"!==ft.idText(v.propertyName||v.name)),h=a.createPropertyAccessExpression(h?i().createImportDefaultHelper(d):d,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 u.exportClause?((_=[]).push(ft.setOriginalNode(ft.setTextRange(a.createExpressionStatement(H(a.cloneNode(u.exportClause.name),function(e,n){return!l.esModuleInterop||67108864&ft.getEmitFlags(e)||!ft.getExportNeedsImportStarHelper(e)?n:i().createImportStarHelper(n)}(u,m!==ft.ModuleKind.AMD?P(u):ft.isExportNamespaceAsDefaultDeclaration(u)?d:a.createIdentifier(ft.idText(u.exportClause.name))))),u),u)),ft.singleOrMany(_)):ft.setOriginalNode(ft.setTextRange(a.createExpressionStatement(i().createExportStarHelper(m!==ft.ModuleKind.AMD?P(u):d)),u),u);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,function(n){return 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,d,u,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 function(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,d,u,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,function(e,n,t,r,i){return 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=u.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=u.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=u.getReferencedImportDeclaration(e)||u.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=SY=SY||{}).transformSystemModule=function(e){var n,t,r,a,i,o,s,c=e.factory,l=e.startLexicalEnvironment,u=e.endLexicalEnvironment,d=e.hoistVariableDeclaration,p=e.getCompilerOptions(),m=e.getEmitResolver(),_=e.getEmitHost(),f=e.onSubstituteNode,g=e.onEmitNode,y=(e.onSubstituteNode=function(e,t){if(!function(e){return s&&e.id&&s[e.id]}(t=f(e,t))){if(1===e)return function(e){switch(e.kind){case 79:return function(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 function(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 function(e){return yt.isImportMeta(e)?c.createPropertyAccessExpression(a,c.createIdentifier("meta")):e}(e)}return e}(t);if(4===e)return function(e){if(292===e.kind){var n=e,t=n.name;if(!yt.isGeneratedIdentifier(t)&&!yt.isLocalName(t)){var r=m.getReferencedImportDeclaration(t);if(r){if(yt.isImportClause(r))return yt.setTextRange(c.createPropertyAssignment(c.cloneNode(t),c.createPropertyAccessExpression(c.getGeneratedNameForNode(r.parent),c.createIdentifier("default"))),n);if(yt.isImportSpecifier(r))return yt.setTextRange(c.createPropertyAssignment(c.cloneNode(t),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))),n)}}return n}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(d){if(d.isDeclarationFile||!(yt.isEffectiveExternalModule(d,p)||4194304&d.transformFlags))return d;var f=yt.getOriginalNodeId(d),g=(o=n=d,t=y[f]=yt.collectExternalModuleInfo(e,d,m,p),r=c.createUniqueName("exports"),v[f]=r,a=E[f]=c.createUniqueName("context"),function(e){for(var t=new yt.Map,r=[],a=0,i=e;a<i.length;a++){var o,s,l=i[a],u=yt.getExternalModuleNameLiteral(c,l,n,_,m,p);u&&(o=u.text,void 0!==(s=t.get(o))?r[s].externalImports.push(l):(t.set(o,r.length),r.push({name:u,externalImports:[l]})))}return r}(t.externalImports)),h=function(e,o){var s=[],d=(l(),yt.getStrictOptionValue(p,"alwaysStrict")||!p.noImplicitUseStrict&&yt.isExternalModule(n)),m=(d=c.copyPrologue(e.statements,s,d,S),d=(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,d)),yt.addRange(s,i),yt.insertStatementsAfterStandardPrologue(s,u()),function(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 d=T(void 0),e.push(d),d.name}var o=[];if(t.exportedNames)for(var s=0,l=t.exportedNames;s<l.length;s++){var u=l[s];"default"!==u.escapedText&&o.push(c.createPropertyAssignment(c.createStringLiteralFromNode(u),c.createTrue()))}var d=c.createUniqueName("exportedNames");d=(e.push(c.createVariableStatement(void 0,c.createVariableDeclarationList([c.createVariableDeclaration(d,void 0,void 0,c.createObjectLiteralExpression(o,!0))]))),T(d));return e.push(d),d.name}}(s));e=1048576&e.transformFlags?c.createModifiersFromModifierFlags(256):void 0,m=c.createObjectLiteralExpression([c.createPropertyAssignment("setters",function(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)})),u=l?c.getGeneratedNameForNode(l):c.createUniqueName(""),d=[],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),d.push(c.createExpressionStatement(c.createAssignment(f,u)));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(u,c.createStringLiteral(yt.idText(v.propertyName||v.name)))))}d.push(c.createExpressionStatement(c.createCallExpression(r,void 0,[c.createObjectLiteralExpression(g,!0)])))}else d.push(c.createExpressionStatement(c.createCallExpression(r,void 0,[c.createStringLiteral(yt.idText(_.exportClause.name)),u])));else d.push(c.createExpressionStatement(c.createCallExpression(e,void 0,[u])))}}a.push(c.createFunctionExpression(void 0,void 0,void 0,void 0,[c.createParameterDeclaration(void 0,void 0,void 0,u)],void 0,c.createBlock(d,!0)))}return c.createArrayLiteralExpression(a,!0)}(m,o)),c.createPropertyAssignment("execute",c.createFunctionExpression(e,void 0,void 0,void 0,[],void 0,c.createBlock(d,!0)))],!0);return s.push(c.createReturnStatement(m)),c.createBlock(s,!0)}(d,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,d,_,p);g=c.createArrayLiteralExpression(yt.map(g,(function(e){return e.name}))),L=yt.setEmitFlags(c.updateSourceFile(d,yt.setTextRange(c.createNodeArray([c.createExpressionStatement(c.createCallExpression(c.createPropertyAccessExpression(c.createIdentifier("System"),"register"),void 0,L?[L,g,x]:[g,x]))]),d.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&&d(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."),d(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,s,l=e;return l.isExportEquals?void 0:(o=yt.visitNode(l.expression,K,yt.isExpression),(s=l.original)&&N(s)?(s=yt.getOriginalNodeId(l),void(h[s]=M(h[s],c.createIdentifier("default"),o,!0))):F(c.createIdentifier("default"),o,!0));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 d(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 d(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),u=0,p=t.declarationList.declarations;u<p.length;u++){var m=p[u];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),d(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,u=yt.visitNode(i.operand,K,yt.isExpression);yt.isPrefixUnaryExpression(i)?u=c.updatePrefixUnaryExpression(i,u):(u=c.updatePostfixUnaryExpression(i,u),o||(l=c.createTempVariable(d),u=c.createAssignment(l,u),yt.setTextRange(u,i)),u=c.createComma(u,c.cloneNode(i.operand)),yt.setTextRange(u,i));for(var f=0,g=s;f<g.length;f++){var y=g[f];u=G(y,q(u))}return l&&(u=c.createComma(u,l),yt.setTextRange(u,i)),u}}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=SY=SY||{}).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)?function(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=function(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($u($u([],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: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=SY=SY||{}).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=function(n){return 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=function(n){return 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}:Kk(e)},vt.createGetSymbolAccessibilityDiagnosticForNode=Kk,(bt=SY=SY||{}).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),[zk],!1).diagnostics},bt.isInternalDeclaration=Wk,Et=531469,bt.transformDeclarations=zk,(Tt=SY=SY||{}).noTransformers={scriptTransformers:Tt.emptyArray,declarationTransformers:Tt.emptyArray},Tt.getTransformers=function(e,n,t){return{scriptTransformers:function(e,n,t){if(t)return Tt.emptyArray;t=Tt.getEmitScriptTarget(e);var r=Tt.getEmitModuleKind(e),a=[];return Tt.addRange(a,n&&Tt.map(n.before,Yk)),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(function(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,Yk)),a}(e,n,t),declarationTransformers:(e=n,(t=[]).push(Tt.transformDeclarations),Tt.addRange(t,e&&Tt.map(e.afterDeclarations,Qk)),t)}},Tt.noEmitSubstitution=Zk,Tt.noEmitNotification=$k,Tt.transformNodes=function(e,n,t,r,a,i,o){for(var s,c,l,u,d,p=new Array(350),m=0,_=[],f=[],g=[],y=[],h=0,v=!1,b=[],E=0,T=Zk,S=$k,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=$u([],c,!0)),s&&(n=t.createVariableStatement(void 0,t.createVariableDeclarationList(s)),Tt.setEmitFlags(n,1048576),e?e.push(n):e=[n]),l)&&(e=$u(e?$u([],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]=u,E++,u=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(u)?[t.createVariableStatement(void 0,t.createVariableDeclarationList(u.map((function(e){return t.createVariableDeclaration(e)})),1))]:void 0;return u=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."),(u=u||[]).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)}d=Tt.append(d,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=d;return d=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&&void 0!==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&&void 0!==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)))}d=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:Zk,onEmitNode:$k,addDiagnostic:Tt.noop},St=SY=SY||{},(om=[])[1024]=["{","}"],om[2048]=["(",")"],om[4096]=["<",">"],om[8192]=["[","]"],xt=om,St.isBuildInfoFile=function(e){return St.fileExtensionIs(e,".tsbuildinfo")},St.forEachEmittedFile=eR,St.getTsBuildInfoEmitOutputFilePath=nR,St.getOutputPathsForBundle=tR,St.getOutputPathsFor=rR,St.getOutputExtension=iR,St.getOutputDeclarationFileName=sR,St.getCommonSourceDirectory=pR,St.getCommonSourceDirectoryOfConfig=mR,St.getAllProjectOutputs=function(e,n){var t=(r=lR()).addOutput,r=r.getOutputs;if(St.outFile(e.options))uR(e,t);else{for(var a=St.memoize((function(){return mR(e,n)})),i=0,o=e.fileNames;i<o.length;i++){var s=o[i];dR(e,s,n,t,a)}t(nR(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=lR()).addOutput,a=a.getOutputs;return St.outFile(e.options)?uR(e,r):dR(e,n,t,r),a()},St.getFirstProjectOutput=function(e,n){if(St.outFile(e.options))return i=tR(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 mR(e,n)})),r=0,a=e.fileNames;r<a.length;r++){var i,o=a[r];if(!St.fileExtensionIs(o,".d.ts")){if(i=cR(o,e,n,t))return i;if(!St.fileExtensionIs(o,".json")&&St.getEmitDeclarations(e.options))return sR(o,e,n,t)}}var s=nR(e.options);return s||St.Debug.fail("project "+e.options.configFilePath+" expected to have at least one output")},St.emitFiles=_R,St.getBuildInfoText=fR,St.getBuildInfo=gR,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,u,d,p,m,_,f,g,y,h=tR(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=gR(h)).bundle||!c.bundle.js||o&&!c.bundle.dts?v:(l=St.getDirectoryPath(St.getNormalizedAbsolutePath(v,n.getCurrentDirectory())),u=St.createInputFiles(a,o,E,i,S,s,b,T,v,c,!0),d=[],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 $u($u([],p,!0),[u],!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=gR(n),l=(r.program=c.program,c.bundle),u=l.js,p=l.dts;l=l.sourceFiles;return r.bundle.js.sources=u.sources,p&&(r.bundle.dts.sources=p.sources),r.bundle.sourceFiles=l,void d.push({name:e,text:fR(r),writeByteOrderMark:t});case T:if(o===n)return;break;case S:if(s===n)return;break;default:St.Debug.fail("Unexpected path: "+e)}d.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},_R(St.notImplementedResolver,y,void 0,St.getTransformers(e.options,r)),d)))):b:v},St.createPrinter=yR,(Lt=SY=SY||{}).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&&d(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,u){var d,p=i(r),f=l(r,p);return void 0===f?e.readDirectory(r,a,o,s,u):Lt.matchFiles(r,a,o,s,t,n,u,(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 d&&t===p?d:(n={files:Lt.map(e.readDirectory(n,void 0,void 0,["*.*"]),c)||Lt.emptyArray,directories:e.getDirectories(n)||Lt.emptyArray},t===p&&(d=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||d(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,u=o(t=Lt.ensureTrailingDirectorySeparator(t));if(u)return u;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 u(e,n){return a(e)===a(n)}function d(e,n){return Lt.some(e,(function(e){return u(e,n)}))}function p(e,n,t){d(e,n)?t||Lt.filterMutate(e,(function(e){return!u(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()}},(wu=Lt.ConfigFileProgramReloadLevel||(Lt.ConfigFileProgramReloadLevel={}))[wu.None=0]="None",wu[wu.Partial=1]="Partial",wu[wu.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:hR,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.fileOrDirectoryPath,a=e.configFileName,i=e.options,o=e.program,s=e.extraFileExtensions,c=e.currentDirectory,l=e.useCaseSensitiveFileNames,u=e.writeLog,d=e.toPath;if(!(e=Lt.removeIgnoredPath(r)))return u("Project: "+a+" Detected ignored path: "+t),!0;if((r=e)===n)return!1;if(Lt.hasExtension(r)&&!Lt.isSupportedSourceFileName(t,i,s))return u("Project: "+a+" Detected file add/remove of non supported extension: "+t),!0;if(Lt.isExcludedFile(t,i.configFile.configFileSpecs,Lt.getNormalizedAbsolutePath(Lt.getDirectoryPath(a),c),l,c))return u("Project: "+a+" Detected excluded file: "+t),!0;if(!o)return!1;if(Lt.outFile(i)||i.outDir)return!1;if(Lt.fileExtensionIs(r,".d.ts")){if(i.declarationDir)return!1}else if(!Lt.fileExtensionIsOneOf(r,Lt.supportedJSExtensions))return!1;e=Lt.removeFileExtension(r);var p=Lt.isArray(o)?void 0:o.getState?o.getProgramOrUndefined():o,m=p||Lt.isArray(o)?void 0:o;return!(!_(e+".ts")&&!_(e+".tsx")||(u("Project: "+a+" Detected output file: "+t),0));function _(e){return p?p.getSourceFileByPath(e):m?m.getState().fileInfos.has(e):Lt.find(o,(function(n){return d(n)===e}))}},Lt.isEmittedFileOfProgram=function(e,n){return!!e&&e.isEmittedFile(n)},(wu=Dt=Lt.WatchLogLevel||(Lt.WatchLogLevel={}))[wu.None=0]="None",wu[wu.TriggerOnly=1]="TriggerOnly",wu[wu.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:: "+u(e,a,o,s,c,r));var l=i.watchFile(e,n,a,o,s,c);return{close:function(){t("FileWatcher:: Close:: "+u(e,a,o,s,c,r)),l.close()}}},watchDirectory:function(e,n,a,o,s,c){var l="DirectoryWatcher:: Added:: "+u(e,a,o,s,c,r),d=(t(l),Lt.timestamp()),p=i.watchDirectory(e,n,a,o,s,c);n=Lt.timestamp()-d;return t("Elapsed:: "+n+"ms "+l),{close:function(){var n="DirectoryWatcher:: Close:: "+u(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:: "+u(e,n,a,i,o,r)),{close:function(){return t("ExcludeWatcher:: Close:: "+u(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 u;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==(u=e.getCurrentDirectory)?void 0:u.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=[],d=0;d<arguments.length;d++)a[d]=arguments[d];var p=("watchFile"===e?"FileWatcher":"DirectoryWatcher")+":: Triggered with "+a[0]+" "+(void 0!==a[1]?a[1]:"")+":: "+u(n,o,s,c,l,r),m=(t(p),Lt.timestamp());i.call.apply(i,$u([void 0],a,!1)),m=Lt.timestamp()-m;t("Elapsed:: "+m+"ms "+p)}),o,s,c,l)}}function u(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=hR,(At=SY=SY||{}).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=vR,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=bR,At.createCompilerHostWorker=ER,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,u=new At.Map,d=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=u.get(r);return void 0!==a||(a=i.call(e,t),u.set(r,!!a)),a},c&&(e.writeFile=function(t,r,a,i,o){var s=n(t),d=(u.delete(s),l.get(s));void 0!==d&&d!==r?(l.delete(s),p.delete(s)):m&&(d=p.get(s))&&d.text!==r&&p.delete(s),c.call(e,t,r,a,i,o)}),o&&s&&(e.directoryExists=function(t){var r=n(t),a=d.get(r);return void 0!==a||(a=o.call(e,t),d.set(r,!!a)),a},e.createDirectory=function(t){var r=n(t);d.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+=TR(a[r],n);return t},At.formatDiagnostic=TR,(sm=Ct=At.ForegroundColorEscapeSequences||(At.ForegroundColorEscapeSequences={})).Grey="",sm.Red="",sm.Yellow="",sm.Blue="",sm.Cyan="",It="",Nt=" ",kt="",Rt="...",At.formatColorAndReset=xR,At.formatLocation=DR,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+DR(l=i.file,u=i.start,n)+" - "),t=(t=(t+=xR(At.diagnosticCategoryName(i),SR(i.category)))+xR(" TS"+i.code+": ",Ct.Grey))+AR(i.messageText,n.getNewLine()),i.file&&(t=(t+=n.getNewLine())+LR(i.file,i.start,i.length,"",SR(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,u=c.start,d=c.length;c=c.messageText;l&&(t=(t=(t+=n.getNewLine())+" "+DR(l,u,n))+LR(l,u,d," ",Ct.Cyan,n)),t=(t+=n.getNewLine())+" "+AR(c,n.getNewLine())}}t+=n.getNewLine()}return t},At.flattenDiagnosticMessageText=AR,At.loadWithLocalCache=CR,At.forEachResolvedProjectReference=function(e,n){return IR(void 0,e,(function(e,t){return e&&n(e,t)}))},At.inferredTypesContainingFile="__inferred type names__.ts",At.isReferencedFile=NR,At.isReferenceFileLocation=kR,At.getReferencedFileLocation=RR,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=FR(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=FR(t);return!s(r)}(e.getResolvedProjectReferences()[r],n)}))||e.getSourceFiles().some((function(e){return!function(e){return 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?$u($u([],e.options.configFile.parseDiagnostics,!0),e.errors,!0):e.errors},At.createProgram=function(e,n,t,r,a){var i,o,s,c,l,u,d,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&&void 0!==At.tracing&&At.tracing.push("program","createProgram",{configFilePath:I.configFilePath,rootDir:I.rootDir},!0),At.performance.mark("beforeProgram"),n.host||bR(I)),K=wR(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 CR(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 CR(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=function(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,u;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||(u=At.ensureTrailingDirectorySeparator(e.toPath(l)))===s?i.setSymlinkedDirectory(s,!1):i.setSymlinkedDirectory(r,{real:At.ensureTrailingDirectorySeparator(l),realPath:u}))),!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&&void 0!==At.tracing&&At.tracing.push("program","shouldProgramCreateNewSourceFiles",{hasOldProgram:!!R}),t=I,!!(r=R)&&At.optionsHaveChanges(r.getCompilerOptions(),t,At.sourceFileAffectingCompilerOptions));if(null!==At.tracing&&void 0!==At.tracing&&At.tracing.pop(),null!==At.tracing&&void 0!==At.tracing&&At.tracing.push("program","tryReuseStructureFromOldProgram",{}),A=function(){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(IR(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();var a={};a[a.Exists=0]="Exists",a[a.Modified=1]="Modified";for(var 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 u=void 0;if(l.redirectInfo){if(G!==l.redirectInfo.unredirected)return 0;u=!1,G=l}else if(R.redirectTargetsMap.has(l.path)){if(G!==l)return 0;u=!1}else u=G!==l;G.path=l.path,G.originalFileName=l.originalFileName,G.resolvedPath=l.resolvedPath,G.fileName=l.fileName;var d=R.sourceFileToPackageName.get(l.path);if(void 0!==d){var p=i.get(d),m=u?1:0;if(void 0!==p&&1==m||1===p)return 0;i.set(d,m)}u?(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=BR(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&&void 0!==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&&void 0!==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&&void 0!==At.tracing&&At.tracing.pop();var se=C.length?At.getAutomaticTypeDirectiveNames(I,j):At.emptyArray;if(se.length){null!==At.tracing&&void 0!==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&&void 0!==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 ue=0,de=R.getSourceFiles();ue<de.length;ue++){var pe=de[ue],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&&IR(R.getProjectReferences(),R.getResolvedProjectReferences(),(function(e,n,t){n=FR((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,fe,ge,ye={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(),function(){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=ye.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&&void 0!==At.tracing&&At.tracing.push("emit","emit",{path:null==e?void 0:e.path},!0);var o=Xe((function(){var o=ye,s=e,c=n,l=t,u=r,d=a,p=i;return!p&&(o=OR(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,d,u),u,!1,p),At.performance.mark("afterEmit"),At.performance.measure("Emit","beforeEmit","afterEmit"),l)}));return null===At.tracing||void 0===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(){d=void 0},getSourceFileFromReference:function(e,n){return un(vR(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&&void 0!==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||void 0===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},he=(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=RR(We,e.reason),t=n.file,r=n.pos;n=n.end;return J.add(At.createFileDiagnostic.apply(void 0,$u([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(IR(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&&he&&he===At.getTsBuildInfoEmitOutputFilePath(e)&&(jn(i,t,At.Diagnostics.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1,he,a.path),Q.set(Pe(he),!0))):jn(i,t,At.Diagnostics.File_0_not_found,a.path)})),I.composite)for(var ve=new At.Set(C.map(Pe)),be=0,Ee=c;be<Ee.length;be++){var Te=Ee[be];At.sourceFileMayBeEmitted(Te,ye)&&!ve.has(Te.path)&&Pn(Te,At.Diagnostics.File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern,[Te.fileName,I.configFilePath||""])}if(I.paths)for(var Se in I.paths)if(At.hasProperty(I.paths,Se))if(At.hasZeroOrOneAsteriskCharacter(Se)||Mn(!0,Se,At.Diagnostics.Pattern_0_can_have_at_most_one_Asterisk_character,Se),At.isArray(I.paths[Se])){var xe=I.paths[Se].length;0===xe&&Mn(!1,Se,At.Diagnostics.Substitutions_for_pattern_0_shouldn_t_be_an_empty_array,Se);for(var Le=0;Le<xe;Le++){var De=I.paths[Se][Le],Ae=typeof De;"string"==Ae?(At.hasZeroOrOneAsteriskCharacter(De)||wn(Se,Le,At.Diagnostics.Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character,De,Se),I.baseUrl||At.pathIsRelative(De)||At.pathIsAbsolute(De)||wn(Se,Le,At.Diagnostics.Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash)):wn(Se,Le,At.Diagnostics.Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2,De,Se,Ae)}}else Mn(!1,Se,At.Diagnostics.Substitutions_for_pattern_0_should_be_an_array,Se);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.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"),e=I.target||0,n=At.find(c,(function(e){return At.isExternalModule(e)&&!e.isDeclarationFile})),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"),(fe=At.find(c,(function(e){return!At.isExternalModule(e)&&!At.isSourceFileJS(e)&&!e.isDeclarationFile&&6!==e.scriptKind})))&&(_e=At.getErrorSpanForNode(fe,fe),J.add(At.createFileDiagnostic(fe,_e.start,_e.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(fe.fileName))))):n&&e<2&&I.module===At.ModuleKind.None&&(_e=At.getErrorSpanForNode(n,n.externalModuleIndicator),J.add(At.createFileDiagnostic(n,_e.start,_e.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&&(_e=At.getErrorSpanForNode(n,n.externalModuleIndicator),J.add(At.createFileDiagnostic(n,_e.start,_e.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)&&(fe=we(),I.outDir)&&""===fe&&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(),ge=new At.Set,At.forEachEmittedFile(t,(function(e){I.emitDeclarationOnly||Ce(e.jsFilePath,ge),Ce(e.declarationFilePath,ge)}))),At.performance.mark("afterProgram"),At.performance.measure("Program","beforeProgram","afterProgram"),null!==At.tracing&&void 0!==At.tracing&&At.tracing.pop(),ye;function Ie(e,n,t){var r;return e.length?(r=At.getNormalizedAbsolutePath(n.originalFileName,q),n=ke(n),null!==At.tracing&&void 0!==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&&void 0!==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&&void 0!==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&&void 0!==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===u&&(e=At.filter(c,(function(e){return At.sourceFileMayBeEmitted(e,ye)})),u=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}))),u}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],u=n.resolvedModules.get(l);o.push(u)}return o}for(var d={},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=function(e){var n=At.getResolvedModule(i,e),t=n&&R.getSourceFile(n.resolvedFileName);return(!n||!t)&&(n=O.get(e),!!n&&(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]=d:(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]===d&&(r[p]=void 0):(r[p]=_[f],f++);return At.Debug.assert(f===_.length),r}function Fe(e){return{getPrependNodes:Be,getCanonicalFileName:In,getCommonSourceDirectory:ye.getCommonSourceDirectory,getCompilerOptions:ye.getCompilerOptions,getCurrentDirectory:function(){return q},getNewLine:function(){return j.getNewLine()},getSourceFile:ye.getSourceFile,getSourceFileByPath:ye.getSourceFileByPath,getSourceFiles:ye.getSourceFiles,getLibFileFromReference:ye.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 ye.getProgramBuildInfo&&ye.getProgramBuildInfo()},getSourceFileFromReference:function(e,n){return ye.getSourceFileFromReference(e,n)},redirectTargetsMap:ne,getFileIncludeReasons:ye.getFileIncludeReasons}}function Ge(){return S}function Be(){return MR(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 d=d||At.createTypeChecker(ye,!0)}function je(){return p=p||At.createTypeChecker(ye,!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(ye.getSourceFiles(),(function(e){return t&&t.throwIfCancellationRequested(),n(e,t)})))}function Je(e){var n,t;return At.skipTypeChecking(e,I,ye)?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 function(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&&(d=p=void 0),e}}function Ye(e,n){return At.concatenate(PR(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,ye)?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=(a=n.directives,0),s=a.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===function(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){dn(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,u=s.statements;l<u.length;l++){var d=u[l];a(d,!0)}}(c[s],!1);if(1048576&e.flags||i)for(var l=e,u=/import|require/g;null!==u.exec(l.text);){var d=function(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,u.lastIndex);i&&At.isRequireCall(d,!0)||At.isImportCall(d)&&1===d.arguments.length&&At.isStringLiteralLike(d.arguments[0])?n=At.append(n,d.arguments[0]):At.isLiteralImportTypeNode(d)&&(n=At.append(n,d.argument.literal))}e.imports=n||At.emptyArray,e.moduleAugmentations=t||At.emptyArray,e.ambientModuleNames=r||At.emptyArray}}function un(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?NR(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 dn(e,n,t,r,a){un(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){dn(e,!1,!1,void 0,n)}function mn(e,n,t){!NR(t)&&At.some(P.get(n.path),NR)?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&&void 0!==At.tracing&&At.tracing.push("program","findSourceFile",{fileName:e,isDefaultLib:t||void 0,fileIncludeKind:At.FileIncludeKind[a.kind]}),e=function(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(u=m.fileName)!==Pe(e)&&(e=yn(e)||e),u=At.getNormalizedAbsolutePathWithoutRoot(u,q),d=At.getNormalizedAbsolutePathWithoutRoot(e,q),u!==d)&&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(NR(a)&&!ie){var u=hn(e);if(u){if(At.outFile(u.commandLine.options))return;var d=vn(u,e);l=Pe(e=d)}}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(u=At.packageIdToString(i),d=$.get(u),d)return p=function(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}(d,m,e,n,Pe(e),c),ne.add(d.path,e),gn(p,n,l),fn(p,a),ee.set(n,i.name),s.push(p),p;m&&($.set(u,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()&&(d=At.toFileNameLowerCase(n),(p=ae.get(d))?mn(e,p,a):ae.set(d,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&&void 0!==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){dn(vR(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&&void 0!==At.tracing&&At.tracing.push("program","processTypeReferenceDirective",{directive:e,hasResolved:!0,refKind:t.kind,refPath:NR(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):dn(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&&void 0!==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=BR(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,u=r[i];At.setResolvedModule(e,t[i],u),u&&(o=u.isExternalLibraryImport,l=!At.resolutionExtensionIsTSOrJson(u.extension),s=u.resolvedFileName,o&&B++,c=o&&l&&G<B,l=s&&!GR(a,u)&&!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},u.packageId),o)&&B--}else e.resolvedModules=void 0}function kn(e){x=x||new At.Map;e=FR(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=NR(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&&RR(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,$u([e?c?$u([c],e,!0):e:c,t],r||At.emptyArray,!1));return s&&kR(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(ye,e)),!o&&NR(e)?o=e:o!==e&&(i=At.append(i,function(e){if(NR(e)){var n,t=RR(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 kR(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(ye,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(ye,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=IR(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?function(e,n){return e=Fn(e),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 u=0,d=At.getPropertyAssignment(l.initializer,e);u<d.length;u++){var p=d[u].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 u=l[c];J.add(At.createDiagnosticForNodeInSourceFile(I.configFile,n?u.name:u.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=OR,At.filterSemanticDiagnostics=PR,At.parseConfigHostFromCompilerHostLike=wR,At.createPrependNodes=MR,At.resolveProjectReferencePath=FR,At.getResolutionDiagnostic=GR,At.getModuleNameStringLiteralAt=UR,(Ot=SY=SY||{}).getFileEmitOutput=VR,nd=Ot.BuilderState||(Ot.BuilderState={}),Pt=0,nd.createManyToManyPathMap=jR,nd.canReuseOldState=JR,nd.create=function(e,n,t,r){var a=new Ot.Map,i=e.getCompilerOptions().module!==Ot.ModuleKind.None?jR():void 0,o=i?jR():void 0,s=new Ot.Set,c=JR(i,t);e.getTypeChecker();for(var l=0,u=e.getSourceFiles();l<u.length;l++){var d,p=u[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&&((d=zR(e,p,n))&&i.set(p.resolvedPath,d),c)&&(d=t.exportedModulesMap.getValues(p.resolvedPath))&&o.set(p.resolvedPath,d),a.set(p.resolvedPath,{version:m,signature:_&&_.signature,affectsGlobalScope:$R(p)||void 0})}return{fileInfos:a,referencedMap:i,exportedModulesMap:o,hasCalledUpdateShapeSignature:s,useFileVersionAsSignature:!r&&!c}},nd.releaseCache=function(e){e.allFilesExcludingDefaultLibraryFile=void 0,e.allFileNames=void 0},nd.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}},nd.getFilesAffectedBy=function(e,n,t,r,a,i,o){var s=i||new Ot.Map;return(t=n.getSourceFileByPath(t))?YR(e,n,t,s,r,a,o)?(n=(e.referencedMap?function(e,n,t,r,a,i,o){if($R(t))return eO(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),ZR(e,t.resolvedPath));0<l.length;){var u,d=l.pop();c.has(d)||(u=n.getSourceFileByPath(d),c.set(d,u),u&&YR(e,n,u,r,a,i,o)&&l.push.apply(l,ZR(e,u.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]:eO(e,n,t)})(e,n,t,s,r,a,o),i||qR(e,s),n):[t]:Ot.emptyArray},nd.updateSignaturesFromCache=qR,nd.updateSignatureOfFile=XR,nd.updateShapeSignature=YR,nd.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)}))}},nd.getAllDependencies=function(e,n,t){var r=n.getCompilerOptions();if(Ot.outFile(r))return QR(e,n);if(!e.referencedMap||$R(t))return QR(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})))},nd.getReferencedByPaths=ZR,nd.getAllFilesExcludingDefaultLibraryFile=eO,wt=SY=SY||{},(om=wt.BuilderFileEmit||(wt.BuilderFileEmit={}))[om.DtsOnly=0]="DtsOnly",om[om.Full=1]="Full",(om=Mt=wt.BuilderProgramKind||(wt.BuilderProgramKind={}))[om.SemanticDiagnosticsBuilderProgram=0]="SemanticDiagnosticsBuilderProgram",om[om.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,u=(n=n.configFileParsingDiagnostics,l&&l.getState());return u&&s===u.program&&n===s.getConfigFileParsingDiagnostics()?(u=s=void 0,l):(t=wt.createGetCanonicalFileName(c.useCaseSensitiveFileNames()),r=wt.maybeBind(c,c.createHash),a=nO(s,t,u,c.disableUseFileVersionAsSignature),s.getProgramBuildInfo=function(){return pO(a,t)},u=l=s=void 0,(o=gO(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){rO(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 dO(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,dO(a,s,n))}return t||wt.emptyArray},o.emit=function(n,t,r,i,s){var l,u,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(),u=a.affectedFilesPendingEmitKind&&new wt.Map(a.affectedFilesPendingEmitKind),p=a.affectedFilesPendingEmitIndex),e===Mt.EmitAndSemanticDiagnosticsBuilderProgram&&rO(a,n);var _=wt.handleNoEmitOptions(o,n,t,r);if(_)return _;if(m&&(a.affectedFilesPendingEmit=l,a.affectedFilesPendingEmitKind=u,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=d(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=d,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 d(e,n,t,i){var o=aO(a,n,r),s=1,l=!1;if(!o)if(wt.outFile(a.compilerOptions)){var u=wt.Debug.checkDefined(a.program);if(a.programEmitComplete)return;o=u}else{var d;u=function(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(!u)return a.buildInfoEmitPending?(d=wt.Debug.checkDefined(a.program),uO(a,d.emitBuildInfo(e||wt.maybeBind(c,c.writeFile),n),d,1,!1,!0)):void 0;o=u.affectedFile,s=u.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=aO(a,n,r);if(!i)return;if(i===a.program)return lO(a,a.program.getSemanticDiagnostics(void 0,n),i);if((e===Mt.EmitAndSemanticDiagnosticsBuilderProgram||a.compilerOptions.noEmit||a.compilerOptions.noEmitOnError)&&_O(a,i.resolvedPath,1),!t||!t(i))return lO(a,dO(a,i,n),i);cO(a,i)}}},wt.toBuilderStateFileInfo=fO,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),fO(e))})),{fileInfos:s,compilerOptions:e.options?wt.convertToOptionsWithAbsolutePaths(e.options,(function(e){return wt.getNormalizedAbsolutePath(e,r)})):{},referencedMap:u(e.referencedMap),exportedModulesMap:u(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 u(e){var n;if(e)return n=wt.BuilderState.createManyToManyPathMap(),e.forEach((function(e){var t=e[0];e=e[1];return n.set(l(t),o[e-1])})),n}},wt.createRedirectedBuilderProgram=gO,(Ft=SY=SY||{}).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;n=e.configFileParsingDiagnostics;return Ft.createRedirectedBuilderProgram((function(){return{program:o,compilerOptions:o.getCompilerOptions()}}),n)},(Gt=SY=SY||{}).removeIgnoredPath=yO,Gt.canWatchDirectory=hO,Gt.createResolutionCache=function(e,n,t){var r,a,i,o,s,c,l=Gt.createMultiMap(),u=[],d=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(d.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(),d.clear(),u.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,u=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=u(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=u,(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&&d.add(e.toPath(D.resolvedFileName),A)),(A.files||(A.files=[])).push(C),L&&H(L,f,u),_&&r&&!function(e,n){return e===n?1:!!(e&&n&&(e=u(e),n=u(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=u(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(u(w))}return g.forEach((function(e,n){T.has(n)||Gt.contains(m,n)||(H(e,f,u),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 hO(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 hO(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){u.push(n);for(var r=!1,a=0,i=t;a<i.length;a++){var o,s,c,l=i[a],d=e.toPath(l);l=G(l,d);l&&(o=l.dir,s=l.dirPath,l=l.nonRecursive,U(d)||(c=S.get(d)||0,S.set(d,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&&d.remove(e.toPath(t.resolvedFileName),n),Gt.unorderedRemoveItem(u,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=yO(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(u,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||hO(n)}},Bt=SY=SY||{},(wu=Bt.moduleSpecifiers||(Bt.moduleSpecifiers={})).updateModuleSpecifier=function(e,n,t,r,a){if((r=bO(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},wu.getModuleSpecifier=function(e,n,t,r,a){return bO(e,t,r,a,vO({},e,n),{})},wu.getNodeModulesPackageName=function(e,n,t,r,a){var i=SO(n,r);n=IO(n,t,r,a);return Bt.firstDefined(n,(function(n){return RO(n,i,r,e,!0)}))},wu.tryGetModuleSpecifiersFromCache=function(e,n,t,r){return EO(e,n,t,r)[0]},wu.getModuleSpecifiers=function(e,n,t,r,a,i){return TO(e,n,t,r,a,i).moduleSpecifiers},wu.getModuleSpecifiersWithCacheInfo=TO,wu.countPathComponents=LO,wu.forEachFileNameOfModule=CO,wu.tryGetJSExtensionForFile=wO,Ut=SY=SY||{},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=GO,Ut.screenStartingMessageCodes=[Ut.Diagnostics.Starting_compilation_in_watch_mode.code,Ut.Diagnostics.File_change_detected_Starting_incremental_compilation.code],Ut.getLocaleTimeString=UO,Ut.createWatchStatusReporter=VO,Ut.parseConfigFileWithSystem=function(e,n,t,r,a,i){var o=a;o.onUnRecoverableConfigFileDiagnostic=function(e){return aP(a,i,e)},e=Ut.getParsedCommandLineOfConfigFile(e,n,o,t,r);return o.onUnRecoverableConfigFileDiagnostic=void 0,e},Ut.getErrorCountForSummary=jO,Ut.getWatchErrorSummaryDiagnosticMessage=KO,Ut.getErrorSummaryText=HO,Ut.isBuilderProgram=WO,Ut.listFiles=zO,Ut.explainFiles=JO,Ut.explainIfFileIsRedirect=qO,Ut.getMatchedFileSpec=XO,Ut.getMatchedIncludeSpec=YO,Ut.fileIncludeReasonToDiagnostics=QO,Ut.emitFilesAndReportErrors=$O,Ut.emitFilesAndReportErrorsAndGetExitStatus=eP,Ut.noopFileWatcher={close:Ut.noop},Ut.returnNoopFileWatcher=function(){return Ut.noopFileWatcher},Ut.createWatchHost=nP,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,$u([e],n,!1));return i&&(i.version=r(i.text)),i}},Ut.createProgramHost=tP,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.reportDiagnostic,c=(e=e.reportWatchStatus,s||GO(i));return(s=rP(i,o,c,e)).onUnRecoverableConfigFileDiagnostic=function(e){return aP(i,c,e)},s.configFileName=n,s.optionsToExtend=t,s.watchOptionsToExtend=r,s.extraFileExtensions=a,s},Ut.createWatchCompilerHostOfFilesAndCompilerOptions=function(e){var n=e.rootFiles,t=e.options,r=e.watchOptions,a=e.projectReferences,i=e.system,o=e.createProgram,s=e.reportDiagnostic;e=e.reportWatchStatus;return(o=rP(i,o,s||GO(i),e)).rootFiles=n,o.options=t,o.watchOptions=r,o.projectReferences=a,o},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=eP(r,e.reportDiagnostic||GO(n),(function(e){return t.trace&&t.trace(e)}),e.reportErrorSummary||e.options.pretty?function(e){return n.write(HO(e,n.newLine))}:void 0);return e.afterProgramEmitAndDiagnostics&&e.afterProgramEmitAndDiagnostics(r),a},(jt=SY=SY||{}).readBuilderProgram=iP,jt.createIncrementalCompilerHost=oP,jt.createIncrementalProgram=function(e){var n=e.rootNames,t=e.options,r=e.configFileParsingDiagnostics,a=e.projectReferences,i=e.host;e=e.createProgram,i=i||oP(t);return(e=e||jt.createEmitAndSemanticDiagnosticsBuilderProgram)(n,t,i,iP(t,i),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,u,d,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,$u([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=ue,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=iP(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,ue,C))N&&(K=x(void 0,void 0,B,K,d,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,d,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=de(n,e,pe,jt.PollingInterval.Low,A,jt.WatchType.SourceFile))):(i.fileWatcher&&i.fileWatcher.close(),f.set(n,!1)):a?(t=de(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,d,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,u=e.wildcardDirectories,d=jt.getConfigFileParsingDiagnostics(e).slice(),I=jt.canJsonReportNoInputFiles(e.raw),N=!0}function ue(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=ed(ed({},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,u=r;return u.watcher||(u.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=u.parsedCommandLine)?void 0:i.watchOptions)||A,jt.WatchType.ConfigFileOfReferencedProject)),null!=(i=u.parsedCommandLine)&&i.wildcardDirectories?jt.updateWatchingWildcardDirectories(u.watchedDirectories||(u.watchedDirectories=new jt.Map),new jt.Map(jt.getEntries(null==(i=u.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=u.parsedCommandLine)?void 0:n.watchOptions)||A,jt.WatchType.WildcardDirectoryOfReferencedProject)})):u.watchedDirectories&&(jt.clearMap(u.watchedDirectories,jt.closeFileWatcherOf),u.watchedDirectories=void 0),be(l,null==(i=u.parsedCommandLine)?void 0:i.options,(null==(i=u.parsedCommandLine)?void 0:i.watchOptions)||A,jt.WatchType.ExtendedConfigOfReferencedProject),o}function de(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:de(e,e,ye,jt.PollingInterval.Medium,A,jt.WatchType.MissingFile)}function fe(e){return f.has(e)?jt.noopFileWatcher:de(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(){u?jt.updateWatchingWildcardDirectories(a=a||new jt.Map,new jt.Map(jt.getEntries(u)),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=SY=SY||{},(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=SY=SY||{},qt=new Date(-864e13),Xt=new Date(864e13),(nd=Wt=Wt||{})[nd.None=0]="None",nd[nd.Success=1]="Success",nd[nd.DeclarationOutputUnchanged=2]="DeclarationOutputUnchanged",nd[nd.ConfigFileErrors=4]="ConfigFileErrors",nd[nd.SyntaxErrors=8]="SyntaxErrors",nd[nd.TypeErrors=16]="TypeErrors",nd[nd.DeclarationEmitErrors=32]="DeclarationEmitErrors",nd[nd.EmitErrors=64]="EmitErrors",nd[nd.AnyErrors=124]="AnyErrors",Ht.isCircularBuildOrder=uP,Ht.getBuildOrderFromAnyBuildOrder=dP,Ht.createBuilderStatusReporter=pP,Ht.createSolutionBuilderHost=function(e,n,t,r,a){return(e=mP(e=void 0===e?Ht.sys:e,n,t,r)).reportErrorSummary=a,e},Ht.createSolutionBuilderWithWatchHost=function(e,n,t,r,a){return n=mP(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 XP(!1,e,n,t)},Ht.createSolutionBuilderWithWatch=function(e,n,t,r){return XP(!0,e,n,t,r)},(nd=zt=Ht.InvalidatedProjectKind||(Ht.InvalidatedProjectKind={}))[nd.Build=0]="Build",nd[nd.UpdateBundle=1]="UpdateBundle",nd[nd.UpdateOutputFileStamps=2]="UpdateOutputFileStamps",(nd=Jt=Jt||{})[nd.CreateProgram=0]="CreateProgram",nd[nd.SyntaxDiagnostics=1]="SyntaxDiagnostics",nd[nd.SemanticDiagnostics=2]="SemanticDiagnostics",nd[nd.Emit=3]="Emit",nd[nd.EmitBundle=4]="EmitBundle",nd[nd.EmitBuildInfo=5]="EmitBuildInfo",nd[nd.BuildInvalidatedProjectOfBundle=6]="BuildInvalidatedProjectOfBundle",nd[nd.QueueReferencingProjects=7]="QueueReferencingProjects",nd[nd.Done=8]="Done",Yt=SY=SY||{},(om=Yt.server||(Yt.server={})).ActionSet="action::set",om.ActionInvalidate="action::invalidate",om.ActionPackageInstalled="action::packageInstalled",om.EventTypesRegistry="event::typesRegistry",om.EventBeginInstallTypes="event::beginInstallTypes",om.EventEndInstallTypes="event::endInstallTypes",om.EventInitializationFailed="event::initializationFailed",(wu=om.Arguments||(om.Arguments={})).GlobalCacheLocation="--globalTypingsCacheLocation",wu.LogFile="--logFile",wu.EnableTelemetry="--enableTelemetry",wu.TypingSafeListLocation="--typingSafeListLocation",wu.TypesMapLocation="--typesMapLocation",wu.NpmLocation="--npmLocation",wu.ValidateDefaultNpmLocation="--validateDefaultNpmLocation",om.hasArgument=function(e){return 0<=Yt.sys.args.indexOf(e)},om.findArgument=function(e){return 0<=(e=Yt.sys.args.indexOf(e))&&e<Yt.sys.args.length-1?Yt.sys.args[e+1]:void 0},om.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=SY=SY||{},(Zt=Qt.JsTyping||(Qt.JsTyping={})).isTypingUpToDate=aw,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=$u($u([],sm,!0),Zt.prefixedNodeCoreModuleList,!0),Zt.nodeCoreModules=new Qt.Set(Zt.nodeCoreModuleList),Zt.nonRelativeModuleNameForTypingCache=iw,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,u=(t=Qt.mapDefined(t,(function(e){if(e=Qt.normalizePath(e),Qt.hasJSFileExtension(e))return e})),[]),d=(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"),u);var n=Qt.combinePaths(e,"bower.json");b(n,u),E(Qt.combinePaths(e,"bower_components"),u),n=Qt.combinePaths(e,"node_modules"),E(n,u)})),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(iw),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&&aw(e,t)&&l.set(n,e.typingLocation)}));for(var m=0,_=d;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:u};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],u=(c=Qt.normalizePath(c),Qt.getBaseFileName(c));"package.json"!==u&&"bower.json"!==u||(s=Qt.readConfigFile(c,(function(n){return e.readFile(n)})).config,"package.json"===u&&s._requiredBy&&0===Qt.filter(s._requiredBy,(function(e){return"#"===e[0]||"/"===e})).length)||s.name&&((u=s.types||s.typings)?(u=Qt.getNormalizedAbsolutePath(u,Qt.getDirectoryPath(c)),n&&n(" Package '"+s.name+"' provides its own types."),l.set(s.name,u)):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?ow(n,e.result,e.name,e.isScopeName):ow(n,e,n,!1)},nd=SY=SY||{},wu=nd.ScriptSnapshot||(nd.ScriptSnapshot={}),sw.prototype.getText=function(e,n){return 0===e&&n===this.text.length?this.text:this.text.substring(e,n)},sw.prototype.getLength=function(){return this.text.length},sw.prototype.getChangeRange=function(){},er=sw,wu.fromString=function(e){return new er(e)},(wu=nd.PackageJsonDependencyGroup||(nd.PackageJsonDependencyGroup={}))[wu.Dependencies=1]="Dependencies",wu[wu.DevDependencies=2]="DevDependencies",wu[wu.PeerDependencies=4]="PeerDependencies",wu[wu.OptionalDependencies=8]="OptionalDependencies",wu[wu.All=15]="All",(wu=nd.PackageJsonAutoImportPreference||(nd.PackageJsonAutoImportPreference={}))[wu.Off=0]="Off",wu[wu.On=1]="On",wu[wu.Auto=2]="Auto",(wu=nd.LanguageServiceMode||(nd.LanguageServiceMode={}))[wu.Semantic=0]="Semantic",wu[wu.PartialSemantic=1]="PartialSemantic",wu[wu.Syntactic=2]="Syntactic",nd.emptyOptions={},(wu=nd.SemanticClassificationFormat||(nd.SemanticClassificationFormat={})).Original="original",wu.TwentyTwenty="2020",(wu=nd.CompletionTriggerKind||(nd.CompletionTriggerKind={}))[wu.Invoked=1]="Invoked",wu[wu.TriggerCharacter=2]="TriggerCharacter",wu[wu.TriggerForIncompleteCompletions=3]="TriggerForIncompleteCompletions",(wu=nd.InlayHintKind||(nd.InlayHintKind={})).Type="Type",wu.Parameter="Parameter",wu.Enum="Enum",(wu=nd.HighlightSpanKind||(nd.HighlightSpanKind={})).none="none",wu.definition="definition",wu.reference="reference",wu.writtenReference="writtenReference",(wu=nr=nd.IndentStyle||(nd.IndentStyle={}))[wu.None=0]="None",wu[wu.Block=1]="Block",wu[wu.Smart=2]="Smart",(wu=tr=nd.SemicolonPreference||(nd.SemicolonPreference={})).Ignore="ignore",wu.Insert="insert",wu.Remove="remove",nd.getDefaultFormatCodeSettings=cw,nd.testFormatSettings=cw("\n"),(wu=nd.SymbolDisplayPartKind||(nd.SymbolDisplayPartKind={}))[wu.aliasName=0]="aliasName",wu[wu.className=1]="className",wu[wu.enumName=2]="enumName",wu[wu.fieldName=3]="fieldName",wu[wu.interfaceName=4]="interfaceName",wu[wu.keyword=5]="keyword",wu[wu.lineBreak=6]="lineBreak",wu[wu.numericLiteral=7]="numericLiteral",wu[wu.stringLiteral=8]="stringLiteral",wu[wu.localName=9]="localName",wu[wu.methodName=10]="methodName",wu[wu.moduleName=11]="moduleName",wu[wu.operator=12]="operator",wu[wu.parameterName=13]="parameterName",wu[wu.propertyName=14]="propertyName",wu[wu.punctuation=15]="punctuation",wu[wu.space=16]="space",wu[wu.text=17]="text",wu[wu.typeParameterName=18]="typeParameterName",wu[wu.enumMemberName=19]="enumMemberName",wu[wu.functionName=20]="functionName",wu[wu.regularExpressionLiteral=21]="regularExpressionLiteral",wu[wu.link=22]="link",wu[wu.linkName=23]="linkName",wu[wu.linkText=24]="linkText",(wu=nd.OutliningSpanKind||(nd.OutliningSpanKind={})).Comment="comment",wu.Region="region",wu.Code="code",wu.Imports="imports",(wu=nd.OutputFileType||(nd.OutputFileType={}))[wu.JavaScript=0]="JavaScript",wu[wu.SourceMap=1]="SourceMap",wu[wu.Declaration=2]="Declaration",(wu=nd.EndOfLineState||(nd.EndOfLineState={}))[wu.None=0]="None",wu[wu.InMultiLineCommentTrivia=1]="InMultiLineCommentTrivia",wu[wu.InSingleQuoteStringLiteral=2]="InSingleQuoteStringLiteral",wu[wu.InDoubleQuoteStringLiteral=3]="InDoubleQuoteStringLiteral",wu[wu.InTemplateHeadOrNoSubstitutionTemplate=4]="InTemplateHeadOrNoSubstitutionTemplate",wu[wu.InTemplateMiddleOrTail=5]="InTemplateMiddleOrTail",wu[wu.InTemplateSubstitutionPosition=6]="InTemplateSubstitutionPosition",(wu=nd.TokenClass||(nd.TokenClass={}))[wu.Punctuation=0]="Punctuation",wu[wu.Keyword=1]="Keyword",wu[wu.Operator=2]="Operator",wu[wu.Comment=3]="Comment",wu[wu.Whitespace=4]="Whitespace",wu[wu.Identifier=5]="Identifier",wu[wu.NumberLiteral=6]="NumberLiteral",wu[wu.BigIntLiteral=7]="BigIntLiteral",wu[wu.StringLiteral=8]="StringLiteral",wu[wu.RegExpLiteral=9]="RegExpLiteral",(wu=nd.ScriptElementKind||(nd.ScriptElementKind={})).unknown="",wu.warning="warning",wu.keyword="keyword",wu.scriptElement="script",wu.moduleElement="module",wu.classElement="class",wu.localClassElement="local class",wu.interfaceElement="interface",wu.typeElement="type",wu.enumElement="enum",wu.enumMemberElement="enum member",wu.variableElement="var",wu.localVariableElement="local var",wu.functionElement="function",wu.localFunctionElement="local function",wu.memberFunctionElement="method",wu.memberGetAccessorElement="getter",wu.memberSetAccessorElement="setter",wu.memberVariableElement="property",wu.constructorImplementationElement="constructor",wu.callSignatureElement="call",wu.indexSignatureElement="index",wu.constructSignatureElement="construct",wu.parameterElement="parameter",wu.typeParameterElement="type parameter",wu.primitiveType="primitive type",wu.label="label",wu.alias="alias",wu.constElement="const",wu.letElement="let",wu.directory="directory",wu.externalModuleName="external module name",wu.jsxAttribute="JSX attribute",wu.string="string",wu.link="link",wu.linkName="link name",wu.linkText="link text",(wu=nd.ScriptElementKindModifier||(nd.ScriptElementKindModifier={})).none="",wu.publicMemberModifier="public",wu.privateMemberModifier="private",wu.protectedMemberModifier="protected",wu.exportedModifier="export",wu.ambientModifier="declare",wu.staticModifier="static",wu.abstractModifier="abstract",wu.optionalModifier="optional",wu.deprecatedModifier="deprecated",wu.dtsModifier=".d.ts",wu.tsModifier=".ts",wu.tsxModifier=".tsx",wu.jsModifier=".js",wu.jsxModifier=".jsx",wu.jsonModifier=".json",(wu=nd.ClassificationTypeNames||(nd.ClassificationTypeNames={})).comment="comment",wu.identifier="identifier",wu.keyword="keyword",wu.numericLiteral="number",wu.bigintLiteral="bigint",wu.operator="operator",wu.stringLiteral="string",wu.whiteSpace="whitespace",wu.text="text",wu.punctuation="punctuation",wu.className="class name",wu.enumName="enum name",wu.interfaceName="interface name",wu.moduleName="module name",wu.typeParameterName="type parameter name",wu.typeAliasName="type alias name",wu.parameterName="parameter name",wu.docCommentTagName="doc comment tag name",wu.jsxOpenTagName="jsx open tag name",wu.jsxCloseTagName="jsx close tag name",wu.jsxSelfClosingTagName="jsx self closing tag name",wu.jsxAttribute="jsx attribute",wu.jsxText="jsx text",wu.jsxAttributeStringLiteralValue="jsx attribute string literal value",(wu=nd.ClassificationType||(nd.ClassificationType={}))[wu.comment=1]="comment",wu[wu.identifier=2]="identifier",wu[wu.keyword=3]="keyword",wu[wu.numericLiteral=4]="numericLiteral",wu[wu.operator=5]="operator",wu[wu.stringLiteral=6]="stringLiteral",wu[wu.regularExpressionLiteral=7]="regularExpressionLiteral",wu[wu.whiteSpace=8]="whiteSpace",wu[wu.text=9]="text",wu[wu.punctuation=10]="punctuation",wu[wu.className=11]="className",wu[wu.enumName=12]="enumName",wu[wu.interfaceName=13]="interfaceName",wu[wu.moduleName=14]="moduleName",wu[wu.typeParameterName=15]="typeParameterName",wu[wu.typeAliasName=16]="typeAliasName",wu[wu.parameterName=17]="parameterName",wu[wu.docCommentTagName=18]="docCommentTagName",wu[wu.jsxOpenTagName=19]="jsxOpenTagName",wu[wu.jsxCloseTagName=20]="jsxCloseTagName",wu[wu.jsxSelfClosingTagName=21]="jsxSelfClosingTagName",wu[wu.jsxAttribute=22]="jsxAttribute",wu[wu.jsxText=23]="jsxText",wu[wu.jsxAttributeStringLiteralValue=24]="jsxAttributeStringLiteralValue",wu[wu.bigintLiteral=25]="bigintLiteral";var lw=SY=SY||{};function uw(e){switch(e.kind){case 252:return lw.isInJSFile(e)&&lw.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 lw.isAmbientModule(e)||1===lw.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 dw(e){for(;159===e.parent.kind;)e=e.parent;return lw.isInternalModuleImportEqualsDeclaration(e.parent)&&e.parent.moduleReference===e}function pw(e){return e.expression}function mw(e){return e.tag}function _w(e){return e.tagName}function fw(e,n,t,r,a){return r=(r?yw:gw)(e),!!(r=a?lw.skipOuterExpressions(r):r)&&!!r.parent&&n(r.parent)&&t(r.parent)===r}function gw(e){return bw(e)?e.parent:e}function yw(e){return bw(e)||Ew(e)?e.parent:e}function hw(e){var n;return lw.isIdentifier(e)&&(null==(n=lw.tryCast(e.parent,lw.isBreakOrContinueStatement))?void 0:n.label)===e}function vw(e){var n;return lw.isIdentifier(e)&&(null==(n=lw.tryCast(e.parent,lw.isLabeledStatement))?void 0:n.label)===e}function bw(e){var n;return(null==(n=lw.tryCast(e.parent,lw.isPropertyAccessExpression))?void 0:n.name)===e}function Ew(e){var n;return(null==(n=lw.tryCast(e.parent,lw.isElementAccessExpression))?void 0:n.argumentExpression)===e}lw.scanner=lw.createScanner(99,!0),(om=lw.SemanticMeaning||(lw.SemanticMeaning={}))[om.None=0]="None",om[om.Value=1]="Value",om[om.Type=2]="Type",om[om.Namespace=4]="Namespace",om[om.All=7]="All",lw.getMeaningFromDeclaration=uw,lw.getMeaningFromLocation=function(e){var n,t=(e=Gw(e)).parent;if(300===e.kind)return 1;if(lw.isExportAssignment(t)||lw.isExportSpecifier(t)||lw.isExternalModuleReference(t)||lw.isImportSpecifier(t)||lw.isImportClause(t)||lw.isImportEqualsDeclaration(t)&&e===t.name){for(var r=t;r;){if(lw.isImportEqualsDeclaration(r)||lw.isImportClause(r)||lw.isExportDeclaration(r))return r.isTypeOnly?2:7;r=r.parent}return 7}return dw(e)?(n=159===(n=e).kind?n:lw.isQualifiedName(n.parent)&&n.parent.right===n?n.parent:void 0)&&263===n.parent.kind?7:4:lw.isDeclarationName(e)?uw(t):lw.isEntityName(e)&&lw.findAncestor(e,lw.or(lw.isJSDocNameReference,lw.isJSDocLinkLike,lw.isJSDocMemberName))?7:function(e){switch(lw.isRightSideOfQualifiedNameOrPropertyAccess(e)&&(e=e.parent),e.kind){case 108:return!lw.isExpressionNode(e);case 190:return 1}switch(e.parent.kind){case 176:return 1;case 198:return!e.parent.isTypeOf;case 226:return!lw.isExpressionWithTypeArgumentsInClassExtendsClause(e.parent)}}(e)?2:function(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)||function(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:lw.isTypeParameterDeclaration(t)?(lw.Debug.assert(lw.isJSDocTemplateTag(t.parent)),2):lw.isLiteralTypeNode(t)?3:1},lw.isInRightSideOfInternalImportEqualsDeclaration=dw,lw.isCallExpressionTarget=function(e,n,t){return fw(e,lw.isCallExpression,pw,n=void 0!==n&&n,t=void 0!==t&&t)},lw.isNewExpressionTarget=function(e,n,t){return fw(e,lw.isNewExpression,pw,n=void 0!==n&&n,t=void 0!==t&&t)},lw.isCallOrNewExpressionTarget=function(e,n,t){return fw(e,lw.isCallOrNewExpression,pw,n=void 0!==n&&n,t=void 0!==t&&t)},lw.isTaggedTemplateTag=function(e,n,t){return fw(e,lw.isTaggedTemplateExpression,mw,n=void 0!==n&&n,t=void 0!==t&&t)},lw.isDecoratorTarget=function(e,n,t){return fw(e,lw.isDecorator,pw,n=void 0!==n&&n,t=void 0!==t&&t)},lw.isJsxOpeningLikeElementTagName=function(e,n,t){return fw(e,lw.isJsxOpeningLikeElement,_w,n=void 0!==n&&n,t=void 0!==t&&t)},lw.climbPastPropertyAccess=gw,lw.climbPastPropertyOrElementAccess=yw,lw.getTargetLabel=function(e,n){for(;e;){if(248===e.kind&&e.label.escapedText===n)return e.label;e=e.parent}},lw.hasPropertyAccessExpressionWithName=function(e,n){return!!lw.isPropertyAccessExpression(e.expression)&&e.expression.name.text===n},lw.isJumpStatementTarget=hw,lw.isLabelOfLabeledStatement=vw,lw.isLabelName=function(e){return vw(e)||hw(e)},lw.isTagName=function(e){var n;return(null==(n=lw.tryCast(e.parent,lw.isJSDocTag))?void 0:n.tagName)===e},lw.isRightSideOfQualifiedName=function(e){var n;return(null==(n=lw.tryCast(e.parent,lw.isQualifiedName))?void 0:n.right)===e},lw.isRightSideOfPropertyAccess=bw,lw.isArgumentExpressionOfElementAccess=Ew,lw.isNameOfModuleDeclaration=function(e){var n;return(null==(n=lw.tryCast(e.parent,lw.isModuleDeclaration))?void 0:n.name)===e},lw.isNameOfFunctionDeclaration=function(e){var n;return lw.isIdentifier(e)&&(null==(n=lw.tryCast(e.parent,lw.isFunctionLike))?void 0:n.name)===e},lw.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 lw.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}},lw.isExpressionOfExternalModuleImportEqualsDeclaration=function(e){return lw.isExternalModuleImportEqualsDeclaration(e.parent.parent)&&lw.getExternalModuleImportEqualsDeclarationExpression(e.parent.parent)===e},lw.getContainerNode=function(e){for(lw.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}}},lw.getNodeKind=function e(n){switch(n.kind){case 300:return lw.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(lw.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 lw.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 lw.hasSyntacticModifier(n,16476)?"property":"parameter";case 263:case 268:case 273:case 266:case 272:return"alias";case 219:var r=lw.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 lw.isFunctionExpression(a)?"method":"property";case 4:return"property";case 5:return lw.isFunctionExpression(a)?"method":"property";case 6:return"local class";default:return lw.assertType(r),""}case 79:return lw.isImportClause(n.parent)?"alias":"";case 269:return""===(t=e(n.expression))?"const":t;default:return""}function o(e){return lw.isVarConst(e)?"const":lw.isLet(e)?"let":"var"}},lw.isThis=function(e){switch(e.kind){case 108:return!0;case 79:return lw.identifierIsThisKeyword(e)&&162===e.parent.kind;default:return!1}};var Tw=/^\/\/\/\s*</;function Sw(e,n){return Lw(e.pos,e.end,n)}function xw(e,n){return e.pos<n&&n<e.end}function Lw(e,n,t){return e<=t.pos&&n>=t.end}function Dw(e,n,t,r){return Math.max(e,t)<Math.min(n,r)}function Aw(e,n,t){if(e=e.getChildren(t),e.length){if(t=lw.last(e),t.kind===n)return!0;if(26===t.kind&&1!==e.length)return e[e.length-2].kind===n}return!1}function Cw(e,n,t){return!!Iw(e,n,t)}function Iw(e,n,t){return lw.find(e.getChildren(t),(function(e){return e.kind===n}))}function Nw(e){var n=lw.find(e.parent.getChildren(),(function(n){return lw.isSyntaxList(n)&&Sw(n,e)}));return lw.Debug.assert(!n||lw.contains(n.getChildren(),e)),n}function kw(e){return 88===e.kind}function Rw(e){return 84===e.kind}function Ow(e){return 98===e.kind}function Pw(e,n){if(!n)switch(e.kind){case 255:case 224:var t=e;if(lw.isNamedDeclaration(t))return t.name;if(lw.isClassDeclaration(t)){var r=t.modifiers&&lw.find(t.modifiers,kw);if(r)return r}return lw.isClassExpression(t)&&(r=lw.find(t.getChildren(),Rw),r)?r:void 0;case 254:case 211:if(t=e,lw.isNamedDeclaration(t))return t.name;if(lw.isFunctionDeclaration(t)){var a=lw.find(t.modifiers,kw);if(a)return a}return lw.isFunctionExpression(t)&&(a=lw.find(t.getChildren(),Ow),a)?a:void 0}if(lw.isNamedDeclaration(e))return e.name}function ww(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(lw.isNamedImports(e.importClause.namedBindings))return(t=lw.singleOrUndefined(e.importClause.namedBindings.elements))?t.name:void 0;if(lw.isNamespaceImport(e.importClause.namedBindings))return e.importClause.namedBindings.name}}if(!n)return e.moduleSpecifier}function Mw(e,n){if(e.exportClause){if(lw.isNamedExports(e.exportClause))return lw.singleOrUndefined(e.exportClause.elements)?e.exportClause.elements[0].name:void 0;if(lw.isNamespaceExport(e.exportClause))return e.exportClause.name}if(!n)return e.moduleSpecifier}function Fw(e,n){var t,r=e.parent;if((lw.isModifier(e)&&(n||88!==e.kind)?lw.contains(r.modifiers,e):84===e.kind?lw.isClassDeclaration(r)||lw.isClassExpression(e):98===e.kind?lw.isFunctionDeclaration(r)||lw.isFunctionExpression(e):118===e.kind?lw.isInterfaceDeclaration(r):92===e.kind?lw.isEnumDeclaration(r):150===e.kind?lw.isTypeAliasDeclaration(r):141===e.kind||140===e.kind?lw.isModuleDeclaration(r):100===e.kind?lw.isImportEqualsDeclaration(r):135===e.kind?lw.isGetAccessorDeclaration(r):147===e.kind&&lw.isSetAccessorDeclaration(r))&&(t=Pw(r,n)))return t;if((113===e.kind||85===e.kind||119===e.kind)&&lw.isVariableDeclarationList(r)&&1===r.declarations.length){var a=r.declarations[0];if(lw.isIdentifier(a.name))return a.name}if(150===e.kind){if(lw.isImportClause(r)&&r.isTypeOnly&&(t=ww(r.parent,n)))return t;if(lw.isExportDeclaration(r)&&r.isTypeOnly&&(t=Mw(r,n)))return t}if(127===e.kind){if(lw.isImportSpecifier(r)&&r.propertyName||lw.isExportSpecifier(r)&&r.propertyName||lw.isNamespaceImport(r)||lw.isNamespaceExport(r))return r.name;if(lw.isExportDeclaration(r)&&r.exportClause&&lw.isNamespaceExport(r.exportClause))return r.exportClause.name}if(100===e.kind&&lw.isImportDeclaration(r)&&(t=ww(r,n)))return t;if(93===e.kind){if(lw.isExportDeclaration(r)&&(t=Mw(r,n)))return t;if(lw.isExportAssignment(r))return lw.skipOuterExpressions(r.expression)}if(144===e.kind&&lw.isExternalModuleReference(r))return r.expression;if(154===e.kind&&(lw.isImportDeclaration(r)||lw.isExportDeclaration(r))&&r.moduleSpecifier)return r.moduleSpecifier;if((94===e.kind||117===e.kind)&&lw.isHeritageClause(r)&&r.token===e.kind&&(t=function(e){if(1===e.types.length)return e.types[0].expression}(r)))return t;if(94===e.kind){if(lw.isTypeParameterDeclaration(r)&&r.constraint&&lw.isTypeReferenceNode(r.constraint))return r.constraint.typeName;if(lw.isConditionalTypeNode(r)&&lw.isTypeReferenceNode(r.extendsType))return r.extendsType.typeName}if(136===e.kind&&lw.isInferTypeNode(r))return r.typeParameter.name;if(101===e.kind&&lw.isTypeParameterDeclaration(r)&&lw.isMappedTypeNode(r.parent))return r.name;if(139===e.kind&&lw.isTypeOperatorNode(r)&&139===r.operator&&lw.isTypeReferenceNode(r.type))return r.type.typeName;if(143===e.kind&&lw.isTypeOperatorNode(r)&&143===r.operator&&lw.isArrayTypeNode(r.type)&&lw.isTypeReferenceNode(r.type.elementType))return r.type.elementType.typeName;if(!n){if((103===e.kind&&lw.isNewExpression(r)||114===e.kind&&lw.isVoidExpression(r)||112===e.kind&&lw.isTypeOfExpression(r)||131===e.kind&&lw.isAwaitExpression(r)||125===e.kind&&lw.isYieldExpression(r)||89===e.kind&&lw.isDeleteExpression(r))&&r.expression)return lw.skipOuterExpressions(r.expression);if((101===e.kind||102===e.kind)&&lw.isBinaryExpression(r)&&r.operatorToken===e)return lw.skipOuterExpressions(r.right);if(127===e.kind&&lw.isAsExpression(r)&&lw.isTypeReferenceNode(r.type))return r.type.typeName;if(101===e.kind&&lw.isForInStatement(r)||158===e.kind&&lw.isForOfStatement(r))return lw.skipOuterExpressions(r.expression)}return e}function Gw(e){return Fw(e,!1)}function Bw(e,n,t){return Vw(e,n,!1,t,!1)}function Uw(e,n){return Vw(e,n,!0,void 0,!1)}function Vw(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=Kw(n,e,c),l&&r(l)))return l}return i}}function jw(e,n,t){return function n(r){return lw.isToken(r)&&r.pos===e.end?r:lw.firstDefined(r.getChildren(t),(function(r){var a=r.pos<=e.pos&&r.end>e.end||r.pos===e.end;return a&&$w(r,t)?n(r):void 0}))}(n)}function Kw(e,n,t,r){var a=function a(i){if(Hw(i)&&1!==i.kind)return i;var o=i.getChildren(n),s=lw.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||!$w(l,n)||Jw(l)?(c=zw(o,s,n))&&Ww(c,n):a(l)}return lw.Debug.assert(void 0!==t||300===i.kind||1===i.kind||lw.isJSDocCommentContainingNode(i)),s=zw(o,o.length,n),s&&Ww(s,n)}(t||n);return lw.Debug.assert(!(a&&Jw(a))),a}function Hw(e){return lw.isToken(e)&&!Jw(e)}function Ww(e,n){var t;return Hw(e)||0===(t=e.getChildren(n)).length?e:(e=zw(t,t.length,n))&&Ww(e,n)}function zw(e,n,t){for(var r=n-1;0<=r;r--)if(Jw(e[r]))lw.Debug.assert(0<r,"`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`");else if($w(e[r],t))return e[r]}function Jw(e){return lw.isJsxText(e)&&e.containsOnlyTriviaWhiteSpaces}function qw(e,n,t){var r=lw.tokenToString(e.kind),a=lw.tokenToString(n),i=e.getFullStart();a=t.text.lastIndexOf(a,i);if(-1!==a){if(t.text.lastIndexOf(r,i-1)<a&&(r=Kw(a+1,t),r&&r.kind===n))return r;for(var o=e.kind,s=0;;){var c=Kw(e.getFullStart(),t);if(!c)return;if((e=c).kind===n){if(0===s)return e;s--}else e.kind===o&&s++}}}function Xw(e,n,t){return n?e.getNonNullableType():t?e.getNonOptionalType():e}function Yw(e,n,t){return t=t.getTypeAtLocation(e),lw.isOptionalChain(e.parent)&&(t=Xw(t,lw.isOptionalChainRoot(e.parent),!0)),(lw.isNewExpression(e.parent)?t.getConstructSignatures():t.getCallSignatures()).filter((function(e){return!!e.typeParameters&&e.typeParameters.length>=n}))}function Qw(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=Kw(t.getFullStart(),n))&&28===t.kind?Kw(t.getFullStart(),n):t)||!lw.isIdentifier(t))return;if(!r)return lw.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=qw(t,18,n))break;return;case 21:if(t=qw(t,20,n))break;return;case 23:if(t=qw(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(lw.isTypeNode(t))break;return}t=Kw(t.getFullStart(),n)}}function Zw(e,n,t){return lw.formatting.getRangeOfEnclosingComment(e,n,void 0,t)}function $w(e,n){return 1===e.kind?!!e.jsDoc:0!==e.getWidth(n)}function eM(e,n,t){return n=Zw(e,n,void 0),!!n&&t===Tw.test(e.text.substring(n.pos,n.end))}function nM(e,n,t){return lw.createTextSpanFromBounds(e.getStart(n),(t||e).getEnd())}function tM(e){if(!e.isUnterminated)return lw.createTextSpanFromBounds(e.getStart()+1,e.getEnd()-1)}function rM(e,n){return{span:e,newText:n}}function aM(e){return 150===e.kind}function iM(e,n){return{fileExists:function(n){return e.fileExists(n)},getCurrentDirectory:function(){return n.getCurrentDirectory()},readFile:lw.maybeBind(n,n.readFile),useCaseSensitiveFileNames:lw.maybeBind(n,n.useCaseSensitiveFileNames),getSymlinkCache:lw.maybeBind(n,n.getSymlinkCache)||e.getSymlinkCache,getModuleSpecifierCache:lw.maybeBind(n,n.getModuleSpecifierCache),getGlobalTypingsCacheLocation:lw.maybeBind(n,n.getGlobalTypingsCacheLocation),redirectTargetsMap:e.redirectTargetsMap,getProjectReferenceRedirect:function(n){return e.getProjectReferenceRedirect(n)},isSourceOfProjectReferenceRedirect:function(n){return e.isSourceOfProjectReferenceRedirect(n)},getNearestAncestorDirectoryWithPackageJson:lw.maybeBind(n,n.getNearestAncestorDirectoryWithPackageJson),getFileIncludeReasons:function(){return e.getFileIncludeReasons()}}}function oM(e,n){return ed(ed({},iM(e,n)),{getCommonSourceDirectory:function(){return e.getCommonSourceDirectory()}})}function sM(e,n,t,r,a){return lw.factory.createImportDeclaration(void 0,void 0,e||n?lw.factory.createImportClause(!!a,e,n&&n.length?lw.factory.createNamedImports(n):void 0):void 0,"string"==typeof t?cM(t,r):t)}function cM(e,n){return lw.factory.createStringLiteral(e,0===n)}function lM(e,n){return lw.isStringDoubleQuoted(e,n)?1:0}function uM(e,n){return n.quotePreference&&"auto"!==n.quotePreference?"single"===n.quotePreference?0:1:(n=e.imports&&lw.find(e.imports,(function(e){return lw.isStringLiteral(e)&&!lw.nodeIsSynthesized(e.parent)})))?lM(n,e):1}function dM(e){return"default"!==e.escapedName?e.escapedName:lw.firstDefined(e.declarations,(function(e){return e=lw.getNameOfDeclaration(e),e&&79===e.kind?e.escapedText:void 0}))}function pM(e,n){return!!e&&!!n&&e.start===n.start&&e.length===n.length}function mM(e){return e.declarations&&0<e.declarations.length&&162===e.declarations[0].kind}lw.getLineStartPositionForPosition=function(e,n){return lw.getLineStarts(n)[n.getLineAndCharacterOfPosition(e).line]},lw.rangeContainsRange=Sw,lw.rangeContainsRangeExclusive=function(e,n){return xw(e,n.pos)&&xw(e,n.end)},lw.rangeContainsPosition=function(e,n){return e.pos<=n&&n<=e.end},lw.rangeContainsPositionExclusive=xw,lw.startEndContainsRange=Lw,lw.rangeContainsStartEnd=function(e,n,t){return e.pos<=n&&e.end>=t},lw.rangeOverlapsWithStartEnd=function(e,n,t){return Dw(e.pos,e.end,n,t)},lw.nodeOverlapsWithStartEnd=function(e,n,t,r){return Dw(e.getStart(n),e.end,t,r)},lw.startEndOverlapsWithStartEnd=Dw,lw.positionBelongsToNode=function(e,n,t){return lw.Debug.assert(e.pos<=n),n<e.end||!function e(n,t){if(void 0===n||lw.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 Aw(n,19,t);case 290:return e(n.block,t);case 207:if(!n.arguments)return!0;case 206:case 210:case 189:return Aw(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):Cw(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)||Cw(n,26,t);case 202:case 200:case 205:case 160:case 182:return Aw(n,23,t);case 174:return n.type?e(n.type,t):Cw(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 Cw(n,115,t)?Aw(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=lw.lastOrUndefined(n.templateSpans),e(r,t);case 231:return lw.nodeIsPresent(n.literal);case 270:case 264:return lw.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)},lw.findListItemInfo=function(e){var n,t=Nw(e);if(t)return n=t.getChildren(),{listItemIndex:lw.indexOfNode(n,e),list:t}},lw.hasChildOfKind=Cw,lw.findChildOfKind=Iw,lw.findContainingList=Nw,lw.getContextualTypeOrAncestorTypeNodeType=function(e,n){var t,r=n.getContextualType(e);return r||((r=e.parent)&&lw.isBinaryExpression(r)&&BM(r.operatorToken.kind)?n.getTypeAtLocation(e===r.left?r.right:r.left):(lw.findAncestor(e,(function(e){return lw.isTypeNode(e)&&(t=e),!lw.isQualifiedName(e.parent)&&!lw.isTypeNode(e.parent)&&!lw.isTypeElement(e.parent)})),(r=t)&&n.getTypeAtLocation(r)))},lw.getAdjustedReferenceLocation=Gw,lw.getAdjustedRenameLocation=function(e){return Fw(e,!0)},lw.getTouchingPropertyName=function(e,n){return Bw(e,n,(function(e){return lw.isPropertyNameLiteral(e)||lw.isKeyword(e.kind)||lw.isPrivateIdentifier(e)}))},lw.getTouchingToken=Bw,lw.getTokenAtPosition=Uw,lw.findFirstNonJsxWhitespaceToken=function(e,n){for(var t=Uw(e,n);Jw(t);){var r=jw(t,t.parent,e);if(!r)return;t=r}return t},lw.findTokenOnLeftOfPosition=function(e,n){var t=Uw(e,n);return lw.isToken(t)&&n>t.getStart(e)&&n<t.getEnd()?t:Kw(n,e)},lw.findNextToken=jw,lw.findPrecedingToken=Kw,lw.isInString=function(e,n,t){if((t=void 0===t?Kw(n,e):t)&&lw.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},lw.isInsideJsxElementOrAttribute=function(e,n){return!!(e=Uw(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)},lw.isInTemplateString=function(e,n){var t=Uw(e,n);return lw.isTemplateLiteralKind(t.kind)&&n>t.getStart(e)},lw.isInJSXText=function(e,n){return e=Uw(e,n),!!lw.isJsxText(e)||!(18!==e.kind||!lw.isJsxExpression(e.parent)||!lw.isJsxElement(e.parent.parent))||!(29!==e.kind||!lw.isJsxOpeningLikeElement(e.parent)||!lw.isJsxElement(e.parent.parent))},lw.isInsideJsxElement=function(e,n){for(var t=Uw(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},lw.findPrecedingMatchingToken=qw,lw.removeOptionality=Xw,lw.isPossiblyTypeArgumentPosition=function e(n,t,r){return n=Qw(n,t),void 0!==n&&(lw.isPartOfTypeNode(n.called)||0!==Yw(n.called,n.nTypeArguments,r).length||e(n.called,t,r))},lw.getPossibleGenericSignatures=Yw,lw.getPossibleTypeArgumentsInfo=Qw,lw.isInComment=Zw,lw.hasDocComment=function(e,n){return e=Uw(e,n),!!lw.findAncestor(e,lw.isJSDoc)},lw.getNodeModifiers=function(e,n){void 0===n&&(n=0);var t=[];return 8&(n=lw.isDeclaration(e)?lw.getCombinedNodeFlagsAlwaysIncludeJSDoc(e)&~n:0)&&t.push("private"),16&n&&t.push("protected"),4&n&&t.push("public"),(32&n||lw.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(","):""},lw.getTypeArgumentOrTypeParameterList=function(e){return 176===e.kind||206===e.kind?e.typeArguments:lw.isFunctionLike(e)||255===e.kind||256===e.kind?e.typeParameters:void 0},lw.isComment=function(e){return 2===e||3===e},lw.isStringOrRegularExpressionOrTemplateLiteral=function(e){return!(10!==e&&13!==e&&!lw.isTemplateLiteralKind(e))},lw.isPunctuation=function(e){return 18<=e&&e<=78},lw.isInsideTemplateLiteral=function(e,n,t){return lw.isTemplateLiteralKind(e.kind)&&e.getStart(t)<n&&n<e.end||!!e.isUnterminated&&n===e.end},lw.isAccessibilityModifier=function(e){switch(e){case 123:case 121:case 122:return!0}return!1},lw.cloneCompilerOptions=function(e){var n=lw.clone(e);return lw.setConfigFileInOptions(n,e&&e.configFile),n},lw.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},lw.isInReferenceComment=function(e,n){return eM(e,n,!0)},lw.isInNonReferenceComment=function(e,n){return eM(e,n,!1)},lw.getReplacementSpanForContextToken=function(e){if(e)switch(e.kind){case 10:case 14:return tM(e);default:return nM(e)}},lw.createTextSpanFromNode=nM,lw.createTextSpanFromStringLiteralLikeContent=tM,lw.createTextRangeFromNode=function(e,n){return lw.createRange(e.getStart(n),e.end)},lw.createTextSpanFromRange=function(e){return lw.createTextSpanFromBounds(e.pos,e.end)},lw.createTextRangeFromSpan=function(e){return lw.createRange(e.start,e.start+e.length)},lw.createTextChangeFromStartLength=function(e,n,t){return rM(lw.createTextSpan(e,n),t)},lw.createTextChange=rM,lw.typeKeywords=[129,128,156,132,95,136,139,142,104,145,146,143,148,149,110,114,151,152,153],lw.isTypeKeyword=function(e){return lw.contains(lw.typeKeywords,e)},lw.isTypeKeywordToken=aM,lw.isExternalModuleSymbol=function(e){return!!(1536&e.flags)&&34===e.name.charCodeAt(0)},lw.nodeSeenTracker=function(){var e=[];return function(n){return n=lw.getNodeId(n),!e[n]&&(e[n]=!0)}},lw.getSnapshotText=function(e){return e.getText(0,e.getLength())},lw.repeatString=function(e,n){for(var t="",r=0;r<n;r++)t+=e;return t},lw.skipConstraint=function(e){return e.isTypeParameter()&&e.getConstraint()||e},lw.getNameFromPropertyName=function(e){return 160===e.kind?lw.isStringOrNumericLiteralLike(e.expression)?e.expression.text:void 0:lw.isPrivateIdentifier(e)?lw.idText(e):lw.getTextOfIdentifierOrLiteral(e)},lw.programContainsModules=function(e){return e.getSourceFiles().some((function(n){return!(n.isDeclarationFile||e.isSourceFileFromExternalLibrary(n)||!n.externalModuleIndicator&&!n.commonJsModuleIndicator)}))},lw.programContainsEs6Modules=function(e){return e.getSourceFiles().some((function(n){return!n.isDeclarationFile&&!e.isSourceFileFromExternalLibrary(n)&&!!n.externalModuleIndicator}))},lw.compilerOptionsIndicateEs6Modules=function(e){return!!e.module||2<=e.target||!!e.noEmit},lw.createModuleSpecifierResolutionHost=iM,lw.getModuleSpecifierResolverHost=oM,lw.makeImportIfNecessary=function(e,n,t,r){return e||n&&n.length?sM(e,n,t,r):void 0},lw.makeImport=sM,lw.makeStringLiteral=cM,(om=lw.QuotePreference||(lw.QuotePreference={}))[om.Single=0]="Single",om[om.Double=1]="Double",lw.quotePreferenceFromString=lM,lw.getQuotePreference=uM,lw.getQuoteFromPreference=function(e){switch(e){case 0:return"'";case 1:return'"';default:return lw.Debug.assertNever(e)}},lw.symbolNameNoDefault=function(e){return void 0===(e=dM(e))?void 0:lw.unescapeLeadingUnderscores(e)},lw.symbolEscapedNameNoDefault=dM,lw.isModuleSpecifierLike=function(e){return lw.isStringLiteralLike(e)&&(lw.isExternalModuleReference(e.parent)||lw.isImportDeclaration(e.parent)||lw.isRequireCall(e.parent,!1)&&e.parent.arguments[0]===e||lw.isImportCall(e.parent)&&e.parent.arguments[0]===e)},lw.isObjectBindingElementWithoutPropertyName=function(e){return lw.isBindingElement(e)&&lw.isObjectBindingPattern(e.parent)&&lw.isIdentifier(e.name)&&!e.propertyName},lw.getPropertySymbolFromBindingElement=function(e,n){var t=e.getTypeAtLocation(n.parent);return t&&e.getPropertyOfType(t,n.name.text)},lw.getParentNodeInSpan=function(e,n,t){var r,a;if(e)for(;e.parent;){if(lw.isSourceFile(e.parent)||(r=t,a=e.parent,!(lw.textSpanContainsPosition(r,a.getStart(n))&&a.getEnd()<=lw.textSpanEnd(r))))return e;e=e.parent}},lw.findModifier=function(e,n){return e.modifiers&&lw.find(e.modifiers,(function(e){return e.kind===n}))},lw.insertImports=function(e,n,t,r){var a=235===(lw.isArray(t)?t[0]:t).kind?lw.isRequireVariableStatement:lw.isAnyImportSyntax,i=lw.filter(n.statements,a);a=lw.isArray(t)?lw.stableSort(t,lw.OrganizeImports.compareImportsOrRequireStatements):[t];if(i.length)if(i&&lw.OrganizeImports.importsAreSorted(i))for(var o=0,s=a;o<s.length;o++){var c,l=s[o],u=lw.OrganizeImports.getImportDeclarationInsertionIndex(i,l);0===u?(c=i[0]===n.statements[0]?{leadingTriviaOption:lw.textChanges.LeadingTriviaOption.Exclude}:{},e.insertNodeBefore(n,i[0],l,!1,c)):(c=i[u-1],e.insertNodeAfter(n,c,l))}else t=lw.lastOrUndefined(i),t?e.insertNodesAfter(n,t,a):e.insertNodesAtTopOfFile(n,a,r);else e.insertNodesAtTopOfFile(n,a,r)},lw.getTypeKeywordOfTypeOnlyImport=function(e,n){return lw.Debug.assert(e.isTypeOnly),lw.cast(e.getChildAt(0,n),aM)},lw.textSpansEqual=pM,lw.documentSpansEqual=function(e,n){return e.fileName===n.fileName&&pM(e.textSpan,n.textSpan)},lw.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}},lw.isTextWhiteSpaceLike=function(e,n,t){for(var r=n;r<t;r++)if(!lw.isWhiteSpaceLike(e.charCodeAt(r)))return!1;return!0},lw.isFirstDeclarationOfSymbolParameter=mM;var _M=function(){function e(e){return s(e,lw.SymbolDisplayPartKind.text)}var n,t,r,a,i=10*lw.defaultMaximumTruncationLength;return c(),{displayParts:function(){var e=n.length&&n[n.length-1].text;return i<a&&e&&"..."!==e&&(lw.isWhiteSpaceLike(e.charCodeAt(e.length-1))||n.push(gM(" ",lw.SymbolDisplayPartKind.space)),n.push(gM("...",lw.SymbolDisplayPartKind.punctuation))),n},writeKeyword:function(e){return s(e,lw.SymbolDisplayPartKind.keyword)},writeOperator:function(e){return s(e,lw.SymbolDisplayPartKind.operator)},writePunctuation:function(e){return s(e,lw.SymbolDisplayPartKind.punctuation)},writeTrailingSemicolon:function(e){return s(e,lw.SymbolDisplayPartKind.punctuation)},writeSpace:function(e){return s(e,lw.SymbolDisplayPartKind.space)},writeStringLiteral:function(e){return s(e,lw.SymbolDisplayPartKind.stringLiteral)},writeParameter:function(e){return s(e,lw.SymbolDisplayPartKind.parameterName)},writeProperty:function(e){return s(e,lw.SymbolDisplayPartKind.propertyName)},writeLiteral:function(e){return s(e,lw.SymbolDisplayPartKind.stringLiteral)},writeSymbol:function(e,t){i<a||(o(),a+=e.length,n.push(fM(e,t)))},writeLine:function(){i<a||(a+=1,n.push(TM()),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:lw.notImplemented,getIndent:function(){return r},increaseIndent:function(){r++},decreaseIndent:function(){r--},clear:c,trackSymbol:function(){return!1},reportInaccessibleThisError:lw.noop,reportInaccessibleUniqueSymbolError:lw.noop,reportPrivateInBaseOfClassExpression:lw.noop};function o(){var e;i<a||t&&((e=lw.getIndentString(r))&&(a+=e.length,n.push(gM(e,lw.SymbolDisplayPartKind.space))),t=!1)}function s(e,t){i<a||(o(),a+=e.length,n.push(gM(e,t)))}function c(){n=[],t=!0,a=r=0}}();function fM(e,n){return gM(e,function(e){var n=e.flags;return 3&n?mM(e)?lw.SymbolDisplayPartKind.parameterName:lw.SymbolDisplayPartKind.localName:4&n||32768&n||65536&n?lw.SymbolDisplayPartKind.propertyName:8&n?lw.SymbolDisplayPartKind.enumMemberName:16&n?lw.SymbolDisplayPartKind.functionName:32&n?lw.SymbolDisplayPartKind.className:64&n?lw.SymbolDisplayPartKind.interfaceName:384&n?lw.SymbolDisplayPartKind.enumName:1536&n?lw.SymbolDisplayPartKind.moduleName:8192&n?lw.SymbolDisplayPartKind.methodName:262144&n?lw.SymbolDisplayPartKind.typeParameterName:524288&n||2097152&n?lw.SymbolDisplayPartKind.aliasName:lw.SymbolDisplayPartKind.text}(n))}function gM(e,n){return{text:e,kind:lw.SymbolDisplayPartKind[n]}}function yM(e){return gM(lw.tokenToString(e),lw.SymbolDisplayPartKind.keyword)}function hM(e){return gM(e,lw.SymbolDisplayPartKind.text)}function vM(e){return gM(e,lw.SymbolDisplayPartKind.linkText)}function bM(e,n){return{text:lw.getTextOfNode(e),kind:lw.SymbolDisplayPartKind[lw.SymbolDisplayPartKind.linkName],target:{fileName:lw.getSourceFileOfNode(n).fileName,textSpan:nM(n)}}}function EM(e){return gM(e,lw.SymbolDisplayPartKind.link)}function TM(){return gM("\n",lw.SymbolDisplayPartKind.lineBreak)}function SM(e){try{return e(_M),_M.displayParts()}finally{_M.clear()}}function xM(e){return 0!=(33554432&e.flags)}function LM(e,n){return void 0===n&&(n=!0),e=e&&AM(e),e&&!n&&NM(e),e}function DM(e,n,t){var r=t(e);return r?lw.setOriginalNode(r,e):r=AM(e,t),r&&!n&&NM(r),r}function AM(e,n){var t,r=n?function(e){return DM(e,!0,n)}:LM;r=lw.visitEachChild(e,r,lw.nullTransformationContext,n?function(e){return e&&IM(e,!0,n)}:function(e){return e&&CM(e)},r);return r===e?(t=lw.isStringLiteral(e)?lw.setOriginalNode(lw.factory.createStringLiteralFromNode(e),e):lw.isNumericLiteral(e)?lw.setOriginalNode(lw.factory.createNumericLiteral(e.text,e.numericLiteralFlags),e):lw.factory.cloneNode(e),lw.setTextRange(t,e)):(r.parent=void 0,r)}function CM(e,n){return void 0===n&&(n=!0),e&&lw.factory.createNodeArray(e.map((function(e){return LM(e,n)})),e.hasTrailingComma)}function IM(e,n,t){return lw.factory.createNodeArray(e.map((function(e){return DM(e,n,t)})),e.hasTrailingComma)}function NM(e){kM(e),RM(e)}function kM(e){OM(e,512,PM)}function RM(e){OM(e,1024,lw.getLastChild)}function OM(e,n,t){lw.addEmitFlags(e,n),e=t(e),e&&OM(e,n,t)}function PM(e){return e.forEachChild((function(e){return e}))}function wM(e,n,t,r,a){lw.forEachLeadingCommentRange(t.text,e.pos,GM(n,t,r,a,lw.addSyntheticLeadingComment))}function MM(e,n,t,r,a){lw.forEachTrailingCommentRange(t.text,e.end,GM(n,t,r,a,lw.addSyntheticTrailingComment))}function FM(e,n,t,r,a){lw.forEachTrailingCommentRange(t.text,e.pos,GM(n,t,r,a,lw.addSyntheticLeadingComment))}function GM(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 BM(e){switch(e){case 36:case 34:case 37:case 35:return!0;default:return!1}}function UM(e,n){return n.getTypeAtLocation(e.parent.parent.expression)}function VM(e){return 172===e||173===e||174===e||164===e||166===e}function jM(e){return 254===e||169===e||167===e||170===e||171===e}function KM(e){return 259===e}function HM(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 WM(e,n){return JM(e,e.fileExists,n)}function zM(e){try{return e()}catch(e){}}function JM(e,n){for(var t=[],r=2;r<arguments.length;r++)t[r-2]=arguments[r];return zM((function(){return n&&n.apply(e,t)}))}function qM(e,n){var t;return n.fileExists?(t=[],lw.forEachAncestorDirectory(lw.getDirectoryPath(e),(function(e){e=lw.combinePaths(e,"package.json");n.fileExists(e)&&(e=XM(e,n))&&t.push(e)})),t):[]}function XM(e,n){if(n.readFile){var t=function(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 lw.Map;for(c in s)l.set(c,s[c]);r[o]=l}}var u=[[1,r.dependencies],[2,r.devDependencies],[8,r.optionalDependencies],[4,r.peerDependencies]];return ed(ed({},r),{parseable:!!t,fileName:e,get:d,has:function(e,n){return!!d(e,n)}})}function d(e,n){void 0===n&&(n=15);for(var t=0,r=u;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 YM(e){return lw.some(e.imports,(function(e){return e=e.text,lw.JsTyping.nodeCoreModules.has(e)}))}function QM(e){return void 0!==e.file&&void 0!==e.start&&void 0!==e.length}function ZM(e){var n=e.getSourceFile();return!(!n.externalModuleIndicator&&!n.commonJsModuleIndicator)&&(lw.isInJSFile(e)||!lw.findAncestor(e,lw.isGlobalScopeAugmentation))}function $M(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,u,d,p,m,_){e!==n&&(i.clear(),n=e);e=1===d&&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:u,moduleFileName:null==u?void 0:u.fileName,exportKind:d,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)||!function(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,u;return n.symbol&&n.moduleSymbol?n:(t=n.id,r=n.exportKind,i=n.targetFlags,o=n.isFromPackageJson,s=n.moduleFileName,u=(l=a.get(t)||rr.emptyArray)[0],l=l[1],u&&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)),u=n.symbol||u||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,[u,l])),{symbol:u,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+"|"+function(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 eF(e,n,t,r){nF(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(),nF(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 nF(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 tF(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=aF(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))&&ed({symbol:e,exportKind:r},a)}function rF(e,n){return!(n.isUndefinedSymbol(e)||n.isUnknownSymbol(e)||rr.isKnownSymbol(e)||rr.isPrivateIdentifierSymbol(e))}function aF(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 iF(e,n){switch(n){case 259:case 255:case 256:case 254:case 224:case 211:case 212:e.throwIfCancellationRequested()}}function oF(e,n,t,r,a){var i=[];return t.forEachChild((function o(s){var c,l,u;s&&ar.textSpanIntersectsWith(a,s.pos,s.getFullWidth())&&(iF(n,s.kind),ar.isIdentifier(s)&&!ar.nodeIsMissing(s)&&r.has(s.escapedText)&&(u=(u=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&&sF(n)?14:void 0:2097152&a?e(r.getAliasedSymbol(n),t,r):2&t?64&a?13:262144&a?15:void 0:void 0}(u,ar.getMeaningFromLocation(s),e))&&(c=s.getStart(t),l=s.getEnd(),u=u,l-=c,ar.Debug.assert(0<l,"Classification had non-positive length of "+l),i.push(c),i.push(l),i.push(u)),s.forEachChild(o))})),{spans:i,endOfLineState:0}}function sF(e){return ar.some(e.declarations,(function(e){return ar.isModuleDeclaration(e)&&1===ar.getModuleInstanceState(e)}))}function cF(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:function(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 lF(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:!function(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),function(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&&u(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;!function(e){e.isNameFirst&&(u(t,e.name.pos-t),c(e.name.pos,e.name.end-e.name.pos,17),t=e.name.end),e.typeExpression&&(u(t,e.typeExpression.pos-t),m(e.typeExpression),t=e.typeExpression.end),e.isNameFirst||(u(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:!function(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 d=i;o=304===(null==(n=d.typeExpression)?void 0:n.kind)&&(null==(n=d.fullName)?void 0:n.end)||(null==(n=d.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==(d=i.typeExpression)?void 0:d.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?u(i.comment.pos,i.comment.end-i.comment.pos):"string"==typeof i.comment&&u(o,i.end-o)}t!==e.end&&u(t,e.end-t)}(i.jsDoc)}else if(2===t&&function(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=(u(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 d=i+l.index+l[1].length;s<d&&(u(s,d-s),s=d),c(s,l[2].length,22),s+=l[2].length,l[3].length&&(u(s,l[3].length),s+=l[3].length),c(s,l[4].length,5),s+=l[4].length,l[5].length&&(u(s,l[5].length),s+=l[5].length),c(s,l[6].length,24),s+=l[6].length}return(i+=a[4].length)>s&&u(s,i-s),a[5]&&(c(i,a[5].length,10),i+=a[5].length),a=e+t,i<a&&u(i,a-i),1}}(r,a))return;u(r,a)}(e,r,t,s),i.setTextPos(a);continue;case 7:var l=n.text,d=l.charCodeAt(t);if(60===d||62===d)c(t,s,1);else{ar.Debug.assert(124===d||61===d),_=g=d=f=void 0;var _,f=l,g=(d=t,a);for(_=d;_<g&&!ar.isLineBreak(f.charCodeAt(_));_++);for(c(d,_-d,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);h&&c(y,v-y,h)}}break;case 6:break;default:ar.Debug.assertNever(r)}}}function u(e,n){c(e,n,1)}function d(e){var n,t,r;return ar.isJSDoc(e)||ar.nodeIsMissing(e)||(r=function(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),t=e.end-n,ar.Debug.assert(0<=t),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())){iF(e,t.kind);for(var i=0,o=t.getChildren(n);i<o.length;i++){var s=o[i];d(s)||m(s)}}}}function uF(e,n,t,r){return{spans:function(e,n,t,r){var a=[];return e&&n&&function(e,n,t,r,a){var i=e.getTypeChecker(),o=!1;!function s(c){switch(c.kind){case 259:case 255:case 256:case 254:case 224:case 211:case 212:a.throwIfCancellationRequested()}var l,u,d,p,m,_,f;c&&or.textSpanIntersectsWith(t,c.pos,c.getFullWidth())&&0!==c.getFullWidth()&&(l=o,(or.isJsxElement(c)||or.isJsxSelfClosingElement(c))&&(o=!0),or.isJsxExpression(c)&&(o=!1),!or.isIdentifier(c)||o||function(e){return(e=e.parent)&&(or.isImportClause(e)||or.isImportSpecifier(e)||or.isNamespaceImport(e))}(c)||or.isInfinityOrNaNString(c.escapedText)||(u=i.getSymbolAtLocation(c))&&void 0!==(d=function(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)?dF(n):n)&&sr.get(n.kind)}(u=2097152&u.flags?i.getAliasedSymbol(u):u,or.getMeaningFromLocation(c)))&&(p=0,c.parent&&(or.isBindingElement(c.parent)||sr.get(c.parent.kind)===d)&&c.parent.name===c&&(p=1),6===d&&pF(c)&&(d=9),d=function(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}))||function(e){for(;pF(e);)e=e.parent;return or.isCallExpression(e.parent)&&e.parent.expression===e}(n))return 9===t?11:10}}return t}(i,c,d),(m=u.valueDeclaration)?(_=or.getCombinedModifierFlags(m),f=or.getCombinedNodeFlags(m),32&_&&(p|=2),256&_&&(p|=4),0!==d&&2!==d&&(64&_||2&f||8&u.getFlags())&&(p|=8),7!==d&&10!==d||!function(e,n){return or.isBindingElement(e)&&(e=dF(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,n)||(p|=32),e.isSourceFileDefaultLibrary(m.getSourceFile())&&(p|=16)):u.declarations&&u.declarations.some((function(n){return e.isSourceFileDefaultLibrary(n.getSourceFile())}))&&(p|=16),r(c,d,p)),or.forEachChild(c,s),o=l)}(n)}(e,n,t,(function(e,t,r){a.push(e.getStart(n),e.getWidth(n),(t+1<<8)+r)}),r),a}(e,t,r,n),endOfLineState:0}}function dF(e){for(;;){if(!or.isBindingElement(e.parent.parent))return e.parent.parent;e=e.parent.parent}}function pF(e){return or.isQualifiedName(e.parent)&&e.parent.right===e||or.isPropertyAccessExpression(e.parent)&&e.parent.name===e}function mF(e){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!0,entries:e.map((function(e){var n=e.name,t=e.kind,r=e.span;return{name:n,kind:t,kindModifiers:_F(e.extension),sortText:lr.SortText.LocationPriority,replacementSpan:r}}))}}function _F(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 fF(e,n,t,r,a,i,o){var s,c,l,u,d,p,m,_,f=gF(n.parent);switch(f.kind){case 194:var g,y=gF(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:hF(r.getTypeArgumentConstraint(v)),isNewIdentifier:!1}:void 0;case 192:v=y.indexType;var b=y.objectType;return cr.rangeContainsPosition(v,t)?yF(r.getTypeFromTypeNode(b)):void 0;case 198:return{kind:0,paths:TF(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:hF(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?(m=r,T=f.parent,(s=m.getContextualType(T))?(E=m.getContextualType(T,4),{kind:1,symbols:lr.getPropertiesForObjectExpression(s,E,T,m),hasIndexSignature:cr.hasIndexSignature(s)}):void 0):S();case 205:var E=f.expression,T=f.argumentExpression;return n===cr.skipParentheses(T)?yF(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,u=!1,d=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),u=u||!!(4&e.flags),hF(e,d)})),isNewIdentifier:u}):S();case 264:case 270:case 275:return{kind:0,paths:TF(e,n,a,i,r,o)};default:return S()}function S(){return{kind:2,types:hF(cr.getContextualTypeFromParent(n,r)),isNewIdentifier:!1}}}function gF(e){switch(e.kind){case 189:return cr.walkUpParenthesizedTypes(e);case 210:return cr.walkUpParenthesizedExpressions(e);default:return e}}function yF(e){return e&&{kind:1,symbols:cr.filter(e.getApparentProperties(),(function(e){return!(e.valueDeclaration&&cr.isPrivateIdentifierClassElementDeclaration(e.valueDeclaration))})),hasIndexSignature:cr.hasIndexSignature(e)}}function hF(e,n){return void 0===n&&(n=new cr.Map),e?(e=cr.skipConstraint(e)).isUnion()?cr.flatMap(e.types,(function(e){return hF(e,n)})):!e.isStringLiteral()||1024&e.flags||!cr.addToSeen(n,e.value)?cr.emptyArray:[e]:cr.emptyArray}function vF(e,n,t){return{name:e,kind:n,extension:t}}function bF(e){return vF(e,"directory",void 0)}function EF(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 TF(e,n,t,r,a,i){return EF(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),function(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))?function(e,n,t,r,a,i){return i="js"===i.importModuleSpecifierEnding?2:0,i=SF(t,i),t.rootDirs?function(e,n,t,r,a,i,o){a=a.project||i.getCurrentDirectory();var s=!(i.useCaseSensitiveFileNames&&i.useCaseSensitiveFileNames());e=function(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($u($u([],e.map((function(e){return cr.combinePaths(e,a)})),!0),[t],!1),cr.equateStringsCaseSensitive,cr.compareStringsCaseSensitive)}(e,a,t,s);return cr.flatMap(e,(function(e){return xF(n,e,r,i,o)}))}(t.rootDirs,e,n,i,t,r,a):xF(e,n,i,r,a)}(n,o,t,r,e,i):function(e,n,t,r,a){var i,o=t.baseUrl,s=t.paths,c=[],l=SF(t);o&&(i=t.project||r.getCurrentDirectory(),i=cr.normalizePath(cr.combinePaths(i,o)),xF(e,i,l,r,void 0,c),s)&&LF(c,e,i,l.extensions,s,r);o=DF(e);for(var u=0,d=function(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);u<d.length;u++){var p=d[u];c.push(vF(p,"external module name",void 0))}if(AF(r,t,n,o,l,c),cr.getEmitModuleResolutionKind(t)===cr.ModuleResolutionKind.NodeJs){var m=!1;if(void 0===o)for(var _=0,f=function(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=dr;s<c.length;s++){var l=c[s],u=o[l];if(u)for(var d in u)u.hasOwnProperty(d)&&!cr.startsWith(d,"@types/")&&t.push(d)}return t}(r,n);_<f.length;_++)!function(e){c.some((function(n){return n.name===e}))||(m=!0,c.push(vF(e,"external module name",void 0)))}(f[_]);m||cr.forEachAncestorDirectory(n,(function(n){n=cr.combinePaths(n,"node_modules"),cr.tryDirectoryExists(r,n)&&xF(e,n,l,r,void 0,c)}))}return c}(n,o,t,r,a)));var o}function SF(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 xF(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 u=new cr.Map,d=0,p=l;d<p.length;d++){var m,_,f=p[d];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),_),u.set(m,_)):(m=cr.getBaseFileName(f),u.set(m,cr.tryGetExtensionFromPath(f))):(m=cr.removeFileExtension(cr.getBaseFileName(f)),u.set(m,cr.tryGetExtensionFromPath(f))))}u.forEach((function(e,n){i.push(vF(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(bF(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)&&LF(i,t,e,o,l,r)}return i}function LF(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=function(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,u,d=s,p=r,m=a,_=i;if(_.readDirectory&&void 0!==(e=cr.tryParsePattern(e))&&!cr.isString(e))return n=cr.resolvePath(e.prefix),u=cr.hasTrailingDirectorySeparator(e.prefix)?n:cr.getDirectoryPath(n),n=cr.hasTrailingDirectorySeparator(e.prefix)?"":cr.getBaseFileName(n),t=CF(d),d=t?cr.hasTrailingDirectorySeparator(d)?d:cr.getDirectoryPath(d):void 0,d=t?cr.combinePaths(u,n+d):u,o=cr.normalizePath(e.suffix),c=cr.normalizePath(cr.combinePaths(p,d)),l=t?c:cr.ensureTrailingDirectorySeparator(c)+n,u=o?"**/*":"./*",e=cr.mapDefined(cr.tryReadDirectory(_,c,m,void 0,[u]),(function(e){var n=cr.tryGetExtensionFromPath(e);e=f(e);return void 0===e?void 0:vF(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:bF(e)})),$u($u([],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)?[bF(e)]:cr.emptyArray}}(o,s,n,t,r,i);c<l.length;c++){var u=l[c];!function(n,t,r){e.some((function(e){return e.name===n}))||e.push(vF(n,t,r))}(u.name,u.kind,u.extension)}}}function DF(e){return CF(e)?cr.hasTrailingDirectorySeparator(e)?e:cr.getDirectoryPath(e):void 0}function AF(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,u=cr.findPackageJsons(t,e);l<u.length;l++){var d=u[l];p(cr.combinePaths(cr.getDirectoryPath(d),"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],u=cr.unmangleScopedPackageName(l);n.types&&!cr.contains(n.types,u)||(void 0===r?o.has(u)||(i.push(vF(u,"external module name",void 0)),o.set(u,!0)):(l=cr.combinePaths(t,l),void 0!==(u=cr.tryRemoveDirectoryPrefix(r,u,cr.hostGetCanonicalFileName(e)))&&xF(u,l,a,e,void 0,i)))}}}function CF(e){return cr.stringContains(e,cr.directorySeparator)}function IF(e){return!!(e&&4&e.kind)}function NF(e){return!(!e||32!==e.kind)}function kF(e,n,t,r,a,i,o){var s,c=pr.timestamp(),l=!1,u=0,d=0,p=0,m=0,_=(o=o({tryResolve:function(e,o){if(o)return(o=pr.codefix.getModuleSpecifierForBestExportInfo(e,r,t,n,a))&&u++,o;o=i||a.allowIncompleteCompletions&&d<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),d+=(null==c?void 0:c.computedWithoutCacheCount)||0,p+=e.length-d,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 "+d+" module specifiers, plus "+u+" 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 RF(e){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:e}}function OF(e,n){return pr.isSourceFileJS(e)&&!pr.isCheckJsEnabledForFile(e,n)}function PF(e,n,t){return"object"==typeof t?pr.pseudoBigIntToString(t)+"n":pr.isString(t)?pr.quote(e,n,t):JSON.stringify(t)}function wF(e,n,t,r,a,i,o,s,c,l,u,d,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?"?.":"")+"["+FF(a,f,o)+"]":"this"+(E?"?.":".")+o;else if((T||E)&&u){g=T?s?"["+FF(a,f,o)+"]":"["+o+"]":o,(E||u.questionDotToken)&&(g="?."+g);T=pr.findChildOfKind(u,24,a)||pr.findChildOfKind(u,28,a);if(!T)return;var S=(pr.startsWith(o,u.name.text)?u.name:T).end;t=pr.createTextSpanFromBounds(T.getStart(a),S)}if(d&&(g="{"+(g=void 0===g?o:g)+"}","boolean"!=typeof d)&&(t=pr.createTextSpanFromNode(d,a)),c&&8&c.kind&&u&&(void 0===g&&(g=o),T="",(S=pr.findPrecedingToken(u.pos,a))&&pr.positionIsASICandidate(S.end,S.parent,a)&&(T=";"),T+="(await "+u.expression.getText()+")",g=s?""+T+g:T+(E?"?.":".")+g,t=pr.createTextSpanFromBounds(u.getStart(a),u.end)),NF(c)&&(v=[pr.textPart(c.moduleSpecifier)],p)&&(g=(d=function(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":""),u=(t=pr.codefix.getImportKind(o,n,a,!0),r?";":"");switch(t){case 3:return{replacementSpan:s,insertText:"import "+e+l+" = require("+c+")"+u};case 1:return{replacementSpan:s,insertText:"import "+e+l+" from "+c+u};case 2:return{replacementSpan:s,insertText:"import * as "+e+" from "+c+u};case 0:return{replacementSpan:s,insertText:"import { "+e+l+" } from "+c+u}}}(o,p,c,m,_,f)).insertText,t=d.replacementSpan,h=!!f.includeCompletionsWithSnippetText||void 0),void 0===g||f.includeCompletionsWithInsertText)return(IF(c)||NF(c))&&(y=MF(c),b=!p),{name:o,kind:pr.SymbolDisplay.getSymbolKind(i,e,r),kindModifiers:pr.SymbolDisplay.getSymbolModifiers(i,e),sortText:n,source:GF(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:(IF(E=c)||NF(E))&&!!E.isFromPackageJson||void 0,isImportStatementCompletion:!!p||void 0,data:y}}function MF(e){return{exportName:e.exportName,fileName:e.fileName,ambientModuleName:e.fileName?void 0:pr.stripQuotes(e.moduleSymbol.name),isPackageJsonImport:!!e.isFromPackageJson||void 0,moduleSpecifier:NF(e)?e.moduleSpecifier:void 0}}function FF(e,n,t){return/^\d+$/.test(t)?t:pr.quote(e,n,t)}function GF(e){return IF(e)?pr.stripQuotes(e.moduleSymbol.name):NF(e)?e.moduleSpecifier:1===(null==e?void 0:e.kind)?fr.ThisProperty:void 0}function BF(e,n,t,r,a,i,o,s,c,l,u,d,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=qF(D,o,A,c,!!m);!C||T.get(C.name)||1===c&&h&&!function(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&&!u.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(d)return oG(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=wF(D,(function(e,n){return 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,u,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 UF(e,n,t,r,a,i,o){if(a.data){var s=JF(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,u,d,p,m,_=e.getCompilerOptions(),f=WF(e,n,t,OF(t,_),r,{includeCompletionsForModuleExports:!0,includeCompletionsWithInsertText:!0},a,i);return f?0!==f.kind?{type:"request",request:f}:(s=f.symbols,e=f.literals,c=f.location,l=f.completionKind,u=f.symbolToOriginInfoMap,d=f.previousToken,p=f.isJsxInitializer,m=f.isTypeOnlyLocation,void 0!==(n=pr.find(e,(function(e){return PF(t,o,e)===a.name})))?{type:"literal",literal:n}:pr.firstDefined(s,(function(e,n){n=u[n];var t=qF(e,_.target,n,l,f.isJsxIdentifierExpected);return t&&t.name===a.name&&GF(n)===a.source?{type:"symbol",symbol:e,location:c,origin:n,previousToken:d,isJsxInitializer:p,isTypeOnlyLocation:m}:void 0}))||{type:"none"}):{type:"none"}}function VF(e,n,t){return KF(e,"",n,[pr.displayPart(e,t)])}function jF(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 KF(e.name,pr.SymbolDisplay.getSymbolModifiers(n,e),l,s,c,a,i,o)}function KF(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 HF(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:HF(e.parent,n,t))}function WF(e,n,t,r,a,i,o,s,c){var l=e.getTypeChecker(),u=pr.timestamp(),d=pr.getTokenAtPosition(t,a),p=(n("getCompletionData: Get current token: "+(pr.timestamp()-u)),u=pr.timestamp(),pr.isInComment(t,a,d)),m=(n("getCompletionData: Is inside comment: "+(pr.timestamp()-u)),!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=function(e,n){return e=pr.findAncestor(e,pr.isJSDoc),e&&e.tags&&(pr.rangeContainsPosition(e,n)?pr.findLast(e.tags,(function(e){return e.pos<n})):void 0)}(d,a),p){if(p.tagName.pos<=a&&a<=p.tagName.end)return{kind:1};if(!(m=!function(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||(d=pr.getTokenAtPosition(t,a))&&(pr.isDeclarationName(d)||342===d.parent.kind&&d.parent.name===d)?m:Q(p.typeExpression))&&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.")}u=pr.timestamp(),p=zF(a,t);var f,g,y=p.previousToken,h=p.contextToken,v=(n("getCompletionData: Get previous token: "+(pr.timestamp()-u)),d),b=!1,E=!1,T=!1,S=!1,x=!1,L=!1,D=pr.getTouchingPropertyName(t,a);if(h){if(p=aG(h),154===p)return{kind:4,keywords:[154]};if(!(g=p&&i.includeCompletionsForImportStatements&&i.includeCompletionsWithInsertText?p:g)&&(u=h,p=pr.timestamp(),u=function(e){return(pr.isRegularExpressionLiteral(e)||pr.isStringTextContainingNode(e))&&(pr.rangeContainsPositionExclusive(pr.createTextRangeFromSpan(pr.createTextSpanFromNode(e)),a)||a===e.end&&(!!e.isUnterminated||pr.isRegularExpressionLiteral(e)))}(u)||function(e){var n=e.parent,r=n.kind;switch(e.kind){case 27:return 252===r||function(e){return 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!tG(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(QF($F(e))&&tG(e))return!1;if(W(e)&&(!pr.isIdentifier(e)||pr.isParameterPropertyModifier($F(e))||Q(e)))return!1;switch($F(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))}(u)||function(e){return 8===e.kind&&"."===(e=e.getFullText()).charAt(e.length-1)}(u)||function(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}(u)||pr.isBigIntLiteral(u),n("getCompletionsAtPosition: isCompletionListBlocker: "+(pr.timestamp()-p)),u))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),d.parent===D)switch(d.kind){case 31:276!==d.parent.kind&&278!==d.parent.kind||(D=d);break;case 43:277===d.parent.kind&&(D=d)}switch(A.kind){case 279:43===h.kind&&(S=!0,D=h);break;case 219:if(!rG(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===d.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||!function(e){return 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)||function(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)!function(){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),u=(c&&(I=!0),l.getSymbolAtLocation(v));if(u&&1920&(u=pr.skipAlias(u,l)).flags){for(var d=l.getExportsOfModule(u),p=(pr.Debug.assertEachIsDefined(d,"getExportsOfModule() should all be defined"),function(e){return l.isValidPropertyAccess(a?v:v.parent,e.name)}),_=function(e){return oG(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=d;g<y.length;g++){var T=y[g];f(T)&&O.push(T)}return!o&&u.declarations&&u.declarations.some((function(e){return 300!==e.kind&&259!==e.kind&&258!==e.kind}))&&(e=l.getTypeOfSymbolAtLocation(u,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)u=h.parent.parent.openingElement.tagName,u=l.getSymbolAtLocation(u),u&&(O=[u]),C=1,R=0;else if(!K())return;n("getCompletionData: Semantic work: "+(pr.timestamp()-p));var B,U;u=y&&function(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(u&&(u.isUnion()?u.types:[u]),(function(e){return e.isLiteral()?e.value:void 0})),u=y&&u&&(B=y,p=u,U=l,pr.firstDefined(p&&(p.isUnion()?p.types:[p]),(function(e){return e=e&&e.symbol,e&&424&e.flags&&!pr.isAbstractConstructorSymbol(e)?HF(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:u,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(nG(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 u=l.getPromisedTypeOfPromise(e);if(u)for(var d=0,p=u.getApparentProperties();d<p.length;d++)c=p[d],l.isValidPropertyAccessForCompletions(a,u,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:u(8)}:t&&(P[O.length]={kind:16}))}function u(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))&&HF(o,h,l))&&pr.addToSeen(M,pr.getSymbolId(o))?(r=O.length,O.push(o),(a=o.parent)&&pr.isExternalModuleSymbol(a)?(o={kind:u(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:u(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=function(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=nG(r,l),s=nG(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)||function(){var e=function(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=function(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=eG(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,function(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)||function(){var e=!h||18!==h.kind&&27!==h.kind?void 0:pr.tryCast(h.parent,pr.isNamedImportsOrExports);if(!e)return 0;var n=(267===e.kind?e.parent:e).parent.moduleSpecifier;if(!n)return 267===e.kind?2:0;if(n=l.getSymbolAtLocation(n),!n)return 2;C=3,I=!1;n=l.getExportsAndPropertiesOfModule(n);var 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)||(function(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)||function(){var e=function(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(tG(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 tG(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 tG(n)?(i=pr.isClassLike(n.parent.parent)?QF:YF)(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,function(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=function(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,function(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}(eG(s,e,r.attributes,l),r.attributes.properties)),X(),I=!(C=3),1):0)||(function(){R=function(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=function(){if(h){var e=h.parent.kind;switch($F(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=function(e,n,t){for(var r=e;r&&!pr.positionBelongsToNode(r,n,t);)r=r.parent;return r}(h,e,t)||t,_=function(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&&!function(e,n,t){var r=t.resolveName("self",void 0,111551,!1);return r&&t.getTypeOfSymbolAtLocation(r,n)===e?1:(r=t.resolveName("global",void 0,111551,!1),r&&t.getTypeOfSymbolAtLocation(r,n)===e?1:(r=t.resolveName("globalThis",void 0,111551,!1),r&&t.getTypeOfSymbolAtLocation(r,n)===e?1:void 0))}(n,t,l)))for(var c=0,u=nG(n,l);c<u.length;c++)s=u[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,u,d;function p(n){var a=pr.tryCast(n.moduleSymbol.valueDeclaration,pr.isSourceFile);return a?pr.isImportableFile(n.isFromPackageJson?u:e,t,a,i,d,G(n.isFromPackageJson),r):(a=pr.stripQuotes(n.moduleSymbol.name),(!pr.JsTyping.nodeCoreModules.has(a)||pr.startsWith(a,"node:")===pr.shouldUseUriStyleNodeCoreModules(t,e))&&(!d||d.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),u=null==(n=s.getPackageJsonAutoImportProvider)?void 0:n.call(s),d=o?void 0:pr.createPackageJsonImportFilter(t,i,s),kF("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&&sG(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 zF(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 JF(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 qF(e,n,t,r,a){var i,o=IF(i=t)||NF(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 XF(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 ZF(t)||134===t||140===t||150===t||141===t||pr.isTypeKeyword(t)&&151!==t;case 5:return ZF(t);case 2:return QF(t);case 3:return YF(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 YF(e){return 143===e}function QF(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 ZF(e){return 130===e||131===e||127===e||!pr.isContextualKeyword(e)&&!QF(e)}function $F(e){return pr.isIdentifier(e)?e.originalKeywordKind||0:e.kind}function eG(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 nG(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 tG(e){return e.parent&&pr.isClassOrTypeElement(e.parent)&&pr.isObjectTypeDeclaration(e.parent.parent)}function rG(e){return e=e.left,pr.nodeIsMissing(e)}function aG(e){var n=function(){var n=e.parent;if(pr.isImportEqualsDeclaration(n))return iG(n.moduleReference)?n:void 0;if(pr.isNamedImports(n)||pr.isNamespaceImport(n)){if(iG(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 iG(n.moduleSpecifier)?n:void 0}}();return 154===n||n&&pr.rangeIsOnSingleLine(n,n.getSourceFile())?n:void 0}function iG(e){return pr.nodeIsMissing(e)||null==(e=pr.tryCast(pr.isExternalModuleReference(e)?e.expression:e,pr.isStringLiteralLike))||!e.text}function oG(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 oG(e,n,t)}))}function sG(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===function(e){return 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 cG(e,n){return{fileName:n.fileName,textSpan:hr.createTextSpanFromNode(e,n),kind:"none"}}function lG(e){return hr.isThrowStatement(e)?[e]:hr.isTryStatement(e)?hr.concatenate(e.catchClause?lG(e.catchClause):e.tryBlock&&lG(e.tryBlock),e.finallyBlock&&lG(e.finallyBlock)):hr.isFunctionLike(e)?void 0:dG(e,lG)}function uG(e){return hr.isBreakOrContinueStatement(e)?[e]:hr.isFunctionLike(e)?void 0:dG(e,uG)}function dG(e,n){var t=[];return e.forEachChild((function(e){e=n(e),void 0!==e&&t.push.apply(t,hr.toArray(e))})),t}function pG(e,n){return n=mG(n),n&&n===e}function mG(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 _G(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 fG(e){var n=[];if(_G(n,e.getFirstToken(),97,115,90)&&238===e.kind)for(var t=e.getChildren(),r=t.length-1;0<=r&&!_G(n,t[r],115);r--);return hr.forEach(uG(e.statement),(function(t){pG(e,t)&&_G(n,t.getFirstToken(),81,86)})),n}function gG(e){var n=mG(e);if(n)switch(n.kind){case 240:case 241:case 242:case 238:case 239:return fG(n);case 247:return yG(n)}}function yG(e){var n=[];return _G(n,e.getFirstToken(),107),hr.forEach(e.caseBlock.clauses,(function(t){_G(n,t.getFirstToken(),82,88),hr.forEach(uG(t),(function(t){pG(e,t)&&_G(n,t.getFirstToken(),81)}))})),n}function hG(e,n){var t=[];return _G(t,e.getFirstToken(),111),e.catchClause&&_G(t,e.catchClause.getFirstToken(),83),e.finallyBlock&&_G(t,hr.findChildOfKind(e,96,n),96),t}function vG(e,n){var t;e=function(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(lG(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 bG(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(lG(e.body),(function(e){t.push(hr.findChildOfKind(e,109,n))})),t}function EG(e){var n;e=hr.getContainingFunction(e);if(e)return n=[],e.modifiers&&e.modifiers.forEach((function(e){_G(n,e,130)})),hr.forEachChild(e,(function(e){TG(e,(function(e){hr.isAwaitExpression(e)&&_G(n,e.getFirstToken(),131)}))})),n}function TG(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 TG(e,n)}))}function SG(e){return e.sourceFile}function xG(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=SG(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,u){a=6===(u=vr.ensureScriptKind(e,u))?100:a.target||1;var d,p=vr.getOrUpdate(r,i,(function(){return new vr.Map})),m=p.get(n),_=m&&s(m,u);return!_&&t&&(d=t.getDocument(i,n))&&(vr.Debug.assert(l),_={sourceFile:d,languageServiceRefCount:0},f()),_?(_.sourceFile.version!==c&&(_.sourceFile=vr.updateLanguageServiceSourceFile(_.sourceFile,o,c,o.getChangeRange(_.sourceFile.scriptSnapshot)),t)&&t.setDocument(i,n,_.sourceFile),l&&_.languageServiceRefCount++):(d=vr.createLanguageServiceSourceFile(e,o,a,c,!1,u),t&&t.setDocument(i,n,d),_={sourceFile:d,languageServiceRefCount:1},f()),vr.Debug.assert(0!==_.languageServiceRefCount),_.sourceFile;function f(){var e;m?SG(m)?((e=new vr.Map).set(m.sourceFile.scriptKind,m),e.set(u,_),p.set(n,e)):m.set(u,_):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&&(SG(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,LG(t),r,o,s)},acquireDocumentWithKey:i,updateDocument:function(e,t,r,i,s){return o(e,vr.toPath(e,n,a),t,LG(t),r,i,s)},updateDocumentWithKey:o,releaseDocument:function(e,t,r){return l(vr.toPath(e,n,a),LG(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){SG(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:LG}}function LG(e){return vr.sourceFileAffectingCompilerOptions.map((function(n){return vr.getCompilerOptionValue(e,n)})).join("|")}function DG(e,n){return br.forEach((300===e.kind?e:e.body).statements,(function(e){return n(e)||kG(e)&&br.forEach(e.body&&e.body.statements,n)}))}function AG(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 DG(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;RG(t=e)&&n(t,t.moduleReference.expression)}}))}function CG(e,n,t){if(e=e.parent,e)return t=t.getMergedSymbol(e),br.isExternalModuleSymbol(t)?{exportingModuleSymbol:t,exportKind:n}:void 0}function IG(e,n){return n.getMergedSymbol(NG(e).symbol)}function NG(e){return 206===e.kind?e.getSourceFile():300===(e=e.parent).kind?e:(br.Debug.assert(260===e.kind),br.cast(e.parent,kG))}function kG(e){return 259===e.kind&&10===e.name.kind}function RG(e){return 275===e.moduleReference.kind&&10===e.moduleReference.expression.kind}function OG(e,n){return{kind:n=void 0===n?1:n,node:e.name||e,context:function(e){if(Er.isDeclaration(e))return wG(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 wG(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)?wG(n):n}return n=Er.findAncestor(e,Er.isComputedPropertyName),n?wG(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 wG(e.parent)}}(e)}}function PG(e){return e&&void 0===e.kind}function wG(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)?wG(e.parent.parent):e.parent:e;case 201:return wG(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)?wG(Er.findAncestor(e.parent,(function(e){return Er.isBinaryExpression(e)||Er.isForInOrOfStatement(e)}))):e;default:return e}}function MG(e,n,t){return!t||(t=PG(t)?HG(t.start,n,t.end):HG(t,n)).start===e.start&&t.length===e.length?void 0:{contextSpan:t}}function FG(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(OG(e))})),i):106===r.kind||Er.isSuperProperty(r.parent)?(o=o.getSymbolAtLocation(r)).valueDeclaration&&[OG(o.valueDeclaration)]:GG(a,r,e,t,n,{implementations:!0,use:1})}function GG(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})))),BG(Sr.getReferencedSymbolsForNode(e,n,t,r,a,i,o))}function BG(e){return e&&Er.flatMap(e,(function(e){return e.references}))}function UG(e){var n=e.getSourceFile();return{sourceFile:n,textSpan:HG(Er.isComputedPropertyName(e)?e.expression:e,n)}}function VG(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 jG(e){var n,t=KG(e);return 0===e.kind?ed(ed({},t),{isWriteAccess:!1,isDefinition:!1}):(n=e.kind,e=e.node,ed(ed({},t),{isWriteAccess:zG(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 KG(e){var n,t;return 0===e.kind?{textSpan:e.textSpan,fileName:e.fileName}:(n=e.node.getSourceFile(),t=HG(e.node,n),ed({textSpan:t,fileName:n.fileName},MG(t,n,e.context)))}function HG(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 WG(e){return 0===e.kind?e.textSpan:HG(e.node,e.node.getSourceFile())}function zG(e){var n=Er.getDeclarationFromName(e);return!!n&&function(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 JG(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 qG(e,n,t){if(e.parent&&Er.isNamespaceExportDeclaration(e.parent)&&(e=t.getAliasedSymbol(n),n=t.getMergedSymbol(e),e!==n))return n}function XG(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=ZG(n,e,!!o,t,i),o&&i.has(c.fileName)?(c=n.getTypeChecker(),YG(n,s,eB(e=Er.skipAlias(o,c),void 0,t,i,c,r,a))):s}function YG(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++)!function(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=QG(e,n),a=QG(e,t);return r!==a?Er.compareValues(r,a):(r=WG(n),a=WG(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 QG(e,n){return n=0===n.kind?e.getSourceFile(n.fileName):n.node.getSourceFile(),e.getSourceFiles().indexOf(n)}function ZG(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:OG(e.literal)}));if(n.declarations)for(var o=0,s=n.declarations;o<s.length;o++)switch((u=s[o]).kind){case 300:break;case 259:a.has(u.getSourceFile().fileName)&&i.push(OG(u.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 u,d=(u=l[c]).getSourceFile();a.has(d.fileName)&&(d=Er.isBinaryExpression(u)&&Er.isPropertyAccessExpression(u.left)?u.left.expression:Er.isExportAssignment(u)?Er.Debug.checkDefined(Er.findChildOfKind(u,93,d)):Er.getNameOfDeclaration(u)||u,i.push(OG(d)))}return i.length?[{definition:{type:0,symbol:n},references:i}]:Er.emptyArray}function $G(e){return 143===e.kind&&Er.isTypeOperatorNode(e.parent)&&143===e.parent.operator}function eB(e,n,t,r,a,i,o){var s,c,l,u=n&&function(e,n,t,r){var a=n.parent;return Er.isExportSpecifier(a)&&r?_B(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,!SB(o))||e,d=n?bB(n,u):7,p=[];t=new xr(t,r,n?function(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,d,o,p),r=SB(o)&&u.declarations?Er.find(u.declarations,Er.isExportSpecifier):void 0;return r?mB(r.name,u,r,t.createSearch(n,e,void 0),t,!0,!0):n&&88===n.kind&&"default"===u.escapedName&&u.parent?(fB(n,u,t),rB(n,u,{exportingModuleSymbol:u.parent,exportKind:1},t)):(r=t.createSearch(n,u,void 0,{allSearchSymbols:n?(s=u,i=2===o.use,d=!!o.providePrefixAndSuffixTextForRename,c=!!o.implementations,l=[],hB(s,n,a,i,!(i&&d),(function(e,n,t){t&&vB(s)!==vB(t)&&(t=void 0),l.push(t||n||e)}),(function(){return!c})),l):[u]}),nB(u,t,r)),p}function nB(e,n,t){if(e=function(e){var n=e.declarations,t=e.flags,r=e.parent,a=e.valueDeclaration;if(a&&(211===a.kind||224===a.kind))return a;if(n){if(8196&t)return(a=Er.find(n,(function(e){return Er.hasEffectiveModifier(e,8)||Er.isPrivateIdentifierClassElementDeclaration(e)})))?Er.getAncestor(a,255):void 0;if(!n.some(Er.isObjectBindingElementWithoutPropertyName)){var i;t=r&&!(262144&e.flags);if(!t||Er.isExternalModuleSymbol(r)&&!r.globalExports){for(var o=0,s=n;o<s.length;o++){var c=s[o];c=Er.getContainerNode(c);if(i&&i!==c)return;if(!c||300===c.kind&&!Er.isExternalOrCommonJsModule(c))return;if(i=c,Er.isFunctionExpression(i))for(var l=void 0;l=Er.getNextJSDocCommentLocation(i);)i=l}return t?i.getSourceFile():i}}}}(e),e)dB(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(),iB(i,t,n)}}function tB(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 rB(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),u=0,d=c;u<d.length;u++){var p=d[u];!pB(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++)iB(v[h],y,r)}}function aB(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 iB(e,n,t){void 0!==Er.getNameTable(e).get(n.escapedText)&&uB(e,n,t)}function oB(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=sB(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)&&_B(c,l,c.parent,n)===i)&&(l=r(c),l))return l}}}function sB(e,n,t){return cB(e,n,t=void 0===t?e:t).map((function(n){return Er.getTouchingPropertyName(e,n)}))}function cB(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 lB(e,n){var t=e.getSourceFile(),r=n.text;t=Er.mapDefined(sB(t,r,e),(function(e){return e===n||Er.isJumpStatementTarget(e)&&Er.getTargetLabel(e,r)===n?OG(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(),dB(e,e,n,t,r)}function dB(e,n,t,r,a){if(r.markSearchedSymbols(n,t.allSearchSymbols))for(var i=0,o=cB(n,t.text,e);i<o.length;i++){var s=o[i],c=(g=f=_=m=p=d=u=l=c=void 0,n),l=s,u=t,d=r,p=a,m=Er.getTouchingPropertyName(c,l);if(function(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,u.text)){if(pB(m,d)){var _=d.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),mB(m,_,f,u,d,p);else{var g=function(e,n,t,r){var a=r.checker;return hB(n,t,a,!1,2!==r.options.use||!!r.options.providePrefixAndSuffixTextForRename,(function(t,r,a,i){return a&&vB(n)!==vB(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)}))}))}(u,_,m,d);if(g){switch(d.specialSearchKind){case 0:p&&fB(m,g,d);break;case 1:!function(e,n,t,r){function a(){return r.referenceAdder(t.symbol)}Er.isNewExpressionTarget(e)&&fB(e,t.symbol,r),Er.isClassLike(e.parent)?(Er.Debug.assert(88===e.kind||e.parent.name===e),function(e,n,t){var r=gB(e);if(r&&r.declarations)for(var a=0,i=r.declarations;a<i.length;a++){var o=i[a],s=Er.findChildOfKind(o,133,n);Er.Debug.assert(169===o.kind&&!!s),t(s)}e.exports&&e.exports.forEach((function(e){e=e.valueDeclaration;e&&167===e.kind&&(e=e.body)&&TB(e,108,(function(e){Er.isNewExpressionTarget(e)&&t(e)}))}))}(t.symbol,n,a())):(n=function(e){return Er.tryGetClassExtendingExpressionWithTypeArguments(Er.climbPastPropertyAccess(e).parent)}(e))&&(function(e,n){if(e=gB(e.symbol),e&&e.declarations)for(var t=0,r=e.declarations;t<r.length;t++){var a=r[t];a=(Er.Debug.assert(169===a.kind),a.body);a&&TB(a,106,(function(e){Er.isCallExpressionTarget(e)&&n(e)}))}}(n,a()),function(e,n){var t;!function(e){return gB(e.symbol)}(e)&&(e=e.symbol,t=n.createSearch(void 0,e,void 0),nB(e,n,t))}(n,r))}(m,c,u,d);break;case 2:!function(e,n,t){fB(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,u,d);break;default:Er.Debug.assertNever(d.specialSearchKind)}_=Er.isInJSFile(m)&&201===m.parent.kind&&Er.isRequireVariableDeclaration(m.parent)?m.parent.symbol:_,function(e,n,t,r){n=Tr.getImportOrExportSymbol(e,n,r.checker,1===t.comingFrom),n&&(t=n.symbol,0===n.kind?SB(r.options)||aB(t,r):rB(e,t,n.exportInfo,r))}(m,_,u,d)}else!function(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)||fB(e,a,t)}(_,u,d)}}}}else!d.options.implementations&&(d.options.findInStrings&&Er.isInString(c,l)||d.options.findInComments&&Er.isInNonReferenceComment(c,l))&&d.addStringOrCommentReference(c.fileName,Er.createTextSpan(l,u.text.length))}}function pB(e,n){return Er.getMeaningFromLocation(e)&n.searchMeaning}function mB(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,u=(s=s.parent,_B(e,n,t,a.checker));function d(){i&&fB(e,u,a)}(o||r.includes(u))&&(c?e===c?(s.moduleSpecifier||d(),i&&2!==a.options.use&&a.markSeenReExportRHS(l)&&fB(l,Er.Debug.checkDefined(t.symbol),a)):a.markSeenReExportRHS(e)&&d():2===a.options.use&&"default"===l.escapedText||d(),(!SB(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))&&rB(e,l,o,a),1===r.comingFrom||!s.moduleSpecifier||c||SB(a.options)||(n=a.checker.getExportSpecifierLocalTargetSymbol(t))&&aB(n,a))}function _B(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 fB(e,n,t){n="kind"in n?n:{kind:void 0,symbol:n};var r,a,i,o=n.kind;n=n.symbol,n=t.referenceAdder(n);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)&&function(e){return 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&&EB(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 gB(e){return e.members&&e.members.get("__constructor")}function yB(e){return 79===e.kind&&162===e.parent.kind&&e.parent.name===e}function hB(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 d(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=qG(n,e,t),l&&(c=i(l,void 0,void 0,1),c))return c;if(s=d(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)),d(1&e.flags?c[1]:c[0]);var u;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?(u=p(e,t))&&d(u,4):void 0):(u=void 0,(u=a?Er.isObjectBindingElementWithoutPropertyName(n.parent)?Er.getPropertySymbolFromBindingElement(t,n.parent):void 0:p(e,t))&&d(u,4));function d(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)},u=new Er.Map,function e(n){if(96&n.flags&&Er.addToSeen(u,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,u}))}function p(e,n){if(e=Er.getDeclarationOfKind(e,201),e&&Er.isObjectBindingElementWithoutPropertyName(e))return Er.getPropertySymbolFromBindingElement(n,e)}}function vB(e){return!!e.valueDeclaration&&!!(32&Er.getEffectiveModifierFlags(e.valueDeclaration))}function bB(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 EB(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 TB(e,n,t){Er.forEachChild(e,(function(e){e.kind===n&&t(e),TB(e,n,t)}))}function SB(e){return 2===e.use&&e.providePrefixAndSuffixTextForRename}function xB(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 LB(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 DB(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))||xB(e);var n}function AB(e){return Lr.isSourceFile(e)?e:Lr.isNamedDeclaration(e)?e.name:xB(e)?e.parent.name:Lr.Debug.checkDefined(e.modifiers&&Lr.find(e.modifiers,CB))}function CB(e){return 88===e.kind}function IB(e,n){return n=AB(n),n&&e.getSymbolAtLocation(n)}function NB(e,n){return n.body?n:Lr.isConstructorDeclaration(n)?Lr.getFirstConstructorWithBody(n.parent):Lr.isFunctionDeclaration(n)||Lr.isMethodDeclaration(n)?(e=IB(e,n))&&e.valueDeclaration&&Lr.isFunctionLikeDeclaration(e.valueDeclaration)&&e.valueDeclaration.body?e.valueDeclaration:void 0:n}function kB(e,n){var t,r=IB(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];DB(c)&&(i&&i.parent===c.parent&&i.end===c.pos||(t=Lr.append(t,c)),i=c)}}return t}function RB(e,n){var t;return Lr.isClassStaticBlockDeclaration(n)?n:Lr.isFunctionLikeDeclaration(n)?null!=(t=null!=(t=NB(e,n))?t:kB(e,n))?t:n:null!=(t=kB(e,n))?t:n}function OB(e,n){for(var t,r=e.getTypeChecker(),a=!1;;){if(DB(n))return RB(r,n);if(LB(n))return(t=Lr.findAncestor(n,DB))&&RB(r,t);if(Lr.isDeclarationName(n))return DB(n.parent)?RB(r,n.parent):LB(n.parent)?(t=Lr.findAncestor(n.parent,DB))&&RB(r,t):Lr.isVariableDeclaration(n.parent)&&n.parent.initializer&&xB(n.parent.initializer)?n.parent.initializer:void 0;if(Lr.isConstructorDeclaration(n))return DB(n.parent)?n.parent:void 0;if(124!==n.kind||!Lr.isClassStaticBlockDeclaration(n.parent)){if(Lr.isVariableDeclaration(n)&&n.initializer&&xB(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 PB(e,n){var t=n.getSourceFile(),r=(e=function(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,CB);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=xB(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),function(e){var n;if(xB(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 wB(e){return void 0!==e}function MB(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,DB)||n,range:Lr.createTextRangeFromNode(e,n)}}}function FB(e){return Lr.getNodeId(e.declaration)}function GB(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=OB(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(DB(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 BB(e,n){var t,r,a=[],i=GB(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=NB(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,u=o.members;l<u.length;l++){var d=u[l];Lr.forEach(d.decorators,s),Lr.isPropertyDeclaration(d)?s(d.initializer):Lr.isConstructorDeclaration(d)&&d.body?(Lr.forEach(d.parameters,s),s(d.body)):Lr.isClassStaticBlockDeclaration(d)&&s(d)}break;case 168:i(n.body);break;default:Lr.Debug.assertNever(n)}return a}function UB(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),VB(Dr.getDirectoryPath(e),o)):s}}function VB(e,n){return Dr.ensurePathIsNonModuleName(Dr.normalizePath(Dr.combinePaths(e,n)))}function jB(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 KB(e,n){return Dr.createRange(e.getStart(n)+1,e.end-1)}function HB(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 WB(e,n,t){var r,a,i,o,s,c,l,u,d,p,m=JB(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)?function(e,n){var t=Ar.findAncestor(n,Ar.isClassElement);if(t&&t.name){var r=Ar.findAncestor(t,Ar.isClassLike);if(r){var a=Ar.getEffectiveBaseTypeNode(r);a=a?e.getTypeAtLocation(a):void 0;if(a){var i=Ar.unescapeLeadingUnderscores(Ar.getTextOfPropertyName(t.name));t=Ar.hasStaticModifier(t)?e.getPropertyOfType(e.getTypeOfSymbolAtLocation(a.symbol,r),i):e.getPropertyOfType(a,i);if(t)return YB(e,t,n)}}}}(i,r)||Ar.emptyArray:Ar.isJumpStatementTarget(r)?(o=Ar.getTargetLabel(r.parent,r.text))?[ZB(i,o,"label",r.text,void 0)]:void 0:Ar.isStaticModifier(r)&&Ar.isClassStaticBlockDeclaration(r.parent)?(n=XB(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 ZB(i,e,"constructor","static {}",s,{start:n,length:"static".length})}))):(t=XB(r,i))?!(u=function(e,n){return n=function(e){e=Ar.findAncestor(e,(function(e){return!Ar.isRightSideOfPropertyAccess(e)}));var n=null==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)&&function(e){switch(e.kind){case 169:case 178:case 173:return 1;default:return}}(u)?292===r.parent.kind?(n=null!=(d=i.getShorthandAssignmentValueSymbol(t.valueDeclaration))&&d.declarations?d.declarations.map((function(e){return QB(e,i,d,r)})):Ar.emptyArray,Ar.concatenate(n,zB(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&&YB(i,e,r)}))):Ar.concatenate(_,zB(i,r)||YB(i,t,r)):(e=$B(i,u),i.getRootSymbols(t).some((function(e){return(e=e)===(n=u).symbol||e===n.symbol.parent||Ar.isAssignmentExpression(n.parent)||!Ar.isCallLikeExpression(n.parent)&&e===n.parent.symbol;var n}))?[e]:(n=YB(i,t,r,u)||Ar.emptyArray,106===r.kind?$u([e],n,!0):$u($u([],n,!0),[e],!1))):Ar.concatenate(_,(l=i,Ar.mapDefined(l.getIndexInfosAtLocation(r),(function(e){return e.declaration&&$B(l,e.declaration)}))))):void 0}function zB(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 YB(e,t,n)}))}}function JB(e,n,t){var r=eU(e.referencedFiles,n);if(r)return(a=t.getSourceFileFromReference(e,r))&&{reference:r,fileName:a.fileName,file:a,unverified:!1};r=eU(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=eU(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 qB(e,n,t){return Ar.flatMap(!e.isUnion()||32&e.flags?[e]:e.types,(function(e){return e.symbol&&YB(n,e.symbol,t)}))}function XB(e,n){var t=n.getSymbolAtLocation(e);return null!=t&&t.declarations&&2097152&t.flags&&function(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 YB(e,n,t,r){var a=Ar.filter(n.declarations,(function(e){return e!==r&&(!Ar.isAssignmentDeclaration(e)||e===n.valueDeclaration)}))||void 0;return function(){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 QB(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 QB(r,e,n,t)})):[QB(Ar.last(r),e,n,t)]:void 0}}function QB(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 ZB(n,e,i,a,t)}function ZB(e,n,t,r,a,i){var o,s=n.getSourceFile();return i||(o=Ar.getNameOfDeclaration(n)||n,i=Ar.createTextSpanFromNode(o,s)),ed(ed({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 $B(e,n){return QB(n,e,n.symbol,n)}function eU(e,n){return Ar.find(e,(function(e){return Ar.textRangeContainsPositionInclusive(e,n)}))}function nU(e,n){return Cr.arraysEqual(e,n,(function(e,n){return e.kind===n.kind&&e.text===n.text}))}function tU(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 rU(e){return{name:e,kind:"",kindModifiers:"",displayParts:[Cr.textPart(e)],documentation:Cr.emptyArray,tags:void 0,codeActions:void 0}}function aU(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 iU(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 oU(e,n){return sU(e,n)||Rr.isPropertyAccessExpression(e)&&(n.push(e.name.text),!0)&&oU(e.expression,n)}function sU(e,n){return Rr.isPropertyNameLiteral(e)&&(n.push(Rr.getTextOfIdentifierOrLiteral(e)),!0)}function cU(e,n){return Rr.compareValues(e.matchKind,n.matchKind)||Rr.compareStringsCaseSensitiveUI(e.name,n.name)}function lU(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 dU(e){return jU(e.getText(wr))}function pU(e){return e.node.kind}function mU(e,n){e.children?e.children.push(n):e.children=[n]}function _U(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++)LU(r[t]);return EU(),Or.Debug.assert(!Mr&&!Ur.length),n}function fU(e,n){mU(Mr,gU(e,n))}function gU(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 yU(e){(Fr=Fr||new Or.Map).set(e,!0)}function hU(e){for(var n=0;n<e;n++)EU()}function vU(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--)bU(e,r=t[i]);return[t.length-1,t[0]]}function bU(e,n){e=gU(e,n),mU(Mr,e),Ur.push(Mr),Vr.push(Fr),Fr=void 0,Mr=e}function EU(){Mr.children&&(DU(Mr.children,Mr),NU(Mr.children)),Mr=Ur.pop(),Fr=Vr.pop()}function TU(e,n,t){bU(e,t),LU(n),EU()}function SU(e){e.initializer&&function(e){switch(e.kind){case 212:case 211:case 224:return 1;default:return}}(e.initializer)?(bU(e),Or.forEachChild(e.initializer,LU),EU()):TU(e,e.initializer)}function xU(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 LU(e){var n;if(Pr.throwIfCancellationRequested(),e&&!Or.isToken(e))switch(e.kind){case 169:var t=e;TU(t,t.body);for(var r=0,a=t.parameters;r<a.length;r++){var i=a[r];Or.isParameterPropertyDeclaration(i,t)&&fU(i)}break;case 167:case 170:case 171:case 166:xU(e)&&TU(e,e.body);break;case 165:xU(e)&&SU(e);break;case 164:xU(e)&&fU(e);break;case 265:var o=e;o=(o.name&&fU(o.name),o.namedBindings);if(o)if(266===o.kind)fU(o);else for(var s=0,c=o.elements;s<c.length;s++)fU(c[s]);break;case 292:TU(e,e.name);break;case 293:o=e.expression,Or.isIdentifier(o)?fU(e,o):fU(e);break;case 201:case 291:case 252:var l=e;Or.isBindingPattern(l.name)?LU(l.name):SU(l);break;case 254:o=e.name,o&&Or.isIdentifier(o)&&yU(o.text),TU(e,e.body);break;case 212:case 211:TU(e,e.body);break;case 258:bU(e);for(var u=0,d=e.members;u<d.length;u++){var p=d[u];(n=p).name&&160!==n.name.kind&&fU(p)}EU();break;case 255:case 224:case 256:bU(e);for(var m=0,_=e.members;m<_.length;m++)LU(p=_[m]);EU();break;case 259:TU(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)?(bU(e),LU(l),EU()):fU(e);break;case 273:case 263:case 174:case 172:case 173:case 257:fU(e);break;case 206:case 219:var f=Or.getAssignmentDeclarationKind(e);switch(f){case 1:case 2:return void TU(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)?(yU(y.expression.text),y.expression):(h=(y=vU(b,y.expression))[0],y[1]),6===f?Or.isObjectLiteralExpression(b.right)&&0<b.right.properties.length&&(bU(b,v),Or.forEachChild(b.right,LU),EU()):Or.isFunctionExpression(b.right)||Or.isArrowFunction(b.right)?TU(e,b.right,v):(bU(b,v),TU(e,b.right,g.name),EU()),void hU(h);case 7:case 9:return v=7===f?e.arguments[0]:e.arguments[0].expression,y=e.arguments[1],v=vU(e,v),h=v[0],bU(e,v[1]),bU(e,Or.setTextRange(Or.factory.createIdentifier(y.text),y)),LU(e.arguments[2]),EU(),EU(),void hU(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)?TU(e,b.right,v):Or.isBindableStaticAccessExpression(g)&&(bU(b,v),TU(b.left,b.right,Or.getNameOrArgument(g)),EU()));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)&&fU(e)}))})),Or.forEachChild(e,LU)}}function DU(e,n){var t=new Or.Map;Or.filterMutate(e,(function(e,r){var a=e.name||Or.getNameOfDeclaration(e.node);a=a&&dU(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(AU(o=c[s],e,r,n))return!1;return i.push(e),!0}return!AU(o=i,e,r,n)&&(t.set(a,[o,e]),!0)}))}function AU(e,n,t,r){var a,i,o,s,c,l,u;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]||d(a.node)&&Kr[s]||d(i.node)&&Kr[c]||Or.isClassDeclaration(a.node)&&CU(a.node)&&Kr[s]||Or.isClassDeclaration(i.node)&&Kr[c]||Or.isClassDeclaration(a.node)&&CU(a.node)&&d(i.node)||Or.isClassDeclaration(i.node)&&d(a.node)&&CU(a.node)?(c=a.additionalNodes&&Or.lastOrUndefined(a.additionalNodes)||a.node,!Or.isClassDeclaration(a.node)&&!Or.isClassDeclaration(i.node)||d(a.node)||d(i.node)?(void 0!==(o=d(a.node)?a.node:d(i.node)?i.node:void 0)?((u=gU(Or.setTextRange(Or.factory.createConstructorDeclaration(void 0,void 0,[],void 0),o))).indent=a.indent+1,u.children=(a.node===o?a:i).children,a.children=a.node===o?Or.concatenate([u],i.children||[i]):Or.concatenate(a.children||[ed({},a)],[u])):(a.children||i.children)&&(a.children=Or.concatenate(a.children||[ed({},a)],i.children||[i]),a.children)&&(DU(a.children,a),NU(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&&DU(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)||(function(e,n,t){if(e.kind===n.kind&&(e.parent===n.parent||IU(e,t)&&IU(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)&&GU(e)===GU(n);default:return 1}}(e.node,n.node,r)?(u=n,(l=e).additionalNodes=l.additionalNodes||[],l.additionalNodes.push(u.node),u.additionalNodes&&(t=l.additionalNodes).push.apply(t,u.additionalNodes),l.children=Or.concatenate(l.children,u.children),l.children&&(DU(l.children,l),NU(l.children)),1):void 0);function d(e){return Or.isFunctionExpression(e)||Or.isFunctionDeclaration(e)||Or.isVariableDeclaration(e)}}function CU(e){return 8&e.flags}function IU(e,n){return e=(Or.isModuleBlock(e.parent)?e.parent:e).parent,e===n.node||Or.contains(n.additionalNodes,e)}function NU(e){e.sort(kU)}function kU(e,n){return Or.compareStringsCaseSensitiveUI(RU(e.node),RU(n.node))||Or.compareValues(pU(e),pU(n))}function RU(e){if(259===e.kind)return FU(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 VU(e);default:return}}function OU(e,n){if(259===e.kind)return jU(FU(e));if(n&&(n=Or.isIdentifier(n)?n.text:Or.isElementAccessExpression(n)?"["+dU(n.argumentExpression)+"]":dU(n),0<n.length))return jU(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":VU(e);case 169:return"constructor";case 173:return"new()";case 172:return"()";case 174:return"[]";default:return"<unknown>"}}function PU(e){return{text:OU(e.node,e.name),kind:Or.getNodeKind(e.node),kindModifiers:UU(e.node),spans:MU(e),nameSpan:e.name&&BU(e.name),childItems:Or.map(e.children,PU)}}function wU(e){return{text:OU(e.node,e.name),kind:Or.getNodeKind(e.node),kindModifiers:UU(e.node),spans:MU(e),childItems:Or.map(e.children,(function(e){return{text:OU(e.node,e.name),kind:Or.getNodeKind(e.node),kindModifiers:Or.getNodeModifiers(e.node),spans:MU(e),childItems:jr,indent:0,bolded:!1,grayed:!1}}))||jr,indent:e.indent,bolded:!1,grayed:!1}}function MU(e){var n=[BU(e.node)];if(e.additionalNodes)for(var t=0,r=e.additionalNodes;t<r.length;t++){var a=r[t];n.push(BU(a))}return n}function FU(e){return Or.isAmbientModule(e)?Or.getTextOfNode(e.name):GU(e)}function GU(e){for(var n=[Or.getTextOfIdentifierOrLiteral(e.name)];e.body&&259===e.body.kind;)e=e.body,n.push(Or.getTextOfIdentifierOrLiteral(e.name));return n.join(".")}function BU(e){return 300===e.kind?Or.createTextSpanFromRange(e):Or.createTextSpanFromNode(e,wr)}function UU(e){return e.parent&&252===e.parent.kind&&(e=e.parent),Or.getNodeModifiers(e)}function VU(e){var n=e.parent;return e.name&&0<Or.getFullWidth(e.name)?jU(Or.declarationNameToString(e.name)):Or.isVariableDeclaration(n)?jU(Or.declarationNameToString(n.name)):Or.isBinaryExpression(n)&&63===n.operatorToken.kind?dU(n.left).replace(Gr,""):Or.isPropertyAssignment(n)?dU(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=jU(e)).length>Br?e+" callback":e+"("+jU(Or.mapDefined(n.arguments,(function(e){return Or.isStringLiteralLike(e)?e.getText(wr):void 0})).join(", "))+") callback":"<function>"}function jU(e){return(e=e.length>Br?e.substring(0,Br)+"...":e).replace(/\\?(\r?\n|\r|\u2028|\u2029)/g,"")}function KU(e){return void 0!==e&&Hr.isStringLiteralLike(e)?e.text:void 0}function HU(e){if(0===e.length)return e;e=function(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,c=l.importClause,s=c.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 u=0,d=Hr.stableSort(l,(function(e,n){return YU(e.importClause.namedBindings.name,n.importClause.namedBindings.name)}));u<d.length;u++){var p=d[u];r.push(zU(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=JU(_),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(zU(h,m,void 0)),r.push(zU(null!=(s=o[0])?s:h,void 0,y))):r.push(zU(h,m,y))}}else{var v=c[0];r.push(zU(v,v.importClause.name,l[0].importClause.namedBindings))}}return r}function WU(e){if(0===e.length)return e;e=function(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=JU(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 zU(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 JU(e){return Hr.stableSort(e,qU)}function qU(e,n){return YU(e.propertyName||e.name,n.propertyName||n.name)||YU(e.name,n.name)}function XU(e,n){return e=void 0===e?void 0:KU(e),n=void 0===n?void 0:KU(n),Hr.compareBooleans(void 0===e,void 0===n)||Hr.compareBooleans(Hr.isExternalModuleNameRelative(e),Hr.isExternalModuleNameRelative(n))||Hr.compareStringsCaseInsensitive(e,n)}function YU(e,n){return Hr.compareStringsCaseInsensitive(e.text,n.text)}function QU(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 ZU(e,n){return XU(QU(e),QU(n))||(n=n,Hr.compareValues($U(e),$U(n)))}function $U(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 eV(e){return e=Wr.trimStringStart(e),Wr.startsWith(e,"//")?(e=Wr.trimString(e.slice(2)),zr.exec(e)):null}function nV(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 u=l[c],d=u.kind,p=u.pos,m=u.end;switch(t.throwIfCancellationRequested(),d){case 2:eV(s.slice(p,m))?(_(),o=0):(0===o&&(a=p),i=m,o++);break;case 3:_(),r.push(rV(p,m,"comment")),o=0;break;default:Wr.Debug.assertNever(d)}}_()}function _(){1<o&&r.push(rV(a,i,"comment"))}}function tV(e,n,t,r){Wr.isJsxText(e)||nV(e.pos,n,t,r)}function rV(e,n,t){return iV(Wr.createTextSpanFromBounds(e,n),t)}function aV(e,n,t,r,a,i){return void 0===a&&(a=!1),iV(Wr.createTextSpanFromBounds((i=void 0===i||i)?e.getFullStart():e.getStart(r),n.getEnd()),"code",Wr.createTextSpanFromNode(t,r),a)}function iV(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 oV(e,n){return{kind:e,isCaseSensitive:n}}function sV(e,n){var t=n.get(e);return t||n.set(e,t=bV(e)),t}function cV(e,n,t){var r=function(e,n){for(var t=e.length-n.length,r=0;r<=t;r++){var a=function(t){if(LV(n,(function(n,r){return gV(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 oV(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=sV(e,t);a<i.length;a++){var o=i[a];if(pV(e,o,n.text,!0))return oV(qr.substring,pV(e,o,n.text,!1))}return n.text.length<e.length&&_V(e.charCodeAt(r))?oV(qr.substring,!1):void 0}}else{if(0<e.indexOf(n.text))return oV(qr.substring,!0);if(0<n.characterSpans.length&&(r=sV(e,t),t=!!mV(e,r,n,!1)||!mV(e,r,n,!0)&&void 0,void 0!==t))return oV(qr.camelCase,t)}}function lV(e,n,t){if(LV(n.totalTextChunk.text,(function(e){return 32!==e&&42!==e}))){var r=cV(e,n.totalTextChunk,t);if(r)return r}for(var a=0,i=n.subWordTextChunks;a<i.length;a++)var o=uV(o,cV(e,i[a],t));return o}function uV(e,n){return Jr.min(e,n,dV)}function dV(e,n){return void 0===e?1:void 0===n?-1:Jr.compareValues(e.kind,n.kind)||Jr.compareBooleans(!e.isCaseSensitive,!n.isCaseSensitive)}function pV(e,n,t,r,a){return(a=void 0===a?{start:0,length:t.length}:a).length<=n.length&&xV(0,a.length,(function(i){return o=t.charCodeAt(a.start+i),i=e.charCodeAt(n.start+i),r?gV(o)===gV(i):o===i;var o}))}function mV(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 u=i[s];if(l&&(!_V(t.text.charCodeAt(i[s-1].start))||!_V(t.text.charCodeAt(i[s].start))))break;if(!pV(e,c,t.text,r,u))break;l=!0,a=void 0===a||a,c=Jr.createTextSpan(c.start+u.length,c.length-u.length)}l||void 0===a||(a=!1),o++}}function _V(e){return 65<=e&&e<=90||!(e<127||!Jr.isUnicodeIdentifierStart(e,99))&&(e=String.fromCharCode(e))===e.toUpperCase()}function fV(e){return 97<=e&&e<=122||!(e<127||!Jr.isUnicodeIdentifierStart(e,99))&&(e=String.fromCharCode(e))===e.toLowerCase()}function gV(e){return 65<=e&&e<=90?e-65+97:e<127?e:String.fromCharCode(e).toLowerCase().charCodeAt(0)}function yV(e){return 48<=e&&e<=57}function hV(e){var n=e.toLowerCase();return{text:e,textLowerCase:n,isLowerCase:e===n,characterSpans:vV(e)}}function vV(e){return EV(e,!1)}function bV(e){return EV(e,!0)}function EV(e,n){for(var t,r,a=[],i=0,o=1;o<e.length;o++){var s=yV(e.charCodeAt(o-1)),c=yV(e.charCodeAt(o)),l=(t=n,u=o,r=void 0,r=_V((l=e).charCodeAt(u-1)),_V(l.charCodeAt(u))&&(!t||!r)),u=n&&(u=e,(t=o)!==(r=i))&&t+1<u.length&&_V(u.charCodeAt(t))&&fV(u.charCodeAt(t+1))&&LV(u,_V,r,t);(TV(e.charCodeAt(o-1))||TV(e.charCodeAt(o))||s!==c||l||u)&&(SV(e,i,o)||a.push(Jr.createTextSpan(i,o-i)),i=o)}return SV(e,i,e.length)||a.push(Jr.createTextSpan(i,e.length-i)),a}function TV(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 SV(e,n,t){return LV(e,(function(e){return TV(e)&&95!==e}),n,t)}function xV(e,n,t){for(var r=e;r<n;r++)if(!t(r))return!1;return!0}function LV(e,n,t,r){return xV(t=void 0===t?0:t,r=void 0===r?e.length:r,(function(t){return n(e.charCodeAt(t),t)}))}function DV(e,n,t,r,a,i){return{canRename:!0,fileToRename:void 0,kind:t,displayName:e,fullDisplayName:n,kindModifiers:r,triggerSpan:function(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 AV(e){return{canRename:!1,localizedErrorMessage:Yr.getLocaleSpecificMessage(e)}}function CV(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(NV(t)),t=void 0),r)).push(o)}return t&&r.push(NV(t)),r}function IV(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?NV(r):void 0,a,n.length?NV(n):void 0]),t?e.concat(i):e)}function NV(e){return Qr.Debug.assertGreaterThanOrEqual(e.length,1),Qr.setTextRangePosEnd(Qr.parseNodeFactory.createSyntaxList(e),e[0].pos,Qr.last(e).end)}function kV(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 RV(e,n){i=n;var t,r,a,i=29===(e=e).kind||20===e.kind?{list:function(e,n,t){return 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:function(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=function(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 OV(e,n,t){var r=e.parent;if(!$r.isCallOrNewExpression(r))return $r.isNoSubstitutionTemplateLiteral(e)&&$r.isTaggedTemplateExpression(r)?$r.isInsideTemplateLiteral(e,n,t)?wV(r,0,t):void 0:$r.isTemplateHead(e)&&208===r.parent.kind?(o=r.parent,$r.Debug.assert(221===r.kind),wV(o,i=$r.isInsideTemplateLiteral(e,n,t)?0:1,t)):$r.isTemplateSpan(r)&&$r.isTaggedTemplateExpression(r.parent.parent)?(o=(a=r).parent.parent,!$r.isTemplateTail(e)||$r.isInsideTemplateLiteral(e,n,t)?wV(o,i=function(e,n,t,r){return $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}(a.parent.templateSpans.indexOf(a),e,n,t),t):void 0):$r.isJsxOpeningLikeElement(r)?(o=r.attributes.pos,a=$r.skipTrivia(t.text,r.attributes.end,!1),{isTypeParameterList:!1,invocation:{kind:0,node:r},argumentsSpan:$r.createTextSpan(o,a-o),argumentIndex:0,argumentCount:1}):(n=$r.getPossibleTypeArgumentsInfo(e,t))?(a=n.called,o=n.nTypeArguments,{isTypeParameterList:!0,invocation:c={kind:1,called:a},argumentsSpan:s=$r.createTextSpanFromBounds(a.getStart(t),e.end),argumentIndex:o,argumentCount:o+1}):void 0;var a,i,o,s,c=r;n=RV(e,t);return n?(a=n.list,i=n.argumentIndex,o=n.argumentCount,s=n.argumentsSpan,{isTypeParameterList:!!r.typeArguments&&r.typeArguments.pos===a.pos,invocation:{kind:0,node:c},argumentsSpan:s,argumentIndex:i,argumentCount:o}):void 0}function PV(e){return $r.isBinaryExpression(e.left)?PV(e.left)+1:2}function wV(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:function(e,n){e=e.template;var t=e.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 MV(e){return 0===e.kind?$r.getInvokedExpression(e.node):e.called}function FV(e){return 0!==e.kind&&1===e.kind?e.called:e.node}function GV(e,n,t,r,a,i){for(var o=t.isTypeParameterList,s=t.argumentCount,c=t.argumentsSpan,l=t.invocation,u=(t=t.argumentIndex,FV(l)),d=(l=2===l.kind?l.symbol:a.getSymbolAtLocation(MV(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=d,i=(e=o,a),s=u;return e=(o?BV:UV)(n,i,s,r),$r.map(e,(function(e){var r,a,o,c=e.isVariadic,l=e.parameters,u=e.prefix,d=(e=e.suffix,u=$u($u([],t,!0),u,!0),e=$u($u([],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:u,suffixDisplayParts:e,separatorDisplayParts:na,parameters:l,documentation:d,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 BV(e,n,t,r){var a=(e.target||e).typeParameters,i=$r.createPrinter({removeComments:!0}),o=(a||$r.emptyArray).map((function(e){return VV(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($u($u([],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:$u([$r.punctuationPart(31)],e,!0)}}))}function UV(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)})),u=o.isOptionalParameter(i.valueDeclaration),d=!!(32768&i.checkFlags),{name:i.name,documentation:i.getDocumentationComment(o),displayParts:e,isOptional:u,isRest:d};var i,o,s,c,l,u,d})),prefix:$u($u([],i,!0),[$r.punctuationPart(20)],!1),suffix:[$r.punctuationPart(21)]}}))}function VV(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 jV(e){return"literals"===e.includeInlayParameterNameHints||"all"===e.includeInlayParameterNameHints}function KV(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 HV(e,n,t){var r;r=e,n=n,!ia.isAsyncFunction(r)&&r.body&&ia.isBlock(r.body)&&function(e,n){return ia.forEachReturnStatement(e,(function(e){return zV(e,n)}))}(r.body,n)&&WV(r,n)&&!oa.has(YV(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 WV(e,n){return e=n.getSignatureFromDeclaration(e),e=e?n.getReturnTypeOfSignature(e):void 0,!!e&&!!n.getPromisedTypeOfPromise(e)}function zV(e,n){return ia.isReturnStatement(e)&&!!e.expression&&JV(e.expression,n)}function JV(e,n){if(!qV(e)||!e.arguments.every((function(e){return XV(e,n)})))return!1;for(var t=e.expression;qV(t)||ia.isPropertyAccessExpression(t);){if(ia.isCallExpression(t)&&!t.arguments.every((function(e){return XV(e,n)})))return!1;t=t.expression}return!0}function qV(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 XV(e,n){switch(e.kind){case 254:case 211:if(1&ia.getFunctionFlags(e))return!1;case 212:oa.set(YV(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 YV(e){return e.pos.toString()+":"+e.end.toString()}function QV(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 ZV(e){switch(e.kind){case 254:case 167:case 211:case 212:return!0;default:return!1}}function $V(e,n,t){return e=ej(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 ej(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":tj(n)?"local var":"var";if(16&r)return tj(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 nj(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 tj(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 rj(e,n){var t,r=[],a=n.compilerOptions?aj(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,u,d=n.fileName||(n.compilerOptions&&n.compilerOptions.jsx?"module.tsx":"module.ts"),p=ca.createSourceFile(d,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([d],a,{getSourceFile:function(e){return e===ca.normalizePath(d)?p:void 0},writeFile:function(e,n){ca.fileExtensionIs(e,".map")?(ca.Debug.assertEqual(u,void 0,"Unexpected multiple source map outputs, file:",e),u=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===d},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:u}}function aj(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++)!function(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 ij(e,n,t){this.sourceFile=e,this.formattingRequestKind=n,this.options=t}function oj(e,n,t,r,a,i){return void 0===i&&(i=0),{leftTokenRange:cj(n),rightTokenRange:cj(t),rule:{debugName:e,context:r,action:a,flags:i}}}function sj(e){return{tokens:e,isSpecific:!0}}function cj(e){return"number"==typeof e?sj([e]):fa.isArray(e)?sj(e):e}function lj(e,n,t){void 0===t&&(t=[]);for(var r=[],a=e;a<=n;a++)fa.contains(t,a)||r.push(a);return sj(r)}function uj(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 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]}}function _j(e){return function(n){return!n.options||!n.options.hasOwnProperty(e)||!n.options[e]||n.TokensAreOnSameLine()}}function fj(e){return function(n){return!n.options||!n.options.hasOwnProperty(e)||!!n.options[e]}}function gj(e){return 240===e.contextNode.kind}function yj(e){return!gj(e)}function hj(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 vj(e){return!hj(e)}function bj(e){return!Ej(e)}function Ej(e){return e=e.contextNode.kind,165===e||164===e||162===e||252===e||fa.isFunctionLikeKind(e)}function Tj(e){return 220===e.contextNode.kind||187===e.contextNode.kind}function Sj(e){return e.TokensAreOnSameLine()||Cj(e)}function xj(e){return 199===e.contextNode.kind||193===e.contextNode.kind||Aj(e=e)&&(e.ContextNodeAllOnSameLine()||e.ContextNodeBlockIsOnOneLine())}function Lj(e){return Cj(e)&&!(e.NextNodeAllOnSameLine()||e.NextNodeBlockIsOnOneLine())}function Dj(e){return Aj(e)&&!(e.ContextNodeAllOnSameLine()||e.ContextNodeBlockIsOnOneLine())}function Aj(e){return Ij(e.contextNode)}function Cj(e){return Ij(e.nextTokenParent)}function Ij(e){if(Pj(e))return!0;switch(e.kind){case 233:case 261:case 203:case 260:return!0}return!1}function Nj(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 kj(e){return!Nj(e)}function Rj(e){return 254===e.contextNode.kind||211===e.contextNode.kind}function Oj(e){return Pj(e.contextNode)}function Pj(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 wj(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 Mj(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 Fj(e){return 203===e.contextNode.kind}function Gj(e){return 206===e.contextNode.kind||207===e.contextNode.kind}function Bj(e){return 27!==e.currentTokenSpan.kind}function Uj(e){return 23!==e.nextTokenSpan.kind}function Vj(e){return 21!==e.nextTokenSpan.kind}function jj(e){return 212===e.contextNode.kind}function Kj(e){return 198===e.contextNode.kind}function Hj(e){return e.TokensAreOnSameLine()&&11!==e.contextNode.kind}function Wj(e){return 11!==e.contextNode.kind}function zj(e){return 276!==e.contextNode.kind&&280!==e.contextNode.kind}function Jj(e){return 286===e.contextNode.kind||285===e.contextNode.kind}function qj(e){return 283===e.nextTokenParent.kind}function Xj(e){return 283===e.contextNode.kind}function Yj(e){return 277===e.contextNode.kind}function Qj(e){return!Nj(e)&&!Cj(e)}function Zj(e){return e.TokensAreOnSameLine()&&!!e.contextNode.decorators&&$j(e.currentTokenParent)&&!$j(e.nextTokenParent)}function $j(e){for(;fa.isExpressionNode(e);)e=e.parent;return 163===e.kind}function eK(e){return 253===e.currentTokenParent.kind&&e.currentTokenParent.getStart(e.sourceFile)===e.currentTokenSpan.pos}function nK(e){return 2!==e.formattingRequestKind}function tK(e){return 259===e.contextNode.kind}function rK(e){return 180===e.contextNode.kind}function aK(e){return 173===e.contextNode.kind}function iK(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 oK(e){return iK(e.currentTokenSpan,e.currentTokenParent)||iK(e.nextTokenSpan,e.nextTokenParent)}function sK(e){return 209===e.contextNode.kind}function cK(e){return 114===e.currentTokenSpan.kind&&215===e.currentTokenParent.kind}function lK(e){return 222===e.contextNode.kind&&void 0!==e.contextNode.expression}function uK(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 pK(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 mK(e){return fa.positionIsASICandidate(e.currentTokenSpan.end,e.currentTokenParent,e.sourceFile)}function _K(e,n){return ya.Debug.assert(e<=158&&n<=158,"Must compute formatting context from tokens"),e*Sa+n}function fK(e,n,t){return t=xa.findPrecedingToken(e,t),t&&t.kind===n&&e===t.getEnd()?t:void 0}function gK(e){for(var n=e;n&&n.parent&&n.parent.end===e.end&&!function(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 yK(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 hK(e,n,t,r){return e?vK({pos:xa.getLineStartPositionForPosition(e.getStart(n),n),end:e.end},n,t,r):[]}function vK(e,n,t,r){var a,i,o,s,c=yK(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 bK(e,c,La.SmartIndenter.getIndentationForNode(c,e,n,t.options),function(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 bK(e,n,t,r,a,i,o,s,c){var l,u,d,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,d,u,r,g)}function C(r,i,o,s,l,u,d,p){var m=r.getStart(c),_=c.getLineAndCharacterOfPosition(m).line,f=_,g=(r.decorators&&(f=c.getLineAndCharacterOfPosition(xa.getNonDecoratorTokenPosOfNode(r,c)).line),-1);if(d&&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}d=163===r.kind?_:u,l=b(r,_,g,t,s,d),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=EK(n,e),u=i,d=r;if(0!==l)for(;a.isOnToken();){if((g=a.readTokenInfo(n)).token.end>e.pos)break;g.token.kind===l?(d=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)),u=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,u,d,d,!0,0===_)}var g,h,v=TK(l);0!==v&&a.isOnToken()&&(27===(g=a.readTokenInfo(n)).token.kind&&xa.isCallLikeExpression(n)&&(h=c.getLineAndCharacterOfPosition(g.token.pos).line,d!==h)&&(a.advance(),g=a.isOnToken()?a.readTokenInfo(n):void 0),g)&&g.token.kind===v&&xa.rangeContainsRange(n,g.token)&&N(g,n,u,n,!0)}function N(n,t,r,i,o){xa.Debug.assert(xa.rangeContainsRange(t,n.token));var u,d,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&&(u=s(n.token),d=l,g=x(n.token,b,t,h,r),u||(f=0===g?(u=d&&c.getLineAndCharacterOfPosition(d.end).line,_&&b.line!==u):1===g)),n.trailingTrivia&&S(n.trailingTrivia,t,h,r),f&&(d=v&&!s(n.token)?r.getIndentationForToken(b.line,n.token.kind,i,!!o):-1,_=!0,n.leadingTrivia&&(m=r.getIndentationForComment(n.token.kind,d,i),_=T(n.leadingTrivia,m,_,(function(e){D(e.pos,m,!1)}))),-1!==d)&&_&&(D(n.token.pos,d,1===g),p=b.line,y=d),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&&function(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!==function(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=d=u=void 0;var u=s,d=t,p=!r,_=((A=L=x=S=T=E=v=h=y=g=f=_=b=void 0)===(b=void 0)&&(b=!0),c.getLineAndCharacterOfPosition(u.pos).line),f=c.getLineAndCharacterOfPosition(u.end).line;if(_===f)p||D(u.pos,d,!1);else{for(var g=[],y=u.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:u.end}),0!==g.length)for(var b=xa.getStartPositionOfLine(_,c),E=La.SmartIndenter.findFirstNonWhitespaceCharacterAndColumn(b,g[0].pos,c,m),T=(u=0,p&&(u=1,_++),d-E.column),S=u;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=SK(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,d,u,a,i):A(c.getLineAndCharacterOfPosition(e.pos).line,t.line)),l=n,u=r,d=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,u=0;return i?xa.forEachRight(i,(function(i){switch(u=function(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:!function(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===u)}l=l&&!(16&i.action)&&1!==i.flags})):l=l&&1!==e.kind,n!==a&&l&&A(a,n,r),u}function D(e,n,t){var r=SK(n,m);t?I(e,0,r):(t=c.getLineAndCharacterOfPosition(e),n===function(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=function(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 EK(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 TK(e){switch(e){case 20:return 21;case 29:return 31;case 18:return 19}return 0}function SK(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 xK(e){return e.baseIndentSize||0}function LK(e,n,t,r,a,i,o){for(var s,c,l,u,d,p=e.parent;p;){var m=!0,_=(t&&(m=(_=e.getStart(a))<t.pos||_>t.end),function(e,n,t){return n=IK(n,t),n=n?n.pos:e.getStart(t),t.getLineAndCharacterOfPosition(n)}(p,e,a)),f=_.line===n.line||CK(p,e,n.line,a);if(m){if(m=null==(m=IK(e,a))?void 0:m[0],m=RK(e,a,o,!!m&&DK(m,a).line>_.line),-1!==m)return m+r;if(g=e,s=p,c=n,l=f,u=a,d=o,-1!==(m=!Ia.isDeclaration(g)&&!Ia.isStatementButNotDeclaration(g)||300!==s.kind&&l?-1:PK(c,u,d)))return m+r}GK(o,p,e,a,i)&&!f&&(r+=o.indentSize);var g=AK(p,e,n.line,a);p=(e=p).parent;n=g?a.getLineAndCharacterOfPosition(e.getStart(a)):_}return r+xK(o)}function DK(e,n){return n.getLineAndCharacterOfPosition(e.getStart(n))}function AK(e,n,t,r){return!(!Ia.isCallExpression(e)||!Ia.contains(e.arguments,n))&&(n=e.expression.getEnd(),Ia.getLineAndCharacterOfPosition(r,n).line===t)}function CK(e,n,t,r){return 237===e.kind&&e.elseStatement===n&&(n=Ia.findChildOfKind(e,91,r),Ia.Debug.assert(void 0!==n),DK(n,r).line===t)}function IK(e,n){return e.parent&&NK(e.getStart(n),e.getEnd(),e.parent,n)}function NK(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(function(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 kK(e,n,t){return e?PK(n.getLineAndCharacterOfPosition(e.pos),n,t):-1}function RK(e,n,t,r){if(!e.parent||253!==e.parent.kind){var a=IK(e,n);if(a)return e=a.indexOf(e),-1!==e&&(e=OK(a,e,n,t),-1!==e)?e:kK(a,n,t)+(r?t.indentSize:0)}return-1}function OK(e,n,t,r){Ia.Debug.assert(0<=n&&n<e.length);for(var a=DK(e[n],t),i=n-1;0<=i;i--)if(27!==e[i].kind){if(t.getLineAndCharacterOfPosition(e[i].end).line!==a.line)return PK(a,t,r);a=DK(e[i],t)}return-1}function PK(e,n,t){var r=n.getPositionOfLineAndCharacter(e.line,0);return MK(r,r+e.character,n,t)}function wK(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 MK(e,n,t,r){return wK(e,n,t,r).column}function FK(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 BK(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?BK(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 GK(e,n,t,r,a){return void 0===a&&(a=!1),FK(e,n,t,r,!1)&&!(a&&t&&function(e,n){switch(e){case 245:case 249:case 243:case 244:return 233!==n.kind;default:return}}(t.kind,n))}function BK(e,n){var t=Ia.skipTrivia(e.text,n.pos);return e.getLineAndCharacterOfPosition(t).line===e.getLineAndCharacterOfPosition(n.end).line}function UK(e){return e=e.__pos,ka.Debug.assert("number"==typeof e),e}function VK(e,n){ka.Debug.assert("number"==typeof n),e.__pos=n}function jK(e){return e=e.__end,ka.Debug.assert("number"==typeof e),e}function KK(e,n){ka.Debug.assert("number"==typeof n),e.__end=n}function HK(e,n){return ka.skipTrivia(e,n,!1,!0)}function WK(e,n,t,r){return{pos:zK(e,n,r),end:qK(e,t,r)}}function zK(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=HK(e.text,a),ka.getStartPositionOfLine(ka.getLineOfLocalPosition(e,a),e)))}function JK(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 qK(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:JK(e,n,t)||((r=ka.skipTrivia(e.text,a,!0))===a||i!==Oa.Include&&!ka.isLineBreak(e.text.charCodeAt(r-1))?a:r)}function XK(e,n){return n&&e.parent&&(27===n.kind||26===n.kind&&203===e.parent.kind)}function YK(e,n){this.newLineCharacter=e,this.formatContext=n,this.changes=[],this.newFiles=[],this.classesWithNodesInsertedAtStart=new ka.Map,this.deletedNodes=[]}function QK(e,n){return ka.skipTrivia(e.text,zK(e,n,{leadingTriviaOption:Ra.IncludeAll}),!1,!0)}function ZK(e){return ka.isObjectLiteralExpression(e)?e.properties:e.members}function $K(e,n,t,r,a){return t=t.map((function(n){return 4===n?"":eH(n,e,r).text})).join(r),n=ka.createSourceFile("any file name",t,99,!0,n),nH(t,ka.formatting.formatDocument(n,a))+r}function eH(e,n,t){r=0,a=ka.createTextWriter(t);var r,a,i={onBeforeEmitNode:function(e){e&&VK(e,r)},onAfterEmitNode:function(e){e&&KK(e,r)},onBeforeEmitNodeArray:function(e){e&&VK(e,r)},onAfterEmitNodeArray:function(e){e&&KK(e,r)},onBeforeEmitToken:function(e){e&&VK(e,r)},onAfterEmitToken:function(e){e&&KK(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:tH(e)}}function nH(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 tH(e){var n=ka.visitEachChild(e,tH,ka.nullTransformationContext,rH,tH);n=ka.nodeIsSynthesized(n)?n:Object.create(n);return ka.setTextRangePosEnd(n,UK(e),jK(e)),n}function rH(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,UK(e),jK(e)),t)}function aH(e,n){return!(ka.isInComment(e,n)||ka.isInString(e,n)||ka.isInTemplateString(e,n)||ka.isInJSXText(e,n))}function iH(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})):oH(e,n,ka.getAncestor(t,264))}function oH(e,n,t,r){var a=zK(n,t,r=void 0===r?{leadingTriviaOption:Ra.IncludeAll}:r);t=qK(n,t,r);e.deleteRange(n,{pos:a,end:t})}function sH(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?oH(e,t,r):(ka.Debug.assert(!n.has(r),"Deleting a node twice"),n.add(r),e.deleteRange(t,{pos:QK(t,r),end:i===a.length-1?qK(t,r,{}):QK(t,a[i+1])}))}function cH(e){return Ga.isArray(e)?Ga.formatStringFromArgs(Ga.getLocaleSpecificMessage(e[0]),e.slice(1)):Ga.getLocaleSpecificMessage(e)}function lH(e,n,t,r,a,i){return{fixName:e,description:n,changes:t,fixId:r,fixAllDescription:a,commands:i?[i]:void 0}}function uH(e,n){return{changes:e,commands:n}}function dH(e,n,t){for(var r=0,a=pH(e);r<a.length;r++){var i=a[r];Ga.contains(n,i.code)&&t(i)}}function pH(e){var n=e.program,t=e.sourceFile;e=e.cancellationToken;return $u($u($u([],n.getSemanticDiagnostics(t,e),!0),n.getSyntacticDiagnostics(t,e),!0),Ga.computeSuggestionDiagnostics(t,n,e),!0)}function mH(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 _H(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 fH(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 gH(e,n,t,r,a,i){var o=e.sourceFile,s=e.program,c=(e=e.cancellationToken,function(e,n,t,r,a){if(e=function(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),e){for(var i,o=e.isCompleteFix,s=function(e){var s,c,l,u,d=a.getSymbolAtLocation(e);return d?(c=(s=ei.tryCast(d.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&&vH(s.initializer)&&(u=r.getSemanticDiagnostics(n,t),!ei.FindAllReferences.Core.eachSymbolReferenceInFile(c,a,n,(function(t){return e!==t&&(t=t,r=u,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:d}):(o=!1,"continue")):"continue"},c=0,l=e.identifiers;c<l.length;c++){var u=l[c];s(u)}return i&&{initializers:i,needsSecondPassForFixAll:!o}}}(n,o,e,s,r));if(c)return e=a((function(e){ei.forEach(c.initializers,(function(n){return n=n.expression,bH(e,t,o,r,n,i)})),i&&c.needsSecondPassForFixAll&&bH(e,t,o,r,n,i)})),ni.createCodeFixActionWithoutFixAll("addMissingAwaitToInitializer",e,1===c.initializers.length?[ei.Diagnostics.Add_await_to_initializer_for_0,c.initializers[0].declarationSymbol.name]:ei.Diagnostics.Add_await_to_initializers)}function yH(e,n,t,r,a,i){return a=a((function(a){return bH(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 hH(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}))})))&&vH(c)?c:void 0}function vH(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 bH(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)&&(u=r.getSymbolAtLocation(c))&&i.has(ei.getSymbolId(u)))){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)&&(u=r.getSymbolAtLocation(a.parent.expression))&&i.has(ei.getSymbolId(u)))return;e.replaceNode(t,a.parent.expression,ei.factory.createParenthesizedExpression(ei.factory.createAwaitExpression(a.parent.expression))),EH(e,a.parent.expression,t)}else if(ei.contains(ai,n)&&ei.isCallOrNewExpression(a.parent)){if(i&&ei.isIdentifier(a)&&(u=r.getSymbolAtLocation(a))&&i.has(ei.getSymbolId(u)))return;e.replaceNode(t,a,ei.factory.createParenthesizedExpression(ei.factory.createAwaitExpression(a))),EH(e,a,t)}else{var u;if(i&&ei.isVariableDeclaration(a.parent)&&ei.isIdentifier(a.parent.name)&&(u=r.getSymbolAtLocation(a.parent.name))&&!ei.tryAddToSet(i,ei.getSymbolId(u)))return;e.replaceNode(t,a,ei.factory.createAwaitExpression(a))}}function EH(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 TH(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:!function(e){switch(e.kind){case 79:case 202:case 203:case 291:case 292:return 1;default:return}}(e)&&"quit"}));if(i)return SH(e,i,n,a);var o;i=t.parent;return oi.isBinaryExpression(i)&&63===i.operatorToken.kind&&oi.isExpressionStatement(i.parent)?SH(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)}))?SH(e,i,n,a):void 0):(i=oi.findAncestor(t,(function(e){return!!oi.isExpressionStatement(e.parent)||!function(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())?SH(e,i,n,a):void 0)}function SH(e,n,t,r){r&&!oi.tryAddToSet(r,n)||e.insertModifierBefore(t,85,n)}function xH(e,n,t,r){t=ui.getTokenAtPosition(n,t);!ui.isIdentifier(t)||165!==(t=t.parent).kind||r&&!ui.tryAddToSet(r,t)||e.insertModifierBefore(n,134,t)}function LH(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 DH(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 AH(e,n){return e=Ti.getTokenAtPosition(e,n),Ti.tryCast((Ti.isParameter(e.parent)?e.parent:e).parent,CH)}function CH(e){return n=e,(Ti.isFunctionLikeDeclaration(n)||252===n.kind||164===n.kind||165===n.kind)&&IH(e);var n}function IH(e){return Ti.isFunctionLikeDeclaration(e)?e.parameters.some(IH)||!e.type&&!!Ti.getJSDocReturnType(e):!e.type&&!!Ti.getJSDocType(e)}function NH(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,kH(o))}r&&e.insertNodeAfter(n,Ti.last(t.parameters),Ti.factory.createToken(21)),t.type||(r=Ti.getJSDocReturnType(t))&&e.tryInsertTypeAnnotation(n,t,kH(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,kH(r))}function kH(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,kH),Ti.factory.createTypeReferenceNode("undefined",Ti.emptyArray)]);case 310:return kH(e.type);case 309:return Ti.factory.createUnionTypeNode([Ti.visitNode(e.type,kH),Ti.factory.createTypeReferenceNode("null",Ti.emptyArray)]);case 313:return Ti.factory.createArrayTypeNode(Ti.visitNode(e.type,kH));case 312:return n=e,Ti.factory.createFunctionTypeNode(Ti.emptyArray,n.parameters.map(RH),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 function(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,kH):Ti.factory.createNodeArray([Ti.factory.createTypeReferenceNode("any",Ti.emptyArray)])}return Ti.factory.createTypeReferenceNode(t,r);default:return t=Ti.visitEachChild(e,kH,Ti.nullTransformationContext),Ti.setEmitFlags(t,1),t}}function RH(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,kH),e.initializer)}function OH(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,u,d=[];return(8192&t.flags||4096&t.flags)&&(o=t.valueDeclaration,c=(s=o.parent).right,u=o,l=c,Di.isAccessExpression(u)?Di.isPropertyAccessExpression(u)&&wH(u)||Di.isFunctionLike(l):Di.every(u.properties,(function(e){return!!(Di.isMethodDeclaration(e)||Di.isGetOrSetAccessorDeclaration(e)||Di.isPropertyAssignment(e)&&Di.isFunctionExpression(e.initializer)&&e.name||wH(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))?(u=Di.getQuotePreference(n,a),(l=function(e,n,t){return 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,u))?p(d,c,l):d):Di.isObjectLiteralExpression(c)?Di.flatMap(c.properties,(function(e){return Di.isMethodDeclaration(e)||Di.isGetOrSetAccessorDeclaration(e)?d.concat(e):Di.isPropertyAssignment(e)&&Di.isFunctionExpression(e.initializer)?p(d,e.initializer,e.name):wH(e)?d:[]})):(Di.isSourceFileJS(n)||Di.isPropertyAccessExpression(o)&&(u=Di.factory.createPropertyDeclaration(void 0,r,o.name,void 0,void 0,c),Di.copyLeadingComments(s.parent,u,n),d.push(u)),d):(d.push(Di.factory.createPropertyDeclaration([],r,t.name,void 0,void 0,void 0)),d)):d;function p(e,t,a){return Di.isFunctionExpression(t)?(i=e,o=t,c=a,l=Di.concatenate(r,PH(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,PH(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=PH(o,93),Di.factory.createClassDeclaration(void 0,s,o.name,void 0,void 0,r))):Di.isVariableDeclaration(t)&&(s=function(e){var n=e.initializer;if(n&&Di.isFunctionExpression(n)&&Di.isIdentifier(e.name)){var t=c(e.symbol);return n.body&&t.unshift(Di.factory.createConstructorDeclaration(void 0,void 0,n.parameters,n.body)),n=PH(e.parent.parent,93),Di.factory.createClassDeclaration(void 0,n,e.name,void 0,void 0,t)}}(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 PH(e,n){return Di.filter(e.modifiers,(function(e){return e.kind===n}))}function wH(e){return e.name&&!(!Di.isIdentifier(e.name)||"constructor"!==e.name.text)}function MH(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,u,d=Ni.isInJSFile(a),p=(i=r,(p=a).body?(o=new Ni.Set,Ni.forEachChild(p.body,(function e(n){FH(n,i,"then")?(o.add(Ni.getNodeId(n)),Ni.forEach(n.arguments,e)):FH(n,i,"catch")?(o.add(Ni.getNodeId(n)),Ni.forEachChild(n,e)):GH(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,u=Ni.createMultiMap(),Ni.forEachChild(m,(function e(n){var t,r,a,i,o;Ni.isIdentifier(n)?(t=s.getSymbolAtLocation(n))&&(o=zH(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=u.get(i))&&a.some((function(e){return e!==t}))?(a=BH(n,u),l.set(r,a.identifier),c.set(r,a)):(a=Ni.getSynthesizedDeepClone(n),c.set(r,QH(a))),u.add(i,t)):(o=BH(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),u),c.set(r,o),u.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:d};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++)!function(t){Ni.forEachChild(t,(function r(a){var i;Ni.isCallExpression(a)?(i=VH(a,g),e.replaceNodeWithNodes(n,t,i)):Ni.isFunctionLike(a)||Ni.forEachChild(a,r)}))}(h[y])}}}}function FH(e,n,t){if(Ni.isCallExpression(e))return(t=Ni.hasPropertyAccessExpressionWithName(e,t)&&n.getTypeAtLocation(e))&&n.getPromisedTypeOfPromise(t)}function GH(e,n){return Ni.isExpression(e)&&n.getPromisedTypeOfPromise(n.getTypeAtLocation(e))}function BH(e,n){return n=(n.get(e.text)||Ni.emptyArray).length,QH(0===n?e:Ni.factory.createIdentifier(e.text+"_"+n))}function UH(){return Pi=!1,Ni.emptyArray}function VH(e,n,t){var r,a,i,o,s,c,l,u,d,p,m,_,f;return FH(e,n.checker,"then")?0===e.arguments.length?UH():(f=n,d=t,r=(s=(m=e).arguments)[0],s=s[1],_=qH(r,f),r=HH(r,d,_,m,f),s?(a=qH(s,f),c=Ni.factory.createBlock(VH(m.expression,f,_).concat(r)),s=HH(s,d,a,m,f),d=a?$H(a)?a.identifier.text:a.bindingPattern:"e",a=Ni.factory.createVariableDeclaration(d),d=Ni.factory.createCatchClause(a,Ni.factory.createBlock(s)),[Ni.factory.createTryStatement(c,d,void 0)]):VH(m.expression,f,_).concat(r)):FH(e,n.checker,"catch")?(a=e,i=n,o=t,s=Ni.singleOrUndefined(a.arguments),c=s?qH(s,i):void 0,o&&!eW(a,i)&&($H(o)?(p=o,i.synthNamesMap.forEach((function(e,n){e.identifier.text===o.identifier.text&&(e=QH(Ni.factory.createUniqueName(o.identifier.text,16)),i.synthNamesMap.set(n,e))}))):p=QH(Ni.factory.createUniqueName("result",16),o.types),p.hasBeenDeclared=!0),d=Ni.factory.createBlock(VH(a.expression,i,p)),s=s?HH(s,p,c,a,i):Ni.emptyArray,c=c?$H(c)?c.identifier.text:c.bindingPattern:"e",c=Ni.factory.createVariableDeclaration(c),c=Ni.factory.createCatchClause(c,Ni.factory.createBlock(s)),p&&!eW(a,i)&&(u=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(u,void 0,p)],l=Ni.factory.createVariableStatement(void 0,Ni.factory.createVariableDeclarationList(s,1))),a=Ni.factory.createTryStatement(d,c,void 0),p=o&&u&&1===o.kind&&Ni.factory.createVariableStatement(void 0,Ni.factory.createVariableDeclarationList([Ni.factory.createVariableDeclaration(Ni.getSynthesizedDeepClone(o.bindingPattern),void 0,void 0,u)],2)),Ni.compact([l,a,p])):Ni.isPropertyAccessExpression(e)?VH(e.expression,n,t):(m=n.checker.getTypeAtLocation(e))&&n.checker.getPromisedTypeOfPromise(m)?(Ni.Debug.assertNode(e.original.parent,Ni.isPropertyAccessExpression),f=t,eW(_=e,n)?[Ni.factory.createReturnStatement(Ni.getSynthesizedDeepClone(_))]:jH(f,Ni.factory.createAwaitExpression(_),void 0)):UH()}function jH(e,n,t){return!e||XH(e)?[Ni.factory.createExpressionStatement(n)]:$H(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(YH(e)),void 0,t,n)],2))]}function KH(e,n){var t;return n&&e?(t=Ni.factory.createUniqueName("result",16),$u($u([],jH(QH(t),e,n),!0),[Ni.factory.createReturnStatement(t)],!1)):[Ni.factory.createReturnStatement(e)]}function HH(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,$H(t)?[t.identifier]:[]),eW(r,a)?KH(_,null==(o=r.typeArguments)?void 0:o[0]):(o=a.checker.getTypeAtLocation(e),(o=a.checker.getSignaturesOfType(o,0)).length?(o=o[0].getReturnType(),_=jH(n,Ni.factory.createAwaitExpression(_),null==(_=r.typeArguments)?void 0:_[0]),n&&n.types.push(o),_):UH());break;case 211:case 212:var o=e.body,s=null==(_=zH(a.checker.getTypeAtLocation(e),a.checker))?void 0:_.getReturnType();if(Ni.isBlock(o)){for(var c=[],l=!1,u=0,d=o.statements;u<d.length;u++){var p,m=d[u];Ni.isReturnStatement(m)?(l=!0,Ni.isReturnStatementWithFixablePromiseHandler(m,a.checker)?c=c.concat(JH(a,[m],n)):(p=s&&m.expression?WH(a.checker,s,m.expression):m.expression,c.push.apply(c,KH(p,null==(i=r.typeArguments)?void 0:i[0])))):c.push(m)}if(eW(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=GH(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(YH(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(YH(f),void 0,void 0,Ni.factory.createIdentifier("undefined"))],2))),h}return 0<(y=JH(a,Ni.isFixablePromiseHandler(o,a.checker)?[Ni.factory.createReturnStatement(o)]:Ni.emptyArray,n)).length?y:s?(p=WH(a.checker,s,o),eW(r,a)?KH(p,null==(o=r.typeArguments)?void 0:o[0]):(o=jH(n,p,void 0),n&&n.types.push(s),o)):UH();default:return UH()}return Ni.emptyArray}function WH(e,n,t){return t=Ni.getSynthesizedDeepClone(t),e.getPromisedTypeOfPromise(n)?Ni.factory.createAwaitExpression(t):t}function zH(e,n){return n=n.getSignaturesOfType(e,0),Ni.lastOrUndefined(n)}function JH(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=VH(a,e,t),(r=r.concat(i)).length):Ni.isFunctionLike(a)||Ni.forEachChild(a,n)}))}return r}function qH(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 ZH(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())||QH(e,r)}}function XH(e){return!e||($H(e)?!e.identifier.text:Ni.every(e.elements,XH))}function YH(e){return $H(e)?e.identifier:e.bindingPattern}function QH(e,n){return{kind:0,identifier:e,types:n=void 0===n?[]:n,hasBeenDeclared:!1}}function ZH(e,n,t){return{kind:1,bindingPattern:e,elements:n=void 0===n?Ni.emptyArray:n,types:t=void 0===t?[]:t}}function $H(e){return 0===e.kind}function eW(e,n){return e.original&&n.setOfExpressionsToReturn.has(Ni.getNodeId(e.original))}function nW(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 tW(e,n,t,r,a,i,o){var s,c=n.declarationList,l=!1,u=wi.map(c.declarations,(function(n){var t=n.name,s=n.initializer;if(s){if(wi.isExportsOrModuleExportsOrAlias(e,s))return l=!0,mW([]);if(wi.isRequireCall(s,!0)){l=!0;var u=t,d=s.arguments[0],p=r,m=a,_=i,f=o;switch(u.kind){case 199:var g=wi.mapAllOrFail(u.elements,(function(e){return e.dotDotDotToken||e.initializer||e.propertyName&&!wi.isIdentifier(e.propertyName)||!wi.isIdentifier(e.name)?void 0:uW(e.propertyName&&e.propertyName.text,e.name.text)}));if(g)return mW([wi.makeImport(void 0,g,d,f)]);case 200:return g=oW(Mi.moduleSpecifierToValidIdentifier(d.text,_),m),mW([wi.makeImport(wi.factory.createIdentifier(g),void 0,d,f),dW(void 0,wi.getSynthesizedDeepClone(u),wi.factory.createIdentifier(g))]);case 79:return function(e,n,t,r,a){for(var i,o=t.getSymbolAtLocation(e),s=new wi.Map,c=!1,l=0,u=r.original.get(e.text);l<u.length;l++){var d,p,m,_=u[l];t.getSymbolAtLocation(_)===o&&_!==e&&(d=_.parent,wi.isPropertyAccessExpression(d)?"default"===(p=d.name.text)?(c=!0,m=_.getText(),(null!=i?i:i=new wi.Map).set(d,wi.factory.createIdentifier(m))):(wi.Debug.assert(d.expression===_,"Didn't expect expression === use"),void 0===(m=s.get(p))&&(m=oW(p,r),s.set(p,m)),(null!=i?i:i=new wi.Map).set(d,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),mW([wi.makeImport(c?wi.getSynthesizedDeepClone(e):void 0,f,n,a)],i)}(u,d,p,m,f);default:return wi.Debug.assertNever(u,"Convert to ES6 module got invalid name kind "+u.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=oW(h,b);return mW([lW(T,h,v,E),dW(void 0,y,wi.factory.createIdentifier(T))]);case 79:return mW([lW(y.text,h,v,E)]);default:return wi.Debug.assertNever(y,"Convert to ES6 module got invalid syntax form "+y.kind)}return}}return mW([wi.factory.createVariableStatement(void 0,wi.factory.createVariableDeclarationList([n],c.flags))])}));if(l)return t.replaceNodeWithNodes(e,n,wi.flatMap(u,(function(e){return e.newImports}))),wi.forEach(u,(function(e){e.useSitesToUnqualify&&wi.copyEntries(e.useSitesToUnqualify,null!=s?s:s=new wi.Map)})),s}function rW(e){return pW(void 0,e)}function aW(e){return pW([wi.factory.createExportSpecifier(void 0,"default")],e)}function iW(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 oW(e,n){for(;n.original.has(e)||n.additional.has(e);)e="_"+e;return n.additional.add(e),e}function sW(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 cW(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(iW(t.body,r)))}function lW(e,n,t,r){return"default"===n?wi.makeImport(wi.factory.createIdentifier(e),void 0,t,r):wi.makeImport(void 0,[uW(n,e)],t,r)}function uW(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 pW(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 mW(e,n){return{newImports:e,useSitesToUnqualify:n}}function _W(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 fW(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 gW(e,n){return Vi.tryCast(Vi.getTokenAtPosition(n,e.start).parent,Vi.isExportSpecifier)}function yW(e,n,t){var r,a,i;n&&(r=(i=n.parent).parent,(a=function(e,n){var t=e.parent;if(1===t.elements.length)return t.elements;var r=Vi.getDiagnosticsWithinSpan(Vi.createTextSpanFromNode(t),n.program.getSemanticDiagnostics(n.sourceFile,n.cancellationToken));return Vi.filter(t.elements,(function(n){return n===e||(null==(n=Vi.findDiagnosticForNode(n,r))?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 hW(e,n){return Wi.tryCast(Wi.getTokenAtPosition(n,e.start).parent,Wi.isImportDeclaration)}function vW(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 bW(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 EW(e,n,t){var r=t.container,a=t.typeNode,i=t.constraint;t=t.name;e.replaceNode(n,r,Xi.factory.createMappedTypeNode(void 0,Xi.factory.createTypeParameterDeclaration(t,Xi.factory.createTypeReferenceNode(i)),void 0,void 0,a))}function TW(e,n){return $i.Debug.checkDefined($i.getContainingClass($i.getTokenAtPosition(e,n)),"There should be a containing class")}function SW(e){return!(e.valueDeclaration&&8&$i.getEffectiveModifierFlags(e.valueDeclaration))}function xW(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(SW))):$i.createSymbolTable()),c=o.getTypeAtLocation(n),l=o.getPropertiesOfType(c).filter($i.and(SW,(function(e){return!s.has(e.escapedName)}))),u=(n=o.getTypeAtLocation(r),$i.find(r.members,(function(e){return $i.isConstructorDeclaration(e)})));n.getNumberIndexType()||d(c,1),n.getStringIndexType()||d(c,0),n=eo.createImportAdder(t,e.program,i,e.host);function d(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){u?a.insertNodeAfter(e,u,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 LW(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=kW(n,e.code,e.start,t),n&&n.fixes.length&&u(n)},addImportFromExportedSymbol:function(o,s){var c=ro.Debug.checkDefined(o.parent),l=ro.getNameForExportedSymbol(o,ro.getEmitScriptTarget(i)),d=n.getTypeChecker();o=d.getMergedSymbol(ro.skipAlias(o,d)),d=AW(e,o,c,l,a,n,r,t),o=!!s&&2===i.importsNotUsedAsValues,s=IW(e,n),d=DW(e,d,c,l,n,void 0,o,s,a,r);d&&u({fixes:[d],symbolName:l})},writeFixes:function(n){for(var t=ro.getQuotePreference(e,r),a=0,i=o;a<i.length;a++){var u=i[a];FW(n,e,u)}for(var d,p=0,m=s;p<m.length;p++)u=m[p],GW(n,e,u,t);c.forEach((function(t){var r=t.importClauseOrBindingPattern,a=t.defaultImport,i=t.namedImports;t=t.canUseTypeOnlyImport;MW(n,e,r,a,i,t)})),l.forEach((function(e,n){var r=e.useRequire;e=rd(e,["useRequire"]),r=r?VW:UW;d=ro.combine(d,r(n,t,e))})),d&&ro.insertImports(n,e,d,!0)}};function u(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,u=r.canUseTypeOnlyImport,d=String(ro.getNodeId(a));(p=c.get(d))||c.set(d,p={importClauseOrBindingPattern:a,defaultImport:void 0,namedImports:[],canUseTypeOnlyImport:u}),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;d=r.moduleSpecifier,i=r.importKind,a=r.useRequire,u=r.typeOnly;switch((p=l.get(d))?p.typeOnly=p.typeOnly&&u:l.set(d,p={namedImports:[],namespaceLikeImport:void 0,typeOnly:u,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 DW(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"),RW(CW(n,r,i,o,s,a,e,c,l),e,a,c,l)}function AW(e,n,t,r,a,i,o,s){var c=[],l=i.getCompilerOptions(),u=ro.memoizeOne((function(e){return ro.createModuleSpecifierResolutionHost(e?a.getPackageJsonAutoImportProvider():i,a)}));return ro.forEachExternalModuleToImportFrom(i,a,s,(function(a,i,o,s){var u=o.getTypeChecker();if(!i||a===t||!ro.startsWith(e.fileName,ro.getDirectoryPath(i.fileName))){var p=ro.getDefaultLikeExportInfo(a,u,l);p&&(p.name===r||HW(a,l.target)===r)&&ro.skipAlias(p.symbol,u)===n&&d(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,u).flags,isFromPackageJson:s});for(var m=0,_=u.getExportsAndPropertiesOfModule(a);m<_.length;m++){var f=_[m];f.name===r&&ro.skipAlias(f,u)===n&&d(o,i,s)&&c.push({symbol:f,moduleSymbol:a,moduleFileName:null==i?void 0:i.fileName,exportKind:0,targetFlags:ro.skipAlias(f,u).flags,isFromPackageJson:s})}}})),c;function d(n,t,r){return!t||ro.isImportableFile(n,e,t,o,void 0,u(r),null==(n=a.getModuleSpecifierCache)?void 0:n.call(a))}}function CW(e,n,t,r,a,i,o,s,c){var l,u,d,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=PW(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,u=t,d=m,ro.firstDefined(_,(function(e){e=e.declaration;var n=function(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=function(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,d),e&&e.exports.has(ro.escapeLeadingUnderscores(l))))return{kind:0,namespacePrefix:n,position:u,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]:function(e,n,t,r,a,i,o,s,c){return 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?[n]:NW(t,r,a,i,o,e,s,c).fixes}(e,_,i,o,t,r,a,s,c);return $u($u([],n?[n]:ro.emptyArray,!0),f,!0)}function IW(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 NW(e,n,t,r,a,i,o,s,c){var l=ro.isSourceFileJS(n),u=e.getCompilerOptions(),d=ro.createModuleSpecifierResolutionHost(e,o),p=e.getTypeChecker(),m=c?function(e){return{moduleSpecifiers:ro.moduleSpecifiers.tryGetModuleSpecifiersFromCache(e,n,d,s),computedWithoutCache:!1}}:function(e){return ro.moduleSpecifiers.getModuleSpecifiersWithCacheInfo(e,p,u,n,d,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:PW(n,e.exportKind,u),useRequire:a,typeOnly:r,exportInfo:e}:{kind:1,moduleSpecifier:i,position:t,exportInfo:e}}))}));return{computedWithoutCacheCount:_,fixes:o}}function kW(e,n,t,r){t=ro.getTokenAtPosition(e.sourceFile,t);var a,i,o,s,c,l,u,d,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?function(e,n){var t,r=e.sourceFile,a=e.program,i=e.host,o=(e=e.preferences,a.getTypeChecker()),s=function(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=IW(r,a),{fixes:CW(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=function(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"),u=2===f.importsNotUsedAsValues&&ro.isValidTypeOnlyAliasUseSite(a),d=IW(i,o),t=function(e,n,t,r,a,i,o,s){var c,l=ro.createMultiMap(),u=ro.createPackageJsonImportFilter(r,s,o),d=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,u,c,d)||!n&&u.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||HW(r,c.target)===e)&&KW(l.symbolForMeaning,n)&&m(r,a,l.symbol,l.exportKind,i,o),c=s.tryGetMemberInModuleExportsAndProperties(e,r);c&&KW(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],CW(e[1],l,a.getStart(i),u,d,o,i,s,c)}))),symbolName:l}):void 0;return f&&ed(ed({},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)||OW(e,n,p,m,_)})))})}function RW(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===OW(r,e,n,t,i)?r:e})))}function OW(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 PW(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,u=a.statements;l<u.length;l++){var d=u[l];if(ro.isImportEqualsDeclaration(d)&&!ro.nodeIsMissing(d.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 wW(e,n,t,r,a){var i;e=ro.textChanges.ChangeTracker.with(e,(function(e){i=function(e,n,t,r,a){switch(r.kind){case 0:return FW(e,n,r),[ro.Diagnostics.Change_0_to_1,t,r.namespacePrefix+"."+t];case 1:return GW(e,n,r,a),[ro.Diagnostics.Change_0_to_1,t,BW(r.moduleSpecifier,a)+t];case 2:var i=r.importClauseOrBindingPattern,o=r.importKind,s=r.canUseTypeOnlyImport,c=r.moduleSpecifier;i=(MW(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?VW:UW,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 MW(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,u=r;l<u.length;l++){var d=u[l],p=ro.OrganizeImports.getImportSpecifierInsertionIndex(c,d);p=t.namedBindings.elements[p-1];p?e.insertNodeInListAfter(n,p,d):e.insertNodeBefore(n,c[0],d,!ro.positionsAreOnSameLine(c[0].getStart(),t.parent.getStart(),n))}else if(null!=c&&c.length)for(var m=0,_=r;m<_.length;m++)d=_[m],e.insertNodeInListAfter(n,ro.last(c),d,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 FW(e,n,t){var r=t.namespacePrefix;t=t.position;e.insertText(n,t,r+".")}function GW(e,n,t,r){var a=t.moduleSpecifier;t=t.position;e.insertText(n,t,BW(a,r))}function BW(e,n){return n=ro.getQuoteFromPreference(n),"import("+n+e+n+")."}function UW(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 VW(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=jW(ro.factory.createObjectBindingPattern(n),e),r=ro.combine(r,a)),t.namespaceLikeImport&&(a=jW(t.namespaceLikeImport.name,e),r=ro.combine(r,a)),ro.Debug.checkDefined(r)}function jW(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 KW(e,n){return e=e.declarations,ro.some(e,(function(e){return!!(ro.getMeaningFromDeclaration(e)&n)}))}function HW(e,n){return WW(ro.removeFileExtension(ro.stripQuotes(e.name)),n)}function WW(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 zW(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=qW(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=qW(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 JW(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 qW(e,n){return e=so.getTokenAtPosition(e,n),n=so.findAncestor(e,(function(e){return so.isClassLike(e)?"quit":JW(e)})),so.Debug.assert(n&&JW(n)),n}function XW(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 YW(e,n){return mo.cast(mo.getTokenAtPosition(e,n).parent,mo.isPropertyAccessExpression)}function QW(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 ZW(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,function(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 $W(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 ez(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 nz(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)&&tz(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(tz(e,n,ez(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)]),tz(e,n,ez(e,o.label,o.statement.expression),t,r)))return{declaration:n,kind:No.MissingReturnStatement,expression:i,statement:a,commentSource:o}}}}function tz(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 rz(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)?nz(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))?nz(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=function(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?nz(e,i,e.getTypeAtLocation(a.parent),!0):void 0}}}function az(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 iz(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 oz(e,n,t,r){e.replaceNode(n,t.body,Co.factory.createParenthesizedExpression(r))}function sz(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=function(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&&!cz(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&&!cz(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))&&!cz(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)||cz(r,c.getSourceFile())?void 0:{kind:0,token:n,parentDeclaration:c}}}}}function cz(e,n){return e.isSourceFileFromExternalLibrary(n)||e.isSourceFileDefaultLibrary(n)}function lz(e,n,t,r,a){var i=r.text;a?224!==t.kind&&(a=t.name.getText(),a=uz(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=mz(t))?e.insertNodeAfter(n,r,a):e.insertNodeAtClassStart(n,t,a)):(r=Mo.getFirstConstructorWithBody(t))&&(a=uz(Mo.factory.createThis(),i),e.insertNodeAtConstructorEnd(n,r,a))}function uz(e,n){return Mo.factory.createExpressionStatement(Mo.factory.createAssignment(Mo.factory.createPropertyAccessExpression(e,n),bz()))}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 pz(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=mz(t),r?e.insertNodeAfter(n,r,i):e.insertNodeAtClassStart(n,t,i)}function mz(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 _z(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 fz(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 gz(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 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=t.parentDeclaration.attributes,s=Mo.some(o.properties,Mo.isJsxSpreadAttribute);t=Mo.map(t.attributes,(function(e){var t=e.valueDeclaration?vz(n,i,r,a,i.getTypeAtLocation(e.valueDeclaration)):bz();return Mo.factory.createJsxAttribute(Mo.factory.createIdentifier(e.name),Mo.factory.createJsxExpression(void 0,t))})),s=Mo.factory.createJsxAttributes(s?$u($u([],t,!0),o.properties,!0):$u($u([],o.properties,!0),t,!0)),t={prefix:o.pos===o.end?" ":void 0};e.replaceNode(n.sourceFile,o,s,t)}function hz(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?vz(n,i,r,a,i.getTypeAtLocation(e.valueDeclaration)):bz();return Mo.factory.createPropertyAssignment(e.name,t)}));e.replaceNode(n.sourceFile,t.parentDeclaration,Mo.factory.createObjectLiteralExpression($u($u([],t.parentDeclaration.properties,!0),o,!0),!0))}function vz(e,n,t,r,a){var i,o;return 3&a.flags?bz():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 vz(e,n,t,r,a)})))?o:bz():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?vz(e,n,t,r,n.getTypeAtLocation(a.valueDeclaration)):bz();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:bz():!(1&Mo.getObjectFlags(a))||void 0===(o=Mo.getClassLikeDeclarationOfSymbol(a.symbol))||Mo.hasAbstractModifier(o)||(o=Mo.getFirstConstructorWithBody(o))&&Mo.length(o.parameters)?bz():Mo.factory.createNewExpression(Mo.factory.createIdentifier(a.symbol.name),void 0,void 0)}function bz(){return Mo.factory.createIdentifier("undefined")}function Ez(e,n,t){t=Ko.cast(function(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 Tz(e,n){return{type:"install package",file:e,packageName:n}}function Sz(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 xz(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 Lz(e,n){return e=Zo.getTokenAtPosition(e,n),Zo.cast(e.parent,Zo.isClassLike)}function Dz(e,n,t,r,a){var i=Zo.getEffectiveBaseTypeNode(e),o=t.program.getTypeChecker();i=o.getTypeAtLocation(i),o=o.getPropertiesOfType(i).filter(Az),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 Az(e){return e=Zo.getSyntacticModifierFlags(Zo.first(e.getDeclarations())),!(8&e||!(128&e))}function Cz(e,n,t,r){e.insertNodeAtConstructorStart(n,t,r),e.delete(n,r)}function Iz(e,n){var t=ts.getTokenAtPosition(e,n);return 108===t.kind&&(n=Nz((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 Nz(e){return ts.isExpressionStatement(e)&&ts.isSuperCall(e.expression)?e:ts.isFunctionLike(e)?void 0:ts.forEachChild(e,Nz)}function kz(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 Rz(e,n,t){var r=os.factory.createExpressionStatement(os.factory.createCallExpression(os.factory.createSuper(),void 0,os.emptyArray));e.insertNodeAtConstructorStart(n,t,r)}function Oz(e,n){ds.setJsonCompilerOptionValue(e,n,"experimentalDecorators",us.factory.createTrue())}function Pz(e,n){fs.setJsonCompilerOptionValue(e,n,"jsx",_s.factory.createStringLiteral("react"))}function wz(e,n,t){e.replaceNode(n,t,bs.factory.createPropertyAssignment(t.name,t.objectAssignmentInitializer))}function Mz(e,n){return bs.cast(bs.getTokenAtPosition(e,n).parent,bs.isShorthandPropertyAssignment)}function Fz(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 Gz(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 Bz(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 Uz(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 Vz(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 jz(e,n,t){e.replaceNode(n,t.parent,Bs.factory.createKeywordTypeNode(153))}function Kz(e,n){return Us.createCodeFixAction(Vs,e,n,Ks,Bs.Diagnostics.Delete_all_unused_declarations)}function Hz(e,n,t){e.delete(n,Bs.Debug.checkDefined(Bs.cast(t.parent,Bs.isDeclarationWithTypeParameterChildren).typeParameters,"The type parameter to delete should exist"))}function Wz(e){return 100===e.kind||79===e.kind&&(268===e.parent.kind||265===e.parent.kind)}function zz(e){return 100===e.kind?Bs.tryCast(e.parent,Bs.isImportDeclaration):void 0}function Jz(e,n){return Bs.isVariableDeclarationList(n.parent)&&Bs.first(n.parent.getChildren(e))===n}function qz(e,n,t){e.delete(n,235===t.parent.kind?t.parent:t)}function Xz(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))&&function(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 Yz(e,n,t,r,a,i,o,s){var c,l,u,d,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,function(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 u=0,d=l;u<d.length;u++)for(var p=d[u],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||!function(e,n,t){return 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)||Zz(s,t,o);case 211:case 212:return Zz(s,t,o);case 171:return;default:return Bs.Debug.failBadSyntaxKind(s)}}(d=y,l=g,u=v,p=a,i,o,m=void 0!==(m=h)&&m)&&(u.modifiers&&0<u.modifiers.length&&(!Bs.isIdentifier(u.name)||Bs.FindAllReferences.Core.isSymbolReferencedInFile(u.name,d,l))?u.modifiers.forEach((function(e){return c.deleteModifier(l,e)})):!u.initializer&&Qz(u,d,p)&&c.delete(l,u))):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 Qz(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 Zz(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 $z(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(function(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 eJ(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 nJ(e,n,t,r,a){e.replaceNode(n,t,a.typeToTypeNode(r,t,void 0))}function tJ(e,n,t){return e=nc.findAncestor(nc.getTokenAtPosition(e,n),rJ),n=e&&e.type,n&&{typeNode:n,type:t.getTypeFromTypeNode(n)}}function rJ(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 aJ(e,n,t){e.replaceNodeWithText(n,t,t.text+"()")}function iJ(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 oJ(e,n){n=uc.getTokenAtPosition(e,n);var t,r=uc.getContainingFunction(n);if(r){switch(r.kind){case 167:t=r.name;break;case 254:case 211:t=uc.findChildOfKind(r,98,e);break;case 212:t=uc.findChildOfKind(r,20,e)||uc.first(r.parameters);break;default:return}return t&&{insertBefore:t,returnType:(n=r).type||(uc.isVariableDeclaration(n.parent)&&n.parent.type&&uc.isFunctionTypeNode(n.parent.type)?n.parent.type.type:void 0)}}}function sJ(e,n,t){var r,a=t.insertBefore;t=t.returnType;!t||(r=uc.getEntityNameFromTypeNode(t))&&79===r.kind&&"Promise"===r.text||e.replaceNode(n,t,uc.factory.createTypeReferenceNode("Promise",uc.factory.createNodeArray([t]))),e.insertModifierBefore(n,130,a)}function cJ(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 lJ(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,u=vc.createImportAdder(n,a,c,s);switch(r=function(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)?(uJ(e,u,n,l,a,s,i),u.writeFixes(e),l):hc.isPropertyAccessExpression(l)?(d=gJ(l.name,a,i),(d=hc.getTypeNodeIfAccessible(d,l,a,s))&&(d=hc.factory.createJSDocTypeTag(void 0,hc.factory.createJSDocTypeExpression(d),void 0),_J(e,n,hc.cast(l.parent.parent,hc.isExpressionStatement),[d])),u.writeFixes(e),l):void 0;case hc.Diagnostics.Variable_0_implicitly_has_an_1_type.code:var d=a.getTypeChecker().getSymbolAtLocation(t);return d&&d.valueDeclaration&&hc.isVariableDeclaration(d.valueDeclaration)&&o(d.valueDeclaration)?(uJ(e,u,n,d.valueDeclaration,a,s,i),u.writeFixes(e),d.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,u,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=u,b=n,E=y,T=g,S=a,x=s,L=i;if(hc.isIdentifier(E.name))if(E=function(e,n,t,r){return n=yJ(e,n,t,r),n&&hJ(t,n,r).parameters(e)||e.parameters.map((function(e){return{declaration:e,type:hc.isIdentifier(e.name)?gJ(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))mJ(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||pJ(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)&&(pJ(e,u,n,g,gJ(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,u,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=yJ(T=g,y=n,m=a,_=i))&&f.length&&(f=hJ(m,f,_).thisParameter(),_=hc.getTypeNodeIfAccessible(f,T,m,L))&&(hc.isInJSFile(T)?_J(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 u.writeFixes(e),p}}}function uJ(e,n,t,r,a,i,o){hc.isIdentifier(r.name)&&pJ(e,n,t,r,gJ(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=gJ(r.name,a,o))===a.getTypeChecker().getAnyType()&&(s=gJ(c.name,a,o)),hc.isInJSFile(r)?mJ(e,t,[{declaration:c,type:s}],a,i):pJ(e,n,t,c,s,a,i))}function pJ(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),_J(e,t,o,[hc.isGetAccessorDeclaration(r)?hc.factory.createJSDocReturnTag(void 0,s,void 0):hc.factory.createJSDocTypeTag(void 0,s,void 0)])):function(e,n,t,r,a,i){if(e=vc.tryGetAutoImportableReferenceFromTypeNode(e,i),e&&r.tryInsertTypeAnnotation(t,n,e.typeNode))return 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 mJ(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,t=e.typeNode;e=e.isOptional;return hc.factory.createJSDocParameterTag(void 0,n,!!e,hc.factory.createJSDocTypeExpression(t),!1,void 0)})),_J(e,n,o,i)))}function _J(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=function(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($u($u([],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 fJ(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 gJ(e,n,t){return hJ(n,fJ(e,n,t),t).single()}function yJ(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 fJ(i,t,r)}function hJ(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 d(s(n))},parameters:function(a){if(0!==n.length&&a.parameters){for(var i=o(),l=0,u=n;l<u.length;l++){var p=u[l];t.throwIfCancellationRequested(),c(p,i)}var m=$u($u([],i.constructs||[],!0),i.calls||[],!0);return a.parameters.map((function(n,i){for(var o=[],c=hc.isRestParameter(n),l=!1,u=0,p=m;u<p.length;u++){var _=p[u];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(fJ(n.name,e,t)),o.push.apply(o,c?hc.mapDefined(g,r.getElementTypeOfArrayType):g));var g=d(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 d(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,u=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 d=r.getTypeAtLocation(s.left===i?s.right:s.left);1056&d.flags?f(u,d):u.isNumber=!0;break;case 64:case 39:d=r.getTypeAtLocation(s.left===i?s.right:s.left),1056&d.flags?f(u,d):296&d.flags?u.isNumber=!0:402653316&d.flags?u.isString=!0:1&d.flags||(u.isNumberOrString=!0);break;case 63:case 34:case 36:case 37:case 35:f(u,r.getTypeAtLocation(s.left===i?s.right:s.left));break;case 101:i===s.left&&(u.isString=!0);break;case 56:case 60:i!==s.left||252!==i.parent.parent.kind&&!hc.isAssignmentExpression(i.parent.parent,!0)||f(u,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),b=o(),c(x,b),296&D.flags?L.numberIndex=b:L.stringIndex=b);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:var T=e.parent,S=T.name;T=T.initializer;if(e===S){T&&f(n,r.getTypeAtLocation(T));break}default:l(e,n)}var x,L,D}function l(e,n){hc.isExpressionNode(e)&&f(n,r.getContextualType(e))}function u(e){return d(p(e))}function d(e){var n,t;return e.length?(n=r.getUnionType([r.getStringType(),r.getNumberType()]),(t=(e=function(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(function(e){if(1===e.length)return e[0];for(var n=[],t=[],a=[],i=[],o=!1,s=!1,c=hc.createMultiMap(),l=0,u=e;l<u.length;l++){for(var d=u[l],p=0,m=r.getPropertiesOfType(d);p<m.length;p++){var _=m[p];c.add(_.name,_.valueDeclaration?r.getTypeOfSymbolAtLocation(_,_.valueDeclaration):r.getAnyType())}n.push.apply(n,r.getSignaturesOfType(d,0)),t.push.apply(t,r.getSignaturesOfType(d,1));var f=r.getIndexInfoOfType(d,0);f=(f&&(a.push(f.type),o=o||f.isReadonly),r.getIndexInfoOfType(d,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(u(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=u(e),t.set(n,a)})),o=n.calls?[_(n.calls)]:[],s=n.constructs?[_(n.constructs)]:[],n=n.stringIndex?[r.createIndexInfo(r.getStringType(),u(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,function(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,u(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,u(e),o))})),a[n.symbol.escapedName](d(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],u=c[0],d=t,p=[],_=0;_<l.parameters.length;_++){var f=l.parameters[_],g=u.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,d))}return e=r.getReturnTypeOfSignature(l),c=r.getReturnTypeOfSignature(u),p.push.apply(p,m(e,c,d)),p}function _(e){for(var n=[],t=Math.max.apply(Math,e.map((function(e){return e.argumentTypes.length}))),a=0;a<t;a++)!function(t){var a=r.createSymbol(1,hc.escapeLeadingUnderscores("arg"+t));a.type=d(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=u(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 vJ(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 bJ(e,n,t,r){e.replaceNode(n,t,Tc.factory.createTypeReferenceNode("Promise",[r]))}function EJ(e,n,t,r){var a=Dc.getLineAndCharacterOfPosition(n,t).line;r&&!Dc.tryAddToSet(r,a)||e.insertCommentBeforeLine(n,a,t," @ts-ignore")}function TJ(e){return{trackSymbol:function(){return!1},moduleResolverHost:kc.getModuleSpecifierResolverHost(e.program,e.host)}}function SJ(e,n,t,r,a,i,o,s,c,l){var u=n.program,d=u.getTypeChecker(),p=kc.getEmitScriptTarget(u.getCompilerOptions());u=d.signatureToSignatureDeclaration(r,e,c,1073742081|(0===t?268435456:0),TJ(n));if(u)return d=u.typeParameters,r=u.parameters,e=u.type,l&&(d&&d!==(c=kc.sameMap(d,(function(e){var n,t=e.constraint,r=e.default;return t&&(n=kJ(t,p))&&(t=n.typeNode,OJ(l,n.symbols)),r&&(n=kJ(r,p))&&(r=n.typeNode,OJ(l,n.symbols)),kc.factory.updateTypeParameterDeclaration(e,e.name,t,r)})))&&(d=kc.setTextRange(kc.factory.createNodeArray(c,d.hasTrailingComma),d)),r!==(t=kc.sameMap(r,(function(e){var n=kJ(e.type,p),t=e.type;return n&&(t=n.typeNode,OJ(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=kJ(e,p))&&(e=n.typeNode,OJ(l,n.symbols)),c=s?kc.factory.createToken(57):void 0,t=u.asteriskToken,kc.isFunctionExpression(u)?kc.factory.updateFunctionExpression(u,o,u.asteriskToken,kc.tryCast(i,kc.isIdentifier),d,r,e,null!=a?a:u.body):kc.isArrowFunction(u)?kc.factory.updateArrowFunction(u,o,d,r,e,u.equalsGreaterThanToken,null!=a?a:u.body):kc.isMethodDeclaration(u)?kc.factory.updateMethodDeclaration(u,void 0,o,t,null!=i?i:kc.factory.createIdentifier(""),c,d,r,e,a):void 0}function xJ(e,n,t,r,a,i,o){return e=e.typeToTypeNode(t,r,i,o),e&&kc.isImportTypeNode(e)&&(t=kJ(e,a))&&(OJ(n,t.symbols),e=t.typeNode),kc.getSynthesizedDeepClone(e)}function LJ(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 DJ(e){return AJ(kc.Diagnostics.Method_not_implemented.message,e)}function AJ(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 CJ(e,n,t){var r=kc.getTsConfigObjectLiteralExpression(n);if(r){var a=NJ(r,"compilerOptions");if(void 0===a)e.insertNodeAtObjectStart(n,r,IJ("compilerOptions",kc.factory.createObjectLiteralExpression(t.map((function(e){return IJ(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],u=(c=c[1],NJ(i,l));void 0===u?e.insertNodeAtObjectStart(n,i,IJ(l,c)):e.replaceNode(n,u.initializer,c)}}}}function IJ(e,n){return kc.factory.createPropertyAssignment(kc.factory.createStringLiteral(e),n)}function NJ(e,n){return kc.find(e.properties,(function(e){return kc.isPropertyAssignment(e)&&!!e.name&&kc.isStringLiteral(e.name)&&e.name.text===n}))}function kJ(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?RJ(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 RJ(e,n){return 79===e.kind?n:kc.factory.createQualifiedName(RJ(e.left,n),e.right)}function OJ(e,n){n.forEach((function(n){return e.addImportFromExportedSymbol(n,!0)}))}function PJ(e){return Rc.isParameterPropertyDeclaration(e,e.parent)||Rc.isPropertyDeclaration(e)||Rc.isPropertyAssignment(e)}function wJ(e,n){return Rc.isIdentifier(n)?Rc.factory.createIdentifier(e):Rc.factory.createStringLiteral(e)}function MJ(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 FJ(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,PJ);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=wJ((a=Rc.startsWithUnderscore(r))?r:Rc.getUniqueName("_"+r,e),i.name),e=wJ(a?Rc.getUniqueName(r.substring(1),e):r,i.name),{isStatic:Rc.hasStaticModifier(i),isReadonly:Rc.hasEffectiveReadonlyModifier(i),type:function(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($u($u([],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 GJ(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 BJ(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 UJ(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(BJ(r,a,l,Oc.makeImport(i.name,void 0,l.moduleSpecifier,Oc.getQuotePreference(a,r.preferences)))),Oc.getEmitModuleKind(c)===Oc.ModuleKind.CommonJS&&o.push(BJ(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 VJ(e,n){return e=Mc.getTokenAtPosition(e,n),Mc.isIdentifier(e)?Mc.cast(e.parent,Mc.isPropertyDeclaration):void 0}function jJ(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 KJ(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 HJ(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 WJ(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 zJ(e,n,t){var r=t.allowSyntheticDefaults,a=t.defaultImportName,i=t.namedImports,o=t.statement;t=t.required;e.replaceNode(n,o,a&&!r?Kc.factory.createImportEqualsDeclaration(void 0,void 0,!1,a,Kc.factory.createExternalModuleReference(t)):Kc.factory.createImportDeclaration(void 0,void 0,Kc.factory.createImportClause(!1,a,i),t))}function JJ(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)?function(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 qJ(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 XJ(e,n,t,r){e.replaceNode(n,t.importNode,Jc.makeImport(t.name,void 0,t.moduleSpecifier,Jc.getQuotePreference(n,r)))}function YJ(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 QJ(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 ZJ(e,n,t){var r=nl.factory.updateImportTypeNode(t,t.argument,t.qualifier,t.typeArguments,!0);e.replaceNode(n,t,r)}function $J(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 eq(e,n,t){var r=function(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 nq(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 tq(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($u($u($u([],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 rq(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 aq(e,n){return bl.findAncestor(bl.getTokenAtPosition(e,n.start),bl.isImportDeclaration)}function iq(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 oq(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 sq(e,n,t){t=t.node;var r=Al.factory.createToken(27);e.replaceNode(n,t,r)}function cq(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=function(e){return 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 lq(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)&&u.getSymbolAtLocation(e)?void 0:{error:wl.getLocaleSpecificMessage(wl.Diagnostics.Can_only_convert_named_export)}}var l,u=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 d,p=i;return 2&p.declarationList.flags&&1===p.declarationList.declarations.length&&(d=wl.first(p.declarationList.declarations)).initializer?(wl.Debug.assert(!s,"Can't have a default flag here"),c(d.name)||{exportNode:p,exportName:d.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 uq(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 pq(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 mq(e){return Ul.isPropertyAccessExpression(e)?e.name:e.right}function _q(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 fq(e){return Wl.isBinaryExpression(e)||Wl.isConditionalExpression(e)}function gq(e){return fq(e)||(e=e,Wl.isExpressionStatement(e))||Wl.isReturnStatement(e)||Wl.isVariableStatement(e)}function yq(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)return 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?function(e){for(;e.parent;){if(gq(e)&&!gq(e.parent))return e;e=e.parent}}(n):function(e,n){for(;e.parent;){if(gq(e)&&0!==n.length&&e.end>=n.start+n.length)return e;e=e.parent}}(n,e),a=t&&gq(t)?function(e){return fq(e)?e:Wl.isVariableStatement(e)?(n=Wl.getSingleVariableOfVariableStatement(e),(n=null==n?void 0:n.initializer)&&fq(n)?n:void 0):e.expression&&fq(e.expression)?e.expression:void 0;var n}(t):void 0,a?(n=r.getTypeChecker(),Wl.isConditionalExpression(a)?(e=a,t=n,r=e.condition,n=Eq(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))&&vq(r,n.expression)?{finalExpression:n,occurrences:[r],expression:e}:Wl.isBinaryExpression(r)?(t=hq(n.expression,r))?{finalExpression:n,occurrences:t,expression:e}:{error:Wl.getLocaleSpecificMessage(Wl.Diagnostics.Could_not_find_matching_access_expressions)}:void 0):(r=a,55!==r.operatorToken.kind?{error:Wl.getLocaleSpecificMessage(Wl.Diagnostics.Can_only_convert_logical_AND_access_chains)}:(n=Eq(r.right),n?(t=hq(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)}))):{error:Wl.getLocaleSpecificMessage(Wl.Diagnostics.Could_not_find_convertible_access_expression)}}function hq(e,n){for(var t=[];Wl.isBinaryExpression(n)&&55===n.operatorToken.kind;){var r=vq(Wl.skipParentheses(e),Wl.skipParentheses(n.right));if(!r)break;t.push(r),e=r,n=n.left}var a=vq(e,n);return a&&t.push(a),0<t.length?t:void 0}function vq(e,n){return(Wl.isIdentifier(n)||Wl.isPropertyAccessExpression(n)||Wl.isElementAccessExpression(n))&&function(e,n){for(;(Wl.isCallExpression(e)||Wl.isPropertyAccessExpression(e)||Wl.isElementAccessExpression(e))&&bq(e)!==bq(n);)e=e.expression;for(;Wl.isPropertyAccessExpression(e)&&Wl.isPropertyAccessExpression(n)||Wl.isElementAccessExpression(e)&&Wl.isElementAccessExpression(n);){if(bq(e)!==bq(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 bq(e){return Wl.isIdentifier(e)||Wl.isStringOrNumericLiteralLike(e)?e.getText():Wl.isPropertyAccessExpression(e)?bq(e.name):Wl.isElementAccessExpression(e)?bq(e.argumentExpression):void 0}function Eq(e){return e=Wl.skipParentheses(e),Wl.isBinaryExpression(e)?Eq(e.left):(Wl.isPropertyAccessExpression(e)||Wl.isElementAccessExpression(e)||Wl.isCallExpression(e))&&!Wl.isOptionalChain(e)?e:void 0}function Tq(e){switch(e.kind){case 166:case 167:case 172:case 169:case 173:case 254:return!0}return!1}function Sq(e,n,t){if(n=Yl.getTokenAtPosition(e,n),n=Yl.findAncestor(n,Tq),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}))&&Tq(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 xq(e){var n=e.kind,t=Aq(e.file,eu.getRefactorContextSpan(e),"invoked"===e.triggerReason),r=t.targetRange;if(void 0===r)return t.errors&&0!==t.errors.length&&e.preferences.provideRefactorNotApplicableReason?(a=[],nu.refactorKindBeginsWith(ou.kind,n)&&a.push({name:au,description:ou.description,actions:[ed(ed({},ou),{notApplicableReason:v(t.errors)})]}),nu.refactorKindBeginsWith(iu.kind,n)&&a.push({name:au,description:iu.description,actions:[ed(ed({},iu),{notApplicableReason:v(t.errors)})]}),a):eu.emptyArray;a=(t=Iq(t=r,a=e)).scopes,t=t.readsAndWrites,i=t.functionErrorsPerScope,o=t.constantErrorsPerScope;var a,i,o;r=a.map((function(e,n){a=e;var t,r,a=eu.isFunctionLikeDeclaration(a)?"inner function":eu.isClassLike(a)?"method":"function",s=eu.isClassLike(e)?"readonly field":"constant",c=eu.isFunctionLikeDeclaration(e)?function(e){switch(e.kind){case 169:return"constructor";case 211:case 254:return e.name?"function '"+e.name.text+"'":eu.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 eu.Debug.assertNever(e,"Unexpected scope kind "+e.kind)}}(e):eu.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=eu.formatStringFromArgs(eu.getLocaleSpecificMessage(eu.Diagnostics.Extract_to_0_in_1_scope),[a,"global"]),eu.formatStringFromArgs(eu.getLocaleSpecificMessage(eu.Diagnostics.Extract_to_0_in_1_scope),[s,"global"])):0===c?(r=eu.formatStringFromArgs(eu.getLocaleSpecificMessage(eu.Diagnostics.Extract_to_0_in_1_scope),[a,"module"]),eu.formatStringFromArgs(eu.getLocaleSpecificMessage(eu.Diagnostics.Extract_to_0_in_1_scope),[s,"module"])):(r=eu.formatStringFromArgs(eu.getLocaleSpecificMessage(eu.Diagnostics.Extract_to_0_in_1),[a,c]),eu.formatStringFromArgs(eu.getLocaleSpecificMessage(eu.Diagnostics.Extract_to_0_in_1),[s,c]));return 0!==n||eu.isClassLike(e)||(a=eu.formatStringFromArgs(eu.getLocaleSpecificMessage(eu.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 eu.emptyArray;for(var s,c,l=[],u=new eu.Map,d=[],p=new eu.Map,m=0,_=0,f=r;_<f.length;_++){var g=f[_],y=g.functionExtraction,h=(g=g.constantExtraction,y.description);nu.refactorKindBeginsWith(ou.kind,n)&&(0===y.errors.length?u.has(h)||(u.set(h,!0),l.push({description:h,name:"function_scope_"+m,kind:ou.kind})):s=s||{description:h,name:"function_scope_"+m,notApplicableReason:v(y.errors),kind:ou.kind}),nu.refactorKindBeginsWith(iu.kind,n)&&(0===g.errors.length?(y=g.description,p.has(y)||(p.set(y,!0),d.push({description:y,name:"constant_scope_"+m,kind:iu.kind}))):c=c||{description:h,name:"constant_scope_"+m,notApplicableReason:v(g.errors),kind:iu.kind}),m++}return t=[],l.length?t.push({name:au,description:eu.getLocaleSpecificMessage(eu.Diagnostics.Extract_function),actions:l}):e.preferences.provideRefactorNotApplicableReason&&s&&t.push({name:au,description:eu.getLocaleSpecificMessage(eu.Diagnostics.Extract_function),actions:[s]}),d.length?t.push({name:au,description:eu.getLocaleSpecificMessage(eu.Diagnostics.Extract_constant),actions:d}):e.preferences.provideRefactorNotApplicableReason&&c&&t.push({name:au,description:eu.getLocaleSpecificMessage(eu.Diagnostics.Extract_constant),actions:[c]}),t.length?t:eu.emptyArray;function v(e){return e=e[0].messageText,"string"!=typeof e?e.messageText:e}}function Lq(e,n){var t=Aq(e.file,eu.getRefactorContextSpan(e)).targetRange,r=/^function_scope_(\d+)$/.exec(n);if(r){var a,i=+r[1],o=(eu.Debug.assert(isFinite(i),"Expected to parse a finite number from the function scope index"),r=i,d=Iq(p=t,g=e),l=d.scopes,d=d.readsAndWrites,c=d.target,u=d.usagesPerScope,o=d.functionErrorsPerScope,d=d.exposedVariableDeclarations,eu.Debug.assert(!o[r].length,"The extraction went missing? How?"),g.cancellationToken.throwIfCancellationRequested(),c),s=l[r],c=u[r],l=d,u=p,d=(r=g,c.usages),p=c.typeParameterUsages,m=(c=c.substitutions,r.program.getTypeChecker()),_=eu.getEmitScriptTarget(r.program.getCompilerOptions()),f=eu.codefix.createImportAdder(r.file,r.program,r.preferences,r.host),g=s.getSourceFile(),y=(g=eu.getUniqueName(eu.isClassLike(s)?"newMethod":"newFunction",g),eu.isInJSFile(s)),h=eu.factory.createIdentifier(g),v=[],b=[];d.forEach((function(e,n){y||(t=m.getTypeOfSymbolAtLocation(e.symbol,e.node),t=m.getBaseTypeOfLiteralType(t),t=eu.codefix.typeToAutoImportableTypeNode(m,f,t,s,_,1));var t=eu.factory.createParameterDeclaration(void 0,void 0,void 0,n,void 0,t);v.push(t),2===e.usage&&(a=a||[]).push(e),b.push(eu.factory.createIdentifier(n))})),d=void 0!==(p=0===(d=eu.arrayFrom(p.values()).map((function(e){return{type:e,declaration:function(e){var n;e=e.symbol;if(e&&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(Nq)).length?void 0:d.map((function(e){return e.declaration})))?p.map((function(e){return eu.factory.createTypeReferenceNode(e.name,void 0)})):void 0,eu.isExpression(o)&&!y&&(j=m.getContextualType(o),j=m.typeToTypeNode(j,s,1));var E=(c=function(e,n,t,r,a){var i,o=void 0!==t||0<n.length;if(eu.isBlock(e)&&!o&&0===r.size)return{body:eu.factory.createBlock(e.statements,!0),returnValueProperty:void 0};var s,c=!1,l=eu.factory.createNodeArray(eu.isBlock(e)?e.statements.slice(0):[eu.isStatement(e)?e:eu.factory.createReturnStatement(e)]);return o||r.size?(s=eu.visitNodes(l,(function e(a){var s,l;return!c&&eu.isReturnStatement(a)&&o?(s=kq(n,t),a.expression&&(i=i||"__return",s.unshift(eu.factory.createPropertyAssignment(i,eu.visitNode(a.expression,e)))),1===s.length?eu.factory.createReturnStatement(s[0].name):eu.factory.createReturnStatement(eu.factory.createObjectLiteralExpression(s))):(c=(s=c)||eu.isFunctionLikeDeclaration(a)||eu.isClassLike(a),l=r.get(eu.getNodeId(a).toString()),l=l?eu.getSynthesizedDeepClone(l):eu.visitEachChild(a,e,eu.nullTransformationContext),c=s,l)})).slice(),o&&!a&&eu.isStatement(e)&&(1===(a=kq(n,t)).length?s.push(eu.factory.createReturnStatement(a[0].name)):s.push(eu.factory.createReturnStatement(eu.factory.createObjectLiteralExpression(a)))),{body:eu.factory.createBlock(s,!0),returnValueProperty:i}):{body:eu.factory.createBlock(l,!0),returnValueProperty:void 0}}(o,l,a,c,!!(u.facts&ru.HasReturn))).body,T=(c=c.returnValueProperty,eu.suppressLeadingAndTrailingTrivia(E),k=eu.isClassLike(s)?(k=y?[]:[eu.factory.createModifier(121)],u.facts&ru.InStaticRegion&&k.push(eu.factory.createModifier(124)),u.facts&ru.IsAsyncFunction&&k.push(eu.factory.createModifier(130)),eu.factory.createMethodDeclaration(void 0,k.length?k:void 0,u.facts&ru.IsGenerator?eu.factory.createToken(41):void 0,h,void 0,p,v,j,E)):eu.factory.createFunctionDeclaration(void 0,u.facts&ru.IsAsyncFunction?[eu.factory.createToken(130)]:void 0,u.facts&ru.IsGenerator?eu.factory.createToken(41):void 0,h,p,v,j,E),h=eu.textChanges.ChangeTracker.fromContext(r),(p=function(e,n){return eu.find(function(e){if(eu.isFunctionLikeDeclaration(e)){var n=e.body;if(eu.isBlock(n))return n.statements}else{if(eu.isModuleBlock(e)||eu.isSourceFile(e))return e.statements;if(eu.isClassLike(e))return e.members;eu.assertType(e)}return eu.emptyArray}(n),(function(n){return n.pos>=e&&eu.isFunctionLikeDeclaration(n)&&!eu.isConstructorDeclaration(n)}))}((Rq(u.range)?eu.last(u.range):u.range).end,s))?h.insertNodeBefore(r.file,p,k,!0):h.insertNodeAtEndOfScope(r.file,s,k),f.writeFixes(h),[]);E=function(e,n,t){return t=eu.factory.createIdentifier(t),eu.isClassLike(e)?(n=n.facts&ru.InStaticRegion?eu.factory.createIdentifier(e.name.text):eu.factory.createThis(),eu.factory.createPropertyAccessExpression(n,t)):t}(s,u,g),p=eu.factory.createCallExpression(E,d,b);if(u.facts&ru.IsGenerator&&(p=eu.factory.createYieldExpression(eu.factory.createToken(41),p)),u.facts&ru.IsAsyncFunction&&(p=eu.factory.createAwaitExpression(p)),wq(o)&&(p=eu.factory.createJsxExpression(void 0,p)),l.length&&!a)if(eu.Debug.assert(!c,"Expected no returnValueProperty"),eu.Debug.assert(!(u.facts&ru.HasReturn),"Expected RangeFacts.HasReturn flag to be unset"),1===l.length){var S=l[0];T.push(eu.factory.createVariableStatement(void 0,eu.factory.createVariableDeclarationList([eu.factory.createVariableDeclaration(eu.getSynthesizedDeepClone(S.name),void 0,eu.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(eu.factory.createBindingElement(void 0,void 0,eu.getSynthesizedDeepClone(S.name))),m.typeToTypeNode(m.getBaseTypeOfLiteralType(m.getTypeAtLocation(S)),s,1));L.push(eu.factory.createPropertySignature(void 0,S.symbol.name,void 0,N)),A=A||void 0!==S.type,D&=S.parent.flags}var k=A?eu.factory.createTypeLiteralNode(L):void 0;k&&eu.setEmitFlags(k,1),T.push(eu.factory.createVariableStatement(void 0,eu.factory.createVariableDeclarationList([eu.factory.createVariableDeclaration(eu.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(eu.factory.createVariableStatement(void 0,eu.factory.createVariableDeclarationList([eu.factory.createVariableDeclaration(S.symbol.name,void 0,w(S.type))],P)))}c&&T.push(eu.factory.createVariableStatement(void 0,eu.factory.createVariableDeclarationList([eu.factory.createVariableDeclaration(c,void 0,w(j))],1))),E=kq(l,a),c&&E.unshift(eu.factory.createShorthandPropertyAssignment(c)),1===E.length?(eu.Debug.assert(!c,"Shouldn't have returnValueProperty here"),T.push(eu.factory.createExpressionStatement(eu.factory.createAssignment(E[0].name,p))),u.facts&ru.HasReturn&&T.push(eu.factory.createReturnStatement())):(T.push(eu.factory.createExpressionStatement(eu.factory.createAssignment(eu.factory.createObjectLiteralExpression(E),p))),c&&T.push(eu.factory.createReturnStatement(eu.factory.createIdentifier(c))))}else u.facts&ru.HasReturn?T.push(eu.factory.createReturnStatement(p)):Rq(u.range)?T.push(eu.factory.createExpressionStatement(p)):T.push(p);return Rq(u.range)?h.replaceNodeRangeWithNodes(r.file,eu.first(u.range),eu.last(u.range),T):h.replaceNodeWithNodes(r.file,u.range,T),d=h.getChanges(),o=(Rq(u.range)?eu.first(u.range):u.range).getSourceFile().fileName,k=eu.getRenameLocation(d,o,g,!1),{renameFilename:o,renameLocation:k,edits:d};function w(e){if(void 0!==e){e=eu.getSynthesizedDeepClone(e);for(var n=e;eu.isParenthesizedTypeNode(n);)n=n.type;return eu.isUnionTypeNode(n)&&eu.find(n.types,(function(e){return 151===e.kind}))?e:eu.factory.createUnionTypeNode([e,eu.factory.createKeywordTypeNode(151)])}}}var M,F,G,B,U,V,j=/^constant_scope_(\d+)$/.exec(n);if(j)return i=+j[1],eu.Debug.assert(isFinite(i),"Expected to parse a finite number from the constant scope index"),l=i,p=Iq(E=t,c=e),r=p.scopes,p=p.readsAndWrites,h=p.target,u=p.usagesPerScope,g=p.constantErrorsPerScope,p=p.exposedVariableDeclarations,eu.Debug.assert(!g[l].length,"The extraction went missing? How?"),eu.Debug.assert(0===p.length,"Extract constant accepted a range containing a variable declaration?"),c.cancellationToken.throwIfCancellationRequested(),B=eu.isExpression(h)?h:h.statements[0].expression,U=r[l],o=u[l],k=E.facts,d=c,o=o.substitutions,V=d.program.getTypeChecker(),n=U.getSourceFile(),n=eu.getUniqueName(eu.isClassLike(U)?"newProperty":"newLocal",n),i=eu.isInJSFile(U),t=i||!V.isContextSensitive(B)?void 0:V.typeToTypeNode(V.getContextualType(B),U,1),o=function(e,n){return n.size?function e(t){var r=n.get(eu.getNodeId(t).toString());return r?eu.getSynthesizedDeepClone(r):eu.visitEachChild(t,e,eu.nullTransformationContext)}(e):e}(B,o),e=function(e,n){if(void 0!==e&&(eu.isFunctionExpression(n)||eu.isArrowFunction(n))&&!n.typeParameters){var t=V.getTypeAtLocation(B);t=eu.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(eu.factory.updateParameterDeclaration(l,l.decorators,l.modifiers,l.dotDotDotToken,l.name,l.questionToken,l.type||V.typeToTypeNode(c,U,1),l.initializer)))}i||(e=void 0,n=eu.isArrowFunction(n)?eu.factory.updateArrowFunction(n,B.modifiers,n.typeParameters,a,n.type||V.typeToTypeNode(t.getReturnType(),U,1),n.equalsGreaterThanToken,n.body):(t&&t.thisParameter&&(!(r=eu.firstOrUndefined(a))||eu.isIdentifier(r.name)&&"this"!==r.name.escapedText)&&(r=V.getTypeOfSymbolAtLocation(t.thisParameter,B),a.splice(0,0,eu.factory.createParameterDeclaration(void 0,void 0,void 0,"this",void 0,V.typeToTypeNode(r,U,1)))),eu.factory.updateFunctionExpression(n,B.modifiers,n.asteriskToken,n.name,n.typeParameters,a,n.type||V.typeToTypeNode(t.getReturnType(),U,1),n.body)))}}return{variableType:e,initializer:n}}(t,o),t=e.variableType,o=e.initializer,eu.suppressLeadingAndTrailingTrivia(o),e=eu.textChanges.ChangeTracker.fromContext(d),eu.isClassLike(U)?(eu.Debug.assert(!i,"Cannot extract to a JS class"),(i=[]).push(eu.factory.createModifier(121)),k&ru.InStaticRegion&&i.push(eu.factory.createModifier(124)),i.push(eu.factory.createModifier(143)),i=eu.factory.createPropertyDeclaration(void 0,i,n,void 0,t,o),G=eu.factory.createPropertyAccessExpression(k&ru.InStaticRegion?eu.factory.createIdentifier(U.name.getText()):eu.factory.createThis(),eu.factory.createIdentifier(n)),wq(B)&&(G=eu.factory.createJsxExpression(void 0,G)),F=function(e,n){for(var t,r=n.members,a=(eu.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&&!eu.isPropertyDeclaration(s)){if(void 0!==t)return s;a=!1}t=s}return void 0===t?eu.Debug.fail():t}(B.pos,U),e.insertNodeBefore(d.file,F,i,!0),e.replaceNode(d.file,B,G)):(k=eu.factory.createVariableDeclaration(n,void 0,t,o),(i=function(e,n){for(var t;void 0!==e&&e!==n;){if(eu.isVariableDeclaration(e)&&e.initializer===t&&eu.isVariableDeclarationList(e.parent)&&1<e.parent.declarations.length)return e;e=(t=e).parent}}(B,U))?(e.insertNodeBefore(d.file,i,k),G=eu.factory.createIdentifier(n),e.replaceNode(d.file,B,G)):236===B.parent.kind&&U===eu.findAncestor(B,Cq)?(M=eu.factory.createVariableStatement(void 0,eu.factory.createVariableDeclarationList([k],2)),e.replaceNode(d.file,B.parent,M)):(M=eu.factory.createVariableStatement(void 0,eu.factory.createVariableDeclarationList([k],2)),0===(F=function(e,n){var t;eu.Debug.assert(!eu.isClassLike(n));for(var r=e;r!==n;r=r.parent)Cq(r)&&(t=r);for(r=(t||e).parent;;r=r.parent){if(Pq(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&&eu.isCaseClause(r)?(eu.Debug.assert(eu.isSwitchStatement(r.parent.parent),"Grandparent isn't a switch statement"),r.parent.parent):eu.Debug.checkDefined(a,"prevStatement failed to get set")}eu.Debug.assert(r!==n,"Didn't encounter a block-like before encountering scope")}}(B,U)).pos?e.insertNodeAtTopOfFile(d.file,M,!1):e.insertNodeBefore(d.file,F,M,!1),236===B.parent.kind?e.delete(d.file,B.parent):(G=eu.factory.createIdentifier(n),wq(B)&&(G=eu.factory.createJsxExpression(void 0,G)),e.replaceNode(d.file,B,G)))),t=e.getChanges(),o=B.getSourceFile().fileName,i=eu.getRenameLocation(t,o,n,!0),{renameFilename:o,renameLocation:i,edits:t};eu.Debug.fail("Unrecognized action name")}function Dq(e){return{message:e,code:0,category:eu.DiagnosticCategory.Message,key:e}}function Aq(e,n,t){void 0===t&&(t=!0);var r=n.length;if(0===r&&!t)return{errors:[eu.createFileDiagnostic(e,n.start,r,tu.cannotExtractEmpty)]};var a=0===r&&t,i=eu.findFirstNonJsxWhitespaceToken(e,n.start),o=eu.findTokenOnLeftOfPosition(e,eu.textSpanEnd(n)),s=(t=i&&o&&t?function(e,n,t){return e=e.getStart(t),n=n.getEnd(),59===t.text.charCodeAt(n)&&n++,{start:e,length:n-e}}(i,o,e):n,a?eu.findAncestor(i,(function(e){return e.parent&&Oq(e)&&!eu.isBinaryExpression(e.parent)})):eu.getParentNodeInSpan(i,e,t)),c=a?s:eu.getParentNodeInSpan(o,e,t),l=[],u=ru.None;if(!s||!c)return{errors:[eu.createFileDiagnostic(e,n.start,r,tu.cannotExtractRange)]};if(eu.isJSDoc(s))return{errors:[eu.createFileDiagnostic(e,n.start,r,tu.cannotExtractJSDoc)]};if(s.parent!==c.parent)return{errors:[eu.createFileDiagnostic(e,n.start,r,tu.cannotExtractRange)]};if(s===c)return eu.isReturnStatement(s)&&!s.expression?{errors:[eu.createFileDiagnostic(e,n.start,r,tu.cannotExtractRange)]}:(a=function(e){if(eu.isIdentifier(eu.isExpressionStatement(e)?e.expression:e))return[eu.createDiagnosticForNode(e,tu.cannotExtractIdentifier)]}(i=function(e){if(eu.isReturnStatement(e)){if(e.expression)return e.expression}else if(eu.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(eu.isVariableDeclaration(e)&&e.initializer)return e.initializer;return e}(s))||g(i))?{errors:a}:{targetRange:{range:function(e){return eu.isStatement(e)?[e]:eu.isExpressionNode(e)?eu.isExpressionStatement(e.parent)?[e.parent]:e:void 0}(i),facts:u,declarations:l}};if(!Pq(s.parent))return{errors:[eu.createFileDiagnostic(e,n.start,r,tu.cannotExtractRange)]};for(var d=[],p=0,m=s.parent.statements;p<m.length;p++){var _=m[p];if(_===s||d.length){var f=g(_);if(f)return{errors:f};d.push(_)}if(_===c)break}return d.length?{targetRange:{range:d,facts:u,declarations:l}}:{errors:[eu.createFileDiagnostic(e,n.start,r,tu.cannotExtractRange)]};function g(e){if(eu.Debug.assert(e.pos<=e.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (1)"),eu.Debug.assert(!eu.positionIsSynthesized(e.pos),"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (2)"),!(eu.isStatement(e)||eu.isExpressionNode(e)&&Oq(e)))return[eu.createDiagnosticForNode(e,tu.statementOrExpressionExpected)];if(8388608&e.flags)return[eu.createDiagnosticForNode(e,tu.cannotExtractAmbientBlock)];var t,r=eu.getContainingClass(e);if(r)for(var a=r,i=e;i!==a;){if(165===i.kind){eu.isStatic(i)&&(u|=ru.InStaticRegion);break}if(162===i.kind){169===eu.getContainingFunction(i).kind&&(u|=ru.InStaticRegion);break}167===i.kind&&eu.isStatic(i)&&(u|=ru.InStaticRegion),i=i.parent}var o,s=4;return function e(r){if(t)return!0;if(eu.isDeclaration(r)){var a=252===r.kind?r.parent.parent:r;if(eu.hasSyntacticModifier(a,1))return(t=t||[]).push(eu.createDiagnosticForNode(r,tu.cannotExtractExportedEntity)),!0;l.push(r.symbol)}switch(r.kind){case 264:return(t=t||[]).push(eu.createDiagnosticForNode(r,tu.cannotExtractImport)),!0;case 269:return(t=t||[]).push(eu.createDiagnosticForNode(r,tu.cannotExtractExportedEntity)),!0;case 106:if(206===r.parent.kind){var i=eu.getContainingClass(r);if(i.pos<n.start||i.end>=n.start+n.length)return(t=t||[]).push(eu.createDiagnosticForNode(r,tu.cannotExtractSuper)),!0}else u|=ru.UsesThis;break;case 212:eu.forEachChild(r,(function e(n){if(eu.isThis(n))u|=ru.UsesThis;else{if(eu.isClassLike(n)||eu.isFunctionLike(n)&&!eu.isArrowFunction(n))return!1;eu.forEachChild(n,e)}}));case 255:case 254:eu.isSourceFile(r.parent)&&void 0===r.parent.externalModuleIndicator&&(t=t||[]).push(eu.createDiagnosticForNode(r,tu.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:eu.isIterationStatement(r,!1)&&(s|=3)}switch(r.kind){case 190:case 108:u|=ru.UsesThis;break;case 248:var c=r.label;(o=o||[]).push(c.escapedText),eu.forEachChild(r,e),o.pop();break;case 244:case 243:(c=r.label)?eu.contains(o,c.escapedText)||(t=t||[]).push(eu.createDiagnosticForNode(r,tu.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange)):s&(244===r.kind?1:2)||(t=t||[]).push(eu.createDiagnosticForNode(r,tu.cannotExtractRangeContainingConditionalBreakOrContinueStatements));break;case 216:u|=ru.IsAsyncFunction;break;case 222:u|=ru.IsGenerator;break;case 245:4&s?u|=ru.HasReturn:(t=t||[]).push(eu.createDiagnosticForNode(r,tu.cannotExtractRangeContainingConditionalReturnStatement));break;default:eu.forEachChild(r,e)}s=a}(e),t}}function Cq(e){return eu.isFunctionLikeDeclaration(e)||eu.isSourceFile(e)||eu.isModuleBlock(e)||eu.isClassLike(e)}function Iq(e,n){var t,r=n.file,a=function(e){var n=Rq(e.range)?eu.first(e.range):e.range;if(e.facts&ru.UsesThis){var t;e=eu.getContainingClass(n);if(e)return(t=eu.findAncestor(n,eu.isFunctionLikeDeclaration))?[t,e]:[e]}for(var r=[];;)if(Cq(n=162===(n=n.parent).kind?eu.findAncestor(n,(function(e){return eu.isFunctionLikeDeclaration(e)})).parent:n)&&(r.push(n),300===n.kind))return r}(e),i=(i=r,Rq((t=e).range)?{pos:eu.first(t.range).getStart(i),end:eu.last(t.range).getEnd()}:t.range);return{scopes:a,readsAndWrites:function(e,n,t,r,a,i){var o,s,c=new eu.Map,l=[],u=[],d=[],p=[],m=[],_=new eu.Map,f=[],g=Rq(e.range)?1===e.range.length&&eu.isExpressionStatement(e.range[0])?e.range[0].expression:void 0:e.range;void 0===g?(T=e.range,S=eu.first(T).getStart(),T=eu.last(T).end,s=eu.createFileDiagnostic(r,S,T-S,tu.expressionExpected)):147456&a.getTypeAtLocation(g).flags&&(s=eu.createDiagnosticForNode(g,tu.uselessConstantType));for(var y=0,h=n;y<h.length;y++){var v=h[y],b=(l.push({usages:new eu.Map,typeParameterUsages:new eu.Map,substitutions:new eu.Map}),u.push(new eu.Map),d.push([]),[]);s&&b.push(s),eu.isClassLike(v)&&eu.isInJSFile(v)&&b.push(eu.createDiagnosticForNode(v,tu.cannotExtractToJSClass)),eu.isArrowFunction(v)&&!eu.isBlock(v.body)&&b.push(eu.createDiagnosticForNode(v,tu.cannotExtractToExpressionArrowFunction)),p.push(b)}var E=new eu.Map,T=Rq(e.range)?eu.factory.createBlock(e.range):e.range,S=Rq(e.range)?eu.first(e.range):e.range,x=function(e){return!!eu.findAncestor(e,(function(e){return eu.isDeclarationWithTypeParameters(e)&&0!==eu.getEffectiveTypeParameterDeclarations(e).length}))}(S);if(function e(n,t){void 0===t&&(t=1),x&&R(a.getTypeAtLocation(n)),eu.isDeclaration(n)&&n.symbol&&m.push(n),eu.isAssignmentExpression(n)?(e(n.left,2),e(n.right)):eu.isUnaryExpressionWithWrite(n)?e(n.operand,2):eu.isPropertyAccessExpression(n)||eu.isElementAccessExpression(n)||!eu.isIdentifier(n)?eu.forEachChild(n,e):!n.parent||eu.isQualifiedName(n.parent)&&n!==n.parent.left||eu.isPropertyAccessExpression(n.parent)&&n!==n.parent.expression||O(n,t,eu.isPartOfTypeNode(n))}(T),x&&!Rq(e.range)&&R(a.getContextualType(e.range)),0<c.size){for(var L=new eu.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++),eu.isDeclarationWithTypeParameters(A))for(var C=0,I=eu.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)}eu.Debug.assert(D===n.length,"Should have iterated all scopes")}m.length&&(g=eu.isBlockScope(n[0],n[0].parent)?n[0]:eu.getEnclosingBlockScopeContainer(n[0]),eu.forEachChild(g,(function n(t){if(!(t===e.range||Rq(e.range)&&0<=e.range.indexOf(t))){var r,i,s=eu.isIdentifier(t)?P(t):a.getSymbolAtLocation(t);s&&(r=eu.find(m,(function(e){return e.symbol===s})))&&(eu.isVariableDeclaration(r)?(i=r.symbol.id.toString(),_.has(i)||(f.push(r),_.set(i,!0))):o=o||r),eu.forEachChild(t,n)}})));for(var k=0;k<n.length;k++)!function(n){var t,r,a=l[n],i=(0<n&&(0<a.usages.size||0<a.typeParameterUsages.size)&&(a=Rq(e.range)?e.range[0]:e.range,p[n].push(eu.createDiagnosticForNode(a,tu.cannotAccessVariablesFromNestedScopes))),!1);l[n].usages.forEach((function(e){2===e.usage&&(i=!0,106500&e.symbol.flags)&&e.symbol.valueDeclaration&&eu.hasEffectiveModifier(e.symbol.valueDeclaration,64)&&(t=e.symbol.valueDeclaration)})),eu.Debug.assert(Rq(e.range)||0===f.length,"No variable declarations expected if something was extracted"),i&&!Rq(e.range)?(r=eu.createDiagnosticForNode(e.range,tu.cannotWriteInExpression),d[n].push(r),p[n].push(r)):t&&0<n?(r=eu.createDiagnosticForNode(t,tu.cannotExtractReadonlyPropertyInitializerOutsideConstructor),d[n].push(r),p[n].push(r)):o&&(r=eu.createDiagnosticForNode(o,tu.cannotExtractExportedEntity),d[n].push(r),p[n].push(r))}(k);return{target:T,usagesPerScope:l,functionErrorsPerScope:d,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=function(i,o,s){var c=P(i);if(c){var m=eu.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(),_=_&&eu.find(_,(function(e){return e.getSourceFile()===r})),!_)return;if(eu.rangeContainsStartEnd(t,_.getStart(),_.end))return;if(e.facts&ru.IsGenerator&&2===o){for(var h=eu.createDiagnosticForNode(i,tu.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators),v=0,b=d;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||u[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 eu.factory.createIdentifier(n.name);if(a=e(n.parent,t,r),void 0!==a)return r?eu.factory.createQualifiedName(a,eu.factory.createIdentifier(n.name)):eu.factory.createPropertyAccessExpression(a,n.name)}}(c.exportSymbol||c,L,s))?u[x].set(m,L):s?262144&c.flags||(h=eu.createDiagnosticForNode(i,tu.typeWillNotBeVisibleInTheNewScope),d[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 _=u[m].get(c);_&&l[m].substitutions.set(eu.getNodeId(i).toString(),_)}}function P(e){return e.parent&&eu.isShorthandPropertyAssignment(e.parent)&&e.parent.name===e?a.getShorthandAssignmentValueSymbol(e.parent):a.getSymbolAtLocation(e)}}(e,a,i,r,n.program.getTypeChecker(),n.cancellationToken)}}function Nq(e,n){var t=e.type,r=(e=e.declaration,n.type);n=n.declaration;return eu.compareProperties(e,n,"pos",eu.compareValues)||eu.compareStringsCaseSensitive(t.symbol?t.symbol.getName():"",r.symbol?r.symbol.getName():"")||eu.compareValues(t.id,r.id)}function kq(e,n){return e=eu.map(e,(function(e){return eu.factory.createShorthandPropertyAssignment(e.symbol.name)})),n=eu.map(n,(function(e){return eu.factory.createShorthandPropertyAssignment(e.symbol.name)})),void 0===e?n:void 0===n?e:e.concat(n)}function Rq(e){return eu.isArray(e)}function Oq(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 Pq(e){switch(e.kind){case 233:case 300:case 260:case 287:return 1;default:return}}function wq(e){return(eu.isJsxElement(e)||eu.isJsxSelfClosingElement(e)||eu.isJsxFragment(e))&&(eu.isJsxElement(e.parent)||eu.isJsxFragment(e.parent))}function Mq(e,n){void 0===n&&(n=!0);var t,r,a,i,o,s,c=e.file,l=e.startPosition,u=su.isSourceFileJS(c),d=su.getTokenAtPosition(c,l),p=su.createTextRangeFromSpan(su.getRefactorContextSpan(e)),m=p.pos===p.end&&n;l=su.findAncestor(d,(function(e){return e.parent&&su.isTypeNode(e)&&!Fq(p,e.parent,c)&&(m||su.nodeOverlapsWithStartEnd(d,c,p.pos,p.end))}));return l&&su.isTypeNode(l)?(n=e.program.getTypeChecker(),e=su.Debug.checkDefined(su.findAncestor(l,su.isStatement),"Should find a statement"),r=n,i=e,o=c,s=[],(t=function e(n){if(su.isTypeReferenceNode(n))su.isIdentifier(n.typeName)&&null!=(c=r.resolveName(n.typeName.text,n.typeName,262144,!0))&&c.declarations&&(t=su.cast(su.first(c.declarations),su.isTypeParameterDeclaration),Fq(i,t,o))&&!Fq(a,t,o)&&su.pushIfUnique(s,t);else if(su.isInferTypeNode(n)){var t=su.findAncestor(n,(function(e){return su.isConditionalTypeNode(e)&&Fq(e.extendsType,n,o)}));if(!t||!Fq(a,t,o))return!0}else if(su.isTypePredicateNode(n)||su.isThisTypeNode(n)){if(t=su.findAncestor(n.parent,su.isFunctionLike),t&&t.type&&Fq(t.type,n,o)&&!Fq(a,t,o))return!0}else if(su.isTypeQueryNode(n)){var c;if(su.isIdentifier(n.exprName)){if(null!=(c=r.resolveName(n.exprName.text,n.exprName,111551,!1))&&c.valueDeclaration&&Fq(i,c.valueDeclaration,o)&&!Fq(a,c.valueDeclaration,o))return!0}else if(su.isThisIdentifier(n.exprName.left)&&!Fq(a,n.parent,o))return!0}return o&&su.isTupleTypeNode(n)&&su.getLineAndCharacterOfPosition(o,n.pos).line===su.getLineAndCharacterOfPosition(o,n.end).line&&su.setEmitFlags(n,1),su.forEachChild(n,e)}(a=l)?void 0:s)?{isJS:u,selection:l,firstStatement:e,typeParameters:t,typeElements:function e(n,t){if(t){if(su.isIntersectionTypeNode(t)){for(var r=[],a=new su.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&&su.addToSeen(a,su.getNameFromPropertyName(e.name))})))return;su.addRange(r,s)}return r}return su.isParenthesizedTypeNode(t)?e(n,t.type):su.isTypeLiteralNode(t)?t.members:void 0}}(n,l)}:{error:su.getLocaleSpecificMessage(su.Diagnostics.No_type_could_be_extracted_from_this_type_node)}):{error:su.getLocaleSpecificMessage(su.Diagnostics.Selection_is_not_a_valid_type_node)}}function Fq(e,n,t){return su.rangeContainsStartEnd(e,su.skipTrivia(t.text,n.pos),n.end)}function Gq(e){var n,t,r,a;e=function(e){var n=e.file,t=hu.createTextRangeFromSpan(hu.getRefactorContextSpan(e)),r=(e=n.statements,hu.findIndex(e,(function(e){return e.end>t.pos})));if(-1!==r){var a=e[r];if(hu.isNamedDeclaration(a)&&a.name&&hu.rangeContainsRange(a.name,t))return{toMove:[e[r]],afterLast:e[r+1]};if(!(t.pos>a.getStart(n))&&(a=hu.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,hu.getRangesWhere(r,Bq,(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 Bq(e){return!function(e){switch(e.kind){case 264:return 1;case 263:return!hu.hasSyntacticModifier(e,1);case 235:return e.declarationList.declarations.every((function(e){return!!e.initializer&&hu.isRequireCall(e.initializer,!0)}));default:return}}(e)&&!hu.isPrologueDirective(e)}function Uq(e,n,t){for(var r=0,a=n;r<a.length;r++){var i=a[r],o=i.first;i=i.afterLast;t.deleteNodeRangeExcludingEnd(e,o,i)}}function Vq(e){return 264===e.kind?e.moduleSpecifier:263===e.kind?e.moduleReference.expression:e.initializer.arguments[0]}function jq(e,n){if(hu.isImportDeclaration(e))hu.isStringLiteral(e.moduleSpecifier)&&n(e);else if(hu.isImportEqualsDeclaration(e))hu.isExternalModuleReference(e.moduleReference)&&hu.isStringLiteralLike(e.moduleReference.expression)&&n(e);else if(hu.isVariableStatement(e))for(var t=0,r=e.declarationList.declarations;t<r.length;t++){var a=r[t];a.initializer&&hu.isRequireCall(a.initializer,!0)&&n(a)}}function Kq(e,n,t,r,a){return t=hu.ensurePathIsNonModuleName(t),r?(r=n.map((function(e){return hu.factory.createImportSpecifier(void 0,hu.factory.createIdentifier(e))})),hu.makeImportIfNecessary(e,r,t,a)):(hu.Debug.assert(!e,"No default import should exist"),(r=n.map((function(e){return hu.factory.createBindingElement(void 0,void 0,e)}))).length?Hq(hu.factory.createObjectBindingPattern(r),void 0,Wq(hu.factory.createStringLiteral(t))):void 0)}function Hq(e,n,t,r){return void 0===r&&(r=2),hu.factory.createVariableStatement(void 0,hu.factory.createVariableDeclarationList([hu.factory.createVariableDeclaration(e,void 0,n,t)],r))}function Wq(e){return hu.factory.createCallExpression(hu.factory.createIdentifier("require"),void 0,[e])}function zq(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,u=(c=c.namedBindings,!l||s(l)),d=!c||(266===c.kind?s(c.name):0!==c.elements.length&&c.elements.every((function(e){return s(e.name)})));if(u&&d)o.delete(a,i);else if(l&&u&&o.delete(a,l),c)if(d)o.replaceNode(a,i.importClause,hu.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 hu.isIdentifier(e.name)&&h(e.name)})))y.delete(f,hu.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];hu.isIdentifier(T.name)&&h(T.name)&&y.delete(f,T.name)}}break;default:hu.Debug.assertNever(n,"Unexpected import decl kind "+n.kind)}}function Jq(e){switch(e.kind){case 263:case 268:case 265:case 266:return!0;case 252:return qq(e);case 201:return hu.isVariableDeclaration(e.parent.parent)&&qq(e.parent.parent);default:return!1}}function qq(e){return hu.isSourceFile(e.parent.parent.parent)&&!!e.initializer&&hu.isRequireCall(e.initializer,!0)}function Xq(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?hu.factory.createNamedImports(r):void 0),a||r?hu.factory.createImportDeclaration(void 0,void 0,hu.factory.createImportClause(!1,a,r),n):void 0):void 0;case 263:return t(e.name)?e:void 0;case 252:var a=function(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||!hu.isIdentifier(e.name)||n(e.name)}));return t.length?hu.factory.createObjectBindingPattern(t):void 0}}(e.name,t);return a?Hq(a,e.type,Wq(n),e.parent.flags):void 0;default:return hu.Debug.assertNever(e,"Unexpected import kind "+e.kind)}var i}function Yq(e,n,t){e.forEachChild((function e(r){var a;hu.isIdentifier(r)&&!hu.isDeclarationName(r)?(a=n.getSymbolAtLocation(r))&&t(a):r.forEachChild(e)}))}function Qq(){this.map=new hu.Map}function Zq(e){return $q(e)&&hu.isSourceFile(e.parent)||hu.isVariableDeclaration(e)&&hu.isSourceFile(e.parent.parent.parent)}function $q(e){switch(e.kind){case 254:case 255:case 259:case 258:case 257:case 256:case 263:return!0;default:return!1}}function eX(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 hu.firstDefined(e.declarationList.declarations,(function(e){return function e(n,t){switch(n.kind){case 79:return t(hu.cast(n.parent,(function(e){return hu.isVariableDeclaration(e)||hu.isBindingElement(e)})));case 200:case 199:return hu.firstDefined(n.elements,(function(n){return hu.isOmittedExpression(n)?void 0:e(n.name,t)}));default:return hu.Debug.assertNever(n,"Unexpected name kind "+n.kind)}}(e.name,n)}));case 236:var t=e.expression;return hu.isBinaryExpression(t)&&1===hu.getAssignmentDeclarationKind(t)&&n(e)}}function nX(e,n,t,r){return t?!hu.isExpressionStatement(n)&&hu.hasSyntacticModifier(n,1)||r&&null!=(t=e.symbol.exports)&&t.has(r.escapedText):tX(n).some((function(n){return e.symbol.exports.has(hu.escapeLeadingUnderscores(n))}))}function tX(e){switch(e.kind){case 254:case 255:return[e.name.text];case 235:return hu.mapDefined(e.declarationList.declarations,(function(e){return hu.isIdentifier(e.name)?e.name.text:void 0}));case 259:case 258:case 257:case 256:case 263:return hu.emptyArray;case 236:return hu.Debug.fail("Can't export an ExpressionStatement");default:return hu.Debug.assertNever(e,"Unexpected decl kind "+e.kind)}}function rX(e){return hu.factory.createExpressionStatement(hu.factory.createBinaryExpression(hu.factory.createPropertyAccessExpression(hu.factory.createIdentifier("exports"),hu.factory.createIdentifier(e)),63,hu.factory.createIdentifier(e)))}function aX(e,n,t,r){if(void 0===t&&(t=!0),e=Su.getTokenAtPosition(e,n),n=Su.getContainingFunction(e),!n)return{error:Su.getLocaleSpecificMessage(Su.Diagnostics.Could_not_find_a_containing_arrow_function)};if(!Su.isArrowFunction(n))return{error:Su.getLocaleSpecificMessage(Su.Diagnostics.Containing_function_is_not_an_arrow_function)};if(Su.rangeContainsRange(n,e)&&(!Su.rangeContainsRange(n.body,e)||t)){if(xu.refactorKindBeginsWith(Au.kind,r)&&Su.isExpression(n.body))return{func:n,addBraces:!0,expression:n.body};if(xu.refactorKindBeginsWith(Cu.kind,r)&&Su.isBlock(n.body)&&1===n.body.statements.length&&(e=Su.first(n.body.statements),Su.isReturnStatement(e)))return{func:n,addBraces:!1,expression:e.expression,returnStatement:e}}}function iX(e,n){if(e=Iu.getContainingObjectLiteralElement(e),e&&(n=n.getContextualTypeForObjectLiteralElement(e),e=null==n?void 0:n.getSymbol(),e&&!(6&Iu.getCheckFlags(e))))return e}function oX(e){return e=e.node,Iu.isImportSpecifier(e.parent)||Iu.isImportClause(e.parent)||Iu.isImportEqualsDeclaration(e.parent)||Iu.isNamespaceImport(e.parent)||Iu.isExportSpecifier(e.parent)||Iu.isExportAssignment(e.parent)?e:void 0}function sX(e){if(Iu.isDeclaration(e.node.parent))return e.node}function cX(e){if(e.node.parent){var n=e.node,t=n.parent;switch(t.kind){case 206:case 207:var r=Iu.tryCast(t,Iu.isCallOrNewExpression);if(r&&r.expression===n)return r;break;case 204:if(r=Iu.tryCast(t,Iu.isPropertyAccessExpression),r&&r.parent&&r.name===n){var a=Iu.tryCast(r.parent,Iu.isCallOrNewExpression);if(a&&a.expression===r)return a}break;case 205:if(r=Iu.tryCast(t,Iu.isElementAccessExpression),r&&r.parent&&r.argumentExpression===n&&(a=Iu.tryCast(r.parent,Iu.isCallOrNewExpression),a&&a.expression===r))return a}}}function lX(e,n,t){return e=Iu.getTouchingToken(e,n),n=Iu.getContainingFunctionDeclaration(e),function(e){if(e=Iu.findAncestor(e,Iu.isJSDocNode),e)return(e=Iu.findAncestor(e,(function(e){return!Iu.isJSDocNode(e)})))&&Iu.isFunctionLikeDeclaration(e)}(e)||!(n&&function(e,n){var t;if(function(e,n){return function(e){return mX(e)?e.length-1:e.length}(e)>=ku&&Iu.every(e,(function(e){var t=n;if(Iu.isRestParameter(e)){var r=t.getTypeAtLocation(e);if(!t.isArrayType(r)&&!t.isTupleType(r))return!1}return!e.modifiers&&!e.decorators&&Iu.isIdentifier(e.name)}))}(e.parameters,n))switch(e.kind){case 254:return dX(e)&&uX(e,n);case 167:return Iu.isObjectLiteralExpression(e.parent)?(t=iX(e.name,n),1===(null==(t=null==t?void 0:t.declarations)?void 0:t.length)&&uX(e,n)):uX(e,n);case 169:return Iu.isClassDeclaration(e.parent)?dX(e.parent)&&uX(e,n):pX(e.parent.parent)&&uX(e,n);case 211:case 212:return pX(e.parent)}}(n,t)&&Iu.rangeContainsRange(n,e))||n.body&&Iu.rangeContainsRange(n.body,e)?void 0:n}function uX(e,n){return!!e.body&&!n.isImplementationOfOverload(e)}function dX(e){return!!e.name||!!Iu.findModifier(e,88)}function pX(e){return Iu.isVariableDeclaration(e)&&Iu.isVarConst(e)&&Iu.isIdentifier(e.name)&&!e.type}function mX(e){return 0<e.length&&Iu.isThis(e[0].name)}function _X(e){return mX(e)?Iu.factory.createNodeArray(e.slice(1),e.hasTrailingComma):e}function fX(e,n,t){var r,a=n.getTypeChecker(),i=_X(e.parameters),o=Iu.map(i,(function(e){var n=Iu.factory.createBindingElement(void 0,void 0,gX(e),Iu.isRestParameter(e)&&l(e)?Iu.factory.createArrayLiteralExpression():e.initializer);return Iu.suppressLeadingAndTrailingTrivia(n),e.initializer&&n.initializer&&Iu.copyComments(e.initializer,n.initializer),n})),s=(o=Iu.factory.createObjectBindingPattern(o),function(e){return e=Iu.map(e,c),Iu.addEmitFlags(Iu.factory.createTypeLiteralNode(e),1)}(i));Iu.every(i,l)&&(r=Iu.factory.createObjectLiteralExpression()),i=Iu.factory.createParameterDeclaration(void 0,void 0,void 0,o,void 0,s,r);return mX(e.parameters)?(o=e.parameters[0],s=Iu.factory.createParameterDeclaration(void 0,void 0,void 0,o.name,void 0,o.type),Iu.suppressLeadingAndTrailingTrivia(s.name),Iu.copyComments(o.name,s.name),o.type&&(Iu.suppressLeadingAndTrailingTrivia(s.type),Iu.copyComments(o.type,s.type)),Iu.factory.createNodeArray([s,i])):Iu.factory.createNodeArray([i]);function c(e){var r,i=e.type,o=(i||!e.initializer&&!Iu.isRestParameter(e)||(r=e,o=a.getTypeAtLocation(r),i=Iu.getTypeNodeIfAccessible(o,r,n,t)),Iu.factory.createPropertySignature(void 0,gX(e),l(e)?Iu.factory.createToken(57):e.questionToken,i));return Iu.suppressLeadingAndTrailingTrivia(o),Iu.copyComments(e.name,o.name),e.type&&o.type&&Iu.copyComments(e.type,o.type),o}function l(e){var n;return Iu.isRestParameter(e)?(n=a.getTypeAtLocation(e),!a.isTupleType(n)):a.isOptionalParameter(e)}}function gX(e){return Iu.getTextOfIdentifierOrLiteral(e.name)}function yX(e,n){return e=Pu.getTokenAtPosition(e,n),n=hX(e),!vX(n).isValidConcatenation&&Pu.isParenthesizedExpression(n.parent)&&Pu.isBinaryExpression(n.parent.parent)?n.parent.parent:e}function hX(e){return Pu.findAncestor(e.parent,(function(e){switch(e.kind){case 204:case 205:return!1;case 221:case 219:return!(Pu.isBinaryExpression(e.parent)&&63!==e.parent.operatorToken.kind);default:return"quit"}}))||e}function vX(e){function n(e){var t,r,a,i;return Pu.isBinaryExpression(e)?(t=(i=n(e.left)).nodes,r=i.operators,a=i.hasString,i=i.validOperators,a||Pu.isStringLiteral(e.right)||Pu.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:Pu.isStringLiteral(e)||Pu.isNoSubstitutionTemplateLiteral(e)}}e=n(e);var t=e.nodes,r=e.operators,a=e.validOperators;e=e.hasString;return{nodes:t,operators:r,isValidConcatenation:a&&e}}function bX(e,n){return function(t,r){t<e.length&&Pu.copyTrailingComments(e[t],r,n,3,!1)}}function EX(e,n,t){return function(r,a){for(;0<r.length;){var i=r.shift();Pu.copyTrailingComments(e[i],a,n,3,!1),t(i,a)}}}function TX(e){var n=Pu.isTemplateHead(e)||Pu.isTemplateMiddle(e)?-2:-1;return Pu.getTextOfNode(e).slice(1,n)}function SX(e,n){for(var t=[],r="",a="";e<n.length;){var i=n[e];if(!Pu.isStringLiteralLike(i)){if(Pu.isTemplateExpression(i)){r+=i.head.text,a+=TX(i.head);break}break}r+=i.text,a+=Pu.getTextOfNode(i).slice(1,-1).replace(/\\.|[$`]/g,(function(e){return"\\"===e[0]?e:"\\"+e})),t.push(e),e++}return[e,r,a,t]}function xX(e){var n=e.getSourceFile();Pu.copyTrailingComments(e,e.expression,n,3,!1),Pu.copyTrailingAsLeadingComments(e.expression,e.expression,n,3,!1)}function LX(e){var n=!1;return e.forEachChild((function e(t){Bu.isThis(t)?n=!0:Bu.isClassLike(t)||Bu.isFunctionDeclaration(t)||Bu.isFunctionExpression(t)||Bu.forEachChild(t,e)})),n}function DX(e,n,t){n=Bu.getTokenAtPosition(e,n),t=t.getTypeChecker();var r,a=function(e,n,t){if(function(e){return Bu.isVariableDeclaration(e)||Bu.isVariableDeclarationList(e)&&1===e.declarations.length}(t)&&(t=(Bu.isVariableDeclaration(t)?t:Bu.first(t.declarations)).initializer,t&&(Bu.isArrowFunction(t)||Bu.isFunctionExpression(t)&&!CX(e,n,t))))return t}(e,t,n.parent);return!a||LX(a.body)||t.containsArgumentsReference(a)?!(r=Bu.getContainingFunction(n))||!Bu.isFunctionExpression(r)&&!Bu.isArrowFunction(r)||Bu.rangeContainsRange(r.body,n)||LX(r.body)||t.containsArgumentsReference(r)||Bu.isFunctionExpression(r)&&CX(e,t,r)?void 0:{selectedVariableDeclaration:!1,func:r}:{selectedVariableDeclaration:!0,func:a}}function AX(e){var n,t;return Bu.isExpression(e)?(n=Bu.factory.createReturnStatement(e),t=e.getSourceFile(),Bu.suppressLeadingAndTrailingTrivia(n),Bu.copyTrailingAsLeadingComments(e,n,t,void 0,!0),Bu.factory.createBlock([n],!0)):e}function CX(e,n,t){return t.name&&Bu.FindAllReferences.Core.isSymbolReferencedInFile(t.name,n,e)}function IX(e){var n,t;if(!zu.isInJSFile(e.file)&&Ju.refactorKindBeginsWith(Yu.kind,e.kind))return n=zu.getTokenAtPosition(e.file,e.startPosition),(n=zu.findAncestor(n,(function(e){if(zu.isBlock(e)||e.parent&&zu.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=function(e,n){if(e.isImplementationOfOverload(n)){var t=e.getTypeAtLocation(n).getCallSignatures();if(1<t.length)return e.getUnionType(zu.mapDefined(t,(function(e){return e.getReturnType()})))}if(t=e.getSignatureFromDeclaration(n),t)return e.getReturnTypeOfSignature(t)}(e=e.program.getTypeChecker(),n))?(e=e.typeToTypeNode(t,n,1))?{declaration:n,returnTypeNode:e}:void 0:{error:zu.getLocaleSpecificMessage(zu.Diagnostics.Could_not_determine_function_return_type)}:{error:zu.getLocaleSpecificMessage(zu.Diagnostics.Return_type_must_be_inferred_from_a_function)}}lw.symbolPart=fM,lw.displayPart=gM,lw.spacePart=function(){return gM(" ",lw.SymbolDisplayPartKind.space)},lw.keywordPart=yM,lw.punctuationPart=function(e){return gM(lw.tokenToString(e),lw.SymbolDisplayPartKind.punctuation)},lw.operatorPart=function(e){return gM(lw.tokenToString(e),lw.SymbolDisplayPartKind.operator)},lw.parameterNamePart=function(e){return gM(e,lw.SymbolDisplayPartKind.parameterName)},lw.propertyNamePart=function(e){return gM(e,lw.SymbolDisplayPartKind.propertyName)},lw.textOrKeywordPart=function(e){var n=lw.stringToToken(e);return void 0===n?hM(e):yM(n)},lw.textPart=hM,lw.typeAliasNamePart=function(e){return gM(e,lw.SymbolDisplayPartKind.aliasName)},lw.typeParameterNamePart=function(e){return gM(e,lw.SymbolDisplayPartKind.typeParameterName)},lw.linkTextPart=vM,lw.linkNamePart=bM,lw.linkPart=EM,lw.buildLinkParts=function(e,n){var t=[EM("{@"+(lw.isJSDocLink(e)?"link":lw.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(bM(e.name,n)),e.text&&t.push(vM(e.text))):t.push(vM(lw.getTextOfNode(e.name)+" "+e.text)):e.text&&t.push(vM(e.text)),t.push(EM("}")),t},lw.getNewLineOrDefaultFromHost=function(e,n){return(null==n?void 0:n.newLineCharacter)||(null==(n=e.getNewLine)?void 0:n.call(e))||"\r\n"},lw.lineBreakPart=TM,lw.mapToDisplayParts=SM,lw.typeToDisplayParts=function(e,n,t,r){return void 0===r&&(r=0),SM((function(a){e.writeType(n,t,17408|r,a)}))},lw.symbolToDisplayParts=function(e,n,t,r,a){return void 0===a&&(a=0),SM((function(i){e.writeSymbol(n,t,r,8|a,i)}))},lw.signatureToDisplayParts=function(e,n,t,r){return void 0===r&&(r=0),r|=25632,SM((function(a){e.writeSignature(n,t,r,void 0,a)}))},lw.isImportOrExportSpecifierName=function(e){return!!e.parent&&lw.isImportOrExportSpecifier(e.parent)&&e.parent.propertyName===e},lw.getScriptKind=function(e,n){return lw.ensureScriptKind(e,n.getScriptKind&&n.getScriptKind(e))},lw.getSymbolTarget=function(e,n){for(var t=e;0!=(2097152&t.flags)||xM(t)&&t.target;)t=xM(t)&&t.target?t.target:lw.skipAlias(t,n);return t},lw.getUniqueSymbolId=function(e,n){return lw.getSymbolId(lw.skipAlias(e,n))},lw.getFirstNonSpaceCharacterPosition=function(e,n){for(;lw.isWhiteSpaceLike(e.charCodeAt(n));)n+=1;return n},lw.getPrecedingNonSpaceCharacterPosition=function(e,n){for(;-1<n&&lw.isWhiteSpaceSingleLine(e.charCodeAt(n));)--n;return n+1},lw.getSynthesizedDeepClone=LM,lw.getSynthesizedDeepCloneWithReplacements=DM,lw.getSynthesizedDeepClones=CM,lw.getSynthesizedDeepClonesWithReplacements=IM,lw.suppressLeadingAndTrailingTrivia=NM,lw.suppressLeadingTrivia=kM,lw.suppressTrailingTrivia=RM,lw.copyComments=function(e,n){var t=e.getSourceFile();(!function(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)?FM:wM)(e,n,t),MM(e,n,t)},lw.getUniqueName=function(e,n){for(var t=e,r=1;!lw.isFileLevelUniqueName(n,t);r++)t=e+"_"+r;return t},lw.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;lw.Debug.assert(l===n);for(var u=0,d=c;u<d.length;u++){var p=d[u],m=p.span,_=(p=p.newText,function(e,n){if(lw.startsWith(e,n))return 0;var t=e.indexOf(" "+n);return-1===t&&(t=e.indexOf("."+n)),-1===t&&(t=e.indexOf('"'+n)),-1===t?-1:t+1}(p,t));if(-1!==_&&(i=m.start+a+_,!r))return i;a+=p.length-m.length}}return lw.Debug.assert(r),lw.Debug.assert(0<=i),i},lw.copyLeadingComments=wM,lw.copyTrailingComments=MM,lw.copyTrailingAsLeadingComments=FM,lw.needsParentheses=function(e){return lw.isBinaryExpression(e)&&27===e.operatorToken.kind||lw.isObjectLiteralExpression(e)||lw.isAsExpression(e)&&lw.isObjectLiteralExpression(e.expression)},lw.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.operatorToken,i=t.right;return BM(a.kind)?n.getTypeAtLocation(e===i?r:i):n.getContextualType(e);case 287:return t.expression===e?UM(t,n):void 0;default:return n.getContextualType(e)}},lw.quote=function(e,n,t){return e=uM(e,n),n=JSON.stringify(t),0===e?"'"+lw.stripQuotes(n).replace(/'/g,"\\'").replace(/\\"/g,'"')+"'":n},lw.isEqualityOperatorKind=BM,lw.isStringLiteralOrTemplate=function(e){switch(e.kind){case 10:case 14:case 221:case 208:return!0;default:return!1}},lw.hasIndexSignature=function(e){return!!e.getStringIndexType()||!!e.getNumberIndexType()},lw.getSwitchedType=UM,lw.ANONYMOUS="anonymous function",lw.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:oM(t,r)});return o?e:void 0},lw.syntaxRequiresTrailingCommaOrSemicolonOrASI=VM,lw.syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI=jM,lw.syntaxRequiresTrailingModuleBlockOrSemicolonOrASI=KM,lw.syntaxRequiresTrailingSemicolonOrASI=HM,lw.syntaxMayBeASICandidate=lw.or(VM,jM,KM,HM),lw.positionIsASICandidate=function(e,n,t){return!!(n=lw.findAncestor(n,(function(n){return n.end!==e?"quit":lw.syntaxMayBeASICandidate(n.kind)})))&&function(e,n){var t,r=e.getLastToken(n);if(r&&26===r.kind)return!1;if(VM(e.kind)){if(r&&27===r.kind)return!1}else if(KM(e.kind)){if((t=lw.last(e.getChildren(n)))&&lw.isModuleBlock(t))return!1}else if(jM(e.kind)){if((t=lw.last(e.getChildren(n)))&&lw.isFunctionBlock(t))return!1}else if(!HM(e.kind))return!1;return 238===e.kind||!(r=jw(e,lw.findAncestor(e,(function(e){return!e.parent})),n))||19===r.kind||n.getLineAndCharacterOfPosition(e.getEnd()).line!==n.getLineAndCharacterOfPosition(r.getStart(n)).line}(n,t)},lw.probablyUsesSemicolons=function(e){var n=0,t=0;return lw.forEachChild(e,(function r(a){var i;return HM(a.kind)&&((i=a.getLastToken(e))&&26===i.kind?n++:t++),5<=n+t||lw.forEachChild(a,r)})),0===n&&t<=1||.2<n/t},lw.tryGetDirectories=function(e,n){return JM(e,e.getDirectories,n)||[]},lw.tryReadDirectory=function(e,n,t,r,a){return JM(e,e.readDirectory,n,t,r,a)||lw.emptyArray},lw.tryFileExists=WM,lw.tryDirectoryExists=function(e,n){return zM((function(){return lw.directoryProbablyExists(n,e)}))||!1},lw.tryAndIgnoreErrors=zM,lw.tryIOAndConsumeErrors=JM,lw.findPackageJsons=function(e,n,t){var r=[];return lw.forEachAncestorDirectory(e,(function(e){if(e===t)return!0;e=lw.combinePaths(e,"package.json"),WM(n,e)&&r.push(e)})),r},lw.findPackageJson=function(e,n){var t;return lw.forEachAncestorDirectory(e,(function(e){return"node_modules"===e||!!(t=lw.findConfigFile(e,(function(e){return WM(n,e)}),"package.json"))||void 0})),t},lw.getPackageJsonsVisibleToFile=qM,lw.createPackageJsonInfo=XM,lw.createPackageJsonImportFilter=function(e,n,t){var r,a=(t.getPackageJsonsVisibleToFile&&t.getPackageJsonsVisibleToFile(e.fileName)||qM(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=lw.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))||(!(!lw.pathIsRelative(e)&&!lw.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(lw.getTypesPackageName(n)))return!0}return!1}function o(n){return!!(lw.isSourceFileJS(e)&&lw.JsTyping.nodeCoreModules.has(n)&&(r=void 0===r?YM(e):r))}function s(r,a){return!lw.stringContains(r,"node_modules")||!(r=lw.moduleSpecifiers.getNodeModulesPackageName(t.getCompilationSettings(),e.path,r,a,n))||lw.pathIsRelative(r)||lw.isRootedDiskPath(r)?void 0:c(r)}function c(e){return e=lw.getPathComponents(lw.getPackageNameFromTypesPackageName(e)).slice(1),lw.startsWith(e[0],"@")?e[0]+"/"+e[1]:e[0]}},lw.consumesNodeCoreModules=YM,lw.isInsideNodeModules=function(e){return lw.contains(lw.getPathComponents(e),"node_modules")},lw.isDiagnosticWithLocation=QM,lw.findDiagnosticForNode=function(e,n){var t=nM(e);if(0<=(t=lw.binarySearchKey(n,t,lw.identity,lw.compareTextSpans)))return n=n[t],lw.Debug.assertEqual(n.file,e.getSourceFile(),"Diagnostics proided to 'findDiagnosticForNode' must be from a single SourceFile"),lw.cast(n,QM)},lw.getDiagnosticsWithinSpan=function(e,n){var t,r=lw.binarySearchKey(n,e.start,(function(e){return e.start}),lw.compareValues);for(r<0&&(r=~r);(null==(t=n[r-1])?void 0:t.start)===e.start;)r--;for(var a=[],i=lw.textSpanEnd(e);;){var o=lw.tryCast(n[r],QM);if(!o||o.start>i)break;lw.textSpanContainsTextSpan(e,o)&&a.push(o),r++}return a},lw.getRefactorContextSpan=function(e){var n=e.startPosition;e=e.endPosition;return lw.createTextSpanFromBounds(n,void 0===e?n:e)},lw.mapOneOrMany=function(e,n,t){return void 0===t&&(t=lw.identity),e?lw.isArray(e)?t(lw.map(e,n)):n(e,0):void 0},lw.firstOrOnly=function(e){return lw.isArray(e)?lw.first(e):e},lw.getNameForExportedSymbol=function(e,n){return 33554432&e.flags||"export="!==e.escapedName&&"default"!==e.escapedName?e.name:lw.firstDefined(e.declarations,(function(e){return lw.isExportAssignment(e)&&null!=(e=lw.tryCast(lw.skipOuterExpressions(e.expression),lw.isIdentifier))?e.text:void 0}))||lw.codefix.moduleSymbolToValidIdentifier((e=e,lw.Debug.checkDefined(e.parent,"Symbol parent was undefined. Flags: "+lw.Debug.formatSymbolFlags(e.flags)+". Declarations: "+(null==(e=e.declarations)?void 0:e.map((function(e){var n=lw.Debug.formatSyntaxKind(e.kind),t=lw.isInJSFile(e);e=e.expression;return(t?"[JS]":"")+n+(e?" (expression: "+lw.Debug.formatSyntaxKind(e.kind)+")":"")})).join(", "))+".")),n)},lw.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},lw.startsWithUnderscore=function(e){return 95===e.charCodeAt(0)},lw.isGlobalDeclaration=function(e){return!ZM(e)},lw.isNonGlobalDeclaration=ZM,lw.isDeprecatedDeclaration=function(e){return!!(8192&lw.getCombinedNodeFlagsAlwaysIncludeJSDoc(e))},lw.shouldUseUriStyleNodeCoreModules=function(e,n){return null!=(e=lw.firstDefined(e.imports,(function(e){if(lw.JsTyping.nodeCoreModules.has(e.text))return lw.startsWith(e.text,"node:")})))?e:n.usesUriStyleNodeCoreModules},rr=SY=SY||{},(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=$M,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)&&function(e,n,t,r){return n=rr.forEachAncestorDirectory(n,(function(e){return"node_modules"===rr.getBaseFileName(e)?e:void 0})),n=n&&rr.getDirectoryPath(t(n)),void 0===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=eF,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))||$M({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),eF(t,n,!(s=0),(function(n,t,a,c){++s%100==0&&null!=r&&r.throwIfCancellationRequested();var u=new rr.Map,d=a.getTypeChecker(),p=tF(n,d,i);p&&rF(p.symbol,d)&&l.add(e.path,p.symbol,1===p.exportKind?"default":"export=",n,t,p.exportKind,c,o,d),d.forEachExportAndPropertyOfModule(n,(function(r,a){r!==(null==p?void 0:p.symbol)&&rF(r,d)&&rr.addToSeen(u,r)&&l.add(e.path,r,a,n,t,0,c,o,d)}))})),null!=(a=n.log)&&a.call(n,"getExportInfoMap: done in "+(rr.timestamp()-c)+" ms")),l},rr.getDefaultLikeExportInfo=tF,(ar=SY=SY||{}).createClassifier=function(){var e=ar.createScanner(99,!1);function n(n,t,r){var a,i,o,s,c,l=0,u=0,d=[],p=(t=function(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=(t=t.pushTemplate,n=p+n,p.length),_=(t&&d.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[u]||13!==e.reScanSlashToken()||(l=13);break;case 29:79===u&&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:d.push(l);break;case 18:0<d.length&&d.push(l);break;case 19:0<d.length&&(15===(a=ar.lastOrUndefined(d))?17===(l=e.reScanTemplateToken(!1))?d.pop():ar.Debug.assertEqual(l,16,"Should have been a template middle."):(ar.Debug.assertEqual(a,18,"Should have been an open brace"),d.pop()));break;default:ar.isKeyword(l)&&(24===u||ar.isKeyword(u)&&ar.isKeyword(l)&&!function(e,n){if(!ar.isAccessibilityModifier(e))return 1;switch(n){case 135:case 147:case 133:case 124:return 1;default:return}}(u,l))&&(l=79)}u=l}var y,h=e.getTextPos();i=e.getTokenPos(),o=h,s=m,c=function(e){if(ar.isKeyword(e))return 3;if(function(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)||function(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=function(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(d)))&&(_=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],u=i[s+1],d=i[s+2];0<=o&&0<(c=l-o)&&a.push({length:c,classification:ar.TokenClass.Whitespace}),a.push({length:u,classification:function(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}}(d)}),o=l+u}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 cF(oF(e,n,t,r,a))},ar.getEncodedSemanticClassifications=oF,ar.getSyntacticClassifications=function(e,n,t){return cF(lF(e,n,t))},ar.getEncodedSyntacticClassifications=lF,or=SY=SY||{},nd=(nd=or.classifier||(or.classifier={})).v2020||(nd.v2020={}),(wu=nd.TokenEncodingConsts||(nd.TokenEncodingConsts={}))[wu.typeOffset=8]="typeOffset",wu[wu.modifierMask=255]="modifierMask",(wu=nd.TokenType||(nd.TokenType={}))[wu.class=0]="class",wu[wu.enum=1]="enum",wu[wu.interface=2]="interface",wu[wu.namespace=3]="namespace",wu[wu.typeParameter=4]="typeParameter",wu[wu.type=5]="type",wu[wu.parameter=6]="parameter",wu[wu.variable=7]="variable",wu[wu.enumMember=8]="enumMember",wu[wu.property=9]="property",wu[wu.function=10]="function",wu[wu.member=11]="member",(wu=nd.TokenModifier||(nd.TokenModifier={}))[wu.declaration=0]="declaration",wu[wu.static=1]="static",wu[wu.async=2]="async",wu[wu.readonly=3]="readonly",wu[wu.defaultLibrary=4]="defaultLibrary",wu[wu.local=5]="local",nd.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},nd.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=SY=SY||{},lr=cr.Completions||(cr.Completions={}),(om=lr.StringCompletions||(lr.StringCompletions={})).getStringLiteralCompletions=function(e,n,t,r,a,i,o,s){if(cr.isInReferenceComment(e,n))return(c=function(e,n,t,r){var a=cr.getTokenAtPosition(e,n);a=cr.getLeadingCommentRanges(e.text,a.pos),a=a&&cr.find(a,(function(e){return n>=e.pos&&n<=e.end}));if(a){var i,o,s,c=e.text.slice(a.pos,n);c=ur.exec(c);return c?(i=c[1],o=c[2],c=c[3],s=cr.getDirectoryPath(e.path),e="path"===o?xF(c,s,SF(t,1),r,e.path):"types"===o?AF(r,t,s,DF(c),SF(t)):cr.Debug.fail(),EF(c,a.pos+i.length,e)):void 0}}(e,n,a,i))&&mF(c);if(cr.isInString(e,n,t)&&t&&cr.isStringLiteralLike(t)){var c,l=c=fF(e,t,n,r,a,i,s),u=t,d=e,p=r,m=o,_=a,f=s;if(void 0!==l){var g=cr.createTextSpanFromStringLiteralLikeContent(u);switch(l.kind){case 0:return mF(l.paths);case 1:var y=[];return lr.getCompletionEntriesFromSymbols(l.symbols,y,u,d,d,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(u)}})),{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:l.isNewIdentifier,optionalReplacementSpan:g,entries:y};default:return cr.Debug.assertNever(l)}}}},om.getStringLiteralCompletionDetails=function(e,n,t,r,a,i,o,s,c){if(r&&cr.isStringLiteralLike(r))return(t=fF(n,r,t,a,i,o,c))&&function(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,_F(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)},ur=/^(\/\/\/\s*<reference\s+(path|types)\s*=\s*(?:'|"))([^\3"]*)$/,dr=["dependencies","devDependencies","peerDependencies","optionalDependencies"],pr=SY=SY||{},(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=zF(a,r).previousToken;if(!o||pr.isInString(r,a,l)||function(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)||rG(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 u=n.getTypeChecker(),d=n.getCompilerOptions(),p=i.allowIncompleteCompletions&&null!=(o=e.getIncompleteCompletionsCache)?o.call(e):void 0;if(p&&3===s&&l&&pr.isIdentifier(l)){if(o=function(e,n,t,r,a,i,o){var s,c,l,u,d=e.get();if(d)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),u=null==t?void 0:t.getTypeChecker(),o=kF("continuePreviousIncompleteResponse",a,r,n,i,!1,(function(e){var t=pr.mapDefined(d.entries,(function(t){var i,o;return t.hasAction&&t.source&&t.data&&!t.data.moduleSpecifier?sG(t.name,s)?(i=(o=pr.Debug.checkDefined(JF(t.name,t.data,r,a))).symbol,o=o.origin,(i=(i=c.get(n.path,t.name,i,o.moduleSymbol.name,o.isFromPackageJson?u:l))&&e.tryResolve(i,!pr.isExternalModuleNameRelative(pr.stripQuotes(o.moduleSymbol.name))))&&(o=ed(ed({},o),{kind:32,moduleSpecifier:i.moduleSpecifier}),t.data=MF(o),t.source=GF(o),t.sourceDisplay=[pr.textPart(o.moduleSpecifier)]),t):void 0:t}));return e.resolutionLimitExceeded()||(d.isIncomplete=void 0),t})),d.entries=o,d}(p,r,l,n,e,i,c),o)return o}else null!=p&&p.clear();if(s=mr.StringCompletions.getStringLiteralCompletions(r,a,l,u,d,e,t,i),s)return s;if(l&&pr.isBreakOrContinueStatement(l.parent)&&(81===l.kind||86===l.kind||79===l.kind))return(o=function(e){for(var n=[],t=new pr.Map,r=e;r&&!pr.isFunctionLike(r);){var a;pr.isLabeledStatement(r)&&(a=r.label.text,t.has(a)||(t.set(a,!0),n.push({name:a,kindModifiers:"",kind:"label",sortText:_r.LocationPriority}))),r=r.parent}return n}(o=l.parent)).length?{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:o}:void 0;var m=WF(n,t,r,OF(r,d),a,i,void 0,e,c);if(m)switch(m.kind){case 0:var _=function(e,n,t,r,a,i){var o=a.symbols,s=a.completionKind,c=a.isInSnippetScope,l=a.isNewIdentifierLocation,u=a.location,d=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=function(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"}})),e)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]}}(u,e);if(T)return T}var S=[];if(OF(e,t))T=BF(o,S,void 0,u,e,n,t.target,r,s,i,t,y,d,h,g,v,f,_,E),function(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,u.pos,T,t.target,S);else{if(!(l||o&&0!==o.length||0!==p))return;BF(o,S,void 0,u,e,n,t.target,r,s,i,t,y,d,h,g,v,f,_,E)}if(0!==p)for(var x=new pr.Set(S.map((function(e){return e.name}))),L=0,D=function(e,n){return n?gr[n=e+7+1]||(gr[n]=XF(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}))):XF(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(function(e,n,t){return{name:PF(e,n,t),kind:"string",kindModifiers:"",sortText:_r.LocationPriority}}(e,i,N))}return{isGlobalCompletion:c,isIncomplete:!(!i.allowIncompleteCompletions||!a)||void 0,isMemberCompletion:function(e){switch(e){case 0:case 3:case 2:return!0;default:return!1}}(s),isNewIdentifierLocation:l,optionalReplacementSpan:function(e){return 79===(null==e?void 0:e.kind)?pr.createTextSpanFromNode(e):void 0}(u),entries:S}}(r,u,d,t,m,i);return null!=_&&_.isIncomplete&&null!=p&&p.set(_),_;case 1:return RF(pr.JsDoc.getJSDocTagNameCompletions());case 2:return RF(pr.JsDoc.getJSDocTagCompletions());case 3:return RF(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=BF,mr.getCompletionEntryDetails=function(e,n,t,r,a,i,o,s,c){var l=e.getTypeChecker(),u=e.getCompilerOptions(),d=a.name,p=pr.findPrecedingToken(r,t);if(pr.isInString(t,r,p))return mr.StringCompletions.getStringLiteralCompletionDetails(d,t,r,p,l,u,i,c,s);var m=UF(e,n,t,r,a,i,s);switch(m.type){case"request":var _=m.request;switch(_.kind){case 1:return pr.JsDoc.getJSDocTagNameCompletionDetails(d);case 2:return pr.JsDoc.getJSDocTagCompletionDetails(d);case 3:return pr.JsDoc.getJSDocParameterNameCompletionDetails(d);case 4:return-1<_.keywords.indexOf(pr.stringToToken(d))?VF(d,"keyword",pr.SymbolDisplayPartKind.keyword):void 0;default:return pr.Debug.assertNever(_)}case"symbol":var f=m.symbol,g=m.location,y=function(e,n,t,r,a,i,o,s,c,l,u){if(null!=u&&u.moduleSpecifier){var d=zF(o,i),p=d.contextToken;d=d.previousToken;if(d&&aG(p||d))return{codeActions:void 0,sourceDisplay:[pr.textPart(u.moduleSpecifier)]}}return e&&(IF(e)||NF(e))?(p=(e.isFromPackageJson?r.getPackageJsonAutoImportProvider():t).getTypeChecker(),d=e.moduleSymbol,e=p.getMergedSymbol(pr.skipAlias(n.exportSymbol||n,p)),p=pr.codefix.getImportCompletionAction(e,d,i,pr.getNameForExportedSymbol(n,a.target),r,t,c,s&&pr.isIdentifier(s)?s.getStart(i):o,l),e=p.moduleSpecifier,d=p.codeAction,pr.Debug.assert(!(null!=u&&u.moduleSpecifier)||e===u.moduleSpecifier),{sourceDisplay:[pr.textPart(e)],codeActions:[d]}):{codeActions:void 0,sourceDisplay:void 0}}(m.origin,f,e,i,u,t,r,m.previousToken,o,s,a.data);return jF(f,l,t,g,c,y.codeActions,y.sourceDisplay);case"literal":return f=m.literal,VF(PF(t,s,f),"string","string"==typeof f?pr.SymbolDisplayPartKind.stringLiteral:pr.SymbolDisplayPartKind.numericLiteral);case"none":return yr().some((function(e){return e.name===d}))?VF(d,"keyword",pr.SymbolDisplayPartKind.keyword):void 0;default:pr.Debug.assertNever(m)}},mr.createCompletionDetailsForSymbol=jF,mr.createCompletionDetails=KF,mr.getCompletionEntrySymbol=function(e,n,t,r,a,i,o){return"symbol"===(e=UF(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=eG,((hr=SY=SY||{}).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 cG(e.tagName,t)})),[{fileName:t.fileName,highlightSpans:i}]):function(e,n,t,r,a){var i,o=new hr.Set(a.map((function(e){return e.fileName})));e=hr.FindAllReferences.getReferenceEntriesForNode(e,n,t,a,r,void 0,o);if(e)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)||function(e,n){return e=function(e,n){switch(e.kind){case 99:case 91:return hr.isIfStatement(e.parent)?function(e,n){for(var t=function(e,n){for(var t=[];hr.isIfStatement(e.parent)&&e.parent.elseStatement===e;)e=e.parent;for(;;){var r=e.getChildren(n);_G(t,r[0],99);for(var a=r.length-1;0<=a&&!_G(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(cG(t[a],n))}return r}(e.parent,n):void 0;case 105:return r(e.parent,hr.isReturnStatement,bG);case 109:return r(e.parent,hr.isThrowStatement,vG);case 111:case 83:case 96:return r((83===e.kind?e.parent:e).parent,hr.isTryStatement,hG);case 107:return r(e.parent,hr.isSwitchStatement,yG);case 82:case 88:return hr.isDefaultClause(e.parent)||hr.isCaseClause(e.parent)?r(e.parent.parent.parent,hr.isSwitchStatement,yG):void 0;case 81:case 86:return r(e.parent,hr.isBreakOrContinueStatement,gG);case 97:case 115:case 90:return r(e.parent,(function(e){return hr.isIterationStatement(e,!0)}),fG);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,EG);case 130:return a(EG(e));case 125:return a(function(e){var n;e=hr.getContainingFunction(e);if(e)return n=[],hr.forEachChild(e,(function(e){TG(e,(function(e){hr.isYieldExpression(e)&&_G(n,e.getFirstToken(),125)}))})),n}(e));default:return hr.isModifierKind(e.kind)&&(hr.isDeclaration(e.parent)||hr.isVariableStatement(e.parent))?a(function(e,n){return hr.mapDefined(function(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)?$u($u([],e.members,!0),[e],!1):t.statements;case 169:case 167:case 254:return $u($u([],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 $u($u([],r,!0),a.parameters,!0)}else if(128&n)return $u($u([],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 cG(e,n)}))}}(e,n),e&&[{fileName:n.fileName,highlightSpans:e}]}(o,t)},(vr=SY=SY||{}).createDocumentRegistry=function(e,n){return xG(e,n)},vr.createDocumentRegistryInternal=xG,br=SY=SY||{},(wu=br.FindAllReferences||(br.FindAllReferences={})).createImportTracker=function(e,n,t,r){var a=function(e,n,t){for(var r=new br.Map,a=0,i=e;a<i.length;a++){var o=i[a];t&&t.throwIfCancellationRequested(),AG(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,u=a,d=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(NG(a));break;case 270:a.exportClause?272===a.exportClause.kind?x(NG(a),!0):y.push(a):e(IG(a,d));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,u,d,p,m,_,f,g,y,h,v,b={directImports:y,indirectUsers:function(){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,kG)||e.getSourceFile(),!!T(e,!0))}function T(e,n){return void 0===n&&(n=!1),br.findAncestor(e,(function(e){return n&&kG(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=NG(e),br.Debug.assert(300===r.kind||259===r.kind),t||(e=r,i=(a=d).getSymbolAtLocation(n),DG(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=d.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(NG(i),!0)}}function L(e){return u.get(br.getSymbolId(e).toString())}return ed({indirectUsers:b.indirectUsers},function(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++)!function(e){if(263===e.kind)RG(e)&&u(e.name);else if(79===e.kind)u(e);else if(198===e.kind)e.qualifier?(i=br.getFirstIdentifier(e.qualifier)).escapedText===br.symbolName(n)&&o.push(i):2===t&&o.push(e.argument.literal);else if(10===e.moduleSpecifier.kind)if(270===e.kind)e.exportClause&&br.isNamedExports(e.exportClause)&&d(e.exportClause);else{var i=e.importClause||{name:void 0,namedBindings:void 0},c=(e=i.name,i.namedBindings);if(c)switch(c.kind){case 266:u(c.name);break;case 267:0!==t&&1!==t||d(c);break;default:br.Debug.assertNever(c)}!e||1!==t&&2!==t||a&&e.escapedText!==br.symbolEscapedNameNoDefault(n)||(i=r.getSymbolAtLocation(e),s(e,i))}}(l[c]);return{importSearches:i,singleReferences:o};function u(e){2!==t||a&&!p(e.escapedText)||s(e,r.getSymbolAtLocation(e))}function d(e){if(e)for(var t=0,i=e.elements;t<i.length;t++){var c=i[t],l=c.name,u=c.propertyName;p((u||l).escapedText)&&(u?(o.push(u),a&&l.escapedText!==n.escapedName||s(l,r.getSymbolAtLocation(l))):s(l,273===c.kind&&c.propertyName?r.getExportSpecifierLocalTargetSymbol(c):r.getSymbolAtLocation(l)))}}function p(e){return e===n.escapedName||0!==t&&"default"===e}}(b.directImports,i,o.exportKind,t,s))}},(nd=wu.ExportKind||(wu.ExportKind={}))[nd.Named=0]="Named",nd[nd.Default=1]="Default",nd[nd.ExportEquals=2]="ExportEquals",(nd=wu.ImportExport||(wu.ImportExport={}))[nd.Import=0]="Import",nd[nd.Export=1]="Export",wu.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,u=s.referencedFiles;l<u.length;l++){var d=u[l];e.getSourceFileFromReference(s,d)===c&&r.push({kind:"reference",referencingFile:s,ref:d})}for(var p=0,m=s.typeReferenceDirectives;p<m.length;p++){d=m[p];var _=e.getResolvedTypeReferenceDirectives().get(d.fileName);void 0!==_&&_.resolvedFileName===c.fileName&&r.push({kind:"reference",referencingFile:s,ref:d})}}AG(s,(function(e,n){a.getSymbolAtLocation(n)===t&&r.push({kind:"import",literal:n})}))}return r},wu.getImportOrExportSymbol=function(e,n,t,r){return r?a():a()||function(){if(function(e){var n=e.parent;switch(n.kind){case 263:return n.name===e&&RG(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=t.getImmediateAliasedSymbol(n);if(r){"export="===(r=function(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}(r,t)).escapedName&&(r=function(e,n){return 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())}(r,t));var a=br.symbolEscapedNameNoDefault(r);return void 0===a||"default"===a||a===n.escapedName?{kind:0,symbol:r}:void 0}}}();function a(){var a,s,c,l=e.parent,u=l.parent;return n.exportSymbol?204===l.kind?null!=(a=n.declarations)&&a.some((function(e){return e===l}))&&br.isBinaryExpression(u)?p(u,!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)?d(l):br.isExportAssignment(u)?d(u):br.isBinaryExpression(l)?p(l,!0):br.isBinaryExpression(u)?p(u,!0):br.isJSDocTypedefTag(l)?i(n,0):void 0);function d(e){var t;if(e.symbol.parent)return t=e.isExportEquals?2:1,{kind:1,symbol:n,exportInfo:{exportingModuleSymbol:e.symbol.parent,exportKind:t}}}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=CG(e,n,t),n&&{kind:1,symbol:e,exportInfo:n}}function o(e){return br.hasSyntacticModifier(e,512)?1:0}},wu.getExportInfo=CG,Er=SY=SY||{},Tr=Er.FindAllReferences||(Er.FindAllReferences={}),(om=Tr.DefinitionKind||(Tr.DefinitionKind={}))[om.Symbol=0]="Symbol",om[om.Label=1]="Label",om[om.Keyword=2]="Keyword",om[om.This=3]="This",om[om.String=4]="String",om[om.TripleSlashReference=5]="TripleSlashReference",(om=Tr.EntryKind||(Tr.EntryKind={}))[om.Span=0]="Span",om[om.Node=1]="Node",om[om.StringLiteral=2]="StringLiteral",om[om.SearchedLocalFoundProperty=3]="SearchedLocalFoundProperty",om[om.SearchedPropertyFoundLocal=4]="SearchedPropertyFoundLocal",Tr.nodeEntry=OG,Tr.isContextWithStartAndEndNode=PG,Tr.getContextNode=wG,Tr.toContextSpan=MG,(om=Tr.FindReferencesUse||(Tr.FindReferencesUse={}))[om.Other=0]="Other",om[om.References=1]="References",om[om.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=function(){switch(n.type){case 0:var e=VG(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 ed(ed({},UG(s)),{name:i,kind:e,displayParts:t,context:wG(o)});case 1:return s=n.node,ed(ed({},UG(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 ed(ed({},UG(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 ed(ed({},UG(s)),{name:"this",kind:"var",displayParts:e});case 4:return s=n.node,ed(ed({},UG(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,u=e.displayParts,e=e.context,ed({containerKind:"",containerName:"",fileName:o.fileName,kind:l,name:c,textSpan:s,displayParts:u},MG(s,o,e));var n,r,a,o,s,c,l,u})),references:e.map(jG)}})):void 0},Tr.getImplementationsAtPosition=function(e,n,t,r,a){if(r=Er.getTouchingPropertyName(r,a),a=FG(e,n,t,r,a),204===r.parent.kind||201===r.parent.kind||205===r.parent.kind||106===r.kind)s=a&&$u([],a,!0);else for(var i=a&&$u([],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=FG(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=KG(e=e),0!==e.kind?(e=e.node,ed(ed({},t),function(e,n){var t=n.getSymbolAtLocation(Er.isDeclaration(e)&&e.name?e.name:e);return t?VG(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))):ed(ed({},t),{kind:"",displayParts:[]});var n,t}))},Tr.findReferenceOrRenameEntries=function(e,n,t,r,a,i,o){return Er.map(BG(Sr.getReferencedSymbolsForNode(a,r,e,t,n,i)),(function(n){return o(n,r,e.getTypeChecker())}))},Tr.getReferenceEntriesForNode=GG,Tr.toRenameLocation=function(e,n,t,r){return ed(ed({},KG(e)),r&&function(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=jG,Tr.toHighlightSpan=function(e){var n,t=KG(e);return 0===e.kind?{fileName:t.fileName,span:{textSpan:t.textSpan,kind:"reference"}}:(n=zG(e.node),n=ed({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=WG,(om=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))?ZG(t,s,!1,r,o):(p=t.getFileIncludeReasons())?[{definition:{type:5,reference:e.reference,file:n},references:JG(e.file,p,t)||Er.emptyArray}]:void 0:void 0;if(!i.implementations){var s=function(e,n,t){if(Er.isTypeKeyword(e.kind))return 114===e.kind&&Er.isVoidExpression(e.parent)||143===e.kind&&!$G(e)?void 0:function(e,n,t,r){return e=Er.flatMap(e,(function(e){return t.throwIfCancellationRequested(),Er.mapDefined(sB(e,Er.tokenToString(n),e),(function(e){if(e.kind===n&&(!r||r(e)))return OG(e)}))})),e.length?[{definition:{type:2,node:e[0].node},references:e}]:void 0}(n,e.kind,t,143===e.kind?$G:void 0);if(Er.isStaticModifier(e)&&Er.isClassStaticBlockDeclaration(e.parent))return[{definition:{type:2,node:e},references:[OG(e)]}];if(Er.isJumpStatementTarget(e))return(r=Er.getTargetLabel(e.parent,e.text))&&lB(r.parent,r);if(Er.isLabelOfLabeledStatement(e))return lB(e.parent,e);if(Er.isThis(e))return function(e,n,t){var r=Er.getThisContainer(e,!1),a=32;switch(r.kind){case 167:case 166:if(Er.isObjectLiteralMethod(r)){a&=Er.getSyntacticModifierFlags(r),r=r.parent;break}case 165:case 164:case 169:case 170:case 171:a&=Er.getSyntacticModifierFlags(r),r=r.parent;break;case 300:if(Er.isExternalModule(r)||yB(e))return;case 254:case 211:break;default:return}return n=Er.flatMap(300===r.kind?n:[r.getSourceFile()],(function(e){return t.throwIfCancellationRequested(),sB(e,"this",Er.isSourceFile(r)?e:r).filter((function(e){if(!Er.isThis(e))return!1;var n=Er.getThisContainer(e,!1);switch(r.kind){case 211:case 254:return r.symbol===n.symbol;case 167:case 166:return Er.isObjectLiteralMethod(r)&&r.symbol===n.symbol;case 224:case 255:case 203:return n.parent&&r.symbol===n.parent.symbol&&Er.isStatic(n)===!!a;case 300:return 300===n.kind&&!Er.isExternalModule(n)&&!yB(e)}}))})).map((function(e){return OG(e)})),[{definition:{type:3,node:Er.firstDefined(n,(function(e){return Er.isParameter(e.node.parent)?e.node:void 0}))||e},references:n}]}(e,n,t);if(106===e.kind){var r=e,a=Er.getSuperContainer(r,!1);if(a){var i=32;switch(a.kind){case 165:case 164:case 167:case 166:case 169:case 170:case 171:i&=Er.getSyntacticModifierFlags(a),a=a.parent;break;default:return}return r=a.getSourceFile(),r=Er.mapDefined(sB(r,"super",a),(function(e){var n;return 106===e.kind&&(n=Er.getSuperContainer(e,!1))&&Er.isStatic(n)===!!i&&n.parent.symbol===a.symbol?OG(e):void 0})),[{definition:{type:0,symbol:a.symbol},references:r}]}}}(n,r,a);if(s)return s}var c,l,u,d;e=t.getTypeChecker();if(s=e.getSymbolAtLocation(Er.isConstructorDeclaration(n)&&n.parent.name||n))return"export="===s.escapedName?ZG(t,s.parent,!1,r,o):!(_=XG(s,t,r,a,i,o))||33554432&s.flags?(m=(m=qG(n,s,e))&&XG(m,t,r,a,i,o),YG(t,_,eB(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:JG(_,p,t)||Er.emptyArray}]}return c=n,i=r,l=e,u=a,d=Er.getContextualTypeOrAncestorTypeNodeType(c,l),i=Er.flatMap(i,(function(e){return u.throwIfCancellationRequested(),Er.mapDefined(sB(e,c.text),(function(e){var n;return!Er.isStringLiteralLike(e)||e.text!==c.text||d&&(n=Er.getContextualTypeOrAncestorTypeNodeType(e,l),d===l.getStringType()||d!==n)?void 0:OG(e,2)}))})),[{definition:{type:4,node:c},references:i}]}},om.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=ZG(n,a,!1,t,r)[0])?void 0:a.references)||Er.emptyArray:(t=n.getFileIncludeReasons(),(r=n.getSourceFile(e))&&t&&JG(r,t,n)||Er.emptyArray)},tB.prototype.includesSourceFile=function(e){return this.sourceFilesSet.has(e.fileName)},tB.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)},tB.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)||function(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?function(e,n,t){return e=Er.isRightSideOfPropertyAccess(e)?e.parent:void 0,t=e&&t.getTypeAtLocation(e.expression),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})),0===e.length?void 0:e}(e,n,this.checker):void 0,allSearchSymbols:i,includes:function(e){return Er.contains(i,e)}}},tB.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(OG(e,n))}},tB.prototype.addStringOrCommentReference=function(e,n){this.result.push({definition:void 0,references:[{kind:0,fileName:e,textSpan:n}]})},tB.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=tB,om.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 u=0,d=a;u<d.length;u++)for(var p=0,m=sB(d[u],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(_)}},om.isSymbolReferencedInFile=function(e,n,t,r){return oB(e,n,t,(function(){return!0}),r=void 0===r?t:r)||!1},om.eachSymbolReferenceInFile=oB,om.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=sB(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 u=Er.climbPastPropertyAccess(l),d=(u=Er.isCallExpression(u.parent)&&u.parent.expression===u?u.parent:void 0,t.getSymbolAtLocation(l));if(d&&t.getRootSymbols(d).some((function(e){return e===a}))&&r(l,u))return!0}}return!1},om.getIntersectingMeaningFromDeclarations=bB,om.getReferenceEntriesForShorthandPropertyAssignment=EB,Lr=SY=SY||{},(sm=Lr.CallHierarchy||(Lr.CallHierarchy={})).resolveCallHierarchyDeclaration=OB,sm.createCallHierarchyItem=PB,sm.getIncomingCalls=function(e,n,t){return!(Lr.isSourceFile(n)||Lr.isModuleDeclaration(n)||Lr.isClassStaticBlockDeclaration(n))&&(n=AB(n),t=Lr.filter(Lr.FindAllReferences.findReferenceOrRenameEntries(e,t,e.getSourceFiles(),n,0,{use:1},MB),wB))?Lr.group(t,FB,(function(n){return{from:PB(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(BB(e,n),FB,(function(n){return{to:PB(e,(n=n)[0].declaration),fromSpans:Lr.map(n,(function(e){return Lr.createTextSpanFromRange(e.range)}))}}))},(Dr=SY=SY||{}).getEditsForFileRename=function(e,n,t,r,a,i,o){var s=Dr.hostUsesCaseSensitiveFileNames(r),c=Dr.createGetCanonicalFileName(s),l=UB(n,t,c,o),u=UB(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=VB(v,e.text),void 0!==(n=_(n)))&&(m.replaceRangeWithText(b,KB(e,b),d(n)),!0)}function d(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))&&HB(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(d(g)))));case"compilerOptions":HB(e.initializer,(function(e,n){var t=Dr.getOptionFromName(n);t&&(t.isFilePath||"list"===t.type&&t.element.isFilePath)?i(e):"paths"===n&&HB(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=u,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,u=function(e){if(Dr.pathIsRelative(e))return e=VB(o,e),void 0===(e=S(e))?void 0:Dr.ensurePathIsNonModuleName(Dr.getRelativePathFromDirectory(r,e,D))},d=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?jB(n,Dr.resolveModuleName(n.text,i,E.getCompilerOptions(),L),S,A):function(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),jB(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=u(_.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=d(h))&&y!==h.text&&l.replaceRangeWithText(c,KB(h,c),y)}},I=0,N=A;I<N.length;I++){var k=N[I];C(k)}}))},Dr.getPathUpdater=UB,Ar=SY=SY||{},(nd=Ar.GoToDefinition||(Ar.GoToDefinition={})).getDefinitionAtPosition=WB,nd.getReferenceAtPosition=JB,nd.getTypeDefinitionAtPosition=function(e,n,t){if((t=Ar.getTouchingPropertyName(n,t))!==n){var r;n=e.getSymbolAtLocation(t);if(n)return(r=(r=function(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))&&qB(r,e,t))&&0!==r.length?r:qB(n,e,t)}},nd.getDefinitionAndBoundSpan=function(e,n,t){var r;if((e=WB(e,n,t))&&0!==e.length)return(r=eU(n.referencedFiles,t)||eU(n.typeReferenceDirectives,t)||eU(n.libReferenceDirectives,t))?{definitions:e,textSpan:Ar.createTextSpanFromRange(r)}:(r=Ar.getTouchingPropertyName(n,t),{definitions:e,textSpan:Ar.createTextSpan(r.getStart(),r.getWidth())})},nd.findReferenceInPosition=eU,Cr=SY=SY||{},wu=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"],wu.getJsDocCommentsFromDeclarations=function(e,n){var t=[];return Cr.forEachUnique(e,(function(e){for(var r=0,a=function(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=tU(i.comment,n),Cr.contains(t,i,nU))||t.push(i)}})),Cr.flatten(Cr.intersperse(t,[Cr.lineBreakPart()]))},wu.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:function(e,n){var t=e.comment,r=e.kind,a=function(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:tU(t,n);default:return void 0===t?void 0:tU(t,n)}function o(e){return s(e.getText())}function s(e){return t?e.match(/^https?$/)?$u([Cr.textPart(e)],tU(t,n),!0):$u([a(e),Cr.spacePart()],tU(t,n),!0):[Cr.textPart(e)]}}(i,n)})}})),t},wu.getJSDocTagNameCompletions=function(){return Ir=Ir||Cr.map(kr,(function(e){return{name:e,kind:"keyword",kindModifiers:"",sortText:Cr.Completions.SortText.LocationPriority}}))},wu.getJSDocTagNameCompletionDetails=rU,wu.getJSDocTagCompletions=function(){return Nr=Nr||Cr.map(kr,(function(e){return{name:"@"+e,kind:"keyword",kindModifiers:"",sortText:Cr.Completions.SortText.LocationPriority}}))},wu.getJSDocTagCompletionDetails=rU,wu.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},wu.getJSDocParameterNameCompletionDetails=function(e){return{name:e,kind:"parameter",kindModifiers:"",displayParts:[Cr.textPart(e)],documentation:Cr.emptyArray,tags:void 0,codeActions:void 0}},wu.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:aU(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?iU(r[0].initializer):void 0,r?{commentOwner:n,parameters:r.parameters,hasReturn:aU(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:aU(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:aU(r,t)}}}(e,s)}));if(i){var c,l,u;r=i.commentOwner,a=i.parameters,i=i.hasReturn;if(!(r.getStart(n)<t))return r=function(e,n){for(var t=e.text,r=(e=Cr.getLineStartPositionForPosition(n,e),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,u=e,(a||[]).map((function(e,n){var t=e.name;e=e.dotDotDotToken,t=79===t.kind?t.text:"param"+n;return l+" * @param "+(c?e?"{...any} ":"{any} ":"")+t+u})).join("")):"")+(i?r+" * @returns"+e:""))?{newText:(a="/**"+e+r+" * ")+e+n+r+" */"+(o===t?e+r:""),caretOffset:a.length}:{newText:"/** */",caretOffset:3}}}}},((Rr=SY=SY||{}).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,u=s,d=a.getMatchForLastSegmentOfPattern(i);if(d)for(var p=0,m=r;p<m.length;p++){var _,f=m[p];!function(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(function(e){var n=[],t=Rr.getNameOfDeclaration(e);if(t&&160===t.kind&&!oU(t.expression,n))return Rr.emptyArray;n.shift();for(var r=Rr.getContainerNode(e);r;){if(!function(e,n){return e=Rr.getNameOfDeclaration(e),e&&(sU(e,n)||160===e.kind&&oU(e.expression,n))}(r,n))return Rr.emptyArray;r=Rr.getContainerNode(r)}return n.reverse()}(f),i))&&u.push({name:i,fileName:l,matchKind:_.kind,isCaseSensitive:_.isCaseSensitive,declaration:f}):u.push({name:i,fileName:l,matchKind:d.kind,isCaseSensitive:d.isCaseSensitive,declaration:f}))}}))},l=0,u=e;l<u.length;l++)c(u[l]);return s.sort(cU),(void 0===a?s:s.slice(0,a)).map(lU)},Or=SY=SY||{},om=Or.NavigationBar||(Or.NavigationBar={}),Gr=/\s+/g,Br=150,Ur=[],Vr=[],jr=[],om.getNavigationBarItems=function(e,n){Pr=n,wr=e;try{return Or.map((t=_U(e),r=[],function e(n){if(function(e){if(e.children)return 1;switch(pU(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 function(e){if(e.node.body)switch(pU(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),wU)}finally{uU()}var t,r},om.getNavigationTree=function(e,n){Pr=n,wr=e;try{return PU(_U(e))}finally{uU()}},Kr=om={5:!0,3:!0,7:!0,9:!0,0:!1,1:!1,2:!1,8:!1,6:!0,4:!1},Hr=SY=SY||{},(sm=Hr.OrganizeImports||(Hr.OrganizeImports={})).organizeImports=function(e,n,t,r,a,i){function o(n){return Hr.stableSort(HU(function(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,u=e;l<u.length;l++){var d,p,m=u[l],_=m.importClause,f=m.moduleSpecifier;_?(d=_.name,_=_.namedBindings,d&&!g(d)&&(d=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)),d||_?c.push(zU(m,d,_)):function(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)),ZU)}var s=Hr.textChanges.ChangeTracker.fromContext({host:t,formatContext:n,preferences:a});d(e.statements.filter(Hr.isImportDeclaration),o),a=e.statements.filter(Hr.isExportDeclaration);d(a,WU);for(var c=0,l=e.statements.filter(Hr.isAmbientModule);c<l.length;c++){var u=l[c];u.body&&(d(u.body.statements.filter(Hr.isImportDeclaration),o),d(u.body.statements.filter(Hr.isExportDeclaration),WU))}return s.getChanges();function d(r,a){var i,o;0!==Hr.length(r)&&(Hr.suppressLeadingTrivia(r[0]),o=Hr.group(r,(function(e){return KU(e.moduleSpecifier)})),o=Hr.stableSort(o,(function(e,n){return XU(e[0].moduleSpecifier,n[0].moduleSpecifier)})),0===(o=Hr.flatMap(o,(function(e){return KU(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=HU,sm.coalesceExports=WU,sm.compareImportOrExportSpecifiers=qU,sm.compareModuleSpecifiers=XU,sm.importsAreSorted=function(e){return Hr.arrayIsSorted(e,ZU)},sm.importSpecifiersAreSorted=function(e){return Hr.arrayIsSorted(e,qU)},sm.getImportDeclarationInsertionIndex=function(e,n){return(e=Hr.binarySearch(e,n,Hr.identity,ZU))<0?~e:e},sm.getImportSpecifierInsertionIndex=function(e,n){return(e=Hr.binarySearch(e,n,Hr.identity,qU))<0?~e:e},sm.compareImportsOrRequireStatements=ZU,((Wr=SY=SY||{}).OutliningElementsCollector||(Wr.OutliningElementsCollector={})).collectElements=function(e,n){for(var t=[],r=e,a=n,i=t,o=40,s=0,c=$u($u([],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 u=s;s<l&&Wr.isAnyImportSyntax(c[s]);)tV(c[s],r,a,i),s++;var d=s-1;d!==u&&i.push(rV(Wr.findChildOfKind(c[u],100,r).getStart(r),c[d].getEnd(),"imports"))}function p(e){var n;0!==o&&(a.throwIfCancellationRequested(),(Wr.isDeclaration(e)||Wr.isVariableStatement(e)||Wr.isReturnStatement(e)||1===e.kind)&&tV(e,r,a,i),Wr.isFunctionLike(e)&&Wr.isBinaryExpression(e.parent)&&Wr.isPropertyAccessExpression(e.parent.left)&&tV(e.parent.left,r,a,i),(Wr.isBlock(e)||Wr.isModuleBlock(e))&&nV(e.statements.end,r,a,i),(Wr.isClassLike(e)||Wr.isInterfaceDeclaration(e))&&nV(e.members.end,r,a,i),(n=function(e,n){switch(e.kind){case 233:if(Wr.isFunctionLike(e.parent))return function(e,n,t){var r=function(e,n,t){return 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&&aV(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 iV(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 function(e){return e.length?iV(Wr.createTextSpanFromRange(e),"code"):void 0}(e.statements);case 203:return r(e);case 202:return r(e,22);case 276:return function(e){var t=Wr.createTextSpanFromBounds(e.openingElement.getStart(n),e.closingElement.getEnd());e=e.openingElement.tagName.getText(n);return iV(t,"code",t,!1,"<"+e+">...</"+e+">")}(e);case 280:return function(e){return e=Wr.createTextSpanFromBounds(e.openingFragment.getStart(n),e.closingFragment.getEnd()),iV(e,"code",e,!1,"<>...</>")}(e);case 277:case 278:return function(e){if(0!==e.properties.length)return rV(e.getStart(n),e.getEnd(),"code")}(e.attributes);case 221:case 14:return function(e){if(14!==e.kind||0!==e.text.length)return rV(e.getStart(n),e.getEnd(),"code")}(e);case 200:return a(e,!1,!Wr.isBindingElement(e.parent),22);case 212:return function(e){if(!Wr.isBlock(e.body)&&!Wr.positionsAreOnSameLine(e.body.getFullStart(),e.body.getEnd(),n))return iV(Wr.createTextSpanFromBounds(e.body.getFullStart(),e.body.getEnd()),"code",Wr.createTextSpanFromNode(e))}(e);case 206:return function(e){if(e.arguments.length){var t=Wr.findChildOfKind(e,20,n),r=Wr.findChildOfKind(e,21,n);return t&&r&&!Wr.positionsAreOnSameLine(t.pos,r.pos,n)?aV(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&&aV(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=eV(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(iV(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=SY=SY||{},(nd=qr=Jr.PatternMatchKind||(Jr.PatternMatchKind={}))[nd.exact=0]="exact",nd[nd.prefix=1]="prefix",nd[nd.substring=2]="substring",nd[nd.camelCase=3]="camelCase",Jr.createPatternMatcher=function(e){var n=new Jr.Map,t=e.trim().split(".").map((function(e){return{totalTextChunk:hV(e=e.trim()),subWordTextChunks:function(e){for(var n=[],t=0,r=0,a=0;a<e.length;a++)!function(e){return _V(e)||fV(e)||yV(e)||95===e||36===e}(e.charCodeAt(a))?0<r&&(n.push(hV(e.substr(t,r))),r=0):(0===r&&(t=a),r++);return 0<r&&n.push(hV(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(lV(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,lV(i[l],o[c],s));return a}},getMatchForLastSegmentOfPattern:function(e){return lV(e,Jr.last(t),n)},patternContainsDots:1<t.length}},Jr.breakIntoCharacterSpans=vV,Jr.breakIntoWordSpans=bV,(Xr=SY=SY||{}).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 u(){return a=i,18===(i=Xr.scanner.scan())?c++:19===i&&c--,i}function d(){var e=Xr.scanner.getTokenValue(),n=Xr.scanner.getTokenPos();return{fileName:e,pos:n,end:n+e.length}}function p(){s.push(d()),m()}function m(){0===c&&(l=!0)}function _(){return 134===Xr.scanner.getToken()&&(140===u()&&10===u()&&(r=r||[]).push({ref:d(),depth:c}),1)}function f(e,n){return void 0===n&&(n=!1),144===(e?u():Xr.scanner.getToken())&&(20===u()&&(10===(e=u())||n&&14===e)&&p(),1)}function g(){for(Xr.scanner.setText(e),u();;){if(1===Xr.scanner.getToken())break;_()||function(){if(24!==a){var e=Xr.scanner.getToken();if(100===e){if(20===(e=u()))10!==(e=u())&&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))}))?u():e)||Xr.isKeyword(e))if(154===(e=u())){if(10===(e=u()))return p(),1}else if(63===e){if(f(!0))return 1}else{if(27!==e)return 1;e=u()}if(18===e){for(e=u();19!==e&&1!==e;)e=u();19===e&&154===(e=u())&&10===(e=u())&&p()}else 41!==e||127!==(e=u())||79!==(e=u())&&!Xr.isKeyword(e)||154!==(e=u())||10!==(e=u())||p()}return 1}}}()||function(){if(93===(e=Xr.scanner.getToken())){if(m(),18===(e=150===(e=u())&&Xr.scanner.lookAhead((function(){var e=Xr.scanner.scan();return 41===e||18===e}))?u():e)){for(e=u();19!==e&&1!==e;)e=u();19===e&&154===(e=u())&&10===(e=u())&&p()}else if(41===e)154===(e=u())&&10===(e=u())&&p();else if(100===e){var e=u();(79===(e=150===e&&Xr.scanner.lookAhead((function(){var e=Xr.scanner.scan();return 79===e||Xr.isKeyword(e)}))?u():e)||Xr.isKeyword(e))&&63===(e=u())&&f(!0)}return 1}}()||t&&(f(!1,!0)||function(){var e=Xr.scanner.getToken();if(79===e&&"define"===Xr.scanner.getTokenValue()){if(20===(e=u())){if(10===(e=u())||14===e){if(27!==(e=u()))return 1;e=u()}if(22===e)for(e=u();23!==e&&1!==e;)10!==e&&14!==e||p(),e=u()}return 1}}())||u()}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=SY=SY||{}).Rename||(Yr.Rename={})).getRenameInfo=function(e,n,t,r){return function(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=function(e,n,t,r,a){var i=n.getSymbolAtLocation(e);if(i){if(l=i.declarations,l&&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 AV(Yr.Diagnostics.You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library);if(Yr.isIdentifier(e)&&88===e.originalKeywordKind&&i.parent&&1536&i.parent.flags)return;if(Yr.isStringLiteralLike(e)&&Yr.tryGetImportFromModuleSpecifier(e)){if(a&&a.allowRenameOfImportPath){l=e;a=t;var o=i;if(!Yr.isExternalModuleNameRelative(l.text))return AV(Yr.Diagnostics.You_cannot_rename_a_module_via_a_global_import);var s,c;o=o.declarations&&Yr.find(o.declarations,Yr.isSourceFile);return o?(s=Yr.endsWith(l.text,"/index")||Yr.endsWith(l.text,"/index.js")?void 0:Yr.tryRemoveSuffix(Yr.removeFileExtension(o.fileName),"/index"),o=void 0===s?o.fileName:s,s=void 0===s?"module":"directory",c=l.text.lastIndexOf("/")+1,a=Yr.createTextSpan(l.getStart(a)+1+c,l.text.length-c),{canRename:!0,fileToRename:o,kind:s,displayName:o,fullDisplayName:o,kindModifiers:"",triggerSpan:a}):void 0}return}return c=Yr.SymbolDisplay.getSymbolKind(n,i,e),s=Yr.isImportOrExportSpecifierName(e)||Yr.isStringOrNumericLiteralLike(e)&&160===e.parent.kind?Yr.stripQuotes(Yr.getTextOfIdentifierOrLiteral(e)):void 0,o=s||n.symbolToString(i),a=s||n.getFullyQualifiedName(i),DV(o,a,c,Yr.SymbolDisplay.getSymbolModifiers(n,i),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 DV(e.text,e.text,"string","",e,t)}else if(Yr.isLabelName(e))return DV(l=Yr.getTextOfNode(e),l,"label","",e,t)}(t,e.getTypeChecker(),n,e,r),t)?t:AV(Yr.Diagnostics.You_cannot_rename_this_element)},((Qr=SY=SY||{}).SmartSelectionRange||(Qr.SmartSelectionRange={})).getSmartSelectionRange=function(e,n){var t={textSpan:Qr.createTextSpanFromBounds(n.getFullStart(),n.getEnd())},r=n;e:for(;;){var a=function(e){return Qr.isSourceFile(e)?CV(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=CV(a,(function(n){return n===e.readonlyToken||143===n.kind||n===e.questionToken||57===n.kind})),r=CV(r,(function(e){return e=e.kind,22===e||161===e||23===e})),[n,NV(IV(r,(function(e){return 58===e.kind}))),t]):Qr.isPropertySignature(e)?IV(a=CV(e.getChildren(),(function(n){return n===e.name||Qr.contains(e.modifiers,n)})),(function(e){return 58===e.kind})):Qr.isParameter(e)?(i=CV(e.getChildren(),(function(n){return n===e.dotDotDotToken||n===e.name})),IV(CV(i,(function(n){return n===i[0]||n===e.questionToken})),(function(e){return 63===e.kind}))):Qr.isBindingElement(e)?IV(e.getChildren(),(function(e){return 63===e.kind})):e.getChildren();var n,t,r,a,i}(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=d=u=void 0;for(var u=l.pos,d=l.end,p=(m(u,d),u);47===n.text.charCodeAt(p);)p++;m(p,d)}if(function(e,n,t){return Qr.Debug.assert(t.pos<=n),n<t.end?1: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)&&function(e){return e=e&&e.kind,18===e||22===e||20===e||278===e}(o)&&function(e){return e=e&&e.kind,19===e||23===e||21===e||279===e}(c)&&!Qr.positionsAreOnSameLine(o.getStart(),c.getStart(),n),u=l?o.getEnd():s.getStart(),d=l?c.getStart():function(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(),d),m(u,d),(Qr.isStringLiteral(s)||Qr.isTemplateLiteral(s))&&m(u+1,d-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=ed({textSpan:n},t&&{parent:t})))}},Zr=Qr.or(Qr.isImportDeclaration,Qr.isImportEqualsDeclaration),$r=SY=SY||{},(wu=$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,u,d,p,m=function(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=function(e,n,t){var r,a,i;n=function(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=RV(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:PV(r)-1;a=PV(i);return o&&{contextualType:o,argumentIndex:s,argumentCount:a,argumentsSpan:$r.createTextSpanFromNode(r)};default:return}}}(e,n,t);if(n)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:function(e){return"__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)||OV(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=function(e,n,t,r,a){var i=e.invocation,o=e.argumentCount;switch(i.kind){case 0:return a&&!function(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 kV(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&&!kV(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?GV(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:[function(e,n,t,r,a){var i=$r.symbolToDisplayParts(t,e),o=$r.createPrinter({removeComments:!0}),s=(n=n.map((function(e){return VV(e,t,r,a,o)})),e.getDocumentationComment(t));e=e.getJsDocTags(t);return{isVariadic:!1,prefixDisplayParts:$u($u([],i,!0),[$r.punctuationPart(29)],!1),suffixDisplayParts:[$r.punctuationPart(31)],separatorDisplayParts:na,parameters:n,documentation:s,tags:e}}(t,l,e,FV(o),r)],applicableSpan:i,selectedItemIndex:0,argumentIndex:s,argumentCount:a}:void 0)})):$r.isSourceFileJS(n)&&(t=e,u=a,2!==(l=m).invocation.kind)&&(r=MV(l.invocation),d=$r.isPropertyAccessExpression(r)?r.name.text:void 0,p=t.getTypeChecker(),void 0!==d)?$r.firstDefined(t.getSourceFiles(),(function(e){return $r.firstDefined(e.getNamedDeclarations().get(d),(function(n){n=n.symbol&&p.getTypeOfSymbolAtLocation(n.symbol,n);var t=n&&n.getCallSignatures();if(t&&t.length)return p.runWithCancellationToken(u,(function(n){return GV(t,t[0],l,e,n,!0)}))}))})):void 0}}},wu.getArgumentInfoForCompletions=function(e,n,t){return!(e=OV(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=SY=SY||{}).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):jV(i)&&(ta.isCallExpression(n)||ta.isNewExpression(n))?f(n):(i.includeInlayFunctionParameterTypeHints&&ta.isFunctionLikeDeclaration(n)&&ta.hasContextSensitiveParameters(n)&&y(n),i.includeInlayFunctionLikeReturnTypeHints&&u(n)&&g(n)),ta.forEachChild(n,e)}}(n),l;function u(e){return ta.isArrowFunction(e)||ta.isFunctionExpression(e)||ta.isFunctionDeclaration(e)||ta.isMethodDeclaration(e)||ta.isGetAccessorDeclaration(e)}function d(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))&&d(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 u=0;u<t.length;++u){var d,p,m=t[u],_=ta.skipParentheses(m);("literals"!==i.includeInlayParameterNameHints||function(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,u))&&(d=p[0],p=p[1],!i.includeInlayParameterNameHintsWhenArgumentMatchesName&&function(e,n){return ta.isIdentifier(e)?e.text===n:ta.isPropertyAccessExpression(e)?e.name.text===n:void 0}(_,d)&&!p||function(e,t){var r;return ta.isIdentifierText(t,s.target,ta.getLanguageVariant(n.scriptKind))&&!(null==(e=ta.getLeadingCommentRanges(o,e.pos))||!e.length)&&(r=function(e){return new RegExp("^\\s?/\\*\\*?\\s?"+e+"\\s?\\*\\/\\s?$")}(t),ta.some(e,(function(e){return r.test(o.substring(e.pos,e.end))})))}(_,_=ta.unescapeLeadingUnderscores(d))||(d=_,_=m.getStart(),l.push({text:(p?"...":"")+h(d,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))&&d(t,function(e){var t=ta.findChildOfKind(e,21,n);return t?t.end: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=function(e){var n=e.valueDeclaration;if(n&&ta.isParameter(n)&&(e=c.getTypeOfSymbolAtLocation(e,n),!m(e)))return v(e)}(n.parameters[t]))&&d(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=SY=SY||{},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],KV(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 KV(e,l,c);if(void 0!==l)return l||void 0}},ia=SY=SY||{},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?QV(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))),ZV(t)&&HV(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],u=function(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));u&&(l=(l=ia.getResolvedModule(e,l.text))&&n.getSourceFile(l.resolvedFileName))&&l.externalModuleIndicator&&ia.isExportAssignment(l.externalModuleIndicator)&&l.externalModuleIndicator.isExportEquals&&a.push(ia.createDiagnosticForNode(u,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=WV,ia.isReturnStatementWithFixablePromiseHandler=zV,ia.isFixablePromiseHandler=JV,ia.canBeConvertedToAsync=ZV,sa=SY=SY||{},(om=sa.SymbolDisplay||(sa.SymbolDisplay={})).getSymbolKind=$V,om.getSymbolModifiers=function(e,n){var t;return n&&(t=new sa.Set(nj(n)),2097152&n.flags&&(e=e.getAliasedSymbol(n))!==n&&sa.forEach(nj(e),(function(e){t.add(e)})),16777216&n.flags&&t.add("optional"),0<t.size)?sa.arrayFrom(t.values()).join(","):""},om.getSymbolDisplayPartsDocumentationAndSymbolKind=function e(n,t,r,a,i,o,s){void 0===o&&(o=sa.getMeaningFromLocation(i));var c,l,u,d,p=[],m=[],_=[],f=sa.getCombinedLocalAndExportSymbolFlags(t),g=1&o?ej(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&&(d=S.declarations[0],u=(u=sa.getNameOfDeclaration(d))?(l=sa.isModuleWithStringLiteralName(d)&&sa.hasSyntacticModifier(d,2),l="default"!==t.name&&!l,u=e(n,S,sa.getSourceFileOfNode(d),d,u,o,l?t:S),p.push.apply(p,u.displayParts),p.push(sa.lineBreakPart()),l=u.documentation,u.tags):(l=S.getContextualDocumentationComment(d,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&&(d=t.target.tupleLabelDeclaration,sa.Debug.assertNode(d.name,sa.isIdentifier),p.push(sa.spacePart()),p.push(sa.punctuationPart(20)),p.push(sa.textPart(sa.idText(d.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=$V(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&&u&&(_=u),{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=SY=SY||{}).transpileModule=rj,ca.transpile=function(e,n,t,r,a){return e=rj(e,{compilerOptions:n,fileName:t,reportDiagnostics:!!r,moduleName:a}),ca.addRange(r,e.diagnostics),e.outputText},ca.fixupCompilerOptions=aj,ua=SY=SY||{},sm=ua.formatting||(ua.formatting={}),(nd=sm.FormattingRequestKind||(sm.FormattingRequestKind={}))[nd.FormatDocument=0]="FormatDocument",nd[nd.FormatSelection=1]="FormatSelection",nd[nd.FormatOnEnter=2]="FormatOnEnter",nd[nd.FormatOnSemicolon=3]="FormatOnSemicolon",nd[nd.FormatOnOpeningCurlyBrace=4]="FormatOnOpeningCurlyBrace",nd[nd.FormatOnClosingCurlyBrace=5]="FormatOnClosingCurlyBrace",ij.prototype.updateContext=function(e,n,t,r,a){this.currentTokenSpan=ua.Debug.checkDefined(e),this.currentTokenParent=ua.Debug.checkDefined(n),this.nextTokenSpan=ua.Debug.checkDefined(t),this.nextTokenParent=ua.Debug.checkDefined(r),this.contextNode=ua.Debug.checkDefined(a),this.contextNodeAllOnSameLine=void 0,this.nextNodeAllOnSameLine=void 0,this.tokensAreOnSameLine=void 0,this.contextNodeBlockIsOnOneLine=void 0,this.nextNodeBlockIsOnOneLine=void 0},ij.prototype.ContextNodeAllOnSameLine=function(){return void 0===this.contextNodeAllOnSameLine&&(this.contextNodeAllOnSameLine=this.NodeIsOnOneLine(this.contextNode)),this.contextNodeAllOnSameLine},ij.prototype.NextNodeAllOnSameLine=function(){return void 0===this.nextNodeAllOnSameLine&&(this.nextNodeAllOnSameLine=this.NodeIsOnOneLine(this.nextTokenParent)),this.nextNodeAllOnSameLine},ij.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},ij.prototype.ContextNodeBlockIsOnOneLine=function(){return void 0===this.contextNodeBlockIsOnOneLine&&(this.contextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.contextNode)),this.contextNodeBlockIsOnOneLine},ij.prototype.NextNodeBlockIsOnOneLine=function(){return void 0===this.nextNodeBlockIsOnOneLine&&(this.nextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.nextTokenParent)),this.nextNodeBlockIsOnOneLine},ij.prototype.NodeIsOnOneLine=function(e){return this.sourceFile.getLineAndCharacterOfPosition(e.getStart(this.sourceFile)).line===this.sourceFile.getLineAndCharacterOfPosition(e.getEnd()).line},ij.prototype.BlockIsOnOneLine=function(e){var n=ua.findChildOfKind(e,18,this.sourceFile);e=ua.findChildOfKind(e,19,this.sourceFile);return!(!n||!e)&&this.sourceFile.getLineAndCharacterOfPosition(n.getEnd()).line===this.sourceFile.getLineAndCharacterOfPosition(e.getStart(this.sourceFile)).line},nd=ij,sm.FormattingContext=nd,da=SY=SY||{},pa=da.formatting||(da.formatting={}),ma=da.createScanner(99,!1,0),_a=da.createScanner(99,!1,1),pa.getFormattingScanner=function(e,n,t,r,a){var i,o,s,c,l=1===n?_a:ma,u=(l.setText(e),l.setTextPos(t),!0),d=(n=a({advance:function(){d=void 0,l.getStartPos()!==t?u=!!o&&4===da.last(o).kind:l.scan(),i=void 0,o=void 0;for(var e=l.getStartPos();e<r;){var n=l.getToken();if(!da.isTrivia(n))break;l.scan(),n={pos:e,end:l.getStartPos(),kind:n},e=l.getStartPos(),i=da.append(i,n)}s=l.getStartPos()},readTokenInfo:function(e){da.Debug.assert(p());var n=function(e){switch(e.kind){case 33:case 71:case 72:case 49:case 48:return 1}}(e)?1:13===e.kind?2:function(e){return 16===e.kind||17===e.kind}(e)?3:function(e){if(e.parent)switch(e.parent.kind){case 283:case 278:case 279:case 277:return da.isKeyword(e.kind)||79===e.kind}}(e)?4:function(e){return da.isJsxText(e)}(e)?5:function(e){return e.parent&&da.isJsxAttribute(e.parent)&&e.parent.initializer===e}(e)?6:0;if(!d||n!==c){l.getStartPos()!==s&&(da.Debug.assert(void 0!==d),l.setTextPos(s),l.scan());var t=function(e,n){var t=l.getToken();switch(c=0,n){case 1:if(31===t)return c=1,r=l.reScanGreaterToken(),da.Debug.assert(e.kind===r),r;break;case 2:var r;if(function(e){return 43===e||68===e}(t))return c=2,r=l.reScanSlashToken(),da.Debug.assert(e.kind===r),r;break;case 3:if(19===t)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:da.Debug.assertNever(n)}return t}(e,n);n=pa.createTextRangeWithKind(l.getStartPos(),l.getTextPos(),t);for(o=o&&void 0;l.getStartPos()<r&&(t=l.scan(),da.isTrivia(t));){var a=pa.createTextRangeWithKind(l.getStartPos(),l.getTextPos(),t);if((o=o||[]).push(a),4===t){l.scan();break}}d={leadingTrivia:i,trailingTrivia:o,token:n}}return _(d,e)},readEOFTokenRange:function(){return da.Debug.assert(m()),pa.createTextRangeWithKind(l.getStartPos(),l.getTextPos(),1)},isOnToken:p,isOnEOF:m,getCurrentLeadingTrivia:function(){return i},lastTrailingTriviaWasNewLine:function(){return u},skipToEndOf:function(e){l.setTextPos(e.end),s=l.getStartPos(),c=void 0,d=void 0,u=!1,i=void 0,o=void 0},skipToStartOf:function(e){l.setTextPos(e.pos),s=l.getStartPos(),c=void 0,d=void 0,u=!1,i=void 0,o=void 0}}),void 0);return l.setText(void 0),n;function p(){var e=d?d.token.kind:l.getToken();return(d?d.token.pos:l.getStartPos())<r&&1!==e&&!da.isTrivia(e)}function m(){return 1===(d?d.token.kind:l.getToken())}function _(e,n){return da.isToken(n)&&e.token.kind!==n.kind&&(e.token.kind=n.kind),e}},wu=SY=SY||{},(om=wu.formatting||(wu.formatting={})).anyContext=wu.emptyArray,(wu=om.RuleAction||(om.RuleAction={}))[wu.StopProcessingSpaceActions=1]="StopProcessingSpaceActions",wu[wu.StopProcessingTokenActions=2]="StopProcessingTokenActions",wu[wu.InsertSpace=4]="InsertSpace",wu[wu.InsertNewLine=8]="InsertNewLine",wu[wu.DeleteSpace=16]="DeleteSpace",wu[wu.DeleteToken=32]="DeleteToken",wu[wu.InsertTrailingSemicolon=64]="InsertTrailingSemicolon",wu[wu.StopAction=3]="StopAction",wu[wu.ModifySpaceAction=28]="ModifySpaceAction",wu[wu.ModifyTokenAction=96]="ModifyTokenAction",(wu=om.RuleFlags||(om.RuleFlags={}))[wu.None=0]="None",wu[wu.CanDeleteNewLines=1]="CanDeleteNewLines",fa=SY=SY||{},(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=sj($u($u([],e,!0),[3],!1)),i=sj($u($u([],e,!0),[1],!1)),o=lj(81,158),s=lj(29,78),c=[101,102,158,127,138],l=$u([79],fa.typeKeywords,!0),u=a,d=sj([79,3,84,93,100]),p=sj([21,3,90,111,96,91]);a=[oj("IgnoreBeforeComment",r,[2,3],ga.anyContext,1),oj("IgnoreAfterLineComment",2,r,ga.anyContext,1),oj("NotSpaceBeforeColon",r,58,[Hj,vj,bj],16),oj("SpaceAfterColon",58,r,[Hj,vj],4),oj("NoSpaceBeforeQuestionMark",r,57,[Hj,vj,bj],16),oj("SpaceAfterQuestionMarkInConditionalOperator",57,r,[Hj,Tj],4),oj("NoSpaceAfterQuestionMark",57,r,[Hj],16),oj("NoSpaceBeforeDot",r,[24,28],[Hj],16),oj("NoSpaceAfterDot",[24,28],r,[Hj],16),oj("NoSpaceBetweenImportParenInImportType",100,20,[Hj,Kj],16),oj("NoSpaceAfterUnaryPrefixOperator",[45,46,54,53],[8,9,79,20,22,18,108,103],[Hj,vj],16),oj("NoSpaceAfterUnaryPreincrementOperator",45,[79,20,108,103],[Hj],16),oj("NoSpaceAfterUnaryPredecrementOperator",46,[79,20,108,103],[Hj],16),oj("NoSpaceBeforeUnaryPostincrementOperator",[79,21,23,103],45,[Hj,dK],16),oj("NoSpaceBeforeUnaryPostdecrementOperator",[79,21,23,103],46,[Hj,dK],16),oj("SpaceAfterPostincrementWhenFollowedByAdd",45,39,[Hj,hj],4),oj("SpaceAfterAddWhenFollowedByUnaryPlus",39,39,[Hj,hj],4),oj("SpaceAfterAddWhenFollowedByPreincrement",39,45,[Hj,hj],4),oj("SpaceAfterPostdecrementWhenFollowedBySubtract",46,40,[Hj,hj],4),oj("SpaceAfterSubtractWhenFollowedByUnaryMinus",40,40,[Hj,hj],4),oj("SpaceAfterSubtractWhenFollowedByPredecrement",40,46,[Hj,hj],4),oj("NoSpaceAfterCloseBrace",19,[27,26],[Hj],16),oj("NewLineBeforeCloseBraceInBlockContext",a,19,[Dj],8),oj("SpaceAfterCloseBrace",19,t(21),[Hj,wj],4),oj("SpaceBetweenCloseBraceAndElse",19,91,[Hj],4),oj("SpaceBetweenCloseBraceAndWhile",19,115,[Hj],4),oj("NoSpaceBetweenEmptyBraceBrackets",18,19,[Hj,Fj],16),oj("SpaceAfterConditionalClosingParen",21,22,[Mj],4),oj("NoSpaceBetweenFunctionKeywordAndStar",98,41,[Rj],16),oj("SpaceAfterStarInGeneratorDeclaration",41,79,[Rj],4),oj("SpaceAfterFunctionInFuncDecl",98,r,[Nj],4),oj("NewLineAfterOpenBraceInBlockContext",18,r,[Dj],8),oj("SpaceAfterGetSetInMember",[135,147],79,[Nj],4),oj("NoSpaceBetweenYieldKeywordAndStar",125,41,[Hj,lK],16),oj("SpaceBetweenYieldOrYieldStarAndOperand",[125,41],r,[Hj,lK],4),oj("NoSpaceBetweenReturnAndSemicolon",105,26,[Hj],16),oj("SpaceAfterCertainKeywords",[113,109,103,89,105,112,131],r,[Hj],4),oj("SpaceAfterLetConstInVariableDeclaration",[119,85],r,[Hj,eK],4),oj("NoSpaceBeforeOpenParenInFuncCall",r,20,[Hj,Gj,Bj],16),oj("SpaceBeforeBinaryKeywordOperator",r,c,[Hj,hj],4),oj("SpaceAfterBinaryKeywordOperator",c,r,[Hj,hj],4),oj("SpaceAfterVoidOperator",114,r,[Hj,cK],4),oj("SpaceBetweenAsyncAndOpenParen",130,20,[jj,Hj],4),oj("SpaceBetweenAsyncAndFunctionKeyword",130,[98,79],[Hj],4),oj("NoSpaceBetweenTagAndTemplateString",[79,21],[14,15],[Hj],16),oj("SpaceBeforeJsxAttribute",r,79,[qj,Hj],4),oj("SpaceBeforeSlashInJsxOpeningElement",r,43,[Yj,Hj],4),oj("NoSpaceBeforeGreaterThanTokenInJsxOpeningElement",43,31,[Yj,Hj],16),oj("NoSpaceBeforeEqualInJsxAttribute",r,63,[Xj,Hj],16),oj("NoSpaceAfterEqualInJsxAttribute",63,r,[Xj,Hj],16),oj("NoSpaceAfterModuleImport",[140,144],20,[Hj],16),oj("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,[Hj],4),oj("SpaceBeforeCertainTypeScriptKeywords",r,[94,117,154],[Hj],4),oj("SpaceAfterModuleName",10,18,[tK],4),oj("SpaceBeforeArrow",r,38,[Hj],4),oj("SpaceAfterArrow",38,r,[Hj],4),oj("NoSpaceAfterEllipsis",25,79,[Hj],16),oj("NoSpaceAfterOptionalParameters",57,[21,27],[Hj,vj],16),oj("NoSpaceBetweenEmptyInterfaceBraceBrackets",18,19,[Hj,rK],16),oj("NoSpaceBeforeOpenAngularBracket",l,29,[Hj,oK],16),oj("NoSpaceBetweenCloseParenAndAngularBracket",21,29,[Hj,oK],16),oj("NoSpaceAfterOpenAngularBracket",29,r,[Hj,oK],16),oj("NoSpaceBeforeCloseAngularBracket",r,31,[Hj,oK],16),oj("NoSpaceAfterCloseAngularBracket",31,[20,22,31,27],[Hj,oK,kj],16),oj("SpaceBeforeAt",[21,79],59,[Hj],4),oj("NoSpaceAfterAt",59,r,[Hj],16),oj("SpaceAfterDecorator",r,[126,79,93,88,84,124,123,121,122,135,147,22,41],[Zj],4),oj("NoSpaceBeforeNonNullAssertionOperator",r,53,[Hj,uK],16),oj("NoSpaceAfterNewKeywordOnConstructorSignature",103,20,[Hj,aK],16),oj("SpaceLessThanAndNonJSXTypeAnnotation",29,29,[Hj],4)],c=[oj("SpaceAfterConstructor",133,20,[dj("insertSpaceAfterConstructor"),Hj],4),oj("NoSpaceAfterConstructor",133,20,[mj("insertSpaceAfterConstructor"),Hj],16),oj("SpaceAfterComma",27,r,[dj("insertSpaceAfterCommaDelimiter"),Hj,zj,Uj,Vj],4),oj("NoSpaceAfterComma",27,r,[mj("insertSpaceAfterCommaDelimiter"),Hj,zj],16),oj("SpaceAfterAnonymousFunctionKeyword",[98,41],20,[dj("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),Nj],4),oj("NoSpaceAfterAnonymousFunctionKeyword",[98,41],20,[mj("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),Nj],16),oj("SpaceAfterKeywordInControl",o,20,[dj("insertSpaceAfterKeywordsInControlFlowStatements"),Mj],4),oj("NoSpaceAfterKeywordInControl",o,20,[mj("insertSpaceAfterKeywordsInControlFlowStatements"),Mj],16),oj("SpaceAfterOpenParen",20,r,[dj("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),Hj],4),oj("SpaceBeforeCloseParen",r,21,[dj("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),Hj],4),oj("SpaceBetweenOpenParens",20,20,[dj("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),Hj],4),oj("NoSpaceBetweenParens",20,21,[Hj],16),oj("NoSpaceAfterOpenParen",20,r,[mj("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),Hj],16),oj("NoSpaceBeforeCloseParen",r,21,[mj("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),Hj],16),oj("SpaceAfterOpenBracket",22,r,[dj("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),Hj],4),oj("SpaceBeforeCloseBracket",r,23,[dj("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),Hj],4),oj("NoSpaceBetweenBrackets",22,23,[Hj],16),oj("NoSpaceAfterOpenBracket",22,r,[mj("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),Hj],16),oj("NoSpaceBeforeCloseBracket",r,23,[mj("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),Hj],16),oj("SpaceAfterOpenBrace",18,r,[fj("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),xj],4),oj("SpaceBeforeCloseBrace",r,19,[fj("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),xj],4),oj("NoSpaceBetweenEmptyBraceBrackets",18,19,[Hj,Fj],16),oj("NoSpaceAfterOpenBrace",18,r,[pj("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),Hj],16),oj("NoSpaceBeforeCloseBrace",r,19,[pj("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),Hj],16),oj("SpaceBetweenEmptyBraceBrackets",18,19,[dj("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces")],4),oj("NoSpaceBetweenEmptyBraceBrackets",18,19,[pj("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces"),Hj],16),oj("SpaceAfterTemplateHeadAndMiddle",[15,16],r,[dj("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),Wj],4,1),oj("SpaceBeforeTemplateMiddleAndTail",r,[16,17],[dj("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),Hj],4),oj("NoSpaceAfterTemplateHeadAndMiddle",[15,16],r,[mj("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),Wj],16,1),oj("NoSpaceBeforeTemplateMiddleAndTail",r,[16,17],[mj("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),Hj],16),oj("SpaceAfterOpenBraceInJsxExpression",18,r,[dj("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),Hj,Jj],4),oj("SpaceBeforeCloseBraceInJsxExpression",r,19,[dj("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),Hj,Jj],4),oj("NoSpaceAfterOpenBraceInJsxExpression",18,r,[mj("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),Hj,Jj],16),oj("NoSpaceBeforeCloseBraceInJsxExpression",r,19,[mj("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),Hj,Jj],16),oj("SpaceAfterSemicolonInFor",26,r,[dj("insertSpaceAfterSemicolonInForStatements"),Hj,gj],4),oj("NoSpaceAfterSemicolonInFor",26,r,[mj("insertSpaceAfterSemicolonInForStatements"),Hj,gj],16),oj("SpaceBeforeBinaryOperator",r,s,[dj("insertSpaceBeforeAndAfterBinaryOperators"),Hj,hj],4),oj("SpaceAfterBinaryOperator",s,r,[dj("insertSpaceBeforeAndAfterBinaryOperators"),Hj,hj],4),oj("NoSpaceBeforeBinaryOperator",r,s,[mj("insertSpaceBeforeAndAfterBinaryOperators"),Hj,hj],16),oj("NoSpaceAfterBinaryOperator",s,r,[mj("insertSpaceBeforeAndAfterBinaryOperators"),Hj,hj],16),oj("SpaceBeforeOpenParenInFuncDecl",r,20,[dj("insertSpaceBeforeFunctionParenthesis"),Hj,Nj],4),oj("NoSpaceBeforeOpenParenInFuncDecl",r,20,[mj("insertSpaceBeforeFunctionParenthesis"),Hj,Nj],16),oj("NewLineBeforeOpenBraceInControl",p,18,[dj("placeOpenBraceOnNewLineForControlBlocks"),Mj,Lj],8,1),oj("NewLineBeforeOpenBraceInFunction",u,18,[dj("placeOpenBraceOnNewLineForFunctions"),Nj,Lj],8,1),oj("NewLineBeforeOpenBraceInTypeScriptDeclWithBlock",d,18,[dj("placeOpenBraceOnNewLineForFunctions"),Oj,Lj],8,1),oj("SpaceAfterTypeAssertion",31,r,[dj("insertSpaceAfterTypeAssertion"),Hj,sK],4),oj("NoSpaceAfterTypeAssertion",31,r,[mj("insertSpaceAfterTypeAssertion"),Hj,sK],16),oj("SpaceBeforeTypeAnnotation",r,[57,58],[dj("insertSpaceBeforeTypeAnnotation"),Hj,Ej],4),oj("NoSpaceBeforeTypeAnnotation",r,[57,58],[mj("insertSpaceBeforeTypeAnnotation"),Hj,Ej],16),oj("NoOptionalSemicolon",26,i,[uj("semicolons",fa.SemicolonPreference.Remove),pK],32),oj("OptionalSemicolon",r,i,[uj("semicolons",fa.SemicolonPreference.Insert),mK],64)],l=[oj("NoSpaceBeforeSemicolon",r,26,[Hj],16),oj("SpaceBeforeOpenBraceInControl",p,18,[_j("placeOpenBraceOnNewLineForControlBlocks"),Mj,nK,Sj],4,1),oj("SpaceBeforeOpenBraceInFunction",u,18,[_j("placeOpenBraceOnNewLineForFunctions"),Nj,Cj,nK,Sj],4,1),oj("SpaceBeforeOpenBraceInTypeScriptDeclWithBlock",d,18,[_j("placeOpenBraceOnNewLineForFunctions"),Oj,nK,Sj],4,1),oj("NoSpaceBeforeComma",r,27,[Hj],16),oj("NoSpaceBeforeOpenBracket",t(130,82),22,[Hj],16),oj("NoSpaceAfterCloseBracket",23,r,[Hj,Qj],16),oj("SpaceAfterSemicolon",26,r,[Hj],4),oj("SpaceBetweenForAndAwaitKeyword",97,131,[Hj],4),oj("SpaceBetweenStatements",[21,90,91,82],r,[Hj,zj,yj],4),oj("SpaceAfterTryCatchFinally",[111,83,96],18,[Hj],4)];return $u($u($u([],a,!0),c,!0),l,!0)},ya=SY=SY||{},(ha=ya.formatting||(ya.formatting={})).getFormatContext=function(e,n){return{options:e,getRules:function(){return void 0===va&&(va=function(e){var n=function(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],u=0,d=i.rightTokenRange.tokens;u<d.length;u++){var p=d[u],m=(p=_K(l,p),n[p]);!function(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(function(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]=function(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[_K(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=~function(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=SY=SY||{},(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--,vK({pos:xa.getStartPositionOfLine(e-1,n),end:r+1},n,t,2)},La.formatOnSemicolon=function(e,n,t){return hK(gK(fK(e,26,n)),n,t,3)},La.formatOnOpeningCurly=function(e,n,t){var r=fK(e,18,n);return r?(r=gK(r.parent),vK({pos:xa.getLineStartPositionForPosition(r.getStart(n),n),end:e},n,t,4)):[]},La.formatOnClosingCurly=function(e,n,t){return hK(gK(fK(e,19,n)),n,t,5)},La.formatDocument=function(e,n){return vK({pos:0,end:e.text.length},e,n,0)},La.formatSelection=function(e,n,t,r){return vK({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 bK(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=SK,Ia=SY=SY||{},Na=Ia.formatting||(Ia.formatting={}),(nd=Na.SmartIndenter||(Na.SmartIndenter={})).getIndentation=function(e,n,t,r){if(void 0===r&&(r=!1),e>n.text.length)return xK(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 u=n,s=e,o=t,i=i,c=Ia.getLineAndCharacterOfPosition(u,s).line-1,i=Ia.getLineAndCharacterOfPosition(u,i.pos).line,Ia.Debug.assert(0<=i),c<=i?MK(Ia.getStartPositionOfLine(i,u),s,u,o):(i=Ia.getStartPositionOfLine(c,u),c=wK(i,s,u,o),s=c.column,o=c.character,0!==s&&42===u.text.charCodeAt(i+o)?s-1:s);if(!a)return xK(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,u=t,d=e;0<d;){var p=l.text.charCodeAt(d);if(!Ia.isWhiteSpaceLike(p))break;d--}return MK(Ia.getLineStartPositionForPosition(d,l),d,l,u)}if(27===a.kind&&219!==a.parent.kind&&(i=function(e,n,t){return e=Ia.findListItemInfo(e),e&&0<e.listItemIndex?OK(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&&NK(o,o,s,i))&&!Ia.rangeContainsRange(i,a))return kK(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)&&GK(b,E,m,f,!0))return T=DK(E,f),_=function(e,n,t,r){if(e=Ia.findNextToken(e,n,r),e){if(18===e.kind)return 1;if(19===e.kind)return n=DK(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,LK(E,T,void 0,_,f,!0,b);var T=RK(E,f,b,!0);if(-1!==T)return T;E=(m=E).parent}return xK(b)},nd.getIndentationForNode=function(e,n,t,r){var a=t.getLineAndCharacterOfPosition(e.getStart(t));return LK(e,a,n,0,t,!1,r)},nd.getBaseIndentation=xK,nd.isArgumentAndStartLineOverlapsExpressionBeingCalled=AK,nd.childStartsOnTheSameLineWithElseInIfStatement=CK,nd.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=DK(e.whenTrue,r).line,r=Ia.getLineAndCharacterOfPosition(r,e.whenTrue.end).line,a===n&&r===t))},nd.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},nd.getContainingList=IK,nd.findFirstNonWhitespaceCharacterAndColumn=wK,nd.findFirstNonWhitespaceColumn=MK,nd.nodeWillIndentChild=FK,nd.shouldIndentChildNode=GK,ka=SY=SY||{},om=ka.textChanges||(ka.textChanges={}),(wu=Ra=om.LeadingTriviaOption||(om.LeadingTriviaOption={}))[wu.Exclude=0]="Exclude",wu[wu.IncludeAll=1]="IncludeAll",wu[wu.JSDoc=2]="JSDoc",wu[wu.StartLine=3]="StartLine",(wu=Oa=om.TrailingTriviaOption||(om.TrailingTriviaOption={}))[wu.Exclude=0]="Exclude",wu[wu.ExcludeWhitespace=1]="ExcludeWhitespace",wu[wu.Include=2]="Include",Fa={leadingTriviaOption:Ra.Exclude,trailingTriviaOption:Oa.Exclude},(wu=Pa=Pa||{})[wu.Remove=0]="Remove",wu[wu.ReplaceWithSingleNode=1]="ReplaceWithSingleNode",wu[wu.ReplaceWithMultipleNodes=2]="ReplaceWithMultipleNodes",wu[wu.Text=3]="Text",om.isThisTypeAnnotatable=function(e){return ka.isFunctionExpression(e)||ka.isFunctionDeclaration(e)},YK.fromContext=function(e){return new YK(ka.getNewLineOrDefaultFromHost(e.host,e.formatContext.options),e.formatContext)},YK.with=function(e,n){return e=YK.fromContext(e),n(e),e.getChanges()},YK.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)})}},YK.prototype.deleteRange=function(e,n){this.changes.push({kind:Pa.Remove,sourceFile:e,range:n})},YK.prototype.delete=function(e,n){this.deletedNodes.push({sourceFile:e,node:n})},YK.prototype.deleteNode=function(e,n,t){void 0===t&&(t={leadingTriviaOption:Ra.IncludeAll}),this.deleteRange(e,WK(e,n,n,t))},YK.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=zK(e,o,t,r),c=qK(e,o,t);this.deleteRange(e,{pos:s,end:c}),r=!!JK(e,o,t)}},YK.prototype.deleteModifier=function(e,n){this.deleteRange(e,{pos:n.getStart(e),end:ka.skipTrivia(e.text,n.end,!0)})},YK.prototype.deleteNodeRange=function(e,n,t,r){n=zK(e,n,r=void 0===r?{leadingTriviaOption:Ra.IncludeAll}:r),t=qK(e,t,r),this.deleteRange(e,{pos:n,end:t})},YK.prototype.deleteNodeRangeExcludingEnd=function(e,n,t,r){n=zK(e,n,r=void 0===r?{leadingTriviaOption:Ra.IncludeAll}:r),t=void 0===t?e.text.length:zK(e,t,r),this.deleteRange(e,{pos:n,end:t})},YK.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})},YK.prototype.replaceNode=function(e,n,t,r){this.replaceRange(e,WK(e,n,n,r=void 0===r?Fa:r),t,r)},YK.prototype.replaceNodeRange=function(e,n,t,r,a){this.replaceRange(e,WK(e,n,t,a=void 0===a?Fa:a),r,a)},YK.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})},YK.prototype.replaceNodeWithNodes=function(e,n,t,r){this.replaceRangeWithNodes(e,WK(e,n,n,r=void 0===r?Fa:r),t,r)},YK.prototype.replaceNodeWithText=function(e,n,t){this.replaceRangeWithText(e,WK(e,n,n,Fa),t)},YK.prototype.replaceNodeRangeWithNodes=function(e,n,t,r,a){this.replaceRangeWithNodes(e,WK(e,n,t,a=void 0===a?Fa:a),r,a)},YK.prototype.nodeHasTrailingComment=function(e,n,t){return!!JK(e,n,t=void 0===t?Fa:t)},YK.prototype.nextCommaToken=function(e,n){return n=ka.findNextToken(n,n.parent,e),n&&27===n.kind?n:void 0},YK.prototype.replacePropertyAssignment=function(e,n,t){var r=this.nextCommaToken(e,n)?"":","+this.newLineCharacter;this.replaceNode(e,n,t,{suffix:r})},YK.prototype.insertNodeAt=function(e,n,t,r){void 0===r&&(r={}),this.replaceRange(e,ka.createRange(n),t,r)},YK.prototype.insertNodesAt=function(e,n,t,r){void 0===r&&(r={}),this.replaceRangeWithNodes(e,ka.createRange(n),t,r)},YK.prototype.insertNodeAtTopOfFile=function(e,n,t){this.insertAtTopOfFile(e,n,t)},YK.prototype.insertNodesAtTopOfFile=function(e,n,t){this.insertAtTopOfFile(e,n,t)},YK.prototype.insertAtTopOfFile=function(e,n,t){var r=function(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,u=0,d=s;u<d.length;u++){var p=d[u];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)},YK.prototype.insertFirstParameter=function(e,n,t){var r=ka.firstOrUndefined(n);r?this.insertNodeBefore(e,r,t):this.insertNodeAt(e,n.pos,t)},YK.prototype.insertNodeBefore=function(e,n,t,r,a){void 0===r&&(r=!1),this.insertNodeAt(e,zK(e,n,a=void 0===a?{}:a),t,this.getOptionsForInsertNodeBefore(n,t,r))},YK.prototype.insertModifierAt=function(e,n,t,r){void 0===r&&(r={}),this.insertNodeAt(e,n,ka.factory.createToken(t),r)},YK.prototype.insertModifierBefore=function(e,n,t){return this.insertModifierAt(e,t.getStart(e),n,{suffix:" "})},YK.prototype.insertCommentBeforeLine=function(e,n,t,r){n=ka.getStartPositionOfLine(n,e);var a=ka.getFirstNonSpaceCharacterPosition(e.text,n),i=aH(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)},YK.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:qK(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})},YK.prototype.replaceRangeWithText=function(e,n,t){this.changes.push({kind:Pa.Text,sourceFile:e,range:n,text:t})},YK.prototype.insertText=function(e,n,t){this.replaceRangeWithText(e,ka.createRange(n),t)},YK.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},YK.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})},YK.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:", "})},YK.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)},YK.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,$u([t],n.body.statements,!0))},YK.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,$u($u([],n.body.statements,!0),[t],!1))},YK.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,$u($u([],n.body.statements,!0),[t],!1))},YK.prototype.replaceConstructorBody=function(e,n,t){this.replaceNode(e,n.body,ka.factory.createBlock(t,!0))},YK.prototype.insertNodeAtEndOfScope=function(e,n,t){var r=zK(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})},YK.prototype.insertNodeAtClassStart=function(e,n,t){this.insertNodeAtStartWorker(e,n,t)},YK.prototype.insertNodeAtObjectStart=function(e,n,t){this.insertNodeAtStartWorker(e,n,t)},YK.prototype.insertNodeAtStartWorker=function(e,n,t){var r=null!=(r=this.guessIndentationFromExistingMembers(e,n))?r:this.computeIndentationForNewMember(e,n);this.insertNodeAt(e,ZK(n).pos,t,this.getInsertNodeAtStartInsertOptions(e,n,r))},YK.prototype.guessIndentationFromExistingMembers=function(e,n){for(var t,r=n,a=0,i=ZK(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},YK.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)},YK.prototype.getInsertNodeAtStartInsertOptions=function(e,n,t){var r=0===ZK(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?",":""}},YK.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))},YK.prototype.insertNodeAfter=function(e,n,t){var r=this.insertNodeAfterWorker(e,n,t);this.insertNodeAt(e,r,t,this.getInsertNodeAfterOptions(e,n))},YK.prototype.insertNodeAtEndOfList=function(e,n,t){this.insertNodeAt(e,n.end,t,{prefix:", "})},YK.prototype.insertNodesAfter=function(e,n,t){var r=this.insertNodeAfterWorker(e,n,ka.first(t));this.insertNodesAt(e,r,t,this.getInsertNodeAfterOptions(e,n))},YK.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)),qK(e,n,{})},YK.prototype.getInsertNodeAfterOptions=function(e,n){var t=this.getInsertNodeAfterOptionsWorker(n);return ed(ed({},t),{prefix:n.end===e.end&&ka.isStatement(n)?t.prefix?"\n"+t.prefix:"\n":t.prefix})},YK.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}}},YK.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:" "}),oH(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:" "}))},YK.prototype.insertExportModifier=function(e,n){this.insertText(e,n.getStart(e),"export ")},YK.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&&XK(n,o)&&(s=r[a+1],s=HK(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=XK(n,u=ka.findPrecedingToken(n.pos,e))?u.kind:27,l=ka.getLineStartPositionForPosition(r[a-1].getStart(e),e)!==o),l=!!function(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 u=ka.formatting.SmartIndenter.findFirstNonWhitespaceColumn(o,s,e,this.formatContext.options),d=ka.skipTrivia(e.text,i,!0,!1);d!==i&&ka.isLineBreak(e.text.charCodeAt(d-1));)d--;this.replaceRange(e,ka.createRange(d),t,{indentation:u,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")},YK.prototype.parenthesizeExpression=function(e,n){this.replaceRange(e,ka.rangeOfNode(n),ka.factory.createParenthesizedExpression(n))},YK.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===ZK(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)}))},YK.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];!function(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:QK(r,a[t+1])})}))},YK.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,o=a.fileName;a=a.statements;n.push(wa.newFileChanges(i,o,a,this.newLineCharacter,this.formatContext))}return n},YK.prototype.createNewFile=function(e,n,t){this.newFiles.push({oldFile:e,fileName:n,statements:t})},om.ChangeTracker=YK,om.getNewFileText=function(e,n,t,r){return wa.newFileChangesWorker(void 0,n,e,t,r)},(wu=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++)!function(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=function(e,n,t,r,a){if(e.kind===Pa.Remove)return"";if(e.kind===Pa.Text)return e.text;function i(e){var i=n,o=c,l=t,u=r,d=a,p=(_=s).indentation,m=_.prefix,_=_.delta,f=(g=eH(e,i,l)).node,g=g.text;return d&&d(f,g),d=function(e,n){e=e.options;var t=!e.semicolons||e.semicolons===ka.SemicolonPreference.Ignore;t=e.semicolons===ka.SemicolonPreference.Remove||t&&!ka.probablyUsesSemicolons(n);return ed(ed({},e),{semicolons:t?ka.SemicolonPreference.Remove:ka.SemicolonPreference.Ignore})}(u,i),p=void 0!==p?p:ka.formatting.SmartIndenter.getIndentation(o,i,d,m===l||ka.getLineStartPositionForPosition(o,i)===o),void 0===_&&(_=ka.formatting.SmartIndenter.shouldIndentChildNode(d,e)&&d.indentSize||0),m={text:g,getLineAndCharacterOfPosition:function(e){return ka.getLineAndCharacterOfPosition(this,e)}},l=ka.formatting.formatNodeGivenIndentation(f,m,i.languageVariant,p,_,ed(ed({},u),{options:d})),nH(g,l)}var o=e.options,s=void 0===o?{}:o,c=e.range.pos;o=e.kind===Pa.ReplaceWithMultipleNodes?e.nodes.map((function(e){return ka.removeSuffix(i(e),t)})).join((null==(o=e.options)?void 0:o.joiner)||t):i(e.node),e=s.preserveLeadingWhitespace||void 0!==s.indentation||ka.getLineStartPositionForPosition(c,n)===c?o:o.replace(/^\s+/,"");return(s.prefix||"")+e+(!s.suffix||ka.endsWith(e,s.suffix)?"":s.suffix)}(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}))},wu.newFileChanges=function(e,n,t,r,a){return e=$K(e,ka.getScriptKindFromFileName(n),t,r,a),{fileName:n,textChanges:[ka.createTextChange(ka.createTextSpan(0,0),e)],isNewFile:!0}},wu.newFileChangesWorker=$K,wu.getNonformattedText=eH,om.applyChanges=nH,om.isValidLocationToAddComment=aH,(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,"()"):sH(e,n,t,r);break;case 264:case 263:oH(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)?oH(e,t,r):sH(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)sH(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:oH(i,o,c);break;case 235:oH(i,o,l,{leadingTriviaOption:ka.hasJSDocNodes(l)?Ra.JSDoc:Ra.StartLine});break;default:ka.Debug.assertNever(l)}}break;case 161:sH(e,n,t,r);break;case 268:var u=r.parent;1===u.elements.length?iH(e,t,u):sH(e,n,t,r);break;case 266:iH(e,t,r);break;case 26:oH(e,t,r,{trailingTriviaOption:Oa.Exclude});break;case 98:oH(e,t,r,{leadingTriviaOption:Ra.Exclude});break;case 255:case 254:oH(e,t,r,{leadingTriviaOption:ka.hasJSDocNodes(r)?Ra.JSDoc:Ra.StartLine});break;default:var d,p,m,_;r.parent?ka.isImportClause(r.parent)&&r.parent.name===r?(u=e,d=t,(p=r.parent).namedBindings?(m=p.name.getStart(d),(_=ka.getTokenAtPosition(d,p.name.end))&&27===_.kind?(_=ka.skipTrivia(d.text,_.end,!1,!0),u.deleteRange(d,{pos:m,end:_})):oH(u,d,p.name)):oH(u,d,p.parent)):ka.isCallExpression(r.parent)&&ka.contains(r.parent.arguments,r)?sH(e,n,t,r):oH(e,t,r):oH(e,t,r)}},om.deleteNode=oH,Ga=SY=SY||{},sm=Ga.codefix||(Ga.codefix={}),Ba=Ga.createMultiMap(),Ua=new Ga.Map,sm.createCodeFixActionWithoutFixAll=function(e,n,t){return lH(e,cH(t),n,void 0,void 0)},sm.createCodeFixAction=function(e,n,t,r,a,i){return lH(e,cH(t),n,r,cH(a),i)},sm.createCodeFixActionMaybeFixAll=function(e,n,t,r,a,i){return lH(e,cH(t),n,r,a&&cH(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=pH(e),t=Ba.get(String(e.errorCode));return Ga.flatMap(t,(function(t){return Ga.map(t.getCodeActions(e),function(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=rd(e,["fixId","fixAllDescription"]);return s?e:ed(ed({},e),{fixId:n,fixAllDescription:t})}}(t,n))}))},sm.getAllFixes=function(e){return Ua.get(Ga.cast(e.fixId,Ga.isString)).getAllCodeActions(e)},sm.createCombinedCodeActions=uH,sm.createFileTextChanges=function(e,n){return{fileName:e,textChanges:n}},sm.codeFixAll=function(e,n,t){var r=[];return uH(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=SY=SY||{},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=SY=SY||{},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 mH(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 mH(e,n.file,n.start)}))}}),qa=SY=SY||{},(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=SY=SY||{},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=fH(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[_H(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=fH(n,a),a)return _H(e,a,(function(e){return e(r),[]}),t)}))}}),ei=SY=SY||{},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=$u([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=hH(r,a,e.span,e.cancellationToken,e.program);if(r)return n=e.program.getTypeChecker(),ei.compact([gH(e,r,a,n,t=function(n){return ei.textChanges.ChangeTracker.with(e,n)}),yH(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=hH(n,s.code,s,r,t);if(l)return gH(e,l,s.code,a,c=function(e){return e(o),[]},i)||yH(e,l,s.code,a,c,i)}))}}),oi=SY=SY||{},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 TH(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 TH(t,r.file,r.start,e.program,n)}))}}),ui=SY=SY||{},di=ui.codefix||(ui.codefix={}),pi="addMissingDeclareProperty",mi=[ui.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],di.registerCodeFix({errorCodes:mi,getCodeActions:function(e){var n=ui.textChanges.ChangeTracker.with(e,(function(n){return xH(n,e.sourceFile,e.span.start)}));if(0<n.length)return[di.createCodeFixAction(pi,n,ui.Diagnostics.Prefix_with_declare,pi,ui.Diagnostics.Prefix_all_incorrect_property_declarations_with_declare)]},fixIds:[pi],getAllCodeActions:function(e){var n=new ui.Set;return di.codeFixAll(e,mi,(function(e,t){return xH(e,t.file,t.start,n)}))}}),_i=SY=SY||{},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 LH(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 LH(e,n.file,n.start)}))}}),hi=SY=SY||{},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 DH(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 DH(e,n.file,n.start)}))}}),Ti=SY=SY||{},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=AH(e.sourceFile,e.span.start);if(t)return n=Ti.textChanges.ChangeTracker.with(e,(function(n){return NH(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=AH(n.file,n.start);t&&NH(e,n.file,t)}))}}),Si.parameterShouldGetTypeFromJSDoc=CH,Di=SY=SY||{},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 OH(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 OH(n,t.file,t.start,e.program.getTypeChecker(),e.preferences,e.program.getCompilerOptions())}))}}),Ni=SY=SY||{},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 MH(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 MH(n,t.file,t.start,e.program.getTypeChecker())}))}}),wi=SY=SY||{},(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(function(e,n,t,r,a){for(var i,o={original:function(e){var n=wi.createMultiMap();return function e(n,t){wi.isIdentifier(n)&&sW(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=function(e,n,t){var r=new wi.Map;return nW(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,oW("_"+i,t))})),r}(e,n,o),c=(function(e,n,t){nW(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,u=wi.filter(e.statements,wi.isVariableStatement);l<u.length;l++){var d=u[l],p=tW(e,d,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++){d=_[m];var f=function(e,n,t,r,a,i,o,s,c){switch(n.kind){case 235:return tW(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&&function(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)?function(e,n){return 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 cW(t,i,r,a);case 224:return function(e,n,t,r){return wi.factory.createClassDeclaration(wi.getSynthesizedDeepClones(t.decorators),wi.concatenate(n,wi.getSynthesizedDeepClones(t.modifiers)),e,wi.getSynthesizedDeepClones(t.typeParameters),wi.getSynthesizedDeepClones(t.heritageClauses),iW(t.members,r))}(t,i,r,a);default:return s()}function s(){return dW(i,wi.factory.createIdentifier(t),iW(r,a))}return}return;case 167:return wi.isIdentifier(e.name)?cW(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&&[e,!1]}(s,i):wi.isRequireCall(s,!0)?function(e,n){var t=e.text;n=n.getSymbolAtLocation(e),e=n?n.exports:wi.emptyMap;return e.has("export=")?[[aW(t)],!0]:e.has("default")?1<e.size?[[rW(t),aW(t)],!0]:[[aW(t)],!0]:[[rW(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,o=o.get(e),void 0!==o?(o=[dW(void 0,o,i.right),pW([wi.factory.createExportSpecifier(o,e)])],s.replaceNodeWithNodes(n,i.parent,o)):function(e,n,t){var r=e.left,a=e.right,i=(e=e.parent,r.name.text);!(wi.isFunctionExpression(a)||wi.isArrowFunction(a)||wi.isClassExpression(a))||a.name&&a.name.text!==i?t.replaceNodeRangeWithNodes(n,r.expression,wi.findChildOfKind(r,24,n),[wi.factory.createToken(93),wi.factory.createToken(85)],{joiner:" ",suffix:" "}):(t.replaceRange(n,{pos:r.getStart(n),end:a.getStart(n)},wi.factory.createToken(93),{suffix:" "}),a.name||t.insertName(n,a,i),(r=wi.findChildOfKind(e,26,n))&&t.delete(n,r))}(i,n,s));return!1}(e,t,l,r,o,s)}default:return!1}}(e,d,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=d=u=l=c=s=void 0,o),c=n,l=e,u=wi.getQuotePreference(o,r),d=0,p=s.imports;d<p.length;d++){var m=p[d],_=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,u));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=SY=SY||{},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=_W(e.sourceFile,e.span.start);if(r)return n=Fi.textChanges.ChangeTracker.with(e,(function(n){return fW(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=_W(n.file,n.start);t&&fW(e,n.file,t)}))}}),Vi=SY=SY||{},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 yW(n,gW(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=gW(r,e.sourceFile),r&&Vi.addToSeen(n,Vi.getNodeId(r.parent.parent))&&yW(t,r,e)}))}}),Wi=SY=SY||{},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){vW(n,hW(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){vW(n,hW(t,e.sourceFile),e)}))}}),Xi=SY=SY||{},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=e.sourceFile,r=e.span,a=bW(t,r.start);if(a)return r=a.name,n=a.constraint,e=Xi.textChanges.ChangeTracker.with(e,(function(e){return EW(e,t,a)})),[Yi.createCodeFixAction(Qi,e,[Xi.Diagnostics.Convert_0_to_1_in_0,n,r],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=bW(n.file,n.start);t&&EW(e,n.file,t)}))}}),$i=SY=SY||{},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=e.span,r=TW(n,t.start);return $i.mapDefined($i.getEffectiveImplementsTypeNodes(r),(function(t){var a=$i.textChanges.ChangeTracker.with(e,(function(a){return xW(e,t,n,r,a,e.preferences)}));return 0===a.length?void 0:eo.createCodeFixAction(to,a,[$i.Diagnostics.Implement_interface_0,t.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=TW(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];xW(e,s,r.file,a,t,e.preferences)}}))}}),ro=SY=SY||{},(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=e.errorCode,a=e.preferences,i=e.sourceFile,o=e.span;r=kW(e,r,o.start,!0);if(r)return o=r.fixes,n=r.symbolName,t=ro.getQuotePreference(i,a),o.map((function(r){return wW(e,i,n,r,t)}))},fixIds:[io],getAllCodeActions:function(e){var n=LW(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 LW(e,n,!1,t,r)},ao.getImportCompletionAction=function(e,n,t,r,a,i,o,s,c){var l=i.getCompilerOptions(),u=(e=ro.pathIsBareSpecifier(ro.stripQuotes(n.name))?[function(e,n,t,r){var a=t.getCompilerOptions();t=i(t.getTypeChecker(),!1);return t||(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)]:AW(t,e,n,r,a,i,c,!0),IW(t,i));l=2===l.importsNotUsedAsValues&&!ro.isSourceFileJS(t)&&ro.isValidTypeOnlyAliasUseSite(ro.getTokenAtPosition(t,s));return{moduleSpecifier:(e=ro.Debug.checkDefined(DW(t,e,n,r,i,s,l,u,a,c))).moduleSpecifier,codeAction:(n=wW({host:a,formatContext:o,preferences:c},t,r,e,ro.getQuotePreference(t,c)),i=n.description,s=n.changes,n=n.commands,{description:i,changes:s,commands:n})}},ao.getModuleSpecifierForBestExportInfo=function(e,n,t,r,a,i){return e=NW(t,n,void 0,!1,!1,e,r,a,i),i=e.fixes,e=e.computedWithoutCacheCount,(i=RW(i,n,t,r,a))&&ed(ed({},i),{computedWithoutCacheCount:e})},ao.getImportKind=PW,ao.moduleSymbolToValidIdentifier=HW,ao.moduleSpecifierToValidIdentifier=WW,so=SY=SY||{},co=so.codefix||(so.codefix={}),lo="fixOverrideModifier",nd="fixAddOverrideModifier",wu="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],(om={})[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,nd,so.Diagnostics.Add_all_missing_override_modifiers],om[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,wu,so.Diagnostics.Remove_all_unnecessary_override_modifiers],om[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,nd,so.Diagnostics.Add_all_missing_override_modifiers],om[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,nd,so.Diagnostics.Remove_all_unnecessary_override_modifiers],om[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,wu,so.Diagnostics.Remove_all_unnecessary_override_modifiers],po=om,co.registerCodeFix({errorCodes:uo,getCodeActions:function(e){var n,t,r=e.errorCode,a=e.span,i=e.sourceFile,o=po[r];return!o||(n=o[0],t=o[1],o=o[2],so.isSourceFileJS(i))?so.emptyArray:(i=so.textChanges.ChangeTracker.with(e,(function(n){return zW(n,e,r,a.start)})),[co.createCodeFixActionMaybeFixAll(lo,i,n,t,o)])},fixIds:[lo,nd,wu],getAllCodeActions:function(e){return co.codeFixAll(e,uo,(function(n,t){var r=t.code,a=t.start,i=(t=t.file,po[r]);i&&i[1]===e.fixId&&!so.isSourceFileJS(t)&&zW(n,e,r,a)}))}}),mo=SY=SY||{},_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.span,r=e.preferences,a=YW(n,t.start);n=mo.textChanges.ChangeTracker.with(e,(function(n){return XW(n,e.sourceFile,a,r)}));return[_o.createCodeFixAction(fo,n,[mo.Diagnostics.Use_element_access_for_0,a.name.text],fo,mo.Diagnostics.Use_element_access_for_all_undeclared_properties)]},getAllCodeActions:function(e){return _o.codeFixAll(e,go,(function(n,t){return XW(n,t.file,YW(t.file,t.start),e.preferences)}))}}),yo=SY=SY||{},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=QW(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){QW(n,t.file,t.start,e.program.getTypeChecker())}))}}),Eo=SY=SY||{},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.span,r=function(e,n){return e=Eo.getTokenAtPosition(e,n),Eo.findAncestor(e,(function(e){return 195===e.kind}))}(n,t.start);t=Eo.textChanges.ChangeTracker.with(e,(function(e){var t=n,a=r;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(t,a,c)}}));return[To.createCodeFixAction(So,t,Eo.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels,So,Eo.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels)]},fixIds:[So]}),xo=SY=SY||{},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=e.errorCode;i=ZW(a,e.span.start,e,i);if(i)return n=i.node,t=i.suggestedSymbol,r=e.host.getCompilationSettings().target,i=xo.textChanges.ChangeTracker.with(e,(function(e){return $W(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=ZW(t.file,t.start,e,t.code);var r=e.host.getCompilationSettings().target;t&&$W(n,e.sourceFile,t.node,t.suggestedSymbol,r)}))}}),Co=SY=SY||{},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],(om=No=No||{})[om.MissingReturnStatement=0]="MissingReturnStatement",om[om.MissingParentheses=1]="MissingParentheses",Io.registerCodeFix({errorCodes:wo,fixIds:[Ro,Oo,Po],getCodeActions:function(e){var n,t,r,a,i,o,s,c,l,u,d=e.program,p=e.sourceFile,m=e.span.start,_=e.errorCode;d=rz(d.getTypeChecker(),p,m,_);if(d)return d.kind===No.MissingReturnStatement?Co.append([(c=e,l=d.expression,u=d.statement,p=Co.textChanges.ChangeTracker.with(c,(function(e){return az(e,c.sourceFile,l,u)})),Io.createCodeFixAction(ko,p,Co.Diagnostics.Add_a_return_statement,Ro,Co.Diagnostics.Add_all_missing_return_statement))],Co.isArrowFunction(d.declaration)?(a=e,i=d.declaration,o=d.expression,s=d.commentSource,m=Co.textChanges.ChangeTracker.with(a,(function(e){return iz(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=d.declaration,r=d.expression,_=Co.textChanges.ChangeTracker.with(n,(function(e){return oz(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=rz(e.program.getTypeChecker(),t.file,t.start,t.code);if(r)switch(e.fixId){case Ro:az(n,t.file,r.expression,r.statement);break;case Oo:Co.isArrowFunction(r.declaration)&&iz(n,t.file,r.declaration,r.expression,r.commentSource,!1);break;case Po:Co.isArrowFunction(r.declaration)&&oz(n,t.file,r.declaration,r.expression);break;default:Co.Debug.fail(JSON.stringify(e.fixId))}}))}}),Mo=SY=SY||{},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=sz(e.sourceFile,e.span.start,t,e.program);if(r)return 3===r.kind?(n=Mo.textChanges.ChangeTracker.with(e,(function(n){return hz(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 yz(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 gz(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 fz(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(function(e,n){var t=n.parentDeclaration,r=n.declSourceFile,a=n.modifierFlags,i=n.token,o=n.call;if(void 0!==o&&!Mo.isPrivateIdentifier(i)){n=i.text;var s=[Fo.createCodeFixAction(Go,c(32&a),[32&a?Mo.Diagnostics.Declare_static_method_0:Mo.Diagnostics.Declare_method_0,n],Go,Mo.Diagnostics.Add_all_missing_members)];return 8&a&&s.unshift(Fo.createCodeFixActionWithoutFixAll(Go,c(8),[Mo.Diagnostics.Declare_private_method_0,n])),s}function c(n){return Mo.textChanges.ChangeTracker.with(e,(function(a){return _z(e,a,o,i,n,t,r)}))}}(e,r),(t=e,(n=r).isJSFile?Mo.singleElementArray(function(e,n){var t=n.parentDeclaration,r=n.declSourceFile,a=n.modifierFlags,i=n.token;if(!Mo.isInterfaceDeclaration(t)&&(n=Mo.textChanges.ChangeTracker.with(e,(function(e){return lz(e,r,t,i,!!(32&a))})),0!==n.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)):function(e,n){function t(n){return Mo.textChanges.ChangeTracker.with(e,(function(e){return pz(e,a,r,o,c,n)}))}var r=n.parentDeclaration,a=n.declSourceFile,i=n.modifierFlags,o=(n=n.token,n.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(function(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=sz(n.file,n.start,r,e.program);n&&Mo.addToSeen(a,Mo.getNodeId(n.parentDeclaration)+"#"+n.token.text)&&(t===Vo&&2===n.kind?gz(o,e,n):t===Bo&&3===n.kind?hz(o,e,n):t===Uo&&4===n.kind?yz(o,e,n):(0===n.kind&&fz(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++)!function(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,u=t.call,d=t.isJSFile;u&&!Mo.isPrivateIdentifier(l)?_z(e,o,u,l,32&c,r,a):d&&!Mo.isInterfaceDeclaration(r)?lz(o,a,r,l,!!(32&c)):(u=dz(n.getTypeChecker(),r,l),pz(o,a,r,l.text,u,32&c))}}(l[c])}))})))}}),Ko=SY=SY||{},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 Ez(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 Ez(n,e.sourceFile,t)}))}}),Jo=SY=SY||{},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=Sz(t,e.span.start);if(void 0!==r)return void 0===(r=xz(r,n,e.errorCode))?[]:[qo.createCodeFixAction("fixCannotFindModule",[],[Jo.Diagnostics.Install_0,r],Xo,Jo.Diagnostics.Install_all_missing_types_packages,Tz(t.fileName,r))]},fixIds:[Xo],getAllCodeActions:function(e){return qo.codeFixAll(e,Qo,(function(n,t,r){var a=Sz(t.file,t.start);void 0!==a&&(e.fixId===Xo?(a=xz(a,e.host,t.code))&&r.push(Tz(t.file.fileName,a)):Jo.Debug.fail("Bad fixId: "+e.fixId))}))}}),Zo=SY=SY||{},$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 Dz(Lz(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=Lz(r.file,r.start),Zo.addToSeen(n,Zo.getNodeId(r))&&Dz(r,e.sourceFile,e,t,e.preferences)}))}}),ts=SY=SY||{},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=e.span;a=Iz(r,a.start);if(a)return n=a.constructor,t=a.superCall,a=ts.textChanges.ChangeTracker.with(e,(function(e){return Cz(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=Iz(r.file,r.start);r&&(a=r.constructor,r=r.superCall,ts.addToSeen(t,ts.getNodeId(a.parent)))&&Cz(e,n,a,r)}))}}),os=SY=SY||{},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=e.span,r=kz(n,t.start);t=os.textChanges.ChangeTracker.with(e,(function(e){return Rz(e,n,r)}));return[ss.createCodeFixAction(cs,t,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 Rz(n,e.sourceFile,kz(t.file,t.start))}))}}),us=SY=SY||{},ds=us.codefix||(us.codefix={}),ps="enableExperimentalDecorators",ms=[us.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],ds.registerCodeFix({errorCodes:ms,getCodeActions:function(e){var n=e.program.getCompilerOptions().configFile;if(void 0!==n)return e=us.textChanges.ChangeTracker.with(e,(function(e){return Oz(e,n)})),[ds.createCodeFixActionWithoutFixAll(ps,e,us.Diagnostics.Enable_the_experimentalDecorators_option_in_your_configuration_file)]},fixIds:[ps],getAllCodeActions:function(e){return ds.codeFixAll(e,ms,(function(n){var t=e.program.getCompilerOptions().configFile;void 0!==t&&Oz(n,t)}))}}),_s=SY=SY||{},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 Pz(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&&Pz(n,t)}))}}),hs=SY=SY||{},(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=SY=SY||{},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=Mz(e.sourceFile,e.span.start),t=bs.textChanges.ChangeTracker.with(e,(function(t){return wz(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 wz(e,n.file,Mz(n.file,n.start))}))}}),xs=SY=SY||{},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=Fz(r,e.span.start);if(a)return n=a.extendsToken,t=a.heritageClauses,a=xs.textChanges.ChangeTracker.with(e,(function(e){return Gz(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=Fz(n.file,n.start);t&&Gz(e,n.file,t.extendsToken,t.heritageClauses)}))}}),Cs=SY=SY||{},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=Bz(n,e.span.start,e.errorCode);if(t)return e=Cs.textChanges.ChangeTracker.with(e,(function(e){return Uz(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=Bz(t.file,t.start,t.code),t&&Uz(n,e.sourceFile,t)}))}}),Os=SY=SY||{},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 Vz(e,t,n,r.start,!1)}));e=Os.textChanges.ChangeTracker.with(e,(function(e){return Vz(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 Vz(n,e.preferences,t.file,t.start,e.fixId===Ms)}))}}),Gs={">":"&gt;","}":"&rbrace;"},Bs=SY=SY||{},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,u=c.getTypeChecker(),d=c.getSourceFiles(),p=Bs.getTokenAtPosition(s,e.span.start);return Bs.isJSDocTemplateTag(p)?[Kz(Bs.textChanges.ChangeTracker.with(e,(function(e){return e.delete(s,p)})),Bs.Diagnostics.Remove_template_tag)]:29===p.kind?[Kz(i=Bs.textChanges.ChangeTracker.with(e,(function(e){return Hz(e,s,p)})),Bs.Diagnostics.Remove_type_parameters)]:(n=zz(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)]):Wz(p)&&(r=Bs.textChanges.ChangeTracker.with(e,(function(e){return Yz(s,p,e,u,d,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(", ")],[Kz(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)]):[Kz(Bs.textChanges.ChangeTracker.with(e,(function(e){return e.delete(s,p.parent.parent)})),Bs.Diagnostics.Remove_unused_destructuring_declaration)]:Jz(s,p)?[Kz(Bs.textChanges.ChangeTracker.with(e,(function(e){return qz(e,s,p.parent)})),Bs.Diagnostics.Remove_variable_statement)]:(t=[],136===p.kind?(i=Bs.textChanges.ChangeTracker.with(e,(function(e){return jz(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 Yz(s,p,e,u,d,c,l,!1)}))).length&&(a=Bs.isComputedPropertyName(p.parent)?p.parent:p,t.push(Kz(r,[Bs.Diagnostics.Remove_unused_declaration_for_Colon_0,a.getText(s)]))),(i=Bs.textChanges.ChangeTracker.with(e,(function(e){return Xz(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:Xz(o,s.code,n,c);break;case Hs:var l=zz(c);l?o.delete(n,l):Wz(c)&&Yz(n,c,o,a,i,t,r,!0);break;case Ks:if(136!==c.kind&&!Wz(c))if(Bs.isJSDocTemplateTag(c))o.delete(n,c);else if(29===c.kind)Hz(o,n,c);else if(Bs.isObjectBindingPattern(c.parent)){if(c.parent.parent.initializer)break;Bs.isParameter(c.parent.parent)&&!Qz(c.parent.parent,a,i)||o.delete(n,c.parent.parent)}else{if(Bs.isArrayBindingPattern(c.parent.parent)&&c.parent.parent.parent.initializer)break;Jz(n,c)?qz(o,n,c.parent):Yz(n,c,o,a,i,t,r,!0)}break;case Ws:136===c.kind&&jz(o,n,c);break;default:Bs.Debug.fail(JSON.stringify(e.fixId))}}))}}),Js=SY=SY||{},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 $z(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 $z(e,n.file,n.start,n.length,n.code)}))}}),Qs=SY=SY||{},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 eJ(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 eJ(e,n.file,n.start)}))}}),nc=SY=SY||{},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=tJ(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 nJ(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=tJ(t.file,t.start,a);t&&(i=t.typeNode,t=t.type,t=309===i.kind&&n===ac?a.getNullableType(t,32768):t,nJ(e,r,i,t,a))}))}}),oc=SY=SY||{},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=iJ(e.sourceFile,e.span.start);if(t)return n=oc.textChanges.ChangeTracker.with(e,(function(n){return aJ(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=iJ(n.file,n.start);t&&aJ(e,n.file,t)}))}}),uc=SY=SY||{},dc=uc.codefix||(uc.codefix={}),pc="fixAwaitInSyncFunction",mc=[uc.Diagnostics.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,uc.Diagnostics.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code],dc.registerCodeFix({errorCodes:mc,getCodeActions:function(e){var n=e.sourceFile,t=e.span,r=oJ(n,t.start);if(r)return t=uc.textChanges.ChangeTracker.with(e,(function(e){return sJ(e,n,r)})),[dc.createCodeFixAction(pc,t,uc.Diagnostics.Add_async_modifier_to_containing_function,pc,uc.Diagnostics.Add_all_missing_async_modifiers)]},fixIds:[pc],getAllCodeActions:function(e){var n=new uc.Map;return dc.codeFixAll(e,mc,(function(t,r){r=oJ(r.file,r.start),r&&uc.addToSeen(n,uc.getNodeId(r.insertBefore))&&sJ(t,e.sourceFile,r)}))}}),_c=SY=SY||{},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=cJ(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=cJ(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=SY=SY||{},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=lJ(e,t,l,i,r,o,hc.returnTrue,s,c)})),e=n&&hc.getNameOfDeclaration(n);return e&&0!==a.length?[vc.createCodeFixAction(bc,a,[function(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){lJ(e,n,hc.getTokenAtPosition(s.file,s.start),s.code,t,r,o,a,i)}))}}),vc.addJSDocTags=_J,Tc=SY=SY||{},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=vJ(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 bJ(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=vJ(t.file,e.program.getTypeChecker(),t.start);r&&bJ(n,t.file,r.returnTypeNode,r.promisedTypeNode)}))}}),Dc=SY=SY||{},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 EJ(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)&&EJ(e,t.file,t.start,n)}))}}),kc=SY=SY||{},(nd=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 u=l[c];s.has(u.escapedName)||function(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()),u=s[0],d=kc.getSynthesizedDeepClone(kc.getNameOfDeclaration(u),!1),p=function(e){return 4&e?kc.factory.createToken(123):16&e?kc.factory.createToken(122):void 0}(kc.getEffectiveModifierFlags(u)),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(u.kind){case 164:case 165:var h=0===y?268435456:void 0;h=c.typeToTypeNode(_,n,h,TJ(r));i&&(S=kJ(h,l))&&(h=S.typeNode,OJ(i,S.symbols)),o(kc.factory.createPropertyDeclaration(void 0,m,d,f?kc.factory.createToken(57):void 0,h,void 0));break;case 170:case 171:var v=c.typeToTypeNode(_,n,void 0,TJ(r));h=kc.getAllAccessorDeclarations(s,u),h=h.secondAccessor?[h.firstAccessor,h.secondAccessor]:[h.firstAccessor];i&&(S=kJ(v,l))&&(v=S.typeNode,OJ(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,d,kc.emptyArray,v,g?void 0:DJ(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,d,LJ(1,[T],[v],1,!1),g?void 0:DJ(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,d,g?void 0:DJ(y))}else{for(var L=0,D=S;L<D.length;L++){x=D[L];A(y,x,kc.getSynthesizedDeepClones(m,!1),kc.getSynthesizedDeepClone(d,!1))}g||(s.length>S.length?(x=c.getSignatureFromDeclaration(s[s.length-1]),A(y,x,m,d,DJ(y))):(kc.Debug.assert(s.length===S.length,"Declarations and signatures should match count"),o(function(e,n,t,r,a,i,o,s){for(var c=r[0],l=r[0].minArgumentCount,u=!1,d=0,p=r;d<p.length;d++){var m=p[d];l=Math.min(m.minArgumentCount,l),kc.signatureHasRestParameter(m)&&(u=!0),m.parameters.length>=c.parameters.length&&(!kc.signatureHasRestParameter(m)||kc.signatureHasRestParameter(c))&&(c=m)}var _,f=c.parameters.length-(kc.signatureHasRestParameter(c)?1:0),g=c.parameters.map((function(e){return e.name})),y=LJ(f,g,void 0,l,!1);return u&&(_=kc.factory.createArrayTypeNode(kc.factory.createKeywordTypeNode(129)),g=kc.factory.createParameterDeclaration(void 0,void 0,kc.factory.createToken(25),g[f]||"rest",l<=f?kc.factory.createToken(57):void 0,_,void 0),y.push(g)),function(e,n,t,r,a,i,o){return kc.factory.createMethodDeclaration(void 0,e,void 0,n,t?kc.factory.createToken(57):void 0,r,a,i,DJ(o))}(o,a,i,void 0,y,function(e,n,t,r){if(kc.length(e))return e=n.getUnionType(kc.map(e,n.getReturnTypeOfSignature)),n.typeToTypeNode(e,r,void 0,TJ(t))}(r,e,n,t),s)}(c,r,n,S,d,f,m,y))))}}}function A(e,t,a,s,c){e=SJ(167,r,e,t,c,s,a,f,n,i),e&&o(e)}}(u,e,t,r,a,i,o)}},nd.getNoopSymbolTrackerWithResolver=TJ,nd.createSignatureDeclarationFromSignature=SJ,nd.createSignatureDeclarationFromCallExpression=function(e,n,t,r,a,i,o){var s=kc.getQuotePreference(n.sourceFile,n.preferences),c=kc.getEmitScriptTarget(n.program.getCompilerOptions()),l=TJ(n),u=n.program.getTypeChecker(),d=(n=kc.isInJSFile(o),r.typeArguments),p=r.arguments,m=r.parent,_=(r=n?void 0:u.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 xJ(u,t,u.getBaseTypeOfLiteralType(u.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===d?void 0:kc.map(d,(function(e,n){return kc.factory.createTypeParameterDeclaration(84+d.length-1<=90?String.fromCharCode(84+n):"T"+n)})));p=LJ(p.length,_,f,void 0,n),_=n||void 0===r?void 0:u.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:DJ(s)):kc.factory.createFunctionDeclaration(void 0,i,m,a,g,p,_,AJ(kc.Diagnostics.Function_not_implemented.message,s))},nd.typeToAutoImportableTypeNode=xJ,nd.createStubbedBody=AJ,nd.setJsonCompilerOptionValues=CJ,nd.setJsonCompilerOptionValue=function(e,n,t,r){CJ(e,n,[[t,r]])},nd.createJsonPropertyAssignment=IJ,nd.findJsonProperty=NJ,nd.tryGetAutoImportableReferenceFromTypeNode=kJ,nd.importSymbols=OJ,Rc=SY=SY||{},(wu=Rc.codefix||(Rc.codefix={})).generateAccessorFromProperty=function(e,n,t,r,a,i){if((n=FJ(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,u=n.originalName,d=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(function(e){return 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=d,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,d,Rc.factory.createBlock([Rc.factory.createReturnStatement(MJ(c,r,p))],!0));return Rc.suppressLeadingAndTrailingTrivia(y),GJ(t,e,y,n,p),a?(h=Rc.getFirstConstructorWithBody(p))&&(S=t,x=e,L=h,D=c.text,A=u,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=d,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(MJ(v,T,a),Rc.factory.createIdentifier("value")))],!0)),Rc.suppressLeadingAndTrailingTrivia(h),GJ(t,e,h,n,p)),t.getChanges()}},wu.getAccessorConvertiblePropertyAtPosition=FJ,wu.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=SY=SY||{},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,UJ(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?UJ(e,n):[]}}),Mc=SY=SY||{},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=VJ(e.sourceFile,e.span.start);if(o)return i=[(r=e,a=o,i=Mc.textChanges.ChangeTracker.with(r,(function(e){return KJ(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 jJ(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,function(e,n){var t,r=WJ(e.program.getTypeChecker(),n);if(r)return t=Mc.textChanges.ChangeTracker.with(e,(function(t){return HJ(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=VJ(t.file,t.start);if(r)switch(e.fixId){case Bc:jJ(n,t.file,r);break;case Uc:KJ(n,t.file,r);break;case Vc:var a=WJ(e.program.getTypeChecker(),r);a&&HJ(n,t.file,r,a);break;default:Mc.Debug.fail(JSON.stringify(e.fixId))}}))}}),Kc=SY=SY||{},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=JJ(e.sourceFile,e.program,e.span.start);if(t)return n=Kc.textChanges.ChangeTracker.with(e,(function(n){return zJ(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=JJ(t.file,e.program,t.start),t&&zJ(n,e.sourceFile,t)}))}}),Jc=SY=SY||{},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=qJ(n,t);if(r)return t=Jc.textChanges.ChangeTracker.with(e,(function(t){return XJ(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=qJ(t.file,t.start);r&&XJ(n,t.file,r,e.preferences)}))}}),Qc=SY=SY||{},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 YJ(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 YJ(e,n.file,n)}))}}),nl=SY=SY||{},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=e.span,r=QJ(n,t.start);t=nl.textChanges.ChangeTracker.with(e,(function(e){return ZJ(e,n,r)}));return[tl.createCodeFixAction(rl,t,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 ZJ(n,e.sourceFile,QJ(t.file,t.start))}))}}),il=SY=SY||{},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=e.span,r=$J(n,t.start);if(r)return t=il.textChanges.ChangeTracker.with(e,(function(e){return eq(e,n,r)})),[ol.createCodeFixAction(sl,t,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=$J(e.sourceFile,t.start),t&&eq(n,e.sourceFile,t)}))}}),ll=SY=SY||{},ul=ll.codefix||(ll.codefix={}),dl="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],ul.registerCodeFix({errorCodes:pl,getCodeActions:function(e){var n=e.sourceFile,t=e.span,r=nq(n,t.start);if(r)return t=ll.textChanges.ChangeTracker.with(e,(function(e){return tq(e,n,r)})),e=ll.idText(r.container.name),[ul.createCodeFixAction(dl,t,[ll.Diagnostics.Convert_0_to_mapped_object_type,e],dl,[ll.Diagnostics.Convert_0_to_mapped_object_type,e])]},fixIds:[dl],getAllCodeActions:function(e){return ul.codeFixAll(e,pl,(function(e,n){var t=nq(n.file,n.start);t&&tq(e,n.file,t)}))}}),ml=SY=SY||{},_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=SY=SY||{},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 rq(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 rq(e,n.file,n)}))}}),bl=SY=SY||{},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 iq(n,aq(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){iq(n,aq(e.sourceFile,t),e)}))}}),xl=SY=SY||{},Ll=xl.codefix||(xl.codefix={}),Dl="fixConvertConstToLet",om=[xl.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant.code],Ll.registerCodeFix({errorCodes:om,getCodeActions:function(e){var n=e.sourceFile,t=e.span,r=e.program,a=function(e,n,t){if(t=t.getTypeChecker().getSymbolAtLocation(xl.getTokenAtPosition(e,n)),t=xl.tryCast(null==(n=null==t?void 0:t.valueDeclaration)?void 0:n.parent,xl.isVariableDeclarationList),void 0!==t&&(n=xl.findChildOfKind(t,85,e),void 0!==n))return xl.createRange(n.pos,n.end)}(n,t.start,r);if(void 0!==a)return t=xl.textChanges.ChangeTracker.with(e,(function(e){e.replaceRangeWithText(n,a,"let")})),[Ll.createCodeFixAction(Dl,t,xl.Diagnostics.Convert_const_to_let,Dl,xl.Diagnostics.Convert_const_to_let)]},fixIds:[Dl]}),Al=SY=SY||{},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=oq(n,e.span.start,e.errorCode);if(t)return e=Al.textChanges.ChangeTracker.with(e,(function(e){return sq(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=oq(t.file,t.start,t.code),t&&sq(n,e.sourceFile,t)}))}}),kl=SY=SY||{},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 cq(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 cq(n,t.file,t,e.program,new kl.Set)}))}}),wl=SY=SY||{},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=lq(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:[ed(ed({},Gl),{notApplicableReason:n.error}),ed(ed({},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=lq(e);return wl.Debug.assert(t&&!Ml.isRefactorErrorInfo(t),"Expected applicable refactor info"),{edits:wl.textChanges.ChangeTracker.with(e,(function(n){a=e.file,g=e.program,p=t,n=n,y=e.cancellationToken;var r=a,a=p,i=n,o=g.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 u=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,u,wl.factory.createToken(88));break;case 235:var d=wl.first(c.declarationList.declarations);if(!wl.FindAllReferences.Core.isSymbolReferencedInFile(l,o,r)&&!d.type){i.replaceNode(r,c,wl.factory.createExportDefault(wl.Debug.checkDefined(d.initializer,"Initializer was previously known to be present")));break}case 258:case 257:case 259:i.deleteModifier(r,u),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,uq(i,s.name.text));break;case 265:var c,l=o,u=(s=(wl.Debug.assert(l.name===r,"Import clause name should match provided ref"),uq(i,r.text)),l.namedBindings);u?266===u.kind?(a.deleteRange(t,{pos:r.getStart(t),end:u.getStart(t)}),c=wl.isStringLiteral(l.parent.moduleSpecifier)?wl.quotePreferenceFromString(l.parent.moduleSpecifier,t):1,c=wl.makeImport(void 0,[uq(i,r.text)],l.parent.moduleSpecifier,c),a.insertNodeAfter(t,l.parent,c)):(a.delete(t,r),a.insertNodeAtEndOfList(t,u.elements,s)):a.replaceNode(t,r,wl.factory.createNamedImports([s]));break;default:wl.Debug.failBadSyntaxKind(o)}}else{var d=n,p=e,g=m,y=p.parent;switch(y.kind){case 204:g.replaceNode(d,p,wl.factory.createIdentifier("default"));break;case 268:var h=wl.factory.createIdentifier(y.name.text);1===y.parent.elements.length?g.replaceNode(d,y.parent,h):(g.delete(d,y),g.insertNodeBefore(d,y.parent,h));break;case 273:g.replaceNode(d,y,dq("default",y.name.text));break;default:wl.Debug.assertNever(y,"Unexpected parent kind "+y.kind)}}}))})),renameFilename:void 0,renameLocation:void 0}}}),Ul=SY=SY||{},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=pq(e,"invoked"===e.triggerReason);return n?Vl.isRefactorErrorInfo(n)?e.preferences.provideRefactorNotApplicableReason?[{name:jl,description:Kl.description,actions:[ed(ed({},Kl),{notApplicableReason:n.error})]},{name:jl,description:Hl.description,actions:[ed(ed({},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=pq(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,C=e.program,n=n,I=t,N=C.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,u=(Ul.FindAllReferences.Core.eachSymbolReferenceInFile(o.name,a,r,(function(e){var n;Ul.isPropertyAccessOrQualifiedName(e.parent)?(n=mq(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),d=0,p=c;d<p.length;d++){var m=p[d],_=mq(m).text,f=u.get(_);void 0===f&&u.set(_,f=l.has(_)?Ul.getUniqueName(_,r):_),i.replaceNode(r,m,Ul.factory.createIdentifier(f))}var g=[],y=(u.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,_q(y,void 0,g)):i.replaceNode(r,y,_q(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++)!function(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,_q(y,void 0,o)))}var A,C,I,N})),renameFilename:void 0,renameLocation:void 0}}}),Wl=SY=SY||{},(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=yq(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:[ed(ed({},Xl),{notApplicableReason:n.error})]}]}return Wl.emptyArray},getEditsForAction:function(e,n){var t=yq(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=SY=SY||{},(nd=Yl.refactor||(Yl.refactor={})).addOrRemoveBracesToArrowFunction||(nd.addOrRemoveBracesToArrowFunction={}),Ql="Convert overload list to single signature",Zl=Yl.Diagnostics.Convert_overload_list_to_single_signature.message,$l={name:Ql,description:Zl,kind:"refactor.rewrite.function.overloadList"},nd.registerRefactor(Ql,{kinds:[$l.kind],getEditsForAction:function(e){var n=e.file,t=e.startPosition,r=e.program,a=Sq(n,t,r);if(a){var i=r.getTypeChecker(),o=a[a.length-1],s=o;switch(o.kind){case 166:s=Yl.factory.updateMethodSignature(o,o.modifiers,o.name,o.questionToken,o.typeParameters,c(a),o.type);break;case 167:s=Yl.factory.updateMethodDeclaration(o,o.decorators,o.modifiers,o.asteriskToken,o.name,o.questionToken,o.typeParameters,c(a),o.type,o.body);break;case 172:s=Yl.factory.updateCallSignature(o,o.typeParameters,c(a),o.type);break;case 169:s=Yl.factory.updateConstructorDeclaration(o,o.decorators,o.modifiers,c(a),o.body);break;case 173:s=Yl.factory.updateConstructSignature(o,o.typeParameters,c(a),o.type);break;case 254:s=Yl.factory.updateFunctionDeclaration(o,o.decorators,o.modifiers,o.asteriskToken,o.name,o.typeParameters,c(a),o.type,o.body);break;default:return Yl.Debug.failBadSyntaxKind(o,"Unhandled signature kind in overload list conversion refactoring")}return s!==o?{renameFilename:void 0,renameLocation:void 0,edits:Yl.textChanges.ChangeTracker.with(e,(function(e){e.replaceNodeRange(n,a[0],a[a.length-1],s)}))}:void 0}function c(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,l)))])}function l(e){return e=Yl.map(e.parameters,u),Yl.setEmitFlags(Yl.factory.createTupleTypeNode(e),Yl.some(e,(function(e){return!!Yl.length(Yl.getSyntheticLeadingComments(e))}))?0:1)}function u(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(i);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){var n=e.file,t=e.startPosition;e=e.program;return Sq(n,t,e)?[{name:Ql,description:Zl,actions:[$l]}]:Yl.emptyArray}});eu=SY=SY||{},nu=eu.refactor||(eu.refactor={}),wu=nu.extractSymbol||(nu.extractSymbol={}),au="Extract Symbol",iu={name:"Extract Constant",description:eu.getLocaleSpecificMessage(eu.Diagnostics.Extract_constant),kind:"refactor.extract.constant"},ou={name:"Extract Function",description:eu.getLocaleSpecificMessage(eu.Diagnostics.Extract_function),kind:"refactor.extract.function"},nu.registerRefactor(au,{kinds:[iu.kind,ou.kind],getAvailableActions:xq,getEditsForAction:Lq}),wu.getAvailableActions=xq,wu.getEditsForAction=Lq,(sm=tu=wu.Messages||(wu.Messages={})).cannotExtractRange=Dq("Cannot extract range."),sm.cannotExtractImport=Dq("Cannot extract import statement."),sm.cannotExtractSuper=Dq("Cannot extract super call."),sm.cannotExtractJSDoc=Dq("Cannot extract JSDoc."),sm.cannotExtractEmpty=Dq("Cannot extract empty range."),sm.expressionExpected=Dq("expression expected."),sm.uselessConstantType=Dq("No reason to extract constant of type."),sm.statementOrExpressionExpected=Dq("Statement or expression expected."),sm.cannotExtractRangeContainingConditionalBreakOrContinueStatements=Dq("Cannot extract range containing conditional break or continue statements."),sm.cannotExtractRangeContainingConditionalReturnStatement=Dq("Cannot extract range containing conditional return statement."),sm.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange=Dq("Cannot extract range containing labeled break or continue with target outside of the range."),sm.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators=Dq("Cannot extract range containing writes to references located outside of the target range in generators."),sm.typeWillNotBeVisibleInTheNewScope=Dq("Type will not visible in the new scope."),sm.functionWillNotBeVisibleInTheNewScope=Dq("Function will not visible in the new scope."),sm.cannotExtractIdentifier=Dq("Select more than a single identifier."),sm.cannotExtractExportedEntity=Dq("Cannot extract exported declaration"),sm.cannotWriteInExpression=Dq("Cannot write back side-effects when extracting an expression"),sm.cannotExtractReadonlyPropertyInitializerOutsideConstructor=Dq("Cannot move initialization of read-only class property outside of the constructor"),sm.cannotExtractAmbientBlock=Dq("Cannot extract code from ambient contexts"),sm.cannotAccessVariablesFromNestedScopes=Dq("Cannot access variables from nested scopes"),sm.cannotExtractToJSClass=Dq("Cannot extract constant to a class scope in JS"),sm.cannotExtractToExpressionArrowFunction=Dq("Cannot extract constant to an arrow function without a block"),(sm=ru=ru||{})[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",wu.getRangeToExtract=Aq,su=SY=SY||{},cu=su.refactor||(su.refactor={}),lu="Extract type",uu={name:"Extract to type alias",description:su.getLocaleSpecificMessage(su.Diagnostics.Extract_to_type_alias),kind:"refactor.extract.type"},du={name:"Extract to interface",description:su.getLocaleSpecificMessage(su.Diagnostics.Extract_to_interface),kind:"refactor.extract.interface"},pu={name:"Extract to typedef",description:su.getLocaleSpecificMessage(su.Diagnostics.Extract_to_typedef),kind:"refactor.extract.typedef"},cu.registerRefactor(lu,{kinds:[uu.kind,du.kind,pu.kind],getAvailableActions:function(e){var n=Mq(e,"invoked"===e.triggerReason);return n?cu.isRefactorErrorInfo(n)?e.preferences.provideRefactorNotApplicableReason?[{name:lu,description:su.getLocaleSpecificMessage(su.Diagnostics.Extract_type),actions:[ed(ed({},pu),{notApplicableReason:n.error}),ed(ed({},uu),{notApplicableReason:n.error}),ed(ed({},du),{notApplicableReason:n.error})]}]:su.emptyArray:[{name:lu,description:su.getLocaleSpecificMessage(su.Diagnostics.Extract_type),actions:n.isJS?[pu]:su.append([uu],n.typeElements&&du)}]:su.emptyArray},getEditsForAction:function(e,n){var t=e.file,r=Mq(e),a=(su.Debug.assert(r&&!cu.isRefactorErrorInfo(r),"Expected to find a range to extract"),su.getUniqueName("NewType",t)),i=(e=su.textChanges.ChangeTracker.with(e,(function(e){switch(n){case uu.name:return su.Debug.assert(!r.isJS,"Invalid actionName/JS combo"),_=e,f=t,g=a,h=(y=r).firstStatement,v=y.selection,y=y.typeParameters,b=su.factory.createTypeAliasDeclaration(void 0,void 0,g,y.map((function(e){return su.factory.updateTypeParameterDeclaration(e,e.name,e.constraint,void 0)})),v),_.insertNodeBefore(f,h,su.ignoreSourceNewlines(b),!0),void _.replaceNode(f,v,su.factory.createTypeReferenceNode(g,y.map((function(e){return su.factory.createTypeReferenceNode(e.name,void 0)}))),{leadingTriviaOption:su.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:su.textChanges.TrailingTriviaOption.ExcludeWhitespace});case pu.name:return su.Debug.assert(r.isJS,"Invalid actionName/JS combo"),h=e,b=t,_=a,v=(f=r).firstStatement,g=f.selection,f=f.typeParameters,y=su.factory.createJSDocTypedefTag(su.factory.createIdentifier("typedef"),su.factory.createJSDocTypeExpression(g),su.factory.createIdentifier(_)),m=[],su.forEach(f,(function(e){var n=su.getEffectiveConstraintOfTypeParameter(e);e=su.factory.createTypeParameterDeclaration(e.name),n=su.factory.createJSDocTemplateTag(su.factory.createIdentifier("template"),n&&su.cast(n,su.isJSDocTypeExpression),[e]);m.push(n)})),h.insertNodeBefore(b,v,su.factory.createJSDocComment(void 0,su.factory.createNodeArray(su.concatenate(m,[y]))),!0),void h.replaceNode(b,g,su.factory.createTypeReferenceNode(_,f.map((function(e){return su.factory.createTypeReferenceNode(e.name,void 0)}))));case du.name:return su.Debug.assert(!r.isJS&&!!r.typeElements,"Invalid actionName/JS combo"),i=e,o=t,s=a,l=(c=r).firstStatement,u=c.selection,d=c.typeParameters,c=c.typeElements,p=su.factory.createInterfaceDeclaration(void 0,void 0,s,d,void 0,c),su.setTextRange(p,null==(c=c[0])?void 0:c.parent),i.insertNodeBefore(o,l,su.ignoreSourceNewlines(p),!0),void i.replaceNode(o,u,su.factory.createTypeReferenceNode(s,d.map((function(e){return su.factory.createTypeReferenceNode(e.name,void 0)}))),{leadingTriviaOption:su.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:su.textChanges.TrailingTriviaOption.ExcludeWhitespace});default:su.Debug.fail("Unexpected action name")}var i,o,s,c,l,u,d,p,m,_,f,g,y,h,v,b})),t.fileName);return{edits:e,renameFilename:i,renameLocation:su.getRenameLocation(e,i,a,!1)}}}),mu=SY=SY||{},(yu=mu.refactor||(mu.refactor={})).generateGetAccessorAndSetAccessor||(yu.generateGetAccessorAndSetAccessor={}),_u="Generate 'get' and 'set' accessors",fu=mu.Diagnostics.Generate_get_and_set_accessors.message,gu={name:_u,description:fu,kind:"refactor.rewrite.property.generateAccessors"},yu.registerRefactor(_u,{kinds:[gu.kind],getEditsForAction:function(e,n){if(e.endPosition){var t,r=mu.codefix.getAccessorConvertiblePropertyAtPosition(e.file,e.program,e.startPosition,e.endPosition);n=(mu.Debug.assert(r&&!yu.isRefactorErrorInfo(r),"Expected applicable refactor info"),mu.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:(mu.isIdentifier(t)?0:-1)+mu.getRenameLocation(n,e,t.text,mu.isParameter(r.declaration)),edits:n}}},getAvailableActions:function(e){var n;return e.endPosition&&(n=mu.codefix.getAccessorConvertiblePropertyAtPosition(e.file,e.program,e.startPosition,e.endPosition,"invoked"===e.triggerReason))?yu.isRefactorErrorInfo(n)?e.preferences.provideRefactorNotApplicableReason?[{name:_u,description:fu,actions:[ed(ed({},gu),{notApplicableReason:n.error})]}]:mu.emptyArray:[{name:_u,description:fu,actions:[gu]}]:mu.emptyArray}}),(om=(om=SY=SY||{}).refactor||(om.refactor={})).isRefactorErrorInfo=function(e){return void 0!==e.error},om.refactorKindBeginsWith=function(e,n){return!n||e.substr(0,n.length)===n},hu=SY=SY||{},nd=hu.refactor||(hu.refactor={}),vu="Move to a new file",bu=hu.getLocaleSpecificMessage(hu.Diagnostics.Move_to_a_new_file),Eu={name:vu,description:bu,kind:"refactor.move.newFile"},nd.registerRefactor(vu,{kinds:[Eu.kind],getAvailableActions:function(e){var n=Gq(e);return e.preferences.allowTextChangesInNewFiles&&n?[{name:vu,description:bu,actions:[Eu]}]:e.preferences.provideRefactorNotApplicableReason?[{name:vu,description:bu,actions:[ed(ed({},Eu),{notApplicableReason:hu.getLocaleSpecificMessage(hu.Diagnostics.Selection_is_not_a_valid_statement_or_statements)})]}]:hu.emptyArray},getEditsForAction:function(e,n){hu.Debug.assert(n===vu,"Wrong refactor invoked");var t=hu.Debug.checkDefined(Gq(e));return{edits:hu.textChanges.ChangeTracker.with(e,(function(n){r=e.file,a=e.program,l=t,n=n,i=e.host,d=e.preferences,c=a.getTypeChecker(),c=function(e,n,t){var r=new Tu,a=new Tu,i=new Tu,o=function(e){if(void 0!==e){var n=t.getJsxNamespace(e);n=t.resolveName(n,e,1920,!0);return n&&hu.some(n.declarations,Jq)?n:void 0}}(hu.find(n,(function(e){return!!(2&e.transformFlags)})));o&&a.add(o);for(var s=0,c=n;s<c.length;s++)eX(f=c[s],(function(e){r.add(hu.Debug.checkDefined(hu.isExpressionStatement(e)?t.getSymbolAtLocation(e.expression.left):e.symbol,"Need a symbol here"))}));for(var l=0,u=n;l<u.length;l++)Yq(f=u[l],t,(function(n){if(n.declarations)for(var t=0,o=n.declarations;t<o.length;t++){var s=o[t];Jq(s)?a.add(n):Zq(s)&&(s=s,(hu.isVariableDeclaration(s)?s.parent.parent:s).parent===e)&&!r.has(n)&&i.add(n)}}));for(var d=a.clone(),p=new Tu,m=0,_=e.statements;m<_.length;m++){var f=_[m];hu.contains(n,f)||(o&&2&f.transformFlags&&d.delete(o),Yq(f,t,(function(e){r.has(e)&&p.add(e),d.delete(e)})))}return{movedSymbols:r,newFileImportsFromOldFile:i,oldFileImportsFromNewFile:p,oldImportsNeededByNewFile:a,unusedImportsFromOldFile:d}}(r,l.all,c),s=hu.getDirectoryPath(r.fileName),o=hu.extensionFromPath(r.fileName),u=function(e,n,t,r){for(var a=e,i=1;;i++){var o=hu.combinePaths(t,a+n);if(!r.fileExists(o))return a;a=e+"."+i}}(function(e){return e.forEachEntry(hu.symbolNameNoDefault)||"newFile"}(c.movedSymbols),o,s,i),o=u+o,n.createNewFile(r,hu.combinePaths(s,o),function(e,n,t,r,a,i,o){var s=a.getTypeChecker(),c=hu.takeWhile(e.statements,hu.isPrologueDirective);if(!e.externalModuleIndicator&&!e.commonJsModuleIndicator)return Uq(e,r.ranges,t),$u($u([],c,!0),r.all,!0);var l=!!e.externalModuleIndicator,u=(o=hu.getQuotePreference(e,o),function(e,n,t,r){var a,i=[];return e.forEach((function(e){"default"===e.escapedName?a=hu.factory.createIdentifier(hu.symbolNameNoDefault(e)):i.push(e.name)})),Kq(a,i,n,t,r)}(n.oldFileImportsFromNewFile,i,l,o));return u&&hu.insertImports(t,e,u,!0),function(e,n,t,r,a){for(var i=0,o=e.statements;i<o.length;i++){var s=o[i];hu.contains(n,s)||jq(s,(function(n){zq(e,n,t,(function(e){return r.has(a.getSymbolAtLocation(e))}))}))}}(e,r.all,t,n.unusedImportsFromOldFile,s),Uq(e,r.ranges,t),function(e,n,t,r,a){for(var i=n.getTypeChecker(),o=function(n){if(n===t)return"continue";for(var o=function(o){jq(o,(function(s){if(i.getSymbolAtLocation(Vq(s))===t.symbol){var c=function(e){return e=hu.isBindingElement(e.parent)?hu.getPropertySymbolFromBindingElement(i,e.parent):hu.skipAlias(i.getSymbolAtLocation(e),i),!!e&&r.has(e)},l=(zq(n,s,e,c),hu.combinePaths(hu.getDirectoryPath(Vq(s).text),a));c=Xq(s,hu.factory.createStringLiteral(l),c),c=(c&&e.insertNodeAfter(n,o,c),function(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 hu.tryCast(e.name,hu.isIdentifier);default:return hu.Debug.assertNever(e,"Unexpected node kind "+e.kind)}}(s));if(c){var u=e,d=n,p=i,m=r,_=a,f=hu.codefix.moduleSpecifierToValidIdentifier(_,99),g=!1,y=[];if(hu.FindAllReferences.Core.eachSymbolReferenceInFile(c,p,d,(function(e){hu.isPropertyAccessExpression(e.parent)&&(g=g||!!p.resolveName(f,e,67108863,!0),m.has(p.getSymbolAtLocation(e.parent.name)))&&y.push(e)})),y.length){for(var h=g?hu.getUniqueName(f,d):f,v=0,b=y;v<b.length;v++){var E=b[v];u.replaceNode(d,E,hu.factory.createIdentifier(h))}u.insertNodeAfter(d,s,function(e,n,t){var r=hu.factory.createIdentifier(n),a=hu.factory.createStringLiteral(t);switch(e.kind){case 264:return hu.factory.createImportDeclaration(void 0,void 0,hu.factory.createImportClause(!1,void 0,hu.factory.createNamespaceImport(r)),a);case 263:return hu.factory.createImportEqualsDeclaration(void 0,void 0,!1,r,hu.factory.createExternalModuleReference(a));case 252:return hu.factory.createVariableDeclaration(r,void 0,void 0,Wq(a));default:return hu.Debug.assertNever(e,"Unexpected node kind "+e.kind)}}(s,_,l))}}}}))},s=0,c=n.statements;s<c.length;s++)o(c[s])},s=0,c=n.getSourceFiles();s<c.length;s++){var l=c[s];o(l)}}(t,a,e,n.movedSymbols,i),u=function(e,n,t,r,a,i,o){for(var s,c=[],l=0,u=e.statements;l<u.length;l++)jq(u[l],(function(e){hu.append(c,Xq(e,Vq(e),(function(e){return n.has(a.getSymbolAtLocation(e))})))}));var d=[],p=hu.nodeSeenTracker();return t.forEach((function(n){if(n.declarations)for(var t,a,o,c,l=0,u=n.declarations;l<u.length;l++){var m,_,f=u[l];Zq(f)&&(m=f,m=hu.isExpressionStatement(m)?hu.tryCast(m.expression.left.name,hu.isIdentifier):hu.tryCast(m.name,hu.isIdentifier))&&(_=function e(n){switch(n.kind){case 252:return n.parent.parent;case 201:return e(hu.cast(n.parent.parent,(function(e){return hu.isVariableDeclaration(e)||hu.isBindingElement(e)})));default:return n}}(f),p(_)&&(o=r,nX(t=e,_=_,c=i,a=m)||(c?hu.isExpressionStatement(_)||o.insertExportModifier(t,_):0!==(a=tX(_)).length&&o.insertNodesAfter(t,_,a.map(rX)))),hu.hasSyntacticModifier(f,512)?s=m:d.push(m.text))}})),hu.append(c,Kq(s,d,hu.removeFileExtension(hu.getBaseFileName(e.fileName)),i,o)),c}(e,n.oldImportsNeededByNewFile,n.newFileImportsFromOldFile,t,s,l,o),a=function(e,n,t,r){return hu.flatMap(n,(function(n){return a=n,hu.Debug.assert(hu.isSourceFile(a.parent),"Node parent should be a SourceFile"),($q(a)||hu.isVariableStatement(a))&&!nX(e,n,r)&&eX(n,(function(e){return t.has(hu.Debug.checkDefined(e.symbol))}))&&(a=n,a=r?[function(e){var n=hu.concatenate([hu.factory.createModifier(93)],e.modifiers);switch(e.kind){case 254:return hu.factory.updateFunctionDeclaration(e,e.decorators,n,e.asteriskToken,e.name,e.typeParameters,e.parameters,e.type,e.body);case 255:return hu.factory.updateClassDeclaration(e,e.decorators,n,e.name,e.typeParameters,e.heritageClauses,e.members);case 235:return hu.factory.updateVariableStatement(e,n,e.declarationList);case 259:return hu.factory.updateModuleDeclaration(e,e.decorators,n,e.name,e.body);case 258:return hu.factory.updateEnumDeclaration(e,e.decorators,n,e.name,e.members);case 257:return hu.factory.updateTypeAliasDeclaration(e,e.decorators,n,e.name,e.typeParameters,e.type);case 256:return hu.factory.updateInterfaceDeclaration(e,e.decorators,n,e.name,e.typeParameters,e.heritageClauses,e.members);case 263:return hu.factory.updateImportEqualsDeclaration(e,e.decorators,n,e.isTypeOnly,e.name,e.moduleReference);case 236:return hu.Debug.fail();default:return hu.Debug.assertNever(e,"Unexpected declaration kind "+e.kind)}}(a)]:function(e){return $u([e],tX(e).map(rX),!0)}(a),a)?a:n;var a}))}(e,r.all,n.oldFileImportsFromNewFile,l),u.length&&a.length?$u($u($u($u([],c,!0),u,!0),[4],!1),a,!0):$u($u($u([],c,!0),u,!0),a,!0)}(r,c,n,l,a,u,d));var r,a,i,o,s=a,c=n,l=r.fileName,u=o,d=hu.hostGetCanonicalFileName(i);(s=s.getCompilerOptions().configFile)&&(l=hu.normalizePath(hu.combinePaths(l,"..",u)),u=hu.getRelativePathFromFile(s.fileName,l,d),l=s.statements[0]&&hu.tryCast(s.statements[0].expression,hu.isObjectLiteralExpression),d=l&&hu.find(l.properties,(function(e){return hu.isPropertyAssignment(e)&&hu.isStringLiteral(e.name)&&"files"===e.name.text})))&&hu.isArrayLiteralExpression(d.initializer)&&c.insertNodeInListAfter(s,hu.last(d.initializer.elements),hu.factory.createStringLiteral(u),d.initializer.elements)})),renameFilename:void 0,renameLocation:void 0}}}),Qq.prototype.add=function(e){this.map.set(String(hu.getSymbolId(e)),e)},Qq.prototype.has=function(e){return this.map.has(String(hu.getSymbolId(e)))},Qq.prototype.delete=function(e){this.map.delete(String(hu.getSymbolId(e)))},Qq.prototype.forEach=function(e){this.map.forEach(e)},Qq.prototype.forEachEntry=function(e){return hu.forEachEntry(this.map,e)},Qq.prototype.clone=function(){var e=new Qq;return hu.copyEntries(this.map,e.map),e},Tu=Qq,Su=SY=SY||{},(xu=Su.refactor||(Su.refactor={})).addOrRemoveBracesToArrowFunction||(xu.addOrRemoveBracesToArrowFunction={}),Lu="Add or remove braces in an arrow function",Du=Su.Diagnostics.Add_or_remove_braces_in_an_arrow_function.message,Au={name:"Add braces to arrow function",description:Su.Diagnostics.Add_braces_to_arrow_function.message,kind:"refactor.rewrite.arrow.braces.add"},Cu={name:"Remove braces from arrow function",description:Su.Diagnostics.Remove_braces_from_arrow_function.message,kind:"refactor.rewrite.arrow.braces.remove"},xu.registerRefactor(Lu,{kinds:[Cu.kind],getEditsForAction:function(e,n){var t,r=e.file,a=e.startPosition,i=(a=aX(r,a),Su.Debug.assert(a&&!xu.isRefactorErrorInfo(a),"Expected applicable refactor info"),a.expression),o=a.returnStatement,s=a.func;return n===Au.name?(a=Su.factory.createReturnStatement(i),t=Su.factory.createBlock([a],!0),Su.suppressLeadingAndTrailingTrivia(t),Su.copyLeadingComments(i,a,r,3,!0)):n===Cu.name&&o?(a=i||Su.factory.createVoidZero(),t=Su.needsParentheses(a)?Su.factory.createParenthesizedExpression(a):a,Su.suppressLeadingAndTrailingTrivia(t),Su.copyTrailingAsLeadingComments(o,t,r,3,!1),Su.copyLeadingComments(o,t,r,3,!1),Su.copyTrailingComments(o,t,r,3,!1)):Su.Debug.fail("invalid action"),n=Su.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=e.file,t=e.startPosition,r=e.triggerReason;n=aX(n,t,"invoked"===r);if(n){if(!xu.isRefactorErrorInfo(n))return[{name:Lu,description:Du,actions:[n.addBraces?Au:Cu]}];if(e.preferences.provideRefactorNotApplicableReason)return[{name:Lu,description:Du,actions:[ed(ed({},Au),{notApplicableReason:n.error}),ed(ed({},Cu),{notApplicableReason:n.error})]}]}return Su.emptyArray}}),Iu=SY=SY||{},(sm=Iu.refactor||(Iu.refactor={})).convertParamsToDestructuredObject||(sm.convertParamsToDestructuredObject={}),Nu="Convert parameters to destructured object",ku=2,Ru=Iu.getLocaleSpecificMessage(Iu.Diagnostics.Convert_parameters_to_destructured_object),Ou={name:Nu,description:Ru,kind:"refactor.rewrite.parameters.toDestructured"},sm.registerRefactor(Nu,{kinds:[Ou.kind],getEditsForAction:function(e,n){Iu.Debug.assert(n===Nu,"Unexpected action name");var t=e.file,r=(n=e.startPosition,e.program),a=e.cancellationToken,i=e.host,o=lX(t,n,r.getTypeChecker());if(o&&a){var s=function(e,n,t){var r=function(e){switch(e.kind){case 254:return e.name?[e.name]:[Iu.Debug.checkDefined(Iu.findModifier(e,88),"Nameless function declaration should be a default export")];case 167:return[e.name];case 169:var n=Iu.Debug.checkDefined(Iu.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 Iu.Debug.assertNever(e,"Unexpected function declaration kind "+e.kind)}}(e),a=Iu.isConstructorDeclaration(e)?function(e){switch(e.parent.kind){case 255:var n=e.parent;return n.name?[n.name]:[Iu.Debug.checkDefined(Iu.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=Iu.deduplicate($u($u([],r,!0),a,!0),Iu.equateValues),o=n.getTypeChecker(),s=function(n){for(var t={accessExpressions:[],typeUsages:[]},i={functionCalls:[],declarations:[],classReferences:t,valid:!0},s=Iu.map(r,c),l=Iu.map(a,c),u=Iu.isConstructorDeclaration(e),d=Iu.map(r,(function(e){return iX(e,o)})),p=0,m=n;p<m.length;p++){var _=m[p];if(0===_.kind);else{if(Iu.contains(d,c(_.node))){if(function(e){return Iu.isMethodSignature(e)&&(Iu.isInterfaceDeclaration(e.parent)||Iu.isTypeLiteralNode(e.parent))}(_.node.parent)){i.signature=_.node.parent;continue}if(f=cX(_)){i.functionCalls.push(f);continue}}var f,g,y=iX(_.node,o);if(y&&Iu.contains(d,y)&&(g=sX(_))){i.declarations.push(g);continue}if(Iu.contains(s,c(_.node))||Iu.isNewExpressionTarget(_.node)){if(oX(_))continue;if(g=sX(_)){i.declarations.push(g);continue}if(f=cX(_)){i.functionCalls.push(f);continue}}if(u&&Iu.contains(l,c(_.node))){if(oX(_))continue;if(g=sX(_)){i.declarations.push(g);continue}if(y=function(e){if(e.node.parent){var n=e.node,t=n.parent;switch(t.kind){case 204:var r=Iu.tryCast(t,Iu.isPropertyAccessExpression);if(r&&r.expression===n)return r;break;case 205:if(r=Iu.tryCast(t,Iu.isElementAccessExpression),r&&r.expression===n)return r}}}(_),y){t.accessExpressions.push(y);continue}if(Iu.isClassDeclaration(e.parent)&&(y=function(e){if(e=e.node,2===Iu.getMeaningFromLocation(e)||Iu.isExpressionWithTypeArgumentsInClassExtendsClause(e.parent))return e}(_),y)){t.typeUsages.push(y);continue}}}i.valid=!1}return i}(Iu.flatMap(i,(function(e){return Iu.FindAllReferences.getReferenceEntriesForNode(-1,e,n,n.getSourceFiles(),t)})));return Iu.every(s.declarations,(function(e){return Iu.contains(i,e)}))||(s.valid=!1),s;function c(e){return e=o.getSymbolAtLocation(e),e&&Iu.getSymbolTarget(e,o)}}(o,r,a);return s.valid?{renameFilename:void 0,renameLocation:void 0,edits:Iu.textChanges.ChangeTracker.with(e,(function(e){var n=t,a=r,c=i,l=e,u=o,d=(e=s,e.signature),p=Iu.map(fX(u,a,c),(function(e){return Iu.getSynthesizedDeepClone(e)}));d&&(a=Iu.map(fX(d,a,c),(function(e){return Iu.getSynthesizedDeepClone(e)})),y(d,a)),y(u,p);c=Iu.sortAndDeduplicate(e.functionCalls,(function(e,n){return Iu.compareValues(e.pos,n.pos)}));for(var m=0,_=c;m<_.length;m++){var f,g=_[m];g.arguments&&g.arguments.length&&(f=Iu.getSynthesizedDeepClone(function(e,n){var t=_X(e.parameters),r=(e=Iu.isRestParameter(Iu.last(t)),e?n.slice(0,t.length-1):n);r=Iu.map(r,(function(e,n){return n=function(e,n){return Iu.isIdentifier(n)&&Iu.getTextOfIdentifierOrLiteral(n)===e?Iu.factory.createShorthandPropertyAssignment(e):Iu.factory.createPropertyAssignment(e,n)}(gX(t[n]),e),Iu.suppressLeadingAndTrailingTrivia(n.name),Iu.isPropertyAssignment(n)&&Iu.suppressLeadingAndTrailingTrivia(n.initializer),Iu.copyComments(e,n),n}));return e&&n.length>=t.length&&(e=n.slice(t.length-1),n=Iu.factory.createPropertyAssignment(gX(Iu.last(t)),Iu.factory.createArrayLiteralExpression(e)),r.push(n)),Iu.factory.createObjectLiteralExpression(r,!1)}(u,g.arguments),!0),l.replaceNodeRange(Iu.getSourceFileOfNode(g),Iu.first(g.arguments),Iu.last(g.arguments),f,{leadingTriviaOption:Iu.textChanges.LeadingTriviaOption.IncludeAll,trailingTriviaOption:Iu.textChanges.TrailingTriviaOption.Include}))}function y(e,t){l.replaceNodeRangeWithNodes(n,Iu.first(e.parameters),Iu.last(e.parameters),t,{joiner:", ",indentation:0,leadingTriviaOption:Iu.textChanges.LeadingTriviaOption.IncludeAll,trailingTriviaOption:Iu.textChanges.TrailingTriviaOption.Include})}}))}:{edits:[]}}},getAvailableActions:function(e){var n=e.file,t=e.startPosition;return!Iu.isSourceFileJS(n)&&lX(n,t,e.program.getTypeChecker())?[{name:Nu,description:Ru,actions:[Ou]}]:Iu.emptyArray}}),Pu=SY=SY||{},(wu=Pu.refactor||(Pu.refactor={})).convertStringOrTemplateLiteral||(wu.convertStringOrTemplateLiteral={}),Mu="Convert to template string",Fu=Pu.getLocaleSpecificMessage(Pu.Diagnostics.Convert_to_template_string),Gu={name:Mu,description:Fu,kind:"refactor.rewrite.string"},wu.registerRefactor(Mu,{kinds:[Gu.kind],getEditsForAction:function(e,n){var t=e.file,r=e.startPosition;t=yX(t,r);return n!==Fu?Pu.Debug.fail("invalid action"):{edits:function(e,n){var t,r,a=hX(n),i=e.file,o=function(e,n){var t=e.nodes,r=(e=e.operators,bX(e,n)),a=EX(t,n,r),i=(e=SX(0,t),n=e[0],e[1]),o=e[2];e=e[3];if(n===t.length)return l=Pu.factory.createNoSubstitutionTemplateLiteral(i,o),a(e,l),l;for(var s,c=[],l=Pu.factory.createTemplateHead(i,o),u=(a(e,l),function(e){var n=function(e){return Pu.isParenthesizedExpression(e)&&(xX(e),e=e.expression),e}(t[e]),i=(r(e,n),SX(e+1,t)),o=i[0],l=i[1],u=i[2],d=(i=i[3],(e=o-1)===t.length-1);Pu.isTemplateExpression(n)?(o=Pu.map(n.templateSpans,(function(e,t){xX(e);t=t===n.templateSpans.length-1;var r=e.literal.text+(t?l:"");t=TX(e.literal)+(t?u:"");return Pu.factory.createTemplateSpan(e.expression,d?Pu.factory.createTemplateTail(r,t):Pu.factory.createTemplateMiddle(r,t))})),c.push.apply(c,o)):(o=d?Pu.factory.createTemplateTail(l,u):Pu.factory.createTemplateMiddle(l,u),a(i,o),c.push(Pu.factory.createTemplateSpan(n,o))),s=e}),d=n;d<t.length;d++)u(d),d=s;return Pu.factory.createTemplateExpression(l,c)}(vX(a),i);n=Pu.getTrailingCommentRanges(i.text,a.end);return n?(t=n[n.length-1],r={pos:n[0].pos,end:t.end},Pu.textChanges.ChangeTracker.with(e,(function(e){e.deleteRange(i,r),e.replaceNode(i,a,o)}))):Pu.textChanges.ChangeTracker.with(e,(function(e){return e.replaceNode(i,a,o)}))}(e,t)}},getAvailableActions:function(e){var n=e.file,t=e.startPosition;n=hX(yX(n,t)),t={name:Mu,description:Fu,actions:[]};return Pu.isBinaryExpression(n)&&vX(n).isValidConcatenation?(t.actions.push(Gu),[t]):e.preferences.provideRefactorNotApplicableReason?(t.actions.push(ed(ed({},Gu),{notApplicableReason:Pu.getLocaleSpecificMessage(Pu.Diagnostics.Can_only_convert_string_concatenation)})),[t]):Pu.emptyArray}}),Bu=SY=SY||{},(Uu=Bu.refactor||(Bu.refactor={})).convertArrowFunctionOrFunctionExpression||(Uu.convertArrowFunctionOrFunctionExpression={}),Vu="Convert arrow function or function expression",ju=Bu.getLocaleSpecificMessage(Bu.Diagnostics.Convert_arrow_function_or_function_expression),Ku={name:"Convert to anonymous function",description:Bu.getLocaleSpecificMessage(Bu.Diagnostics.Convert_to_anonymous_function),kind:"refactor.rewrite.function.anonymous"},Hu={name:"Convert to named function",description:Bu.getLocaleSpecificMessage(Bu.Diagnostics.Convert_to_named_function),kind:"refactor.rewrite.function.named"},Wu={name:"Convert to arrow function",description:Bu.getLocaleSpecificMessage(Bu.Diagnostics.Convert_to_arrow_function),kind:"refactor.rewrite.function.arrow"},Uu.registerRefactor(Vu,{kinds:[Ku.kind,Hu.kind,Wu.kind],getEditsForAction:function(e,n){var t=e.file,r=e.startPosition,a=e.program;t=DX(t,r,a);if(t){var i=t.func,o=[];switch(n){case Ku.name:o.push.apply(o,function(e,n){var t=e.file,r=AX(n.body),a=Bu.factory.createFunctionExpression(n.modifiers,n.asteriskToken,void 0,n.typeParameters,n.parameters,n.type,r);return Bu.textChanges.ChangeTracker.with(e,(function(e){return e.replaceNode(t,n,a)}))}(e,i));break;case Hu.name:var s=function(e){var n,t;e=e.parent;if(Bu.isVariableDeclaration(e)&&Bu.isVariableDeclarationInVariableStatement(e))return n=e.parent,t=n.parent,Bu.isVariableDeclarationList(n)&&Bu.isVariableStatement(t)&&Bu.isIdentifier(e.name)?{variableDeclaration:e,variableDeclarationList:n,statement:t,name:e.name}:void 0}(i);if(!s)return;o.push.apply(o,function(e,n,t){var r=e.file,a=AX(n.body),i=t.variableDeclaration,o=t.variableDeclarationList,s=t.statement,c=(t=t.name,Bu.suppressLeadingTrivia(s),1&Bu.getCombinedModifierFlags(i)|Bu.getEffectiveModifierFlags(n)),l=(c=Bu.factory.createModifiersFromModifierFlags(c),Bu.factory.createFunctionDeclaration(n.decorators,Bu.length(c)?c:void 0,n.asteriskToken,t,n.typeParameters,n.parameters,n.type,a));return 1===o.declarations.length?Bu.textChanges.ChangeTracker.with(e,(function(e){return e.replaceNode(r,s,l)})):Bu.textChanges.ChangeTracker.with(e,(function(e){e.delete(r,i),e.insertNodeAfter(r,s,l)}))}(e,i,s));break;case Wu.name:if(!Bu.isFunctionExpression(i))return;o.push.apply(o,function(e,n){var t,r=e.file,a=n.body.statements[0];!function(e,n){return 1===e.statements.length&&Bu.isReturnStatement(n)&&n.expression}(n.body,a)?t=n.body:(t=a.expression,Bu.suppressLeadingAndTrailingTrivia(t),Bu.copyComments(a,t));var i=Bu.factory.createArrowFunction(n.modifiers,n.typeParameters,n.parameters,n.type,Bu.factory.createToken(38),t);return Bu.textChanges.ChangeTracker.with(e,(function(e){return e.replaceNode(r,n,i)}))}(e,i));break;default:return Bu.Debug.fail("invalid action")}return{renameFilename:void 0,renameLocation:void 0,edits:o}}},getAvailableActions:function(e){var n=e.file,t=e.startPosition,r=e.program,a=e.kind;n=DX(n,t,r);if(!n)return Bu.emptyArray;t=n.selectedVariableDeclaration,r=n.func,n=[];var i,o=[];return Uu.refactorKindBeginsWith(Hu.kind,a)&&((i=t||Bu.isArrowFunction(r)&&Bu.isVariableDeclaration(r.parent)?void 0:Bu.getLocaleSpecificMessage(Bu.Diagnostics.Could_not_convert_to_named_function))?o.push(ed(ed({},Hu),{notApplicableReason:i})):n.push(Hu)),Uu.refactorKindBeginsWith(Ku.kind,a)&&((i=!t&&Bu.isArrowFunction(r)?void 0:Bu.getLocaleSpecificMessage(Bu.Diagnostics.Could_not_convert_to_anonymous_function))?o.push(ed(ed({},Ku),{notApplicableReason:i})):n.push(Ku)),Uu.refactorKindBeginsWith(Wu.kind,a)&&((i=Bu.isFunctionExpression(r)?void 0:Bu.getLocaleSpecificMessage(Bu.Diagnostics.Could_not_convert_to_arrow_function))?o.push(ed(ed({},Wu),{notApplicableReason:i})):n.push(Wu)),[{name:Vu,description:ju,actions:0===n.length&&e.preferences.provideRefactorNotApplicableReason?o:n}]}}),zu=SY=SY||{},(Ju=zu.refactor||(zu.refactor={})).inferFunctionReturnType||(Ju.inferFunctionReturnType={}),qu="Infer function return type",Xu=zu.Diagnostics.Infer_function_return_type.message,Yu={name:qu,description:Xu,kind:"refactor.rewrite.function.returnType"},Ju.registerRefactor(qu,{kinds:[Yu.kind],getEditsForAction:function(e){var n=IX(e);if(n&&!Ju.isRefactorErrorInfo(n))return{renameFilename:void 0,renameLocation:void 0,edits:zu.textChanges.ChangeTracker.with(e,(function(t){var r,a,i,o,s;r=e.file,t=t,a=n.declaration,i=n.returnTypeNode,o=zu.findChildOfKind(a,21,r),s=zu.isArrowFunction(a)&&void 0===o,(a=s?zu.first(a.parameters):o)&&(s&&(t.insertNodeBefore(r,a,zu.factory.createToken(20)),t.insertNodeAfter(r,a,zu.factory.createToken(21))),t.insertNodeAt(r,a.end,i,{prefix:": "}))}))}},getAvailableActions:function(e){var n=IX(e);if(n){if(!Ju.isRefactorErrorInfo(n))return[{name:qu,description:Xu,actions:[Yu]}];if(e.preferences.provideRefactorNotApplicableReason)return[{name:qu,description:Xu,actions:[ed(ed({},Yu),{notApplicableReason:n.error})]}]}return zu.emptyArray}});var NX=SY=SY||{};function kX(e,n,t,r){return e=NX.isNodeKind(e)?new RX(e,n,t):79===e?new jX(79,n,t):80===e?new WX(80,n,t):new BX(e,n,t),e.parent=r,e.flags=25358336&r.flags,e}NX.servicesVersion="0.8",OX.prototype.assertHasRealPosition=function(e){NX.Debug.assert(!NX.positionIsSynthesized(this.pos)&&!NX.positionIsSynthesized(this.end),e||"Node must have a real position for this operation")},OX.prototype.getSourceFile=function(){return NX.getSourceFileOfNode(this)},OX.prototype.getStart=function(e,n){return this.assertHasRealPosition(),NX.getTokenPosOfNode(this,e,n)},OX.prototype.getFullStart=function(){return this.assertHasRealPosition(),this.pos},OX.prototype.getEnd=function(){return this.assertHasRealPosition(),this.end},OX.prototype.getWidth=function(e){return this.assertHasRealPosition(),this.getEnd()-this.getStart(e)},OX.prototype.getFullWidth=function(){return this.assertHasRealPosition(),this.end-this.pos},OX.prototype.getLeadingTriviaWidth=function(e){return this.assertHasRealPosition(),this.getStart(e)-this.pos},OX.prototype.getFullText=function(e){return this.assertHasRealPosition(),(e||this.getSourceFile()).text.substring(this.pos,this.end)},OX.prototype.getText=function(e){return this.assertHasRealPosition(),(e=e||this.getSourceFile()).text.substring(this.getStart(e),this.getEnd())},OX.prototype.getChildCount=function(e){return this.getChildren(e).length},OX.prototype.getChildAt=function(e,n){return this.getChildren(n)[e]},OX.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,NX.isNodeKind(n.kind)?(t=[],NX.isJSDocCommentContainingNode(n)?n.forEachChild((function(e){t.push(e)})):(NX.scanner.setText((e||n.getSourceFile()).text),r=n.pos,e=function(e){PX(t,r,e.pos,n),t.push(e),r=e.end},NX.forEach(n.jsDoc,e),r=n.pos,n.forEachChild(e,(function(e){PX(t,r,e.pos,n),t.push(function(e,n){for(var t=kX(343,e.pos,e.end,n),r=(t._children=[],e.pos),a=0,i=e;a<i.length;a++){var o=i[a];PX(t._children,r,o.pos,n),t._children.push(o),r=o.end}return PX(t._children,r,e.end,n),t}(e,n)),r=e.end})),PX(t,r,n.end,n),NX.scanner.setText(void 0)),t):NX.emptyArray));var n,t,r},OX.prototype.getFirstToken=function(e){this.assertHasRealPosition();var n=this.getChildren(e);if(n.length)return(n=NX.find(n,(function(e){return e.kind<304||342<e.kind}))).kind<159?n:n.getFirstToken(e)},OX.prototype.getLastToken=function(e){this.assertHasRealPosition();var n=this.getChildren(e);n=NX.lastOrUndefined(n);if(n)return n.kind<159?n:n.getLastToken(e)},OX.prototype.forEachChild=function(e,n){return NX.forEachChild(this,e,n)};var RX=OX;function OX(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 PX(e,n,t,r){for(NX.scanner.setTextPos(n);n<t;){var a=NX.scanner.scan(),i=NX.scanner.getTextPos();if(i<=t&&(79===a&&NX.Debug.fail("Did not expect "+NX.Debug.formatSyntaxKind(r.kind)+" to have an Identifier in its trivia"),e.push(kX(a,n,i,r))),n=i,1===a)break}}function wX(e,n){this.pos=e,this.end=n,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0}wX.prototype.getSourceFile=function(){return NX.getSourceFileOfNode(this)},wX.prototype.getStart=function(e,n){return NX.getTokenPosOfNode(this,e,n)},wX.prototype.getFullStart=function(){return this.pos},wX.prototype.getEnd=function(){return this.end},wX.prototype.getWidth=function(e){return this.getEnd()-this.getStart(e)},wX.prototype.getFullWidth=function(){return this.end-this.pos},wX.prototype.getLeadingTriviaWidth=function(e){return this.getStart(e)-this.pos},wX.prototype.getFullText=function(e){return(e||this.getSourceFile()).text.substring(this.pos,this.end)},wX.prototype.getText=function(e){return(e=e||this.getSourceFile()).text.substring(this.getStart(e),this.getEnd())},wX.prototype.getChildCount=function(){return this.getChildren().length},wX.prototype.getChildAt=function(e){return this.getChildren()[e]},wX.prototype.getChildren=function(){return 1===this.kind&&this.jsDoc||NX.emptyArray},wX.prototype.getFirstToken=function(){},wX.prototype.getLastToken=function(){},wX.prototype.forEachChild=function(){},om=wX,FX.prototype.getFlags=function(){return this.flags},Object.defineProperty(FX.prototype,"name",{get:function(){return NX.symbolName(this)},enumerable:!1,configurable:!0}),FX.prototype.getEscapedName=function(){return this.escapedName},FX.prototype.getName=function(){return this.name},FX.prototype.getDeclarations=function(){return this.declarations},FX.prototype.getDocumentationComment=function(e){var n;return this.documentationComment||(this.documentationComment=NX.emptyArray,!this.declarations&&this.target&&this.target.tupleLabelDeclaration?(n=this.target.tupleLabelDeclaration,this.documentationComment=ZX([n],e)):this.documentationComment=ZX(this.declarations,e)),this.documentationComment},FX.prototype.getContextualDocumentationComment=function(e,n){switch(null==e?void 0:e.kind){case 170:return this.contextualGetAccessorDocumentationComment||(this.contextualGetAccessorDocumentationComment=NX.emptyArray,this.contextualGetAccessorDocumentationComment=ZX(NX.filter(this.declarations,NX.isGetAccessor),n)),this.contextualGetAccessorDocumentationComment;case 171:return this.contextualSetAccessorDocumentationComment||(this.contextualSetAccessorDocumentationComment=NX.emptyArray,this.contextualSetAccessorDocumentationComment=ZX(NX.filter(this.declarations,NX.isSetAccessor),n)),this.contextualSetAccessorDocumentationComment;default:return this.getDocumentationComment(n)}},FX.prototype.getJsDocTags=function(e){return void 0===this.tags&&(this.tags=NX.JsDoc.getJsDocTagsFromDeclarations(this.declarations,e)),this.tags};var MX=FX;function FX(e,n){this.flags=e,this.escapedName=n}ad(UX,GX=om);var GX,BX=UX;function UX(e,n,t){return n=GX.call(this,n,t)||this,n.kind=e,n}ad(KX,VX=om),Object.defineProperty(KX.prototype,"text",{get:function(){return NX.idText(this)},enumerable:!1,configurable:!0});var VX,jX=KX;function KX(e,n,t){return n=VX.call(this,n,t)||this,n.kind=79,n}jX.prototype.kind=79,ad(zX,HX=om),Object.defineProperty(zX.prototype,"text",{get:function(){return NX.idText(this)},enumerable:!1,configurable:!0});var HX,WX=zX;function zX(e,n,t){return HX.call(this,n,t)||this}WX.prototype.kind=80,qX.prototype.getFlags=function(){return this.flags},qX.prototype.getSymbol=function(){return this.symbol},qX.prototype.getProperties=function(){return this.checker.getPropertiesOfType(this)},qX.prototype.getProperty=function(e){return this.checker.getPropertyOfType(this,e)},qX.prototype.getApparentProperties=function(){return this.checker.getAugmentedPropertiesOfType(this)},qX.prototype.getCallSignatures=function(){return this.checker.getSignaturesOfType(this,0)},qX.prototype.getConstructSignatures=function(){return this.checker.getSignaturesOfType(this,1)},qX.prototype.getStringIndexType=function(){return this.checker.getIndexTypeOfType(this,0)},qX.prototype.getNumberIndexType=function(){return this.checker.getIndexTypeOfType(this,1)},qX.prototype.getBaseTypes=function(){return this.isClassOrInterface()?this.checker.getBaseTypes(this):void 0},qX.prototype.isNullableType=function(){return this.checker.isNullableType(this)},qX.prototype.getNonNullableType=function(){return this.checker.getNonNullableType(this)},qX.prototype.getNonOptionalType=function(){return this.checker.getNonOptionalType(this)},qX.prototype.getConstraint=function(){return this.checker.getBaseConstraintOfType(this)},qX.prototype.getDefault=function(){return this.checker.getDefaultFromTypeParameter(this)},qX.prototype.isUnion=function(){return!!(1048576&this.flags)},qX.prototype.isIntersection=function(){return!!(2097152&this.flags)},qX.prototype.isUnionOrIntersection=function(){return!!(3145728&this.flags)},qX.prototype.isLiteral=function(){return!!(384&this.flags)},qX.prototype.isStringLiteral=function(){return!!(128&this.flags)},qX.prototype.isNumberLiteral=function(){return!!(256&this.flags)},qX.prototype.isTypeParameter=function(){return!!(262144&this.flags)},qX.prototype.isClassOrInterface=function(){return!!(3&NX.getObjectFlags(this))},qX.prototype.isClass=function(){return!!(1&NX.getObjectFlags(this))},Object.defineProperty(qX.prototype,"typeArguments",{get:function(){if(4&NX.getObjectFlags(this))return this.checker.getTypeArguments(this)},enumerable:!1,configurable:!0});var JX=qX;function qX(e,n){this.checker=e,this.flags=n}YX.prototype.getDeclaration=function(){return this.declaration},YX.prototype.getTypeParameters=function(){return this.typeParameters},YX.prototype.getParameters=function(){return this.parameters},YX.prototype.getReturnType=function(){return this.checker.getReturnTypeOfSignature(this)},YX.prototype.getDocumentationComment=function(){return this.documentationComment||(this.documentationComment=ZX(NX.singleElementArray(this.declaration),this.checker))},YX.prototype.getJsDocTags=function(){return void 0===this.jsDocTags&&(this.jsDocTags=this.declaration?function(e,n){var t=NX.JsDoc.getJsDocTagsFromDeclarations([e],n);return(0===t.length||QX(e))&&(n=$X(n,e,(function(e){var n;return 1===(null==(n=e.declarations)?void 0:n.length)?e.getJsDocTags():void 0})))&&(t=$u($u([],n,!0),t,!0)),t}(this.declaration,this.checker):[]),this.jsDocTags};var XX=YX;function YX(e,n){this.checker=e,this.flags=n}function QX(e){return NX.getJSDocTags(e).some((function(e){return"inheritDoc"===e.tagName.text}))}function ZX(e,n){if(!e)return NX.emptyArray;var t=NX.JsDoc.getJsDocCommentsFromDeclarations(e,n);if(n&&(0===t.length||e.some(QX)))for(var r=new NX.Set,a=0,i=e;a<i.length;a++){var o=i[a];o=$X(n,o,(function(e){if(!r.has(e))return r.add(e),e.getDocumentationComment(n)}));o&&(t=0===t.length?o.slice():o.concat(NX.lineBreakPart(),t))}return t}function $X(e,n,t){var r=(169===(null==(r=n.parent)?void 0:r.kind)?n.parent:n).parent;if(r)return NX.firstDefined(NX.getAllSuperTypeNodes(r),(function(r){return r=e.getPropertyOfType(e.getTypeAtLocation(r),n.symbol.name),r?t(r):void 0}))}ad(tY,eY=RX),tY.prototype.update=function(e,n){return NX.updateSourceFile(this,e,n)},tY.prototype.getLineAndCharacterOfPosition=function(e){return NX.getLineAndCharacterOfPosition(this,e)},tY.prototype.getLineStarts=function(){return NX.getLineStarts(this)},tY.prototype.getPositionOfLineAndCharacter=function(e,n,t){return NX.computePositionOfLineAndCharacter(NX.getLineStarts(this),e,n,this.text,t)},tY.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},tY.prototype.getNamedDeclarations=function(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations},tY.prototype.computeNamedDeclarations=function(){var e=NX.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=NX.lastOrUndefined(o))&&i.parent===s.parent&&i.symbol===s.symbol?i.body&&!s.body&&(o[o.length-1]=i):o.push(i)),NX.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),NX.forEachChild(a,e);break;case 162:if(!NX.hasSyntacticModifier(a,16476))break;case 252:case 201:var s=a;if(NX.isBindingPattern(s.name)){NX.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&&(NX.isNamedExports(o.exportClause)?NX.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):NX.forEach(i.namedBindings.elements,e));break;case 219:0!==NX.getAssignmentDeclarationKind(a)&&n(a);default:NX.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=NX.getNonAssignedNameOfDeclaration(e),e&&(NX.isComputedPropertyName(e)&&NX.isPropertyAccessExpression(e.expression)?e.expression.name.text:NX.isPropertyName(e)?NX.getNameFromPropertyName(e):void 0)}};var eY,nY=tY;function tY(e,n,t){return e=eY.call(this,e,n,t)||this,e.kind=300,e}aY.prototype.getLineAndCharacterOfPosition=function(e){return NX.getLineAndCharacterOfPosition(this,e)};var rY=aY;function aY(e,n,t){this.fileName=e,this.text=n,this.skipTrivia=t}function iY(e){var n=!0;for(t in e)if(NX.hasProperty(e,t)&&!oY(t)){n=!1;break}if(n)return e;var t,r={};for(t in e)NX.hasProperty(e,t)&&(r[oY(t)?t:t.charAt(0).toLowerCase()+t.substr(1)]=e[t]);return r}function oY(e){return!e.length||e.charAt(0)===e.charAt(0).toLowerCase()}function sY(){return{target:1,jsx:1}}NX.toEditorSettings=iY,NX.displayPartsToString=function(e){return e?NX.map(e,(function(e){return e.text})).join(""):""},NX.getDefaultCompilerOptions=sY,NX.getSupportedCodeFixes=function(){return NX.codefix.getSupportedErrorCodes()},lY.prototype.createEntry=function(e,n){var t=this.host.getScriptSnapshot(e);t=t?{hostFileName:e,version:this.host.getScriptVersion(e),scriptSnapshot:t,scriptKind:NX.getScriptKind(e,this.host)}:e;return this.fileNameToEntry.set(n,t),t},lY.prototype.getEntryByPath=function(e){return this.fileNameToEntry.get(e)},lY.prototype.getHostFileInformation=function(e){return e=this.fileNameToEntry.get(e),NX.isString(e)?void 0:e},lY.prototype.getOrCreateEntryByPath=function(e,n){return e=this.getEntryByPath(n)||this.createEntry(e,n),NX.isString(e)?void 0:e},lY.prototype.getRootFileNames=function(){var e=[];return this.fileNameToEntry.forEach((function(n){NX.isString(n)?e.push(n):e.push(n.hostFileName)})),e},lY.prototype.getScriptSnapshot=function(e){return e=this.getHostFileInformation(e),e&&e.scriptSnapshot};var cY=lY;function lY(e,n){this.host=e,this.currentDirectory=e.getCurrentDirectory(),this.fileNameToEntry=new NX.Map;for(var t=0,r=e.getScriptFileNames();t<r.length;t++){var a=r[t];this.createEntry(a,NX.toPath(a,this.currentDirectory,n))}}dY.prototype.getCurrentSourceFile=function(e){var n,t,r,a=this.host.getScriptSnapshot(e);if(a)return t=NX.getScriptKind(e,this.host),n=this.host.getScriptVersion(e),this.currentFileName!==e?r=mY(e,a,99,n,!0,t):this.currentFileVersion!==n&&(t=a.getChangeRange(this.currentFileScriptSnapshot),r=_Y(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 uY=dY;function dY(e){this.host=e}function pY(e,n,t){e.version=t,e.scriptSnapshot=n}function mY(e,n,t,r,a,i){return e=NX.createSourceFile(e,NX.getSnapshotText(n),t,a,i),pY(e,n,r),e}function _Y(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=NX.textSpanEnd(r.span)!==e.text.length?e.text.substr(NX.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),pY(c=NX.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):mY(e.fileName,n,e.languageVersion,t,!0,e.scriptKind)}NX.createLanguageServiceSourceFile=mY,NX.updateLanguageServiceSourceFile=_Y;var fY={isCancellationRequested:NX.returnFalse,throwIfCancellationRequested:NX.noop},gY=(yY.prototype.isCancellationRequested=function(){return this.cancellationToken.isCancellationRequested()},yY.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested())throw null!==NX.tracing&&void 0!==NX.tracing&&NX.tracing.instant("session","cancellationThrown",{kind:"CancellationTokenObject"}),new NX.OperationCanceledException},yY);function yY(e){this.cancellationToken=e}function hY(e,n){void 0===n&&(n=20),this.hostCancellationToken=e,this.throttleWaitMilliseconds=n,this.lastCancellationCheckTime=0}hY.prototype.isCancellationRequested=function(){var e=NX.timestamp();return Math.abs(e-this.lastCancellationCheckTime)>=this.throttleWaitMilliseconds&&(this.lastCancellationCheckTime=e,this.hostCancellationToken.isCancellationRequested())},hY.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested())throw null!==NX.tracing&&void 0!==NX.tracing&&NX.tracing.instant("session","cancellationThrown",{kind:"ThrottledCancellationToken"}),new NX.OperationCanceledException},NX.ThrottledCancellationToken=hY;var vY=["getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","provideInlayHints"],bY=$u($u([],vY,!0),["getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getOccurrencesAtPosition","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors"],!1);function EY(e){return e=function(e){switch(e.kind){case 10:case 14:case 8:if(160===e.parent.kind)return NX.isObjectLiteralElement(e.parent.parent)?e.parent.parent:void 0;case 79:return!NX.isObjectLiteralElement(e.parent)||203!==e.parent.parent.kind&&284!==e.parent.parent.kind||e.parent.name!==e?void 0:e.parent}}(e),e&&(NX.isObjectLiteralExpression(e.parent)||NX.isJsxAttributes(e.parent))?e:void 0}function TY(e,n,t,r){var a=NX.getNameFromPropertyName(e.name);if(!a)return NX.emptyArray;if(!t.isUnion())return(i=t.getProperty(a))?[i]:NX.emptyArray;var i,o=NX.mapDefined(t.types,(function(t){return(NX.isObjectLiteralExpression(e.parent)||NX.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?NX.mapDefined(t.types,(function(e){return e.getProperty(a)})):o}NX.createLanguageService=function(e,n,t){void 0===n&&(n=NX.createDocumentRegistry(e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames(),e.getCurrentDirectory())),r=void 0===t?NX.LanguageServiceMode.Semantic:"boolean"==typeof t?t?NX.LanguageServiceMode.Syntactic:NX.LanguageServiceMode.Semantic:t;var r,a,i,o=new uY(e),s=0,c=e.getCancellationToken?new gY(e.getCancellationToken()):fY,l=e.getCurrentDirectory();function u(n){e.log&&e.log(n)}!NX.localizedDiagnosticMessages&&e.getLocalizedDiagnosticMessages&&NX.setLocalizedDiagnosticMessages(e.getLocalizedDiagnosticMessages());var d=NX.hostUsesCaseSensitiveFileNames(e),p=NX.createGetCanonicalFileName(d),m=NX.getSourceMapper({useCaseSensitiveFileNames:function(){return d},getCurrentDirectory:function(){return l},getProgram:g,fileExists:NX.maybeBind(e,e.fileExists),readFile:NX.maybeBind(e,e.readFile),getDocumentPositionMapper:NX.maybeBind(e,e.getDocumentPositionMapper),getSourceFileLike:NX.maybeBind(e,e.getSourceFileLike),log:u});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(NX.Debug.assert(r!==NX.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&&(u("TypeRoots version has changed; provide new program"),a=void 0,s=f),new cY(e,p)),y=(t=g.getRootFileNames(),e.getCompilationSettings()||sY()),h=(f=e.hasInvalidatedResolution||NX.returnFalse,NX.maybeBind(e,e.hasChangedAutomaticTypeDirectiveNames)),v=null==(v=e.getProjectReferences)?void 0:v.call(e),b={useCaseSensitiveFileNames:d,fileExists:T,readFile:S,readDirectory:x,trace:NX.maybeBind(e,e.trace),getCurrentDirectory:function(){return l},onUnRecoverableConfigFileDiagnostic:NX.noop};function E(n){var t=NX.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):function(e){var n=D(e);if(n)return n.path=NX.toPath(e,l,p),n.resolvedPath=n.path,n.originalFileName=n.fileName,NX.parseJsonSourceFileConfigFileContent(n,b,NX.getNormalizedAbsolutePath(NX.getDirectoryPath(e),l),void 0,NX.getNormalizedAbsolutePath(e,l))}(n),(o=o||new NX.Map).set(t,r||!1),r)}function T(n){var t=NX.toPath(n,l,p);t=g&&g.getEntryByPath(t);return t?!NX.isString(t):!!e.fileExists&&e.fileExists(n)}function S(n){var t=NX.toPath(n,l,p);t=g&&g.getEntryByPath(t);return t?NX.isString(t)?void 0:NX.getSnapshotText(t.scriptSnapshot):e.readFile&&e.readFile(n)}function x(n,t,r,a,i){return NX.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,NX.toPath(e,l,p),0,0,r)}function A(e,t,r,i,o){NX.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)}}NX.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 d},getNewLine:function(){return NX.getNewLineCharacter(y,(function(){return NX.getNewLineOrDefaultFromHost(e)}))},getDefaultLibFileName:function(n){return e.getDefaultLibFileName(n)},writeFile:NX.noop,getCurrentDirectory:function(){return l},fileExists:T,readFile:S,getSymlinkCache:NX.maybeBind(e,e.getSymlinkCache),realpath:NX.maybeBind(e,e.realpath),directoryExists:function(n){return NX.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:NX.maybeBind(e,e.resolveModuleNames),resolveTypeReferenceDirectives:NX.maybeBind(e,e.resolveTypeReferenceDirectives),useSourceOfProjectReferenceRedirect:NX.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=NX.createProgram(h),o=g=void 0,m.clearCache(),a.getTypeChecker())}function g(){if(r!==NX.LanguageServiceMode.Syntactic)return f(),a;NX.Debug.assert(void 0===a)}function y(e,n,t){var r=NX.normalizePath(e);NX.Debug.assert(t.some((function(e){return NX.normalizePath(e)===r}))),f(),t=NX.mapDefined(t,(function(e){return a.getSourceFile(e)})),e=_(e);return NX.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 NX.FindAllReferences.findReferenceOrRenameEntries(a,c,i,e,n,t,r)}var v=new NX.Map(NX.getEntries(((t={})[18]=19,t[20]=21,t[22]=23,t[31]=29,t)));function b(n){var t;return NX.Debug.assertEqual(n.type,"install package"),e.installPackage?e.installPackage({fileName:(t=n.file,NX.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,u=t||!1,d=Number.MAX_VALUE,p=new NX.Map,m=new RegExp(/\S/),_=NX.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&&(d=Math.min(d,h.index),p.set(g.toString(),h.index),y.substr(h.index,f.length)!==f)&&(u=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]+d,end:r.getLineEndOfPosition(s[g])},u,_)):u?a.push({newText:f,span:{length:0,start:s[g]+d}}):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,u=[],d=n.pos,p=void 0!==r?r:NX.isInsideJsxElement(a,d),m=p?"{/*":"/*",_=p?"*/}":"*/",f=p?"\\{\\/\\*":"\\/\\*",g=p?"\\*\\/\\}":"\\*\\/";d<=n.end;){var y=s.substr(d,m.length)===m?m.length:0,h=NX.isInComment(a,d+y);d=h?(p&&(h.pos--,h.end++),u.push(h.pos),3===h.kind&&u.push(h.end),c=!0,h.end+1):(h=s.substring(d,n.end).search("("+f+")|("+g+")"),l=void 0!==t?t:l||!NX.isTextWhiteSpaceLike(s,d,-1===h?n.end:d+h),-1===h?n.end+1:d+h+_.length)}if(l||!c){2!==(null==(e=NX.isInComment(a,n.pos))?void 0:e.kind)&&NX.insertSorted(u,n.pos,NX.compareValues),NX.insertSorted(u,n.end,NX.compareValues),r=u[0],s.substr(r,m.length)!==m&&i.push({newText:m,span:{length:0,start:r}});for(var v=1;v<u.length-1;v++)s.substr(u[v]-_.length,_.length)!==_&&i.push({newText:_,span:{length:0,start:u[v]}}),s.substr(u[v],m.length)!==m&&i.push({newText:m,span:{length:0,start:u[v]}});i.length%2!=0&&i.push({newText:_,span:{length:0,start:u[u.length-1]}})}else for(var b=0,E=u;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:NX.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()),NX.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 NX.getEmitDeclarations(a.getCompilerOptions())?(e=a.getDeclarationDiagnostics(e,c),$u($u([],n,!0),e,!0)):n.slice()},getSuggestionDiagnostics:function(e){return f(),NX.computeSuggestionDiagnostics(_(e),a,c)},getCompilerOptionsDiagnostics:function(){return f(),$u($u([],a.getOptionsDiagnostics(c),!0),a.getGlobalDiagnostics(c),!0)},getSyntacticClassifications:function(e,n){return NX.getSyntacticClassifications(c,o.getCurrentSourceFile(e),n)},getSemanticClassifications:function(e,n,t){return f(),"2020"===(t||"original")?NX.classifier.v2020.getSemanticClassifications(a,c,_(e),n):NX.getSemanticClassifications(a.getTypeChecker(),c,_(e),a.getClassifiableNames(),n)},getEncodedSyntacticClassifications:function(e,n){return NX.getEncodedSyntacticClassifications(c,o.getCurrentSourceFile(e),n)},getEncodedSemanticClassifications:function(e,n,t){return f(),"original"===(t||"original")?NX.getEncodedSemanticClassifications(a.getTypeChecker(),c,_(e),a.getClassifiableNames(),n):NX.classifier.v2020.getEncodedSemanticClassifications(a,c,_(e),n)},getCompletionsAtPosition:function(n,t,r){void 0===r&&(r=NX.emptyOptions);var i=ed(ed({},NX.identity(r)),{includeCompletionsForModuleExports:r.includeCompletionsForModuleExports||r.includeExternalModuleExports,includeCompletionsWithInsertText:r.includeCompletionsWithInsertText||r.includeInsertTextCompletions});return f(),NX.Completions.getCompletionsAtPosition(e,a,u,_(n),t,i,r.triggerCharacter,r.triggerKind,c)},getCompletionEntryDetails:function(n,t,r,i,o,s,l){return void 0===s&&(s=NX.emptyOptions),f(),NX.Completions.getCompletionEntryDetails(a,u,_(n),t,{name:r,source:o,data:l},e,i&&NX.formatting.getFormatContext(i,e),s,c)},getCompletionEntrySymbol:function(n,t,r,i,o){return void 0===o&&(o=NX.emptyOptions),f(),NX.Completions.getCompletionEntrySymbol(a,u,_(n),t,{name:r,source:i},e,o)},getSignatureHelpItems:function(e,n,t){return t=(void 0===t?NX.emptyOptions:t).triggerReason,f(),e=_(e),NX.SignatureHelp.getSignatureHelpItems(a,e,n,t,c)},getQuickInfoAtPosition:function(e,n){f();var t,r,i,o,s,l,u=_(e);e=NX.getTouchingPropertyName(u,n);if(e!==u)return t=a.getTypeChecker(),r=function(e){return NX.isNewExpression(e.parent)&&e.pos===e.parent.pos?e.parent.expression:NX.isNamedTupleMember(e.parent)&&e.pos===e.parent.pos?e.parent:e}(e),!(i=function(e,n){var t=EY(e);if(t){var r=n.getContextualType(t.parent);t=r&&TY(t,n,r,!1);if(t&&1===t.length)return NX.first(t)}return n.getSymbolAtLocation(e)}(r,t))||t.isUnknownSymbol(i)?(o=function(e,n,t){switch(n.kind){case 79:return!NX.isLabelName(n)&&!NX.isTagName(n)&&!NX.isConstTypeReference(n.parent);case 204:case 159:return!NX.isInComment(e,t);case 108:case 190:case 106:case 195:return 1;default:return}}(u,r,n)?t.getTypeAtLocation(r):void 0)&&{kind:"",kindModifiers:"",textSpan:NX.createTextSpanFromNode(r,u),displayParts:t.runWithCancellationToken(c,(function(e){return NX.typeToDisplayParts(e,o,NX.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 NX.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(e,i,u,NX.getContainerNode(r),r)}))).symbolKind,s=e.displayParts,l=e.documentation,e=e.tags,{kind:n,kindModifiers:NX.SymbolDisplay.getSymbolModifiers(t,i),textSpan:NX.createTextSpanFromNode(r,u),displayParts:s,documentation:l,tags:e})},getDefinitionAtPosition:function(e,n){return f(),NX.GoToDefinition.getDefinitionAtPosition(a,_(e),n)},getDefinitionAndBoundSpan:function(e,n){return f(),NX.GoToDefinition.getDefinitionAndBoundSpan(a,_(e),n)},getImplementationAtPosition:function(e,n){return f(),NX.FindAllReferences.getImplementationsAtPosition(a,c,a.getSourceFiles(),_(e),n)},getTypeDefinitionAtPosition:function(e,n){return f(),NX.GoToDefinition.getTypeDefinitionAtPosition(a.getTypeChecker(),_(e),n)},getReferencesAtPosition:function(e,n){return f(),h(NX.getTouchingPropertyName(_(e),n),n,{use:1},NX.FindAllReferences.toReferenceEntry)},findReferences:function(e,n){return f(),NX.FindAllReferences.findReferencedSymbols(a,c,a.getSourceFiles(),_(e),n)},getFileReferences:function(e){return f(),NX.FindAllReferences.Core.getReferencesForFileName(e,a,a.getSourceFiles()).map(NX.FindAllReferences.toReferenceEntry)},getOccurrencesAtPosition:function(e,n){return NX.flatMap(y(e,n,[e]),(function(e){return e.highlightSpans.map((function(n){return ed(ed({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=NX.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(NX.isRightSideOfPropertyAccess(r)||NX.isRightSideOfQualifiedName(r))r=r.parent;else{if(!NX.isNameOfModuleDeclaration(r))break;if(259!==r.parent.parent.kind||r.parent.parent.body!==r.parent)break;r=r.parent.parent.name}return NX.createTextSpanFromBounds(r.getStart(),n.getEnd())}},getBreakpointStatementAtPosition:function(e,n){return e=o.getCurrentSourceFile(e),NX.BreakpointResolver.spanInSourceFileAtLocation(e,n)},getNavigateToItems:function(e,n,t,r){return void 0===r&&(r=!1),f(),t=t?[_(t)]:a.getSourceFiles(),NX.NavigateTo.getNavigateToItems(t,a.getTypeChecker(),c,e,n,r)},getRenameInfo:function(e,n,t){return f(),NX.Rename.getRenameInfo(a,_(e),n,t)},getSmartSelectionRange:function(e,n){return NX.SmartSelectionRange.getSmartSelectionRange(n,o.getCurrentSourceFile(e))},findRenameLocations:function(e,n,t,r,a){f();var i,o=_(e);e=NX.getAdjustedRenameLocation(NX.getTouchingPropertyName(o,n));return NX.isIdentifier(e)&&(NX.isJsxOpeningElement(e.parent)||NX.isJsxClosingElement(e.parent))&&NX.isIntrinsicJsxName(e.escapedText)?[(i=e.parent.parent).openingElement,i.closingElement].map((function(e){var n=NX.createTextSpanFromNode(e.tagName,o);return ed({fileName:o.fileName,textSpan:n},NX.FindAllReferences.toContextSpan(n,o,e.parent))})):h(e,n,{findInStrings:t,findInComments:r,providePrefixAndSuffixTextForRename:a,use:2},(function(e,n,t){return NX.FindAllReferences.toRenameLocation(e,n,t,a||!1)}))},getNavigationBarItems:function(e){return NX.NavigationBar.getNavigationBarItems(o.getCurrentSourceFile(e),c)},getNavigationTree:function(e){return NX.NavigationBar.getNavigationTree(o.getCurrentSourceFile(e),c)},getOutliningSpans:function(e){return e=o.getCurrentSourceFile(e),NX.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,!NX.stringContains(e,"/node_modules/"))){e="("+/(?:^(?:\s|\*)*)/.source+"|"+/(?:\/\/+\s*)/.source+"|"+/(?:\/\*+\s*)/.source+")",t="(?:"+NX.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(),NX.Debug.assert(o.length===n.length+3);var l=o[1];l=o.index+l.length;if(NX.isInComment(r,l)){for(var u,d=void 0,p=0;p<n.length;p++)o[p+3]&&(d=n[p]);if(void 0===d)return NX.Debug.fail();97<=(u=a.charCodeAt(l+d.text.length))&&u<=122||65<=u&&u<=90||48<=u&&u<=57||(u=o[2],i.push({descriptor:d,message:u,position:l}))}}}return i},getBraceMatchingAtPosition:function(e,n){e=o.getCurrentSourceFile(e);var t=NX.getTouchingToken(e,n);return(n=(n=t.getStart(e)===n?v.get(t.kind.toString()):void 0)&&NX.findChildOfKind(t.parent,n,e))?[NX.createTextSpanFromNode(t,e),NX.createTextSpanFromNode(n,e)].sort((function(e,n){return e.start-n.start})):NX.emptyArray},getIndentationAtPosition:function(e,n,t){var r=NX.timestamp();t=iY(t),e=o.getCurrentSourceFile(e),u("getIndentationAtPosition: getCurrentSourceFile: "+(NX.timestamp()-r)),r=NX.timestamp(),n=NX.formatting.SmartIndenter.getIndentation(n,e,t);return u("getIndentationAtPosition: computeIndentation : "+(NX.timestamp()-r)),n},getFormattingEditsForRange:function(n,t,r,a){return n=o.getCurrentSourceFile(n),NX.formatting.formatSelection(t,r,n,NX.formatting.getFormatContext(iY(a),e))},getFormattingEditsForDocument:function(n,t){return NX.formatting.formatDocument(o.getCurrentSourceFile(n),NX.formatting.getFormatContext(iY(t),e))},getFormattingEditsAfterKeystroke:function(n,t,r,a){var i=o.getCurrentSourceFile(n),s=NX.formatting.getFormatContext(iY(a),e);if(!NX.isInComment(i,t))switch(r){case"{":return NX.formatting.formatOnOpeningCurly(t,i,s);case"}":return NX.formatting.formatOnClosingCurly(t,i,s);case";":return NX.formatting.formatOnSemicolon(t,i,s);case"\n":return NX.formatting.formatOnEnter(t,i,s)}return[]},getDocCommentTemplateAtPosition:function(n,t,r){return NX.JsDoc.getDocCommentTemplateAtPosition(NX.getNewLineOrDefaultFromHost(e),o.getCurrentSourceFile(n),t,r)},isValidBraceCompletionAtPosition:function(e,n,t){if(60===t)return!1;var r=o.getCurrentSourceFile(e);if(NX.isInString(r,n))return!1;if(NX.isInsideJsxElementOrAttribute(r,n))return 123===t;if(NX.isInTemplateString(r,n))return!1;switch(t){case 39:case 34:case 96:return!NX.isInComment(r,n)}return!0},getJsxClosingTagAtPosition:function(e,n){return e=o.getCurrentSourceFile(e),(n=(n=NX.findPrecedingToken(n,e))&&(31===n.kind&&NX.isJsxOpeningElement(n.parent)?n.parent.parent:NX.isJsxText(n)?n.parent:void 0))&&function e(n){var t=n.openingElement,r=n.closingElement;n=n.parent;return!NX.tagNamesAreEquivalent(t.tagName,r.tagName)||NX.isJsxElement(n)&&NX.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=NX.formatting.getRangeOfEnclosingComment(e,n))||t&&3!==e.kind?void 0:NX.createTextSpanFromRange(e)},getCodeFixesAtPosition:function(n,t,r,i,o,s){void 0===s&&(s=NX.emptyOptions),f();var l=_(n),u=NX.createTextSpanFromBounds(t,r),d=NX.formatting.getFormatContext(o,e);return NX.flatMap(NX.deduplicate(i,NX.equateValues,NX.compareValues),(function(n){return c.throwIfCancellationRequested(),NX.codefix.getFixes({errorCode:n,sourceFile:l,span:u,program:a,host:e,cancellationToken:c,formatContext:d,preferences:s})}))},getCombinedCodeFix:function(n,t,r,i){return void 0===i&&(i=NX.emptyOptions),f(),NX.Debug.assert("file"===n.type),n=_(n.fileName),r=NX.formatting.getFormatContext(r,e),NX.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,NX.isArray(n)?Promise.all(n.map(b)):b(n)},organizeImports:function(n,t,r){void 0===r&&(r=NX.emptyOptions),f(),NX.Debug.assert("file"===n.type);var i=_(n.fileName);t=NX.formatting.getFormatContext(t,e);return NX.OrganizeImports.organizeImports(i,t,e,a,r,n.skipDestructiveCodeActions)},getEditsForFileRename:function(n,t,r,a){return void 0===a&&(a=NX.emptyOptions),NX.getEditsForFileRename(g(),n,t,e,NX.formatting.getFormatContext(r,e),a,m)},getEmitOutput:function(n,t,r){f();n=_(n);var i=e.getCustomTransformers&&e.getCustomTransformers();return NX.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=NX.emptyOptions),f(),e=_(e),NX.refactor.getApplicableRefactors(x(e,n,t,NX.emptyOptions,r,a))},getEditsForRefactor:function(e,n,t,r,a,i){return void 0===i&&(i=NX.emptyOptions),f(),e=_(e),NX.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=NX.CallHierarchy.resolveCallHierarchyDeclaration(a,NX.getTouchingPropertyName(_(e),n)))&&NX.mapOneOrMany(e,(function(e){return NX.CallHierarchy.createCallHierarchyItem(a,e)}))},provideCallHierarchyIncomingCalls:function(e,n){return f(),e=_(e),(e=NX.firstOrOnly(NX.CallHierarchy.resolveCallHierarchyDeclaration(a,0===n?e:NX.getTouchingPropertyName(e,n))))?NX.CallHierarchy.getIncomingCalls(a,e,c):[]},provideCallHierarchyOutgoingCalls:function(e,n){return f(),e=_(e),(e=NX.firstOrOnly(NX.CallHierarchy.resolveCallHierarchyDeclaration(a,0===n?e:NX.getTouchingPropertyName(e,n))))?NX.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+=NX.isInsideJsxElement(t,a)?2:1);for(var s=a;s<=i;s++){var c=NX.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=NX.emptyOptions),f(),n=_(n),NX.InlayHints.provideInlayHints((t=t,r=r,{file:n,program:g(),host:e,span:t,preferences:r,cancellationToken:c}))}};switch(r){case NX.LanguageServiceMode.Semantic:break;case NX.LanguageServiceMode.PartialSemantic:vY.forEach((function(e){return L[e]=function(){throw new Error("LanguageService Operation: "+e+" not allowed in LanguageServiceMode.PartialSemantic")}}));break;case NX.LanguageServiceMode.Syntactic:bY.forEach((function(e){return L[e]=function(){throw new Error("LanguageService Operation: "+e+" not allowed in LanguageServiceMode.Syntactic")}}));break;default:NX.Debug.assertNever(r)}return L},NX.getNameTable=function(e){var n,t;return e.nameTable||(t=(n=e).nameTable=new NX.Map,n.forEachChild((function e(n){var r,a;if(NX.isIdentifier(n)&&!NX.isTagName(n)&&n.escapedText||NX.isStringOrNumericLiteralLike(n)&&(a=n,NX.isDeclarationName(a)||275===a.parent.kind||function(e){return e&&e.parent&&205===e.parent.kind&&e.parent.argumentExpression===e}(a)||NX.isLiteralComputedPropertyDeclarationName(a))?(r=NX.getEscapedTextOfIdentifierOrLiteral(n),t.set(r,void 0===t.get(r)?n.pos:-1)):NX.isPrivateIdentifier(n)&&(r=n.escapedText,t.set(r,void 0===t.get(r)?n.pos:-1)),NX.forEachChild(n,e),NX.hasJSDocNodes(n))for(var i=0,o=n.jsDoc;i<o.length;i++){var s=o[i];NX.forEachChild(s,e)}}))),e.nameTable},NX.getContainingObjectLiteralElement=EY,NX.getPropertySymbolsFromContextualType=TY,NX.getDefaultLibFilePath=function(e){return r+NX.directorySeparator+NX.getDefaultLibFileName(e)},NX.setObjectAllocator({getNodeConstructor:function(){return RX},getTokenConstructor:function(){return BX},getIdentifierConstructor:function(){return jX},getPrivateIdentifierConstructor:function(){return WX},getSourceFileConstructor:function(){return nY},getSymbolConstructor:function(){return MX},getTypeConstructor:function(){return JX},getSignatureConstructor:function(){return XX},getSourceMapSourceConstructor:function(){return rY}}),((Qu=SY=SY||{}).BreakpointResolver||(Qu.BreakpointResolver={})).spanInSourceFileAtLocation=function(e,n){if(!e.isDeclarationFile){var t=Qu.getTokenAtPosition(e,n),r=e.getLineAndCharacterOfPosition(n).line;if(e.getLineAndCharacterOfPosition(t.getStart(e)).line>r){if(n=Qu.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?Qu.skipTrivia(e.text,n.decorators.end):n.getStart(e);return Qu.createTextSpanFromBounds(r,(t||n).getEnd())}function i(n,t){return a(n,Qu.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(Qu.findPrecedingToken(n.pos,e))}function c(n){return l(Qu.findNextToken(n,n.parent,e))}function l(n){if(n){var t=n.parent;switch(n.kind){case 235:return L(n.declarationList.declarations[0]);case 252:case 165:case 164:return L(n);case 162:return function e(n){var t;return Qu.isBindingPattern(n.name)?N(n.name):D(n)?a(n):(t=n.parent,n=t.parameters.indexOf(n),Qu.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?A(r)?a(r):l(r.body):void 0;case 233:if(Qu.isFunctionBlock(n))return u=(r=n).statements.length?r.statements[0]:r.getLastToken(),A(r.parent)?o(r.parent,u):l(u);case 260:return C(n);case 290:return C(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 u=n;return u.initializer?I(u):u.condition?a(u.condition):u.incrementor?a(u.incrementor):void 0;case 241:return i(n,n.expression);case 242:return I(n);case 247:return i(n,n.expression);case 287:case 288:return l(n.statements[0]);case 250:return C(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!==Qu.getModuleInstanceState(n))return;case 255:case 258:case 294:case 201:return a(n);case 246:return l(n.statement);case 163:return S=t.decorators,Qu.createTextSpanFromBounds(Qu.skipTrivia(e.text,S.pos),S.end);case 199:case 200:return N(n);case 256:case 257:return;case 26:case 1:return o(Qu.findPrecedingToken(n.pos,e));case 27:return s(n);case 18:var d=n;switch(d.parent.kind){case 258:var p=d.parent;return o(Qu.findPrecedingToken(d.pos,e,d.parent),p.members.length?p.members[0]:p.getLastToken(e));case 255:return p=d.parent,o(Qu.findPrecedingToken(d.pos,e,d.parent),p.members.length?p.members[0]:p.getLastToken(e));case 261:return o(d.parent.parent,d.parent.clauses[0])}return l(d.parent);case 19:var m=n;switch(m.parent.kind){case 260:if(1!==Qu.getModuleInstanceState(m.parent.parent))return;case 258:case 255:return a(m);case 233:if(Qu.isFunctionBlock(m.parent))return a(m);case 290:return l(Qu.lastOrUndefined(m.parent.statements));case 261:var _=m.parent;_=Qu.lastOrUndefined(_.clauses);return _?l(Qu.lastOrUndefined(_.statements)):void 0;case 199:return _=m.parent,l(Qu.lastOrUndefined(_.elements)||_);default:return Qu.isArrayLiteralOrObjectLiteralDestructuringPattern(m.parent)?(_=m.parent,a(Qu.lastOrUndefined(_.properties)||_)):l(m.parent)}return;case 23:return S=n,200===S.parent.kind||Qu.isArrayLiteralOrObjectLiteralDestructuringPattern(S.parent)?(T=S.parent,a(Qu.lastOrUndefined(T.elements)||T)):l(S.parent);case 20:return 238!==(T=n).parent.kind&&206!==T.parent.kind&&207!==T.parent.kind?210!==T.parent.kind?l(T.parent):c(T):s(T);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 Qu.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!==(E=n).parent.kind?l(E.parent):i(E,E.parent.expression);case 91:case 83:case 96:return c(n);case 158:return 242!==(E=n).parent.kind?l(E.parent):c(E);default:if(Qu.isArrayLiteralOrObjectLiteralDestructuringPattern(n))return k(n);if((79===n.kind||223===n.kind||291===n.kind||292===n.kind)&&Qu.isArrayLiteralOrObjectLiteralDestructuringPattern(t))return a(n);if(219===n.kind){var y=n.left,h=n.operatorToken;if(Qu.isArrayLiteralOrObjectLiteralDestructuringPattern(y))return k(y);if(63===h.kind&&Qu.isArrayLiteralOrObjectLiteralDestructuringPattern(n.parent))return a(n);if(27===h.kind)return l(y)}if(Qu.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||Qu.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,b=v.initializer;v=v.type;if(b===n||v===n||Qu.isAssignmentOperator(n.kind))return s(n);break;case 219:if(y=n.parent.left,Qu.isArrayLiteralOrObjectLiteralDestructuringPattern(y)&&n!==y)return s(n);break;default:if(Qu.isFunctionLike(n.parent)&&n.parent.type===n)return s(n)}return l(n.parent)}}var E,T,S;function x(n){return Qu.isVariableDeclarationList(n.parent)&&n.parent.declarations[0]===n?a(Qu.findPrecedingToken(n.pos,e,n.parent),n):a(n)}function L(n){var t;return 241===n.parent.parent.kind?l(n.parent.parent):(t=n.parent,Qu.isBindingPattern(n.name)?N(n.name):n.initializer||Qu.hasSyntacticModifier(n,1)||242===t.parent.kind?x(n):Qu.isVariableDeclarationList(n.parent)&&n.parent.declarations[0]!==n?l(Qu.findPrecedingToken(n.pos,e,n.parent)):void 0)}function D(e){return!!e.initializer||void 0!==e.dotDotDotToken||Qu.hasSyntacticModifier(e,12)}function A(e){return Qu.hasSyntacticModifier(e,1)||255===e.parent.kind&&169!==e.kind}function C(n){switch(n.parent.kind){case 259:if(1!==Qu.getModuleInstanceState(n.parent))return;case 239:case 237:case 241:return o(n.parent,n.statements[0]);case 240:case 242:return o(Qu.findPrecedingToken(n.pos,e,n.parent),n.statements[0])}return l(n.statements[0])}function I(e){return 253!==e.initializer.kind?l(e.initializer):0<(e=e.initializer).declarations.length?l(e.declarations[0]):void 0}function N(e){var n=Qu.forEach(e.elements,(function(e){return 225!==e.kind?e:void 0}));return n?l(n):(201===e.parent.kind?a:x)(e.parent)}function k(e){Qu.Debug.assert(200!==e.kind&&199!==e.kind);var n=202===e.kind?e.elements:e.properties;n=Qu.forEach(n,(function(e){return 225!==e.kind?e:void 0}));return n?l(n):a(219===e.parent.kind?e.parent:e)}}},(Zu=SY=SY||{}).transform=function(e,n,t){var r=[];t=Zu.fixupCompilerOptions(t,r),e=Zu.isArray(e)?e:[e];return(t=Zu.transformNodes(void 0,void 0,Zu.factory,t,e,n,!0)).diagnostics=Zu.concatenate(t.diagnostics,r),t};var SY,xY,LY=function(){return this}(),DY=SY=SY||{};function AY(e,n){e&&e.log("*INTERNAL ERROR* - Exception in typescript services: "+n.message)}IY.prototype.getText=function(e,n){return this.scriptSnapshotShim.getText(e,n)},IY.prototype.getLength=function(){return this.scriptSnapshotShim.getLength()},IY.prototype.getChangeRange=function(e){e=this.scriptSnapshotShim.getChangeRange(e.scriptSnapshotShim);return null===e?null:(e=JSON.parse(e),DY.createTextChangeRange(DY.createTextSpan(e.span.start,e.span.length),e.newLength))},IY.prototype.dispose=function(){"dispose"in this.scriptSnapshotShim&&this.scriptSnapshotShim.dispose()};var CY=IY;function IY(e){this.scriptSnapshotShim=e}kY.prototype.log=function(e){this.loggingEnabled&&this.shimHost.log(e)},kY.prototype.trace=function(e){this.tracingEnabled&&this.shimHost.trace(e)},kY.prototype.error=function(e){this.shimHost.error(e)},kY.prototype.getProjectVersion=function(){if(this.shimHost.getProjectVersion)return this.shimHost.getProjectVersion()},kY.prototype.getTypeRootsVersion=function(){return this.shimHost.getTypeRootsVersion?this.shimHost.getTypeRootsVersion():0},kY.prototype.useCaseSensitiveFileNames=function(){return!!this.shimHost.useCaseSensitiveFileNames&&this.shimHost.useCaseSensitiveFileNames()},kY.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},kY.prototype.getScriptFileNames=function(){var e=this.shimHost.getScriptFileNames();return JSON.parse(e)},kY.prototype.getScriptSnapshot=function(e){return e=this.shimHost.getScriptSnapshot(e),e&&new CY(e)},kY.prototype.getScriptKind=function(e){return"getScriptKind"in this.shimHost?this.shimHost.getScriptKind(e):0},kY.prototype.getScriptVersion=function(e){return this.shimHost.getScriptVersion(e)},kY.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}},kY.prototype.getCancellationToken=function(){var e=this.shimHost.getCancellationToken();return new DY.ThrottledCancellationToken(e)},kY.prototype.getCurrentDirectory=function(){return this.shimHost.getCurrentDirectory()},kY.prototype.getDirectories=function(e){return JSON.parse(this.shimHost.getDirectories(e))},kY.prototype.getDefaultLibFileName=function(e){return this.shimHost.getDefaultLibFileName(JSON.stringify(e))},kY.prototype.readDirectory=function(e,n,t,r,a){return t=DY.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))},kY.prototype.readFile=function(e,n){return this.shimHost.readFile(e,n)},kY.prototype.fileExists=function(e){return this.shimHost.fileExists(e)};var NY=kY;function kY(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 DY.map(e,(function(e){return e=DY.getProperty(r,e),e?{resolvedFileName:e,extension:DY.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 DY.map(e,(function(e){return DY.getProperty(r,e)}))})}DY.LanguageServiceShimHostAdapter=NY,OY.prototype.readDirectory=function(e,n,t,r,a){return t=DY.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))},OY.prototype.fileExists=function(e){return this.shimHost.fileExists(e)},OY.prototype.readFile=function(e){return this.shimHost.readFile(e)},OY.prototype.getDirectories=function(e){return JSON.parse(this.shimHost.getDirectories(e))};var RY=OY;function OY(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 PY(e,n,t,r){return wY(e,n,!0,t,r)}function wY(e,n,t,r,a){try{o=e,s=n,c=r,(l=a)&&(o.log(s),u=DY.timestamp()),c=c(),l&&(l=DY.timestamp(),o.log(s+" completed in "+(l-u)+" msec"),DY.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 DY.OperationCanceledException?JSON.stringify({canceled:!0}):(AY(e,t),t.description=n,JSON.stringify({error:t}))}var o,s,c,l,u}function MY(e){(this.factory=e).registerShim(this)}function FY(e,n){return e.map((function(e){return e=e,{message:DY.flattenDiagnosticMessageText(e.messageText,n),start:e.start,length:e.length,category:DY.diagnosticCategoryName(e),code:e.code,reportsUnnecessary:e.reportsUnnecessary,reportsDeprecated:e.reportsDeprecated}}))}DY.CoreServicesShimHostAdapter=RY,MY.prototype.dispose=function(e){this.factory.unregisterShim(this)},nd=MY,DY.realizeDiagnostics=FY,ad(UY,GY=nd),UY.prototype.forwardJSONCall=function(e,n){return PY(this.logger,e,n,this.logPerformance)},UY.prototype.dispose=function(e){this.logger.log("dispose()"),this.languageService.dispose(),this.languageService=null,LY&&LY.CollectGarbage&&(LY.CollectGarbage(),this.logger.log("CollectGarbage()")),this.logger=null,GY.prototype.dispose.call(this,e)},UY.prototype.refresh=function(e){this.forwardJSONCall("refresh("+e+")",(function(){return null}))},UY.prototype.cleanupSemanticCache=function(){var e=this;this.forwardJSONCall("cleanupSemanticCache()",(function(){return e.languageService.cleanupSemanticCache(),null}))},UY.prototype.realizeDiagnostics=function(e){return FY(e,DY.getNewLineOrDefaultFromHost(this.host))},UY.prototype.getSyntacticClassifications=function(e,n,t){var r=this;return this.forwardJSONCall("getSyntacticClassifications('"+e+"', "+n+", "+t+")",(function(){return r.languageService.getSyntacticClassifications(e,DY.createTextSpan(n,t))}))},UY.prototype.getSemanticClassifications=function(e,n,t){var r=this;return this.forwardJSONCall("getSemanticClassifications('"+e+"', "+n+", "+t+")",(function(){return r.languageService.getSemanticClassifications(e,DY.createTextSpan(n,t))}))},UY.prototype.getEncodedSyntacticClassifications=function(e,n,t){var r=this;return this.forwardJSONCall("getEncodedSyntacticClassifications('"+e+"', "+n+", "+t+")",(function(){return VY(r.languageService.getEncodedSyntacticClassifications(e,DY.createTextSpan(n,t)))}))},UY.prototype.getEncodedSemanticClassifications=function(e,n,t){var r=this;return this.forwardJSONCall("getEncodedSemanticClassifications('"+e+"', "+n+", "+t+")",(function(){return VY(r.languageService.getEncodedSemanticClassifications(e,DY.createTextSpan(n,t)))}))},UY.prototype.getSyntacticDiagnostics=function(e){var n=this;return this.forwardJSONCall("getSyntacticDiagnostics('"+e+"')",(function(){var t=n.languageService.getSyntacticDiagnostics(e);return n.realizeDiagnostics(t)}))},UY.prototype.getSemanticDiagnostics=function(e){var n=this;return this.forwardJSONCall("getSemanticDiagnostics('"+e+"')",(function(){var t=n.languageService.getSemanticDiagnostics(e);return n.realizeDiagnostics(t)}))},UY.prototype.getSuggestionDiagnostics=function(e){var n=this;return this.forwardJSONCall("getSuggestionDiagnostics('"+e+"')",(function(){return n.realizeDiagnostics(n.languageService.getSuggestionDiagnostics(e))}))},UY.prototype.getCompilerOptionsDiagnostics=function(){var e=this;return this.forwardJSONCall("getCompilerOptionsDiagnostics()",(function(){var n=e.languageService.getCompilerOptionsDiagnostics();return e.realizeDiagnostics(n)}))},UY.prototype.getQuickInfoAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getQuickInfoAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getQuickInfoAtPosition(e,n)}))},UY.prototype.getNameOrDottedNameSpan=function(e,n,t){var r=this;return this.forwardJSONCall("getNameOrDottedNameSpan('"+e+"', "+n+", "+t+")",(function(){return r.languageService.getNameOrDottedNameSpan(e,n,t)}))},UY.prototype.getBreakpointStatementAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getBreakpointStatementAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getBreakpointStatementAtPosition(e,n)}))},UY.prototype.getSignatureHelpItems=function(e,n,t){var r=this;return this.forwardJSONCall("getSignatureHelpItems('"+e+"', "+n+")",(function(){return r.languageService.getSignatureHelpItems(e,n,t)}))},UY.prototype.getDefinitionAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getDefinitionAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getDefinitionAtPosition(e,n)}))},UY.prototype.getDefinitionAndBoundSpan=function(e,n){var t=this;return this.forwardJSONCall("getDefinitionAndBoundSpan('"+e+"', "+n+")",(function(){return t.languageService.getDefinitionAndBoundSpan(e,n)}))},UY.prototype.getTypeDefinitionAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getTypeDefinitionAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getTypeDefinitionAtPosition(e,n)}))},UY.prototype.getImplementationAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getImplementationAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getImplementationAtPosition(e,n)}))},UY.prototype.getRenameInfo=function(e,n,t){var r=this;return this.forwardJSONCall("getRenameInfo('"+e+"', "+n+")",(function(){return r.languageService.getRenameInfo(e,n,t)}))},UY.prototype.getSmartSelectionRange=function(e,n){var t=this;return this.forwardJSONCall("getSmartSelectionRange('"+e+"', "+n+")",(function(){return t.languageService.getSmartSelectionRange(e,n)}))},UY.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)}))},UY.prototype.getBraceMatchingAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getBraceMatchingAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getBraceMatchingAtPosition(e,n)}))},UY.prototype.isValidBraceCompletionAtPosition=function(e,n,t){var r=this;return this.forwardJSONCall("isValidBraceCompletionAtPosition('"+e+"', "+n+", "+t+")",(function(){return r.languageService.isValidBraceCompletionAtPosition(e,n,t)}))},UY.prototype.getSpanOfEnclosingComment=function(e,n,t){var r=this;return this.forwardJSONCall("getSpanOfEnclosingComment('"+e+"', "+n+")",(function(){return r.languageService.getSpanOfEnclosingComment(e,n,t)}))},UY.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)}))},UY.prototype.getReferencesAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getReferencesAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getReferencesAtPosition(e,n)}))},UY.prototype.findReferences=function(e,n){var t=this;return this.forwardJSONCall("findReferences('"+e+"', "+n+")",(function(){return t.languageService.findReferences(e,n)}))},UY.prototype.getFileReferences=function(e){var n=this;return this.forwardJSONCall("getFileReferences('"+e+")",(function(){return n.languageService.getFileReferences(e)}))},UY.prototype.getOccurrencesAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getOccurrencesAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getOccurrencesAtPosition(e,n)}))},UY.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=DY.toFileNameLowerCase(DY.normalizeSlashes(e));return DY.filter(a,(function(e){return DY.toFileNameLowerCase(DY.normalizeSlashes(e.fileName))===i}))}))},UY.prototype.getCompletionsAtPosition=function(e,n,t){var r=this;return this.forwardJSONCall("getCompletionsAtPosition('"+e+"', "+n+", "+t+")",(function(){return r.languageService.getCompletionsAtPosition(e,n,t)}))},UY.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)}))},UY.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)}))},UY.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)}))},UY.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)}))},UY.prototype.getDocCommentTemplateAtPosition=function(e,n,t){var r=this;return this.forwardJSONCall("getDocCommentTemplateAtPosition('"+e+"', "+n+")",(function(){return r.languageService.getDocCommentTemplateAtPosition(e,n,t)}))},UY.prototype.getNavigateToItems=function(e,n,t){var r=this;return this.forwardJSONCall("getNavigateToItems('"+e+"', "+n+", "+t+")",(function(){return r.languageService.getNavigateToItems(e,n,t)}))},UY.prototype.getNavigationBarItems=function(e){var n=this;return this.forwardJSONCall("getNavigationBarItems('"+e+"')",(function(){return n.languageService.getNavigationBarItems(e)}))},UY.prototype.getNavigationTree=function(e){var n=this;return this.forwardJSONCall("getNavigationTree('"+e+"')",(function(){return n.languageService.getNavigationTree(e)}))},UY.prototype.getOutliningSpans=function(e){var n=this;return this.forwardJSONCall("getOutliningSpans('"+e+"')",(function(){return n.languageService.getOutliningSpans(e)}))},UY.prototype.getTodoComments=function(e,n){var t=this;return this.forwardJSONCall("getTodoComments('"+e+"')",(function(){return t.languageService.getTodoComments(e,JSON.parse(n))}))},UY.prototype.prepareCallHierarchy=function(e,n){var t=this;return this.forwardJSONCall("prepareCallHierarchy('"+e+"', "+n+")",(function(){return t.languageService.prepareCallHierarchy(e,n)}))},UY.prototype.provideCallHierarchyIncomingCalls=function(e,n){var t=this;return this.forwardJSONCall("provideCallHierarchyIncomingCalls('"+e+"', "+n+")",(function(){return t.languageService.provideCallHierarchyIncomingCalls(e,n)}))},UY.prototype.provideCallHierarchyOutgoingCalls=function(e,n){var t=this;return this.forwardJSONCall("provideCallHierarchyOutgoingCalls('"+e+"', "+n+")",(function(){return t.languageService.provideCallHierarchyOutgoingCalls(e,n)}))},UY.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)}))},UY.prototype.getEmitOutput=function(e){var n=this;return this.forwardJSONCall("getEmitOutput('"+e+"')",(function(){var t=n.languageService.getEmitOutput(e),r=t.diagnostics;t=rd(t,["diagnostics"]);return ed(ed({},t),{diagnostics:n.realizeDiagnostics(r)})}))},UY.prototype.getEmitOutputObject=function(e){var n=this;return wY(this.logger,"getEmitOutput('"+e+"')",!1,(function(){return n.languageService.getEmitOutput(e)}),this.logPerformance)},UY.prototype.toggleLineComment=function(e,n){var t=this;return this.forwardJSONCall("toggleLineComment('"+e+"', '"+JSON.stringify(n)+"')",(function(){return t.languageService.toggleLineComment(e,n)}))},UY.prototype.toggleMultilineComment=function(e,n){var t=this;return this.forwardJSONCall("toggleMultilineComment('"+e+"', '"+JSON.stringify(n)+"')",(function(){return t.languageService.toggleMultilineComment(e,n)}))},UY.prototype.commentSelection=function(e,n){var t=this;return this.forwardJSONCall("commentSelection('"+e+"', '"+JSON.stringify(n)+"')",(function(){return t.languageService.commentSelection(e,n)}))},UY.prototype.uncommentSelection=function(e,n){var t=this;return this.forwardJSONCall("uncommentSelection('"+e+"', '"+JSON.stringify(n)+"')",(function(){return t.languageService.uncommentSelection(e,n)}))};var GY,BY=UY;function UY(e,n,t){return e=GY.call(this,e)||this,e.host=n,e.languageService=t,e.logPerformance=!1,e.logger=e.host,e}function VY(e){return{spans:e.spans.join(","),endOfLineState:e.endOfLineState}}ad(HY,jY=nd),HY.prototype.getEncodedLexicalClassifications=function(e,n,t){var r=this;return void 0===t&&(t=!1),PY(this.logger,"getEncodedLexicalClassifications",(function(){return VY(r.classifier.getEncodedLexicalClassifications(e,n,t))}),this.logPerformance)},HY.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 jY,KY=HY;function HY(e,n){return e=jY.call(this,e)||this,e.logger=n,e.logPerformance=!1,e.classifier=DY.createClassifier(),e}ad(JY,WY=nd),JY.prototype.forwardJSONCall=function(e,n){return PY(this.logger,e,n,this.logPerformance)},JY.prototype.resolveModuleName=function(e,n,t){var r=this;return this.forwardJSONCall("resolveModuleName('"+e+"')",(function(){var a=JSON.parse(t),i=(a=DY.resolveModuleName(n,DY.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}}))},JY.prototype.resolveTypeReferenceDirective=function(e,n,t){var r=this;return this.forwardJSONCall("resolveTypeReferenceDirective("+e+")",(function(){var a=JSON.parse(t);a=DY.resolveTypeReferenceDirective(n,DY.normalizeSlashes(e),a,r.host);return{resolvedFileName:a.resolvedTypeReferenceDirective?a.resolvedTypeReferenceDirective.resolvedFileName:void 0,primary:!a.resolvedTypeReferenceDirective||a.resolvedTypeReferenceDirective.primary,failedLookupLocations:a.failedLookupLocations}}))},JY.prototype.getPreProcessedFileInfo=function(e,n){var t=this;return this.forwardJSONCall("getPreProcessedFileInfo('"+e+"')",(function(){var e=DY.preProcessFile(DY.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)}}))},JY.prototype.getAutomaticTypeDirectiveNames=function(e){var n=this;return this.forwardJSONCall("getAutomaticTypeDirectiveNames('"+e+"')",(function(){var t=JSON.parse(e);return DY.getAutomaticTypeDirectiveNames(t,n.host)}))},JY.prototype.convertFileReferences=function(e){if(e){for(var n=[],t=0,r=e;t<r.length;t++){var a=r[t];n.push({path:DY.normalizeSlashes(a.fileName),position:a.pos,length:a.end-a.pos})}return n}},JY.prototype.getTSConfigFileInfo=function(e,n){var t=this;return this.forwardJSONCall("getTSConfigFileInfo('"+e+"')",(function(){var r=DY.parseJsonText(e,DY.getSnapshotText(n)),a=DY.normalizeSlashes(e);a=DY.parseJsonSourceFileConfigFileContent(r,t.host,DY.getDirectoryPath(a),{},a);return{options:a.options,typeAcquisition:a.typeAcquisition,files:a.fileNames,raw:a.raw,errors:FY($u($u([],r.parseDiagnostics,!0),a.errors,!0),"\r\n")}}))},JY.prototype.getDefaultCompilationSettings=function(){return this.forwardJSONCall("getDefaultCompilationSettings()",(function(){return DY.getDefaultCompilerOptions()}))},JY.prototype.discoverTypings=function(e){var n=this,t=DY.createGetCanonicalFileName(!1);return this.forwardJSONCall("discoverTypings()",(function(){var r=JSON.parse(e);return void 0===n.safeList&&(n.safeList=DY.JsTyping.loadSafeList(n.host,DY.toPath(r.safeListPath,r.safeListPath,t))),DY.JsTyping.discoverTypings(n.host,(function(e){return n.logger.log(e)}),r.fileNames,DY.toPath(r.projectRootPath,r.projectRootPath,t),n.safeList,r.packageNameToTypingLocation,r.typeAcquisition,r.unresolvedImports,r.typesRegistry)}))};var WY,zY=JY;function JY(e,n,t){return e=WY.call(this,e)||this,e.logger=n,e.host=t,e.logPerformance=!1,e}function qY(){this._shims=[]}if(qY.prototype.getServicesVersion=function(){return DY.servicesVersion},qY.prototype.createLanguageServiceShim=function(e){try{void 0===this.documentRegistry&&(this.documentRegistry=DY.createDocumentRegistry(e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames(),e.getCurrentDirectory()));var n=new NY(e),t=DY.createLanguageService(n,this.documentRegistry,!1);return new BY(this,e,t)}catch(n){throw AY(e,n),n}},qY.prototype.createClassifierShim=function(e){try{return new KY(this,e)}catch(wu){throw AY(e,wu),wu}},qY.prototype.createCoreServicesShim=function(e){try{var n=new RY(e);return new zY(this,e,n)}catch(n){throw AY(e,n),n}},qY.prototype.close=function(){DY.clear(this._shims),this.documentRegistry=void 0},qY.prototype.registerShim=function(e){this._shims.push(e)},qY.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")},DY.TypeScriptServicesFactory=qY,"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(wu){window.globalThis=window}void 0!==e&&!e.browser||(globalThis.TypeScript=globalThis.TypeScript||{},globalThis.TypeScript.Services=globalThis.TypeScript.Services||{},globalThis.TypeScript.Services.TypeScriptServicesFactory=SY.TypeScriptServicesFactory,globalThis.toolsVersion=SY.versionMajorMinor),a.exports&&(a.exports=SY),xY=SY=SY||{},sm={since:"4.0",warnAfter:"4.1",message:"Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead."},xY.createNodeArray=xY.Debug.deprecate(xY.factory.createNodeArray,sm),xY.createNumericLiteral=xY.Debug.deprecate(xY.factory.createNumericLiteral,sm),xY.createBigIntLiteral=xY.Debug.deprecate(xY.factory.createBigIntLiteral,sm),xY.createStringLiteral=xY.Debug.deprecate(xY.factory.createStringLiteral,sm),xY.createStringLiteralFromNode=xY.Debug.deprecate(xY.factory.createStringLiteralFromNode,sm),xY.createRegularExpressionLiteral=xY.Debug.deprecate(xY.factory.createRegularExpressionLiteral,sm),xY.createLoopVariable=xY.Debug.deprecate(xY.factory.createLoopVariable,sm),xY.createUniqueName=xY.Debug.deprecate(xY.factory.createUniqueName,sm),xY.createPrivateIdentifier=xY.Debug.deprecate(xY.factory.createPrivateIdentifier,sm),xY.createSuper=xY.Debug.deprecate(xY.factory.createSuper,sm),xY.createThis=xY.Debug.deprecate(xY.factory.createThis,sm),xY.createNull=xY.Debug.deprecate(xY.factory.createNull,sm),xY.createTrue=xY.Debug.deprecate(xY.factory.createTrue,sm),xY.createFalse=xY.Debug.deprecate(xY.factory.createFalse,sm),xY.createModifier=xY.Debug.deprecate(xY.factory.createModifier,sm),xY.createModifiersFromModifierFlags=xY.Debug.deprecate(xY.factory.createModifiersFromModifierFlags,sm),xY.createQualifiedName=xY.Debug.deprecate(xY.factory.createQualifiedName,sm),xY.updateQualifiedName=xY.Debug.deprecate(xY.factory.updateQualifiedName,sm),xY.createComputedPropertyName=xY.Debug.deprecate(xY.factory.createComputedPropertyName,sm),xY.updateComputedPropertyName=xY.Debug.deprecate(xY.factory.updateComputedPropertyName,sm),xY.createTypeParameterDeclaration=xY.Debug.deprecate(xY.factory.createTypeParameterDeclaration,sm),xY.updateTypeParameterDeclaration=xY.Debug.deprecate(xY.factory.updateTypeParameterDeclaration,sm),xY.createParameter=xY.Debug.deprecate(xY.factory.createParameterDeclaration,sm),xY.updateParameter=xY.Debug.deprecate(xY.factory.updateParameterDeclaration,sm),xY.createDecorator=xY.Debug.deprecate(xY.factory.createDecorator,sm),xY.updateDecorator=xY.Debug.deprecate(xY.factory.updateDecorator,sm),xY.createProperty=xY.Debug.deprecate(xY.factory.createPropertyDeclaration,sm),xY.updateProperty=xY.Debug.deprecate(xY.factory.updatePropertyDeclaration,sm),xY.createMethod=xY.Debug.deprecate(xY.factory.createMethodDeclaration,sm),xY.updateMethod=xY.Debug.deprecate(xY.factory.updateMethodDeclaration,sm),xY.createConstructor=xY.Debug.deprecate(xY.factory.createConstructorDeclaration,sm),xY.updateConstructor=xY.Debug.deprecate(xY.factory.updateConstructorDeclaration,sm),xY.createGetAccessor=xY.Debug.deprecate(xY.factory.createGetAccessorDeclaration,sm),xY.updateGetAccessor=xY.Debug.deprecate(xY.factory.updateGetAccessorDeclaration,sm),xY.createSetAccessor=xY.Debug.deprecate(xY.factory.createSetAccessorDeclaration,sm),xY.updateSetAccessor=xY.Debug.deprecate(xY.factory.updateSetAccessorDeclaration,sm),xY.createCallSignature=xY.Debug.deprecate(xY.factory.createCallSignature,sm),xY.updateCallSignature=xY.Debug.deprecate(xY.factory.updateCallSignature,sm),xY.createConstructSignature=xY.Debug.deprecate(xY.factory.createConstructSignature,sm),xY.updateConstructSignature=xY.Debug.deprecate(xY.factory.updateConstructSignature,sm),xY.updateIndexSignature=xY.Debug.deprecate(xY.factory.updateIndexSignature,sm),xY.createKeywordTypeNode=xY.Debug.deprecate(xY.factory.createKeywordTypeNode,sm),xY.createTypePredicateNodeWithModifier=xY.Debug.deprecate(xY.factory.createTypePredicateNode,sm),xY.updateTypePredicateNodeWithModifier=xY.Debug.deprecate(xY.factory.updateTypePredicateNode,sm),xY.createTypeReferenceNode=xY.Debug.deprecate(xY.factory.createTypeReferenceNode,sm),xY.updateTypeReferenceNode=xY.Debug.deprecate(xY.factory.updateTypeReferenceNode,sm),xY.createFunctionTypeNode=xY.Debug.deprecate(xY.factory.createFunctionTypeNode,sm),xY.updateFunctionTypeNode=xY.Debug.deprecate(xY.factory.updateFunctionTypeNode,sm),xY.createConstructorTypeNode=xY.Debug.deprecate((function(e,n,t){return xY.factory.createConstructorTypeNode(void 0,e,n,t)}),sm),xY.updateConstructorTypeNode=xY.Debug.deprecate((function(e,n,t,r){return xY.factory.updateConstructorTypeNode(e,e.modifiers,n,t,r)}),sm),xY.createTypeQueryNode=xY.Debug.deprecate(xY.factory.createTypeQueryNode,sm),xY.updateTypeQueryNode=xY.Debug.deprecate(xY.factory.updateTypeQueryNode,sm),xY.createTypeLiteralNode=xY.Debug.deprecate(xY.factory.createTypeLiteralNode,sm),xY.updateTypeLiteralNode=xY.Debug.deprecate(xY.factory.updateTypeLiteralNode,sm),xY.createArrayTypeNode=xY.Debug.deprecate(xY.factory.createArrayTypeNode,sm),xY.updateArrayTypeNode=xY.Debug.deprecate(xY.factory.updateArrayTypeNode,sm),xY.createTupleTypeNode=xY.Debug.deprecate(xY.factory.createTupleTypeNode,sm),xY.updateTupleTypeNode=xY.Debug.deprecate(xY.factory.updateTupleTypeNode,sm),xY.createOptionalTypeNode=xY.Debug.deprecate(xY.factory.createOptionalTypeNode,sm),xY.updateOptionalTypeNode=xY.Debug.deprecate(xY.factory.updateOptionalTypeNode,sm),xY.createRestTypeNode=xY.Debug.deprecate(xY.factory.createRestTypeNode,sm),xY.updateRestTypeNode=xY.Debug.deprecate(xY.factory.updateRestTypeNode,sm),xY.createUnionTypeNode=xY.Debug.deprecate(xY.factory.createUnionTypeNode,sm),xY.updateUnionTypeNode=xY.Debug.deprecate(xY.factory.updateUnionTypeNode,sm),xY.createIntersectionTypeNode=xY.Debug.deprecate(xY.factory.createIntersectionTypeNode,sm),xY.updateIntersectionTypeNode=xY.Debug.deprecate(xY.factory.updateIntersectionTypeNode,sm),xY.createConditionalTypeNode=xY.Debug.deprecate(xY.factory.createConditionalTypeNode,sm),xY.updateConditionalTypeNode=xY.Debug.deprecate(xY.factory.updateConditionalTypeNode,sm),xY.createInferTypeNode=xY.Debug.deprecate(xY.factory.createInferTypeNode,sm),xY.updateInferTypeNode=xY.Debug.deprecate(xY.factory.updateInferTypeNode,sm),xY.createImportTypeNode=xY.Debug.deprecate(xY.factory.createImportTypeNode,sm),xY.updateImportTypeNode=xY.Debug.deprecate(xY.factory.updateImportTypeNode,sm),xY.createParenthesizedType=xY.Debug.deprecate(xY.factory.createParenthesizedType,sm),xY.updateParenthesizedType=xY.Debug.deprecate(xY.factory.updateParenthesizedType,sm),xY.createThisTypeNode=xY.Debug.deprecate(xY.factory.createThisTypeNode,sm),xY.updateTypeOperatorNode=xY.Debug.deprecate(xY.factory.updateTypeOperatorNode,sm),xY.createIndexedAccessTypeNode=xY.Debug.deprecate(xY.factory.createIndexedAccessTypeNode,sm),xY.updateIndexedAccessTypeNode=xY.Debug.deprecate(xY.factory.updateIndexedAccessTypeNode,sm),xY.createMappedTypeNode=xY.Debug.deprecate(xY.factory.createMappedTypeNode,sm),xY.updateMappedTypeNode=xY.Debug.deprecate(xY.factory.updateMappedTypeNode,sm),xY.createLiteralTypeNode=xY.Debug.deprecate(xY.factory.createLiteralTypeNode,sm),xY.updateLiteralTypeNode=xY.Debug.deprecate(xY.factory.updateLiteralTypeNode,sm),xY.createObjectBindingPattern=xY.Debug.deprecate(xY.factory.createObjectBindingPattern,sm),xY.updateObjectBindingPattern=xY.Debug.deprecate(xY.factory.updateObjectBindingPattern,sm),xY.createArrayBindingPattern=xY.Debug.deprecate(xY.factory.createArrayBindingPattern,sm),xY.updateArrayBindingPattern=xY.Debug.deprecate(xY.factory.updateArrayBindingPattern,sm),xY.createBindingElement=xY.Debug.deprecate(xY.factory.createBindingElement,sm),xY.updateBindingElement=xY.Debug.deprecate(xY.factory.updateBindingElement,sm),xY.createArrayLiteral=xY.Debug.deprecate(xY.factory.createArrayLiteralExpression,sm),xY.updateArrayLiteral=xY.Debug.deprecate(xY.factory.updateArrayLiteralExpression,sm),xY.createObjectLiteral=xY.Debug.deprecate(xY.factory.createObjectLiteralExpression,sm),xY.updateObjectLiteral=xY.Debug.deprecate(xY.factory.updateObjectLiteralExpression,sm),xY.createPropertyAccess=xY.Debug.deprecate(xY.factory.createPropertyAccessExpression,sm),xY.updatePropertyAccess=xY.Debug.deprecate(xY.factory.updatePropertyAccessExpression,sm),xY.createPropertyAccessChain=xY.Debug.deprecate(xY.factory.createPropertyAccessChain,sm),xY.updatePropertyAccessChain=xY.Debug.deprecate(xY.factory.updatePropertyAccessChain,sm),xY.createElementAccess=xY.Debug.deprecate(xY.factory.createElementAccessExpression,sm),xY.updateElementAccess=xY.Debug.deprecate(xY.factory.updateElementAccessExpression,sm),xY.createElementAccessChain=xY.Debug.deprecate(xY.factory.createElementAccessChain,sm),xY.updateElementAccessChain=xY.Debug.deprecate(xY.factory.updateElementAccessChain,sm),xY.createCall=xY.Debug.deprecate(xY.factory.createCallExpression,sm),xY.updateCall=xY.Debug.deprecate(xY.factory.updateCallExpression,sm),xY.createCallChain=xY.Debug.deprecate(xY.factory.createCallChain,sm),xY.updateCallChain=xY.Debug.deprecate(xY.factory.updateCallChain,sm),xY.createNew=xY.Debug.deprecate(xY.factory.createNewExpression,sm),xY.updateNew=xY.Debug.deprecate(xY.factory.updateNewExpression,sm),xY.createTypeAssertion=xY.Debug.deprecate(xY.factory.createTypeAssertion,sm),xY.updateTypeAssertion=xY.Debug.deprecate(xY.factory.updateTypeAssertion,sm),xY.createParen=xY.Debug.deprecate(xY.factory.createParenthesizedExpression,sm),xY.updateParen=xY.Debug.deprecate(xY.factory.updateParenthesizedExpression,sm),xY.createFunctionExpression=xY.Debug.deprecate(xY.factory.createFunctionExpression,sm),xY.updateFunctionExpression=xY.Debug.deprecate(xY.factory.updateFunctionExpression,sm),xY.createDelete=xY.Debug.deprecate(xY.factory.createDeleteExpression,sm),xY.updateDelete=xY.Debug.deprecate(xY.factory.updateDeleteExpression,sm),xY.createTypeOf=xY.Debug.deprecate(xY.factory.createTypeOfExpression,sm),xY.updateTypeOf=xY.Debug.deprecate(xY.factory.updateTypeOfExpression,sm),xY.createVoid=xY.Debug.deprecate(xY.factory.createVoidExpression,sm),xY.updateVoid=xY.Debug.deprecate(xY.factory.updateVoidExpression,sm),xY.createAwait=xY.Debug.deprecate(xY.factory.createAwaitExpression,sm),xY.updateAwait=xY.Debug.deprecate(xY.factory.updateAwaitExpression,sm),xY.createPrefix=xY.Debug.deprecate(xY.factory.createPrefixUnaryExpression,sm),xY.updatePrefix=xY.Debug.deprecate(xY.factory.updatePrefixUnaryExpression,sm),xY.createPostfix=xY.Debug.deprecate(xY.factory.createPostfixUnaryExpression,sm),xY.updatePostfix=xY.Debug.deprecate(xY.factory.updatePostfixUnaryExpression,sm),xY.createBinary=xY.Debug.deprecate(xY.factory.createBinaryExpression,sm),xY.updateConditional=xY.Debug.deprecate(xY.factory.updateConditionalExpression,sm),xY.createTemplateExpression=xY.Debug.deprecate(xY.factory.createTemplateExpression,sm),xY.updateTemplateExpression=xY.Debug.deprecate(xY.factory.updateTemplateExpression,sm),xY.createTemplateHead=xY.Debug.deprecate(xY.factory.createTemplateHead,sm),xY.createTemplateMiddle=xY.Debug.deprecate(xY.factory.createTemplateMiddle,sm),xY.createTemplateTail=xY.Debug.deprecate(xY.factory.createTemplateTail,sm),xY.createNoSubstitutionTemplateLiteral=xY.Debug.deprecate(xY.factory.createNoSubstitutionTemplateLiteral,sm),xY.updateYield=xY.Debug.deprecate(xY.factory.updateYieldExpression,sm),xY.createSpread=xY.Debug.deprecate(xY.factory.createSpreadElement,sm),xY.updateSpread=xY.Debug.deprecate(xY.factory.updateSpreadElement,sm),xY.createOmittedExpression=xY.Debug.deprecate(xY.factory.createOmittedExpression,sm),xY.createAsExpression=xY.Debug.deprecate(xY.factory.createAsExpression,sm),xY.updateAsExpression=xY.Debug.deprecate(xY.factory.updateAsExpression,sm),xY.createNonNullExpression=xY.Debug.deprecate(xY.factory.createNonNullExpression,sm),xY.updateNonNullExpression=xY.Debug.deprecate(xY.factory.updateNonNullExpression,sm),xY.createNonNullChain=xY.Debug.deprecate(xY.factory.createNonNullChain,sm),xY.updateNonNullChain=xY.Debug.deprecate(xY.factory.updateNonNullChain,sm),xY.createMetaProperty=xY.Debug.deprecate(xY.factory.createMetaProperty,sm),xY.updateMetaProperty=xY.Debug.deprecate(xY.factory.updateMetaProperty,sm),xY.createTemplateSpan=xY.Debug.deprecate(xY.factory.createTemplateSpan,sm),xY.updateTemplateSpan=xY.Debug.deprecate(xY.factory.updateTemplateSpan,sm),xY.createSemicolonClassElement=xY.Debug.deprecate(xY.factory.createSemicolonClassElement,sm),xY.createBlock=xY.Debug.deprecate(xY.factory.createBlock,sm),xY.updateBlock=xY.Debug.deprecate(xY.factory.updateBlock,sm),xY.createVariableStatement=xY.Debug.deprecate(xY.factory.createVariableStatement,sm),xY.updateVariableStatement=xY.Debug.deprecate(xY.factory.updateVariableStatement,sm),xY.createEmptyStatement=xY.Debug.deprecate(xY.factory.createEmptyStatement,sm),xY.createExpressionStatement=xY.Debug.deprecate(xY.factory.createExpressionStatement,sm),xY.updateExpressionStatement=xY.Debug.deprecate(xY.factory.updateExpressionStatement,sm),xY.createStatement=xY.Debug.deprecate(xY.factory.createExpressionStatement,sm),xY.updateStatement=xY.Debug.deprecate(xY.factory.updateExpressionStatement,sm),xY.createIf=xY.Debug.deprecate(xY.factory.createIfStatement,sm),xY.updateIf=xY.Debug.deprecate(xY.factory.updateIfStatement,sm),xY.createDo=xY.Debug.deprecate(xY.factory.createDoStatement,sm),xY.updateDo=xY.Debug.deprecate(xY.factory.updateDoStatement,sm),xY.createWhile=xY.Debug.deprecate(xY.factory.createWhileStatement,sm),xY.updateWhile=xY.Debug.deprecate(xY.factory.updateWhileStatement,sm),xY.createFor=xY.Debug.deprecate(xY.factory.createForStatement,sm),xY.updateFor=xY.Debug.deprecate(xY.factory.updateForStatement,sm),xY.createForIn=xY.Debug.deprecate(xY.factory.createForInStatement,sm),xY.updateForIn=xY.Debug.deprecate(xY.factory.updateForInStatement,sm),xY.createForOf=xY.Debug.deprecate(xY.factory.createForOfStatement,sm),xY.updateForOf=xY.Debug.deprecate(xY.factory.updateForOfStatement,sm),xY.createContinue=xY.Debug.deprecate(xY.factory.createContinueStatement,sm),xY.updateContinue=xY.Debug.deprecate(xY.factory.updateContinueStatement,sm),xY.createBreak=xY.Debug.deprecate(xY.factory.createBreakStatement,sm),xY.updateBreak=xY.Debug.deprecate(xY.factory.updateBreakStatement,sm),xY.createReturn=xY.Debug.deprecate(xY.factory.createReturnStatement,sm),xY.updateReturn=xY.Debug.deprecate(xY.factory.updateReturnStatement,sm),xY.createWith=xY.Debug.deprecate(xY.factory.createWithStatement,sm),xY.updateWith=xY.Debug.deprecate(xY.factory.updateWithStatement,sm),xY.createSwitch=xY.Debug.deprecate(xY.factory.createSwitchStatement,sm),xY.updateSwitch=xY.Debug.deprecate(xY.factory.updateSwitchStatement,sm),xY.createLabel=xY.Debug.deprecate(xY.factory.createLabeledStatement,sm),xY.updateLabel=xY.Debug.deprecate(xY.factory.updateLabeledStatement,sm),xY.createThrow=xY.Debug.deprecate(xY.factory.createThrowStatement,sm),xY.updateThrow=xY.Debug.deprecate(xY.factory.updateThrowStatement,sm),xY.createTry=xY.Debug.deprecate(xY.factory.createTryStatement,sm),xY.updateTry=xY.Debug.deprecate(xY.factory.updateTryStatement,sm),xY.createDebuggerStatement=xY.Debug.deprecate(xY.factory.createDebuggerStatement,sm),xY.createVariableDeclarationList=xY.Debug.deprecate(xY.factory.createVariableDeclarationList,sm),xY.updateVariableDeclarationList=xY.Debug.deprecate(xY.factory.updateVariableDeclarationList,sm),xY.createFunctionDeclaration=xY.Debug.deprecate(xY.factory.createFunctionDeclaration,sm),xY.updateFunctionDeclaration=xY.Debug.deprecate(xY.factory.updateFunctionDeclaration,sm),xY.createClassDeclaration=xY.Debug.deprecate(xY.factory.createClassDeclaration,sm),xY.updateClassDeclaration=xY.Debug.deprecate(xY.factory.updateClassDeclaration,sm),xY.createInterfaceDeclaration=xY.Debug.deprecate(xY.factory.createInterfaceDeclaration,sm),xY.updateInterfaceDeclaration=xY.Debug.deprecate(xY.factory.updateInterfaceDeclaration,sm),xY.createTypeAliasDeclaration=xY.Debug.deprecate(xY.factory.createTypeAliasDeclaration,sm),xY.updateTypeAliasDeclaration=xY.Debug.deprecate(xY.factory.updateTypeAliasDeclaration,sm),xY.createEnumDeclaration=xY.Debug.deprecate(xY.factory.createEnumDeclaration,sm),xY.updateEnumDeclaration=xY.Debug.deprecate(xY.factory.updateEnumDeclaration,sm),xY.createModuleDeclaration=xY.Debug.deprecate(xY.factory.createModuleDeclaration,sm),xY.updateModuleDeclaration=xY.Debug.deprecate(xY.factory.updateModuleDeclaration,sm),xY.createModuleBlock=xY.Debug.deprecate(xY.factory.createModuleBlock,sm),xY.updateModuleBlock=xY.Debug.deprecate(xY.factory.updateModuleBlock,sm),xY.createCaseBlock=xY.Debug.deprecate(xY.factory.createCaseBlock,sm),xY.updateCaseBlock=xY.Debug.deprecate(xY.factory.updateCaseBlock,sm),xY.createNamespaceExportDeclaration=xY.Debug.deprecate(xY.factory.createNamespaceExportDeclaration,sm),xY.updateNamespaceExportDeclaration=xY.Debug.deprecate(xY.factory.updateNamespaceExportDeclaration,sm),xY.createImportEqualsDeclaration=xY.Debug.deprecate(xY.factory.createImportEqualsDeclaration,sm),xY.updateImportEqualsDeclaration=xY.Debug.deprecate(xY.factory.updateImportEqualsDeclaration,sm),xY.createImportDeclaration=xY.Debug.deprecate(xY.factory.createImportDeclaration,sm),xY.updateImportDeclaration=xY.Debug.deprecate(xY.factory.updateImportDeclaration,sm),xY.createNamespaceImport=xY.Debug.deprecate(xY.factory.createNamespaceImport,sm),xY.updateNamespaceImport=xY.Debug.deprecate(xY.factory.updateNamespaceImport,sm),xY.createNamedImports=xY.Debug.deprecate(xY.factory.createNamedImports,sm),xY.updateNamedImports=xY.Debug.deprecate(xY.factory.updateNamedImports,sm),xY.createImportSpecifier=xY.Debug.deprecate(xY.factory.createImportSpecifier,sm),xY.updateImportSpecifier=xY.Debug.deprecate(xY.factory.updateImportSpecifier,sm),xY.createExportAssignment=xY.Debug.deprecate(xY.factory.createExportAssignment,sm),xY.updateExportAssignment=xY.Debug.deprecate(xY.factory.updateExportAssignment,sm),xY.createNamedExports=xY.Debug.deprecate(xY.factory.createNamedExports,sm),xY.updateNamedExports=xY.Debug.deprecate(xY.factory.updateNamedExports,sm),xY.createExportSpecifier=xY.Debug.deprecate(xY.factory.createExportSpecifier,sm),xY.updateExportSpecifier=xY.Debug.deprecate(xY.factory.updateExportSpecifier,sm),xY.createExternalModuleReference=xY.Debug.deprecate(xY.factory.createExternalModuleReference,sm),xY.updateExternalModuleReference=xY.Debug.deprecate(xY.factory.updateExternalModuleReference,sm),xY.createJSDocTypeExpression=xY.Debug.deprecate(xY.factory.createJSDocTypeExpression,sm),xY.createJSDocTypeTag=xY.Debug.deprecate(xY.factory.createJSDocTypeTag,sm),xY.createJSDocReturnTag=xY.Debug.deprecate(xY.factory.createJSDocReturnTag,sm),xY.createJSDocThisTag=xY.Debug.deprecate(xY.factory.createJSDocThisTag,sm),xY.createJSDocComment=xY.Debug.deprecate(xY.factory.createJSDocComment,sm),xY.createJSDocParameterTag=xY.Debug.deprecate(xY.factory.createJSDocParameterTag,sm),xY.createJSDocClassTag=xY.Debug.deprecate(xY.factory.createJSDocClassTag,sm),xY.createJSDocAugmentsTag=xY.Debug.deprecate(xY.factory.createJSDocAugmentsTag,sm),xY.createJSDocEnumTag=xY.Debug.deprecate(xY.factory.createJSDocEnumTag,sm),xY.createJSDocTemplateTag=xY.Debug.deprecate(xY.factory.createJSDocTemplateTag,sm),xY.createJSDocTypedefTag=xY.Debug.deprecate(xY.factory.createJSDocTypedefTag,sm),xY.createJSDocCallbackTag=xY.Debug.deprecate(xY.factory.createJSDocCallbackTag,sm),xY.createJSDocSignature=xY.Debug.deprecate(xY.factory.createJSDocSignature,sm),xY.createJSDocPropertyTag=xY.Debug.deprecate(xY.factory.createJSDocPropertyTag,sm),xY.createJSDocTypeLiteral=xY.Debug.deprecate(xY.factory.createJSDocTypeLiteral,sm),xY.createJSDocImplementsTag=xY.Debug.deprecate(xY.factory.createJSDocImplementsTag,sm),xY.createJSDocAuthorTag=xY.Debug.deprecate(xY.factory.createJSDocAuthorTag,sm),xY.createJSDocPublicTag=xY.Debug.deprecate(xY.factory.createJSDocPublicTag,sm),xY.createJSDocPrivateTag=xY.Debug.deprecate(xY.factory.createJSDocPrivateTag,sm),xY.createJSDocProtectedTag=xY.Debug.deprecate(xY.factory.createJSDocProtectedTag,sm),xY.createJSDocReadonlyTag=xY.Debug.deprecate(xY.factory.createJSDocReadonlyTag,sm),xY.createJSDocTag=xY.Debug.deprecate(xY.factory.createJSDocUnknownTag,sm),xY.createJsxElement=xY.Debug.deprecate(xY.factory.createJsxElement,sm),xY.updateJsxElement=xY.Debug.deprecate(xY.factory.updateJsxElement,sm),xY.createJsxSelfClosingElement=xY.Debug.deprecate(xY.factory.createJsxSelfClosingElement,sm),xY.updateJsxSelfClosingElement=xY.Debug.deprecate(xY.factory.updateJsxSelfClosingElement,sm),xY.createJsxOpeningElement=xY.Debug.deprecate(xY.factory.createJsxOpeningElement,sm),xY.updateJsxOpeningElement=xY.Debug.deprecate(xY.factory.updateJsxOpeningElement,sm),xY.createJsxClosingElement=xY.Debug.deprecate(xY.factory.createJsxClosingElement,sm),xY.updateJsxClosingElement=xY.Debug.deprecate(xY.factory.updateJsxClosingElement,sm),xY.createJsxFragment=xY.Debug.deprecate(xY.factory.createJsxFragment,sm),xY.createJsxText=xY.Debug.deprecate(xY.factory.createJsxText,sm),xY.updateJsxText=xY.Debug.deprecate(xY.factory.updateJsxText,sm),xY.createJsxOpeningFragment=xY.Debug.deprecate(xY.factory.createJsxOpeningFragment,sm),xY.createJsxJsxClosingFragment=xY.Debug.deprecate(xY.factory.createJsxJsxClosingFragment,sm),xY.updateJsxFragment=xY.Debug.deprecate(xY.factory.updateJsxFragment,sm),xY.createJsxAttribute=xY.Debug.deprecate(xY.factory.createJsxAttribute,sm),xY.updateJsxAttribute=xY.Debug.deprecate(xY.factory.updateJsxAttribute,sm),xY.createJsxAttributes=xY.Debug.deprecate(xY.factory.createJsxAttributes,sm),xY.updateJsxAttributes=xY.Debug.deprecate(xY.factory.updateJsxAttributes,sm),xY.createJsxSpreadAttribute=xY.Debug.deprecate(xY.factory.createJsxSpreadAttribute,sm),xY.updateJsxSpreadAttribute=xY.Debug.deprecate(xY.factory.updateJsxSpreadAttribute,sm),xY.createJsxExpression=xY.Debug.deprecate(xY.factory.createJsxExpression,sm),xY.updateJsxExpression=xY.Debug.deprecate(xY.factory.updateJsxExpression,sm),xY.createCaseClause=xY.Debug.deprecate(xY.factory.createCaseClause,sm),xY.updateCaseClause=xY.Debug.deprecate(xY.factory.updateCaseClause,sm),xY.createDefaultClause=xY.Debug.deprecate(xY.factory.createDefaultClause,sm),xY.updateDefaultClause=xY.Debug.deprecate(xY.factory.updateDefaultClause,sm),xY.createHeritageClause=xY.Debug.deprecate(xY.factory.createHeritageClause,sm),xY.updateHeritageClause=xY.Debug.deprecate(xY.factory.updateHeritageClause,sm),xY.createCatchClause=xY.Debug.deprecate(xY.factory.createCatchClause,sm),xY.updateCatchClause=xY.Debug.deprecate(xY.factory.updateCatchClause,sm),xY.createPropertyAssignment=xY.Debug.deprecate(xY.factory.createPropertyAssignment,sm),xY.updatePropertyAssignment=xY.Debug.deprecate(xY.factory.updatePropertyAssignment,sm),xY.createShorthandPropertyAssignment=xY.Debug.deprecate(xY.factory.createShorthandPropertyAssignment,sm),xY.updateShorthandPropertyAssignment=xY.Debug.deprecate(xY.factory.updateShorthandPropertyAssignment,sm),xY.createSpreadAssignment=xY.Debug.deprecate(xY.factory.createSpreadAssignment,sm),xY.updateSpreadAssignment=xY.Debug.deprecate(xY.factory.updateSpreadAssignment,sm),xY.createEnumMember=xY.Debug.deprecate(xY.factory.createEnumMember,sm),xY.updateEnumMember=xY.Debug.deprecate(xY.factory.updateEnumMember,sm),xY.updateSourceFileNode=xY.Debug.deprecate(xY.factory.updateSourceFile,sm),xY.createNotEmittedStatement=xY.Debug.deprecate(xY.factory.createNotEmittedStatement,sm),xY.createPartiallyEmittedExpression=xY.Debug.deprecate(xY.factory.createPartiallyEmittedExpression,sm),xY.updatePartiallyEmittedExpression=xY.Debug.deprecate(xY.factory.updatePartiallyEmittedExpression,sm),xY.createCommaList=xY.Debug.deprecate(xY.factory.createCommaListExpression,sm),xY.updateCommaList=xY.Debug.deprecate(xY.factory.updateCommaListExpression,sm),xY.createBundle=xY.Debug.deprecate(xY.factory.createBundle,sm),xY.updateBundle=xY.Debug.deprecate(xY.factory.updateBundle,sm),xY.createImmediatelyInvokedFunctionExpression=xY.Debug.deprecate(xY.factory.createImmediatelyInvokedFunctionExpression,sm),xY.createImmediatelyInvokedArrowFunction=xY.Debug.deprecate(xY.factory.createImmediatelyInvokedArrowFunction,sm),xY.createVoidZero=xY.Debug.deprecate(xY.factory.createVoidZero,sm),xY.createExportDefault=xY.Debug.deprecate(xY.factory.createExportDefault,sm),xY.createExternalModuleExport=xY.Debug.deprecate(xY.factory.createExternalModuleExport,sm),xY.createNamespaceExport=xY.Debug.deprecate(xY.factory.createNamespaceExport,sm),xY.updateNamespaceExport=xY.Debug.deprecate(xY.factory.updateNamespaceExport,sm),xY.createToken=xY.Debug.deprecate((function(e){return xY.factory.createToken(e)}),sm),xY.createIdentifier=xY.Debug.deprecate((function(e){return xY.factory.createIdentifier(e,void 0,void 0)}),sm),xY.createTempVariable=xY.Debug.deprecate((function(e){return xY.factory.createTempVariable(e,void 0)}),sm),xY.getGeneratedNameForNode=xY.Debug.deprecate((function(e){return xY.factory.getGeneratedNameForNode(e,void 0)}),sm),xY.createOptimisticUniqueName=xY.Debug.deprecate((function(e){return xY.factory.createUniqueName(e,16)}),sm),xY.createFileLevelUniqueName=xY.Debug.deprecate((function(e){return xY.factory.createUniqueName(e,48)}),sm),xY.createIndexSignature=xY.Debug.deprecate((function(e,n,t,r){return xY.factory.createIndexSignature(e,n,t,r)}),sm),xY.createTypePredicateNode=xY.Debug.deprecate((function(e,n){return xY.factory.createTypePredicateNode(void 0,e,n)}),sm),xY.updateTypePredicateNode=xY.Debug.deprecate((function(e,n,t){return xY.factory.updateTypePredicateNode(e,void 0,n,t)}),sm),xY.createLiteral=xY.Debug.deprecate((function(e){return"number"==typeof e?xY.factory.createNumericLiteral(e):"object"==typeof e&&"base10Value"in e?xY.factory.createBigIntLiteral(e):"boolean"==typeof e?e?xY.factory.createTrue():xY.factory.createFalse():"string"==typeof e?xY.factory.createStringLiteral(e,void 0):xY.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."}),xY.createMethodSignature=xY.Debug.deprecate((function(e,n,t,r,a){return xY.factory.createMethodSignature(void 0,r,a,e,n,t)}),sm),xY.updateMethodSignature=xY.Debug.deprecate((function(e,n,t,r,a,i){return xY.factory.updateMethodSignature(e,e.modifiers,a,i,n,t,r)}),sm),xY.createTypeOperatorNode=xY.Debug.deprecate((function(e,n){return e=n?e:(n=e,139),xY.factory.createTypeOperatorNode(e,n)}),sm),xY.createTaggedTemplate=xY.Debug.deprecate((function(e,n,t){var r;return t?r=n:t=n,xY.factory.createTaggedTemplateExpression(e,r,t)}),sm),xY.updateTaggedTemplate=xY.Debug.deprecate((function(e,n,t,r){var a;return r?a=t:r=t,xY.factory.updateTaggedTemplateExpression(e,n,a,r)}),sm),xY.updateBinary=xY.Debug.deprecate((function(e,n,t,r){return"number"==typeof(r=void 0===r?e.operatorToken:r)&&(r=r===e.operatorToken.kind?e.operatorToken:xY.factory.createToken(r)),xY.factory.updateBinaryExpression(e,n,r,t)}),sm),xY.createConditional=xY.Debug.deprecate((function(e,n,t,r,a){return 5===arguments.length?xY.factory.createConditionalExpression(e,n,t,r,a):3===arguments.length?xY.factory.createConditionalExpression(e,xY.factory.createToken(57),n,xY.factory.createToken(58),t):xY.Debug.fail("Argument count mismatch")}),sm),xY.createYield=xY.Debug.deprecate((function(e,n){var t;return n?t=e:n=e,xY.factory.createYieldExpression(t,n)}),sm),xY.createClassExpression=xY.Debug.deprecate((function(e,n,t,r,a){return xY.factory.createClassExpression(void 0,e,n,t,r,a)}),sm),xY.updateClassExpression=xY.Debug.deprecate((function(e,n,t,r,a,i){return xY.factory.updateClassExpression(e,void 0,n,t,r,a,i)}),sm),xY.createPropertySignature=xY.Debug.deprecate((function(e,n,t,r,a){return e=xY.factory.createPropertySignature(e,n,t,r),e.initializer=a,e}),sm),xY.updatePropertySignature=xY.Debug.deprecate((function(e,n,t,r,a,i){return n=xY.factory.updatePropertySignature(e,n,t,r,a),e.initializer!==i&&((n=n===e?xY.factory.cloneNode(e):n).initializer=i),n}),sm),xY.createExpressionWithTypeArguments=xY.Debug.deprecate((function(e,n){return xY.factory.createExpressionWithTypeArguments(n,e)}),sm),xY.updateExpressionWithTypeArguments=xY.Debug.deprecate((function(e,n,t){return xY.factory.updateExpressionWithTypeArguments(e,t,n)}),sm),xY.createArrowFunction=xY.Debug.deprecate((function(e,n,t,r,a,i){return 6===arguments.length?xY.factory.createArrowFunction(e,n,t,r,a,i):5===arguments.length?xY.factory.createArrowFunction(e,n,t,r,void 0,a):xY.Debug.fail("Argument count mismatch")}),sm),xY.updateArrowFunction=xY.Debug.deprecate((function(e,n,t,r,a,i,o){return 7===arguments.length?xY.factory.updateArrowFunction(e,n,t,r,a,i,o):6===arguments.length?xY.factory.updateArrowFunction(e,n,t,r,a,e.equalsGreaterThanToken,i):xY.Debug.fail("Argument count mismatch")}),sm),xY.createVariableDeclaration=xY.Debug.deprecate((function(e,n,t,r){return 4===arguments.length?xY.factory.createVariableDeclaration(e,n,t,r):1<=arguments.length&&arguments.length<=3?xY.factory.createVariableDeclaration(e,void 0,n,t):xY.Debug.fail("Argument count mismatch")}),sm),xY.updateVariableDeclaration=xY.Debug.deprecate((function(e,n,t,r,a){return 5===arguments.length?xY.factory.updateVariableDeclaration(e,n,t,r,a):4===arguments.length?xY.factory.updateVariableDeclaration(e,n,e.exclamationToken,t,r):xY.Debug.fail("Argument count mismatch")}),sm),xY.createImportClause=xY.Debug.deprecate((function(e,n,t){return xY.factory.createImportClause(t=void 0!==t&&t,e,n)}),sm),xY.updateImportClause=xY.Debug.deprecate((function(e,n,t,r){return xY.factory.updateImportClause(e,r,n,t)}),sm),xY.createExportDeclaration=xY.Debug.deprecate((function(e,n,t,r,a){return xY.factory.createExportDeclaration(e,n,a=void 0!==a&&a,t,r)}),sm),xY.updateExportDeclaration=xY.Debug.deprecate((function(e,n,t,r,a,i){return xY.factory.updateExportDeclaration(e,n,t,i,r,a)}),sm),xY.createJSDocParamTag=xY.Debug.deprecate((function(e,n,t,r){return xY.factory.createJSDocParameterTag(void 0,e,n,t,!1,r?xY.factory.createNodeArray([xY.factory.createJSDocText(r)]):void 0)}),sm),xY.createComma=xY.Debug.deprecate((function(e,n){return xY.factory.createComma(e,n)}),sm),xY.createLessThan=xY.Debug.deprecate((function(e,n){return xY.factory.createLessThan(e,n)}),sm),xY.createAssignment=xY.Debug.deprecate((function(e,n){return xY.factory.createAssignment(e,n)}),sm),xY.createStrictEquality=xY.Debug.deprecate((function(e,n){return xY.factory.createStrictEquality(e,n)}),sm),xY.createStrictInequality=xY.Debug.deprecate((function(e,n){return xY.factory.createStrictInequality(e,n)}),sm),xY.createAdd=xY.Debug.deprecate((function(e,n){return xY.factory.createAdd(e,n)}),sm),xY.createSubtract=xY.Debug.deprecate((function(e,n){return xY.factory.createSubtract(e,n)}),sm),xY.createLogicalAnd=xY.Debug.deprecate((function(e,n){return xY.factory.createLogicalAnd(e,n)}),sm),xY.createLogicalOr=xY.Debug.deprecate((function(e,n){return xY.factory.createLogicalOr(e,n)}),sm),xY.createPostfixIncrement=xY.Debug.deprecate((function(e){return xY.factory.createPostfixIncrement(e)}),sm),xY.createLogicalNot=xY.Debug.deprecate((function(e){return xY.factory.createLogicalNot(e)}),sm),xY.createNode=xY.Debug.deprecate((function(e,n,t){return void 0===n&&(n=0),void 0===t&&(t=0),xY.setTextRangePosEnd(300===e?xY.parseBaseNodeFactory.createBaseSourceFileNode(e):79===e?xY.parseBaseNodeFactory.createBaseIdentifierNode(e):80===e?xY.parseBaseNodeFactory.createBasePrivateIdentifierNode(e):xY.isNodeKind(e)?xY.parseBaseNodeFactory.createBaseNode(e):xY.parseBaseNodeFactory.createBaseTokenNode(e),n,t)}),{since:"4.0",warnAfter:"4.1",message:"Use an appropriate `factory` method instead."}),xY.getMutableClone=xY.Debug.deprecate((function(e){var n=xY.factory.cloneNode(e);return xY.setTextRange(n,e),xY.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`."}),xY.isTypeAssertion=xY.Debug.deprecate((function(e){return 209===e.kind}),{since:"4.0",warnAfter:"4.1",message:"Use `isTypeAssertionExpression` instead."}),xY.isIdentifierOrPrivateIdentifier=xY.Debug.deprecate((function(e){return xY.isMemberName(e)}),{since:"4.2",warnAfter:"4.3",message:"Use `isMemberName` instead."});var XY=SY.createClassifier,YY=SY.createLanguageService,QY=SY.displayPartsToString,ZY=SY.EndOfLineState,$Y=SY.flattenDiagnosticMessageText,eQ=SY.IndentStyle,nQ=SY.ScriptKind,tQ=SY.ScriptTarget,rQ=SY.TokenClass}.call(this,t("f28c"),"node_modules/monaco-editor/esm/vs/language/typescript/lib",t("dd40")(e))},c317:function(e,n,t){"use strict";(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){const 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_ENV:"production",VUE_APP_TITLE:"CRMEB",VUE_APP_API_URL:"",BASE_URL:"/admin/"})},cwd(){return Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_TITLE:"CRMEB",VUE_APP_API_URL:"",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"/"}};const 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){"use strict";t.r(n);const 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}const 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]};const 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(const t of e)if(n(t))return!0;return!1},c.find=function(e,n){for(const t of e)if(n(t))return t},c.filter=function*(e,n){for(const t of e)n(t)&&(yield t)},c.map=function*(e,n){let t=0;for(const r of e)yield n(r,t++)},c.concat=function*(...e){for(const n of e)for(const e of n)yield e},c.concatNested=function*(e){for(const n of e)for(const e of n)yield e},c.reduce=function(e,n,t){let r=t;for(const 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];const 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 u(e){return null!==l&&void 0!==l&&l.trackDisposable(e),e}function d(e){null!==l&&void 0!==l&&l.markAsDisposed(e)}function p(e,n){null!==l&&void 0!==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=[];for(const t of e)if(t)try{t.dispose()}catch(e){n.push(e)}if(1===n.length)throw n[0];if(1<n.length)throw new m(n);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(const a of t)l.setParent(a,r);return n}function g(e){const n=u({dispose:function(e){const n=this;let t,r=!1;return function(){return r||(r=!0,t=e.apply(n,arguments)),t}}(()=>{d(n),e()})});return n}class y{constructor(){this._toDispose=new Set,this._isDisposed=!1,u(this)}dispose(){this._isDisposed||(d(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,u(this),p(this._store,this)}dispose(){d(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=[];for(const t of function(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[t]&&n.push(t);return n}function E(e,n){var t={};for(const r of e)t[r]=(e=>function(){var t=Array.prototype.slice.call(arguments,0);return n(e,t)})(r);return t}const 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);const 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,n.trustedTypesPolicy,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,u,d,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=(u=c[D+1])-T-r,u<S&&v.MarkNextChange(),S=u,v.AddModifiedElement(u+1,m),D+1-e):(m=(u=c[D-1]+1)-T-r,u<S&&v.MarkNextChange(),S=u-1,v.AddOriginalElement(u,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,d-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=(u=l[A+1]-1)-T-s,u>S&&v.MarkNextChange(),S=u+1,v.AddOriginalElement(u+1,m+1),A+1-a):(m=(u=l[A-1])-T-s,u>S&&v.MarkNextChange(),S=u,v.AddModifiedElement(u+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,u=0,d=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,_),u=this.ClipDiagonalBound(y+D,D,y,_);for(let e=l;e<=u;e+=2){s=e===l||e<u&&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,u,v,h,d,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,u,v,h,d,p,b,f,g,s,n,a,c,r,i,E,o):(e++,t++,[new L(e,n-e+1,t,r-t+1)]);d=this.ClipDiagonalBound(h-D,D,h,_),p=this.ClipDiagonalBound(h+D,D,h,_);for(let _=d;_<=p;_+=2){s=_===d||_<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,u,v,h,d,p,b,f,g,s,n,a,c,r,i,E,o):null}if(D<=1447){let e=new Int32Array(u-l+2);e[0]=y-l+1,R.Copy2(f,l,e,1,u-l+1),this.m_forwardHistory.push(e),(e=new Int32Array(p-d+2))[0]=h-d+1,R.Copy2(g,d,e,1,p-d+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(y,l,u,v,h,d,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,u=0<c.modifiedLength;let r=0,a=this._boundaryScore(c.originalStart,c.originalLength,c.modifiedStart,c.modifiedLength);for(let e=1;;e++){var d=c.originalStart-e,p=c.modifiedStart-e;if(d<n||p<t)break;if(l&&!this.OriginalElementsAreEqual(d,d+c.originalLength))break;if(u&&!this.ModifiedElementsAreEqual(p,p+c.modifiedLength))break;d=(d===n&&p===t?5:0)+this._boundaryScore(d,c.originalLength,p,c.modifiedLength),d>a&&(a=d,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 d=e;d<i;d++)for(let e=t;e<o;e++){var u=this._contiguousSequenceScore(d,e,a);0<u&&u>s&&(s=u,c=d,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),e.modifiedStart+e.modifiedLength>=n.modifiedStart&&(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 u=0;u<=e.length;++u){if(u<e.length)c=e.charCodeAt(u);else{if(r(c))break;c=47}if(r(c)){if(o!==u-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=u,s=0;continue}if(0!==a.length){a="",i=0,o=u,s=0;continue}}n&&(a+=0<a.length?t+"..":"..",i=2)}else 0<a.length?a+=""+t+e.slice(o+1,u):a=e.slice(o+1,u),i=u-o-1;o=u,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}const 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 u=0,d="",p=!1;var i=l.charCodeAt(0);if(1===a)G(i)&&(u=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||(d=`\\\\${s}\\`+l.slice(o,e),u=e)}}}else u=1;else U(i)&&58===l.charCodeAt(1)&&(d=l.slice(0,2),(u=2)<a)&&G(l.charCodeAt(2))&&(p=!0,u=3);if(0<d.length)if(0<n.length){if(d.toLowerCase()!==n.toLowerCase())continue}else n=d;if(r){if(0<n.length)break}else if(t=l.slice(u)+"\\"+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 u=-1,d=0;for(;d<l;d++){var p=e.charCodeAt(a+d);if(p!==n.charCodeAt(o+d))break;92===p&&(u=d)}if(d!==l){if(-1===u)return r}else{if(l<c){if(92===n.charCodeAt(o+d))return r.slice(o+d+1);if(2===d)return r.slice(o+d)}l<t&&(92===e.charCodeAt(a+d)?u=d:2===d&&(u=3)),-1===u&&(u=0)}let m="";for(d=a+u+1;d<=i;++d)d!==i&&92!==e.charCodeAt(d)||(m+=0===m.length?"..":"\\..");return o+=u,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,u=e.length-1,d=0;for(;u>=a;--u){if(G(i=e.charCodeAt(u))){if(l)continue;s=u+1;break}-1===c&&(l=!1,c=u+1),46===i?-1===o?o=u:1!==d&&(d=1):-1!==o&&(d=-1)}-1!==c&&(-1===o||0===d||1===d&&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,u=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!==u&&(u=1):-1!==i&&(u=-1)}if(-1!==s){const r=0===o&&t?1:o;-1===i||0===u||1===u&&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;const 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 ("//")')}const 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=function(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 ue(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))}}const 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?ue(this,!0):(this._formatted||(this._formatted=ue(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}}const 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 ue(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}const de=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function pe(e){return e.match(de)?e.replace(de,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||n.startLineNumber>e.endLineNumber||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||n.startLineNumber>e.endLineNumber||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=n.endLineNumber>e.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 u=n;u<=t;u++){var s=this.lines[u],c=e?this._startColumns[u]:1,l=e?this._endColumns[u]:s.length+1;for(let e=c;e<l;e++)r[o]=s.charCodeAt(e-1),a[o]=u+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,u;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)),u=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,u)}}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,u,d=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)),u=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=function(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)),d=[];for(let e=0,n=i.length;e<n;e++)d.push(he.createFromDiffChange(i[e],p,m))}return new ve(s,c,l,u,d)}}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],u=this.modifiedLines[i];if(l!==u){{let e=Ee(l,1),n=Ee(u,1);for(;1<e&&1<n;){if(l.charCodeAt(e-2)!==u.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(u,1);for(var d=l.length+1,p=u.length+1;e<d&&n<p;){if(l.charCodeAt(e-1)!==l.charCodeAt(n-1))break;e++,n++}(e<d||n<p)&&this._pushTrimWhitespaceCharChange(r,a+1,e,d,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=function(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;const 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)}}const Ce=function(e=""){let n="(-?\\d*\\.\\d\\w*)|([^";for(const 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 d=1;!(Date.now()-i>=a.timeBudget);d++){var l=o-a.windowSize*d,u=(n.lastIndex=Math.max(0,l),function(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(!u&&c)break;if(c=u,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 u=0,d=e.length;u<d;u++){var[r,a,i]=e[u];a>n&&(n=a),i>(t=r>t?r:t)&&(t=i)}n++,t++;var o=new Re(t,n,0);for(let u=0,d=e.length;u<d;u++){var[s,c,l]=e[u];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=function(){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,u=0,d=1,p=!1,m=!1,_=!1,f=!1;for(;c<i;){let e=!1;var o=a.charCodeAt(c);if(13===d){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===u||96===u?0:1;break;case 34:n=39===u||96===u?0:1;break;case 96:n=39===u||34===u?0:1;break;case 42:n=42===u?1:0;break;case 124:n=124===u?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===d){let n;1===(n=91===o?(m=!0,0):t.get(o))?e=!0:d=13}else 0===(d=n.nextState(d,o))&&(e=!0);e&&(d=1,p=!1,m=!1,f=!1,l=c+1,u=o),c++}13===d&&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){const 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}}const 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;const 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;const 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)});const 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)){const 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)){const 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);const 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;){const[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())}}const $e=Object.freeze((function(e,n){const 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}}const 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 un{static chord(e,n){return(e|(65535&n)<<16>>>0)>>>0}}un.CtrlCmd=2048,un.Shift=1024,un.Alt=512,un.WinCtrl=256;var dn=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){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);for(const n of 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,function(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){const n=this._lines,t=this._wordenize.bind(this);let 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=this._lines[e-1],r=[];for(const a of this._wordenize(t,n))r.push({word:t.substring(a.start,a.end),startColumn:a.start+1,endColumn:a.end+1});return r}_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 dn(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 dn(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 u=t.getValueInRange(r);if(u!==(a=a.replace(/\r\n|\n|\r/g,t.eol)))if(Math.max(a.length,u.length)>mn._diffLimit)c.push({range:r,text:a});else{u=u,o=a,s=!1;u=new P(new N(u),new N(o)).ComputeDiff(s).changes;var d=t.offsetAt(_e.lift(r).getStartPosition());for(const e of u){var p=t.positionAt(d+e.originalStart),m=t.positionAt(d+e.originalStart+e.originalLength);p={text:a.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:p.lineNumber,startColumn:p.column,endLineNumber:m.lineNumber,endColumn:m.column}};t.getValueInRange(p.range)!==p.text&&c.push(p)}}}return"number"==typeof l&&c.push({eol:l,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),c}))}computeLinks(e){return dn(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 dn(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 dn(this,void 0,void 0,(function*(){var a=this._getModel(e);if(!a)return Object.create(null);var i=new RegExp(t,r),o=Object.create(null);for(let e=n.startLineNumber;e<n.endLineNumber;e++)for(const n of a.getLineWords(e,i))if(isNaN(Number(n.word))){let t=o[n.word];t||(t=[],o[n.word]=t),t.push({startLineNumber:e,startColumn:n.startColumn,endLineNumber:e,endColumn:n.endColumn})}return o}))}navigateValueSet(e,n,t,r,a){return dn(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:un,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;const 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,u=-1;function d(){l&&s&&(l=!1,s.length?c=s.concat(c):u=-1,c.length)&&p()}function p(){if(!l){for(var e=o(d),n=(l=!0,c.length);n;){for(s=c,c=[];++u<n;)s&&s[u].run();u=-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}}});