amis-rpc-design/dist/ts.worker.js
2023-10-07 19:42:30 +08:00

7 lines
4.6 MiB
Raw Permalink 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.

/*! For license information please see ts.worker.js.LICENSE.txt */
(()=>{"use strict";var e={};e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}();const n=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout((()=>{if(e.stack){if(o.isErrorNoTelemetry(e))throw new o(e.message+"\n\n"+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 t(e){var t;(t=e)instanceof a||t instanceof Error&&t.name===i&&t.message===i||n.onUnexpectedError(e)}function r(e){if(e instanceof Error){const{name:n,message:t}=e;return{$isError:!0,name:n,message:t,stack:e.stacktrace||e.stack,noTelemetry:o.isErrorNoTelemetry(e)}}return e}const i="Canceled";class a extends Error{constructor(){super(i),this.name=this.message}}class o extends Error{constructor(e){super(e),this.name="CodeExpectedError"}static fromError(e){if(e instanceof o)return e;const n=new o;return n.message=e.message,n.stack=e.stack,n}static isErrorNoTelemetry(e){return"CodeExpectedError"===e.name}}class s extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,s.prototype)}}function c(e){const n=this;let t,r=!1;return function(){return r||(r=!0,t=e.apply(n,arguments)),t}}var l;!function(e){function n(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]}e.is=n;const t=Object.freeze([]);function*r(e){yield e}e.empty=function(){return t},e.single=r,e.wrap=function(e){return n(e)?e:r(e)},e.from=function(e){return e||t},e.isEmpty=function(e){return!e||!0===e[Symbol.iterator]().next().done},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,n){for(const t of e)if(n(t))return!0;return!1},e.find=function(e,n){for(const t of e)if(n(t))return t},e.filter=function*(e,n){for(const t of e)n(t)&&(yield t)},e.map=function*(e,n){let t=0;for(const r of e)yield n(r,t++)},e.concat=function*(...e){for(const n of e)for(const e of n)yield e},e.reduce=function(e,n,t){let r=t;for(const t of e)r=n(r,t);return r},e.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]},e.consume=function(n,t=Number.POSITIVE_INFINITY){const r=[];if(0===t)return[r,n];const i=n[Symbol.iterator]();for(let n=0;n<t;n++){const n=i.next();if(n.done)return[r,e.empty()];r.push(n.value)}return[r,{[Symbol.iterator]:()=>i}]}}(l||(l={}));let d=null;function u(e){return null==d||d.trackDisposable(e),e}function _(e){null==d||d.markAsDisposed(e)}function p(e,n){null==d||d.setParent(e,n)}function f(e){if(l.is(e)){const n=[];for(const t of e)if(t)try{t.dispose()}catch(e){n.push(e)}if(1===n.length)throw n[0];if(n.length>1)throw new AggregateError(n,"Encountered errors while disposing of store");return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function m(e){const n=u({dispose:c((()=>{_(n),e()}))});return n}class h{constructor(){this._toDispose=new Set,this._isDisposed=!1,u(this)}dispose(){this._isDisposed||(_(this),this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(0!==this._toDispose.size)try{f(this._toDispose)}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return p(e,this),this._isDisposed?h.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}}h.DISABLE_DISPOSED_WARNING=!1;class g{constructor(){this._store=new h,u(this),p(this._store,this)}dispose(){_(this),this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}g.None=Object.freeze({dispose(){}}),Symbol.iterator;class y{constructor(e){this.element=e,this.next=y.Undefined,this.prev=y.Undefined}}y.Undefined=new y(void 0);class v{constructor(){this._first=y.Undefined,this._last=y.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===y.Undefined}clear(){let e=this._first;for(;e!==y.Undefined;){const n=e.next;e.prev=y.Undefined,e.next=y.Undefined,e=n}this._first=y.Undefined,this._last=y.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,n){const t=new y(e);if(this._first===y.Undefined)this._first=t,this._last=t;else if(n){const e=this._last;this._last=t,t.prev=e,e.next=t}else{const e=this._first;this._first=t,t.next=e,e.prev=t}this._size+=1;let r=!1;return()=>{r||(r=!0,this._remove(t))}}shift(){if(this._first!==y.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==y.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==y.Undefined&&e.next!==y.Undefined){const n=e.prev;n.next=e.next,e.next.prev=n}else e.prev===y.Undefined&&e.next===y.Undefined?(this._first=y.Undefined,this._last=y.Undefined):e.next===y.Undefined?(this._last=this._last.prev,this._last.next=y.Undefined):e.prev===y.Undefined&&(this._first=this._first.next,this._first.prev=y.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==y.Undefined;)yield e.element,e=e.next}}const b=globalThis.performance&&"function"==typeof globalThis.performance.now;class E{static create(e){return new E(e)}constructor(e){this._now=b&&!1===e?Date.now:globalThis.performance.now.bind(globalThis.performance),this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}elapsed(){return-1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}}var T;!function(e){function n(e){return(n,t=null,r)=>{let i,a=!1;return i=e((e=>{if(!a)return i?i.dispose():a=!0,n.call(t,e)}),null,r),a&&i.dispose(),i}}function t(e,n,t){return o(((t,r=null,i)=>e((e=>t.call(r,n(e))),null,i)),t)}function r(e,n,t){return o(((t,r=null,i)=>e((e=>{n(e),t.call(r,e)}),null,i)),t)}function i(e,n,t){return o(((t,r=null,i)=>e((e=>n(e)&&t.call(r,e)),null,i)),t)}function a(e,n,r,i){let a=r;return t(e,(e=>(a=n(a,e),a)),i)}function o(e,n){let t;const r=new C({onWillAddFirstListener(){t=e(r.fire,r)},onDidRemoveLastListener(){null==t||t.dispose()}});return null==n||n.add(r),r.event}function s(e,n,t=100,r=!1,i=!1,a,o){let s,c,l,d,u=0;const _=new C({leakWarningThreshold:a,onWillAddFirstListener(){s=e((e=>{u++,c=n(c,e),r&&!l&&(_.fire(c),c=void 0),d=()=>{const e=c;c=void 0,l=void 0,(!r||u>1)&&_.fire(e),u=0},"number"==typeof t?(clearTimeout(l),l=setTimeout(d,t)):void 0===l&&(l=0,queueMicrotask(d))}))},onWillRemoveListener(){i&&u>0&&(null==d||d())},onDidRemoveLastListener(){d=void 0,s.dispose()}});return null==o||o.add(_),_.event}function c(e,n=((e,n)=>e===n),t){let r,a=!0;return i(e,(e=>{const t=a||!n(e,r);return a=!1,r=e,t}),t)}e.None=()=>g.None,e.defer=function(e,n){return s(e,(()=>{}),0,void 0,!0,void 0,n)},e.once=n,e.map=t,e.forEach=r,e.filter=i,e.signal=function(e){return e},e.any=function(...e){return(n,t=null,r)=>function(...e){const n=m((()=>f(e)));return function(e,n){if(d)for(const t of e)d.setParent(t,n)}(e,n),n}(...e.map((e=>e((e=>n.call(t,e)),null,r))))},e.reduce=a,e.debounce=s,e.accumulate=function(n,t=0,r){return e.debounce(n,((e,n)=>e?(e.push(n),e):[n]),t,void 0,!0,void 0,r)},e.latch=c,e.split=function(n,t,r){return[e.filter(n,t,r),e.filter(n,(e=>!t(e)),r)]},e.buffer=function(e,n=!1,t=[]){let r=t.slice(),i=e((e=>{r?r.push(e):o.fire(e)}));const a=()=>{null==r||r.forEach((e=>o.fire(e))),r=null},o=new C({onWillAddFirstListener(){i||(i=e((e=>o.fire(e))))},onDidAddFirstListener(){r&&(n?setTimeout(a):a())},onDidRemoveLastListener(){i&&i.dispose(),i=null}});return o.event};class l{constructor(e){this.event=e,this.disposables=new h}map(e){return new l(t(this.event,e,this.disposables))}forEach(e){return new l(r(this.event,e,this.disposables))}filter(e){return new l(i(this.event,e,this.disposables))}reduce(e,n){return new l(a(this.event,e,n,this.disposables))}latch(){return new l(c(this.event,void 0,this.disposables))}debounce(e,n=100,t=!1,r=!1,i){return new l(s(this.event,e,n,t,r,i,this.disposables))}on(e,n,t){return this.event(e,n,t)}once(e,t,r){return n(this.event)(e,t,r)}dispose(){this.disposables.dispose()}}e.chain=function(e){return new l(e)},e.fromNodeEventEmitter=function(e,n,t=(e=>e)){const r=(...e)=>i.fire(t(...e)),i=new C({onWillAddFirstListener:()=>e.on(n,r),onDidRemoveLastListener:()=>e.removeListener(n,r)});return i.event},e.fromDOMEventEmitter=function(e,n,t=(e=>e)){const r=(...e)=>i.fire(t(...e)),i=new C({onWillAddFirstListener:()=>e.addEventListener(n,r),onDidRemoveLastListener:()=>e.removeEventListener(n,r)});return i.event},e.toPromise=function(e){return new Promise((t=>n(e)(t)))},e.fromPromise=function(e){const n=new C;return e.then((e=>{n.fire(e)}),(()=>{n.fire(void 0)})).finally((()=>{n.dispose()})),n.event},e.runAndSubscribe=function(e,n){return n(void 0),e((e=>n(e)))},e.runAndSubscribeWithStore=function(e,n){let t=null;function r(e){null==t||t.dispose(),t=new h,n(e,t)}r(void 0);const i=e((e=>r(e)));return m((()=>{i.dispose(),null==t||t.dispose()}))};class u{constructor(e,n){this._observable=e,this._counter=0,this._hasChanged=!1;const t={onWillAddFirstListener:()=>{e.addObserver(this)},onDidRemoveLastListener:()=>{e.removeObserver(this)}};this.emitter=new C(t),n&&n.add(this.emitter)}beginUpdate(e){this._counter++}handlePossibleChange(e){}handleChange(e,n){this._hasChanged=!0}endUpdate(e){this._counter--,0===this._counter&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}e.fromObservable=function(e,n){return new u(e,n).emitter.event},e.fromObservableLight=function(e){return n=>{let t=0,r=!1;const i={beginUpdate(){t++},endUpdate(){t--,0===t&&(e.reportChanges(),r&&(r=!1,n()))},handlePossibleChange(){},handleChange(){r=!0}};return e.addObserver(i),e.reportChanges(),{dispose(){e.removeObserver(i)}}}}}(T||(T={}));class x{constructor(e){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${e}_${x._idPool++}`,x.all.add(this)}start(e){this._stopWatch=new E,this.listenerCount=e}stop(){if(this._stopWatch){const e=this._stopWatch.elapsed();this.durations.push(e),this.elapsedOverall+=e,this.invocationCount+=1,this._stopWatch=void 0}}}x.all=new Set,x._idPool=0;class S{constructor(e,n=Math.random().toString(18).slice(2,5)){this.threshold=e,this.name=n,this._warnCountdown=0}dispose(){var e;null===(e=this._stacks)||void 0===e||e.clear()}check(e,n){const t=this.threshold;if(t<=0||n<t)return;this._stacks||(this._stacks=new Map);const r=this._stacks.get(e.value)||0;if(this._stacks.set(e.value,r+1),this._warnCountdown-=1,this._warnCountdown<=0){let e;this._warnCountdown=.5*t;let r=0;for(const[n,t]of this._stacks)(!e||r<t)&&(e=n,r=t);console.warn(`[${this.name}] potential listener LEAK detected, having ${n} listeners already. MOST frequent listener (${r}):`),console.warn(e)}return()=>{const n=this._stacks.get(e.value)||0;this._stacks.set(e.value,n-1)}}}class A{static create(){var e;return new A(null!==(e=(new Error).stack)&&void 0!==e?e:"")}constructor(e){this.value=e}print(){console.warn(this.value.split("\n").slice(2).join("\n"))}}class L{constructor(e){this.value=e}}class C{constructor(e){var n,t,r,i,a;this._size=0,this._options=e,this._leakageMon=(null===(n=this._options)||void 0===n?void 0:n.leakWarningThreshold)?new S(null!==(r=null===(t=this._options)||void 0===t?void 0:t.leakWarningThreshold)&&void 0!==r?r:-1):void 0,this._perfMon=(null===(i=this._options)||void 0===i?void 0:i._profName)?new x(this._options._profName):void 0,this._deliveryQueue=null===(a=this._options)||void 0===a?void 0:a.deliveryQueue}dispose(){var e,n,t,r;this._disposed||(this._disposed=!0,(null===(e=this._deliveryQueue)||void 0===e?void 0:e.current)===this&&this._deliveryQueue.reset(),this._listeners&&(this._listeners=void 0,this._size=0),null===(t=null===(n=this._options)||void 0===n?void 0:n.onDidRemoveLastListener)||void 0===t||t.call(n),null===(r=this._leakageMon)||void 0===r||r.dispose())}get event(){var e;return null!==(e=this._event)&&void 0!==e||(this._event=(e,n,t)=>{var r,i,a,o,s;if(this._leakageMon&&this._size>3*this._leakageMon.threshold)return console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`),g.None;if(this._disposed)return g.None;n&&(e=e.bind(n));const c=new L(e);let l;this._leakageMon&&this._size>=Math.ceil(.2*this._leakageMon.threshold)&&(c.stack=A.create(),l=this._leakageMon.check(c.stack,this._size+1)),this._listeners?this._listeners instanceof L?(null!==(s=this._deliveryQueue)&&void 0!==s||(this._deliveryQueue=new k),this._listeners=[this._listeners,c]):this._listeners.push(c):(null===(i=null===(r=this._options)||void 0===r?void 0:r.onWillAddFirstListener)||void 0===i||i.call(r,this),this._listeners=c,null===(o=null===(a=this._options)||void 0===a?void 0:a.onDidAddFirstListener)||void 0===o||o.call(a,this)),this._size++;const d=m((()=>{null==l||l(),this._removeListener(c)}));return t instanceof h?t.add(d):Array.isArray(t)&&t.push(d),d}),this._event}_removeListener(e){var n,t,r,i;if(null===(t=null===(n=this._options)||void 0===n?void 0:n.onWillRemoveListener)||void 0===t||t.call(n,this),!this._listeners)return;if(1===this._size)return this._listeners=void 0,null===(i=null===(r=this._options)||void 0===r?void 0:r.onDidRemoveLastListener)||void 0===i||i.call(r,this),void(this._size=0);const a=this._listeners,o=a.indexOf(e);if(-1===o)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),new Error("Attempted to dispose unknown listener");this._size--,a[o]=void 0;const s=this._deliveryQueue.current===this;if(2*this._size<=a.length){let e=0;for(let n=0;n<a.length;n++)a[n]?a[e++]=a[n]:s&&(this._deliveryQueue.end--,e<this._deliveryQueue.i&&this._deliveryQueue.i--);a.length=e}}_deliver(e,n){var r;if(!e)return;const i=(null===(r=this._options)||void 0===r?void 0:r.onListenerError)||t;if(i)try{e.value(n)}catch(e){i(e)}else e.value(n)}_deliverQueue(e){const n=e.current._listeners;for(;e.i<e.end;)this._deliver(n[e.i++],e.value);e.reset()}fire(e){var n,t,r,i;if((null===(n=this._deliveryQueue)||void 0===n?void 0:n.current)&&(this._deliverQueue(this._deliveryQueue),null===(t=this._perfMon)||void 0===t||t.stop()),null===(r=this._perfMon)||void 0===r||r.start(this._size),this._listeners)if(this._listeners instanceof L)this._deliver(this._listeners,e);else{const n=this._deliveryQueue;n.enqueue(this,e,this._listeners.length),this._deliverQueue(n)}null===(i=this._perfMon)||void 0===i||i.stop()}hasListeners(){return this._size>0}}class k{constructor(){this.i=-1,this.end=0}enqueue(e,n,t){this.i=0,this.end=t,this.current=e,this.value=n}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}function I(e){const n=[];for(const t of function(e){let n=[];for(;Object.prototype!==e;)n=n.concat(Object.getOwnPropertyNames(e)),e=Object.getPrototypeOf(e);return n}(e))"function"==typeof e[t]&&n.push(t);return n}Object.prototype.hasOwnProperty;let w="undefined"!=typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function R(e,n,...t){return function(e,n){let t;return t=0===n.length?e:e.replace(/\{(\d+)\}/g,((e,t)=>{const r=t[0],i=n[r];let a=e;return"string"==typeof i?a=i:"number"!=typeof i&&"boolean"!=typeof i&&null!=i||(a=String(i)),a})),w&&(t=""+t.replace(/[aouei]/g,"$&$&")+""),t}(n,t)}var N;const D="en";let O,M,P=!1,F=!1,G=!1,B=!1,U=!1,V=!1,j=!1,H=!1,K=!1,W=!1,q=null,z=null,J=null;const X="object"==typeof self?self:"object"==typeof e.g?e.g:{};let Y;void 0!==X.vscode&&void 0!==X.vscode.process?Y=X.vscode.process:"undefined"!=typeof process&&(Y=process);const $="string"==typeof(null===(N=null==Y?void 0:Y.versions)||void 0===N?void 0:N.electron),Q=$&&"renderer"===(null==Y?void 0:Y.type);if("object"!=typeof navigator||Q)if("object"==typeof Y){P="win32"===Y.platform,F="darwin"===Y.platform,G="linux"===Y.platform,B=G&&!!Y.env.SNAP&&!!Y.env.SNAP_REVISION,j=$,K=!!Y.env.CI||!!Y.env.BUILD_ARTIFACTSTAGINGDIRECTORY,O=D,q=D;const e=Y.env.VSCODE_NLS_CONFIG;if(e)try{const n=JSON.parse(e),t=n.availableLanguages["*"];O=n.locale,z=n.osLocale,q=t||D,J=n._translationsConfigFile}catch(e){}U=!0}else console.error("Unable to resolve platform.");else M=navigator.userAgent,P=M.indexOf("Windows")>=0,F=M.indexOf("Macintosh")>=0,H=(M.indexOf("Macintosh")>=0||M.indexOf("iPad")>=0||M.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,G=M.indexOf("Linux")>=0,W=(null==M?void 0:M.indexOf("Mobi"))>=0,V=!0,O=void R(0,"_")||D,q=O,z=navigator.language;let Z=0;F?Z=1:P?Z=3:G&&(Z=2);const ee=P,ne=F,te=(V&&X.importScripts,M),re="function"==typeof X.postMessage&&!X.importScripts;(()=>{if(re){const e=[];X.addEventListener("message",(n=>{if(n.data&&n.data.vscodeScheduleAsyncWork)for(let t=0,r=e.length;t<r;t++){const r=e[t];if(r.id===n.data.vscodeScheduleAsyncWork)return e.splice(t,1),void r.callback()}}));let n=0}})();const ie=!!(te&&te.indexOf("Chrome")>=0);te&&te.indexOf("Firefox"),!ie&&te&&te.indexOf("Safari"),te&&te.indexOf("Edg/"),te&&te.indexOf("Android");class ae{constructor(e){this.executor=e,this._didRun=!1}get value(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}var oe;function se(e){return e>=65&&e<=90}function ce(e){return 55296<=e&&e<=56319}function le(e){return 56320<=e&&e<=57343}function de(e,n){return n-56320+(e-55296<<10)+65536}function ue(e,n,t){const r=e.charCodeAt(t);if(ce(r)&&t+1<n){const n=e.charCodeAt(t+1);if(le(n))return de(r,n)}return r}const _e=/^[\t\n\r\x20-\x7E]*$/;String.fromCharCode(65279);class pe{static getInstance(){return pe._INSTANCE||(pe._INSTANCE=new pe),pe._INSTANCE}constructor(){this._data=JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,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,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,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,129008,129008,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,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,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,2192,2193,1,2250,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,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,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,6862,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,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,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,9775,9775,14,9784,9785,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,9874,14,9876,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,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,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,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,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,118528,118573,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,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;const 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}}pe._INSTANCE=null;class fe{static getInstance(e){return oe.cache.get(Array.from(e))}static getLocales(){return oe._locales.value}constructor(e){this.confusableDictionary=e}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}oe=fe,fe.ambiguousCharacterData=new ae((()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}'))),fe.cache=new class{constructor(e){this.fn=e,this.lastCache=void 0,this.lastArgKey=void 0}get(e){const n=JSON.stringify(e);return this.lastArgKey!==n&&(this.lastArgKey=n,this.lastCache=this.fn(e)),this.lastCache}}((e=>{function n(e){const n=new Map;for(let t=0;t<e.length;t+=2)n.set(e[t],e[t+1]);return n}function t(e,n){if(!e)return n;const t=new Map;for(const[r,i]of e)n.has(r)&&t.set(r,i);return t}const r=oe.ambiguousCharacterData.value;let i,a=e.filter((e=>!e.startsWith("_")&&e in r));0===a.length&&(a=["_default"]);for(const e of a)i=t(i,n(r[e]));const o=function(e,n){const t=new Map(e);for(const[e,r]of n)t.set(e,r);return t}(n(r._common),i);return new oe(o)})),fe._locales=new ae((()=>Object.keys(oe.ambiguousCharacterData.value).filter((e=>!e.startsWith("_")))));class me{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return this._data||(this._data=new Set(me.getRawData())),this._data}static isInvisibleCharacter(e){return me.getData().has(e)}static get codePoints(){return me.getData()}}me._data=void 0;let he;class ge{constructor(e,n,t,r){this.vsWorker=e,this.req=n,this.method=t,this.args=r,this.type=0}}class ye{constructor(e,n,t,r){this.vsWorker=e,this.seq=n,this.res=t,this.err=r,this.type=1}}class ve{constructor(e,n,t,r){this.vsWorker=e,this.req=n,this.eventName=t,this.arg=r,this.type=2}}class be{constructor(e,n,t){this.vsWorker=e,this.req=n,this.event=t,this.type=3}}class Ee{constructor(e,n){this.vsWorker=e,this.req=n,this.type=4}}class Te{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}sendMessage(e,n){const t=String(++this._lastSentReq);return new Promise(((r,i)=>{this._pendingReplies[t]={resolve:r,reject:i},this._send(new ge(this._workerId,t,e,n))}))}listen(e,n){let t=null;const r=new C({onWillAddFirstListener:()=>{t=String(++this._lastSentReq),this._pendingEmitters.set(t,r),this._send(new ve(this._workerId,t,e,n))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(t),this._send(new Ee(this._workerId,t)),t=null}});return r.event}handleMessage(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq])return void console.warn("Got reply to unknown seq");const n=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let t=e.err;return e.err.$isError&&(t=new Error,t.name=e.err.name,t.message=e.err.message,t.stack=e.err.stack),void n.reject(t)}n.resolve(e.res)}_handleRequestMessage(e){const n=e.req;this._handler.handleMessage(e.method,e.args).then((e=>{this._send(new ye(this._workerId,n,e,void 0))}),(e=>{e.detail instanceof Error&&(e.detail=r(e.detail)),this._send(new ye(this._workerId,n,void 0,r(e)))}))}_handleSubscribeEventMessage(e){const n=e.req,t=this._handler.handleEvent(e.eventName,e.arg)((e=>{this._send(new be(this._workerId,n,e))}));this._pendingEvents.set(n,t)}_handleEventMessage(e){this._pendingEmitters.has(e.req)?this._pendingEmitters.get(e.req).fire(e.event):console.warn("Got event for unknown req")}_handleUnsubscribeEventMessage(e){this._pendingEvents.has(e.req)?(this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)):console.warn("Got unsubscribe for unknown req")}_send(e){const n=[];if(0===e.type)for(let t=0;t<e.args.length;t++)e.args[t]instanceof ArrayBuffer&&n.push(e.args[t]);else 1===e.type&&e.res instanceof ArrayBuffer&&n.push(e.res);this._handler.sendMessage(e,n)}}function xe(e){return"o"===e[0]&&"n"===e[1]&&se(e.charCodeAt(2))}function Se(e){return/^onDynamic/.test(e)&&se(e.charCodeAt(9))}class Ae{constructor(e,n){this._requestHandlerFactory=n,this._requestHandler=null,this._protocol=new Te({sendMessage:(n,t)=>{e(n,t)},handleMessage:(e,n)=>this._handleMessage(e,n),handleEvent:(e,n)=>this._handleEvent(e,n)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,n){if("$initialize"===e)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)}}_handleEvent(e,n){if(!this._requestHandler)throw new Error("Missing requestHandler");if(Se(e)){const t=this._requestHandler[e].call(this._requestHandler,n);if("function"!=typeof t)throw new Error(`Missing dynamic event ${e} on request handler.`);return t}if(xe(e)){const n=this._requestHandler[e];if("function"!=typeof n)throw new Error(`Missing event ${e} on request handler.`);return n}throw new Error(`Malformed event name ${e}`)}initialize(e,n,t,r){this._protocol.setWorkerId(e);const i=function(e,n,t){const r=e=>function(){const t=Array.prototype.slice.call(arguments,0);return n(e,t)},i=e=>function(n){return t(e,n)},a={};for(const n of e)Se(n)?a[n]=i(n):xe(n)?a[n]=t(n,void 0):a[n]=r(n);return a}(r,((e,n)=>this._protocol.sendMessage(e,n)),((e,n)=>this._protocol.listen(e,n)));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(i),Promise.resolve(I(this._requestHandler))):(n&&(void 0!==n.baseUrl&&delete n.baseUrl,void 0!==n.paths&&void 0!==n.paths.vs&&delete n.paths.vs,void 0!==typeof n.trustedTypesPolicy&&delete n.trustedTypesPolicy,n.catchError=!0,globalThis.require.config(n)),new Promise(((e,n)=>{(0,globalThis.require)([t],(t=>{this._requestHandler=t.create(i),this._requestHandler?e(I(this._requestHandler)):n(new Error("No RequestHandler!"))}),n)})))}}class Le{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 Ce(e,n){return(n<<5)-n+e|0}function ke(e,n){n=Ce(149417,n);for(let t=0,r=e.length;t<r;t++)n=Ce(e.charCodeAt(t),n);return n}function Ie(e,n,t=32){const r=t-n;return(e<<n|(~((1<<r)-1)&e)>>>r)>>>0}function we(e,n=0,t=e.byteLength,r=0){for(let i=0;i<t;i++)e[n+i]=r}function Re(e,n=32){return e instanceof ArrayBuffer?Array.from(new Uint8Array(e)).map((e=>e.toString(16).padStart(2,"0"))).join(""):function(e,n,t="0"){for(;e.length<n;)e=t+e;return e}((e>>>0).toString(16),n/4)}class Ne{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){const n=e.length;if(0===n)return;const t=this._buff;let r,i,a=this._buffLen,o=this._leftoverHighSurrogate;for(0!==o?(r=o,i=-1,o=0):(r=e.charCodeAt(0),i=0);;){let s=r;if(ce(r)){if(!(i+1<n)){o=r;break}{const n=e.charCodeAt(i+1);le(n)?(i++,s=de(r,n)):s=65533}}else le(r)&&(s=65533);if(a=this._push(t,a,s),i++,!(i<n))break;r=e.charCodeAt(i)}this._buffLen=a,this._leftoverHighSurrogate=o}_push(e,n,t){return t<128?e[n++]=t:t<2048?(e[n++]=192|(1984&t)>>>6,e[n++]=128|(63&t)>>>0):t<65536?(e[n++]=224|(61440&t)>>>12,e[n++]=128|(4032&t)>>>6,e[n++]=128|(63&t)>>>0):(e[n++]=240|(1835008&t)>>>18,e[n++]=128|(258048&t)>>>12,e[n++]=128|(4032&t)>>>6,e[n++]=128|(63&t)>>>0),n>=64&&(this._step(),n-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),n}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),Re(this._h0)+Re(this._h1)+Re(this._h2)+Re(this._h3)+Re(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,we(this._buff,this._buffLen),this._buffLen>56&&(this._step(),we(this._buff));const e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){const e=Ne._bigBlock32,n=this._buffDV;for(let t=0;t<64;t+=4)e.setUint32(t,n.getUint32(t,!1),!1);for(let n=64;n<320;n+=4)e.setUint32(n,Ie(e.getUint32(n-12,!1)^e.getUint32(n-32,!1)^e.getUint32(n-56,!1)^e.getUint32(n-64,!1),1),!1);let t,r,i,a=this._h0,o=this._h1,s=this._h2,c=this._h3,l=this._h4;for(let n=0;n<80;n++)n<20?(t=o&s|~o&c,r=1518500249):n<40?(t=o^s^c,r=1859775393):n<60?(t=o&s|o&c|s&c,r=2400959708):(t=o^s^c,r=3395469782),i=Ie(a,5)+t+l+r+e.getUint32(4*n,!1)&4294967295,l=c,c=s,s=Ie(o,30),o=a,a=i;this._h0=this._h0+a&4294967295,this._h1=this._h1+o&4294967295,this._h2=this._h2+s&4294967295,this._h3=this._h3+c&4294967295,this._h4=this._h4+l&4294967295}}Ne._bigBlock32=new DataView(new ArrayBuffer(320));class De{constructor(e){this.source=e}getElements(){const 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}}function Oe(e,n,t){return new Ge(new De(e),new De(n)).ComputeDiff(t).changes}class Me{static Assert(e,n){if(!e)throw new Error(n)}}class Pe{static Copy(e,n,t,r,i){for(let a=0;a<i;a++)t[r+a]=e[n+a]}static Copy2(e,n,t,r,i){for(let a=0;a<i;a++)t[r+a]=e[n+a]}}class Fe{constructor(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}MarkNextChange(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new Le(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(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class Ge{constructor(e,n,t=null){this.ContinueProcessingPredicate=t,this._originalSequence=e,this._modifiedSequence=n;const[r,i,a]=Ge._getElements(e),[o,s,c]=Ge._getElements(n);this._hasStrings=a&&c,this._originalStringElements=r,this._originalElementsOrHash=i,this._modifiedStringElements=o,this._modifiedElementsOrHash=s,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){const n=e.getElements();if(Ge._isStringArray(n)){const e=new Int32Array(n.length);for(let t=0,r=n.length;t<r;t++)e[t]=ke(n[t],0);return[n,e,!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)&&Ge._getStrictElement(this._originalSequence,e)===Ge._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,i){const a=[!1];let o=this.ComputeDiffRecursive(e,n,t,r,a);return i&&(o=this.PrettifyChanges(o)),{quitEarly:a[0],changes:o}}ComputeDiffRecursive(e,n,t,r,i){for(i[0]=!1;e<=n&&t<=r&&this.ElementsAreEqual(e,t);)e++,t++;for(;n>=e&&r>=t&&this.ElementsAreEqual(n,r);)n--,r--;if(e>n||t>r){let i;return t<=r?(Me.Assert(e===n+1,"originalStart should only be one more than originalEnd"),i=[new Le(e,0,t,r-t+1)]):e<=n?(Me.Assert(t===r+1,"modifiedStart should only be one more than modifiedEnd"),i=[new Le(e,n-e+1,t,0)]):(Me.Assert(e===n+1,"originalStart should only be one more than originalEnd"),Me.Assert(t===r+1,"modifiedStart should only be one more than modifiedEnd"),i=[]),i}const a=[0],o=[0],s=this.ComputeRecursionPoint(e,n,t,r,a,o,i),c=a[0],l=o[0];if(null!==s)return s;if(!i[0]){const a=this.ComputeDiffRecursive(e,c,t,l,i);let o=[];return o=i[0]?[new Le(c+1,n-(c+1)+1,l+1,r-(l+1)+1)]:this.ComputeDiffRecursive(c+1,n,l+1,r,i),this.ConcatenateChanges(a,o)}return[new Le(e,n-e+1,t,r-t+1)]}WALKTRACE(e,n,t,r,i,a,o,s,c,l,d,u,_,p,f,m,h,g){let y=null,v=null,b=new Fe,E=n,T=t,x=_[0]-m[0]-r,S=-1073741824,A=this.m_forwardHistory.length-1;do{const n=x+e;n===E||n<T&&c[n-1]<c[n+1]?(p=(d=c[n+1])-x-r,d<S&&b.MarkNextChange(),S=d,b.AddModifiedElement(d+1,p),x=n+1-e):(p=(d=c[n-1]+1)-x-r,d<S&&b.MarkNextChange(),S=d-1,b.AddOriginalElement(d,p+1),x=n-1-e),A>=0&&(e=(c=this.m_forwardHistory[A])[0],E=1,T=c.length-1)}while(--A>=-1);if(y=b.getReverseChanges(),g[0]){let e=_[0]+1,n=m[0]+1;if(null!==y&&y.length>0){const t=y[y.length-1];e=Math.max(e,t.getOriginalEnd()),n=Math.max(n,t.getModifiedEnd())}v=[new Le(e,u-e+1,n,f-n+1)]}else{b=new Fe,E=a,T=o,x=_[0]-m[0]-s,S=1073741824,A=h?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const e=x+i;e===E||e<T&&l[e-1]>=l[e+1]?(p=(d=l[e+1]-1)-x-s,d>S&&b.MarkNextChange(),S=d+1,b.AddOriginalElement(d+1,p+1),x=e+1-i):(p=(d=l[e-1])-x-s,d>S&&b.MarkNextChange(),S=d,b.AddModifiedElement(d+1,p+1),x=e-1-i),A>=0&&(i=(l=this.m_reverseHistory[A])[0],E=1,T=l.length-1)}while(--A>=-1);v=b.getChanges()}return this.ConcatenateChanges(y,v)}ComputeRecursionPoint(e,n,t,r,i,a,o){let s=0,c=0,l=0,d=0,u=0,_=0;e--,t--,i[0]=0,a[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const p=n-e+(r-t),f=p+1,m=new Int32Array(f),h=new Int32Array(f),g=r-t,y=n-e,v=e-t,b=n-r,E=(y-g)%2==0;m[g]=e,h[y]=n,o[0]=!1;for(let T=1;T<=p/2+1;T++){let p=0,x=0;l=this.ClipDiagonalBound(g-T,T,g,f),d=this.ClipDiagonalBound(g+T,T,g,f);for(let e=l;e<=d;e+=2){s=e===l||e<d&&m[e-1]<m[e+1]?m[e+1]:m[e-1]+1,c=s-(e-g)-v;const t=s;for(;s<n&&c<r&&this.ElementsAreEqual(s+1,c+1);)s++,c++;if(m[e]=s,s+c>p+x&&(p=s,x=c),!E&&Math.abs(e-y)<=T-1&&s>=h[e])return i[0]=s,a[0]=c,t<=h[e]&&T<=1448?this.WALKTRACE(g,l,d,v,y,u,_,b,m,h,s,n,i,c,r,a,E,o):null}const S=(p-e+(x-t)-T)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(p,S))return o[0]=!0,i[0]=p,a[0]=x,S>0&&T<=1448?this.WALKTRACE(g,l,d,v,y,u,_,b,m,h,s,n,i,c,r,a,E,o):(e++,t++,[new Le(e,n-e+1,t,r-t+1)]);u=this.ClipDiagonalBound(y-T,T,y,f),_=this.ClipDiagonalBound(y+T,T,y,f);for(let p=u;p<=_;p+=2){s=p===u||p<_&&h[p-1]>=h[p+1]?h[p+1]-1:h[p-1],c=s-(p-y)-b;const f=s;for(;s>e&&c>t&&this.ElementsAreEqual(s,c);)s--,c--;if(h[p]=s,E&&Math.abs(p-g)<=T&&s<=m[p])return i[0]=s,a[0]=c,f>=m[p]&&T<=1448?this.WALKTRACE(g,l,d,v,y,u,_,b,m,h,s,n,i,c,r,a,E,o):null}if(T<=1447){let e=new Int32Array(d-l+2);e[0]=g-l+1,Pe.Copy2(m,l,e,1,d-l+1),this.m_forwardHistory.push(e),e=new Int32Array(_-u+2),e[0]=y-u+1,Pe.Copy2(h,u,e,1,_-u+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(g,l,d,v,y,u,_,b,m,h,s,n,i,c,r,a,E,o)}PrettifyChanges(e){for(let n=0;n<e.length;n++){const t=e[n],r=n<e.length-1?e[n+1].originalStart:this._originalElementsOrHash.length,i=n<e.length-1?e[n+1].modifiedStart:this._modifiedElementsOrHash.length,a=t.originalLength>0,o=t.modifiedLength>0;for(;t.originalStart+t.originalLength<r&&t.modifiedStart+t.modifiedLength<i&&(!a||this.OriginalElementsAreEqual(t.originalStart,t.originalStart+t.originalLength))&&(!o||this.ModifiedElementsAreEqual(t.modifiedStart,t.modifiedStart+t.modifiedLength));){const e=this.ElementsAreStrictEqual(t.originalStart,t.modifiedStart);if(this.ElementsAreStrictEqual(t.originalStart+t.originalLength,t.modifiedStart+t.modifiedLength)&&!e)break;t.originalStart++,t.modifiedStart++}const s=[null];n<e.length-1&&this.ChangesOverlap(e[n],e[n+1],s)&&(e[n]=s[0],e.splice(n+1,1),n--)}for(let n=e.length-1;n>=0;n--){const t=e[n];let r=0,i=0;if(n>0){const t=e[n-1];r=t.originalStart+t.originalLength,i=t.modifiedStart+t.modifiedLength}const a=t.originalLength>0,o=t.modifiedLength>0;let s=0,c=this._boundaryScore(t.originalStart,t.originalLength,t.modifiedStart,t.modifiedLength);for(let e=1;;e++){const n=t.originalStart-e,l=t.modifiedStart-e;if(n<r||l<i)break;if(a&&!this.OriginalElementsAreEqual(n,n+t.originalLength))break;if(o&&!this.ModifiedElementsAreEqual(l,l+t.modifiedLength))break;const d=(n===r&&l===i?5:0)+this._boundaryScore(n,t.originalLength,l,t.modifiedLength);d>c&&(c=d,s=e)}t.originalStart-=s,t.modifiedStart-=s;const l=[null];n>0&&this.ChangesOverlap(e[n-1],e[n],l)&&(e[n-1]=l[0],e.splice(n,1),n++)}if(this._hasStrings)for(let n=1,t=e.length;n<t;n++){const t=e[n-1],r=e[n],i=r.originalStart-t.originalStart-t.originalLength,a=t.originalStart,o=r.originalStart+r.originalLength,s=o-a,c=t.modifiedStart,l=r.modifiedStart+r.modifiedLength,d=l-c;if(i<5&&s<20&&d<20){const e=this._findBetterContiguousSequence(a,s,c,d,i);if(e){const[n,a]=e;n===t.originalStart+t.originalLength&&a===t.modifiedStart+t.modifiedLength||(t.originalLength=n-t.originalStart,t.modifiedLength=a-t.modifiedStart,r.originalStart=n+i,r.modifiedStart=a+i,r.originalLength=o-r.originalStart,r.modifiedLength=l-r.modifiedStart)}}}return e}_findBetterContiguousSequence(e,n,t,r,i){if(n<i||r<i)return null;const a=e+n-i+1,o=t+r-i+1;let s=0,c=0,l=0;for(let n=e;n<a;n++)for(let e=t;e<o;e++){const t=this._contiguousSequenceScore(n,e,i);t>0&&t>s&&(s=t,c=n,l=e)}return s>0?[c,l]:null}_contiguousSequenceScore(e,n,t){let r=0;for(let i=0;i<t;i++){if(!this.ElementsAreEqual(e+i,n+i))return 0;r+=this._originalStringElements[e+i].length}return r}_OriginalIsBoundary(e){return e<=0||e>=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,n){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(n>0){const t=e+n;if(this._OriginalIsBoundary(t-1)||this._OriginalIsBoundary(t))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,n){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(n>0){const t=e+n;if(this._ModifiedIsBoundary(t-1)||this._ModifiedIsBoundary(t))return!0}return!1}_boundaryScore(e,n,t,r){return(this._OriginalRegionIsBoundary(e,n)?1:0)+(this._ModifiedRegionIsBoundary(t,r)?1:0)}ConcatenateChanges(e,n){const t=[];if(0===e.length||0===n.length)return n.length>0?n:e;if(this.ChangesOverlap(e[e.length-1],n[0],t)){const r=new Array(e.length+n.length-1);return Pe.Copy(e,0,r,0,e.length-1),r[e.length-1]=t[0],Pe.Copy(n,1,r,e.length,n.length-1),r}{const t=new Array(e.length+n.length);return Pe.Copy(e,0,t,0,e.length),Pe.Copy(n,0,t,e.length,n.length),t}}ChangesOverlap(e,n,t){if(Me.Assert(e.originalStart<=n.originalStart,"Left change is not less than or equal to right change"),Me.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){const r=e.originalStart;let i=e.originalLength;const 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 Le(r,i,a,o),!0}return t[0]=null,!1}ClipDiagonalBound(e,n,t,r){if(e>=0&&e<r)return e;const i=n%2==0;return e<0?i===(t%2==0)?0:1:i===((r-t-1)%2==0)?r-1:r-2}}if(void 0!==X.vscode&&void 0!==X.vscode.process){const e=X.vscode.process;he={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd:()=>e.cwd()}}else he="undefined"!=typeof process?{get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd:()=>process.env.VSCODE_CWD||process.cwd()}:{get platform(){return ee?"win32":ne?"darwin":"linux"},get arch(){},get env(){return{}},cwd:()=>"/"};const Be=he.cwd,Ue=he.env,Ve=he.platform,je=46,He=47,Ke=92,We=58;class qe 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";const i=-1!==e.indexOf(".")?"property":"argument";let a=`The "${e}" ${i} ${r} of type ${n}`;a+=". Received type "+typeof t,super(a),this.code="ERR_INVALID_ARG_TYPE"}}function ze(e,n){if("string"!=typeof e)throw new qe(n,"string",e)}const Je="win32"===Ve;function Xe(e){return e===He||e===Ke}function Ye(e){return e===He}function $e(e){return e>=65&&e<=90||e>=97&&e<=122}function Qe(e,n,t,r){let i="",a=0,o=-1,s=0,c=0;for(let l=0;l<=e.length;++l){if(l<e.length)c=e.charCodeAt(l);else{if(r(c))break;c=He}if(r(c)){if(o===l-1||1===s);else if(2===s){if(i.length<2||2!==a||i.charCodeAt(i.length-1)!==je||i.charCodeAt(i.length-2)!==je){if(i.length>2){const e=i.lastIndexOf(t);-1===e?(i="",a=0):(i=i.slice(0,e),a=i.length-1-i.lastIndexOf(t)),o=l,s=0;continue}if(0!==i.length){i="",a=0,o=l,s=0;continue}}n&&(i+=i.length>0?`${t}..`:"..",a=2)}else i.length>0?i+=`${t}${e.slice(o+1,l)}`:i=e.slice(o+1,l),a=l-o-1;o=l,s=0}else c===je&&-1!==s?++s:s=-1}return i}function Ze(e,n){!function(e,n){if(null===e||"object"!=typeof e)throw new qe("pathObject","Object",e)}(n);const t=n.dir||n.root,r=n.base||`${n.name||""}${n.ext||""}`;return t?t===n.root?`${t}${r}`:`${t}${e}${r}`:r}const en={resolve(...e){let n="",t="",r=!1;for(let i=e.length-1;i>=-1;i--){let a;if(i>=0){if(a=e[i],ze(a,"path"),0===a.length)continue}else 0===n.length?a=Be():(a=Ue[`=${n}`]||Be(),(void 0===a||a.slice(0,2).toLowerCase()!==n.toLowerCase()&&a.charCodeAt(2)===Ke)&&(a=`${n}\\`));const o=a.length;let s=0,c="",l=!1;const d=a.charCodeAt(0);if(1===o)Xe(d)&&(s=1,l=!0);else if(Xe(d))if(l=!0,Xe(a.charCodeAt(1))){let e=2,n=e;for(;e<o&&!Xe(a.charCodeAt(e));)e++;if(e<o&&e!==n){const t=a.slice(n,e);for(n=e;e<o&&Xe(a.charCodeAt(e));)e++;if(e<o&&e!==n){for(n=e;e<o&&!Xe(a.charCodeAt(e));)e++;e!==o&&e===n||(c=`\\\\${t}\\${a.slice(n,e)}`,s=e)}}}else s=1;else $e(d)&&a.charCodeAt(1)===We&&(c=a.slice(0,2),s=2,o>2&&Xe(a.charCodeAt(2))&&(l=!0,s=3));if(c.length>0)if(n.length>0){if(c.toLowerCase()!==n.toLowerCase())continue}else n=c;if(r){if(n.length>0)break}else if(t=`${a.slice(s)}\\${t}`,r=l,l&&n.length>0)break}return t=Qe(t,!r,"\\",Xe),r?`${n}\\${t}`:`${n}${t}`||"."},normalize(e){ze(e,"path");const n=e.length;if(0===n)return".";let t,r=0,i=!1;const a=e.charCodeAt(0);if(1===n)return Ye(a)?"\\":e;if(Xe(a))if(i=!0,Xe(e.charCodeAt(1))){let i=2,a=i;for(;i<n&&!Xe(e.charCodeAt(i));)i++;if(i<n&&i!==a){const o=e.slice(a,i);for(a=i;i<n&&Xe(e.charCodeAt(i));)i++;if(i<n&&i!==a){for(a=i;i<n&&!Xe(e.charCodeAt(i));)i++;if(i===n)return`\\\\${o}\\${e.slice(a)}\\`;i!==a&&(t=`\\\\${o}\\${e.slice(a,i)}`,r=i)}}}else r=1;else $e(a)&&e.charCodeAt(1)===We&&(t=e.slice(0,2),r=2,n>2&&Xe(e.charCodeAt(2))&&(i=!0,r=3));let o=r<n?Qe(e.slice(r),!i,"\\",Xe):"";return 0!==o.length||i||(o="."),o.length>0&&Xe(e.charCodeAt(n-1))&&(o+="\\"),void 0===t?i?`\\${o}`:o:i?`${t}\\${o}`:`${t}${o}`},isAbsolute(e){ze(e,"path");const n=e.length;if(0===n)return!1;const t=e.charCodeAt(0);return Xe(t)||n>2&&$e(t)&&e.charCodeAt(1)===We&&Xe(e.charCodeAt(2))},join(...e){if(0===e.length)return".";let n,t;for(let r=0;r<e.length;++r){const i=e[r];ze(i,"path"),i.length>0&&(void 0===n?n=t=i:n+=`\\${i}`)}if(void 0===n)return".";let r=!0,i=0;if("string"==typeof t&&Xe(t.charCodeAt(0))){++i;const e=t.length;e>1&&Xe(t.charCodeAt(1))&&(++i,e>2&&(Xe(t.charCodeAt(2))?++i:r=!1))}if(r){for(;i<n.length&&Xe(n.charCodeAt(i));)i++;i>=2&&(n=`\\${n.slice(i)}`)}return en.normalize(n)},relative(e,n){if(ze(e,"from"),ze(n,"to"),e===n)return"";const t=en.resolve(e),r=en.resolve(n);if(t===r)return"";if((e=t.toLowerCase())===(n=r.toLowerCase()))return"";let i=0;for(;i<e.length&&e.charCodeAt(i)===Ke;)i++;let a=e.length;for(;a-1>i&&e.charCodeAt(a-1)===Ke;)a--;const o=a-i;let s=0;for(;s<n.length&&n.charCodeAt(s)===Ke;)s++;let c=n.length;for(;c-1>s&&n.charCodeAt(c-1)===Ke;)c--;const l=c-s,d=o<l?o:l;let u=-1,_=0;for(;_<d;_++){const t=e.charCodeAt(i+_);if(t!==n.charCodeAt(s+_))break;t===Ke&&(u=_)}if(_!==d){if(-1===u)return r}else{if(l>d){if(n.charCodeAt(s+_)===Ke)return r.slice(s+_+1);if(2===_)return r.slice(s+_)}o>d&&(e.charCodeAt(i+_)===Ke?u=_:2===_&&(u=3)),-1===u&&(u=0)}let p="";for(_=i+u+1;_<=a;++_)_!==a&&e.charCodeAt(_)!==Ke||(p+=0===p.length?"..":"\\..");return s+=u,p.length>0?`${p}${r.slice(s,c)}`:(r.charCodeAt(s)===Ke&&++s,r.slice(s,c))},toNamespacedPath(e){if("string"!=typeof e||0===e.length)return e;const n=en.resolve(e);if(n.length<=2)return e;if(n.charCodeAt(0)===Ke){if(n.charCodeAt(1)===Ke){const e=n.charCodeAt(2);if(63!==e&&e!==je)return`\\\\?\\UNC\\${n.slice(2)}`}}else if($e(n.charCodeAt(0))&&n.charCodeAt(1)===We&&n.charCodeAt(2)===Ke)return`\\\\?\\${n}`;return e},dirname(e){ze(e,"path");const n=e.length;if(0===n)return".";let t=-1,r=0;const i=e.charCodeAt(0);if(1===n)return Xe(i)?e:".";if(Xe(i)){if(t=r=1,Xe(e.charCodeAt(1))){let i=2,a=i;for(;i<n&&!Xe(e.charCodeAt(i));)i++;if(i<n&&i!==a){for(a=i;i<n&&Xe(e.charCodeAt(i));)i++;if(i<n&&i!==a){for(a=i;i<n&&!Xe(e.charCodeAt(i));)i++;if(i===n)return e;i!==a&&(t=r=i+1)}}}}else $e(i)&&e.charCodeAt(1)===We&&(t=n>2&&Xe(e.charCodeAt(2))?3:2,r=t);let a=-1,o=!0;for(let t=n-1;t>=r;--t)if(Xe(e.charCodeAt(t))){if(!o){a=t;break}}else o=!1;if(-1===a){if(-1===t)return".";a=t}return e.slice(0,a)},basename(e,n){void 0!==n&&ze(n,"ext"),ze(e,"path");let t,r=0,i=-1,a=!0;if(e.length>=2&&$e(e.charCodeAt(0))&&e.charCodeAt(1)===We&&(r=2),void 0!==n&&n.length>0&&n.length<=e.length){if(n===e)return"";let o=n.length-1,s=-1;for(t=e.length-1;t>=r;--t){const c=e.charCodeAt(t);if(Xe(c)){if(!a){r=t+1;break}}else-1===s&&(a=!1,s=t+1),o>=0&&(c===n.charCodeAt(o)?-1==--o&&(i=t):(o=-1,i=s))}return r===i?i=s:-1===i&&(i=e.length),e.slice(r,i)}for(t=e.length-1;t>=r;--t)if(Xe(e.charCodeAt(t))){if(!a){r=t+1;break}}else-1===i&&(a=!1,i=t+1);return-1===i?"":e.slice(r,i)},extname(e){ze(e,"path");let n=0,t=-1,r=0,i=-1,a=!0,o=0;e.length>=2&&e.charCodeAt(1)===We&&$e(e.charCodeAt(0))&&(n=r=2);for(let s=e.length-1;s>=n;--s){const n=e.charCodeAt(s);if(Xe(n)){if(!a){r=s+1;break}}else-1===i&&(a=!1,i=s+1),n===je?-1===t?t=s:1!==o&&(o=1):-1!==t&&(o=-1)}return-1===t||-1===i||0===o||1===o&&t===i-1&&t===r+1?"":e.slice(t,i)},format:Ze.bind(null,"\\"),parse(e){ze(e,"path");const n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;const t=e.length;let r=0,i=e.charCodeAt(0);if(1===t)return Xe(i)?(n.root=n.dir=e,n):(n.base=n.name=e,n);if(Xe(i)){if(r=1,Xe(e.charCodeAt(1))){let n=2,i=n;for(;n<t&&!Xe(e.charCodeAt(n));)n++;if(n<t&&n!==i){for(i=n;n<t&&Xe(e.charCodeAt(n));)n++;if(n<t&&n!==i){for(i=n;n<t&&!Xe(e.charCodeAt(n));)n++;n===t?r=n:n!==i&&(r=n+1)}}}}else if($e(i)&&e.charCodeAt(1)===We){if(t<=2)return n.root=n.dir=e,n;if(r=2,Xe(e.charCodeAt(2))){if(3===t)return n.root=n.dir=e,n;r=3}}r>0&&(n.root=e.slice(0,r));let a=-1,o=r,s=-1,c=!0,l=e.length-1,d=0;for(;l>=r;--l)if(i=e.charCodeAt(l),Xe(i)){if(!c){o=l+1;break}}else-1===s&&(c=!1,s=l+1),i===je?-1===a?a=l:1!==d&&(d=1):-1!==a&&(d=-1);return-1!==s&&(-1===a||0===d||1===d&&a===s-1&&a===o+1?n.base=n.name=e.slice(o,s):(n.name=e.slice(o,a),n.base=e.slice(o,s),n.ext=e.slice(a,s))),n.dir=o>0&&o!==r?e.slice(0,o-1):n.root,n},sep:"\\",delimiter:";",win32:null,posix:null},nn=(()=>{if(Je){const e=/\\/g;return()=>{const n=Be().replace(e,"/");return n.slice(n.indexOf("/"))}}return()=>Be()})(),tn={resolve(...e){let n="",t=!1;for(let r=e.length-1;r>=-1&&!t;r--){const i=r>=0?e[r]:nn();ze(i,"path"),0!==i.length&&(n=`${i}/${n}`,t=i.charCodeAt(0)===He)}return n=Qe(n,!t,"/",Ye),t?`/${n}`:n.length>0?n:"."},normalize(e){if(ze(e,"path"),0===e.length)return".";const n=e.charCodeAt(0)===He,t=e.charCodeAt(e.length-1)===He;return 0===(e=Qe(e,!n,"/",Ye)).length?n?"/":t?"./":".":(t&&(e+="/"),n?`/${e}`:e)},isAbsolute:e=>(ze(e,"path"),e.length>0&&e.charCodeAt(0)===He),join(...e){if(0===e.length)return".";let n;for(let t=0;t<e.length;++t){const r=e[t];ze(r,"path"),r.length>0&&(void 0===n?n=r:n+=`/${r}`)}return void 0===n?".":tn.normalize(n)},relative(e,n){if(ze(e,"from"),ze(n,"to"),e===n)return"";if((e=tn.resolve(e))===(n=tn.resolve(n)))return"";const t=e.length,r=t-1,i=n.length-1,a=r<i?r:i;let o=-1,s=0;for(;s<a;s++){const t=e.charCodeAt(1+s);if(t!==n.charCodeAt(1+s))break;t===He&&(o=s)}if(s===a)if(i>a){if(n.charCodeAt(1+s)===He)return n.slice(1+s+1);if(0===s)return n.slice(1+s)}else r>a&&(e.charCodeAt(1+s)===He?o=s:0===s&&(o=0));let c="";for(s=1+o+1;s<=t;++s)s!==t&&e.charCodeAt(s)!==He||(c+=0===c.length?"..":"/..");return`${c}${n.slice(1+o)}`},toNamespacedPath:e=>e,dirname(e){if(ze(e,"path"),0===e.length)return".";const n=e.charCodeAt(0)===He;let t=-1,r=!0;for(let n=e.length-1;n>=1;--n)if(e.charCodeAt(n)===He){if(!r){t=n;break}}else r=!1;return-1===t?n?"/":".":n&&1===t?"//":e.slice(0,t)},basename(e,n){void 0!==n&&ze(n,"ext"),ze(e,"path");let t,r=0,i=-1,a=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n===e)return"";let o=n.length-1,s=-1;for(t=e.length-1;t>=0;--t){const c=e.charCodeAt(t);if(c===He){if(!a){r=t+1;break}}else-1===s&&(a=!1,s=t+1),o>=0&&(c===n.charCodeAt(o)?-1==--o&&(i=t):(o=-1,i=s))}return r===i?i=s:-1===i&&(i=e.length),e.slice(r,i)}for(t=e.length-1;t>=0;--t)if(e.charCodeAt(t)===He){if(!a){r=t+1;break}}else-1===i&&(a=!1,i=t+1);return-1===i?"":e.slice(r,i)},extname(e){ze(e,"path");let n=-1,t=0,r=-1,i=!0,a=0;for(let o=e.length-1;o>=0;--o){const s=e.charCodeAt(o);if(s!==He)-1===r&&(i=!1,r=o+1),s===je?-1===n?n=o:1!==a&&(a=1):-1!==n&&(a=-1);else if(!i){t=o+1;break}}return-1===n||-1===r||0===a||1===a&&n===r-1&&n===t+1?"":e.slice(n,r)},format:Ze.bind(null,"/"),parse(e){ze(e,"path");const n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;const t=e.charCodeAt(0)===He;let r;t?(n.root="/",r=1):r=0;let i=-1,a=0,o=-1,s=!0,c=e.length-1,l=0;for(;c>=r;--c){const n=e.charCodeAt(c);if(n!==He)-1===o&&(s=!1,o=c+1),n===je?-1===i?i=c:1!==l&&(l=1):-1!==i&&(l=-1);else if(!s){a=c+1;break}}if(-1!==o){const r=0===a&&t?1:a;-1===i||0===l||1===l&&i===o-1&&i===a+1?n.base=n.name=e.slice(r,o):(n.name=e.slice(r,i),n.base=e.slice(r,o),n.ext=e.slice(i,o))}return a>0?n.dir=e.slice(0,a-1):t&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};tn.win32=en.win32=en,tn.posix=en.posix=tn,Je?en.normalize:tn.normalize,Je?en.resolve:tn.resolve,Je?en.relative:tn.relative,Je?en.dirname:tn.dirname,Je?en.basename:tn.basename,Je?en.extname:tn.extname,Je?en.sep:tn.sep;const rn=/^\w[\w\d+.-]*$/,an=/^\//,on=/^\/\//,sn="",cn="/",ln=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class dn{static isUri(e){return e instanceof dn||!!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}constructor(e,n,t,r,i,a=!1){"object"==typeof e?(this.scheme=e.scheme||sn,this.authority=e.authority||sn,this.path=e.path||sn,this.query=e.query||sn,this.fragment=e.fragment||sn):(this.scheme=function(e,n){return e||n?e:"file"}(e,a),this.authority=n||sn,this.path=function(e,n){switch(e){case"https":case"http":case"file":n?n[0]!==cn&&(n=cn+n):n=cn}return n}(this.scheme,t||sn),this.query=r||sn,this.fragment=i||sn,function(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&&!rn.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!an.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(on.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 ("//")')}(this,a))}get fsPath(){return hn(this,!1)}with(e){if(!e)return this;let{scheme:n,authority:t,path:r,query:i,fragment:a}=e;return void 0===n?n=this.scheme:null===n&&(n=sn),void 0===t?t=this.authority:null===t&&(t=sn),void 0===r?r=this.path:null===r&&(r=sn),void 0===i?i=this.query:null===i&&(i=sn),void 0===a?a=this.fragment:null===a&&(a=sn),n===this.scheme&&t===this.authority&&r===this.path&&i===this.query&&a===this.fragment?this:new _n(n,t,r,i,a)}static parse(e,n=!1){const t=ln.exec(e);return t?new _n(t[2]||sn,bn(t[4]||sn),bn(t[5]||sn),bn(t[7]||sn),bn(t[9]||sn),n):new _n(sn,sn,sn,sn,sn)}static file(e){let n=sn;if(ee&&(e=e.replace(/\\/g,cn)),e[0]===cn&&e[1]===cn){const t=e.indexOf(cn,2);-1===t?(n=e.substring(2),e=cn):(n=e.substring(2,t),e=e.substring(t)||cn)}return new _n("file",n,e,sn,sn)}static from(e,n){return new _n(e.scheme,e.authority,e.path,e.query,e.fragment,n)}static joinPath(e,...n){if(!e.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let t;return t=ee&&"file"===e.scheme?dn.file(en.join(hn(e,!0),...n)).path:tn.join(e.path,...n),e.with({path:t})}toString(e=!1){return gn(this,e)}toJSON(){return this}static revive(e){var n,t;if(e){if(e instanceof dn)return e;{const r=new _n(e);return r._formatted=null!==(n=e.external)&&void 0!==n?n:null,r._fsPath=e._sep===un&&null!==(t=e.fsPath)&&void 0!==t?t:null,r}}return e}}const un=ee?1:void 0;class _n extends dn{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=hn(this,!1)),this._fsPath}toString(e=!1){return e?gn(this,!0):(this._formatted||(this._formatted=gn(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=un),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 pn={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 fn(e,n,t){let r,i=-1;for(let a=0;a<e.length;a++){const o=e.charCodeAt(a);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||n&&47===o||t&&91===o||t&&93===o||t&&58===o)-1!==i&&(r+=encodeURIComponent(e.substring(i,a)),i=-1),void 0!==r&&(r+=e.charAt(a));else{void 0===r&&(r=e.substr(0,a));const n=pn[o];void 0!==n?(-1!==i&&(r+=encodeURIComponent(e.substring(i,a)),i=-1),r+=n):-1===i&&(i=a)}}return-1!==i&&(r+=encodeURIComponent(e.substring(i))),void 0!==r?r:e}function mn(e){let n;for(let t=0;t<e.length;t++){const r=e.charCodeAt(t);35===r||63===r?(void 0===n&&(n=e.substr(0,t)),n+=pn[r]):void 0!==n&&(n+=e[t])}return void 0!==n?n:e}function hn(e,n){let t;return t=e.authority&&e.path.length>1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&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,ee&&(t=t.replace(/\//g,"\\")),t}function gn(e,n){const t=n?mn:fn;let r="",{scheme:i,authority:a,path:o,query:s,fragment:c}=e;if(i&&(r+=i,r+=":"),(a||"file"===i)&&(r+=cn,r+=cn),a){let e=a.indexOf("@");if(-1!==e){const n=a.substr(0,e);a=a.substr(e+1),e=n.lastIndexOf(":"),-1===e?r+=t(n,!1,!1):(r+=t(n.substr(0,e),!1,!1),r+=":",r+=t(n.substr(e+1),!1,!0)),r+="@"}a=a.toLowerCase(),e=a.lastIndexOf(":"),-1===e?r+=t(a,!1,!0):(r+=t(a.substr(0,e),!1,!0),r+=a.substr(e))}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2)){const e=o.charCodeAt(1);e>=65&&e<=90&&(o=`/${String.fromCharCode(e+32)}:${o.substr(3)}`)}else if(o.length>=2&&58===o.charCodeAt(1)){const e=o.charCodeAt(0);e>=65&&e<=90&&(o=`${String.fromCharCode(e+32)}:${o.substr(2)}`)}r+=t(o,!0,!1)}return s&&(r+="?",r+=t(s,!1,!1)),c&&(r+="#",r+=n?c:fn(c,!1,!1)),r}function yn(e){try{return decodeURIComponent(e)}catch(n){return e.length>3?e.substr(0,3)+yn(e.substr(3)):e}}const vn=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function bn(e){return e.match(vn)?e.replace(vn,(e=>yn(e))):e}class En{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 En(e,n)}delta(e=0,n=0){return this.with(this.lineNumber+e,this.column+n)}equals(e){return En.equals(this,e)}static equals(e,n){return!e&&!n||!!e&&!!n&&e.lineNumber===n.lineNumber&&e.column===n.column}isBefore(e){return En.isBefore(this,e)}static isBefore(e,n){return e.lineNumber<n.lineNumber||!(n.lineNumber<e.lineNumber)&&e.column<n.column}isBeforeOrEqual(e){return En.isBeforeOrEqual(this,e)}static isBeforeOrEqual(e,n){return e.lineNumber<n.lineNumber||!(n.lineNumber<e.lineNumber)&&e.column<=n.column}static compare(e,n){const t=0|e.lineNumber,r=0|n.lineNumber;return t===r?(0|e.column)-(0|n.column):t-r}clone(){return new En(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(e){return new En(e.lineNumber,e.column)}static isIPosition(e){return e&&"number"==typeof e.lineNumber&&"number"==typeof e.column}}class Tn{constructor(e,n,t,r){e>t||e===t&&n>r?(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 Tn.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return Tn.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)}static strictContainsPosition(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 Tn.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 Tn.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 Tn.plusRange(this,e)}static plusRange(e,n){let t,r,i,a;return n.startLineNumber<e.startLineNumber?(t=n.startLineNumber,r=n.startColumn):n.startLineNumber===e.startLineNumber?(t=n.startLineNumber,r=Math.min(n.startColumn,e.startColumn)):(t=e.startLineNumber,r=e.startColumn),n.endLineNumber>e.endLineNumber?(i=n.endLineNumber,a=n.endColumn):n.endLineNumber===e.endLineNumber?(i=n.endLineNumber,a=Math.max(n.endColumn,e.endColumn)):(i=e.endLineNumber,a=e.endColumn),new Tn(t,r,i,a)}intersectRanges(e){return Tn.intersectRanges(this,e)}static intersectRanges(e,n){let t=e.startLineNumber,r=e.startColumn,i=e.endLineNumber,a=e.endColumn;const o=n.startLineNumber,s=n.startColumn,c=n.endLineNumber,l=n.endColumn;return t<o?(t=o,r=s):t===o&&(r=Math.max(r,s)),i>c?(i=c,a=l):i===c&&(a=Math.min(a,l)),t>i||t===i&&r>a?null:new Tn(t,r,i,a)}equalsRange(e){return Tn.equalsRange(this,e)}static equalsRange(e,n){return!e&&!n||!!e&&!!n&&e.startLineNumber===n.startLineNumber&&e.startColumn===n.startColumn&&e.endLineNumber===n.endLineNumber&&e.endColumn===n.endColumn}getEndPosition(){return Tn.getEndPosition(this)}static getEndPosition(e){return new En(e.endLineNumber,e.endColumn)}getStartPosition(){return Tn.getStartPosition(this)}static getStartPosition(e){return new En(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,n){return new Tn(this.startLineNumber,this.startColumn,e,n)}setStartPosition(e,n){return new Tn(e,n,this.endLineNumber,this.endColumn)}collapseToStart(){return Tn.collapseToStart(this)}static collapseToStart(e){return new Tn(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}collapseToEnd(){return Tn.collapseToEnd(this)}static collapseToEnd(e){return new Tn(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn)}delta(e){return new Tn(this.startLineNumber+e,this.startColumn,this.endLineNumber+e,this.endColumn)}static fromPositions(e,n=e){return new Tn(e.lineNumber,e.column,n.lineNumber,n.column)}static lift(e){return e?new Tn(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){if(e&&n){const t=0|e.startLineNumber,r=0|n.startLineNumber;if(t===r){const t=0|e.startColumn,r=0|n.startColumn;if(t===r){const t=0|e.endLineNumber,r=0|n.endLineNumber;return t===r?(0|e.endColumn)-(0|n.endColumn):t-r}return t-r}return t-r}return(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}toJSON(){return this}}function xn(e,n){for(let t=e.length-1;t>=0;t--)if(n(e[t]))return t;return-1}var Sn;function An(e,n){return(t,r)=>n(e(t),e(r))}!function(e){e.isLessThan=function(e){return e<0},e.isLessThanOrEqual=function(e){return e<=0},e.isGreaterThan=function(e){return e>0},e.isNeitherLessOrGreaterThan=function(e){return 0===e},e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0}(Sn||(Sn={}));const Ln=(e,n)=>e-n;class Cn{constructor(e){this.iterate=e}toArray(){const e=[];return this.iterate((n=>(e.push(n),!0))),e}filter(e){return new Cn((n=>this.iterate((t=>!e(t)||n(t)))))}map(e){return new Cn((n=>this.iterate((t=>n(e(t))))))}findLast(e){let n;return this.iterate((t=>(e(t)&&(n=t),!0))),n}findLastMaxBy(e){let n,t=!0;return this.iterate((r=>((t||Sn.isGreaterThan(e(r,n)))&&(t=!1,n=r),!0))),n}}function kn(e){return e<0?0:e>255?255:0|e}function In(e){return e<0?0:e>4294967295?4294967295:0|e}Cn.empty=new Cn((e=>{}));class wn{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,n){e=In(e);const t=this.values,r=this.prefixSum,i=n.length;return 0!==i&&(this.values=new Uint32Array(t.length+i),this.values.set(t.subarray(0,e),0),this.values.set(t.subarray(e),e+i),this.values.set(n,e),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,n){return e=In(e),n=In(n),this.values[e]!==n&&(this.values[e]=n,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)}removeValues(e,n){e=In(e),n=In(n);const t=this.values,r=this.prefixSum;if(e>=t.length)return!1;const i=t.length-e;return n>=i&&(n=i),0!==n&&(this.values=new Uint32Array(t.length-n),this.values.set(t.subarray(0,e),0),this.values.set(t.subarray(e+n),e),this.prefixSum=new Uint32Array(this.values.length),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(r.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=In(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];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];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let n=0,t=this.values.length-1,r=0,i=0,a=0;for(;n<=t;)if(r=n+(t-n)/2|0,i=this.prefixSum[r],a=i-this.values[r],e<a)t=r-1;else{if(!(e>=i))break;n=r+1}return new Rn(r,e-a)}}class Rn{constructor(e,n){this.index=e,this.remainder=n,this._prefixSumIndexOfResultBrand=void 0,this.index=e,this.remainder=n}}class Nn{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);const n=e.changes;for(const e of n)this._acceptDeleteRange(e.range),this._acceptInsertText(new En(e.range.startLineNumber,e.range.startColumn),e.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const 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 wn(t)}}_setLineText(e,n){this._lines[e]=n,this._lineStarts&&this._lineStarts.setValue(e,this._lines[e].length+this._eol.length)}_acceptDeleteRange(e){if(e.startLineNumber!==e.endLineNumber)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);else{if(e.startColumn===e.endColumn)return;this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.startLineNumber-1].substring(e.endColumn-1))}}_acceptInsertText(e,n){if(0===n.length)return;const t=n.split(/\r\n|\r|\n/);if(1===t.length)return void 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));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]);const 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)}}const Dn=function(e=""){let n="(-?\\d*\\.\\d\\w*)|([^";for(const t of"`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?")e.indexOf(t)>=0||(n+="\\"+t);return n+="\\s]+)",new RegExp(n,"g")}(),On=new v;function Mn(e,n,t,r,i){if(i||(i=l.first(On)),t.length>i.maxLen){let a=e-i.maxLen/2;return a<0?a=0:r+=a,Mn(e,n,t=t.substring(a,e+i.maxLen/2),r,i)}const a=Date.now(),o=e-1-r;let s=-1,c=null;for(let e=1;!(Date.now()-a>=i.timeBudget);e++){const r=o-i.windowSize*e;n.lastIndex=Math.max(0,r);const a=Pn(n,t,o,s);if(!a&&c)break;if(c=a,r<=0)break;s=r}if(c){const e={word:c[0],startColumn:r+1+c.index,endColumn:r+1+c.index+c[0].length};return n.lastIndex=0,e}return null}function Pn(e,n,t,r){let i;for(;i=e.exec(n);){const n=i.index||0;if(n<=t&&e.lastIndex>=t)return i;if(r>0&&n>r)return null}return null}On.unshift({maxLen:1e3,windowSize:15,timeBudget:150});class Fn{constructor(e){const n=kn(e);this._defaultValue=n,this._asciiMap=Fn._createAsciiMap(n),this._map=new Map}static _createAsciiMap(e){const n=new Uint8Array(256);return n.fill(e),n}set(e,n){const t=kn(n);e>=0&&e<256?this._asciiMap[e]=t:this._map.set(e,t)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class Gn{constructor(e,n,t){const r=new Uint8Array(e*n);for(let i=0,a=e*n;i<a;i++)r[i]=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 Bn{constructor(e){let n=0,t=0;for(let r=0,i=e.length;r<i;r++){const[i,a,o]=e[r];a>n&&(n=a),i>t&&(t=i),o>t&&(t=o)}n++,t++;const r=new Gn(t,n,0);for(let n=0,t=e.length;n<t;n++){const[t,i,a]=e[n];r.set(t,i,a)}this._states=r,this._maxCharCode=n}nextState(e,n){return n<0||n>=this._maxCharCode?0:this._states.get(e,n)}}let Un=null,Vn=null;class jn{static _createLink(e,n,t,r,i){let a=i-1;do{const t=n.charCodeAt(a);if(2!==e.get(t))break;a--}while(a>r);if(r>0){const e=n.charCodeAt(r-1),t=n.charCodeAt(a);(40===e&&41===t||91===e&&93===t||123===e&&125===t)&&a--}return{range:{startLineNumber:t,startColumn:r+1,endLineNumber:t,endColumn:a+2},url:n.substring(r,a+1)}}static computeLinks(e,n=function(){return null===Un&&(Un=new Bn([[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]])),Un}()){const t=function(){if(null===Vn){Vn=new Fn(0);const e=" \t<>'\"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…";for(let n=0;n<e.length;n++)Vn.set(e.charCodeAt(n),1);const n=".,;:";for(let e=0;e<n.length;e++)Vn.set(n.charCodeAt(e),2)}return Vn}(),r=[];for(let i=1,a=e.getLineCount();i<=a;i++){const a=e.getLineContent(i),o=a.length;let s=0,c=0,l=0,d=1,u=!1,_=!1,p=!1,f=!1;for(;s<o;){let e=!1;const o=a.charCodeAt(s);if(13===d){let n;switch(o){case 40:u=!0,n=0;break;case 41:n=u?0:1;break;case 91:p=!0,_=!0,n=0;break;case 93:p=!1,n=_?0:1;break;case 123:f=!0,n=0;break;case 125:n=f?0:1;break;case 39:case 34:case 96:n=l===o?1:39===l||34===l||96===l?0:1;break;case 42:n=42===l?1:0;break;case 124:n=124===l?1:0;break;case 32:n=p?0:1;break;default:n=t.get(o)}1===n&&(r.push(jn._createLink(t,a,i,c,s)),e=!0)}else if(12===d){let n;91===o?(_=!0,n=0):n=t.get(o),1===n?e=!0:d=13}else d=n.nextState(d,o),0===d&&(e=!0);e&&(d=1,u=!1,_=!1,f=!1,c=s+1,l=o),s++}13===d&&r.push(jn._createLink(t,a,i,c,o))}return r}}class Hn{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(e,n,t,r,i){if(e&&n){const t=this.doNavigateValueSet(n,i);if(t)return{range:e,value:t}}if(t&&r){const e=this.doNavigateValueSet(r,i);if(e)return{range:t,value:e}}return null}doNavigateValueSet(e,n){const t=this.numberReplace(e,n);return null!==t?t:this.textReplace(e,n)}numberReplace(e,n){const t=Math.pow(10,e.length-(e.lastIndexOf(".")+1));let r=Number(e);const i=parseFloat(e);return isNaN(r)||isNaN(i)||r!==i?null:0!==r||n?(r=Math.floor(r*t),r+=n?t:-t,String(r/t)):null}textReplace(e,n){return this.valueSetsReplace(this._defaultValueSet,e,n)}valueSetsReplace(e,n,t){let r=null;for(let i=0,a=e.length;null===r&&i<a;i++)r=this.valueSetReplace(e[i],n,t);return r}valueSetReplace(e,n,t){let r=e.indexOf(n);return r>=0?(r+=t?1:-1,r<0?r=e.length-1:r%=e.length,e[r]):null}}Hn.INSTANCE=new Hn;const Kn=Object.freeze((function(e,n){const t=setTimeout(e.bind(n),0);return{dispose(){clearTimeout(t)}}}));var Wn;!function(e){e.isCancellationToken=function(n){return n===e.None||n===e.Cancelled||n instanceof qn||!(!n||"object"!=typeof n)&&"boolean"==typeof n.isCancellationRequested&&"function"==typeof n.onCancellationRequested},e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:T.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:Kn})}(Wn||(Wn={}));class qn{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?Kn:(this._emitter||(this._emitter=new C),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class zn{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 Jn=new zn,Xn=new zn,Yn=new zn,$n=new Array(230),Qn={},Zn=[],et=Object.create(null),nt=Object.create(null),tt=[],rt=[];for(let e=0;e<=193;e++)tt[e]=-1;for(let e=0;e<=132;e++)rt[e]=-1;var it;!function(){const e="",n=[[1,0,"None",0,"unknown",0,"VK_UNKNOWN",e,e],[1,1,"Hyper",0,e,0,e,e,e],[1,2,"Super",0,e,0,e,e,e],[1,3,"Fn",0,e,0,e,e,e],[1,4,"FnLock",0,e,0,e,e,e],[1,5,"Suspend",0,e,0,e,e,e],[1,6,"Resume",0,e,0,e,e,e],[1,7,"Turbo",0,e,0,e,e,e],[1,8,"Sleep",0,e,0,"VK_SLEEP",e,e],[1,9,"WakeUp",0,e,0,e,e,e],[0,10,"KeyA",31,"A",65,"VK_A",e,e],[0,11,"KeyB",32,"B",66,"VK_B",e,e],[0,12,"KeyC",33,"C",67,"VK_C",e,e],[0,13,"KeyD",34,"D",68,"VK_D",e,e],[0,14,"KeyE",35,"E",69,"VK_E",e,e],[0,15,"KeyF",36,"F",70,"VK_F",e,e],[0,16,"KeyG",37,"G",71,"VK_G",e,e],[0,17,"KeyH",38,"H",72,"VK_H",e,e],[0,18,"KeyI",39,"I",73,"VK_I",e,e],[0,19,"KeyJ",40,"J",74,"VK_J",e,e],[0,20,"KeyK",41,"K",75,"VK_K",e,e],[0,21,"KeyL",42,"L",76,"VK_L",e,e],[0,22,"KeyM",43,"M",77,"VK_M",e,e],[0,23,"KeyN",44,"N",78,"VK_N",e,e],[0,24,"KeyO",45,"O",79,"VK_O",e,e],[0,25,"KeyP",46,"P",80,"VK_P",e,e],[0,26,"KeyQ",47,"Q",81,"VK_Q",e,e],[0,27,"KeyR",48,"R",82,"VK_R",e,e],[0,28,"KeyS",49,"S",83,"VK_S",e,e],[0,29,"KeyT",50,"T",84,"VK_T",e,e],[0,30,"KeyU",51,"U",85,"VK_U",e,e],[0,31,"KeyV",52,"V",86,"VK_V",e,e],[0,32,"KeyW",53,"W",87,"VK_W",e,e],[0,33,"KeyX",54,"X",88,"VK_X",e,e],[0,34,"KeyY",55,"Y",89,"VK_Y",e,e],[0,35,"KeyZ",56,"Z",90,"VK_Z",e,e],[0,36,"Digit1",22,"1",49,"VK_1",e,e],[0,37,"Digit2",23,"2",50,"VK_2",e,e],[0,38,"Digit3",24,"3",51,"VK_3",e,e],[0,39,"Digit4",25,"4",52,"VK_4",e,e],[0,40,"Digit5",26,"5",53,"VK_5",e,e],[0,41,"Digit6",27,"6",54,"VK_6",e,e],[0,42,"Digit7",28,"7",55,"VK_7",e,e],[0,43,"Digit8",29,"8",56,"VK_8",e,e],[0,44,"Digit9",30,"9",57,"VK_9",e,e],[0,45,"Digit0",21,"0",48,"VK_0",e,e],[1,46,"Enter",3,"Enter",13,"VK_RETURN",e,e],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE",e,e],[1,48,"Backspace",1,"Backspace",8,"VK_BACK",e,e],[1,49,"Tab",2,"Tab",9,"VK_TAB",e,e],[1,50,"Space",10,"Space",32,"VK_SPACE",e,e],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,e,0,e,e,e],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL",e,e],[1,64,"F1",59,"F1",112,"VK_F1",e,e],[1,65,"F2",60,"F2",113,"VK_F2",e,e],[1,66,"F3",61,"F3",114,"VK_F3",e,e],[1,67,"F4",62,"F4",115,"VK_F4",e,e],[1,68,"F5",63,"F5",116,"VK_F5",e,e],[1,69,"F6",64,"F6",117,"VK_F6",e,e],[1,70,"F7",65,"F7",118,"VK_F7",e,e],[1,71,"F8",66,"F8",119,"VK_F8",e,e],[1,72,"F9",67,"F9",120,"VK_F9",e,e],[1,73,"F10",68,"F10",121,"VK_F10",e,e],[1,74,"F11",69,"F11",122,"VK_F11",e,e],[1,75,"F12",70,"F12",123,"VK_F12",e,e],[1,76,"PrintScreen",0,e,0,e,e,e],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL",e,e],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE",e,e],[1,79,"Insert",19,"Insert",45,"VK_INSERT",e,e],[1,80,"Home",14,"Home",36,"VK_HOME",e,e],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR",e,e],[1,82,"Delete",20,"Delete",46,"VK_DELETE",e,e],[1,83,"End",13,"End",35,"VK_END",e,e],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT",e,e],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",e],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",e],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",e],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",e],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK",e,e],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE",e,e],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY",e,e],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT",e,e],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD",e,e],[1,94,"NumpadEnter",3,e,0,e,e,e],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1",e,e],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2",e,e],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3",e,e],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4",e,e],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5",e,e],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6",e,e],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7",e,e],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8",e,e],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9",e,e],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0",e,e],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL",e,e],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102",e,e],[1,107,"ContextMenu",58,"ContextMenu",93,e,e,e],[1,108,"Power",0,e,0,e,e,e],[1,109,"NumpadEqual",0,e,0,e,e,e],[1,110,"F13",71,"F13",124,"VK_F13",e,e],[1,111,"F14",72,"F14",125,"VK_F14",e,e],[1,112,"F15",73,"F15",126,"VK_F15",e,e],[1,113,"F16",74,"F16",127,"VK_F16",e,e],[1,114,"F17",75,"F17",128,"VK_F17",e,e],[1,115,"F18",76,"F18",129,"VK_F18",e,e],[1,116,"F19",77,"F19",130,"VK_F19",e,e],[1,117,"F20",78,"F20",131,"VK_F20",e,e],[1,118,"F21",79,"F21",132,"VK_F21",e,e],[1,119,"F22",80,"F22",133,"VK_F22",e,e],[1,120,"F23",81,"F23",134,"VK_F23",e,e],[1,121,"F24",82,"F24",135,"VK_F24",e,e],[1,122,"Open",0,e,0,e,e,e],[1,123,"Help",0,e,0,e,e,e],[1,124,"Select",0,e,0,e,e,e],[1,125,"Again",0,e,0,e,e,e],[1,126,"Undo",0,e,0,e,e,e],[1,127,"Cut",0,e,0,e,e,e],[1,128,"Copy",0,e,0,e,e,e],[1,129,"Paste",0,e,0,e,e,e],[1,130,"Find",0,e,0,e,e,e],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE",e,e],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP",e,e],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN",e,e],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR",e,e],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1",e,e],[1,136,"KanaMode",0,e,0,e,e,e],[0,137,"IntlYen",0,e,0,e,e,e],[1,138,"Convert",0,e,0,e,e,e],[1,139,"NonConvert",0,e,0,e,e,e],[1,140,"Lang1",0,e,0,e,e,e],[1,141,"Lang2",0,e,0,e,e,e],[1,142,"Lang3",0,e,0,e,e,e],[1,143,"Lang4",0,e,0,e,e,e],[1,144,"Lang5",0,e,0,e,e,e],[1,145,"Abort",0,e,0,e,e,e],[1,146,"Props",0,e,0,e,e,e],[1,147,"NumpadParenLeft",0,e,0,e,e,e],[1,148,"NumpadParenRight",0,e,0,e,e,e],[1,149,"NumpadBackspace",0,e,0,e,e,e],[1,150,"NumpadMemoryStore",0,e,0,e,e,e],[1,151,"NumpadMemoryRecall",0,e,0,e,e,e],[1,152,"NumpadMemoryClear",0,e,0,e,e,e],[1,153,"NumpadMemoryAdd",0,e,0,e,e,e],[1,154,"NumpadMemorySubtract",0,e,0,e,e,e],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR",e,e],[1,156,"NumpadClearEntry",0,e,0,e,e,e],[1,0,e,5,"Ctrl",17,"VK_CONTROL",e,e],[1,0,e,4,"Shift",16,"VK_SHIFT",e,e],[1,0,e,6,"Alt",18,"VK_MENU",e,e],[1,0,e,57,"Meta",91,"VK_COMMAND",e,e],[1,157,"ControlLeft",5,e,0,"VK_LCONTROL",e,e],[1,158,"ShiftLeft",4,e,0,"VK_LSHIFT",e,e],[1,159,"AltLeft",6,e,0,"VK_LMENU",e,e],[1,160,"MetaLeft",57,e,0,"VK_LWIN",e,e],[1,161,"ControlRight",5,e,0,"VK_RCONTROL",e,e],[1,162,"ShiftRight",4,e,0,"VK_RSHIFT",e,e],[1,163,"AltRight",6,e,0,"VK_RMENU",e,e],[1,164,"MetaRight",57,e,0,"VK_RWIN",e,e],[1,165,"BrightnessUp",0,e,0,e,e,e],[1,166,"BrightnessDown",0,e,0,e,e,e],[1,167,"MediaPlay",0,e,0,e,e,e],[1,168,"MediaRecord",0,e,0,e,e,e],[1,169,"MediaFastForward",0,e,0,e,e,e],[1,170,"MediaRewind",0,e,0,e,e,e],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK",e,e],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK",e,e],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP",e,e],[1,174,"Eject",0,e,0,e,e,e],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE",e,e],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT",e,e],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL",e,e],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2",e,e],[1,179,"LaunchApp1",0,e,0,"VK_MEDIA_LAUNCH_APP1",e,e],[1,180,"SelectTask",0,e,0,e,e,e],[1,181,"LaunchScreenSaver",0,e,0,e,e,e],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH",e,e],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME",e,e],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK",e,e],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD",e,e],[1,186,"BrowserStop",0,e,0,"VK_BROWSER_STOP",e,e],[1,187,"BrowserRefresh",0,e,0,"VK_BROWSER_REFRESH",e,e],[1,188,"BrowserFavorites",0,e,0,"VK_BROWSER_FAVORITES",e,e],[1,189,"ZoomToggle",0,e,0,e,e,e],[1,190,"MailReply",0,e,0,e,e,e],[1,191,"MailForward",0,e,0,e,e,e],[1,192,"MailSend",0,e,0,e,e,e],[1,0,e,114,"KeyInComposition",229,e,e,e],[1,0,e,116,"ABNT_C2",194,"VK_ABNT_C2",e,e],[1,0,e,96,"OEM_8",223,"VK_OEM_8",e,e],[1,0,e,0,e,0,"VK_KANA",e,e],[1,0,e,0,e,0,"VK_HANGUL",e,e],[1,0,e,0,e,0,"VK_JUNJA",e,e],[1,0,e,0,e,0,"VK_FINAL",e,e],[1,0,e,0,e,0,"VK_HANJA",e,e],[1,0,e,0,e,0,"VK_KANJI",e,e],[1,0,e,0,e,0,"VK_CONVERT",e,e],[1,0,e,0,e,0,"VK_NONCONVERT",e,e],[1,0,e,0,e,0,"VK_ACCEPT",e,e],[1,0,e,0,e,0,"VK_MODECHANGE",e,e],[1,0,e,0,e,0,"VK_SELECT",e,e],[1,0,e,0,e,0,"VK_PRINT",e,e],[1,0,e,0,e,0,"VK_EXECUTE",e,e],[1,0,e,0,e,0,"VK_SNAPSHOT",e,e],[1,0,e,0,e,0,"VK_HELP",e,e],[1,0,e,0,e,0,"VK_APPS",e,e],[1,0,e,0,e,0,"VK_PROCESSKEY",e,e],[1,0,e,0,e,0,"VK_PACKET",e,e],[1,0,e,0,e,0,"VK_DBE_SBCSCHAR",e,e],[1,0,e,0,e,0,"VK_DBE_DBCSCHAR",e,e],[1,0,e,0,e,0,"VK_ATTN",e,e],[1,0,e,0,e,0,"VK_CRSEL",e,e],[1,0,e,0,e,0,"VK_EXSEL",e,e],[1,0,e,0,e,0,"VK_EREOF",e,e],[1,0,e,0,e,0,"VK_PLAY",e,e],[1,0,e,0,e,0,"VK_ZOOM",e,e],[1,0,e,0,e,0,"VK_NONAME",e,e],[1,0,e,0,e,0,"VK_PA1",e,e],[1,0,e,0,e,0,"VK_OEM_CLEAR",e,e]],t=[],r=[];for(const e of n){const[n,i,a,o,s,c,l,d,u]=e;if(r[i]||(r[i]=!0,Zn[i]=a,et[a]=i,nt[a.toLowerCase()]=i,n&&(tt[i]=o,0!==o&&3!==o&&5!==o&&4!==o&&6!==o&&57!==o&&(rt[o]=i))),!t[o]){if(t[o]=!0,!s)throw new Error(`String representation missing for key code ${o} around scan code ${a}`);Jn.define(o,s),Xn.define(o,d||s),Yn.define(o,u||d||s)}c&&($n[c]=o),l&&(Qn[l]=o)}rt[3]=46}(),function(e){e.toString=function(e){return Jn.keyCodeToStr(e)},e.fromString=function(e){return Jn.strToKeyCode(e)},e.toUserSettingsUS=function(e){return Xn.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return Yn.keyCodeToStr(e)},e.fromUserSettings=function(e){return Xn.strToKeyCode(e)||Yn.strToKeyCode(e)},e.toElectronAccelerator=function(e){if(e>=98&&e<=113)return null;switch(e){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return Jn.keyCodeToStr(e)}}(it||(it={}));class at extends Tn{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 at.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 at(this.startLineNumber,this.startColumn,e,n):new at(e,n,this.startLineNumber,this.startColumn)}getPosition(){return new En(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new En(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,n){return 0===this.getDirection()?new at(e,n,this.endLineNumber,this.endColumn):new at(this.endLineNumber,this.endColumn,e,n)}static fromPositions(e,n=e){return new at(e.lineNumber,e.column,n.lineNumber,n.column)}static fromRange(e,n){return 0===n?new at(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new at(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new at(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,n){if(e&&!n||!e&&n)return!1;if(!e&&!n)return!0;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,i){return 0===i?new at(e,n,t,r):new at(t,r,e,n)}}const ot=Object.create(null);function st(e,n){if("string"==typeof n){const t=ot[n];if(void 0===t)throw new Error(`${e} references an unknown codicon: ${n}`);n=t}return ot[e]=n,{id:e}}const ct={add:st("add",6e4),plus:st("plus",6e4),gistNew:st("gist-new",6e4),repoCreate:st("repo-create",6e4),lightbulb:st("lightbulb",60001),lightBulb:st("light-bulb",60001),repo:st("repo",60002),repoDelete:st("repo-delete",60002),gistFork:st("gist-fork",60003),repoForked:st("repo-forked",60003),gitPullRequest:st("git-pull-request",60004),gitPullRequestAbandoned:st("git-pull-request-abandoned",60004),recordKeys:st("record-keys",60005),keyboard:st("keyboard",60005),tag:st("tag",60006),tagAdd:st("tag-add",60006),tagRemove:st("tag-remove",60006),gitPullRequestLabel:st("git-pull-request-label",60006),person:st("person",60007),personFollow:st("person-follow",60007),personOutline:st("person-outline",60007),personFilled:st("person-filled",60007),gitBranch:st("git-branch",60008),gitBranchCreate:st("git-branch-create",60008),gitBranchDelete:st("git-branch-delete",60008),sourceControl:st("source-control",60008),mirror:st("mirror",60009),mirrorPublic:st("mirror-public",60009),star:st("star",60010),starAdd:st("star-add",60010),starDelete:st("star-delete",60010),starEmpty:st("star-empty",60010),comment:st("comment",60011),commentAdd:st("comment-add",60011),alert:st("alert",60012),warning:st("warning",60012),search:st("search",60013),searchSave:st("search-save",60013),logOut:st("log-out",60014),signOut:st("sign-out",60014),logIn:st("log-in",60015),signIn:st("sign-in",60015),eye:st("eye",60016),eyeUnwatch:st("eye-unwatch",60016),eyeWatch:st("eye-watch",60016),circleFilled:st("circle-filled",60017),primitiveDot:st("primitive-dot",60017),closeDirty:st("close-dirty",60017),debugBreakpoint:st("debug-breakpoint",60017),debugBreakpointDisabled:st("debug-breakpoint-disabled",60017),debugHint:st("debug-hint",60017),primitiveSquare:st("primitive-square",60018),edit:st("edit",60019),pencil:st("pencil",60019),info:st("info",60020),issueOpened:st("issue-opened",60020),gistPrivate:st("gist-private",60021),gitForkPrivate:st("git-fork-private",60021),lock:st("lock",60021),mirrorPrivate:st("mirror-private",60021),close:st("close",60022),removeClose:st("remove-close",60022),x:st("x",60022),repoSync:st("repo-sync",60023),sync:st("sync",60023),clone:st("clone",60024),desktopDownload:st("desktop-download",60024),beaker:st("beaker",60025),microscope:st("microscope",60025),vm:st("vm",60026),deviceDesktop:st("device-desktop",60026),file:st("file",60027),fileText:st("file-text",60027),more:st("more",60028),ellipsis:st("ellipsis",60028),kebabHorizontal:st("kebab-horizontal",60028),mailReply:st("mail-reply",60029),reply:st("reply",60029),organization:st("organization",60030),organizationFilled:st("organization-filled",60030),organizationOutline:st("organization-outline",60030),newFile:st("new-file",60031),fileAdd:st("file-add",60031),newFolder:st("new-folder",60032),fileDirectoryCreate:st("file-directory-create",60032),trash:st("trash",60033),trashcan:st("trashcan",60033),history:st("history",60034),clock:st("clock",60034),folder:st("folder",60035),fileDirectory:st("file-directory",60035),symbolFolder:st("symbol-folder",60035),logoGithub:st("logo-github",60036),markGithub:st("mark-github",60036),github:st("github",60036),terminal:st("terminal",60037),console:st("console",60037),repl:st("repl",60037),zap:st("zap",60038),symbolEvent:st("symbol-event",60038),error:st("error",60039),stop:st("stop",60039),variable:st("variable",60040),symbolVariable:st("symbol-variable",60040),array:st("array",60042),symbolArray:st("symbol-array",60042),symbolModule:st("symbol-module",60043),symbolPackage:st("symbol-package",60043),symbolNamespace:st("symbol-namespace",60043),symbolObject:st("symbol-object",60043),symbolMethod:st("symbol-method",60044),symbolFunction:st("symbol-function",60044),symbolConstructor:st("symbol-constructor",60044),symbolBoolean:st("symbol-boolean",60047),symbolNull:st("symbol-null",60047),symbolNumeric:st("symbol-numeric",60048),symbolNumber:st("symbol-number",60048),symbolStructure:st("symbol-structure",60049),symbolStruct:st("symbol-struct",60049),symbolParameter:st("symbol-parameter",60050),symbolTypeParameter:st("symbol-type-parameter",60050),symbolKey:st("symbol-key",60051),symbolText:st("symbol-text",60051),symbolReference:st("symbol-reference",60052),goToFile:st("go-to-file",60052),symbolEnum:st("symbol-enum",60053),symbolValue:st("symbol-value",60053),symbolRuler:st("symbol-ruler",60054),symbolUnit:st("symbol-unit",60054),activateBreakpoints:st("activate-breakpoints",60055),archive:st("archive",60056),arrowBoth:st("arrow-both",60057),arrowDown:st("arrow-down",60058),arrowLeft:st("arrow-left",60059),arrowRight:st("arrow-right",60060),arrowSmallDown:st("arrow-small-down",60061),arrowSmallLeft:st("arrow-small-left",60062),arrowSmallRight:st("arrow-small-right",60063),arrowSmallUp:st("arrow-small-up",60064),arrowUp:st("arrow-up",60065),bell:st("bell",60066),bold:st("bold",60067),book:st("book",60068),bookmark:st("bookmark",60069),debugBreakpointConditionalUnverified:st("debug-breakpoint-conditional-unverified",60070),debugBreakpointConditional:st("debug-breakpoint-conditional",60071),debugBreakpointConditionalDisabled:st("debug-breakpoint-conditional-disabled",60071),debugBreakpointDataUnverified:st("debug-breakpoint-data-unverified",60072),debugBreakpointData:st("debug-breakpoint-data",60073),debugBreakpointDataDisabled:st("debug-breakpoint-data-disabled",60073),debugBreakpointLogUnverified:st("debug-breakpoint-log-unverified",60074),debugBreakpointLog:st("debug-breakpoint-log",60075),debugBreakpointLogDisabled:st("debug-breakpoint-log-disabled",60075),briefcase:st("briefcase",60076),broadcast:st("broadcast",60077),browser:st("browser",60078),bug:st("bug",60079),calendar:st("calendar",60080),caseSensitive:st("case-sensitive",60081),check:st("check",60082),checklist:st("checklist",60083),chevronDown:st("chevron-down",60084),dropDownButton:st("drop-down-button",60084),chevronLeft:st("chevron-left",60085),chevronRight:st("chevron-right",60086),chevronUp:st("chevron-up",60087),chromeClose:st("chrome-close",60088),chromeMaximize:st("chrome-maximize",60089),chromeMinimize:st("chrome-minimize",60090),chromeRestore:st("chrome-restore",60091),circle:st("circle",60092),circleOutline:st("circle-outline",60092),debugBreakpointUnverified:st("debug-breakpoint-unverified",60092),circleSlash:st("circle-slash",60093),circuitBoard:st("circuit-board",60094),clearAll:st("clear-all",60095),clippy:st("clippy",60096),closeAll:st("close-all",60097),cloudDownload:st("cloud-download",60098),cloudUpload:st("cloud-upload",60099),code:st("code",60100),collapseAll:st("collapse-all",60101),colorMode:st("color-mode",60102),commentDiscussion:st("comment-discussion",60103),compareChanges:st("compare-changes",60157),creditCard:st("credit-card",60105),dash:st("dash",60108),dashboard:st("dashboard",60109),database:st("database",60110),debugContinue:st("debug-continue",60111),debugDisconnect:st("debug-disconnect",60112),debugPause:st("debug-pause",60113),debugRestart:st("debug-restart",60114),debugStart:st("debug-start",60115),debugStepInto:st("debug-step-into",60116),debugStepOut:st("debug-step-out",60117),debugStepOver:st("debug-step-over",60118),debugStop:st("debug-stop",60119),debug:st("debug",60120),deviceCameraVideo:st("device-camera-video",60121),deviceCamera:st("device-camera",60122),deviceMobile:st("device-mobile",60123),diffAdded:st("diff-added",60124),diffIgnored:st("diff-ignored",60125),diffModified:st("diff-modified",60126),diffRemoved:st("diff-removed",60127),diffRenamed:st("diff-renamed",60128),diff:st("diff",60129),discard:st("discard",60130),editorLayout:st("editor-layout",60131),emptyWindow:st("empty-window",60132),exclude:st("exclude",60133),extensions:st("extensions",60134),eyeClosed:st("eye-closed",60135),fileBinary:st("file-binary",60136),fileCode:st("file-code",60137),fileMedia:st("file-media",60138),filePdf:st("file-pdf",60139),fileSubmodule:st("file-submodule",60140),fileSymlinkDirectory:st("file-symlink-directory",60141),fileSymlinkFile:st("file-symlink-file",60142),fileZip:st("file-zip",60143),files:st("files",60144),filter:st("filter",60145),flame:st("flame",60146),foldDown:st("fold-down",60147),foldUp:st("fold-up",60148),fold:st("fold",60149),folderActive:st("folder-active",60150),folderOpened:st("folder-opened",60151),gear:st("gear",60152),gift:st("gift",60153),gistSecret:st("gist-secret",60154),gist:st("gist",60155),gitCommit:st("git-commit",60156),gitCompare:st("git-compare",60157),gitMerge:st("git-merge",60158),githubAction:st("github-action",60159),githubAlt:st("github-alt",60160),globe:st("globe",60161),grabber:st("grabber",60162),graph:st("graph",60163),gripper:st("gripper",60164),heart:st("heart",60165),home:st("home",60166),horizontalRule:st("horizontal-rule",60167),hubot:st("hubot",60168),inbox:st("inbox",60169),issueClosed:st("issue-closed",60324),issueReopened:st("issue-reopened",60171),issues:st("issues",60172),italic:st("italic",60173),jersey:st("jersey",60174),json:st("json",60175),bracket:st("bracket",60175),kebabVertical:st("kebab-vertical",60176),key:st("key",60177),law:st("law",60178),lightbulbAutofix:st("lightbulb-autofix",60179),linkExternal:st("link-external",60180),link:st("link",60181),listOrdered:st("list-ordered",60182),listUnordered:st("list-unordered",60183),liveShare:st("live-share",60184),loading:st("loading",60185),location:st("location",60186),mailRead:st("mail-read",60187),mail:st("mail",60188),markdown:st("markdown",60189),megaphone:st("megaphone",60190),mention:st("mention",60191),milestone:st("milestone",60192),gitPullRequestMilestone:st("git-pull-request-milestone",60192),mortarBoard:st("mortar-board",60193),move:st("move",60194),multipleWindows:st("multiple-windows",60195),mute:st("mute",60196),noNewline:st("no-newline",60197),note:st("note",60198),octoface:st("octoface",60199),openPreview:st("open-preview",60200),package_:st("package",60201),paintcan:st("paintcan",60202),pin:st("pin",60203),play:st("play",60204),run:st("run",60204),plug:st("plug",60205),preserveCase:st("preserve-case",60206),preview:st("preview",60207),project:st("project",60208),pulse:st("pulse",60209),question:st("question",60210),quote:st("quote",60211),radioTower:st("radio-tower",60212),reactions:st("reactions",60213),references:st("references",60214),refresh:st("refresh",60215),regex:st("regex",60216),remoteExplorer:st("remote-explorer",60217),remote:st("remote",60218),remove:st("remove",60219),replaceAll:st("replace-all",60220),replace:st("replace",60221),repoClone:st("repo-clone",60222),repoForcePush:st("repo-force-push",60223),repoPull:st("repo-pull",60224),repoPush:st("repo-push",60225),report:st("report",60226),requestChanges:st("request-changes",60227),rocket:st("rocket",60228),rootFolderOpened:st("root-folder-opened",60229),rootFolder:st("root-folder",60230),rss:st("rss",60231),ruby:st("ruby",60232),saveAll:st("save-all",60233),saveAs:st("save-as",60234),save:st("save",60235),screenFull:st("screen-full",60236),screenNormal:st("screen-normal",60237),searchStop:st("search-stop",60238),server:st("server",60240),settingsGear:st("settings-gear",60241),settings:st("settings",60242),shield:st("shield",60243),smiley:st("smiley",60244),sortPrecedence:st("sort-precedence",60245),splitHorizontal:st("split-horizontal",60246),splitVertical:st("split-vertical",60247),squirrel:st("squirrel",60248),starFull:st("star-full",60249),starHalf:st("star-half",60250),symbolClass:st("symbol-class",60251),symbolColor:st("symbol-color",60252),symbolCustomColor:st("symbol-customcolor",60252),symbolConstant:st("symbol-constant",60253),symbolEnumMember:st("symbol-enum-member",60254),symbolField:st("symbol-field",60255),symbolFile:st("symbol-file",60256),symbolInterface:st("symbol-interface",60257),symbolKeyword:st("symbol-keyword",60258),symbolMisc:st("symbol-misc",60259),symbolOperator:st("symbol-operator",60260),symbolProperty:st("symbol-property",60261),wrench:st("wrench",60261),wrenchSubaction:st("wrench-subaction",60261),symbolSnippet:st("symbol-snippet",60262),tasklist:st("tasklist",60263),telescope:st("telescope",60264),textSize:st("text-size",60265),threeBars:st("three-bars",60266),thumbsdown:st("thumbsdown",60267),thumbsup:st("thumbsup",60268),tools:st("tools",60269),triangleDown:st("triangle-down",60270),triangleLeft:st("triangle-left",60271),triangleRight:st("triangle-right",60272),triangleUp:st("triangle-up",60273),twitter:st("twitter",60274),unfold:st("unfold",60275),unlock:st("unlock",60276),unmute:st("unmute",60277),unverified:st("unverified",60278),verified:st("verified",60279),versions:st("versions",60280),vmActive:st("vm-active",60281),vmOutline:st("vm-outline",60282),vmRunning:st("vm-running",60283),watch:st("watch",60284),whitespace:st("whitespace",60285),wholeWord:st("whole-word",60286),window:st("window",60287),wordWrap:st("word-wrap",60288),zoomIn:st("zoom-in",60289),zoomOut:st("zoom-out",60290),listFilter:st("list-filter",60291),listFlat:st("list-flat",60292),listSelection:st("list-selection",60293),selection:st("selection",60293),listTree:st("list-tree",60294),debugBreakpointFunctionUnverified:st("debug-breakpoint-function-unverified",60295),debugBreakpointFunction:st("debug-breakpoint-function",60296),debugBreakpointFunctionDisabled:st("debug-breakpoint-function-disabled",60296),debugStackframeActive:st("debug-stackframe-active",60297),circleSmallFilled:st("circle-small-filled",60298),debugStackframeDot:st("debug-stackframe-dot",60298),debugStackframe:st("debug-stackframe",60299),debugStackframeFocused:st("debug-stackframe-focused",60299),debugBreakpointUnsupported:st("debug-breakpoint-unsupported",60300),symbolString:st("symbol-string",60301),debugReverseContinue:st("debug-reverse-continue",60302),debugStepBack:st("debug-step-back",60303),debugRestartFrame:st("debug-restart-frame",60304),callIncoming:st("call-incoming",60306),callOutgoing:st("call-outgoing",60307),menu:st("menu",60308),expandAll:st("expand-all",60309),feedback:st("feedback",60310),gitPullRequestReviewer:st("git-pull-request-reviewer",60310),groupByRefType:st("group-by-ref-type",60311),ungroupByRefType:st("ungroup-by-ref-type",60312),account:st("account",60313),gitPullRequestAssignee:st("git-pull-request-assignee",60313),bellDot:st("bell-dot",60314),debugConsole:st("debug-console",60315),library:st("library",60316),output:st("output",60317),runAll:st("run-all",60318),syncIgnored:st("sync-ignored",60319),pinned:st("pinned",60320),githubInverted:st("github-inverted",60321),debugAlt:st("debug-alt",60305),serverProcess:st("server-process",60322),serverEnvironment:st("server-environment",60323),pass:st("pass",60324),stopCircle:st("stop-circle",60325),playCircle:st("play-circle",60326),record:st("record",60327),debugAltSmall:st("debug-alt-small",60328),vmConnect:st("vm-connect",60329),cloud:st("cloud",60330),merge:st("merge",60331),exportIcon:st("export",60332),graphLeft:st("graph-left",60333),magnet:st("magnet",60334),notebook:st("notebook",60335),redo:st("redo",60336),checkAll:st("check-all",60337),pinnedDirty:st("pinned-dirty",60338),passFilled:st("pass-filled",60339),circleLargeFilled:st("circle-large-filled",60340),circleLarge:st("circle-large",60341),circleLargeOutline:st("circle-large-outline",60341),combine:st("combine",60342),gather:st("gather",60342),table:st("table",60343),variableGroup:st("variable-group",60344),typeHierarchy:st("type-hierarchy",60345),typeHierarchySub:st("type-hierarchy-sub",60346),typeHierarchySuper:st("type-hierarchy-super",60347),gitPullRequestCreate:st("git-pull-request-create",60348),runAbove:st("run-above",60349),runBelow:st("run-below",60350),notebookTemplate:st("notebook-template",60351),debugRerun:st("debug-rerun",60352),workspaceTrusted:st("workspace-trusted",60353),workspaceUntrusted:st("workspace-untrusted",60354),workspaceUnspecified:st("workspace-unspecified",60355),terminalCmd:st("terminal-cmd",60356),terminalDebian:st("terminal-debian",60357),terminalLinux:st("terminal-linux",60358),terminalPowershell:st("terminal-powershell",60359),terminalTmux:st("terminal-tmux",60360),terminalUbuntu:st("terminal-ubuntu",60361),terminalBash:st("terminal-bash",60362),arrowSwap:st("arrow-swap",60363),copy:st("copy",60364),personAdd:st("person-add",60365),filterFilled:st("filter-filled",60366),wand:st("wand",60367),debugLineByLine:st("debug-line-by-line",60368),inspect:st("inspect",60369),layers:st("layers",60370),layersDot:st("layers-dot",60371),layersActive:st("layers-active",60372),compass:st("compass",60373),compassDot:st("compass-dot",60374),compassActive:st("compass-active",60375),azure:st("azure",60376),issueDraft:st("issue-draft",60377),gitPullRequestClosed:st("git-pull-request-closed",60378),gitPullRequestDraft:st("git-pull-request-draft",60379),debugAll:st("debug-all",60380),debugCoverage:st("debug-coverage",60381),runErrors:st("run-errors",60382),folderLibrary:st("folder-library",60383),debugContinueSmall:st("debug-continue-small",60384),beakerStop:st("beaker-stop",60385),graphLine:st("graph-line",60386),graphScatter:st("graph-scatter",60387),pieChart:st("pie-chart",60388),bracketDot:st("bracket-dot",60389),bracketError:st("bracket-error",60390),lockSmall:st("lock-small",60391),azureDevops:st("azure-devops",60392),verifiedFilled:st("verified-filled",60393),newLine:st("newline",60394),layout:st("layout",60395),layoutActivitybarLeft:st("layout-activitybar-left",60396),layoutActivitybarRight:st("layout-activitybar-right",60397),layoutPanelLeft:st("layout-panel-left",60398),layoutPanelCenter:st("layout-panel-center",60399),layoutPanelJustify:st("layout-panel-justify",60400),layoutPanelRight:st("layout-panel-right",60401),layoutPanel:st("layout-panel",60402),layoutSidebarLeft:st("layout-sidebar-left",60403),layoutSidebarRight:st("layout-sidebar-right",60404),layoutStatusbar:st("layout-statusbar",60405),layoutMenubar:st("layout-menubar",60406),layoutCentered:st("layout-centered",60407),layoutSidebarRightOff:st("layout-sidebar-right-off",60416),layoutPanelOff:st("layout-panel-off",60417),layoutSidebarLeftOff:st("layout-sidebar-left-off",60418),target:st("target",60408),indent:st("indent",60409),recordSmall:st("record-small",60410),errorSmall:st("error-small",60411),arrowCircleDown:st("arrow-circle-down",60412),arrowCircleLeft:st("arrow-circle-left",60413),arrowCircleRight:st("arrow-circle-right",60414),arrowCircleUp:st("arrow-circle-up",60415),heartFilled:st("heart-filled",60420),map:st("map",60421),mapFilled:st("map-filled",60422),circleSmall:st("circle-small",60423),bellSlash:st("bell-slash",60424),bellSlashDot:st("bell-slash-dot",60425),commentUnresolved:st("comment-unresolved",60426),gitPullRequestGoToChanges:st("git-pull-request-go-to-changes",60427),gitPullRequestNewChanges:st("git-pull-request-new-changes",60428),searchFuzzy:st("search-fuzzy",60429),commentDraft:st("comment-draft",60430),send:st("send",60431),sparkle:st("sparkle",60432),insert:st("insert",60433),mic:st("mic",60434),dialogError:st("dialog-error","error"),dialogWarning:st("dialog-warning","warning"),dialogInfo:st("dialog-info","info"),dialogClose:st("dialog-close","close"),treeItemExpanded:st("tree-item-expanded","chevron-down"),treeFilterOnTypeOn:st("tree-filter-on-type-on","list-filter"),treeFilterOnTypeOff:st("tree-filter-on-type-off","list-selection"),treeFilterClear:st("tree-filter-clear","close"),treeItemLoading:st("tree-item-loading","loading"),menuSelection:st("menu-selection","check"),menuSubmenu:st("menu-submenu","chevron-right"),menuBarMore:st("menubar-more","more"),scrollbarButtonLeft:st("scrollbar-button-left","triangle-left"),scrollbarButtonRight:st("scrollbar-button-right","triangle-right"),scrollbarButtonUp:st("scrollbar-button-up","triangle-up"),scrollbarButtonDown:st("scrollbar-button-down","triangle-down"),toolBarMore:st("toolbar-more","more"),quickInputBack:st("quick-input-back","arrow-left")};var lt,dt,ut,_t,pt,ft,mt,ht,gt,yt,vt,bt,Et,Tt,xt,St,At,Lt,Ct,kt,It,wt,Rt,Nt,Dt,Ot,Mt,Pt,Ft,Gt,Bt,Ut,Vt,jt,Ht,Kt,Wt,qt,zt,Jt,Xt,Yt,$t,Qt,Zt,er,nr,tr,rr,ir,ar=function(e,n,t,r){return new(t||(t=Promise))((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(o,s)}c((r=r.apply(e,n||[])).next())}))};class or extends g{get isResolved(){return this._isResolved}constructor(e,n,t){super(),this._registry=e,this._languageId=n,this._factory=t,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}resolve(){return ar(this,void 0,void 0,(function*(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise}))}_create(){return ar(this,void 0,void 0,(function*(){const e=yield this._factory.tokenizationSupport;this._isResolved=!0,e&&!this._isDisposed&&this._register(this._registry.register(this._languageId,e))}))}}!function(e){const n=new Map;n.set(0,ct.symbolMethod),n.set(1,ct.symbolFunction),n.set(2,ct.symbolConstructor),n.set(3,ct.symbolField),n.set(4,ct.symbolVariable),n.set(5,ct.symbolClass),n.set(6,ct.symbolStruct),n.set(7,ct.symbolInterface),n.set(8,ct.symbolModule),n.set(9,ct.symbolProperty),n.set(10,ct.symbolEvent),n.set(11,ct.symbolOperator),n.set(12,ct.symbolUnit),n.set(13,ct.symbolValue),n.set(15,ct.symbolEnum),n.set(14,ct.symbolConstant),n.set(15,ct.symbolEnum),n.set(16,ct.symbolEnumMember),n.set(17,ct.symbolKeyword),n.set(27,ct.symbolSnippet),n.set(18,ct.symbolText),n.set(19,ct.symbolColor),n.set(20,ct.symbolFile),n.set(21,ct.symbolReference),n.set(22,ct.symbolCustomColor),n.set(23,ct.symbolFolder),n.set(24,ct.symbolTypeParameter),n.set(25,ct.account),n.set(26,ct.issues),e.toIcon=function(e){let t=n.get(e);return t||(console.info("No codicon found for CompletionItemKind "+e),t=ct.symbolProperty),t};const t=new Map;t.set("method",0),t.set("function",1),t.set("constructor",2),t.set("field",3),t.set("variable",4),t.set("class",5),t.set("struct",6),t.set("interface",7),t.set("module",8),t.set("property",9),t.set("event",10),t.set("operator",11),t.set("unit",12),t.set("value",13),t.set("constant",14),t.set("enum",15),t.set("enum-member",16),t.set("enumMember",16),t.set("keyword",17),t.set("snippet",27),t.set("text",18),t.set("color",19),t.set("file",20),t.set("reference",21),t.set("customcolor",22),t.set("folder",23),t.set("type-parameter",24),t.set("typeParameter",24),t.set("account",25),t.set("issue",26),e.fromString=function(e,n){let r=t.get(e);return void 0!==r||n||(r=9),r}}(lt||(lt={})),function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"}(dt||(dt={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(ut||(ut={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(_t||(_t={})),R(0,"array"),R(0,"boolean"),R(0,"class"),R(0,"constant"),R(0,"constructor"),R(0,"enumeration"),R(0,"enumeration member"),R(0,"event"),R(0,"field"),R(0,"file"),R(0,"function"),R(0,"interface"),R(0,"key"),R(0,"method"),R(0,"module"),R(0,"namespace"),R(0,"null"),R(0,"number"),R(0,"object"),R(0,"operator"),R(0,"package"),R(0,"property"),R(0,"string"),R(0,"struct"),R(0,"type parameter"),R(0,"variable"),function(e){const n=new Map;n.set(0,ct.symbolFile),n.set(1,ct.symbolModule),n.set(2,ct.symbolNamespace),n.set(3,ct.symbolPackage),n.set(4,ct.symbolClass),n.set(5,ct.symbolMethod),n.set(6,ct.symbolProperty),n.set(7,ct.symbolField),n.set(8,ct.symbolConstructor),n.set(9,ct.symbolEnum),n.set(10,ct.symbolInterface),n.set(11,ct.symbolFunction),n.set(12,ct.symbolVariable),n.set(13,ct.symbolConstant),n.set(14,ct.symbolString),n.set(15,ct.symbolNumber),n.set(16,ct.symbolBoolean),n.set(17,ct.symbolArray),n.set(18,ct.symbolObject),n.set(19,ct.symbolKey),n.set(20,ct.symbolNull),n.set(21,ct.symbolEnumMember),n.set(22,ct.symbolStruct),n.set(23,ct.symbolEvent),n.set(24,ct.symbolOperator),n.set(25,ct.symbolTypeParameter),e.toIcon=function(e){let t=n.get(e);return t||(console.info("No codicon found for SymbolKind "+e),t=ct.symbolProperty),t}}(pt||(pt={}));class sr{static fromValue(e){switch(e){case"comment":return sr.Comment;case"imports":return sr.Imports;case"region":return sr.Region}return new sr(e)}constructor(e){this.value=e}}sr.Comment=new sr("comment"),sr.Imports=new sr("imports"),sr.Region=new sr("region"),function(e){e.is=function(e){return!(!e||"object"!=typeof e)&&"string"==typeof e.id&&"string"==typeof e.title}}(ft||(ft={})),function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"}(mt||(mt={})),new class{constructor(){this._tokenizationSupports=new Map,this._factories=new Map,this._onDidChange=new C,this.onDidChange=this._onDidChange.event,this._colorMap=null}handleChange(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})}register(e,n){return this._tokenizationSupports.set(e,n),this.handleChange([e]),m((()=>{this._tokenizationSupports.get(e)===n&&(this._tokenizationSupports.delete(e),this.handleChange([e]))}))}get(e){return this._tokenizationSupports.get(e)||null}registerFactory(e,n){var t;null===(t=this._factories.get(e))||void 0===t||t.dispose();const r=new or(this,e,n);return this._factories.set(e,r),m((()=>{const n=this._factories.get(e);n&&n===r&&(this._factories.delete(e),n.dispose())}))}getOrCreate(e){return ar(this,void 0,void 0,(function*(){const n=this.get(e);if(n)return n;const t=this._factories.get(e);return!t||t.isResolved?null:(yield t.resolve(),this.get(e))}))}isResolved(e){if(this.get(e))return!0;const n=this._factories.get(e);return!(n&&!n.isResolved)}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}},function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"}(ht||(ht={})),function(e){e[e.Invoke=1]="Invoke",e[e.Auto=2]="Auto"}(gt||(gt={})),function(e){e[e.None=0]="None",e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"}(yt||(yt={})),function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Snippet=27]="Snippet"}(vt||(vt={})),function(e){e[e.Deprecated=1]="Deprecated"}(bt||(bt={})),function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"}(Et||(Et={})),function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"}(Tt||(Tt={})),function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"}(xt||(xt={})),function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(St||(St={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(At||(At={})),function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"}(Lt||(Lt={})),function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.ariaRequired=5]="ariaRequired",e[e.autoClosingBrackets=6]="autoClosingBrackets",e[e.screenReaderAnnounceInlineSuggestion=7]="screenReaderAnnounceInlineSuggestion",e[e.autoClosingDelete=8]="autoClosingDelete",e[e.autoClosingOvertype=9]="autoClosingOvertype",e[e.autoClosingQuotes=10]="autoClosingQuotes",e[e.autoIndent=11]="autoIndent",e[e.automaticLayout=12]="automaticLayout",e[e.autoSurround=13]="autoSurround",e[e.bracketPairColorization=14]="bracketPairColorization",e[e.guides=15]="guides",e[e.codeLens=16]="codeLens",e[e.codeLensFontFamily=17]="codeLensFontFamily",e[e.codeLensFontSize=18]="codeLensFontSize",e[e.colorDecorators=19]="colorDecorators",e[e.colorDecoratorsLimit=20]="colorDecoratorsLimit",e[e.columnSelection=21]="columnSelection",e[e.comments=22]="comments",e[e.contextmenu=23]="contextmenu",e[e.copyWithSyntaxHighlighting=24]="copyWithSyntaxHighlighting",e[e.cursorBlinking=25]="cursorBlinking",e[e.cursorSmoothCaretAnimation=26]="cursorSmoothCaretAnimation",e[e.cursorStyle=27]="cursorStyle",e[e.cursorSurroundingLines=28]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=29]="cursorSurroundingLinesStyle",e[e.cursorWidth=30]="cursorWidth",e[e.disableLayerHinting=31]="disableLayerHinting",e[e.disableMonospaceOptimizations=32]="disableMonospaceOptimizations",e[e.domReadOnly=33]="domReadOnly",e[e.dragAndDrop=34]="dragAndDrop",e[e.dropIntoEditor=35]="dropIntoEditor",e[e.emptySelectionClipboard=36]="emptySelectionClipboard",e[e.experimentalWhitespaceRendering=37]="experimentalWhitespaceRendering",e[e.extraEditorClassName=38]="extraEditorClassName",e[e.fastScrollSensitivity=39]="fastScrollSensitivity",e[e.find=40]="find",e[e.fixedOverflowWidgets=41]="fixedOverflowWidgets",e[e.folding=42]="folding",e[e.foldingStrategy=43]="foldingStrategy",e[e.foldingHighlight=44]="foldingHighlight",e[e.foldingImportsByDefault=45]="foldingImportsByDefault",e[e.foldingMaximumRegions=46]="foldingMaximumRegions",e[e.unfoldOnClickAfterEndOfLine=47]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=48]="fontFamily",e[e.fontInfo=49]="fontInfo",e[e.fontLigatures=50]="fontLigatures",e[e.fontSize=51]="fontSize",e[e.fontWeight=52]="fontWeight",e[e.fontVariations=53]="fontVariations",e[e.formatOnPaste=54]="formatOnPaste",e[e.formatOnType=55]="formatOnType",e[e.glyphMargin=56]="glyphMargin",e[e.gotoLocation=57]="gotoLocation",e[e.hideCursorInOverviewRuler=58]="hideCursorInOverviewRuler",e[e.hover=59]="hover",e[e.inDiffEditor=60]="inDiffEditor",e[e.inlineSuggest=61]="inlineSuggest",e[e.letterSpacing=62]="letterSpacing",e[e.lightbulb=63]="lightbulb",e[e.lineDecorationsWidth=64]="lineDecorationsWidth",e[e.lineHeight=65]="lineHeight",e[e.lineNumbers=66]="lineNumbers",e[e.lineNumbersMinChars=67]="lineNumbersMinChars",e[e.linkedEditing=68]="linkedEditing",e[e.links=69]="links",e[e.matchBrackets=70]="matchBrackets",e[e.minimap=71]="minimap",e[e.mouseStyle=72]="mouseStyle",e[e.mouseWheelScrollSensitivity=73]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=74]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=75]="multiCursorMergeOverlapping",e[e.multiCursorModifier=76]="multiCursorModifier",e[e.multiCursorPaste=77]="multiCursorPaste",e[e.multiCursorLimit=78]="multiCursorLimit",e[e.occurrencesHighlight=79]="occurrencesHighlight",e[e.overviewRulerBorder=80]="overviewRulerBorder",e[e.overviewRulerLanes=81]="overviewRulerLanes",e[e.padding=82]="padding",e[e.pasteAs=83]="pasteAs",e[e.parameterHints=84]="parameterHints",e[e.peekWidgetDefaultFocus=85]="peekWidgetDefaultFocus",e[e.definitionLinkOpensInPeek=86]="definitionLinkOpensInPeek",e[e.quickSuggestions=87]="quickSuggestions",e[e.quickSuggestionsDelay=88]="quickSuggestionsDelay",e[e.readOnly=89]="readOnly",e[e.readOnlyMessage=90]="readOnlyMessage",e[e.renameOnType=91]="renameOnType",e[e.renderControlCharacters=92]="renderControlCharacters",e[e.renderFinalNewline=93]="renderFinalNewline",e[e.renderLineHighlight=94]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=95]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=96]="renderValidationDecorations",e[e.renderWhitespace=97]="renderWhitespace",e[e.revealHorizontalRightPadding=98]="revealHorizontalRightPadding",e[e.roundedSelection=99]="roundedSelection",e[e.rulers=100]="rulers",e[e.scrollbar=101]="scrollbar",e[e.scrollBeyondLastColumn=102]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=103]="scrollBeyondLastLine",e[e.scrollPredominantAxis=104]="scrollPredominantAxis",e[e.selectionClipboard=105]="selectionClipboard",e[e.selectionHighlight=106]="selectionHighlight",e[e.selectOnLineNumbers=107]="selectOnLineNumbers",e[e.showFoldingControls=108]="showFoldingControls",e[e.showUnused=109]="showUnused",e[e.snippetSuggestions=110]="snippetSuggestions",e[e.smartSelect=111]="smartSelect",e[e.smoothScrolling=112]="smoothScrolling",e[e.stickyScroll=113]="stickyScroll",e[e.stickyTabStops=114]="stickyTabStops",e[e.stopRenderingLineAfter=115]="stopRenderingLineAfter",e[e.suggest=116]="suggest",e[e.suggestFontSize=117]="suggestFontSize",e[e.suggestLineHeight=118]="suggestLineHeight",e[e.suggestOnTriggerCharacters=119]="suggestOnTriggerCharacters",e[e.suggestSelection=120]="suggestSelection",e[e.tabCompletion=121]="tabCompletion",e[e.tabIndex=122]="tabIndex",e[e.unicodeHighlighting=123]="unicodeHighlighting",e[e.unusualLineTerminators=124]="unusualLineTerminators",e[e.useShadowDOM=125]="useShadowDOM",e[e.useTabStops=126]="useTabStops",e[e.wordBreak=127]="wordBreak",e[e.wordSeparators=128]="wordSeparators",e[e.wordWrap=129]="wordWrap",e[e.wordWrapBreakAfterCharacters=130]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=131]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=132]="wordWrapColumn",e[e.wordWrapOverride1=133]="wordWrapOverride1",e[e.wordWrapOverride2=134]="wordWrapOverride2",e[e.wrappingIndent=135]="wrappingIndent",e[e.wrappingStrategy=136]="wrappingStrategy",e[e.showDeprecated=137]="showDeprecated",e[e.inlayHints=138]="inlayHints",e[e.editorClassName=139]="editorClassName",e[e.pixelRatio=140]="pixelRatio",e[e.tabFocusMode=141]="tabFocusMode",e[e.layoutInfo=142]="layoutInfo",e[e.wrappingInfo=143]="wrappingInfo",e[e.defaultColorDecorators=144]="defaultColorDecorators",e[e.colorDecoratorsActivatedOn=145]="colorDecoratorsActivatedOn",e[e.inlineCompletionsAccessibilityVerbose=146]="inlineCompletionsAccessibilityVerbose"}(Ct||(Ct={})),function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(kt||(kt={})),function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"}(It||(It={})),function(e){e[e.Left=1]="Left",e[e.Right=2]="Right"}(wt||(wt={})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(Rt||(Rt={})),function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"}(Nt||(Nt={})),function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"}(Dt||(Dt={})),function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"}(Ot||(Ot={})),function(e){e[e.DependsOnKbLayout=-1]="DependsOnKbLayout",e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.Digit0=21]="Digit0",e[e.Digit1=22]="Digit1",e[e.Digit2=23]="Digit2",e[e.Digit3=24]="Digit3",e[e.Digit4=25]="Digit4",e[e.Digit5=26]="Digit5",e[e.Digit6=27]="Digit6",e[e.Digit7=28]="Digit7",e[e.Digit8=29]="Digit8",e[e.Digit9=30]="Digit9",e[e.KeyA=31]="KeyA",e[e.KeyB=32]="KeyB",e[e.KeyC=33]="KeyC",e[e.KeyD=34]="KeyD",e[e.KeyE=35]="KeyE",e[e.KeyF=36]="KeyF",e[e.KeyG=37]="KeyG",e[e.KeyH=38]="KeyH",e[e.KeyI=39]="KeyI",e[e.KeyJ=40]="KeyJ",e[e.KeyK=41]="KeyK",e[e.KeyL=42]="KeyL",e[e.KeyM=43]="KeyM",e[e.KeyN=44]="KeyN",e[e.KeyO=45]="KeyO",e[e.KeyP=46]="KeyP",e[e.KeyQ=47]="KeyQ",e[e.KeyR=48]="KeyR",e[e.KeyS=49]="KeyS",e[e.KeyT=50]="KeyT",e[e.KeyU=51]="KeyU",e[e.KeyV=52]="KeyV",e[e.KeyW=53]="KeyW",e[e.KeyX=54]="KeyX",e[e.KeyY=55]="KeyY",e[e.KeyZ=56]="KeyZ",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.F20=78]="F20",e[e.F21=79]="F21",e[e.F22=80]="F22",e[e.F23=81]="F23",e[e.F24=82]="F24",e[e.NumLock=83]="NumLock",e[e.ScrollLock=84]="ScrollLock",e[e.Semicolon=85]="Semicolon",e[e.Equal=86]="Equal",e[e.Comma=87]="Comma",e[e.Minus=88]="Minus",e[e.Period=89]="Period",e[e.Slash=90]="Slash",e[e.Backquote=91]="Backquote",e[e.BracketLeft=92]="BracketLeft",e[e.Backslash=93]="Backslash",e[e.BracketRight=94]="BracketRight",e[e.Quote=95]="Quote",e[e.OEM_8=96]="OEM_8",e[e.IntlBackslash=97]="IntlBackslash",e[e.Numpad0=98]="Numpad0",e[e.Numpad1=99]="Numpad1",e[e.Numpad2=100]="Numpad2",e[e.Numpad3=101]="Numpad3",e[e.Numpad4=102]="Numpad4",e[e.Numpad5=103]="Numpad5",e[e.Numpad6=104]="Numpad6",e[e.Numpad7=105]="Numpad7",e[e.Numpad8=106]="Numpad8",e[e.Numpad9=107]="Numpad9",e[e.NumpadMultiply=108]="NumpadMultiply",e[e.NumpadAdd=109]="NumpadAdd",e[e.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",e[e.NumpadSubtract=111]="NumpadSubtract",e[e.NumpadDecimal=112]="NumpadDecimal",e[e.NumpadDivide=113]="NumpadDivide",e[e.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",e[e.ABNT_C1=115]="ABNT_C1",e[e.ABNT_C2=116]="ABNT_C2",e[e.AudioVolumeMute=117]="AudioVolumeMute",e[e.AudioVolumeUp=118]="AudioVolumeUp",e[e.AudioVolumeDown=119]="AudioVolumeDown",e[e.BrowserSearch=120]="BrowserSearch",e[e.BrowserHome=121]="BrowserHome",e[e.BrowserBack=122]="BrowserBack",e[e.BrowserForward=123]="BrowserForward",e[e.MediaTrackNext=124]="MediaTrackNext",e[e.MediaTrackPrevious=125]="MediaTrackPrevious",e[e.MediaStop=126]="MediaStop",e[e.MediaPlayPause=127]="MediaPlayPause",e[e.LaunchMediaPlayer=128]="LaunchMediaPlayer",e[e.LaunchMail=129]="LaunchMail",e[e.LaunchApp2=130]="LaunchApp2",e[e.Clear=131]="Clear",e[e.MAX_VALUE=132]="MAX_VALUE"}(Mt||(Mt={})),function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(Pt||(Pt={})),function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"}(Ft||(Ft={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(Gt||(Gt={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"}(Bt||(Bt={})),function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"}(Ut||(Ut={})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(Vt||(Vt={})),function(e){e[e.Left=0]="Left",e[e.Right=1]="Right",e[e.None=2]="None",e[e.LeftOfInjectedText=3]="LeftOfInjectedText",e[e.RightOfInjectedText=4]="RightOfInjectedText"}(jt||(jt={})),function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"}(Ht||(Ht={})),function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"}(Kt||(Kt={})),function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"}(Wt||(Wt={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(qt||(qt={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(zt||(zt={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(Jt||(Jt={})),function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"}(Xt||(Xt={})),function(e){e[e.Deprecated=1]="Deprecated"}(Yt||(Yt={})),function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"}($t||($t={})),function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(Qt||(Qt={})),function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"}(Zt||(Zt={})),function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"}(er||(er={}));class cr{static chord(e,n){return function(e,n){return(e|(65535&n)<<16>>>0)>>>0}(e,n)}}cr.CtrlCmd=2048,cr.Shift=1024,cr.Alt=512,cr.WinCtrl=256;function lr(e,n,t,r,i){return function(e,n,t,r,i){if(0===r)return!0;const a=n.charCodeAt(r-1);if(0!==e.get(a))return!0;if(13===a||10===a)return!0;if(i>0){const t=n.charCodeAt(r);if(0!==e.get(t))return!0}return!1}(e,n,0,r,i)&&function(e,n,t,r,i){if(r+i===t)return!0;const a=n.charCodeAt(r+i);if(0!==e.get(a))return!0;if(13===a||10===a)return!0;if(i>0){const t=n.charCodeAt(r+i-1);if(0!==e.get(t))return!0}return!1}(e,n,t,r,i)}!function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(nr||(nr={})),function(e){e[e.Left=1]="Left",e[e.Right=2]="Right"}(tr||(tr={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(rr||(rr={})),function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"}(ir||(ir={}));class dr{constructor(e,n){this._wordSeparators=e,this._searchRegex=n,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){const n=e.length;let t;do{if(this._prevMatchStartIndex+this._prevMatchLength===n)return null;if(t=this._searchRegex.exec(e),!t)return null;const r=t.index,i=t[0].length;if(r===this._prevMatchStartIndex&&i===this._prevMatchLength){if(0===i){ue(e,n,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=r,this._prevMatchLength=i,!this._wordSeparators||lr(this._wordSeparators,e,n,r,i))return t}while(t);return null}}function ur(e,n="Unreachable"){throw new Error(n)}function _r(e){e()||(e(),t(new s("Assertion Failed")))}function pr(e,n){let t=0;for(;t<e.length-1;){if(!n(e[t],e[t+1]))return!1;t++}return!0}class fr{static computeUnicodeHighlights(e,n,t){const r=t?t.startLineNumber:1,i=t?t.endLineNumber:e.getLineCount(),a=new mr(n),o=a.getCandidateCodePoints();let s;var c;s="allNonBasicAscii"===o?new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):new RegExp(`[${c=Array.from(o).map((e=>String.fromCodePoint(e))).join(""),c.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}]`,"g");const l=new dr(null,s),d=[];let u,_=!1,p=0,f=0,m=0;e:for(let n=r,t=i;n<=t;n++){const t=e.getLineContent(n),r=t.length;l.reset(0);do{if(u=l.next(t),u){let e=u.index,i=u.index+u[0].length;e>0&&ce(t.charCodeAt(e-1))&&e--,i+1<r&&ce(t.charCodeAt(i-1))&&i++;const o=t.substring(e,i);let s=Mn(e+1,Dn,t,0);s&&s.endColumn<=e+1&&(s=null);const c=a.shouldHighlightNonBasicASCII(o,s?s.word:null);if(0!==c){3===c?p++:2===c?f++:1===c?m++:ur();const t=1e3;if(d.length>=t){_=!0;break e}d.push(new Tn(n,e+1,n,i+1))}}}while(u)}return{ranges:d,hasMore:_,ambiguousCharacterCount:p,invisibleCharacterCount:f,nonBasicAsciiCharacterCount:m}}static computeUnicodeHighlightReason(e,n){const t=new mr(n);switch(t.shouldHighlightNonBasicASCII(e,null)){case 0:return null;case 2:return{kind:1};case 3:{const r=e.codePointAt(0),i=t.ambiguousCharacters.getPrimaryConfusable(r),a=fe.getLocales().filter((e=>!fe.getInstance(new Set([...n.allowedLocales,e])).isAmbiguous(r)));return{kind:0,confusableWith:String.fromCodePoint(i),notAmbiguousInLocales:a}}case 1:return{kind:2}}}}class mr{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=fe.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const e=new Set;if(this.options.invisibleCharacters)for(const n of me.codePoints)hr(String.fromCodePoint(n))||e.add(n);if(this.options.ambiguousCharacters)for(const n of this.ambiguousCharacters.getConfusableCodePoints())e.add(n);for(const n of this.allowedCodePoints)e.delete(n);return e}shouldHighlightNonBasicASCII(e,n){const t=e.codePointAt(0);if(this.allowedCodePoints.has(t))return 0;if(this.options.nonBasicASCII)return 1;let r=!1,i=!1;if(n)for(const e of n){const n=e.codePointAt(0),t=(a=e,_e.test(a));r=r||t,t||this.ambiguousCharacters.isAmbiguous(n)||me.isInvisibleCharacter(n)||(i=!0)}var a;return!r&&i?0:this.options.invisibleCharacters&&!hr(e)&&me.isInvisibleCharacter(t)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(t)?3:0}}function hr(e){return" "===e||"\n"===e||"\t"===e}class gr{static addRange(e,n){let t=0;for(;t<n.length&&n[t].endExclusive<e.start;)t++;let r=t;for(;r<n.length&&n[r].start<=e.endExclusive;)r++;if(t===r)n.splice(t,0,e);else{const i=Math.min(e.start,n[t].start),a=Math.max(e.endExclusive,n[r-1].endExclusive);n.splice(t,r-t,new gr(i,a))}}static tryCreate(e,n){if(!(e>n))return new gr(e,n)}static ofLength(e){return new gr(0,e)}constructor(e,n){if(this.start=e,this.endExclusive=n,e>n)throw new s(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(e){return new gr(this.start+e,this.endExclusive+e)}deltaStart(e){return new gr(this.start+e,this.endExclusive)}deltaEnd(e){return new gr(this.start,this.endExclusive+e)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}equals(e){return this.start===e.start&&this.endExclusive===e.endExclusive}containsRange(e){return this.start<=e.start&&e.endExclusive<=this.endExclusive}contains(e){return this.start<=e&&e<this.endExclusive}join(e){return new gr(Math.min(this.start,e.start),Math.max(this.endExclusive,e.endExclusive))}intersect(e){const n=Math.max(this.start,e.start),t=Math.min(this.endExclusive,e.endExclusive);if(n<=t)return new gr(n,t)}slice(e){return e.slice(this.start,this.endExclusive)}clip(e){if(this.isEmpty)throw new s(`Invalid clipping range: ${this.toString()}`);return Math.max(this.start,Math.min(this.endExclusive-1,e))}clipCyclic(e){if(this.isEmpty)throw new s(`Invalid clipping range: ${this.toString()}`);return e<this.start?this.endExclusive-(this.start-e)%this.length:e>=this.endExclusive?this.start+(e-this.start)%this.length:e}}class yr{static fromRange(e){return new yr(e.startLineNumber,e.endLineNumber)}static subtract(e,n){return n?e.startLineNumber<n.startLineNumber&&n.endLineNumberExclusive<e.endLineNumberExclusive?[new yr(e.startLineNumber,n.startLineNumber),new yr(n.endLineNumberExclusive,e.endLineNumberExclusive)]:n.startLineNumber<=e.startLineNumber&&e.endLineNumberExclusive<=n.endLineNumberExclusive?[]:n.endLineNumberExclusive<e.endLineNumberExclusive?[new yr(Math.max(n.endLineNumberExclusive,e.startLineNumber),e.endLineNumberExclusive)]:[new yr(e.startLineNumber,Math.min(n.startLineNumber,e.endLineNumberExclusive))]:[e]}static joinMany(e){if(0===e.length)return[];let n=e[0];for(let t=1;t<e.length;t++)n=this.join(n,e[t]);return n}static join(e,n){if(0===e.length)return n;if(0===n.length)return e;const t=[];let r=0,i=0,a=null;for(;r<e.length||i<n.length;){let o=null;if(r<e.length&&i<n.length){const t=e[r],a=n[i];t.startLineNumber<a.startLineNumber?(o=t,r++):(o=a,i++)}else r<e.length?(o=e[r],r++):(o=n[i],i++);null===a?a=o:a.endLineNumberExclusive>=o.startLineNumber?a=new yr(a.startLineNumber,Math.max(a.endLineNumberExclusive,o.endLineNumberExclusive)):(t.push(a),a=o)}return null!==a&&t.push(a),t}static ofLength(e,n){return new yr(e,e+n)}static deserialize(e){return new yr(e[0],e[1])}constructor(e,n){if(e>n)throw new s(`startLineNumber ${e} cannot be after endLineNumberExclusive ${n}`);this.startLineNumber=e,this.endLineNumberExclusive=n}contains(e){return this.startLineNumber<=e&&e<this.endLineNumberExclusive}get isEmpty(){return this.startLineNumber===this.endLineNumberExclusive}delta(e){return new yr(this.startLineNumber+e,this.endLineNumberExclusive+e)}deltaLength(e){return new yr(this.startLineNumber,this.endLineNumberExclusive+e)}get length(){return this.endLineNumberExclusive-this.startLineNumber}join(e){return new yr(Math.min(this.startLineNumber,e.startLineNumber),Math.max(this.endLineNumberExclusive,e.endLineNumberExclusive))}toString(){return`[${this.startLineNumber},${this.endLineNumberExclusive})`}intersect(e){const n=Math.max(this.startLineNumber,e.startLineNumber),t=Math.min(this.endLineNumberExclusive,e.endLineNumberExclusive);if(n<=t)return new yr(n,t)}intersectsStrict(e){return this.startLineNumber<e.endLineNumberExclusive&&e.startLineNumber<this.endLineNumberExclusive}overlapOrTouch(e){return this.startLineNumber<=e.endLineNumberExclusive&&e.startLineNumber<=this.endLineNumberExclusive}equals(e){return this.startLineNumber===e.startLineNumber&&this.endLineNumberExclusive===e.endLineNumberExclusive}toInclusiveRange(){return this.isEmpty?null:new Tn(this.startLineNumber,1,this.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER)}toExclusiveRange(){return new Tn(this.startLineNumber,1,this.endLineNumberExclusive,1)}mapToLineArray(e){const n=[];for(let t=this.startLineNumber;t<this.endLineNumberExclusive;t++)n.push(e(t));return n}forEach(e){for(let n=this.startLineNumber;n<this.endLineNumberExclusive;n++)e(n)}serialize(){return[this.startLineNumber,this.endLineNumberExclusive]}includes(e){return this.startLineNumber<=e&&e<this.endLineNumberExclusive}toOffsetRange(){return new gr(this.startLineNumber-1,this.endLineNumberExclusive-1)}}class vr{constructor(e,n,t){this.changes=e,this.moves=n,this.hitTimeout=t}}class br{static inverse(e,n,t){const r=[];let i=1,a=1;for(const n of e){const e=new br(new yr(i,n.originalRange.startLineNumber),new yr(a,n.modifiedRange.startLineNumber),void 0);e.modifiedRange.isEmpty||r.push(e),i=n.originalRange.endLineNumberExclusive,a=n.modifiedRange.endLineNumberExclusive}const o=new br(new yr(i,n+1),new yr(a,t+1),void 0);return o.modifiedRange.isEmpty||r.push(o),r}constructor(e,n,t){this.originalRange=e,this.modifiedRange=n,this.innerChanges=t}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}get changedLineCount(){return Math.max(this.originalRange.length,this.modifiedRange.length)}flip(){var e;return new br(this.modifiedRange,this.originalRange,null===(e=this.innerChanges)||void 0===e?void 0:e.map((e=>e.flip())))}}class Er{constructor(e,n){this.originalRange=e,this.modifiedRange=n}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}flip(){return new Er(this.modifiedRange,this.originalRange)}}class Tr{constructor(e,n){this.original=e,this.modified=n}toString(){return`{${this.original.toString()}->${this.modified.toString()}}`}flip(){return new Tr(this.modified,this.original)}join(e){return new Tr(this.original.join(e.original),this.modified.join(e.modified))}}class xr{constructor(e,n){this.lineRangeMapping=e,this.changes=n}flip(){return new xr(this.lineRangeMapping.flip(),this.changes.map((e=>e.flip())))}}class Sr{computeDiff(e,n,t){var r;const i=new wr(e,n,{maxComputationTime:t.maxComputationTimeMs,shouldIgnoreTrimWhitespace:t.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}).computeDiff(),a=[];let o=null;for(const e of i.changes){let n,t;n=0===e.originalEndLineNumber?new yr(e.originalStartLineNumber+1,e.originalStartLineNumber+1):new yr(e.originalStartLineNumber,e.originalEndLineNumber+1),t=0===e.modifiedEndLineNumber?new yr(e.modifiedStartLineNumber+1,e.modifiedStartLineNumber+1):new yr(e.modifiedStartLineNumber,e.modifiedEndLineNumber+1);let i=new br(n,t,null===(r=e.charChanges)||void 0===r?void 0:r.map((e=>new Er(new Tn(e.originalStartLineNumber,e.originalStartColumn,e.originalEndLineNumber,e.originalEndColumn),new Tn(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn)))));o&&(o.modifiedRange.endLineNumberExclusive!==i.modifiedRange.startLineNumber&&o.originalRange.endLineNumberExclusive!==i.originalRange.startLineNumber||(i=new br(o.originalRange.join(i.originalRange),o.modifiedRange.join(i.modifiedRange),o.innerChanges&&i.innerChanges?o.innerChanges.concat(i.innerChanges):void 0),a.pop())),a.push(i),o=i}return _r((()=>pr(a,((e,n)=>n.originalRange.startLineNumber-e.originalRange.endLineNumberExclusive==n.modifiedRange.startLineNumber-e.modifiedRange.endLineNumberExclusive&&e.originalRange.endLineNumberExclusive<n.originalRange.startLineNumber&&e.modifiedRange.endLineNumberExclusive<n.modifiedRange.startLineNumber)))),new vr(a,[],i.quitEarly)}}function Ar(e,n,t,r){return new Ge(e,n,t).ComputeDiff(r)}class Lr{constructor(e){const n=[],t=[];for(let r=0,i=e.length;r<i;r++)n[r]=Rr(e[r],1),t[r]=Nr(e[r],1);this.lines=e,this._startColumns=n,this._endColumns=t}getElements(){const 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){const r=[],i=[],a=[];let o=0;for(let s=n;s<=t;s++){const n=this.lines[s],c=e?this._startColumns[s]:1,l=e?this._endColumns[s]:n.length+1;for(let e=c;e<l;e++)r[o]=n.charCodeAt(e-1),i[o]=s+1,a[o]=e,o++;!e&&s<t&&(r[o]=10,i[o]=s+1,a[o]=n.length+1,o++)}return new Cr(r,i,a)}}class Cr{constructor(e,n,t){this._charCodes=e,this._lineNumbers=n,this._columns=t}toString(){return"["+this._charCodes.map(((e,n)=>(10===e?"\\n":String.fromCharCode(e))+`-(${this._lineNumbers[n]},${this._columns[n]})`)).join(", ")+"]"}_assertIndex(e,n){if(e<0||e>=n.length)throw new Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(e){return e>0&&e===this._lineNumbers.length?this.getEndLineNumber(e-1):(this._assertIndex(e,this._lineNumbers),this._lineNumbers[e])}getEndLineNumber(e){return-1===e?this.getStartLineNumber(e+1):(this._assertIndex(e,this._lineNumbers),10===this._charCodes[e]?this._lineNumbers[e]+1:this._lineNumbers[e])}getStartColumn(e){return e>0&&e===this._columns.length?this.getEndColumn(e-1):(this._assertIndex(e,this._columns),this._columns[e])}getEndColumn(e){return-1===e?this.getStartColumn(e+1):(this._assertIndex(e,this._columns),10===this._charCodes[e]?1:this._columns[e]+1)}}class kr{constructor(e,n,t,r,i,a,o,s){this.originalStartLineNumber=e,this.originalStartColumn=n,this.originalEndLineNumber=t,this.originalEndColumn=r,this.modifiedStartLineNumber=i,this.modifiedStartColumn=a,this.modifiedEndLineNumber=o,this.modifiedEndColumn=s}static createFromDiffChange(e,n,t){const r=n.getStartLineNumber(e.originalStart),i=n.getStartColumn(e.originalStart),a=n.getEndLineNumber(e.originalStart+e.originalLength-1),o=n.getEndColumn(e.originalStart+e.originalLength-1),s=t.getStartLineNumber(e.modifiedStart),c=t.getStartColumn(e.modifiedStart),l=t.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),d=t.getEndColumn(e.modifiedStart+e.modifiedLength-1);return new kr(r,i,a,o,s,c,l,d)}}class Ir{constructor(e,n,t,r,i){this.originalStartLineNumber=e,this.originalEndLineNumber=n,this.modifiedStartLineNumber=t,this.modifiedEndLineNumber=r,this.charChanges=i}static createFromDiffResult(e,n,t,r,i,a,o){let s,c,l,d,u;if(0===n.originalLength?(s=t.getStartLineNumber(n.originalStart)-1,c=0):(s=t.getStartLineNumber(n.originalStart),c=t.getEndLineNumber(n.originalStart+n.originalLength-1)),0===n.modifiedLength?(l=r.getStartLineNumber(n.modifiedStart)-1,d=0):(l=r.getStartLineNumber(n.modifiedStart),d=r.getEndLineNumber(n.modifiedStart+n.modifiedLength-1)),a&&n.originalLength>0&&n.originalLength<20&&n.modifiedLength>0&&n.modifiedLength<20&&i()){const a=t.createCharSequence(e,n.originalStart,n.originalStart+n.originalLength-1),s=r.createCharSequence(e,n.modifiedStart,n.modifiedStart+n.modifiedLength-1);if(a.getElements().length>0&&s.getElements().length>0){let e=Ar(a,s,i,!0).changes;o&&(e=function(e){if(e.length<=1)return e;const n=[e[0]];let t=n[0];for(let r=1,i=e.length;r<i;r++){const i=e[r],a=i.originalStart-(t.originalStart+t.originalLength),o=i.modifiedStart-(t.modifiedStart+t.modifiedLength);Math.min(a,o)<3?(t.originalLength=i.originalStart+i.originalLength-t.originalStart,t.modifiedLength=i.modifiedStart+i.modifiedLength-t.modifiedStart):(n.push(i),t=i)}return n}(e)),u=[];for(let n=0,t=e.length;n<t;n++)u.push(kr.createFromDiffChange(e[n],a,s))}}return new Ir(s,c,l,d,u)}}class wr{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 Lr(e),this.modified=new Lr(n),this.continueLineDiff=Dr(t.maxComputationTime),this.continueCharDiff=Dr(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:void 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:void 0}]};const e=Ar(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),n=e.changes,t=e.quitEarly;if(this.shouldIgnoreTrimWhitespace){const e=[];for(let t=0,r=n.length;t<r;t++)e.push(Ir.createFromDiffResult(this.shouldIgnoreTrimWhitespace,n[t],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:t,changes:e}}const r=[];let i=0,a=0;for(let e=-1,t=n.length;e<t;e++){const o=e+1<t?n[e+1]:null,s=o?o.originalStart:this.originalLines.length,c=o?o.modifiedStart:this.modifiedLines.length;for(;i<s&&a<c;){const e=this.originalLines[i],n=this.modifiedLines[a];if(e!==n){{let t=Rr(e,1),o=Rr(n,1);for(;t>1&&o>1&&e.charCodeAt(t-2)===n.charCodeAt(o-2);)t--,o--;(t>1||o>1)&&this._pushTrimWhitespaceCharChange(r,i+1,1,t,a+1,1,o)}{let t=Nr(e,1),o=Nr(n,1);const s=e.length+1,c=n.length+1;for(;t<s&&o<c&&e.charCodeAt(t-1)===e.charCodeAt(o-1);)t++,o++;(t<s||o<c)&&this._pushTrimWhitespaceCharChange(r,i+1,t,s,a+1,o,c)}}i++,a++}o&&(r.push(Ir.createFromDiffResult(this.shouldIgnoreTrimWhitespace,o,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),i+=o.originalLength,a+=o.modifiedLength)}return{quitEarly:t,changes:r}}_pushTrimWhitespaceCharChange(e,n,t,r,i,a,o){if(this._mergeTrimWhitespaceCharChange(e,n,t,r,i,a,o))return;let s;this.shouldComputeCharChanges&&(s=[new kr(n,t,n,r,i,a,i,o)]),e.push(new Ir(n,n,i,i,s))}_mergeTrimWhitespaceCharChange(e,n,t,r,i,a,o){const s=e.length;if(0===s)return!1;const c=e[s-1];return 0!==c.originalEndLineNumber&&0!==c.modifiedEndLineNumber&&(c.originalEndLineNumber===n&&c.modifiedEndLineNumber===i?(this.shouldComputeCharChanges&&c.charChanges&&c.charChanges.push(new kr(n,t,n,r,i,a,i,o)),!0):c.originalEndLineNumber+1===n&&c.modifiedEndLineNumber+1===i&&(c.originalEndLineNumber=n,c.modifiedEndLineNumber=i,this.shouldComputeCharChanges&&c.charChanges&&c.charChanges.push(new kr(n,t,n,r,i,a,i,o)),!0))}}function Rr(e,n){const t=function(e){for(let n=0,t=e.length;n<t;n++){const t=e.charCodeAt(n);if(32!==t&&9!==t)return n}return-1}(e);return-1===t?n:t+1}function Nr(e,n){const t=function(e,n=e.length-1){for(let t=n;t>=0;t--){const n=e.charCodeAt(t);if(32!==n&&9!==n)return t}return-1}(e);return-1===t?n:t+2}function Dr(e){if(0===e)return()=>!0;const n=Date.now();return()=>Date.now()-n<e}class Or{constructor(){this.map=new Map}add(e,n){let t=this.map.get(e);t||(t=new Set,this.map.set(e,t)),t.add(n)}delete(e,n){const t=this.map.get(e);t&&(t.delete(n),0===t.size&&this.map.delete(e))}forEach(e,n){const t=this.map.get(e);t&&t.forEach(n)}get(e){return this.map.get(e)||new Set}}class Mr{static trivial(e,n){return new Mr([new Pr(new gr(0,e.length),new gr(0,n.length))],!1)}static trivialTimedOut(e,n){return new Mr([new Pr(new gr(0,e.length),new gr(0,n.length))],!0)}constructor(e,n){this.diffs=e,this.hitTimeout=n}}class Pr{constructor(e,n){this.seq1Range=e,this.seq2Range=n}reverse(){return new Pr(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(e){return new Pr(this.seq1Range.join(e.seq1Range),this.seq2Range.join(e.seq2Range))}delta(e){return 0===e?this:new Pr(this.seq1Range.delta(e),this.seq2Range.delta(e))}}class Fr{isValid(){return!0}}Fr.instance=new Fr;class Gr{constructor(e){if(this.timeout=e,this.startTime=Date.now(),this.valid=!0,e<=0)throw new s("timeout must be positive")}isValid(){return!(Date.now()-this.startTime<this.timeout)&&this.valid&&(this.valid=!1),this.valid}}class Br{constructor(e,n){this.width=e,this.height=n,this.array=[],this.array=new Array(e*n)}get(e,n){return this.array[e+n*this.width]}set(e,n,t){this.array[e+n*this.width]=t}}class Ur{compute(e,n,t=Fr.instance,r){if(0===e.length||0===n.length)return Mr.trivial(e,n);const i=new Br(e.length,n.length),a=new Br(e.length,n.length),o=new Br(e.length,n.length);for(let s=0;s<e.length;s++)for(let c=0;c<n.length;c++){if(!t.isValid())return Mr.trivialTimedOut(e,n);const l=0===s?0:i.get(s-1,c),d=0===c?0:i.get(s,c-1);let u;e.getElement(s)===n.getElement(c)?(u=0===s||0===c?0:i.get(s-1,c-1),s>0&&c>0&&3===a.get(s-1,c-1)&&(u+=o.get(s-1,c-1)),u+=r?r(s,c):1):u=-1;const _=Math.max(l,d,u);if(_===u){const e=s>0&&c>0?o.get(s-1,c-1):0;o.set(s,c,e+1),a.set(s,c,3)}else _===l?(o.set(s,c,0),a.set(s,c,1)):_===d&&(o.set(s,c,0),a.set(s,c,2));i.set(s,c,_)}const s=[];let c=e.length,l=n.length;function d(e,n){e+1===c&&n+1===l||s.push(new Pr(new gr(e+1,c),new gr(n+1,l))),c=e,l=n}let u=e.length-1,_=n.length-1;for(;u>=0&&_>=0;)3===a.get(u,_)?(d(u,_),u--,_--):1===a.get(u,_)?u--:_--;return d(-1,-1),s.reverse(),new Mr(s,!1)}}function Vr(e,n,t){let r=t;return r=function(e,n,t){if(0===t.length)return t;const r=[];r.push(t[0]);for(let i=1;i<t.length;i++){const a=r[r.length-1];let o=t[i];if(o.seq1Range.isEmpty||o.seq2Range.isEmpty){const t=o.seq1Range.start-a.seq1Range.endExclusive;let i;for(i=1;i<=t&&e.getElement(o.seq1Range.start-i)===e.getElement(o.seq1Range.endExclusive-i)&&n.getElement(o.seq2Range.start-i)===n.getElement(o.seq2Range.endExclusive-i);i++);if(i--,i===t){r[r.length-1]=new Pr(new gr(a.seq1Range.start,o.seq1Range.endExclusive-t),new gr(a.seq2Range.start,o.seq2Range.endExclusive-t));continue}o=o.delta(-i)}r.push(o)}const i=[];for(let t=0;t<r.length-1;t++){const a=r[t+1];let o=r[t];if(o.seq1Range.isEmpty||o.seq2Range.isEmpty){const i=a.seq1Range.start-o.seq1Range.endExclusive;let s;for(s=0;s<i&&e.getElement(o.seq1Range.start+s)===e.getElement(o.seq1Range.endExclusive+s)&&n.getElement(o.seq2Range.start+s)===n.getElement(o.seq2Range.endExclusive+s);s++);if(s===i){r[t+1]=new Pr(new gr(o.seq1Range.start+i,a.seq1Range.endExclusive),new gr(o.seq2Range.start+i,a.seq2Range.endExclusive));continue}s>0&&(o=o.delta(s))}i.push(o)}return r.length>0&&i.push(r[r.length-1]),i}(e,n,r),r=function(e,n,t){if(!e.getBoundaryScore||!n.getBoundaryScore)return t;for(let r=0;r<t.length;r++){const i=r>0?t[r-1]:void 0,a=t[r],o=r+1<t.length?t[r+1]:void 0,s=new gr(i?i.seq1Range.start+1:0,o?o.seq1Range.endExclusive-1:e.length),c=new gr(i?i.seq2Range.start+1:0,o?o.seq2Range.endExclusive-1:n.length);a.seq1Range.isEmpty?t[r]=jr(a,e,n,s,c):a.seq2Range.isEmpty&&(t[r]=jr(a.reverse(),n,e,c,s).reverse())}return t}(e,n,r),r}function jr(e,n,t,r,i){let a=1;for(;e.seq1Range.start-a>=r.start&&e.seq2Range.start-a>=i.start&&t.isStronglyEqual(e.seq2Range.start-a,e.seq2Range.endExclusive-a)&&a<100;)a++;a--;let o=0;for(;e.seq1Range.start+o<r.endExclusive&&e.seq2Range.endExclusive+o<i.endExclusive&&t.isStronglyEqual(e.seq2Range.start+o,e.seq2Range.endExclusive+o)&&o<100;)o++;if(0===a&&0===o)return e;let s=0,c=-1;for(let r=-a;r<=o;r++){const i=e.seq2Range.start+r,a=e.seq2Range.endExclusive+r,o=e.seq1Range.start+r,l=n.getBoundaryScore(o)+t.getBoundaryScore(i)+t.getBoundaryScore(a);l>c&&(c=l,s=r)}return e.delta(s)}class Hr{compute(e,n,t=Fr.instance){if(0===e.length||0===n.length)return Mr.trivial(e,n);function r(t,r){for(;t<e.length&&r<n.length&&e.getElement(t)===n.getElement(r);)t++,r++;return t}let i=0;const a=new Wr;a.set(0,r(0,0));const o=new qr;o.set(0,0===a.get(0)?null:new Kr(null,0,0,a.get(0)));let s=0;e:for(;;){if(i++,!t.isValid())return Mr.trivialTimedOut(e,n);const c=-Math.min(i,n.length+i%2),l=Math.min(i,e.length+i%2);for(s=c;s<=l;s+=2){const t=s===l?-1:a.get(s+1),i=s===c?-1:a.get(s-1)+1,d=Math.min(Math.max(t,i),e.length),u=d-s;if(d>e.length||u>n.length)continue;const _=r(d,u);a.set(s,_);const p=d===t?o.get(s+1):o.get(s-1);if(o.set(s,_!==d?new Kr(p,d,u,_-d):p),a.get(s)===e.length&&a.get(s)-s===n.length)break e}}let c=o.get(s);const l=[];let d=e.length,u=n.length;for(;;){const e=c?c.x+c.length:0,n=c?c.y+c.length:0;if(e===d&&n===u||l.push(new Pr(new gr(e,d),new gr(n,u))),!c)break;d=c.x,u=c.y,c=c.prev}return l.reverse(),new Mr(l,!1)}}class Kr{constructor(e,n,t,r){this.prev=e,this.x=n,this.y=t,this.length=r}}class Wr{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,n){if(e<0){if((e=-e-1)>=this.negativeArr.length){const e=this.negativeArr;this.negativeArr=new Int32Array(2*e.length),this.negativeArr.set(e)}this.negativeArr[e]=n}else{if(e>=this.positiveArr.length){const e=this.positiveArr;this.positiveArr=new Int32Array(2*e.length),this.positiveArr.set(e)}this.positiveArr[e]=n}}}class qr{constructor(){this.positiveArr=[],this.negativeArr=[]}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,n){e<0?(e=-e-1,this.negativeArr[e]=n):this.positiveArr[e]=n}}class zr{constructor(){this.dynamicProgrammingDiffing=new Ur,this.myersDiffingAlgorithm=new Hr}computeDiff(e,n,t){if(e.length<=1&&function(e,n,t=((e,n)=>e===n)){if(e===n)return!0;if(!e||!n)return!1;if(e.length!==n.length)return!1;for(let r=0,i=e.length;r<i;r++)if(!t(e[r],n[r]))return!1;return!0}(e,n,((e,n)=>e===n)))return new vr([],[],!1);if(1===e.length&&0===e[0].length||1===n.length&&0===n[0].length)return new vr([new br(new yr(1,e.length+1),new yr(1,n.length+1),[new Er(new Tn(1,1,e.length,e[0].length+1),new Tn(1,1,n.length,n[0].length+1))])],[],!1);const r=0===t.maxComputationTimeMs?Fr.instance:new Gr(t.maxComputationTimeMs),i=!t.ignoreTrimWhitespace,a=new Map;function o(e){let n=a.get(e);return void 0===n&&(n=a.size,a.set(e,n)),n}const s=e.map((e=>o(e.trim()))),c=n.map((e=>o(e.trim()))),l=new Zr(s,e),d=new Zr(c,n),u=(()=>l.length+d.length<1700?this.dynamicProgrammingDiffing.compute(l,d,r,((t,r)=>e[t]===n[r]?0===n[r].length?.1:1+Math.log(1+n[r].length):.99)):this.myersDiffingAlgorithm.compute(l,d))();let _=u.diffs,p=u.hitTimeout;_=Vr(l,d,_),_=function(e,n,t){let r=t;if(0===r.length)return r;let i,a=0;do{i=!1;const o=[r[0]];for(let s=1;s<r.length;s++){const c=r[s],l=o[o.length-1];function d(n,t){const r=new gr(l.seq1Range.endExclusive,c.seq1Range.start);return e.getText(r).replace(/\s/g,"").length<=4&&(n.seq1Range.length+n.seq2Range.length>5||t.seq1Range.length+t.seq2Range.length>5)}d(l,c)?(i=!0,o[o.length-1]=o[o.length-1].join(c)):o.push(c)}r=o}while(a++<10&&i);return r}(l,0,_);const f=[],m=t=>{if(i)for(let a=0;a<t;a++){const t=h+a,o=g+a;if(e[t]!==n[o]){const a=this.refineDiff(e,n,new Pr(new gr(t,t+1),new gr(o,o+1)),r,i);for(const e of a.mappings)f.push(e);a.hitTimeout&&(p=!0)}}};let h=0,g=0;for(const t of _){_r((()=>t.seq1Range.start-h==t.seq2Range.start-g)),m(t.seq1Range.start-h),h=t.seq1Range.endExclusive,g=t.seq2Range.endExclusive;const a=this.refineDiff(e,n,t,r,i);a.hitTimeout&&(p=!0);for(const e of a.mappings)f.push(e)}m(e.length-h);const y=Qr(f,e,n);let v=[];return t.computeMoves&&(v=this.computeMoves(y,e,n,s,c,r,i)),_r((()=>{function t(e,n){if(e.lineNumber<1||e.lineNumber>n.length)return!1;const t=n[e.lineNumber-1];return!(e.column<1||e.column>t.length+1)}function r(e,n){return!(e.startLineNumber<1||e.startLineNumber>n.length+1||e.endLineNumberExclusive<1||e.endLineNumberExclusive>n.length+1)}for(const i of y){if(!i.innerChanges)return!1;for(const r of i.innerChanges)if(!(t(r.modifiedRange.getStartPosition(),n)&&t(r.modifiedRange.getEndPosition(),n)&&t(r.originalRange.getStartPosition(),e)&&t(r.originalRange.getEndPosition(),e)))return!1;if(!r(i.modifiedRange,n)||!r(i.originalRange,e))return!1}return!0})),new vr(y,v,p)}computeMoves(e,n,t,r,i,a,o){const s=[],c=e.filter((e=>e.modifiedRange.isEmpty&&e.originalRange.length>=3)).map((e=>new ci(e.originalRange,n,e))),l=new Set(e.filter((e=>e.originalRange.isEmpty&&e.modifiedRange.length>=3)).map((e=>new ci(e.modifiedRange,t,e)))),d=new Set;for(const e of c){let n,t=-1;for(const r of l){const i=e.computeSimilarity(r);i>t&&(t=i,n=r)}if(t>.9&&n&&(l.delete(n),s.push(new Tr(e.range,n.range)),d.add(e.source),d.add(n.source)),!a.isValid())return[]}const u=new Or;for(const n of e)if(!d.has(n))for(let e=n.originalRange.startLineNumber;e<n.originalRange.endLineNumberExclusive-2;e++){const n=`${r[e-1]}:${r[e+1-1]}:${r[e+2-1]}`;u.add(n,{range:new yr(e,e+3)})}const _=[];e.sort(An((e=>e.modifiedRange.startLineNumber),Ln));for(const n of e){if(d.has(n))continue;let e=[];for(let t=n.modifiedRange.startLineNumber;t<n.modifiedRange.endLineNumberExclusive-2;t++){const n=`${i[t-1]}:${i[t+1-1]}:${i[t+2-1]}`,r=new yr(t,t+3),a=[];u.forEach(n,(({range:n})=>{for(const t of e)if(t.originalLineRange.endLineNumberExclusive+1===n.endLineNumberExclusive&&t.modifiedLineRange.endLineNumberExclusive+1===r.endLineNumberExclusive)return t.originalLineRange=new yr(t.originalLineRange.startLineNumber,n.endLineNumberExclusive),t.modifiedLineRange=new yr(t.modifiedLineRange.startLineNumber,r.endLineNumberExclusive),void a.push(t);const t={modifiedLineRange:r,originalLineRange:n};_.push(t),a.push(t)})),e=a}if(!a.isValid())return[]}var p;_.sort((p=An((e=>e.modifiedLineRange.length),Ln),(e,n)=>-p(e,n)));const f=new Yr,m=new Yr;for(const e of _){const n=e.modifiedLineRange.startLineNumber-e.originalLineRange.startLineNumber,t=Xr(f.subtractFrom(e.modifiedLineRange),m.subtractFrom(e.originalLineRange).map((e=>e.delta(n))));for(const e of t){if(e.length<3)continue;const t=e,r=e.delta(-n);s.push(new Tr(r,t)),f.addRange(t),m.addRange(r)}}if(s.sort(An((e=>e.original.startLineNumber),Ln)),0===s.length)return[];let h=[s[0]];for(let e=1;e<s.length;e++){const t=h[h.length-1],r=s[e],i=r.original.startLineNumber-t.original.endLineNumberExclusive,a=r.modified.startLineNumber-t.modified.endLineNumberExclusive;i>=0&&a>=0&&i+a<=2?h[h.length-1]=t.join(r):r.original.toOffsetRange().slice(n).map((e=>e.trim())).join("\n").length<=10||h.push(r)}const g=Jr.createOfSorted(e,(e=>e.originalRange.endLineNumberExclusive),Ln);return h=h.filter((e=>{const n=g.findLastItemBeforeOrEqual(e.original.startLineNumber)||new br(new yr(1,1),new yr(1,1),[]);return e.modified.startLineNumber-n.modifiedRange.endLineNumberExclusive!=e.original.startLineNumber-n.originalRange.endLineNumberExclusive})),h.map((e=>{const r=Qr(this.refineDiff(n,t,new Pr(e.original.toOffsetRange(),e.modified.toOffsetRange()),a,o).mappings,n,t,!0);return new xr(e,r)}))}refineDiff(e,n,t,r,i){const a=new ni(e,t.seq1Range,i),o=new ni(n,t.seq2Range,i),s=a.length+o.length<500?this.dynamicProgrammingDiffing.compute(a,o,r):this.myersDiffingAlgorithm.compute(a,o,r);let c=s.diffs;return c=Vr(a,o,c),c=function(e,n,t){const r=[];let i;function a(){if(!i)return;const e=i.s1Range.length-i.deleted;i.s2Range.length,i.added,Math.max(i.deleted,i.added)+(i.count-1)>e&&r.push(new Pr(i.s1Range,i.s2Range)),i=void 0}for(const o of t){function s(e,n){var t,r,s,c;if(!i||!i.s1Range.containsRange(e)||!i.s2Range.containsRange(n))if(!i||i.s1Range.endExclusive<e.start&&i.s2Range.endExclusive<n.start)a(),i={added:0,deleted:0,count:0,s1Range:e,s2Range:n};else{const a=gr.tryCreate(i.s1Range.endExclusive,e.start),o=gr.tryCreate(i.s2Range.endExclusive,n.start);i.deleted+=null!==(t=null==a?void 0:a.length)&&void 0!==t?t:0,i.added+=null!==(r=null==o?void 0:o.length)&&void 0!==r?r:0,i.s1Range=i.s1Range.join(e),i.s2Range=i.s2Range.join(n)}const l=e.intersect(o.seq1Range),d=n.intersect(o.seq2Range);i.count++,i.deleted+=null!==(s=null==l?void 0:l.length)&&void 0!==s?s:0,i.added+=null!==(c=null==d?void 0:d.length)&&void 0!==c?c:0}const c=e.findWordContaining(o.seq1Range.start-1),l=n.findWordContaining(o.seq2Range.start-1),d=e.findWordContaining(o.seq1Range.endExclusive),u=n.findWordContaining(o.seq2Range.endExclusive);c&&d&&l&&u&&c.equals(d)&&l.equals(u)?s(c,l):(c&&l&&s(c,l),d&&u&&s(d,u))}return a(),function(e,n){const t=[];for(;e.length>0||n.length>0;){const r=e[0],i=n[0];let a;a=r&&(!i||r.seq1Range.start<i.seq1Range.start)?e.shift():n.shift(),t.length>0&&t[t.length-1].seq1Range.endExclusive>=a.seq1Range.start?t[t.length-1]=t[t.length-1].join(a):t.push(a)}return t}(t,r)}(a,o,c),c=function(e,n,t){const r=[];for(const e of t){const n=r[r.length-1];n&&(e.seq1Range.start-n.seq1Range.endExclusive<=2||e.seq2Range.start-n.seq2Range.endExclusive<=2)?r[r.length-1]=new Pr(n.seq1Range.join(e.seq1Range),n.seq2Range.join(e.seq2Range)):r.push(e)}return r}(0,0,c),c=function(e,n,t){let r=t;if(0===r.length)return r;let i,a=0;do{i=!1;const o=[r[0]];for(let s=1;s<r.length;s++){const c=r[s],l=o[o.length-1];function d(t,r){const i=new gr(l.seq1Range.endExclusive,c.seq1Range.start);if(e.countLinesIn(i)>5||i.length>500)return!1;const a=e.getText(i).trim();if(a.length>20||a.split(/\r\n|\r|\n/).length>1)return!1;const o=e.countLinesIn(t.seq1Range),s=t.seq1Range.length,d=n.countLinesIn(t.seq2Range),u=t.seq2Range.length,_=e.countLinesIn(r.seq1Range),p=r.seq1Range.length,f=n.countLinesIn(r.seq2Range),m=r.seq2Range.length;function h(e){return Math.min(e,130)}return Math.pow(Math.pow(h(40*o+s),1.5)+Math.pow(h(40*d+u),1.5),1.5)+Math.pow(Math.pow(h(40*_+p),1.5)+Math.pow(h(40*f+m),1.5),1.5)>1.3*Math.pow(Math.pow(130,1.5),1.5)}d(l,c)?(i=!0,o[o.length-1]=o[o.length-1].join(c)):o.push(c)}r=o}while(a++<10&&i);for(let u=0;u<r.length;u++){const _=r[u];let p=_.seq1Range,f=_.seq2Range;const m=e.extendToFullLines(_.seq1Range),h=e.getText(new gr(m.start,_.seq1Range.start));h.length>0&&h.trim().length<=3&&_.seq1Range.length+_.seq2Range.length>100&&(p=_.seq1Range.deltaStart(-h.length),f=_.seq2Range.deltaStart(-h.length));const g=e.getText(new gr(_.seq1Range.endExclusive,m.endExclusive));g.length>0&&g.trim().length<=3&&_.seq1Range.length+_.seq2Range.length>150&&(p=p.deltaEnd(g.length),f=f.deltaEnd(g.length)),r[u]=new Pr(p,f)}return r}(a,o,c),{mappings:c.map((e=>new Er(a.translateRange(e.seq1Range),o.translateRange(e.seq2Range)))),hitTimeout:s.hitTimeout}}}class Jr{static createOfSorted(e,n,t){return new Jr(e,n,t)}constructor(e,n,t){this._items=e,this._itemToDomain=n,this._domainComparator=t,this._currentIdx=0,this._lastValue=void 0,this._hasLastValue=!1}findLastItemBeforeOrEqual(e){if(this._hasLastValue&&Sn.isLessThan(this._domainComparator(e,this._lastValue)))throw new s;for(this._lastValue=e,this._hasLastValue=!0;this._currentIdx<this._items.length&&Sn.isLessThanOrEqual(this._domainComparator(this._itemToDomain(this._items[this._currentIdx]),e));)this._currentIdx++;return 0===this._currentIdx?void 0:this._items[this._currentIdx-1]}}function Xr(e,n){const t=[];let r=0,i=0;for(;r<e.length&&i<n.length;){const a=e[r],o=n[i],s=a.intersect(o);s&&!s.isEmpty&&t.push(s),a.endLineNumberExclusive<o.endLineNumberExclusive?r++:i++}return t}class Yr{constructor(){this._normalizedRanges=[]}addRange(e){const n=$r(this._normalizedRanges.findIndex((n=>n.endLineNumberExclusive>=e.startLineNumber)),this._normalizedRanges.length),t=xn(this._normalizedRanges,(n=>n.startLineNumber<=e.endLineNumberExclusive))+1;if(n===t)this._normalizedRanges.splice(n,0,e);else if(n===t-1){const t=this._normalizedRanges[n];this._normalizedRanges[n]=t.join(e)}else{const r=this._normalizedRanges[n].join(this._normalizedRanges[t-1]).join(e);this._normalizedRanges.splice(n,t-n,r)}}subtractFrom(e){const n=$r(this._normalizedRanges.findIndex((n=>n.endLineNumberExclusive>=e.startLineNumber)),this._normalizedRanges.length),t=xn(this._normalizedRanges,(n=>n.startLineNumber<=e.endLineNumberExclusive))+1;if(n===t)return[e];const r=[];let i=e.startLineNumber;for(let e=n;e<t;e++){const n=this._normalizedRanges[e];n.startLineNumber>i&&r.push(new yr(i,n.startLineNumber)),i=n.endLineNumberExclusive}return i<e.endLineNumberExclusive&&r.push(new yr(i,e.endLineNumberExclusive)),r}}function $r(e,n){return-1===e?n:e}function Qr(e,n,t,r=!1){const i=[];for(const r of function*(e,n){let t,r;for(const n of e)void 0!==r&&(a=n,(i=r).originalRange.overlapOrTouch(a.originalRange)||i.modifiedRange.overlapOrTouch(a.modifiedRange))?t.push(n):(t&&(yield t),t=[n]),r=n;var i,a;t&&(yield t)}(e.map((e=>function(e,n,t){let r=0,i=0;1===e.modifiedRange.endColumn&&1===e.originalRange.endColumn&&e.originalRange.startLineNumber+r<=e.originalRange.endLineNumber&&e.modifiedRange.startLineNumber+r<=e.modifiedRange.endLineNumber&&(i=-1),e.modifiedRange.startColumn-1>=t[e.modifiedRange.startLineNumber-1].length&&e.originalRange.startColumn-1>=n[e.originalRange.startLineNumber-1].length&&e.originalRange.startLineNumber<=e.originalRange.endLineNumber+i&&e.modifiedRange.startLineNumber<=e.modifiedRange.endLineNumber+i&&(r=1);const a=new yr(e.originalRange.startLineNumber+r,e.originalRange.endLineNumber+1+i),o=new yr(e.modifiedRange.startLineNumber+r,e.modifiedRange.endLineNumber+1+i);return new br(a,o,[e])}(e,n,t))))){const e=r[0],n=r[r.length-1];i.push(new br(e.originalRange.join(n.originalRange),e.modifiedRange.join(n.modifiedRange),r.map((e=>e.innerChanges[0]))))}return _r((()=>!(!r&&i.length>0&&i[0].originalRange.startLineNumber!==i[0].modifiedRange.startLineNumber)&&pr(i,((e,n)=>n.originalRange.startLineNumber-e.originalRange.endLineNumberExclusive==n.modifiedRange.startLineNumber-e.modifiedRange.endLineNumberExclusive&&e.originalRange.endLineNumberExclusive<n.originalRange.startLineNumber&&e.modifiedRange.endLineNumberExclusive<n.modifiedRange.startLineNumber)))),i}class Zr{constructor(e,n){this.trimmedHash=e,this.lines=n}getElement(e){return this.trimmedHash[e]}get length(){return this.trimmedHash.length}getBoundaryScore(e){return 1e3-((0===e?0:ei(this.lines[e-1]))+(e===this.lines.length?0:ei(this.lines[e])))}getText(e){return this.lines.slice(e.start,e.endExclusive).join("\n")}isStronglyEqual(e,n){return this.lines[e]===this.lines[n]}}function ei(e){let n=0;for(;n<e.length&&(32===e.charCodeAt(n)||9===e.charCodeAt(n));)n++;return n}class ni{constructor(e,n,t){this.lines=e,this.considerWhitespaceChanges=t,this.elements=[],this.firstCharOffsetByLineMinusOne=[],this.additionalOffsetByLine=[];let r=!1;n.start>0&&n.endExclusive>=e.length&&(n=new gr(n.start-1,n.endExclusive),r=!0),this.lineRange=n;for(let n=this.lineRange.start;n<this.lineRange.endExclusive;n++){let i=e[n],a=0;if(r)a=i.length,i="",r=!1;else if(!t){const e=i.trimStart();a=i.length-e.length,i=e.trimEnd()}this.additionalOffsetByLine.push(a);for(let e=0;e<i.length;e++)this.elements.push(i.charCodeAt(e));n<e.length-1&&(this.elements.push("\n".charCodeAt(0)),this.firstCharOffsetByLineMinusOne[n-this.lineRange.start]=this.elements.length)}this.additionalOffsetByLine.push(0)}toString(){return`Slice: "${this.text}"`}get text(){return this.getText(new gr(0,this.length))}getText(e){return this.elements.slice(e.start,e.endExclusive).map((e=>String.fromCharCode(e))).join("")}getElement(e){return this.elements[e]}get length(){return this.elements.length}getBoundaryScore(e){const n=ai(e>0?this.elements[e-1]:-1),t=ai(e<this.elements.length?this.elements[e]:-1);if(6===n&&7===t)return 0;let r=0;return n!==t&&(r+=10,1===t&&(r+=1)),r+=ii(n),r+=ii(t),r}translateOffset(e){if(this.lineRange.isEmpty)return new En(this.lineRange.start+1,1);let n=0,t=this.firstCharOffsetByLineMinusOne.length;for(;n<t;){const r=Math.floor((n+t)/2);this.firstCharOffsetByLineMinusOne[r]>e?t=r:n=r+1}const r=0===n?0:this.firstCharOffsetByLineMinusOne[n-1];return new En(this.lineRange.start+n+1,e-r+1+this.additionalOffsetByLine[n])}translateRange(e){return Tn.fromPositions(this.translateOffset(e.start),this.translateOffset(e.endExclusive))}findWordContaining(e){if(e<0||e>=this.elements.length)return;if(!ti(this.elements[e]))return;let n=e;for(;n>0&&ti(this.elements[n-1]);)n--;let t=e;for(;t<this.elements.length&&ti(this.elements[t]);)t++;return new gr(n,t)}countLinesIn(e){return this.translateOffset(e.endExclusive).lineNumber-this.translateOffset(e.start).lineNumber}isStronglyEqual(e,n){return this.elements[e]===this.elements[n]}extendToFullLines(e){var n,t;const r=null!==(n=function(n,t){const r=function(e,n){let t=0,r=e.length;for(;t<r;){const i=Math.floor((t+r)/2);n(e[i])?t=i+1:r=i}return t-1}(n,(n=>n<=e.start));return-1===r?void 0:n[r]}(this.firstCharOffsetByLineMinusOne))&&void 0!==n?n:0,i=null!==(t=function(n,t){const r=function(e,n){let t=0,r=e.length;for(;t<r;){const i=Math.floor((t+r)/2);n(e[i])?r=i:t=i+1}return t}(n,(n=>e.endExclusive<=n));return r===n.length?void 0:n[r]}(this.firstCharOffsetByLineMinusOne))&&void 0!==t?t:this.elements.length;return new gr(r,i)}}function ti(e){return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}const ri={0:0,1:0,2:0,3:10,4:2,5:3,6:10,7:10};function ii(e){return ri[e]}function ai(e){return 10===e?7:13===e?6:function(e){return 32===e||9===e}(e)?5:e>=97&&e<=122?0:e>=65&&e<=90?1:e>=48&&e<=57?2:-1===e?3:4}const oi=new Map;function si(e){let n=oi.get(e);return void 0===n&&(n=oi.size,oi.set(e,n)),n}class ci{constructor(e,n,t){this.range=e,this.lines=n,this.source=t,this.histogram=[];let r=0;for(let t=e.startLineNumber-1;t<e.endLineNumberExclusive-1;t++){const e=n[t];for(let n=0;n<e.length;n++){r++;const t=si(e[n]);this.histogram[t]=(this.histogram[t]||0)+1}r++;const i=si("\n");this.histogram[i]=(this.histogram[i]||0)+1}this.totalCount=r}computeSimilarity(e){var n,t;let r=0;const i=Math.max(this.histogram.length,e.histogram.length);for(let a=0;a<i;a++)r+=Math.abs((null!==(n=this.histogram[a])&&void 0!==n?n:0)-(null!==(t=e.histogram[a])&&void 0!==t?t:0));return 1-r/(this.totalCount+e.totalCount)}}function li(e,n){const t=Math.pow(10,n);return Math.round(e*t)/t}class di{constructor(e,n,t,r=1){this._rgbaBrand=void 0,this.r=0|Math.min(255,Math.max(0,e)),this.g=0|Math.min(255,Math.max(0,n)),this.b=0|Math.min(255,Math.max(0,t)),this.a=li(Math.max(Math.min(1,r),0),3)}static equals(e,n){return e.r===n.r&&e.g===n.g&&e.b===n.b&&e.a===n.a}}class ui{constructor(e,n,t,r){this._hslaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=li(Math.max(Math.min(1,n),0),3),this.l=li(Math.max(Math.min(1,t),0),3),this.a=li(Math.max(Math.min(1,r),0),3)}static equals(e,n){return e.h===n.h&&e.s===n.s&&e.l===n.l&&e.a===n.a}static fromRGBA(e){const n=e.r/255,t=e.g/255,r=e.b/255,i=e.a,a=Math.max(n,t,r),o=Math.min(n,t,r);let s=0,c=0;const l=(o+a)/2,d=a-o;if(d>0){switch(c=Math.min(l<=.5?d/(2*l):d/(2-2*l),1),a){case n:s=(t-r)/d+(t<r?6:0);break;case t:s=(r-n)/d+2;break;case r:s=(n-t)/d+4}s*=60,s=Math.round(s)}return new ui(s,c,l,i)}static _hue2rgb(e,n,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?e+6*(n-e)*t:t<.5?n:t<2/3?e+(n-e)*(2/3-t)*6:e}static toRGBA(e){const n=e.h/360,{s:t,l:r,a:i}=e;let a,o,s;if(0===t)a=o=s=r;else{const e=r<.5?r*(1+t):r+t-r*t,i=2*r-e;a=ui._hue2rgb(i,e,n+1/3),o=ui._hue2rgb(i,e,n),s=ui._hue2rgb(i,e,n-1/3)}return new di(Math.round(255*a),Math.round(255*o),Math.round(255*s),i)}}class _i{constructor(e,n,t,r){this._hsvaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=li(Math.max(Math.min(1,n),0),3),this.v=li(Math.max(Math.min(1,t),0),3),this.a=li(Math.max(Math.min(1,r),0),3)}static equals(e,n){return e.h===n.h&&e.s===n.s&&e.v===n.v&&e.a===n.a}static fromRGBA(e){const n=e.r/255,t=e.g/255,r=e.b/255,i=Math.max(n,t,r),a=i-Math.min(n,t,r),o=0===i?0:a/i;let s;return s=0===a?0:i===n?((t-r)/a%6+6)%6:i===t?(r-n)/a+2:(n-t)/a+4,new _i(Math.round(60*s),o,i,e.a)}static toRGBA(e){const{h:n,s:t,v:r,a:i}=e,a=r*t,o=a*(1-Math.abs(n/60%2-1)),s=r-a;let[c,l,d]=[0,0,0];return n<60?(c=a,l=o):n<120?(c=o,l=a):n<180?(l=a,d=o):n<240?(l=o,d=a):n<300?(c=o,d=a):n<=360&&(c=a,d=o),c=Math.round(255*(c+s)),l=Math.round(255*(l+s)),d=Math.round(255*(d+s)),new di(c,l,d,i)}}class pi{static fromHex(e){return pi.Format.CSS.parseHex(e)||pi.red}static equals(e,n){return!e&&!n||!(!e||!n)&&e.equals(n)}get hsla(){return this._hsla?this._hsla:ui.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:_i.fromRGBA(this.rgba)}constructor(e){if(!e)throw new Error("Color needs a value");if(e instanceof di)this.rgba=e;else if(e instanceof ui)this._hsla=e,this.rgba=ui.toRGBA(e);else{if(!(e instanceof _i))throw new Error("Invalid color ctor argument");this._hsva=e,this.rgba=_i.toRGBA(e)}}equals(e){return!!e&&di.equals(this.rgba,e.rgba)&&ui.equals(this.hsla,e.hsla)&&_i.equals(this.hsva,e.hsva)}getRelativeLuminance(){return li(.2126*pi._relativeLuminanceForComponent(this.rgba.r)+.7152*pi._relativeLuminanceForComponent(this.rgba.g)+.0722*pi._relativeLuminanceForComponent(this.rgba.b),4)}static _relativeLuminanceForComponent(e){const n=e/255;return n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)}isLighter(){return(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3>=128}isLighterThan(e){return this.getRelativeLuminance()>e.getRelativeLuminance()}isDarkerThan(e){return this.getRelativeLuminance()<e.getRelativeLuminance()}lighten(e){return new pi(new ui(this.hsla.h,this.hsla.s,this.hsla.l+this.hsla.l*e,this.hsla.a))}darken(e){return new pi(new ui(this.hsla.h,this.hsla.s,this.hsla.l-this.hsla.l*e,this.hsla.a))}transparent(e){const{r:n,g:t,b:r,a:i}=this.rgba;return new pi(new di(n,t,r,i*e))}isTransparent(){return 0===this.rgba.a}isOpaque(){return 1===this.rgba.a}opposite(){return new pi(new di(255-this.rgba.r,255-this.rgba.g,255-this.rgba.b,this.rgba.a))}makeOpaque(e){if(this.isOpaque()||1!==e.rgba.a)return this;const{r:n,g:t,b:r,a:i}=this.rgba;return new pi(new di(e.rgba.r-i*(e.rgba.r-n),e.rgba.g-i*(e.rgba.g-t),e.rgba.b-i*(e.rgba.b-r),1))}toString(){return this._toString||(this._toString=pi.Format.CSS.format(this)),this._toString}static getLighterColor(e,n,t){if(e.isLighterThan(n))return e;t=t||.5;const r=e.getRelativeLuminance(),i=n.getRelativeLuminance();return t=t*(i-r)/i,e.lighten(t)}static getDarkerColor(e,n,t){if(e.isDarkerThan(n))return e;t=t||.5;const r=e.getRelativeLuminance();return t=t*(r-n.getRelativeLuminance())/r,e.darken(t)}}function fi(e){const n=[];for(const t of e){const e=Number(t);(e||0===e&&""!==t.replace(/\s/g,""))&&n.push(e)}return n}function mi(e,n,t,r){return{red:e/255,blue:t/255,green:n/255,alpha:r}}function hi(e,n){const t=n.index,r=n[0].length;if(!t)return;const i=e.positionAt(t);return{startLineNumber:i.lineNumber,startColumn:i.column,endLineNumber:i.lineNumber,endColumn:i.column+r}}function gi(e,n){if(!e)return;const t=pi.Format.CSS.parseHex(n);return t?{range:e,color:mi(t.rgba.r,t.rgba.g,t.rgba.b,t.rgba.a)}:void 0}function yi(e,n,t){if(!e||1!==n.length)return;const r=fi(n[0].values());return{range:e,color:mi(r[0],r[1],r[2],t?r[3]:1)}}function vi(e,n,t){if(!e||1!==n.length)return;const r=fi(n[0].values()),i=new pi(new ui(r[0],r[1]/100,r[2]/100,t?r[3]:1));return{range:e,color:mi(i.rgba.r,i.rgba.g,i.rgba.b,i.rgba.a)}}function bi(e,n){return"string"==typeof e?[...e.matchAll(n)]:e.findMatches(n)}pi.white=new pi(new di(255,255,255,1)),pi.black=new pi(new di(0,0,0,1)),pi.red=new pi(new di(255,0,0,1)),pi.blue=new pi(new di(0,0,255,1)),pi.green=new pi(new di(0,255,0,1)),pi.cyan=new pi(new di(0,255,255,1)),pi.lightgrey=new pi(new di(211,211,211,1)),pi.transparent=new pi(new di(0,0,0,0)),function(e){let n;!function(n){let t;!function(n){function t(e){const n=e.toString(16);return 2!==n.length?"0"+n:n}function r(e){switch(e){case 48:return 0;case 49:return 1;case 50:return 2;case 51:return 3;case 52:return 4;case 53:return 5;case 54:return 6;case 55:return 7;case 56:return 8;case 57:return 9;case 97:case 65:return 10;case 98:case 66:return 11;case 99:case 67:return 12;case 100:case 68:return 13;case 101:case 69:return 14;case 102:case 70:return 15}return 0}n.formatRGB=function(n){return 1===n.rgba.a?`rgb(${n.rgba.r}, ${n.rgba.g}, ${n.rgba.b})`:e.Format.CSS.formatRGBA(n)},n.formatRGBA=function(e){return`rgba(${e.rgba.r}, ${e.rgba.g}, ${e.rgba.b}, ${+e.rgba.a.toFixed(2)})`},n.formatHSL=function(n){return 1===n.hsla.a?`hsl(${n.hsla.h}, ${(100*n.hsla.s).toFixed(2)}%, ${(100*n.hsla.l).toFixed(2)}%)`:e.Format.CSS.formatHSLA(n)},n.formatHSLA=function(e){return`hsla(${e.hsla.h}, ${(100*e.hsla.s).toFixed(2)}%, ${(100*e.hsla.l).toFixed(2)}%, ${e.hsla.a.toFixed(2)})`},n.formatHex=function(e){return`#${t(e.rgba.r)}${t(e.rgba.g)}${t(e.rgba.b)}`},n.formatHexA=function(n,r=!1){return r&&1===n.rgba.a?e.Format.CSS.formatHex(n):`#${t(n.rgba.r)}${t(n.rgba.g)}${t(n.rgba.b)}${t(Math.round(255*n.rgba.a))}`},n.format=function(n){return n.isOpaque()?e.Format.CSS.formatHex(n):e.Format.CSS.formatRGBA(n)},n.parseHex=function(n){const t=n.length;if(0===t)return null;if(35!==n.charCodeAt(0))return null;if(7===t){const t=16*r(n.charCodeAt(1))+r(n.charCodeAt(2)),i=16*r(n.charCodeAt(3))+r(n.charCodeAt(4)),a=16*r(n.charCodeAt(5))+r(n.charCodeAt(6));return new e(new di(t,i,a,1))}if(9===t){const t=16*r(n.charCodeAt(1))+r(n.charCodeAt(2)),i=16*r(n.charCodeAt(3))+r(n.charCodeAt(4)),a=16*r(n.charCodeAt(5))+r(n.charCodeAt(6)),o=16*r(n.charCodeAt(7))+r(n.charCodeAt(8));return new e(new di(t,i,a,o/255))}if(4===t){const t=r(n.charCodeAt(1)),i=r(n.charCodeAt(2)),a=r(n.charCodeAt(3));return new e(new di(16*t+t,16*i+i,16*a+a))}if(5===t){const t=r(n.charCodeAt(1)),i=r(n.charCodeAt(2)),a=r(n.charCodeAt(3)),o=r(n.charCodeAt(4));return new e(new di(16*t+t,16*i+i,16*a+a,(16*o+o)/255))}return null}}(t=n.CSS||(n.CSS={}))}(n=e.Format||(e.Format={}))}(pi||(pi={}));var Ei=function(e,n,t,r){return new(t||(t=Promise))((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var n;e.done?i(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(o,s)}c((r=r.apply(e,n||[])).next())}))};class Ti extends Nn{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}findMatches(e){const n=[];for(let t=0;t<this._lines.length;t++){const r=this._lines[t],i=this.offsetAt(new En(t+1,1)),a=r.matchAll(e);for(const e of a)(e.index||0===e.index)&&(e.index=e.index+i),n.push(e)}return n}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(e){return this._lines[e-1]}getWordAtPosition(e,n){const t=Mn(e.column,function(e){let n=Dn;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);return t?new Tn(e.lineNumber,t.startColumn,e.lineNumber,t.endColumn):null}words(e){const n=this._lines,t=this._wordenize.bind(this);let r=0,i="",a=0,o=[];return{*[Symbol.iterator](){for(;;)if(a<o.length){const e=i.substring(o[a].start,o[a].end);a+=1,yield e}else{if(!(r<n.length))break;i=n[r],o=t(i,e),a=0,r+=1}}}}getLineWords(e,n){const t=this._lines[e-1],r=this._wordenize(t,n),i=[];for(const e of r)i.push({word:t.substring(e.start,e.end),startColumn:e.start+1,endColumn:e.end+1});return i}_wordenize(e,n){const t=[];let r;for(n.lastIndex=0;(r=n.exec(e))&&0!==r[0].length;)t.push({start:r.index,end:r.index+r[0].length});return t}getValueInRange(e){if((e=this._validateRange(e)).startLineNumber===e.endLineNumber)return this._lines[e.startLineNumber-1].substring(e.startColumn-1,e.endColumn-1);const n=this._eol,t=e.startLineNumber-1,r=e.endLineNumber-1,i=[];i.push(this._lines[t].substring(e.startColumn-1));for(let e=t+1;e<r;e++)i.push(this._lines[e]);return i.push(this._lines[r].substring(0,e.endColumn-1)),i.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();const n=this._lineStarts.getIndexOf(e),t=this._lines[n.index].length;return{lineNumber:1+n.index,column:1+Math.min(n.remainder,t)}}_validateRange(e){const 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(!En.isIPosition(e))throw new Error("bad position");let{lineNumber:n,column:t}=e,r=!1;if(n<1)n=1,t=1,r=!0;else if(n>this._lines.length)n=this._lines.length,t=this._lines[n-1].length+1,r=!0;else{const e=this._lines[n-1].length+1;t<1?(t=1,r=!0):t>e&&(t=e,r=!0)}return r?{lineNumber:n,column:t}:e}}class xi{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(){const e=[];return Object.keys(this._models).forEach((n=>e.push(this._models[n]))),e}acceptNewModel(e){this._models[e.url]=new Ti(dn.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]}computeUnicodeHighlights(e,n,t){return Ei(this,void 0,void 0,(function*(){const r=this._getModel(e);return r?fr.computeUnicodeHighlights(r,n,t):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}}))}computeDiff(e,n,t,r){return Ei(this,void 0,void 0,(function*(){const i=this._getModel(e),a=this._getModel(n);return i&&a?xi.computeDiff(i,a,t,r):null}))}static computeDiff(e,n,t,r){const i="advanced"===r?new zr:new Sr,a=e.getLinesContent(),o=n.getLinesContent(),s=i.computeDiff(a,o,t);function c(e){return e.map((e=>{var n;return[e.originalRange.startLineNumber,e.originalRange.endLineNumberExclusive,e.modifiedRange.startLineNumber,e.modifiedRange.endLineNumberExclusive,null===(n=e.innerChanges)||void 0===n?void 0:n.map((e=>[e.originalRange.startLineNumber,e.originalRange.startColumn,e.originalRange.endLineNumber,e.originalRange.endColumn,e.modifiedRange.startLineNumber,e.modifiedRange.startColumn,e.modifiedRange.endLineNumber,e.modifiedRange.endColumn]))]}))}return{identical:!(s.changes.length>0)&&this._modelsAreIdentical(e,n),quitEarly:s.hitTimeout,changes:c(s.changes),moves:s.moves.map((e=>[e.lineRangeMapping.original.startLineNumber,e.lineRangeMapping.original.endLineNumberExclusive,e.lineRangeMapping.modified.startLineNumber,e.lineRangeMapping.modified.endLineNumberExclusive,c(e.changes)]))}}static _modelsAreIdentical(e,n){const 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,t){return Ei(this,void 0,void 0,(function*(){const r=this._getModel(e);if(!r)return n;const i=[];let a;n=n.slice(0).sort(((e,n)=>e.range&&n.range?Tn.compareRangesUsingStarts(e.range,n.range):(e.range?0:1)-(n.range?0:1)));for(let{range:e,text:o,eol:s}of n){if("number"==typeof s&&(a=s),Tn.isEmpty(e)&&!o)continue;const n=r.getValueInRange(e);if(o=o.replace(/\r\n|\n|\r/g,r.eol),n===o)continue;if(Math.max(o.length,n.length)>xi._diffLimit){i.push({range:e,text:o});continue}const c=Oe(n,o,t),l=r.offsetAt(Tn.lift(e).getStartPosition());for(const e of c){const n=r.positionAt(l+e.originalStart),t=r.positionAt(l+e.originalStart+e.originalLength),a={text:o.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:n.lineNumber,startColumn:n.column,endLineNumber:t.lineNumber,endColumn:t.column}};r.getValueInRange(a.range)!==a.text&&i.push(a)}}return"number"==typeof a&&i.push({eol:a,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),i}))}computeLinks(e){return Ei(this,void 0,void 0,(function*(){const n=this._getModel(e);return n?function(e){return e&&"function"==typeof e.getLineCount&&"function"==typeof e.getLineContent?jn.computeLinks(e):[]}(n):null}))}computeDefaultDocumentColors(e){return Ei(this,void 0,void 0,(function*(){const n=this._getModel(e);return n?function(e){return e&&"function"==typeof e.getValue&&"function"==typeof e.positionAt?function(e){const n=[],t=bi(e,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([A-Fa-f0-9]{3})\b|(#)([A-Fa-f0-9]{4})\b|(#)([A-Fa-f0-9]{6})\b|(#)([A-Fa-f0-9]{8})\b/gm);if(t.length>0)for(const r of t){const t=r.filter((e=>void 0!==e)),i=t[1],a=t[2];if(!a)continue;let o;if("rgb"===i){const n=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;o=yi(hi(e,r),bi(a,n),!1)}else if("rgba"===i){const n=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;o=yi(hi(e,r),bi(a,n),!0)}else if("hsl"===i){const n=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;o=vi(hi(e,r),bi(a,n),!1)}else if("hsla"===i){const n=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;o=vi(hi(e,r),bi(a,n),!0)}else"#"===i&&(o=gi(hi(e,r),i+a));o&&n.push(o)}return n}(e):[]}(n):null}))}textualSuggest(e,n,t,r){return Ei(this,void 0,void 0,(function*(){const i=new E,a=new RegExp(t,r),o=new Set;e:for(const t of e){const e=this._getModel(t);if(e)for(const t of e.words(a))if(t!==n&&isNaN(Number(t))&&(o.add(t),o.size>xi._suggestionsLimit))break e}return{words:Array.from(o),duration:i.elapsed()}}))}computeWordRanges(e,n,t,r){return Ei(this,void 0,void 0,(function*(){const i=this._getModel(e);if(!i)return Object.create(null);const a=new RegExp(t,r),o=Object.create(null);for(let e=n.startLineNumber;e<n.endLineNumber;e++){const n=i.getLineWords(e,a);for(const t of n){if(!isNaN(Number(t.word)))continue;let n=o[t.word];n||(n=[],o[t.word]=n),n.push({startLineNumber:e,startColumn:t.startColumn,endLineNumber:e,endColumn:t.endColumn})}}return o}))}navigateValueSet(e,n,t,r,i){return Ei(this,void 0,void 0,(function*(){const a=this._getModel(e);if(!a)return null;const o=new RegExp(r,i);n.startColumn===n.endColumn&&(n={startLineNumber:n.startLineNumber,startColumn:n.startColumn,endLineNumber:n.endLineNumber,endColumn:n.endColumn+1});const s=a.getValueInRange(n),c=a.getWordAtPosition({lineNumber:n.startLineNumber,column:n.startColumn},o);if(!c)return null;const l=a.getValueInRange(c);return Hn.INSTANCE.navigateValueSet(n,s,c,l,t)}))}loadForeignModule(e,n,t){const r=function(e,n){const t=e=>function(){const t=Array.prototype.slice.call(arguments,0);return n(e,t)},r={};for(const n of e)r[n]=t(n);return r}(t,((e,n)=>this._host.fhr(e,n))),i={host:r,getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(i,n),Promise.resolve(I(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)}}}xi._diffLimit=1e5,xi._suggestionsLimit=1e4,"function"==typeof importScripts&&(globalThis.monaco={editor:void 0,languages:void 0,CancellationTokenSource:class{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 qn),this._token}cancel(){this._token?this._token instanceof qn&&this._token.cancel():this._token=Wn.Cancelled}dispose(e=!1){var n;e&&this.cancel(),null===(n=this._parentListener)||void 0===n||n.dispose(),this._token?this._token instanceof qn&&this._token.dispose():this._token=Wn.None}},Emitter:C,KeyCode:Mt,KeyMod:cr,Position:En,Range:Tn,Selection:at,SelectionDirection:zt,MarkerSeverity:Pt,MarkerTag:Ft,Uri:dn,Token:class{constructor(e,n,t){this.offset=e,this.type=n,this.language=t,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}});let Si=!1;function Ai(e){if(Si)return;Si=!0;const n=new Ae((e=>{globalThis.postMessage(e)}),(n=>new xi(n,e)));globalThis.onmessage=e=>{n.onmessage(e.data)}}globalThis.onmessage=e=>{Si||Ai(null)};var Li="/index.js",Ci=Object.defineProperty,ki={};((e,n)=>{for(var t in n)Ci(e,t,{get:n[t],enumerable:!0})})(ki,{EndOfLineState:()=>Mi,IndentStyle:()=>Fi,ScriptKind:()=>Gi,ScriptTarget:()=>Bi,TokenClass:()=>Ui,createClassifier:()=>Ni,createLanguageService:()=>Di,displayPartsToString:()=>Oi,flattenDiagnosticMessageText:()=>Pi,typescript:()=>Vi});var Ii=void 0,wi={exports:{}},Ri=(()=>{var n,t,r,i,a,o,s,c,l,d,u,_,p,f,m,h,g,y,v=Object.defineProperty,b=Object.getOwnPropertyNames,E=(e,n)=>function(){return e&&(n=(0,e[b(e)[0]])(e=0)),n},T=(e,n)=>{for(var t in n)v(e,t,{get:n[t],enumerable:!0})},x=E({"src/compiler/corePublic.ts"(){n="5.0",t="5.0.2",r=(e=>(e[e.LessThan=-1]="LessThan",e[e.EqualTo=0]="EqualTo",e[e.GreaterThan=1]="GreaterThan",e))(r||{})}});function S(e){return e?e.length:0}function A(e,n){if(e)for(let t=0;t<e.length;t++){const r=n(e[t],t);if(r)return r}}function L(e,n){if(e)for(let t=e.length-1;t>=0;t--){const r=n(e[t],t);if(r)return r}}function C(e,n){if(void 0!==e)for(let t=0;t<e.length;t++){const r=n(e[t],t);if(void 0!==r)return r}}function k(e,n){for(const t of e){const e=n(t);if(void 0!==e)return e}}function I(e,n,t){let r=t;if(e){let t=0;for(const i of e)r=n(r,i,t),t++}return r}function w(e,n,t){const r=[];Nt.assertEqual(e.length,n.length);for(let i=0;i<e.length;i++)r.push(t(e[i],n[i],i));return r}function R(e,n){if(e.length<=1)return e;const t=[];for(let r=0,i=e.length;r<i;r++)r&&t.push(n),t.push(e[r]);return t}function N(e,n){if(e)for(let t=0;t<e.length;t++)if(!n(e[t],t))return!1;return!0}function D(e,n,t){if(void 0!==e)for(let r=null!=t?t:0;r<e.length;r++){const t=e[r];if(n(t,r))return t}}function O(e,n,t){if(void 0!==e)for(let r=null!=t?t:e.length-1;r>=0;r--){const t=e[r];if(n(t,r))return t}}function M(e,n,t){if(void 0===e)return-1;for(let r=null!=t?t:0;r<e.length;r++)if(n(e[r],r))return r;return-1}function P(e,n,t){if(void 0===e)return-1;for(let r=null!=t?t:e.length-1;r>=0;r--)if(n(e[r],r))return r;return-1}function F(e,n){for(let t=0;t<e.length;t++){const r=n(e[t],t);if(r)return r}return Nt.fail()}function G(e,n,t=Pn){if(e)for(const r of e)if(t(r,n))return!0;return!1}function B(e,n,t=Pn){return e.length===n.length&&e.every(((e,r)=>t(e,n[r])))}function U(e,n,t){for(let r=t||0;r<e.length;r++)if(G(n,e.charCodeAt(r)))return r;return-1}function V(e,n){let t=0;if(e)for(let r=0;r<e.length;r++)n(e[r],r)&&t++;return t}function j(e,n){if(e){const t=e.length;let r=0;for(;r<t&&n(e[r]);)r++;if(r<t){const i=e.slice(0,r);for(r++;r<t;){const t=e[r];n(t)&&i.push(t),r++}return i}}return e}function H(e,n){let t=0;for(let r=0;r<e.length;r++)n(e[r],r,e)&&(e[t]=e[r],t++);e.length=t}function K(e){e.length=0}function W(e,n){let t;if(e){t=[];for(let r=0;r<e.length;r++)t.push(n(e[r],r))}return t}function*q(e,n){for(const t of e)yield n(t)}function z(e,n){if(e)for(let t=0;t<e.length;t++){const r=e[t],i=n(r,t);if(r!==i){const r=e.slice(0,t);for(r.push(i),t++;t<e.length;t++)r.push(n(e[t],t));return r}}return e}function J(e){const n=[];for(const t of e)t&&(gn(t)?Ae(n,t):n.push(t));return n}function X(e,n){let t;if(e)for(let r=0;r<e.length;r++){const i=n(e[r],r);i&&(t=gn(i)?Ae(t,i):Te(t,i))}return t||i}function Y(e,n){const t=[];if(e)for(let r=0;r<e.length;r++){const i=n(e[r],r);i&&(gn(i)?Ae(t,i):t.push(i))}return t}function*$(e,n){for(const t of e){const e=n(t);e&&(yield*e)}}function Q(e,n){let t;if(e)for(let r=0;r<e.length;r++){const i=e[r],a=n(i,r);(t||i!==a||gn(a))&&(t||(t=e.slice(0,r)),gn(a)?Ae(t,a):t.push(a))}return t||e}function Z(e,n){const t=[];for(let r=0;r<e.length;r++){const i=n(e[r],r);if(void 0===i)return;t.push(i)}return t}function ee(e,n){const t=[];if(e)for(let r=0;r<e.length;r++){const i=n(e[r],r);void 0!==i&&t.push(i)}return t}function*ne(e,n){for(const t of e){const e=n(t);void 0!==e&&(yield e)}}function te(e,n){if(!e)return;const t=new Map;return e.forEach(((e,r)=>{const i=n(r,e);if(void 0!==i){const[e,n]=i;void 0!==e&&void 0!==n&&t.set(e,n)}})),t}function re(e,n,t){if(e.has(n))return e.get(n);const r=t();return e.set(n,r),r}function ie(e,n){return!e.has(n)&&(e.add(n),!0)}function*ae(e){yield e}function oe(e,n,t){let r;if(e){r=[];const i=e.length;let a,o,s=0,c=0;for(;s<i;){for(;c<i;){if(o=n(e[c],c),0===c)a=o;else if(o!==a)break;c++}if(s<c){const n=t(e.slice(s,c),a,s,c);n&&r.push(n),s=c}a=o,c++}}return r}function se(e,n){if(!e)return;const t=new Map;return e.forEach(((e,r)=>{const[i,a]=n(r,e);t.set(i,a)})),t}function ce(e,n){if(e){if(!n)return e.length>0;for(const t of e)if(n(t))return!0}return!1}function le(e,n,t){let r;for(let i=0;i<e.length;i++)n(e[i])?r=void 0===r?i:r:void 0!==r&&(t(r,i),r=void 0);void 0!==r&&t(r,e.length)}function de(e,n){return ce(n)?ce(e)?[...e,...n]:n:e}function ue(e,n){return n}function _e(e){return e.map(ue)}function pe(e,n,t){return 0===e.length?[]:1===e.length?e.slice():t?function(e,n,t){const r=_e(e);ke(e,r,t);let i=e[r[0]];const a=[r[0]];for(let t=1;t<r.length;t++){const o=r[t],s=e[o];n(i,s)||(a.push(o),i=s)}return a.sort(),a.map((n=>e[n]))}(e,n,t):function(e,n){const t=[];for(const r of e)Le(t,r,n);return t}(e,n)}function fe(){return[]}function me(e,n,t,r){if(0===e.length)return e.push(n),!0;const i=He(e,n,Cn,t);return i<0?(e.splice(~i,0,n),!0):!!r&&(e.splice(i,0,n),!0)}function he(e,n,t){return function(e,n){if(0===e.length)return i;let t=e[0];const r=[t];for(let i=1;i<e.length;i++){const a=e[i];switch(n(a,t)){case!0:case 0:continue;case-1:return Nt.fail("Array is unsorted.")}r.push(t=a)}return r}(Ie(e,n),t||n||Wn)}function ge(e,n){if(e.length<2)return!0;for(let t=1,r=e.length;t<r;t++)if(1===n(e[t-1],e[t]))return!1;return!0}function ye(e,n,t,r){let i=3;if(e.length<2)return i;let a=n(e[0]);for(let o=1,s=e.length;o<s&&0!==i;o++){const s=n(e[o]);1&i&&t(a,s)>0&&(i&=-2),2&i&&r(a,s)>0&&(i&=-3),a=s}return i}function ve(e,n,t=Pn){if(!e||!n)return e===n;if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++)if(!t(e[r],n[r],r))return!1;return!0}function be(e){let n;if(e)for(let t=0;t<e.length;t++){const r=e[t];!n&&r||(n||(n=e.slice(0,t)),r&&n.push(r))}return n||e}function Ee(e,n,t){if(!n||!e||0===n.length||0===e.length)return n;const r=[];e:for(let i=0,a=0;a<n.length;a++){a>0&&Nt.assertGreaterThanOrEqual(t(n[a],n[a-1]),0);n:for(const o=i;i<e.length;i++)switch(i>o&&Nt.assertGreaterThanOrEqual(t(e[i],e[i-1]),0),t(n[a],e[i])){case-1:r.push(n[a]);continue e;case 0:continue e;case 1:continue n}}return r}function Te(e,n){return void 0===n?e:void 0===e?[n]:(e.push(n),e)}function xe(e,n){return void 0===e?n:void 0===n?e:gn(e)?gn(n)?de(e,n):Te(e,n):gn(n)?Te(n,e):[e,n]}function Se(e,n){return n<0?e.length+n:n}function Ae(e,n,t,r){if(void 0===n||0===n.length)return e;if(void 0===e)return n.slice(t,r);t=void 0===t?0:Se(n,t),r=void 0===r?n.length:Se(n,r);for(let i=t;i<r&&i<n.length;i++)void 0!==n[i]&&e.push(n[i]);return e}function Le(e,n,t){return!G(e,n,t)&&(e.push(n),!0)}function Ce(e,n,t){return e?(Le(e,n,t),e):[n]}function ke(e,n,t){n.sort(((n,r)=>t(e[n],e[r])||Un(n,r)))}function Ie(e,n){return 0===e.length?e:e.slice().sort(n)}function*we(e){for(let n=e.length-1;n>=0;n--)yield e[n]}function Re(e,n){const t=_e(e);return ke(e,t,n),t.map((n=>e[n]))}function Ne(e,n,t,r){for(;t<r;){if(e[t]!==n[t])return!1;t++}return!0}function De(e){return void 0===e||0===e.length?void 0:e[0]}function Oe(e){if(e)for(const n of e)return n}function Me(e){return Nt.assert(0!==e.length),e[0]}function Pe(e){for(const n of e)return n;Nt.fail("iterator is empty")}function Fe(e){return void 0===e||0===e.length?void 0:e[e.length-1]}function Ge(e){return Nt.assert(0!==e.length),e[e.length-1]}function Be(e){return e&&1===e.length?e[0]:void 0}function Ue(e){return Nt.checkDefined(Be(e))}function Ve(e){return e&&1===e.length?e[0]:e}function je(e,n,t){const r=e.slice(0);return r[n]=t,r}function He(e,n,t,r,i){return Ke(e,t(n),t,r,i)}function Ke(e,n,t,r,i){if(!ce(e))return-1;let a=i||0,o=e.length-1;for(;a<=o;){const i=a+(o-a>>1);switch(r(t(e[i],i),n)){case-1:a=i+1;break;case 0:return i;case 1:o=i-1}}return~a}function We(e,n,t,r,i){if(e&&e.length>0){const a=e.length;if(a>0){let o=void 0===r||r<0?0:r;const s=void 0===i||o+i>a-1?a-1:o+i;let c;for(arguments.length<=2?(c=e[o],o++):c=t;o<=s;)c=n(c,e[o],o),o++;return c}}return t}function qe(e,n){return l.call(e,n)}function ze(e,n){return l.call(e,n)?e[n]:void 0}function Je(e){const n=[];for(const t in e)l.call(e,t)&&n.push(t);return n}function Xe(e){const n=[];do{const t=Object.getOwnPropertyNames(e);for(const e of t)Le(n,e)}while(e=Object.getPrototypeOf(e));return n}function Ye(e){const n=[];for(const t in e)l.call(e,t)&&n.push(e[t]);return n}function $e(e,n){const t=new Array(e);for(let r=0;r<e;r++)t[r]=n(r);return t}function Qe(e,n){const t=[];for(const r of e)t.push(n?n(r):r);return t}function Ze(e,...n){for(const t of n)if(void 0!==t)for(const n in t)qe(t,n)&&(e[n]=t[n]);return e}function en(e,n,t=Pn){if(e===n)return!0;if(!e||!n)return!1;for(const r in e)if(l.call(e,r)){if(!l.call(n,r))return!1;if(!t(e[r],n[r]))return!1}for(const t in n)if(l.call(n,t)&&!l.call(e,t))return!1;return!0}function nn(e,n,t=Cn){const r=new Map;for(const i of e){const e=n(i);void 0!==e&&r.set(e,t(i))}return r}function tn(e,n,t=Cn){const r=[];for(const i of e)r[n(i)]=t(i);return r}function rn(e,n,t=Cn){const r=un();for(const i of e)r.add(n(i),t(i));return r}function an(e,n,t=Cn){return Qe(rn(e,n).values(),t)}function on(e,n){var t;const r={};if(e)for(const i of e){const e=`${n(i)}`;(null!=(t=r[e])?t:r[e]=[]).push(i)}return r}function sn(e){const n={};for(const t in e)l.call(e,t)&&(n[t]=e[t]);return n}function cn(e,n){const t={};for(const e in n)l.call(n,e)&&(t[e]=n[e]);for(const n in e)l.call(e,n)&&(t[n]=e[n]);return t}function ln(e,n){for(const t in n)l.call(n,t)&&(e[t]=n[t])}function dn(e,n){return n?n.bind(e):void 0}function un(){const e=new Map;return e.add=_n,e.remove=pn,e}function _n(e,n){let t=this.get(e);return t?t.push(n):this.set(e,t=[n]),t}function pn(e,n){const t=this.get(e);t&&(ct(t,n),t.length||this.delete(e))}function fn(){return un()}function mn(e){const n=(null==e?void 0:e.slice())||[];let t=0;function r(){return t===n.length}return{enqueue:function(...e){n.push(...e)},dequeue:function(){if(r())throw new Error("Queue is empty");const e=n[t];if(n[t]=void 0,t++,t>100&&t>n.length>>1){const e=n.length-t;n.copyWithin(0,t),n.length=e,t=0}return e},isEmpty:r}}function hn(e,n){const t=new Map;let r=0;function*i(){for(const e of t.values())gn(e)?yield*e:yield e}const a={has(r){const i=e(r);if(!t.has(i))return!1;const a=t.get(i);if(!gn(a))return n(a,r);for(const e of a)if(n(e,r))return!0;return!1},add(i){const a=e(i);if(t.has(a)){const e=t.get(a);if(gn(e))G(e,i,n)||(e.push(i),r++);else{const o=e;n(o,i)||(t.set(a,[o,i]),r++)}}else t.set(a,i),r++;return this},delete(i){const a=e(i);if(!t.has(a))return!1;const o=t.get(a);if(gn(o)){for(let e=0;e<o.length;e++)if(n(o[e],i))return 1===o.length?t.delete(a):2===o.length?t.set(a,o[1-e]):st(o,e),r--,!0}else if(n(o,i))return t.delete(a),r--,!0;return!1},clear(){t.clear(),r=0},get size(){return r},forEach(e){for(const n of Qe(t.values()))if(gn(n))for(const t of n)e(t,t,a);else e(n,n,a)},keys:()=>i(),values:()=>i(),*entries(){for(const e of i())yield[e,e]},[Symbol.iterator]:()=>i(),[Symbol.toStringTag]:t[Symbol.toStringTag]};return a}function gn(e){return Array.isArray(e)}function yn(e){return gn(e)?e:[e]}function vn(e){return"string"==typeof e}function bn(e){return"number"==typeof e}function En(e,n){return void 0!==e&&n(e)?e:void 0}function Tn(e,n){return void 0!==e&&n(e)?e:Nt.fail(`Invalid cast. The supplied value ${e} did not pass the test '${Nt.getFunctionName(n)}'.`)}function xn(e){}function Sn(){return!1}function An(){return!0}function Ln(){}function Cn(e){return e}function kn(e){return e.toLowerCase()}function In(e){return u.test(e)?e.replace(u,kn):e}function wn(){throw new Error("Not implemented")}function Rn(e){let n;return()=>(e&&(n=e(),e=void 0),n)}function Nn(e){const n=new Map;return t=>{const r=`${typeof t}:${t}`;let i=n.get(r);return void 0!==i||n.has(r)||(i=e(t),n.set(r,i)),i}}function Dn(e){const n=new WeakMap;return t=>{let r=n.get(t);return void 0!==r||n.has(t)||(r=e(t),n.set(t,r)),r}}function On(e,n){return(...t)=>{let r=n.get(t);return void 0!==r||n.has(t)||(r=e(...t),n.set(t,r)),r}}function Mn(e,n,t,r,i){if(i){const e=[];for(let n=0;n<arguments.length;n++)e[n]=arguments[n];return n=>We(e,((e,n)=>n(e)),n)}return r?i=>r(t(n(e(i)))):t?r=>t(n(e(r))):n?t=>n(e(t)):e?n=>e(n):e=>e}function Pn(e,n){return e===n}function Fn(e,n){return e===n||void 0!==e&&void 0!==n&&e.toUpperCase()===n.toUpperCase()}function Gn(e,n){return Pn(e,n)}function Bn(e,n){return e===n?0:void 0===e?-1:void 0===n?1:e<n?-1:1}function Un(e,n){return Bn(e,n)}function Vn(e,n){return Un(null==e?void 0:e.start,null==n?void 0:n.start)||Un(null==e?void 0:e.length,null==n?void 0:n.length)}function jn(e,n){return We(e,((e,t)=>-1===n(e,t)?e:t))}function Hn(e,n){return e===n?0:void 0===e?-1:void 0===n?1:(e=e.toUpperCase())<(n=n.toUpperCase())?-1:e>n?1:0}function Kn(e,n){return e===n?0:void 0===e?-1:void 0===n?1:(e=e.toLowerCase())<(n=n.toLowerCase())?-1:e>n?1:0}function Wn(e,n){return Bn(e,n)}function qn(e){return e?Hn:Wn}function zn(){return m}function Jn(e){m!==e&&(m=e,f=void 0)}function Xn(e,n){return(f||(f=p(m)))(e,n)}function Yn(e,n,t,r){return e===n?0:void 0===e?-1:void 0===n?1:r(e[t],n[t])}function $n(e,n){return Un(e?1:0,n?1:0)}function Qn(e,n,t){const r=Math.max(2,Math.floor(.34*e.length));let i,a=Math.floor(.4*e.length)+1;for(const o of n){const n=t(o);if(void 0!==n&&Math.abs(n.length-e.length)<=r){if(n===e)continue;if(n.length<3&&n.toLowerCase()!==e.toLowerCase())continue;const t=Zn(e,n,a-.1);if(void 0===t)continue;Nt.assert(t<a),a=t,i=o}}return i}function Zn(e,n,t){let r=new Array(n.length+1),i=new Array(n.length+1);const a=t+.01;for(let e=0;e<=n.length;e++)r[e]=e;for(let o=1;o<=e.length;o++){const s=e.charCodeAt(o-1),c=Math.ceil(o>t?o-t:1),l=Math.floor(n.length>t+o?t+o:n.length);i[0]=o;let d=o;for(let e=1;e<c;e++)i[e]=a;for(let t=c;t<=l;t++){const a=e[o-1].toLowerCase()===n[t-1].toLowerCase()?r[t-1]+.1:r[t-1]+2,c=s===n.charCodeAt(t-1)?r[t-1]:Math.min(r[t]+1,i[t-1]+1,a);i[t]=c,d=Math.min(d,c)}for(let e=l+1;e<=n.length;e++)i[e]=a;if(d>t)return;const u=r;r=i,i=u}const o=r[n.length];return o>t?void 0:o}function et(e,n){const t=e.length-n.length;return t>=0&&e.indexOf(n,t)===t}function nt(e,n){return et(e,n)?e.slice(0,e.length-n.length):e}function tt(e,n){return et(e,n)?e.slice(0,e.length-n.length):void 0}function rt(e,n){return-1!==e.indexOf(n)}function it(e){let n=e.length;for(let t=n-1;t>0;t--){let r=e.charCodeAt(t);if(r>=48&&r<=57)do{--t,r=e.charCodeAt(t)}while(t>0&&r>=48&&r<=57);else{if(!(t>4)||110!==r&&78!==r)break;if(--t,r=e.charCodeAt(t),105!==r&&73!==r)break;if(--t,r=e.charCodeAt(t),109!==r&&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)}function at(e,n){for(let t=0;t<e.length;t++)if(e[t]===n)return ot(e,t),!0;return!1}function ot(e,n){for(let t=n;t<e.length-1;t++)e[t]=e[t+1];e.pop()}function st(e,n){e[n]=e[e.length-1],e.pop()}function ct(e,n){return function(e,t){for(let t=0;t<e.length;t++)if(e[t]===n)return st(e,t),!0;return!1}(e)}function lt(e){return e?Cn:In}function dt({prefix:e,suffix:n}){return`${e}*${n}`}function ut(e,n){return Nt.assert(ht(e,n)),n.substring(e.prefix.length,n.length-e.suffix.length)}function _t(e,n,t){let r,i=-1;for(const a of e){const e=n(a);ht(e,t)&&e.prefix.length>i&&(i=e.prefix.length,r=a)}return r}function pt(e,n){return 0===e.lastIndexOf(n,0)}function ft(e,n){return pt(e,n)?e.substr(n.length):e}function mt(e,n,t=Cn){return pt(t(e),t(n))?e.substring(n.length):void 0}function ht({prefix:e,suffix:n},t){return t.length>=e.length+n.length&&pt(t,e)&&et(t,n)}function gt(e,n){return t=>e(t)&&n(t)}function yt(...e){return(...n)=>{let t;for(const r of e)if(t=r(...n),t)return t;return t}}function vt(e){return(...n)=>!e(...n)}function bt(e){}function Et(e){return void 0===e?void 0:[e]}function Tt(e,n,t,r,i,a){a=a||xn;let o=0,s=0;const c=e.length,l=n.length;let d=!1;for(;o<c&&s<l;){const c=e[o],l=n[s],u=t(c,l);-1===u?(r(c),o++,d=!0):1===u?(i(l),s++,d=!0):(a(l,c),o++,s++)}for(;o<c;)r(e[o++]),d=!0;for(;s<l;)i(n[s++]),d=!0;return d}function xt(e){const n=[];return St(e,n,void 0,0),n}function St(e,n,t,r){for(const i of e[r]){let a;t?(a=t.slice(),a.push(i)):a=[i],r===e.length-1?n.push(a):St(e,n,a,r+1)}}function At(e,n,t=" "){return n<=e.length?e:t.repeat(n-e.length)+e}function Lt(e,n,t=" "){return n<=e.length?e:e+t.repeat(n-e.length)}function Ct(e,n){if(e){const t=e.length;let r=0;for(;r<t&&n(e[r]);)r++;return e.slice(0,r)}}function kt(e,n){if(e){const t=e.length;let r=0;for(;r<t&&n(e[r]);)r++;return e.slice(r)}}function It(e){let n=e.length-1;for(;n>=0&&Es(e.charCodeAt(n));)n--;return e.slice(0,n+1)}function wt(){return"undefined"!=typeof process&&process.nextTick&&!process.browser&&"object"==typeof wi}var Rt,Nt,Dt,Ot,Mt,Pt,Ft,Gt,Bt,Ut,Vt,jt,Ht,Kt,Wt,qt,zt=E({"src/compiler/core.ts"(){Qq(),i=[],a=new Map,o=new Set,s=(e=>(e[e.None=0]="None",e[e.CaseSensitive=1]="CaseSensitive",e[e.CaseInsensitive=2]="CaseInsensitive",e[e.Both=3]="Both",e))(s||{}),c=Array.prototype.at?(e,n)=>null==e?void 0:e.at(n):(e,n)=>{if(e&&(n=Se(e,n))<e.length)return e[n]},l=Object.prototype.hasOwnProperty,d={push:xn,length:0},u=/[^\u0130\u0131\u00DFa-z0-9\\/:\-_\. ]+/g,_=(e=>(e[e.None=0]="None",e[e.Normal=1]="Normal",e[e.Aggressive=2]="Aggressive",e[e.VeryAggressive=3]="VeryAggressive",e))(_||{}),p=(()=>{let e,n;const t="object"==typeof Intl&&"function"==typeof Intl.Collator?i:"function"==typeof String.prototype.localeCompare&&"function"==typeof String.prototype.toLocaleUpperCase&&"a".localeCompare("B")<0?a:o;return function(r){return void 0===r?e||(e=t(r)):"en-US"===r?n||(n=t(r)):t(r)};function r(e,n,t){if(e===n)return 0;if(void 0===e)return-1;if(void 0===n)return 1;const r=t(e,n);return r<0?-1:r>0?1:0}function i(e){const n=new Intl.Collator(e,{usage:"sort",sensitivity:"variant"}).compare;return(e,t)=>r(e,t,n)}function a(e){return void 0!==e?o():(e,t)=>r(e,t,n);function n(e,n){return e.localeCompare(n)}}function o(){return(n,t)=>r(n,t,e);function e(e,t){return n(e.toUpperCase(),t.toUpperCase())||n(e,t)}function n(e,n){return e<n?-1:e>n?1:0}}})(),h=String.prototype.trim?e=>e.trim():e=>g(y(e)),g=String.prototype.trimEnd?e=>e.trimEnd():It,y=String.prototype.trimStart?e=>e.trimStart():e=>e.replace(/^\s+/g,"")}}),Jt=E({"src/compiler/debug.ts"(){Qq(),Qq(),Rt=(e=>(e[e.Off=0]="Off",e[e.Error=1]="Error",e[e.Warning=2]="Warning",e[e.Info=3]="Info",e[e.Verbose=4]="Verbose",e))(Rt||{}),(e=>{let n=0;function t(n){return e.currentLogLevel<=n}function r(n,r){e.loggingHost&&t(n)&&e.loggingHost.log(n,r)}function i(e){r(3,e)}var a;e.currentLogLevel=2,e.isDebugging=!1,e.shouldLog=t,e.log=i,(a=i=e.log||(e.log={})).error=function(e){r(1,e)},a.warn=function(e){r(2,e)},a.log=function(e){r(3,e)},a.trace=function(e){r(4,e)};const o={};function s(e){return n>=e}function c(n,t){return!!s(n)||(o[t]={level:n,assertion:e[t]},e[t]=xn,!1)}function l(e,n){const t=new Error(e?`Debug Failure. ${e}`:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(t,n||l),t}function d(e,n,t,r){e||(n=n?`False expression: ${n}`:"False expression.",t&&(n+="\r\nVerbose Debug Information: "+("string"==typeof t?t:t())),l(n,r||d))}function u(e,n,t){null==e&&l(n,t||u)}function _(e,n,t){for(const r of e)u(r,n,t||_)}function p(e,n="Illegal value:",t){return l(`${n} ${"object"==typeof e&&qe(e,"kind")&&qe(e,"pos")?"SyntaxKind: "+g(e.kind):JSON.stringify(e)}`,t||p)}function f(e){if("function"!=typeof e)return"";if(qe(e,"name"))return e.name;{const n=Function.prototype.toString.call(e),t=/^function\s+([\w\$]+)\s*\(/.exec(n);return t?t[1]:""}}function m(e=0,n,t){const r=function(e){const n=h.get(e);if(n)return n;const t=[];for(const n in e){const r=e[n];"number"==typeof r&&t.push([r,n])}const r=Re(t,((e,n)=>Un(e[0],n[0])));return h.set(e,r),r}(n);if(0===e)return r.length>0&&0===r[0][0]?r[0][1]:"0";if(t){const n=[];let t=e;for(const[i,a]of r){if(i>e)break;0!==i&&i&e&&(n.push(a),t&=~i)}if(0===t)return n.join("|")}else for(const[n,t]of r)if(n===e)return t;return e.toString()}e.getAssertionLevel=function(){return n},e.setAssertionLevel=function(t){const r=n;if(n=t,t>r)for(const n of Je(o)){const r=o[n];void 0!==r&&e[n]!==r.assertion&&t>=r.level&&(e[n]=r,o[n]=void 0)}},e.shouldAssert=s,e.fail=l,e.failBadSyntaxKind=function e(n,t,r){return l(`${t||"Unexpected node."}\r\nNode ${g(n.kind)} was unexpected.`,r||e)},e.assert=d,e.assertEqual=function e(n,t,r,i,a){n!==t&&l(`Expected ${n} === ${t}. ${r?i?`${r} ${i}`:r:""}`,a||e)},e.assertLessThan=function e(n,t,r,i){n>=t&&l(`Expected ${n} < ${t}. ${r||""}`,i||e)},e.assertLessThanOrEqual=function e(n,t,r){n>t&&l(`Expected ${n} <= ${t}`,r||e)},e.assertGreaterThanOrEqual=function e(n,t,r){n<t&&l(`Expected ${n} >= ${t}`,r||e)},e.assertIsDefined=u,e.checkDefined=function e(n,t,r){return u(n,t,r||e),n},e.assertEachIsDefined=_,e.checkEachDefined=function e(n,t,r){return _(n,t,r||e),n},e.assertNever=p,e.assertEachNode=function e(n,t,r,i){c(1,"assertEachNode")&&d(void 0===t||N(n,t),r||"Unexpected node.",(()=>`Node array did not pass test '${f(t)}'.`),i||e)},e.assertNode=function e(n,t,r,i){c(1,"assertNode")&&d(void 0!==n&&(void 0===t||t(n)),r||"Unexpected node.",(()=>`Node ${g(null==n?void 0:n.kind)} did not pass test '${f(t)}'.`),i||e)},e.assertNotNode=function e(n,t,r,i){c(1,"assertNotNode")&&d(void 0===n||void 0===t||!t(n),r||"Unexpected node.",(()=>`Node ${g(n.kind)} should not have passed test '${f(t)}'.`),i||e)},e.assertOptionalNode=function e(n,t,r,i){c(1,"assertOptionalNode")&&d(void 0===t||void 0===n||t(n),r||"Unexpected node.",(()=>`Node ${g(null==n?void 0:n.kind)} did not pass test '${f(t)}'.`),i||e)},e.assertOptionalToken=function e(n,t,r,i){c(1,"assertOptionalToken")&&d(void 0===t||void 0===n||n.kind===t,r||"Unexpected node.",(()=>`Node ${g(null==n?void 0:n.kind)} was not a '${g(t)}' token.`),i||e)},e.assertMissingNode=function e(n,t,r){c(1,"assertMissingNode")&&d(void 0===n,t||"Unexpected node.",(()=>`Node ${g(n.kind)} was unexpected'.`),r||e)},e.type=function(e){},e.getFunctionName=f,e.formatSymbol=function(e){return`{ name: ${Mc(e.escapedName)}; flags: ${T(e.flags)}; declarations: ${W(e.declarations,(e=>g(e.kind)))} }`},e.formatEnum=m;const h=new Map;function g(e){return m(e,Wr,!1)}function y(e){return m(e,qr,!0)}function v(e){return m(e,zr,!0)}function b(e){return m(e,ea,!0)}function E(e){return m(e,ta,!0)}function T(e){return m(e,hi,!0)}function x(e){return m(e,Ei,!0)}function S(e){return m(e,Ri,!0)}function A(e){return m(e,Ti,!0)}function L(e){return m(e,Qr,!0)}e.formatSyntaxKind=g,e.formatSnippetKind=function(e){return m(e,na,!1)},e.formatNodeFlags=y,e.formatModifierFlags=v,e.formatTransformFlags=b,e.formatEmitFlags=E,e.formatSymbolFlags=T,e.formatTypeFlags=x,e.formatSignatureFlags=S,e.formatObjectFlags=A,e.formatFlowFlags=L,e.formatRelationComparisonResult=function(e){return m(e,Xr,!0)},e.formatCheckMode=function(e){return m(e,MG,!0)},e.formatSignatureCheckMode=function(e){return m(e,PG,!0)},e.formatTypeFacts=function(e){return m(e,DG,!0)};let C,k,I=!1;function R(e){"__debugFlowFlags"in e||Object.defineProperties(e,{__tsDebuggerDisplay:{value(){const 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?` (${L(n)})`:""}`}},__debugFlowFlags:{get(){return m(this.flags,Qr,!0)}},__debugToString:{value(){return M(this)}}})}function D(e){"__tsDebuggerDisplay"in e||Object.defineProperties(e,{__tsDebuggerDisplay:{value:e=>`NodeArray ${e=String(e).replace(/(?:,[\s\w\d_]+:[^,]+)+\]$/,"]")}`}})}e.attachFlowNodeDebugInfo=function(e){I&&("function"==typeof Object.setPrototypeOf?(C||(C=Object.create(Object.prototype),R(C)),Object.setPrototypeOf(e,C)):R(e))},e.attachNodeArrayDebugInfo=function(e){I&&("function"==typeof Object.setPrototypeOf?(k||(k=Object.create(Array.prototype),D(k)),Object.setPrototypeOf(e,k)):D(e))},e.enableDebugInfo=function(){if(I)return;const e=new WeakMap,n=new WeakMap;Object.defineProperties(D_.getSymbolConstructor().prototype,{__tsDebuggerDisplay:{value(){const e=33554432&this.flags?"TransientSymbol":"Symbol",n=-33554433&this.flags;return`${e} '${Gc(this)}'${n?` (${T(n)})`:""}`}},__debugFlags:{get(){return T(this.flags)}}}),Object.defineProperties(D_.getTypeConstructor().prototype,{__tsDebuggerDisplay:{value(){const 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?` '${Gc(this.symbol)}'`:""}${n?` (${A(n)})`:""}`}},__debugFlags:{get(){return x(this.flags)}},__debugObjectFlags:{get(){return 524288&this.flags?A(this.objectFlags):""}},__debugTypeToString:{value(){let n=e.get(this);return void 0===n&&(n=this.checker.typeToString(this),e.set(this,n)),n}}}),Object.defineProperties(D_.getSignatureConstructor().prototype,{__debugFlags:{get(){return S(this.flags)}},__debugSignatureToString:{value(){var e;return null==(e=this.checker)?void 0:e.signatureToString(this)}}});const t=[D_.getNodeConstructor(),D_.getIdentifierConstructor(),D_.getTokenConstructor(),D_.getSourceFileConstructor()];for(const e of t)qe(e.prototype,"__debugKind")||Object.defineProperties(e.prototype,{__tsDebuggerDisplay:{value(){return`${fd(this)?"GeneratedIdentifier":AC(this)?`Identifier '${Pc(this)}'`:LC(this)?`PrivateIdentifier '${Pc(this)}'`:cC(this)?`StringLiteral ${JSON.stringify(this.text.length<10?this.text:this.text.slice(10)+"...")}`:oC(this)?`NumericLiteral ${this.text}`:sC(this)?`BigIntLiteral ${this.text}n`:jC(this)?"TypeParameterDeclaration":HC(this)?"ParameterDeclaration":YC(this)?"ConstructorDeclaration":$C(this)?"GetAccessorDeclaration":QC(this)?"SetAccessorDeclaration":ZC(this)?"CallSignatureDeclaration":ek(this)?"ConstructSignatureDeclaration":nk(this)?"IndexSignatureDeclaration":tk(this)?"TypePredicateNode":rk(this)?"TypeReferenceNode":ik(this)?"FunctionTypeNode":ak(this)?"ConstructorTypeNode":ok(this)?"TypeQueryNode":sk(this)?"TypeLiteralNode":ck(this)?"ArrayTypeNode":lk(this)?"TupleTypeNode":uk(this)?"OptionalTypeNode":_k(this)?"RestTypeNode":pk(this)?"UnionTypeNode":fk(this)?"IntersectionTypeNode":mk(this)?"ConditionalTypeNode":hk(this)?"InferTypeNode":gk(this)?"ParenthesizedTypeNode":yk(this)?"ThisTypeNode":vk(this)?"TypeOperatorNode":bk(this)?"IndexedAccessTypeNode":Ek(this)?"MappedTypeNode":Tk(this)?"LiteralTypeNode":dk(this)?"NamedTupleMember":xk(this)?"ImportTypeNode":g(this.kind)}${this.flags?` (${y(this.flags)})`:""}`}},__debugKind:{get(){return g(this.kind)}},__debugNodeFlags:{get(){return y(this.flags)}},__debugModifierFlags:{get(){return v(Lb(this))}},__debugTransformFlags:{get(){return b(this.transformFlags)}},__debugIsParseTreeNode:{get(){return Nc(this)}},__debugEmitFlags:{get(){return E(of(this))}},__debugGetText:{value(e){if(zy(this))return"";let t=n.get(this);if(void 0===t){const r=Dc(this),i=r&&Ip(r);t=i?Zp(i,r,e):"",n.set(this,t)}return t}}});I=!0},e.formatVariance=function(e){const n=7&e;let t=0===n?"in out":3===n?"[bivariant]":2===n?"in":1===n?"out":4===n?"[independent]":"";return 8&e?t+=" (unmeasurable)":16&e&&(t+=" (unreliable)"),t};class O{__debugToString(){var e;switch(this.kind){case 3:return(null==(e=this.debugInfo)?void 0:e.call(this))||"(function mapper)";case 0:return`${this.source.__debugTypeToString()} -> ${this.target.__debugTypeToString()}`;case 1:return w(this.sources,this.targets||W(this.sources,(()=>"any")),((e,n)=>`${e.__debugTypeToString()} -> ${"string"==typeof n?n:n.__debugTypeToString()}`)).join(", ");case 2:return w(this.sources,this.targets,((e,n)=>`${e.__debugTypeToString()} -> ${n().__debugTypeToString()}`)).join(", ");case 5:case 4:return`m1: ${this.mapper1.__debugToString().split("\n").join("\n ")}\nm2: ${this.mapper2.__debugToString().split("\n").join("\n ")}`;default:return p(this)}}}function M(e){let n,t=-1;function r(e){return e.id||(e.id=t,t--),e.id}var i;let a;var o;(i=n||(n={})).lr="─",i.ud="│",i.dr="╭",i.dl="╮",i.ul="╯",i.ur="╰",i.udr="├",i.udl="┤",i.dlr="┬",i.ulr="┴",i.udlr="╫",(o=a||(a={}))[o.None=0]="None",o[o.Up=1]="Up",o[o.Down=2]="Down",o[o.Left=4]="Left",o[o.Right=8]="Right",o[o.UpDown=3]="UpDown",o[o.LeftRight=12]="LeftRight",o[o.UpLeft=5]="UpLeft",o[o.UpRight=9]="UpRight",o[o.DownLeft=6]="DownLeft",o[o.DownRight=10]="DownRight",o[o.UpDownLeft=7]="UpDownLeft",o[o.UpDownRight=11]="UpDownRight",o[o.UpLeftRight=13]="UpLeftRight",o[o.DownLeftRight=14]="DownLeftRight",o[o.UpDownLeftRight=15]="UpDownLeftRight",o[o.NoChildren=16]="NoChildren";const s=2032,c=Object.create(null),l=[],d=[],u=m(e,new Set);for(const e of l)e.text=v(e.flowNode,e.circular),g(e);const _=function(e){const n=E(Array(e),0);for(const e of l)n[e.level]=Math.max(n[e.level],e.text.length);return n}(function e(n){let t=0;for(const r of p(n))t=Math.max(t,e(r));return t+1}(u));return function e(n,t){if(-1===n.lane){n.lane=t,n.endLane=t;const r=p(n);for(let i=0;i<r.length;i++){i>0&&t++;const a=r[i];e(a,t),a.endLane>n.endLane&&(t=a.endLane)}n.endLane=t}}(u,0),function(){const e=_.length,n=l.reduce(((e,n)=>Math.max(e,n.lane)),0)+1,t=E(Array(n),""),r=_.map((()=>Array(n))),i=_.map((()=>E(Array(n),0)));for(const e of l){r[e.level][e.lane]=e;const n=p(e);for(let t=0;t<n.length;t++){const r=n[t];let a=8;r.lane===e.lane&&(a|=4),t>0&&(a|=1),t<n.length-1&&(a|=2),i[e.level][r.lane]|=a}0===n.length&&(i[e.level][e.lane]|=16);const t=f(e);for(let n=0;n<t.length;n++){const r=t[n];let a=4;n>0&&(a|=1),n<t.length-1&&(a|=2),i[e.level-1][r.lane]|=a}}for(let t=0;t<e;t++)for(let e=0;e<n;e++){const n=t>0?i[t-1][e]:0,r=e>0?i[t][e-1]:0;let a=i[t][e];a||(8&n&&(a|=12),2&r&&(a|=3),i[t][e]=a)}for(let n=0;n<e;n++)for(let o=0;o<t.length;o++){const t=i[n][o],s=4&t?"─":" ",c=r[n][o];c?(a(o,c.text),n<e-1&&(a(o," "),a(o,T(s,_[n]-c.text.length)))):n<e-1&&a(o,T(s,_[n]+1)),a(o,b(t)),a(o,8&t&&n<e-1&&!r[n+1][o]?"─":" ")}return`\n${t.join("\n")}\n`;function a(e,n){t[e]+=n}}();function p(e){const n=[];for(const t of e.edges)t.source===e&&n.push(t.target);return n}function f(e){const n=[];for(const t of e.edges)t.target===e&&n.push(t.source);return n}function m(e,n){const t=r(e);let i=c[t];if(i&&n.has(e))return i.circular=!0,i={id:-1,flowNode:e,edges:[],text:"",lane:-1,endLane:-1,level:-1,circular:"circularity"},l.push(i),i;if(n.add(e),!i)if(c[t]=i={id:t,flowNode:e,edges:[],text:"",lane:-1,endLane:-1,level:-1,circular:!1},l.push(i),12&(a=e).flags&&a.antecedents)for(const t of e.antecedents)h(i,t,n);else(function(e){return!!(e.flags&s)})(e)&&h(i,e.antecedent,n);var a;return n.delete(e),i}function h(e,n,t){const r=m(n,t),i={source:e,target:r};d.push(i),e.edges.push(i),r.edges.push(i)}function g(e){if(-1!==e.level)return e.level;let n=0;for(const t of f(e))n=Math.max(n,g(t)+1);return e.level=n}function y(e){return Zp(Ip(e),e,!1)}function v(e,n){let t=function(e){if(2&e)return"Start";if(4&e)return"Branch";if(8&e)return"Loop";if(16&e)return"Assignment";if(32&e)return"True";if(64&e)return"False";if(128&e)return"SwitchClause";if(256&e)return"ArrayMutation";if(512&e)return"Call";if(1024&e)return"ReduceLabel";if(1&e)return"Unreachable";throw new Error}(e.flags);if(n&&(t=`${t}#${r(e)}`),882&e.flags)e.node&&(t+=` (${y(e.node)})`);else if(128&e.flags){const n=[];for(let t=e.clauseStart;t<e.clauseEnd;t++){const r=e.switchStatement.caseBlock.clauses[t];gw(r)?n.push("default"):n.push(y(r.expression))}t+=` (${n.join(", ")})`}return"circularity"===n?`Circular(${t})`:t}function b(e){switch(e){case 3:return"│";case 12:return"─";case 5:return"╯";case 9:return"╰";case 6:return"╮";case 10:return"╭";case 7:return"┤";case 11:return"├";case 13:return"┴";case 14:return"┬";case 15:return"╫"}return" "}function E(e,n){if(e.fill)e.fill(n);else for(let t=0;t<e.length;t++)e[t]=n;return e}function T(e,n){if(e.repeat)return n>0?e.repeat(n):"";let t="";for(;t.length<n;)t+=e;return t}}e.DebugTypeMapper=O,e.attachDebugPrototypeIfDebug=function(n){return e.isDebugging?Object.setPrototypeOf(n,O.prototype):n},e.printControlFlowGraph=function(e){return console.log(M(e))},e.formatControlFlowGraph=M})(Nt||(Nt={}))}});function Xt(e){const n=Dt.exec(e);if(!n)return;const[,t,r="0",i="0",a="",o=""]=n;return a&&!Ot.test(a)||o&&!Pt.test(o)?void 0:{major:parseInt(t,10),minor:parseInt(r,10),patch:parseInt(i,10),prerelease:a,build:o}}function Yt(e){const n=[];for(let t of h(e).split(jt)){if(!t)continue;const e=[];t=h(t);const r=Wt.exec(t);if(r){if(!Qt(r[1],r[2],e))return}else for(const n of t.split(Ht)){const t=qt.exec(h(n));if(!t||!Zt(t[1],t[2],e))return}n.push(e)}return n}function $t(e){const n=Kt.exec(e);if(!n)return;const[,t,r="*",i="*",a,o]=n;return{version:new Ut(er(t)?0:parseInt(t,10),er(t)||er(r)?0:parseInt(r,10),er(t)||er(r)||er(i)?0:parseInt(i,10),a,o),major:t,minor:r,patch:i}}function Qt(e,n,t){const r=$t(e);if(!r)return!1;const i=$t(n);return!!i&&(er(r.major)||t.push(nr(">=",r.version)),er(i.major)||t.push(er(i.minor)?nr("<",i.version.increment("major")):er(i.patch)?nr("<",i.version.increment("minor")):nr("<=",i.version)),!0)}function Zt(e,n,t){const r=$t(n);if(!r)return!1;const{version:i,major:a,minor:o,patch:s}=r;if(er(a))"<"!==e&&">"!==e||t.push(nr("<",Ut.zero));else switch(e){case"~":t.push(nr(">=",i)),t.push(nr("<",i.increment(er(o)?"major":"minor")));break;case"^":t.push(nr(">=",i)),t.push(nr("<",i.increment(i.major>0||er(o)?"major":i.minor>0||er(s)?"minor":"patch")));break;case"<":case">=":t.push(er(o)||er(s)?nr(e,i.with({prerelease:"0"})):nr(e,i));break;case"<=":case">":t.push(er(o)?nr("<="===e?"<":">=",i.increment("major").with({prerelease:"0"})):er(s)?nr("<="===e?"<":">=",i.increment("minor").with({prerelease:"0"})):nr(e,i));break;case"=":case void 0:er(o)||er(s)?(t.push(nr(">=",i.with({prerelease:"0"}))),t.push(nr("<",i.increment(er(o)?"major":"minor").with({prerelease:"0"})))):t.push(nr("=",i));break;default:return!1}return!0}function er(e){return"*"===e||"x"===e||"X"===e}function nr(e,n){return{operator:e,operand:n}}function tr(e,n){for(const t of n)if(!rr(e,t.operator,t.operand))return!1;return!0}function rr(e,n,t){const r=e.compareTo(t);switch(n){case"<":return r<0;case"<=":return r<=0;case">":return r>0;case">=":return r>=0;case"=":return 0===r;default:return Nt.assertNever(n)}}function ir(e){return W(e,ar).join(" ")}function ar(e){return`${e.operator}${e.operand}`}var or,sr,cr,lr=E({"src/compiler/semver.ts"(){Qq(),Dt=/^(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,Ot=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)(?:\.(?:0|[1-9]\d*|[a-z-][a-z0-9-]*))*$/i,Mt=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)$/i,Pt=/^[a-z0-9-]+(?:\.[a-z0-9-]+)*$/i,Ft=/^[a-z0-9-]+$/i,Gt=/^(0|[1-9]\d*)$/,(Ut=Bt=class{constructor(e,n=0,t=0,r="",a=""){if("string"==typeof e){const i=Nt.checkDefined(Xt(e),"Invalid version");({major:e,minor:n,patch:t,prerelease:r,build:a}=i)}Nt.assert(e>=0,"Invalid argument: major"),Nt.assert(n>=0,"Invalid argument: minor"),Nt.assert(t>=0,"Invalid argument: patch");const o=r?gn(r)?r:r.split("."):i,s=a?gn(a)?a:a.split("."):i;Nt.assert(N(o,(e=>Mt.test(e))),"Invalid argument: prerelease"),Nt.assert(N(s,(e=>Ft.test(e))),"Invalid argument: build"),this.major=e,this.minor=n,this.patch=t,this.prerelease=o,this.build=s}static tryParse(e){const n=Xt(e);if(!n)return;const{major:t,minor:r,patch:i,prerelease:a,build:o}=n;return new Bt(t,r,i,a,o)}compareTo(e){return this===e?0:void 0===e?1:Un(this.major,e.major)||Un(this.minor,e.minor)||Un(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;const t=Math.min(e.length,n.length);for(let r=0;r<t;r++){const t=e[r],i=n[r];if(t===i)continue;const a=Gt.test(t),o=Gt.test(i);if(a||o){if(a!==o)return a?-1:1;const e=Un(+t,+i);if(e)return e}else{const e=Wn(t,i);if(e)return e}}return Un(e.length,n.length)}(this.prerelease,e.prerelease)}increment(e){switch(e){case"major":return new Bt(this.major+1,0,0);case"minor":return new Bt(this.major,this.minor+1,0);case"patch":return new Bt(this.major,this.minor,this.patch+1);default:return Nt.assertNever(e)}}with(e){const{major:n=this.major,minor:t=this.minor,patch:r=this.patch,prerelease:i=this.prerelease,build:a=this.build}=e;return new Bt(n,t,r,i,a)}toString(){let e=`${this.major}.${this.minor}.${this.patch}`;return ce(this.prerelease)&&(e+=`-${this.prerelease.join(".")}`),ce(this.build)&&(e+=`+${this.build.join(".")}`),e}}).zero=new Bt(0,0,0,["0"]),Vt=class{constructor(e){this._alternatives=e?Nt.checkDefined(Yt(e),"Invalid range spec."):i}static tryParse(e){const n=Yt(e);if(n){const e=new Vt("");return e._alternatives=n,e}}test(e){return"string"==typeof e&&(e=new Ut(e)),function(e,n){if(0===n.length)return!0;for(const t of n)if(tr(e,t))return!0;return!1}(e,this._alternatives)}toString(){return W(this._alternatives,ir).join(" || ")||"*"}},jt=/\|\|/g,Ht=/\s+/g,Kt=/^([xX*0]|[1-9]\d*)(?:\.([xX*0]|[1-9]\d*)(?:\.([xX*0]|[1-9]\d*)(?:-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,Wt=/^\s*([a-z0-9-+.*]+)\s+-\s+([a-z0-9-+.*]+)\s*$/i,qt=/^(~|\^|<|<=|>|>=|=)?\s*([a-z0-9-+.*]+)$/i}});function dr(e,n){return"object"==typeof e&&"number"==typeof e.timeOrigin&&"function"==typeof e.mark&&"function"==typeof e.measure&&"function"==typeof e.now&&"function"==typeof e.clearMarks&&"function"==typeof e.clearMeasures&&"function"==typeof n}function ur(){return or}var _r,pr,fr,mr,hr,gr,yr,vr,br,Er,Tr,xr,Sr=E({"src/compiler/performanceCore.ts"(){Qq(),or=function(){if("object"==typeof performance&&"function"==typeof PerformanceObserver&&dr(performance,PerformanceObserver))return{shouldWriteNativeEvents:!0,performance,PerformanceObserver}}()||function(){if(wt())try{let e;const{performance:n,PerformanceObserver:t}=Ii("perf_hooks");if(dr(n,t)){e=n;const r=new Ut(process.versions.node);return new Vt("<12.16.3 || 13 <13.13").test(r)&&(e={get timeOrigin(){return n.timeOrigin},now:()=>n.now(),mark:e=>n.mark(e),measure(e,t="nodeStart",r){void 0===r&&(r="__performance.measure-fix__",n.mark(r)),n.measure(e,t,r),"__performance.measure-fix__"===r&&n.clearMarks("__performance.measure-fix__")},clearMarks:e=>n.clearMarks(e),clearMeasures:e=>n.clearMeasures(e)}),{shouldWriteNativeEvents:!1,performance:e,PerformanceObserver:t}}}catch(e){}}(),sr=null==or?void 0:or.performance,cr=sr?()=>sr.now():Date.now?Date.now:()=>+new Date}}),Ar=E({"src/compiler/perfLogger.ts"(){Qq(),_r={logEvent:xn,logErrEvent:xn,logPerfEvent:xn,logInfoEvent:xn,logStartCommand:xn,logStopCommand:xn,logStartUpdateProgram:xn,logStopUpdateProgram:xn,logStartUpdateGraph:xn,logStopUpdateGraph:xn,logStartResolveModule:xn,logStopResolveModule:xn,logStartParseSourceFile:xn,logStopParseSourceFile:xn,logStartReadFile:xn,logStopReadFile:xn,logStartBindFile:xn,logStopBindFile:xn,logStartScheduledOperation:xn,logStopScheduledOperation:xn};try{const e=null!=(fr=process.env.TS_ETW_MODULE_PATH)?fr:"./node_modules/@microsoft/typescript-etw";pr=Ii(e)}catch(e){pr=void 0}mr=(null==pr?void 0:pr.logEvent)?pr:_r}});function Lr(e,n,t,r){return e?Cr(n,t,r):yr}function Cr(e,n,t){let r=0;return{enter:function(){1==++r&&kr(n)},exit:function(){0==--r?(kr(t),Ir(e,n,t)):r<0&&Nt.fail("enter/exit count does not match.")}}}function kr(e){var n;if(vr){const t=null!=(n=Tr.get(e))?n:0;Tr.set(e,t+1),Er.set(e,cr()),null==gr||gr.mark(e),"function"==typeof onProfilerEvent&&onProfilerEvent(e)}}function Ir(e,n,t){var r,i;if(vr){const a=null!=(r=void 0!==t?Er.get(t):void 0)?r:cr(),o=null!=(i=void 0!==n?Er.get(n):void 0)?i:br,s=xr.get(e)||0;xr.set(e,s+(a-o)),null==gr||gr.measure(e,n,t)}}function wr(e){return Tr.get(e)||0}function Rr(e){return xr.get(e)||0}function Nr(e){xr.forEach(((n,t)=>e(t,n)))}function Dr(e){Er.forEach(((n,t)=>e(t)))}function Or(e){void 0!==e?xr.delete(e):xr.clear(),null==gr||gr.clearMeasures(e)}function Mr(e){void 0!==e?(Tr.delete(e),Er.delete(e)):(Tr.clear(),Er.clear()),null==gr||gr.clearMarks(e)}function Pr(){return vr}function Fr(e=Sa){var n;return vr||(vr=!0,hr||(hr=ur()),hr&&(br=hr.performance.timeOrigin,(hr.shouldWriteNativeEvents||(null==(n=null==e?void 0:e.cpuProfilingEnabled)?void 0:n.call(e))||(null==e?void 0:e.debugMode))&&(gr=hr.performance))),!0}function Gr(){vr&&(Er.clear(),Tr.clear(),xr.clear(),gr=void 0,vr=!1)}var Br=E({"src/compiler/performance.ts"(){Qq(),yr={enter:xn,exit:xn},vr=!1,br=cr(),Er=new Map,Tr=new Map,xr=new Map}}),Ur={};T(Ur,{clearMarks:()=>Mr,clearMeasures:()=>Or,createTimer:()=>Cr,createTimerIf:()=>Lr,disable:()=>Gr,enable:()=>Fr,forEachMark:()=>Dr,forEachMeasure:()=>Nr,getCount:()=>wr,getDuration:()=>Rr,isEnabled:()=>Pr,mark:()=>kr,measure:()=>Ir,nullTimer:()=>yr});var Vr,jr,Hr,Kr,Wr,qr,zr,Jr,Xr,Yr,$r,Qr,Zr,ei,ni,ti,ri,ii,ai,oi,si,ci,li,di,ui,_i,pi,fi,mi,hi,gi,yi,vi,bi,Ei,Ti,xi,Si,Ai,Ci,ki,Ri,Ni,Di,Oi,Mi,Pi,Fi,Gi,Bi,Ui,Vi,ji,Hi,Ki,Wi,qi,zi,Ji,Xi,Yi,$i,Qi,Zi,ea,na,ta,ra,ia,aa,oa,sa,ca,la,da,ua,_a=E({"src/compiler/_namespaces/ts.performance.ts"(){Br()}}),pa=E({"src/compiler/tracing.ts"(){Qq(),_a(),(e=>{let n,t,r=0,i=0;const a=[];let o;const s=[];let c;var l;e.startTracing=function(c,l,d){if(Nt.assert(!Vr,"Tracing already started"),void 0===n)try{n=Ii("fs")}catch(e){throw new Error(`tracing requires having fs\n(original error: ${e.message||e})`)}t=c,a.length=0,void 0===o&&(o=go(l,"legend.json")),n.existsSync(l)||n.mkdirSync(l,{recursive:!0});const u="build"===t?`.${process.pid}-${++r}`:"server"===t?`.${process.pid}`:"",_=go(l,`trace${u}.json`),p=go(l,`types${u}.json`);s.push({configFilePath:d,tracePath:_,typesPath:p}),i=n.openSync(_,"w"),Vr=e;const f={cat:"__metadata",ph:"M",ts:1e3*cr(),pid:1,tid:1};n.writeSync(i,"[\n"+[{name:"process_name",args:{name:"tsc"},...f},{name:"thread_name",args:{name:"Main"},...f},{name:"TracingStartedInBrowser",...f,cat:"disabled-by-default-devtools.timeline"}].map((e=>JSON.stringify(e))).join(",\n"))},e.stopTracing=function(){Nt.assert(Vr,"Tracing is not in progress"),Nt.assert(!!a.length==("server"!==t)),n.writeSync(i,"\n]\n"),n.closeSync(i),Vr=void 0,a.length?function(e){var t,r,i,a,o,c,l,d,u,_,p,m,h,g,y,v,b,E,T,x,S,A;kr("beginDumpTypes");const L=s[s.length-1].typesPath,C=n.openSync(L,"w"),k=new Map;n.writeSync(C,"[");const I=e.length;for(let s=0;s<I;s++){const L=e[s],w=L.objectFlags,R=null!=(t=L.aliasSymbol)?t:L.symbol;let N;if(16&w|2944&L.flags)try{N=null==(r=L.checker)?void 0:r.typeToString(L)}catch(e){N=void 0}let D={};if(8388608&L.flags){const e=L;D={indexedAccessObjectType:null==(i=e.objectType)?void 0:i.id,indexedAccessIndexType:null==(a=e.indexType)?void 0:a.id}}let O={};if(4&w){const e=L;O={instantiatedType:null==(o=e.target)?void 0:o.id,typeArguments:null==(c=e.resolvedTypeArguments)?void 0:c.map((e=>e.id)),referenceLocation:f(e.node)}}let M={};if(16777216&L.flags){const e=L;M={conditionalCheckType:null==(l=e.checkType)?void 0:l.id,conditionalExtendsType:null==(d=e.extendsType)?void 0:d.id,conditionalTrueType:null!=(_=null==(u=e.resolvedTrueType)?void 0:u.id)?_:-1,conditionalFalseType:null!=(m=null==(p=e.resolvedFalseType)?void 0:p.id)?m:-1}}let P={};if(33554432&L.flags){const e=L;P={substitutionBaseType:null==(h=e.baseType)?void 0:h.id,constraintType:null==(g=e.constraint)?void 0:g.id}}let F={};if(1024&w){const e=L;F={reverseMappedSourceType:null==(y=e.source)?void 0:y.id,reverseMappedMappedType:null==(v=e.mappedType)?void 0:v.id,reverseMappedConstraintType:null==(b=e.constraintType)?void 0:b.id}}let G,B={};if(256&w){const e=L;B={evolvingArrayElementType:e.elementType.id,evolvingArrayFinalType:null==(E=e.finalArrayType)?void 0:E.id}}const U=L.checker.getRecursionIdentity(L);U&&(G=k.get(U),G||(G=k.size,k.set(U,G)));const V={id:L.id,intrinsicName:L.intrinsicName,symbolName:(null==R?void 0:R.escapedName)&&Mc(R.escapedName),recursionId:G,isTuple:!!(8&w)||void 0,unionTypes:1048576&L.flags?null==(T=L.types)?void 0:T.map((e=>e.id)):void 0,intersectionTypes:2097152&L.flags?L.types.map((e=>e.id)):void 0,aliasTypeArguments:null==(x=L.aliasTypeArguments)?void 0:x.map((e=>e.id)),keyofType:4194304&L.flags?null==(S=L.type)?void 0:S.id:void 0,...D,...O,...M,...P,...F,...B,destructuringPattern:f(L.pattern),firstDeclaration:f(null==(A=null==R?void 0:R.declarations)?void 0:A[0]),flags:Nt.formatTypeFlags(L.flags).split("|"),display:N};n.writeSync(C,JSON.stringify(V)),s<I-1&&n.writeSync(C,",\n")}n.writeSync(C,"]\n"),n.closeSync(C),kr("endDumpTypes"),Ir("Dump types","beginDumpTypes","endDumpTypes")}(a):s[s.length-1].typesPath=void 0},e.recordType=function(e){"server"!==t&&a.push(e)},(l=c=e.Phase||(e.Phase={})).Parse="parse",l.Program="program",l.Bind="bind",l.Check="check",l.CheckTypes="checkTypes",l.Emit="emit",l.Session="session",e.instant=function(e,n,t){p("I",e,n,t,'"s":"g"')};const d=[];e.push=function(e,n,t,r=!1){r&&p("B",e,n,t),d.push({phase:e,name:n,args:t,time:1e3*cr(),separateBeginAndEnd:r})},e.pop=function(e){Nt.assert(d.length>0),_(d.length-1,1e3*cr(),e),d.length--},e.popAll=function(){const e=1e3*cr();for(let n=d.length-1;n>=0;n--)_(n,e);d.length=0};const u=1e4;function _(e,n,t){const{phase:r,name:i,args:a,time:o,separateBeginAndEnd:s}=d[e];s?(Nt.assert(!t,"`results` are not supported for events with `separateBeginAndEnd`"),p("E",r,i,a,void 0,n)):u-o%u<=n-o&&p("X",r,i,{...a,results:t},'"dur":'+(n-o),o)}function p(e,r,a,o,s,c=1e3*cr()){"server"===t&&"checkTypes"===r||(kr("beginTracing"),n.writeSync(i,`,\n{"pid":1,"tid":1,"ph":"${e}","cat":"${r}","ts":${c},"name":"${a}"`),s&&n.writeSync(i,`,${s}`),o&&n.writeSync(i,`,"args":${JSON.stringify(o)}`),n.writeSync(i,"}"),kr("endTracing"),Ir("Tracing","beginTracing","endTracing"))}function f(e){const n=Ip(e);return n?{path:n.path,start:t(bs(n,e.pos)),end:t(bs(n,e.end))}:void 0;function t(e){return{line:e.line+1,character:e.character+1}}}e.dumpLegend=function(){o&&n.writeFileSync(o,JSON.stringify(s))}})(jr||(jr={})),Hr=jr.startTracing,Kr=jr.dumpLegend}});function fa(e,n=!0){const t=Gi[e.category];return n?t.toLowerCase():t}var ma,ha,ga,ya,va,ba,Ea,Ta,xa,Sa,Aa=E({"src/compiler/types.ts"(){Wr=(e=>(e[e.Unknown=0]="Unknown",e[e.EndOfFileToken=1]="EndOfFileToken",e[e.SingleLineCommentTrivia=2]="SingleLineCommentTrivia",e[e.MultiLineCommentTrivia=3]="MultiLineCommentTrivia",e[e.NewLineTrivia=4]="NewLineTrivia",e[e.WhitespaceTrivia=5]="WhitespaceTrivia",e[e.ShebangTrivia=6]="ShebangTrivia",e[e.ConflictMarkerTrivia=7]="ConflictMarkerTrivia",e[e.NumericLiteral=8]="NumericLiteral",e[e.BigIntLiteral=9]="BigIntLiteral",e[e.StringLiteral=10]="StringLiteral",e[e.JsxText=11]="JsxText",e[e.JsxTextAllWhiteSpaces=12]="JsxTextAllWhiteSpaces",e[e.RegularExpressionLiteral=13]="RegularExpressionLiteral",e[e.NoSubstitutionTemplateLiteral=14]="NoSubstitutionTemplateLiteral",e[e.TemplateHead=15]="TemplateHead",e[e.TemplateMiddle=16]="TemplateMiddle",e[e.TemplateTail=17]="TemplateTail",e[e.OpenBraceToken=18]="OpenBraceToken",e[e.CloseBraceToken=19]="CloseBraceToken",e[e.OpenParenToken=20]="OpenParenToken",e[e.CloseParenToken=21]="CloseParenToken",e[e.OpenBracketToken=22]="OpenBracketToken",e[e.CloseBracketToken=23]="CloseBracketToken",e[e.DotToken=24]="DotToken",e[e.DotDotDotToken=25]="DotDotDotToken",e[e.SemicolonToken=26]="SemicolonToken",e[e.CommaToken=27]="CommaToken",e[e.QuestionDotToken=28]="QuestionDotToken",e[e.LessThanToken=29]="LessThanToken",e[e.LessThanSlashToken=30]="LessThanSlashToken",e[e.GreaterThanToken=31]="GreaterThanToken",e[e.LessThanEqualsToken=32]="LessThanEqualsToken",e[e.GreaterThanEqualsToken=33]="GreaterThanEqualsToken",e[e.EqualsEqualsToken=34]="EqualsEqualsToken",e[e.ExclamationEqualsToken=35]="ExclamationEqualsToken",e[e.EqualsEqualsEqualsToken=36]="EqualsEqualsEqualsToken",e[e.ExclamationEqualsEqualsToken=37]="ExclamationEqualsEqualsToken",e[e.EqualsGreaterThanToken=38]="EqualsGreaterThanToken",e[e.PlusToken=39]="PlusToken",e[e.MinusToken=40]="MinusToken",e[e.AsteriskToken=41]="AsteriskToken",e[e.AsteriskAsteriskToken=42]="AsteriskAsteriskToken",e[e.SlashToken=43]="SlashToken",e[e.PercentToken=44]="PercentToken",e[e.PlusPlusToken=45]="PlusPlusToken",e[e.MinusMinusToken=46]="MinusMinusToken",e[e.LessThanLessThanToken=47]="LessThanLessThanToken",e[e.GreaterThanGreaterThanToken=48]="GreaterThanGreaterThanToken",e[e.GreaterThanGreaterThanGreaterThanToken=49]="GreaterThanGreaterThanGreaterThanToken",e[e.AmpersandToken=50]="AmpersandToken",e[e.BarToken=51]="BarToken",e[e.CaretToken=52]="CaretToken",e[e.ExclamationToken=53]="ExclamationToken",e[e.TildeToken=54]="TildeToken",e[e.AmpersandAmpersandToken=55]="AmpersandAmpersandToken",e[e.BarBarToken=56]="BarBarToken",e[e.QuestionToken=57]="QuestionToken",e[e.ColonToken=58]="ColonToken",e[e.AtToken=59]="AtToken",e[e.QuestionQuestionToken=60]="QuestionQuestionToken",e[e.BacktickToken=61]="BacktickToken",e[e.HashToken=62]="HashToken",e[e.EqualsToken=63]="EqualsToken",e[e.PlusEqualsToken=64]="PlusEqualsToken",e[e.MinusEqualsToken=65]="MinusEqualsToken",e[e.AsteriskEqualsToken=66]="AsteriskEqualsToken",e[e.AsteriskAsteriskEqualsToken=67]="AsteriskAsteriskEqualsToken",e[e.SlashEqualsToken=68]="SlashEqualsToken",e[e.PercentEqualsToken=69]="PercentEqualsToken",e[e.LessThanLessThanEqualsToken=70]="LessThanLessThanEqualsToken",e[e.GreaterThanGreaterThanEqualsToken=71]="GreaterThanGreaterThanEqualsToken",e[e.GreaterThanGreaterThanGreaterThanEqualsToken=72]="GreaterThanGreaterThanGreaterThanEqualsToken",e[e.AmpersandEqualsToken=73]="AmpersandEqualsToken",e[e.BarEqualsToken=74]="BarEqualsToken",e[e.BarBarEqualsToken=75]="BarBarEqualsToken",e[e.AmpersandAmpersandEqualsToken=76]="AmpersandAmpersandEqualsToken",e[e.QuestionQuestionEqualsToken=77]="QuestionQuestionEqualsToken",e[e.CaretEqualsToken=78]="CaretEqualsToken",e[e.Identifier=79]="Identifier",e[e.PrivateIdentifier=80]="PrivateIdentifier",e[e.BreakKeyword=81]="BreakKeyword",e[e.CaseKeyword=82]="CaseKeyword",e[e.CatchKeyword=83]="CatchKeyword",e[e.ClassKeyword=84]="ClassKeyword",e[e.ConstKeyword=85]="ConstKeyword",e[e.ContinueKeyword=86]="ContinueKeyword",e[e.DebuggerKeyword=87]="DebuggerKeyword",e[e.DefaultKeyword=88]="DefaultKeyword",e[e.DeleteKeyword=89]="DeleteKeyword",e[e.DoKeyword=90]="DoKeyword",e[e.ElseKeyword=91]="ElseKeyword",e[e.EnumKeyword=92]="EnumKeyword",e[e.ExportKeyword=93]="ExportKeyword",e[e.ExtendsKeyword=94]="ExtendsKeyword",e[e.FalseKeyword=95]="FalseKeyword",e[e.FinallyKeyword=96]="FinallyKeyword",e[e.ForKeyword=97]="ForKeyword",e[e.FunctionKeyword=98]="FunctionKeyword",e[e.IfKeyword=99]="IfKeyword",e[e.ImportKeyword=100]="ImportKeyword",e[e.InKeyword=101]="InKeyword",e[e.InstanceOfKeyword=102]="InstanceOfKeyword",e[e.NewKeyword=103]="NewKeyword",e[e.NullKeyword=104]="NullKeyword",e[e.ReturnKeyword=105]="ReturnKeyword",e[e.SuperKeyword=106]="SuperKeyword",e[e.SwitchKeyword=107]="SwitchKeyword",e[e.ThisKeyword=108]="ThisKeyword",e[e.ThrowKeyword=109]="ThrowKeyword",e[e.TrueKeyword=110]="TrueKeyword",e[e.TryKeyword=111]="TryKeyword",e[e.TypeOfKeyword=112]="TypeOfKeyword",e[e.VarKeyword=113]="VarKeyword",e[e.VoidKeyword=114]="VoidKeyword",e[e.WhileKeyword=115]="WhileKeyword",e[e.WithKeyword=116]="WithKeyword",e[e.ImplementsKeyword=117]="ImplementsKeyword",e[e.InterfaceKeyword=118]="InterfaceKeyword",e[e.LetKeyword=119]="LetKeyword",e[e.PackageKeyword=120]="PackageKeyword",e[e.PrivateKeyword=121]="PrivateKeyword",e[e.ProtectedKeyword=122]="ProtectedKeyword",e[e.PublicKeyword=123]="PublicKeyword",e[e.StaticKeyword=124]="StaticKeyword",e[e.YieldKeyword=125]="YieldKeyword",e[e.AbstractKeyword=126]="AbstractKeyword",e[e.AccessorKeyword=127]="AccessorKeyword",e[e.AsKeyword=128]="AsKeyword",e[e.AssertsKeyword=129]="AssertsKeyword",e[e.AssertKeyword=130]="AssertKeyword",e[e.AnyKeyword=131]="AnyKeyword",e[e.AsyncKeyword=132]="AsyncKeyword",e[e.AwaitKeyword=133]="AwaitKeyword",e[e.BooleanKeyword=134]="BooleanKeyword",e[e.ConstructorKeyword=135]="ConstructorKeyword",e[e.DeclareKeyword=136]="DeclareKeyword",e[e.GetKeyword=137]="GetKeyword",e[e.InferKeyword=138]="InferKeyword",e[e.IntrinsicKeyword=139]="IntrinsicKeyword",e[e.IsKeyword=140]="IsKeyword",e[e.KeyOfKeyword=141]="KeyOfKeyword",e[e.ModuleKeyword=142]="ModuleKeyword",e[e.NamespaceKeyword=143]="NamespaceKeyword",e[e.NeverKeyword=144]="NeverKeyword",e[e.OutKeyword=145]="OutKeyword",e[e.ReadonlyKeyword=146]="ReadonlyKeyword",e[e.RequireKeyword=147]="RequireKeyword",e[e.NumberKeyword=148]="NumberKeyword",e[e.ObjectKeyword=149]="ObjectKeyword",e[e.SatisfiesKeyword=150]="SatisfiesKeyword",e[e.SetKeyword=151]="SetKeyword",e[e.StringKeyword=152]="StringKeyword",e[e.SymbolKeyword=153]="SymbolKeyword",e[e.TypeKeyword=154]="TypeKeyword",e[e.UndefinedKeyword=155]="UndefinedKeyword",e[e.UniqueKeyword=156]="UniqueKeyword",e[e.UnknownKeyword=157]="UnknownKeyword",e[e.FromKeyword=158]="FromKeyword",e[e.GlobalKeyword=159]="GlobalKeyword",e[e.BigIntKeyword=160]="BigIntKeyword",e[e.OverrideKeyword=161]="OverrideKeyword",e[e.OfKeyword=162]="OfKeyword",e[e.QualifiedName=163]="QualifiedName",e[e.ComputedPropertyName=164]="ComputedPropertyName",e[e.TypeParameter=165]="TypeParameter",e[e.Parameter=166]="Parameter",e[e.Decorator=167]="Decorator",e[e.PropertySignature=168]="PropertySignature",e[e.PropertyDeclaration=169]="PropertyDeclaration",e[e.MethodSignature=170]="MethodSignature",e[e.MethodDeclaration=171]="MethodDeclaration",e[e.ClassStaticBlockDeclaration=172]="ClassStaticBlockDeclaration",e[e.Constructor=173]="Constructor",e[e.GetAccessor=174]="GetAccessor",e[e.SetAccessor=175]="SetAccessor",e[e.CallSignature=176]="CallSignature",e[e.ConstructSignature=177]="ConstructSignature",e[e.IndexSignature=178]="IndexSignature",e[e.TypePredicate=179]="TypePredicate",e[e.TypeReference=180]="TypeReference",e[e.FunctionType=181]="FunctionType",e[e.ConstructorType=182]="ConstructorType",e[e.TypeQuery=183]="TypeQuery",e[e.TypeLiteral=184]="TypeLiteral",e[e.ArrayType=185]="ArrayType",e[e.TupleType=186]="TupleType",e[e.OptionalType=187]="OptionalType",e[e.RestType=188]="RestType",e[e.UnionType=189]="UnionType",e[e.IntersectionType=190]="IntersectionType",e[e.ConditionalType=191]="ConditionalType",e[e.InferType=192]="InferType",e[e.ParenthesizedType=193]="ParenthesizedType",e[e.ThisType=194]="ThisType",e[e.TypeOperator=195]="TypeOperator",e[e.IndexedAccessType=196]="IndexedAccessType",e[e.MappedType=197]="MappedType",e[e.LiteralType=198]="LiteralType",e[e.NamedTupleMember=199]="NamedTupleMember",e[e.TemplateLiteralType=200]="TemplateLiteralType",e[e.TemplateLiteralTypeSpan=201]="TemplateLiteralTypeSpan",e[e.ImportType=202]="ImportType",e[e.ObjectBindingPattern=203]="ObjectBindingPattern",e[e.ArrayBindingPattern=204]="ArrayBindingPattern",e[e.BindingElement=205]="BindingElement",e[e.ArrayLiteralExpression=206]="ArrayLiteralExpression",e[e.ObjectLiteralExpression=207]="ObjectLiteralExpression",e[e.PropertyAccessExpression=208]="PropertyAccessExpression",e[e.ElementAccessExpression=209]="ElementAccessExpression",e[e.CallExpression=210]="CallExpression",e[e.NewExpression=211]="NewExpression",e[e.TaggedTemplateExpression=212]="TaggedTemplateExpression",e[e.TypeAssertionExpression=213]="TypeAssertionExpression",e[e.ParenthesizedExpression=214]="ParenthesizedExpression",e[e.FunctionExpression=215]="FunctionExpression",e[e.ArrowFunction=216]="ArrowFunction",e[e.DeleteExpression=217]="DeleteExpression",e[e.TypeOfExpression=218]="TypeOfExpression",e[e.VoidExpression=219]="VoidExpression",e[e.AwaitExpression=220]="AwaitExpression",e[e.PrefixUnaryExpression=221]="PrefixUnaryExpression",e[e.PostfixUnaryExpression=222]="PostfixUnaryExpression",e[e.BinaryExpression=223]="BinaryExpression",e[e.ConditionalExpression=224]="ConditionalExpression",e[e.TemplateExpression=225]="TemplateExpression",e[e.YieldExpression=226]="YieldExpression",e[e.SpreadElement=227]="SpreadElement",e[e.ClassExpression=228]="ClassExpression",e[e.OmittedExpression=229]="OmittedExpression",e[e.ExpressionWithTypeArguments=230]="ExpressionWithTypeArguments",e[e.AsExpression=231]="AsExpression",e[e.NonNullExpression=232]="NonNullExpression",e[e.MetaProperty=233]="MetaProperty",e[e.SyntheticExpression=234]="SyntheticExpression",e[e.SatisfiesExpression=235]="SatisfiesExpression",e[e.TemplateSpan=236]="TemplateSpan",e[e.SemicolonClassElement=237]="SemicolonClassElement",e[e.Block=238]="Block",e[e.EmptyStatement=239]="EmptyStatement",e[e.VariableStatement=240]="VariableStatement",e[e.ExpressionStatement=241]="ExpressionStatement",e[e.IfStatement=242]="IfStatement",e[e.DoStatement=243]="DoStatement",e[e.WhileStatement=244]="WhileStatement",e[e.ForStatement=245]="ForStatement",e[e.ForInStatement=246]="ForInStatement",e[e.ForOfStatement=247]="ForOfStatement",e[e.ContinueStatement=248]="ContinueStatement",e[e.BreakStatement=249]="BreakStatement",e[e.ReturnStatement=250]="ReturnStatement",e[e.WithStatement=251]="WithStatement",e[e.SwitchStatement=252]="SwitchStatement",e[e.LabeledStatement=253]="LabeledStatement",e[e.ThrowStatement=254]="ThrowStatement",e[e.TryStatement=255]="TryStatement",e[e.DebuggerStatement=256]="DebuggerStatement",e[e.VariableDeclaration=257]="VariableDeclaration",e[e.VariableDeclarationList=258]="VariableDeclarationList",e[e.FunctionDeclaration=259]="FunctionDeclaration",e[e.ClassDeclaration=260]="ClassDeclaration",e[e.InterfaceDeclaration=261]="InterfaceDeclaration",e[e.TypeAliasDeclaration=262]="TypeAliasDeclaration",e[e.EnumDeclaration=263]="EnumDeclaration",e[e.ModuleDeclaration=264]="ModuleDeclaration",e[e.ModuleBlock=265]="ModuleBlock",e[e.CaseBlock=266]="CaseBlock",e[e.NamespaceExportDeclaration=267]="NamespaceExportDeclaration",e[e.ImportEqualsDeclaration=268]="ImportEqualsDeclaration",e[e.ImportDeclaration=269]="ImportDeclaration",e[e.ImportClause=270]="ImportClause",e[e.NamespaceImport=271]="NamespaceImport",e[e.NamedImports=272]="NamedImports",e[e.ImportSpecifier=273]="ImportSpecifier",e[e.ExportAssignment=274]="ExportAssignment",e[e.ExportDeclaration=275]="ExportDeclaration",e[e.NamedExports=276]="NamedExports",e[e.NamespaceExport=277]="NamespaceExport",e[e.ExportSpecifier=278]="ExportSpecifier",e[e.MissingDeclaration=279]="MissingDeclaration",e[e.ExternalModuleReference=280]="ExternalModuleReference",e[e.JsxElement=281]="JsxElement",e[e.JsxSelfClosingElement=282]="JsxSelfClosingElement",e[e.JsxOpeningElement=283]="JsxOpeningElement",e[e.JsxClosingElement=284]="JsxClosingElement",e[e.JsxFragment=285]="JsxFragment",e[e.JsxOpeningFragment=286]="JsxOpeningFragment",e[e.JsxClosingFragment=287]="JsxClosingFragment",e[e.JsxAttribute=288]="JsxAttribute",e[e.JsxAttributes=289]="JsxAttributes",e[e.JsxSpreadAttribute=290]="JsxSpreadAttribute",e[e.JsxExpression=291]="JsxExpression",e[e.CaseClause=292]="CaseClause",e[e.DefaultClause=293]="DefaultClause",e[e.HeritageClause=294]="HeritageClause",e[e.CatchClause=295]="CatchClause",e[e.AssertClause=296]="AssertClause",e[e.AssertEntry=297]="AssertEntry",e[e.ImportTypeAssertionContainer=298]="ImportTypeAssertionContainer",e[e.PropertyAssignment=299]="PropertyAssignment",e[e.ShorthandPropertyAssignment=300]="ShorthandPropertyAssignment",e[e.SpreadAssignment=301]="SpreadAssignment",e[e.EnumMember=302]="EnumMember",e[e.UnparsedPrologue=303]="UnparsedPrologue",e[e.UnparsedPrepend=304]="UnparsedPrepend",e[e.UnparsedText=305]="UnparsedText",e[e.UnparsedInternalText=306]="UnparsedInternalText",e[e.UnparsedSyntheticReference=307]="UnparsedSyntheticReference",e[e.SourceFile=308]="SourceFile",e[e.Bundle=309]="Bundle",e[e.UnparsedSource=310]="UnparsedSource",e[e.InputFiles=311]="InputFiles",e[e.JSDocTypeExpression=312]="JSDocTypeExpression",e[e.JSDocNameReference=313]="JSDocNameReference",e[e.JSDocMemberName=314]="JSDocMemberName",e[e.JSDocAllType=315]="JSDocAllType",e[e.JSDocUnknownType=316]="JSDocUnknownType",e[e.JSDocNullableType=317]="JSDocNullableType",e[e.JSDocNonNullableType=318]="JSDocNonNullableType",e[e.JSDocOptionalType=319]="JSDocOptionalType",e[e.JSDocFunctionType=320]="JSDocFunctionType",e[e.JSDocVariadicType=321]="JSDocVariadicType",e[e.JSDocNamepathType=322]="JSDocNamepathType",e[e.JSDoc=323]="JSDoc",e[e.JSDocComment=323]="JSDocComment",e[e.JSDocText=324]="JSDocText",e[e.JSDocTypeLiteral=325]="JSDocTypeLiteral",e[e.JSDocSignature=326]="JSDocSignature",e[e.JSDocLink=327]="JSDocLink",e[e.JSDocLinkCode=328]="JSDocLinkCode",e[e.JSDocLinkPlain=329]="JSDocLinkPlain",e[e.JSDocTag=330]="JSDocTag",e[e.JSDocAugmentsTag=331]="JSDocAugmentsTag",e[e.JSDocImplementsTag=332]="JSDocImplementsTag",e[e.JSDocAuthorTag=333]="JSDocAuthorTag",e[e.JSDocDeprecatedTag=334]="JSDocDeprecatedTag",e[e.JSDocClassTag=335]="JSDocClassTag",e[e.JSDocPublicTag=336]="JSDocPublicTag",e[e.JSDocPrivateTag=337]="JSDocPrivateTag",e[e.JSDocProtectedTag=338]="JSDocProtectedTag",e[e.JSDocReadonlyTag=339]="JSDocReadonlyTag",e[e.JSDocOverrideTag=340]="JSDocOverrideTag",e[e.JSDocCallbackTag=341]="JSDocCallbackTag",e[e.JSDocOverloadTag=342]="JSDocOverloadTag",e[e.JSDocEnumTag=343]="JSDocEnumTag",e[e.JSDocParameterTag=344]="JSDocParameterTag",e[e.JSDocReturnTag=345]="JSDocReturnTag",e[e.JSDocThisTag=346]="JSDocThisTag",e[e.JSDocTypeTag=347]="JSDocTypeTag",e[e.JSDocTemplateTag=348]="JSDocTemplateTag",e[e.JSDocTypedefTag=349]="JSDocTypedefTag",e[e.JSDocSeeTag=350]="JSDocSeeTag",e[e.JSDocPropertyTag=351]="JSDocPropertyTag",e[e.JSDocThrowsTag=352]="JSDocThrowsTag",e[e.JSDocSatisfiesTag=353]="JSDocSatisfiesTag",e[e.SyntaxList=354]="SyntaxList",e[e.NotEmittedStatement=355]="NotEmittedStatement",e[e.PartiallyEmittedExpression=356]="PartiallyEmittedExpression",e[e.CommaListExpression=357]="CommaListExpression",e[e.MergeDeclarationMarker=358]="MergeDeclarationMarker",e[e.EndOfDeclarationMarker=359]="EndOfDeclarationMarker",e[e.SyntheticReferenceExpression=360]="SyntheticReferenceExpression",e[e.Count=361]="Count",e[e.FirstAssignment=63]="FirstAssignment",e[e.LastAssignment=78]="LastAssignment",e[e.FirstCompoundAssignment=64]="FirstCompoundAssignment",e[e.LastCompoundAssignment=78]="LastCompoundAssignment",e[e.FirstReservedWord=81]="FirstReservedWord",e[e.LastReservedWord=116]="LastReservedWord",e[e.FirstKeyword=81]="FirstKeyword",e[e.LastKeyword=162]="LastKeyword",e[e.FirstFutureReservedWord=117]="FirstFutureReservedWord",e[e.LastFutureReservedWord=125]="LastFutureReservedWord",e[e.FirstTypeNode=179]="FirstTypeNode",e[e.LastTypeNode=202]="LastTypeNode",e[e.FirstPunctuation=18]="FirstPunctuation",e[e.LastPunctuation=78]="LastPunctuation",e[e.FirstToken=0]="FirstToken",e[e.LastToken=162]="LastToken",e[e.FirstTriviaToken=2]="FirstTriviaToken",e[e.LastTriviaToken=7]="LastTriviaToken",e[e.FirstLiteralToken=8]="FirstLiteralToken",e[e.LastLiteralToken=14]="LastLiteralToken",e[e.FirstTemplateToken=14]="FirstTemplateToken",e[e.LastTemplateToken=17]="LastTemplateToken",e[e.FirstBinaryOperator=29]="FirstBinaryOperator",e[e.LastBinaryOperator=78]="LastBinaryOperator",e[e.FirstStatement=240]="FirstStatement",e[e.LastStatement=256]="LastStatement",e[e.FirstNode=163]="FirstNode",e[e.FirstJSDocNode=312]="FirstJSDocNode",e[e.LastJSDocNode=353]="LastJSDocNode",e[e.FirstJSDocTagNode=330]="FirstJSDocTagNode",e[e.LastJSDocTagNode=353]="LastJSDocTagNode",e[e.FirstContextualKeyword=126]="FirstContextualKeyword",e[e.LastContextualKeyword=162]="LastContextualKeyword",e))(Wr||{}),qr=(e=>(e[e.None=0]="None",e[e.Let=1]="Let",e[e.Const=2]="Const",e[e.NestedNamespace=4]="NestedNamespace",e[e.Synthesized=8]="Synthesized",e[e.Namespace=16]="Namespace",e[e.OptionalChain=32]="OptionalChain",e[e.ExportContext=64]="ExportContext",e[e.ContainsThis=128]="ContainsThis",e[e.HasImplicitReturn=256]="HasImplicitReturn",e[e.HasExplicitReturn=512]="HasExplicitReturn",e[e.GlobalAugmentation=1024]="GlobalAugmentation",e[e.HasAsyncFunctions=2048]="HasAsyncFunctions",e[e.DisallowInContext=4096]="DisallowInContext",e[e.YieldContext=8192]="YieldContext",e[e.DecoratorContext=16384]="DecoratorContext",e[e.AwaitContext=32768]="AwaitContext",e[e.DisallowConditionalTypesContext=65536]="DisallowConditionalTypesContext",e[e.ThisNodeHasError=131072]="ThisNodeHasError",e[e.JavaScriptFile=262144]="JavaScriptFile",e[e.ThisNodeOrAnySubNodesHasError=524288]="ThisNodeOrAnySubNodesHasError",e[e.HasAggregatedChildData=1048576]="HasAggregatedChildData",e[e.PossiblyContainsDynamicImport=2097152]="PossiblyContainsDynamicImport",e[e.PossiblyContainsImportMeta=4194304]="PossiblyContainsImportMeta",e[e.JSDoc=8388608]="JSDoc",e[e.Ambient=16777216]="Ambient",e[e.InWithStatement=33554432]="InWithStatement",e[e.JsonFile=67108864]="JsonFile",e[e.TypeCached=134217728]="TypeCached",e[e.Deprecated=268435456]="Deprecated",e[e.BlockScoped=3]="BlockScoped",e[e.ReachabilityCheckFlags=768]="ReachabilityCheckFlags",e[e.ReachabilityAndEmitFlags=2816]="ReachabilityAndEmitFlags",e[e.ContextFlags=50720768]="ContextFlags",e[e.TypeExcludesFlags=40960]="TypeExcludesFlags",e[e.PermanentlySetIncrementalFlags=6291456]="PermanentlySetIncrementalFlags",e[e.IdentifierHasExtendedUnicodeEscape=128]="IdentifierHasExtendedUnicodeEscape",e[e.IdentifierIsInJSDocNamespace=2048]="IdentifierIsInJSDocNamespace",e))(qr||{}),zr=(e=>(e[e.None=0]="None",e[e.Export=1]="Export",e[e.Ambient=2]="Ambient",e[e.Public=4]="Public",e[e.Private=8]="Private",e[e.Protected=16]="Protected",e[e.Static=32]="Static",e[e.Readonly=64]="Readonly",e[e.Accessor=128]="Accessor",e[e.Abstract=256]="Abstract",e[e.Async=512]="Async",e[e.Default=1024]="Default",e[e.Const=2048]="Const",e[e.HasComputedJSDocModifiers=4096]="HasComputedJSDocModifiers",e[e.Deprecated=8192]="Deprecated",e[e.Override=16384]="Override",e[e.In=32768]="In",e[e.Out=65536]="Out",e[e.Decorator=131072]="Decorator",e[e.HasComputedFlags=536870912]="HasComputedFlags",e[e.AccessibilityModifier=28]="AccessibilityModifier",e[e.ParameterPropertyModifier=16476]="ParameterPropertyModifier",e[e.NonPublicAccessibilityModifier=24]="NonPublicAccessibilityModifier",e[e.TypeScriptModifier=117086]="TypeScriptModifier",e[e.ExportDefault=1025]="ExportDefault",e[e.All=258047]="All",e[e.Modifier=126975]="Modifier",e))(zr||{}),Jr=(e=>(e[e.None=0]="None",e[e.IntrinsicNamedElement=1]="IntrinsicNamedElement",e[e.IntrinsicIndexedElement=2]="IntrinsicIndexedElement",e[e.IntrinsicElement=3]="IntrinsicElement",e))(Jr||{}),Xr=(e=>(e[e.Succeeded=1]="Succeeded",e[e.Failed=2]="Failed",e[e.Reported=4]="Reported",e[e.ReportsUnmeasurable=8]="ReportsUnmeasurable",e[e.ReportsUnreliable=16]="ReportsUnreliable",e[e.ReportsMask=24]="ReportsMask",e))(Xr||{}),Yr=(e=>(e[e.None=0]="None",e[e.Auto=1]="Auto",e[e.Loop=2]="Loop",e[e.Unique=3]="Unique",e[e.Node=4]="Node",e[e.KindMask=7]="KindMask",e[e.ReservedInNestedScopes=8]="ReservedInNestedScopes",e[e.Optimistic=16]="Optimistic",e[e.FileLevel=32]="FileLevel",e[e.AllowNameSubstitution=64]="AllowNameSubstitution",e))(Yr||{}),$r=(e=>(e[e.None=0]="None",e[e.PrecedingLineBreak=1]="PrecedingLineBreak",e[e.PrecedingJSDocComment=2]="PrecedingJSDocComment",e[e.Unterminated=4]="Unterminated",e[e.ExtendedUnicodeEscape=8]="ExtendedUnicodeEscape",e[e.Scientific=16]="Scientific",e[e.Octal=32]="Octal",e[e.HexSpecifier=64]="HexSpecifier",e[e.BinarySpecifier=128]="BinarySpecifier",e[e.OctalSpecifier=256]="OctalSpecifier",e[e.ContainsSeparator=512]="ContainsSeparator",e[e.UnicodeEscape=1024]="UnicodeEscape",e[e.ContainsInvalidEscape=2048]="ContainsInvalidEscape",e[e.BinaryOrOctalSpecifier=384]="BinaryOrOctalSpecifier",e[e.NumericLiteralFlags=1008]="NumericLiteralFlags",e[e.TemplateLiteralLikeFlags=2048]="TemplateLiteralLikeFlags",e))($r||{}),Qr=(e=>(e[e.Unreachable=1]="Unreachable",e[e.Start=2]="Start",e[e.BranchLabel=4]="BranchLabel",e[e.LoopLabel=8]="LoopLabel",e[e.Assignment=16]="Assignment",e[e.TrueCondition=32]="TrueCondition",e[e.FalseCondition=64]="FalseCondition",e[e.SwitchClause=128]="SwitchClause",e[e.ArrayMutation=256]="ArrayMutation",e[e.Call=512]="Call",e[e.ReduceLabel=1024]="ReduceLabel",e[e.Referenced=2048]="Referenced",e[e.Shared=4096]="Shared",e[e.Label=12]="Label",e[e.Condition=96]="Condition",e))(Qr||{}),Zr=(e=>(e[e.ExpectError=0]="ExpectError",e[e.Ignore=1]="Ignore",e))(Zr||{}),ei=class{},ni=(e=>(e[e.RootFile=0]="RootFile",e[e.SourceFromProjectReference=1]="SourceFromProjectReference",e[e.OutputFromProjectReference=2]="OutputFromProjectReference",e[e.Import=3]="Import",e[e.ReferenceFile=4]="ReferenceFile",e[e.TypeReferenceDirective=5]="TypeReferenceDirective",e[e.LibFile=6]="LibFile",e[e.LibReferenceDirective=7]="LibReferenceDirective",e[e.AutomaticTypeDirectiveFile=8]="AutomaticTypeDirectiveFile",e))(ni||{}),ti=(e=>(e[e.FilePreprocessingReferencedDiagnostic=0]="FilePreprocessingReferencedDiagnostic",e[e.FilePreprocessingFileExplainingDiagnostic=1]="FilePreprocessingFileExplainingDiagnostic",e[e.ResolutionDiagnostics=2]="ResolutionDiagnostics",e))(ti||{}),ri=(e=>(e[e.Js=0]="Js",e[e.Dts=1]="Dts",e))(ri||{}),ii=(e=>(e[e.Not=0]="Not",e[e.SafeModules=1]="SafeModules",e[e.Completely=2]="Completely",e))(ii||{}),ai=(e=>(e[e.Success=0]="Success",e[e.DiagnosticsPresent_OutputsSkipped=1]="DiagnosticsPresent_OutputsSkipped",e[e.DiagnosticsPresent_OutputsGenerated=2]="DiagnosticsPresent_OutputsGenerated",e[e.InvalidProject_OutputsSkipped=3]="InvalidProject_OutputsSkipped",e[e.ProjectReferenceCycle_OutputsSkipped=4]="ProjectReferenceCycle_OutputsSkipped",e))(ai||{}),oi=(e=>(e[e.Ok=0]="Ok",e[e.NeedsOverride=1]="NeedsOverride",e[e.HasInvalidOverride=2]="HasInvalidOverride",e))(oi||{}),si=(e=>(e[e.None=0]="None",e[e.Literal=1]="Literal",e[e.Subtype=2]="Subtype",e))(si||{}),ci=(e=>(e[e.None=0]="None",e[e.Signature=1]="Signature",e[e.NoConstraints=2]="NoConstraints",e[e.Completions=4]="Completions",e[e.SkipBindingPatterns=8]="SkipBindingPatterns",e))(ci||{}),li=(e=>(e[e.None=0]="None",e[e.NoTruncation=1]="NoTruncation",e[e.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",e[e.GenerateNamesForShadowedTypeParams=4]="GenerateNamesForShadowedTypeParams",e[e.UseStructuralFallback=8]="UseStructuralFallback",e[e.ForbidIndexedAccessSymbolReferences=16]="ForbidIndexedAccessSymbolReferences",e[e.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",e[e.UseFullyQualifiedType=64]="UseFullyQualifiedType",e[e.UseOnlyExternalAliasing=128]="UseOnlyExternalAliasing",e[e.SuppressAnyReturnType=256]="SuppressAnyReturnType",e[e.WriteTypeParametersInQualifiedName=512]="WriteTypeParametersInQualifiedName",e[e.MultilineObjectLiterals=1024]="MultilineObjectLiterals",e[e.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",e[e.UseTypeOfFunction=4096]="UseTypeOfFunction",e[e.OmitParameterModifiers=8192]="OmitParameterModifiers",e[e.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",e[e.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",e[e.NoTypeReduction=536870912]="NoTypeReduction",e[e.OmitThisParameter=33554432]="OmitThisParameter",e[e.AllowThisInObjectLiteral=32768]="AllowThisInObjectLiteral",e[e.AllowQualifiedNameInPlaceOfIdentifier=65536]="AllowQualifiedNameInPlaceOfIdentifier",e[e.AllowAnonymousIdentifier=131072]="AllowAnonymousIdentifier",e[e.AllowEmptyUnionOrIntersection=262144]="AllowEmptyUnionOrIntersection",e[e.AllowEmptyTuple=524288]="AllowEmptyTuple",e[e.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",e[e.AllowEmptyIndexInfoType=2097152]="AllowEmptyIndexInfoType",e[e.WriteComputedProps=1073741824]="WriteComputedProps",e[e.AllowNodeModulesRelativePaths=67108864]="AllowNodeModulesRelativePaths",e[e.DoNotIncludeSymbolChain=134217728]="DoNotIncludeSymbolChain",e[e.IgnoreErrors=70221824]="IgnoreErrors",e[e.InObjectTypeLiteral=4194304]="InObjectTypeLiteral",e[e.InTypeAlias=8388608]="InTypeAlias",e[e.InInitialEntityName=16777216]="InInitialEntityName",e))(li||{}),di=(e=>(e[e.None=0]="None",e[e.NoTruncation=1]="NoTruncation",e[e.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",e[e.UseStructuralFallback=8]="UseStructuralFallback",e[e.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",e[e.UseFullyQualifiedType=64]="UseFullyQualifiedType",e[e.SuppressAnyReturnType=256]="SuppressAnyReturnType",e[e.MultilineObjectLiterals=1024]="MultilineObjectLiterals",e[e.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",e[e.UseTypeOfFunction=4096]="UseTypeOfFunction",e[e.OmitParameterModifiers=8192]="OmitParameterModifiers",e[e.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",e[e.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",e[e.NoTypeReduction=536870912]="NoTypeReduction",e[e.OmitThisParameter=33554432]="OmitThisParameter",e[e.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",e[e.AddUndefined=131072]="AddUndefined",e[e.WriteArrowStyleSignature=262144]="WriteArrowStyleSignature",e[e.InArrayType=524288]="InArrayType",e[e.InElementType=2097152]="InElementType",e[e.InFirstTypeArgument=4194304]="InFirstTypeArgument",e[e.InTypeAlias=8388608]="InTypeAlias",e[e.NodeBuilderFlagsMask=848330091]="NodeBuilderFlagsMask",e))(di||{}),ui=(e=>(e[e.None=0]="None",e[e.WriteTypeParametersOrArguments=1]="WriteTypeParametersOrArguments",e[e.UseOnlyExternalAliasing=2]="UseOnlyExternalAliasing",e[e.AllowAnyNodeKind=4]="AllowAnyNodeKind",e[e.UseAliasDefinedOutsideCurrentScope=8]="UseAliasDefinedOutsideCurrentScope",e[e.WriteComputedProps=16]="WriteComputedProps",e[e.DoNotIncludeSymbolChain=32]="DoNotIncludeSymbolChain",e))(ui||{}),_i=(e=>(e[e.Accessible=0]="Accessible",e[e.NotAccessible=1]="NotAccessible",e[e.CannotBeNamed=2]="CannotBeNamed",e))(_i||{}),pi=(e=>(e[e.UnionOrIntersection=0]="UnionOrIntersection",e[e.Spread=1]="Spread",e))(pi||{}),fi=(e=>(e[e.This=0]="This",e[e.Identifier=1]="Identifier",e[e.AssertsThis=2]="AssertsThis",e[e.AssertsIdentifier=3]="AssertsIdentifier",e))(fi||{}),mi=(e=>(e[e.Unknown=0]="Unknown",e[e.TypeWithConstructSignatureAndValue=1]="TypeWithConstructSignatureAndValue",e[e.VoidNullableOrNeverType=2]="VoidNullableOrNeverType",e[e.NumberLikeType=3]="NumberLikeType",e[e.BigIntLikeType=4]="BigIntLikeType",e[e.StringLikeType=5]="StringLikeType",e[e.BooleanType=6]="BooleanType",e[e.ArrayLikeType=7]="ArrayLikeType",e[e.ESSymbolType=8]="ESSymbolType",e[e.Promise=9]="Promise",e[e.TypeWithCallSignature=10]="TypeWithCallSignature",e[e.ObjectType=11]="ObjectType",e))(mi||{}),hi=(e=>(e[e.None=0]="None",e[e.FunctionScopedVariable=1]="FunctionScopedVariable",e[e.BlockScopedVariable=2]="BlockScopedVariable",e[e.Property=4]="Property",e[e.EnumMember=8]="EnumMember",e[e.Function=16]="Function",e[e.Class=32]="Class",e[e.Interface=64]="Interface",e[e.ConstEnum=128]="ConstEnum",e[e.RegularEnum=256]="RegularEnum",e[e.ValueModule=512]="ValueModule",e[e.NamespaceModule=1024]="NamespaceModule",e[e.TypeLiteral=2048]="TypeLiteral",e[e.ObjectLiteral=4096]="ObjectLiteral",e[e.Method=8192]="Method",e[e.Constructor=16384]="Constructor",e[e.GetAccessor=32768]="GetAccessor",e[e.SetAccessor=65536]="SetAccessor",e[e.Signature=131072]="Signature",e[e.TypeParameter=262144]="TypeParameter",e[e.TypeAlias=524288]="TypeAlias",e[e.ExportValue=1048576]="ExportValue",e[e.Alias=2097152]="Alias",e[e.Prototype=4194304]="Prototype",e[e.ExportStar=8388608]="ExportStar",e[e.Optional=16777216]="Optional",e[e.Transient=33554432]="Transient",e[e.Assignment=67108864]="Assignment",e[e.ModuleExports=134217728]="ModuleExports",e[e.All=67108863]="All",e[e.Enum=384]="Enum",e[e.Variable=3]="Variable",e[e.Value=111551]="Value",e[e.Type=788968]="Type",e[e.Namespace=1920]="Namespace",e[e.Module=1536]="Module",e[e.Accessor=98304]="Accessor",e[e.FunctionScopedVariableExcludes=111550]="FunctionScopedVariableExcludes",e[e.BlockScopedVariableExcludes=111551]="BlockScopedVariableExcludes",e[e.ParameterExcludes=111551]="ParameterExcludes",e[e.PropertyExcludes=0]="PropertyExcludes",e[e.EnumMemberExcludes=900095]="EnumMemberExcludes",e[e.FunctionExcludes=110991]="FunctionExcludes",e[e.ClassExcludes=899503]="ClassExcludes",e[e.InterfaceExcludes=788872]="InterfaceExcludes",e[e.RegularEnumExcludes=899327]="RegularEnumExcludes",e[e.ConstEnumExcludes=899967]="ConstEnumExcludes",e[e.ValueModuleExcludes=110735]="ValueModuleExcludes",e[e.NamespaceModuleExcludes=0]="NamespaceModuleExcludes",e[e.MethodExcludes=103359]="MethodExcludes",e[e.GetAccessorExcludes=46015]="GetAccessorExcludes",e[e.SetAccessorExcludes=78783]="SetAccessorExcludes",e[e.AccessorExcludes=13247]="AccessorExcludes",e[e.TypeParameterExcludes=526824]="TypeParameterExcludes",e[e.TypeAliasExcludes=788968]="TypeAliasExcludes",e[e.AliasExcludes=2097152]="AliasExcludes",e[e.ModuleMember=2623475]="ModuleMember",e[e.ExportHasLocal=944]="ExportHasLocal",e[e.BlockScoped=418]="BlockScoped",e[e.PropertyOrAccessor=98308]="PropertyOrAccessor",e[e.ClassMember=106500]="ClassMember",e[e.ExportSupportsDefaultModifier=112]="ExportSupportsDefaultModifier",e[e.ExportDoesNotSupportDefaultModifier=-113]="ExportDoesNotSupportDefaultModifier",e[e.Classifiable=2885600]="Classifiable",e[e.LateBindingContainer=6256]="LateBindingContainer",e))(hi||{}),gi=(e=>(e[e.Numeric=0]="Numeric",e[e.Literal=1]="Literal",e))(gi||{}),yi=(e=>(e[e.None=0]="None",e[e.Instantiated=1]="Instantiated",e[e.SyntheticProperty=2]="SyntheticProperty",e[e.SyntheticMethod=4]="SyntheticMethod",e[e.Readonly=8]="Readonly",e[e.ReadPartial=16]="ReadPartial",e[e.WritePartial=32]="WritePartial",e[e.HasNonUniformType=64]="HasNonUniformType",e[e.HasLiteralType=128]="HasLiteralType",e[e.ContainsPublic=256]="ContainsPublic",e[e.ContainsProtected=512]="ContainsProtected",e[e.ContainsPrivate=1024]="ContainsPrivate",e[e.ContainsStatic=2048]="ContainsStatic",e[e.Late=4096]="Late",e[e.ReverseMapped=8192]="ReverseMapped",e[e.OptionalParameter=16384]="OptionalParameter",e[e.RestParameter=32768]="RestParameter",e[e.DeferredType=65536]="DeferredType",e[e.HasNeverType=131072]="HasNeverType",e[e.Mapped=262144]="Mapped",e[e.StripOptional=524288]="StripOptional",e[e.Unresolved=1048576]="Unresolved",e[e.Synthetic=6]="Synthetic",e[e.Discriminant=192]="Discriminant",e[e.Partial=48]="Partial",e))(yi||{}),vi=(e=>(e.Call="__call",e.Constructor="__constructor",e.New="__new",e.Index="__index",e.ExportStar="__export",e.Global="__global",e.Missing="__missing",e.Type="__type",e.Object="__object",e.JSXAttributes="__jsxAttributes",e.Class="__class",e.Function="__function",e.Computed="__computed",e.Resolving="__resolving__",e.ExportEquals="export=",e.Default="default",e.This="this",e))(vi||{}),bi=(e=>(e[e.None=0]="None",e[e.TypeChecked=1]="TypeChecked",e[e.LexicalThis=2]="LexicalThis",e[e.CaptureThis=4]="CaptureThis",e[e.CaptureNewTarget=8]="CaptureNewTarget",e[e.SuperInstance=16]="SuperInstance",e[e.SuperStatic=32]="SuperStatic",e[e.ContextChecked=64]="ContextChecked",e[e.MethodWithSuperPropertyAccessInAsync=128]="MethodWithSuperPropertyAccessInAsync",e[e.MethodWithSuperPropertyAssignmentInAsync=256]="MethodWithSuperPropertyAssignmentInAsync",e[e.CaptureArguments=512]="CaptureArguments",e[e.EnumValuesComputed=1024]="EnumValuesComputed",e[e.LexicalModuleMergesWithClass=2048]="LexicalModuleMergesWithClass",e[e.LoopWithCapturedBlockScopedBinding=4096]="LoopWithCapturedBlockScopedBinding",e[e.ContainsCapturedBlockScopeBinding=8192]="ContainsCapturedBlockScopeBinding",e[e.CapturedBlockScopedBinding=16384]="CapturedBlockScopedBinding",e[e.BlockScopedBindingInLoop=32768]="BlockScopedBindingInLoop",e[e.ClassWithBodyScopedClassBinding=65536]="ClassWithBodyScopedClassBinding",e[e.BodyScopedClassBinding=131072]="BodyScopedClassBinding",e[e.NeedsLoopOutParameter=262144]="NeedsLoopOutParameter",e[e.AssignmentsMarked=524288]="AssignmentsMarked",e[e.ClassWithConstructorReference=1048576]="ClassWithConstructorReference",e[e.ConstructorReferenceInClass=2097152]="ConstructorReferenceInClass",e[e.ContainsClassWithPrivateIdentifiers=4194304]="ContainsClassWithPrivateIdentifiers",e[e.ContainsSuperPropertyInStaticInitializer=8388608]="ContainsSuperPropertyInStaticInitializer",e[e.InCheckIdentifier=16777216]="InCheckIdentifier",e))(bi||{}),Ei=(e=>(e[e.Any=1]="Any",e[e.Unknown=2]="Unknown",e[e.String=4]="String",e[e.Number=8]="Number",e[e.Boolean=16]="Boolean",e[e.Enum=32]="Enum",e[e.BigInt=64]="BigInt",e[e.StringLiteral=128]="StringLiteral",e[e.NumberLiteral=256]="NumberLiteral",e[e.BooleanLiteral=512]="BooleanLiteral",e[e.EnumLiteral=1024]="EnumLiteral",e[e.BigIntLiteral=2048]="BigIntLiteral",e[e.ESSymbol=4096]="ESSymbol",e[e.UniqueESSymbol=8192]="UniqueESSymbol",e[e.Void=16384]="Void",e[e.Undefined=32768]="Undefined",e[e.Null=65536]="Null",e[e.Never=131072]="Never",e[e.TypeParameter=262144]="TypeParameter",e[e.Object=524288]="Object",e[e.Union=1048576]="Union",e[e.Intersection=2097152]="Intersection",e[e.Index=4194304]="Index",e[e.IndexedAccess=8388608]="IndexedAccess",e[e.Conditional=16777216]="Conditional",e[e.Substitution=33554432]="Substitution",e[e.NonPrimitive=67108864]="NonPrimitive",e[e.TemplateLiteral=134217728]="TemplateLiteral",e[e.StringMapping=268435456]="StringMapping",e[e.AnyOrUnknown=3]="AnyOrUnknown",e[e.Nullable=98304]="Nullable",e[e.Literal=2944]="Literal",e[e.Unit=109472]="Unit",e[e.Freshable=2976]="Freshable",e[e.StringOrNumberLiteral=384]="StringOrNumberLiteral",e[e.StringOrNumberLiteralOrUnique=8576]="StringOrNumberLiteralOrUnique",e[e.DefinitelyFalsy=117632]="DefinitelyFalsy",e[e.PossiblyFalsy=117724]="PossiblyFalsy",e[e.Intrinsic=67359327]="Intrinsic",e[e.Primitive=134348796]="Primitive",e[e.StringLike=402653316]="StringLike",e[e.NumberLike=296]="NumberLike",e[e.BigIntLike=2112]="BigIntLike",e[e.BooleanLike=528]="BooleanLike",e[e.EnumLike=1056]="EnumLike",e[e.ESSymbolLike=12288]="ESSymbolLike",e[e.VoidLike=49152]="VoidLike",e[e.DefinitelyNonNullable=470302716]="DefinitelyNonNullable",e[e.DisjointDomains=469892092]="DisjointDomains",e[e.UnionOrIntersection=3145728]="UnionOrIntersection",e[e.StructuredType=3670016]="StructuredType",e[e.TypeVariable=8650752]="TypeVariable",e[e.InstantiableNonPrimitive=58982400]="InstantiableNonPrimitive",e[e.InstantiablePrimitive=406847488]="InstantiablePrimitive",e[e.Instantiable=465829888]="Instantiable",e[e.StructuredOrInstantiable=469499904]="StructuredOrInstantiable",e[e.ObjectFlagsType=3899393]="ObjectFlagsType",e[e.Simplifiable=25165824]="Simplifiable",e[e.Singleton=67358815]="Singleton",e[e.Narrowable=536624127]="Narrowable",e[e.IncludesMask=205258751]="IncludesMask",e[e.IncludesMissingType=262144]="IncludesMissingType",e[e.IncludesNonWideningType=4194304]="IncludesNonWideningType",e[e.IncludesWildcard=8388608]="IncludesWildcard",e[e.IncludesEmptyObject=16777216]="IncludesEmptyObject",e[e.IncludesInstantiable=33554432]="IncludesInstantiable",e[e.NotPrimitiveUnion=36323363]="NotPrimitiveUnion",e))(Ei||{}),Ti=(e=>(e[e.None=0]="None",e[e.Class=1]="Class",e[e.Interface=2]="Interface",e[e.Reference=4]="Reference",e[e.Tuple=8]="Tuple",e[e.Anonymous=16]="Anonymous",e[e.Mapped=32]="Mapped",e[e.Instantiated=64]="Instantiated",e[e.ObjectLiteral=128]="ObjectLiteral",e[e.EvolvingArray=256]="EvolvingArray",e[e.ObjectLiteralPatternWithComputedProperties=512]="ObjectLiteralPatternWithComputedProperties",e[e.ReverseMapped=1024]="ReverseMapped",e[e.JsxAttributes=2048]="JsxAttributes",e[e.JSLiteral=4096]="JSLiteral",e[e.FreshLiteral=8192]="FreshLiteral",e[e.ArrayLiteral=16384]="ArrayLiteral",e[e.PrimitiveUnion=32768]="PrimitiveUnion",e[e.ContainsWideningType=65536]="ContainsWideningType",e[e.ContainsObjectOrArrayLiteral=131072]="ContainsObjectOrArrayLiteral",e[e.NonInferrableType=262144]="NonInferrableType",e[e.CouldContainTypeVariablesComputed=524288]="CouldContainTypeVariablesComputed",e[e.CouldContainTypeVariables=1048576]="CouldContainTypeVariables",e[e.ClassOrInterface=3]="ClassOrInterface",e[e.RequiresWidening=196608]="RequiresWidening",e[e.PropagatingFlags=458752]="PropagatingFlags",e[e.ObjectTypeKindMask=1343]="ObjectTypeKindMask",e[e.ContainsSpread=2097152]="ContainsSpread",e[e.ObjectRestType=4194304]="ObjectRestType",e[e.InstantiationExpressionType=8388608]="InstantiationExpressionType",e[e.IsClassInstanceClone=16777216]="IsClassInstanceClone",e[e.IdenticalBaseTypeCalculated=33554432]="IdenticalBaseTypeCalculated",e[e.IdenticalBaseTypeExists=67108864]="IdenticalBaseTypeExists",e[e.IsGenericTypeComputed=2097152]="IsGenericTypeComputed",e[e.IsGenericObjectType=4194304]="IsGenericObjectType",e[e.IsGenericIndexType=8388608]="IsGenericIndexType",e[e.IsGenericType=12582912]="IsGenericType",e[e.ContainsIntersections=16777216]="ContainsIntersections",e[e.IsUnknownLikeUnionComputed=33554432]="IsUnknownLikeUnionComputed",e[e.IsUnknownLikeUnion=67108864]="IsUnknownLikeUnion",e[e.IsNeverIntersectionComputed=16777216]="IsNeverIntersectionComputed",e[e.IsNeverIntersection=33554432]="IsNeverIntersection",e))(Ti||{}),xi=(e=>(e[e.Invariant=0]="Invariant",e[e.Covariant=1]="Covariant",e[e.Contravariant=2]="Contravariant",e[e.Bivariant=3]="Bivariant",e[e.Independent=4]="Independent",e[e.VarianceMask=7]="VarianceMask",e[e.Unmeasurable=8]="Unmeasurable",e[e.Unreliable=16]="Unreliable",e[e.AllowsStructuralFallback=24]="AllowsStructuralFallback",e))(xi||{}),Si=(e=>(e[e.Required=1]="Required",e[e.Optional=2]="Optional",e[e.Rest=4]="Rest",e[e.Variadic=8]="Variadic",e[e.Fixed=3]="Fixed",e[e.Variable=12]="Variable",e[e.NonRequired=14]="NonRequired",e[e.NonRest=11]="NonRest",e))(Si||{}),Ai=(e=>(e[e.None=0]="None",e[e.IncludeUndefined=1]="IncludeUndefined",e[e.NoIndexSignatures=2]="NoIndexSignatures",e[e.Writing=4]="Writing",e[e.CacheSymbol=8]="CacheSymbol",e[e.NoTupleBoundsCheck=16]="NoTupleBoundsCheck",e[e.ExpressionPosition=32]="ExpressionPosition",e[e.ReportDeprecated=64]="ReportDeprecated",e[e.SuppressNoImplicitAnyError=128]="SuppressNoImplicitAnyError",e[e.Contextual=256]="Contextual",e[e.Persistent=1]="Persistent",e))(Ai||{}),Ci=(e=>(e[e.Component=0]="Component",e[e.Function=1]="Function",e[e.Mixed=2]="Mixed",e))(Ci||{}),ki=(e=>(e[e.Call=0]="Call",e[e.Construct=1]="Construct",e))(ki||{}),Ri=(e=>(e[e.None=0]="None",e[e.HasRestParameter=1]="HasRestParameter",e[e.HasLiteralTypes=2]="HasLiteralTypes",e[e.Abstract=4]="Abstract",e[e.IsInnerCallChain=8]="IsInnerCallChain",e[e.IsOuterCallChain=16]="IsOuterCallChain",e[e.IsUntypedSignatureInJSFile=32]="IsUntypedSignatureInJSFile",e[e.PropagatingFlags=39]="PropagatingFlags",e[e.CallChainFlags=24]="CallChainFlags",e))(Ri||{}),Ni=(e=>(e[e.String=0]="String",e[e.Number=1]="Number",e))(Ni||{}),Di=(e=>(e[e.Simple=0]="Simple",e[e.Array=1]="Array",e[e.Deferred=2]="Deferred",e[e.Function=3]="Function",e[e.Composite=4]="Composite",e[e.Merged=5]="Merged",e))(Di||{}),Oi=(e=>(e[e.None=0]="None",e[e.NakedTypeVariable=1]="NakedTypeVariable",e[e.SpeculativeTuple=2]="SpeculativeTuple",e[e.SubstituteSource=4]="SubstituteSource",e[e.HomomorphicMappedType=8]="HomomorphicMappedType",e[e.PartialHomomorphicMappedType=16]="PartialHomomorphicMappedType",e[e.MappedTypeConstraint=32]="MappedTypeConstraint",e[e.ContravariantConditional=64]="ContravariantConditional",e[e.ReturnType=128]="ReturnType",e[e.LiteralKeyof=256]="LiteralKeyof",e[e.NoConstraints=512]="NoConstraints",e[e.AlwaysStrict=1024]="AlwaysStrict",e[e.MaxValue=2048]="MaxValue",e[e.PriorityImpliesCombination=416]="PriorityImpliesCombination",e[e.Circularity=-1]="Circularity",e))(Oi||{}),Mi=(e=>(e[e.None=0]="None",e[e.NoDefault=1]="NoDefault",e[e.AnyDefault=2]="AnyDefault",e[e.SkippedGenericFunction=4]="SkippedGenericFunction",e))(Mi||{}),Pi=(e=>(e[e.False=0]="False",e[e.Unknown=1]="Unknown",e[e.Maybe=3]="Maybe",e[e.True=-1]="True",e))(Pi||{}),Fi=(e=>(e[e.None=0]="None",e[e.ExportsProperty=1]="ExportsProperty",e[e.ModuleExports=2]="ModuleExports",e[e.PrototypeProperty=3]="PrototypeProperty",e[e.ThisProperty=4]="ThisProperty",e[e.Property=5]="Property",e[e.Prototype=6]="Prototype",e[e.ObjectDefinePropertyValue=7]="ObjectDefinePropertyValue",e[e.ObjectDefinePropertyExports=8]="ObjectDefinePropertyExports",e[e.ObjectDefinePrototypeProperty=9]="ObjectDefinePrototypeProperty",e))(Fi||{}),Gi=(e=>(e[e.Warning=0]="Warning",e[e.Error=1]="Error",e[e.Suggestion=2]="Suggestion",e[e.Message=3]="Message",e))(Gi||{}),Bi=(e=>(e[e.Classic=1]="Classic",e[e.NodeJs=2]="NodeJs",e[e.Node10=2]="Node10",e[e.Node16=3]="Node16",e[e.NodeNext=99]="NodeNext",e[e.Bundler=100]="Bundler",e))(Bi||{}),Ui=(e=>(e[e.Legacy=1]="Legacy",e[e.Auto=2]="Auto",e[e.Force=3]="Force",e))(Ui||{}),Vi=(e=>(e[e.FixedPollingInterval=0]="FixedPollingInterval",e[e.PriorityPollingInterval=1]="PriorityPollingInterval",e[e.DynamicPriorityPolling=2]="DynamicPriorityPolling",e[e.FixedChunkSizePolling=3]="FixedChunkSizePolling",e[e.UseFsEvents=4]="UseFsEvents",e[e.UseFsEventsOnParentDirectory=5]="UseFsEventsOnParentDirectory",e))(Vi||{}),ji=(e=>(e[e.UseFsEvents=0]="UseFsEvents",e[e.FixedPollingInterval=1]="FixedPollingInterval",e[e.DynamicPriorityPolling=2]="DynamicPriorityPolling",e[e.FixedChunkSizePolling=3]="FixedChunkSizePolling",e))(ji||{}),Hi=(e=>(e[e.FixedInterval=0]="FixedInterval",e[e.PriorityInterval=1]="PriorityInterval",e[e.DynamicPriority=2]="DynamicPriority",e[e.FixedChunkSize=3]="FixedChunkSize",e))(Hi||{}),Ki=(e=>(e[e.None=0]="None",e[e.CommonJS=1]="CommonJS",e[e.AMD=2]="AMD",e[e.UMD=3]="UMD",e[e.System=4]="System",e[e.ES2015=5]="ES2015",e[e.ES2020=6]="ES2020",e[e.ES2022=7]="ES2022",e[e.ESNext=99]="ESNext",e[e.Node16=100]="Node16",e[e.NodeNext=199]="NodeNext",e))(Ki||{}),Wi=(e=>(e[e.None=0]="None",e[e.Preserve=1]="Preserve",e[e.React=2]="React",e[e.ReactNative=3]="ReactNative",e[e.ReactJSX=4]="ReactJSX",e[e.ReactJSXDev=5]="ReactJSXDev",e))(Wi||{}),qi=(e=>(e[e.Remove=0]="Remove",e[e.Preserve=1]="Preserve",e[e.Error=2]="Error",e))(qi||{}),zi=(e=>(e[e.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",e[e.LineFeed=1]="LineFeed",e))(zi||{}),Ji=(e=>(e[e.Unknown=0]="Unknown",e[e.JS=1]="JS",e[e.JSX=2]="JSX",e[e.TS=3]="TS",e[e.TSX=4]="TSX",e[e.External=5]="External",e[e.JSON=6]="JSON",e[e.Deferred=7]="Deferred",e))(Ji||{}),Xi=(e=>(e[e.ES3=0]="ES3",e[e.ES5=1]="ES5",e[e.ES2015=2]="ES2015",e[e.ES2016=3]="ES2016",e[e.ES2017=4]="ES2017",e[e.ES2018=5]="ES2018",e[e.ES2019=6]="ES2019",e[e.ES2020=7]="ES2020",e[e.ES2021=8]="ES2021",e[e.ES2022=9]="ES2022",e[e.ESNext=99]="ESNext",e[e.JSON=100]="JSON",e[e.Latest=99]="Latest",e))(Xi||{}),Yi=(e=>(e[e.Standard=0]="Standard",e[e.JSX=1]="JSX",e))(Yi||{}),$i=(e=>(e[e.None=0]="None",e[e.Recursive=1]="Recursive",e))($i||{}),Qi=(e=>(e[e.nullCharacter=0]="nullCharacter",e[e.maxAsciiCharacter=127]="maxAsciiCharacter",e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.lineSeparator=8232]="lineSeparator",e[e.paragraphSeparator=8233]="paragraphSeparator",e[e.nextLine=133]="nextLine",e[e.space=32]="space",e[e.nonBreakingSpace=160]="nonBreakingSpace",e[e.enQuad=8192]="enQuad",e[e.emQuad=8193]="emQuad",e[e.enSpace=8194]="enSpace",e[e.emSpace=8195]="emSpace",e[e.threePerEmSpace=8196]="threePerEmSpace",e[e.fourPerEmSpace=8197]="fourPerEmSpace",e[e.sixPerEmSpace=8198]="sixPerEmSpace",e[e.figureSpace=8199]="figureSpace",e[e.punctuationSpace=8200]="punctuationSpace",e[e.thinSpace=8201]="thinSpace",e[e.hairSpace=8202]="hairSpace",e[e.zeroWidthSpace=8203]="zeroWidthSpace",e[e.narrowNoBreakSpace=8239]="narrowNoBreakSpace",e[e.ideographicSpace=12288]="ideographicSpace",e[e.mathematicalSpace=8287]="mathematicalSpace",e[e.ogham=5760]="ogham",e[e._=95]="_",e[e.$=36]="$",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.ampersand=38]="ampersand",e[e.asterisk=42]="asterisk",e[e.at=64]="at",e[e.backslash=92]="backslash",e[e.backtick=96]="backtick",e[e.bar=124]="bar",e[e.caret=94]="caret",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.closeParen=41]="closeParen",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.equals=61]="equals",e[e.exclamation=33]="exclamation",e[e.greaterThan=62]="greaterThan",e[e.hash=35]="hash",e[e.lessThan=60]="lessThan",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.openParen=40]="openParen",e[e.percent=37]="percent",e[e.plus=43]="plus",e[e.question=63]="question",e[e.semicolon=59]="semicolon",e[e.singleQuote=39]="singleQuote",e[e.slash=47]="slash",e[e.tilde=126]="tilde",e[e.backspace=8]="backspace",e[e.formFeed=12]="formFeed",e[e.byteOrderMark=65279]="byteOrderMark",e[e.tab=9]="tab",e[e.verticalTab=11]="verticalTab",e))(Qi||{}),Zi=(e=>(e.Ts=".ts",e.Tsx=".tsx",e.Dts=".d.ts",e.Js=".js",e.Jsx=".jsx",e.Json=".json",e.TsBuildInfo=".tsbuildinfo",e.Mjs=".mjs",e.Mts=".mts",e.Dmts=".d.mts",e.Cjs=".cjs",e.Cts=".cts",e.Dcts=".d.cts",e))(Zi||{}),ea=(e=>(e[e.None=0]="None",e[e.ContainsTypeScript=1]="ContainsTypeScript",e[e.ContainsJsx=2]="ContainsJsx",e[e.ContainsESNext=4]="ContainsESNext",e[e.ContainsES2022=8]="ContainsES2022",e[e.ContainsES2021=16]="ContainsES2021",e[e.ContainsES2020=32]="ContainsES2020",e[e.ContainsES2019=64]="ContainsES2019",e[e.ContainsES2018=128]="ContainsES2018",e[e.ContainsES2017=256]="ContainsES2017",e[e.ContainsES2016=512]="ContainsES2016",e[e.ContainsES2015=1024]="ContainsES2015",e[e.ContainsGenerator=2048]="ContainsGenerator",e[e.ContainsDestructuringAssignment=4096]="ContainsDestructuringAssignment",e[e.ContainsTypeScriptClassSyntax=8192]="ContainsTypeScriptClassSyntax",e[e.ContainsLexicalThis=16384]="ContainsLexicalThis",e[e.ContainsRestOrSpread=32768]="ContainsRestOrSpread",e[e.ContainsObjectRestOrSpread=65536]="ContainsObjectRestOrSpread",e[e.ContainsComputedPropertyName=131072]="ContainsComputedPropertyName",e[e.ContainsBlockScopedBinding=262144]="ContainsBlockScopedBinding",e[e.ContainsBindingPattern=524288]="ContainsBindingPattern",e[e.ContainsYield=1048576]="ContainsYield",e[e.ContainsAwait=2097152]="ContainsAwait",e[e.ContainsHoistedDeclarationOrCompletion=4194304]="ContainsHoistedDeclarationOrCompletion",e[e.ContainsDynamicImport=8388608]="ContainsDynamicImport",e[e.ContainsClassFields=16777216]="ContainsClassFields",e[e.ContainsDecorators=33554432]="ContainsDecorators",e[e.ContainsPossibleTopLevelAwait=67108864]="ContainsPossibleTopLevelAwait",e[e.ContainsLexicalSuper=134217728]="ContainsLexicalSuper",e[e.ContainsUpdateExpressionForIdentifier=268435456]="ContainsUpdateExpressionForIdentifier",e[e.ContainsPrivateIdentifierInExpression=536870912]="ContainsPrivateIdentifierInExpression",e[e.HasComputedFlags=-2147483648]="HasComputedFlags",e[e.AssertTypeScript=1]="AssertTypeScript",e[e.AssertJsx=2]="AssertJsx",e[e.AssertESNext=4]="AssertESNext",e[e.AssertES2022=8]="AssertES2022",e[e.AssertES2021=16]="AssertES2021",e[e.AssertES2020=32]="AssertES2020",e[e.AssertES2019=64]="AssertES2019",e[e.AssertES2018=128]="AssertES2018",e[e.AssertES2017=256]="AssertES2017",e[e.AssertES2016=512]="AssertES2016",e[e.AssertES2015=1024]="AssertES2015",e[e.AssertGenerator=2048]="AssertGenerator",e[e.AssertDestructuringAssignment=4096]="AssertDestructuringAssignment",e[e.OuterExpressionExcludes=-2147483648]="OuterExpressionExcludes",e[e.PropertyAccessExcludes=-2147483648]="PropertyAccessExcludes",e[e.NodeExcludes=-2147483648]="NodeExcludes",e[e.ArrowFunctionExcludes=-2072174592]="ArrowFunctionExcludes",e[e.FunctionExcludes=-1937940480]="FunctionExcludes",e[e.ConstructorExcludes=-1937948672]="ConstructorExcludes",e[e.MethodOrAccessorExcludes=-2005057536]="MethodOrAccessorExcludes",e[e.PropertyExcludes=-2013249536]="PropertyExcludes",e[e.ClassExcludes=-2147344384]="ClassExcludes",e[e.ModuleExcludes=-1941676032]="ModuleExcludes",e[e.TypeExcludes=-2]="TypeExcludes",e[e.ObjectLiteralExcludes=-2147278848]="ObjectLiteralExcludes",e[e.ArrayLiteralOrCallOrNewExcludes=-2147450880]="ArrayLiteralOrCallOrNewExcludes",e[e.VariableDeclarationListExcludes=-2146893824]="VariableDeclarationListExcludes",e[e.ParameterExcludes=-2147483648]="ParameterExcludes",e[e.CatchClauseExcludes=-2147418112]="CatchClauseExcludes",e[e.BindingPatternExcludes=-2147450880]="BindingPatternExcludes",e[e.ContainsLexicalThisOrSuper=134234112]="ContainsLexicalThisOrSuper",e[e.PropertyNamePropagatingFlags=134234112]="PropertyNamePropagatingFlags",e))(ea||{}),na=(e=>(e[e.TabStop=0]="TabStop",e[e.Placeholder=1]="Placeholder",e[e.Choice=2]="Choice",e[e.Variable=3]="Variable",e))(na||{}),ta=(e=>(e[e.None=0]="None",e[e.SingleLine=1]="SingleLine",e[e.MultiLine=2]="MultiLine",e[e.AdviseOnEmitNode=4]="AdviseOnEmitNode",e[e.NoSubstitution=8]="NoSubstitution",e[e.CapturesThis=16]="CapturesThis",e[e.NoLeadingSourceMap=32]="NoLeadingSourceMap",e[e.NoTrailingSourceMap=64]="NoTrailingSourceMap",e[e.NoSourceMap=96]="NoSourceMap",e[e.NoNestedSourceMaps=128]="NoNestedSourceMaps",e[e.NoTokenLeadingSourceMaps=256]="NoTokenLeadingSourceMaps",e[e.NoTokenTrailingSourceMaps=512]="NoTokenTrailingSourceMaps",e[e.NoTokenSourceMaps=768]="NoTokenSourceMaps",e[e.NoLeadingComments=1024]="NoLeadingComments",e[e.NoTrailingComments=2048]="NoTrailingComments",e[e.NoComments=3072]="NoComments",e[e.NoNestedComments=4096]="NoNestedComments",e[e.HelperName=8192]="HelperName",e[e.ExportName=16384]="ExportName",e[e.LocalName=32768]="LocalName",e[e.InternalName=65536]="InternalName",e[e.Indented=131072]="Indented",e[e.NoIndentation=262144]="NoIndentation",e[e.AsyncFunctionBody=524288]="AsyncFunctionBody",e[e.ReuseTempVariableScope=1048576]="ReuseTempVariableScope",e[e.CustomPrologue=2097152]="CustomPrologue",e[e.NoHoisting=4194304]="NoHoisting",e[e.HasEndOfDeclarationMarker=8388608]="HasEndOfDeclarationMarker",e[e.Iterator=16777216]="Iterator",e[e.NoAsciiEscaping=33554432]="NoAsciiEscaping",e))(ta||{}),ra=(e=>(e[e.None=0]="None",e[e.TypeScriptClassWrapper=1]="TypeScriptClassWrapper",e[e.NeverApplyImportHelper=2]="NeverApplyImportHelper",e[e.IgnoreSourceNewlines=4]="IgnoreSourceNewlines",e[e.Immutable=8]="Immutable",e[e.IndirectCall=16]="IndirectCall",e[e.TransformPrivateStaticElements=32]="TransformPrivateStaticElements",e))(ra||{}),ia=(e=>(e[e.Extends=1]="Extends",e[e.Assign=2]="Assign",e[e.Rest=4]="Rest",e[e.Decorate=8]="Decorate",e[e.ESDecorateAndRunInitializers=8]="ESDecorateAndRunInitializers",e[e.Metadata=16]="Metadata",e[e.Param=32]="Param",e[e.Awaiter=64]="Awaiter",e[e.Generator=128]="Generator",e[e.Values=256]="Values",e[e.Read=512]="Read",e[e.SpreadArray=1024]="SpreadArray",e[e.Await=2048]="Await",e[e.AsyncGenerator=4096]="AsyncGenerator",e[e.AsyncDelegator=8192]="AsyncDelegator",e[e.AsyncValues=16384]="AsyncValues",e[e.ExportStar=32768]="ExportStar",e[e.ImportStar=65536]="ImportStar",e[e.ImportDefault=131072]="ImportDefault",e[e.MakeTemplateObject=262144]="MakeTemplateObject",e[e.ClassPrivateFieldGet=524288]="ClassPrivateFieldGet",e[e.ClassPrivateFieldSet=1048576]="ClassPrivateFieldSet",e[e.ClassPrivateFieldIn=2097152]="ClassPrivateFieldIn",e[e.CreateBinding=4194304]="CreateBinding",e[e.SetFunctionName=8388608]="SetFunctionName",e[e.PropKey=16777216]="PropKey",e[e.FirstEmitHelper=1]="FirstEmitHelper",e[e.LastEmitHelper=16777216]="LastEmitHelper",e[e.ForOfIncludes=256]="ForOfIncludes",e[e.ForAwaitOfIncludes=16384]="ForAwaitOfIncludes",e[e.AsyncGeneratorIncludes=6144]="AsyncGeneratorIncludes",e[e.AsyncDelegatorIncludes=26624]="AsyncDelegatorIncludes",e[e.SpreadIncludes=1536]="SpreadIncludes",e))(ia||{}),aa=(e=>(e[e.SourceFile=0]="SourceFile",e[e.Expression=1]="Expression",e[e.IdentifierName=2]="IdentifierName",e[e.MappedTypeParameter=3]="MappedTypeParameter",e[e.Unspecified=4]="Unspecified",e[e.EmbeddedStatement=5]="EmbeddedStatement",e[e.JsxAttributeValue=6]="JsxAttributeValue",e))(aa||{}),oa=(e=>(e[e.Parentheses=1]="Parentheses",e[e.TypeAssertions=2]="TypeAssertions",e[e.NonNullAssertions=4]="NonNullAssertions",e[e.PartiallyEmittedExpressions=8]="PartiallyEmittedExpressions",e[e.Assertions=6]="Assertions",e[e.All=15]="All",e[e.ExcludeJSDocTypeAssertion=16]="ExcludeJSDocTypeAssertion",e))(oa||{}),sa=(e=>(e[e.None=0]="None",e[e.InParameters=1]="InParameters",e[e.VariablesHoistedInParameters=2]="VariablesHoistedInParameters",e))(sa||{}),ca=(e=>(e.Prologue="prologue",e.EmitHelpers="emitHelpers",e.NoDefaultLib="no-default-lib",e.Reference="reference",e.Type="type",e.TypeResolutionModeRequire="type-require",e.TypeResolutionModeImport="type-import",e.Lib="lib",e.Prepend="prepend",e.Text="text",e.Internal="internal",e))(ca||{}),la=(e=>(e[e.None=0]="None",e[e.SingleLine=0]="SingleLine",e[e.MultiLine=1]="MultiLine",e[e.PreserveLines=2]="PreserveLines",e[e.LinesMask=3]="LinesMask",e[e.NotDelimited=0]="NotDelimited",e[e.BarDelimited=4]="BarDelimited",e[e.AmpersandDelimited=8]="AmpersandDelimited",e[e.CommaDelimited=16]="CommaDelimited",e[e.AsteriskDelimited=32]="AsteriskDelimited",e[e.DelimitersMask=60]="DelimitersMask",e[e.AllowTrailingComma=64]="AllowTrailingComma",e[e.Indented=128]="Indented",e[e.SpaceBetweenBraces=256]="SpaceBetweenBraces",e[e.SpaceBetweenSiblings=512]="SpaceBetweenSiblings",e[e.Braces=1024]="Braces",e[e.Parenthesis=2048]="Parenthesis",e[e.AngleBrackets=4096]="AngleBrackets",e[e.SquareBrackets=8192]="SquareBrackets",e[e.BracketsMask=15360]="BracketsMask",e[e.OptionalIfUndefined=16384]="OptionalIfUndefined",e[e.OptionalIfEmpty=32768]="OptionalIfEmpty",e[e.Optional=49152]="Optional",e[e.PreferNewLine=65536]="PreferNewLine",e[e.NoTrailingNewLine=131072]="NoTrailingNewLine",e[e.NoInterveningComments=262144]="NoInterveningComments",e[e.NoSpaceIfEmpty=524288]="NoSpaceIfEmpty",e[e.SingleElement=1048576]="SingleElement",e[e.SpaceAfterList=2097152]="SpaceAfterList",e[e.Modifiers=2359808]="Modifiers",e[e.HeritageClauses=512]="HeritageClauses",e[e.SingleLineTypeLiteralMembers=768]="SingleLineTypeLiteralMembers",e[e.MultiLineTypeLiteralMembers=32897]="MultiLineTypeLiteralMembers",e[e.SingleLineTupleTypeElements=528]="SingleLineTupleTypeElements",e[e.MultiLineTupleTypeElements=657]="MultiLineTupleTypeElements",e[e.UnionTypeConstituents=516]="UnionTypeConstituents",e[e.IntersectionTypeConstituents=520]="IntersectionTypeConstituents",e[e.ObjectBindingPatternElements=525136]="ObjectBindingPatternElements",e[e.ArrayBindingPatternElements=524880]="ArrayBindingPatternElements",e[e.ObjectLiteralExpressionProperties=526226]="ObjectLiteralExpressionProperties",e[e.ImportClauseEntries=526226]="ImportClauseEntries",e[e.ArrayLiteralExpressionElements=8914]="ArrayLiteralExpressionElements",e[e.CommaListElements=528]="CommaListElements",e[e.CallExpressionArguments=2576]="CallExpressionArguments",e[e.NewExpressionArguments=18960]="NewExpressionArguments",e[e.TemplateExpressionSpans=262144]="TemplateExpressionSpans",e[e.SingleLineBlockStatements=768]="SingleLineBlockStatements",e[e.MultiLineBlockStatements=129]="MultiLineBlockStatements",e[e.VariableDeclarationList=528]="VariableDeclarationList",e[e.SingleLineFunctionBodyStatements=768]="SingleLineFunctionBodyStatements",e[e.MultiLineFunctionBodyStatements=1]="MultiLineFunctionBodyStatements",e[e.ClassHeritageClauses=0]="ClassHeritageClauses",e[e.ClassMembers=129]="ClassMembers",e[e.InterfaceMembers=129]="InterfaceMembers",e[e.EnumMembers=145]="EnumMembers",e[e.CaseBlockClauses=129]="CaseBlockClauses",e[e.NamedImportsOrExportsElements=525136]="NamedImportsOrExportsElements",e[e.JsxElementOrFragmentChildren=262144]="JsxElementOrFragmentChildren",e[e.JsxElementAttributes=262656]="JsxElementAttributes",e[e.CaseOrDefaultClauseStatements=163969]="CaseOrDefaultClauseStatements",e[e.HeritageClauseTypes=528]="HeritageClauseTypes",e[e.SourceFileStatements=131073]="SourceFileStatements",e[e.Decorators=2146305]="Decorators",e[e.TypeArguments=53776]="TypeArguments",e[e.TypeParameters=53776]="TypeParameters",e[e.Parameters=2576]="Parameters",e[e.IndexSignatureParameters=8848]="IndexSignatureParameters",e[e.JSDocComment=33]="JSDocComment",e))(la||{}),da=(e=>(e[e.None=0]="None",e[e.TripleSlashXML=1]="TripleSlashXML",e[e.SingleLine=2]="SingleLine",e[e.MultiLine=4]="MultiLine",e[e.All=7]="All",e[e.Default=7]="Default",e))(da||{}),ua={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},{name:"resolution-mode",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}}}});function La(e){let n=5381;for(let t=0;t<e.length;t++)n=(n<<5)+n+e.charCodeAt(t);return n.toString()}function Ca(){Error.stackTraceLimit<100&&(Error.stackTraceLimit=100)}function ka(e,n){return e.getModifiedTime(n)||ga}function Ia(e){return{250:e.Low,500:e.Medium,2e3:e.High}}function wa(e,n,t,r,i){let a=t;for(let o=n.length;r&&o;++t===n.length&&(a<t&&(n.length=a),t=0,a=0),o--){const o=n[t];if(!o)continue;if(o.isClosed){n[t]=void 0;continue}r--;const s=Na(o,ka(e,o.fileName));o.isClosed?n[t]=void 0:(null==i||i(o,t,s),n[t]&&(a<t&&(n[a]=o,n[t]=void 0),a++))}return t}function Ra(e,n,t,r,i){const a=lt(n)(t),o=e.get(a);return o?o.callbacks.push(r):e.set(a,{watcher:i(((n,t,r)=>{var i;return null==(i=e.get(a))?void 0:i.callbacks.slice().forEach((e=>e(n,t,r)))})),callbacks:[r]}),{close:()=>{const n=e.get(a);n&&at(n.callbacks,r)&&!n.callbacks.length&&(e.delete(a),Pj(n))}}}function Na(e,n){const t=e.mtime.getTime(),r=n.getTime();return t!==r&&(e.mtime=n,e.callback(e.fileName,Da(t,r),n),!0)}function Da(e,n){return 0===e?0:0===n?2:1}function Oa(e){return Ta(e)}function Ma(e){Ta=e}function Pa({watchDirectory:e,useCaseSensitiveFileNames:n,getCurrentDirectory:t,getAccessibleSortedChildDirectories:r,fileSystemEntryExists:a,realpath:o,setTimeout:s,clearTimeout:c}){const l=new Map,d=un(),u=new Map;let _;const p=qn(!n),f=lt(n);return(n,t,r,i)=>r?m(n,i,t):e(n,t,r,i);function m(n,t,r){const o=f(n);let p=l.get(o);p?p.refCount++:(p={watcher:e(n,(e=>{b(e,t)||((null==t?void 0:t.synchronousWatchDirectory)?(h(o,e),v(n,o,t)):function(e,n,t,r){const i=l.get(n);i&&a(e,1)?function(e,n,t,r){const i=u.get(n);i?i.fileNames.push(t):u.set(n,{dirName:e,options:r,fileNames:[t]}),_&&(c(_),_=void 0),_=s(g,1e3)}(e,n,t,r):(h(n,t),y(i))}(n,o,e,t))}),!1,t),refCount:1,childWatches:i},l.set(o,p),v(n,o,t));const m=r&&{dirName:n,callback:r};return m&&d.add(o,m),{dirName:n,close:()=>{const e=Nt.checkDefined(l.get(o));m&&d.remove(o,m),e.refCount--,e.refCount||(l.delete(o),Pj(e),e.childWatches.forEach(NE))}}}function h(e,n,t){let r,i;vn(n)?r=n:i=n,d.forEach(((n,a)=>{if((!i||!0!==i.get(a))&&(a===e||pt(e,a)&&e[a.length]===ja))if(i)if(t){const e=i.get(a);e?e.push(...t):i.set(a,t.slice())}else i.set(a,!0);else n.forEach((({callback:e})=>e(r)))}))}function g(){_=void 0,Oa(`sysLog:: onTimerToUpdateChildWatches:: ${u.size}`);const e=cr(),n=new Map;for(;!_&&u.size;){const e=u.entries().next();Nt.assert(!e.done);const{value:[t,{dirName:r,options:i,fileNames:a}]}=e;u.delete(t);const o=v(r,t,i);h(t,n,o?void 0:a)}Oa(`sysLog:: invokingWatchers:: Elapsed:: ${cr()-e}ms:: ${u.size}`),d.forEach(((e,t)=>{const r=n.get(t);r&&e.forEach((({callback:e,dirName:n})=>{gn(r)?r.forEach(e):e(n)}))})),Oa(`sysLog:: Elapsed:: ${cr()-e}ms:: onTimerToUpdateChildWatches:: ${u.size} ${_}`)}function y(e){if(!e)return;const n=e.childWatches;e.childWatches=i;for(const e of n)e.close(),y(l.get(f(e.dirName)))}function v(e,n,t){const s=l.get(n);if(!s)return!1;let c;const d=Tt(a(e,1)?ee(r(e),(n=>{const r=bo(n,e);return b(r,t)||0!==p(r,Eo(o(r)))?void 0:r})):i,s.childWatches,((e,n)=>p(e,n.dirName)),(function(e){u(m(e,t))}),NE,u);return s.childWatches=c||i,d;function u(e){(c||(c=[])).push(e)}}function b(e,r){return ce(Ea,(t=>function(e,t){return!!rt(e,t)||!n&&rt(f(e),t)}(e,t)))||Fa(e,r,n,t)}}function Fa(e,n,t,r){return((null==n?void 0:n.excludeDirectories)||(null==n?void 0:n.excludeFiles))&&(HM(e,null==n?void 0:n.excludeFiles,t,r())||HM(e,null==n?void 0:n.excludeDirectories,t,r()))}function Ga(e,n,t,r,i){return(a,o)=>{if("rename"===a){const a=o?Eo(go(e,o)):e;o&&Fa(a,t,r,i)||n(a)}}}function Ba({pollingWatchFileWorker:e,getModifiedTime:n,setTimeout:t,clearTimeout:r,fsWatchWorker:i,fileSystemEntryExists:a,useCaseSensitiveFileNames:o,getCurrentDirectory:s,fsSupportsRecursiveFsWatch:c,getAccessibleSortedChildDirectories:l,realpath:d,tscWatchFile:u,useNonPollingWatchers:_,tscWatchDirectory:p,inodeWatching:f,sysLog:m}){const h=new Map,g=new Map,y=new Map;let v,b,E,T,x=!1;return{watchFile:S,watchDirectory:function(e,n,i,u){return c?w(e,1,Ga(e,n,u,o,s),i,500,Mj(u)):(T||(T=Pa({useCaseSensitiveFileNames:o,getCurrentDirectory:s,fileSystemEntryExists:a,getAccessibleSortedChildDirectories:l,watchDirectory:k,realpath:d,setTimeout:t,clearTimeout:r})),T(e,n,i,u))}};function S(e,t,r,i){i=function(e,n){if(e&&void 0!==e.watchFile)return e;switch(u){case"PriorityPollingInterval":return{watchFile:1};case"DynamicPriorityPolling":return{watchFile:2};case"UseFsEvents":return C(4,1,e);case"UseFsEventsWithFallbackDynamicPolling":return C(4,2,e);case"UseFsEventsOnParentDirectory":n=!0;default:return n?C(5,1,e):{watchFile:4}}}(i,_);const a=Nt.checkDefined(i.watchFile);switch(a){case 0:return I(e,t,250,void 0);case 1:return I(e,t,r,void 0);case 2:return A()(e,t,r,void 0);case 3:return L()(e,t,void 0,void 0);case 4:return w(e,0,function(e,n,t){return(r,i,a)=>{"rename"===r?(a||(a=t(e)||ga),n(e,a!==ga?0:2,a)):n(e,1,a)}}(e,t,n),!1,r,Mj(i));case 5:return E||(E=function(e,n){const t=un(),r=new Map,i=lt(n);return function(n,a,o,s){const c=i(n);t.add(c,a);const l=co(c)||".",d=r.get(l)||function(n,a,o){const s=e(n,1,((e,r,a)=>{if(!vn(r))return;const o=bo(r,n),s=o&&t.get(i(o));if(s)for(const e of s)e(o,1,a)}),!1,500,o);return s.referenceCount=0,r.set(a,s),s}(co(n)||".",l,s);return d.referenceCount++,{close:()=>{1===d.referenceCount?(d.close(),r.delete(l)):d.referenceCount--,t.remove(c,a)}}}}(w,o)),E(e,t,r,Mj(i));default:Nt.assertNever(a)}}function A(){return v||(v=function(e){const n=[],t=[],r=o(250),i=o(500),a=o(2e3);return function(t,r,i){const a={fileName:t,callback:r,unchangedPolls:0,mtime:ka(e,t)};return n.push(a),u(a,i),{close:()=>{a.isClosed=!0,ct(n,a)}}};function o(e){const n=[];return n.pollingInterval=e,n.pollIndex=0,n.pollScheduled=!1,n}function s(e){e.pollIndex=l(e,e.pollingInterval,e.pollIndex,va[e.pollingInterval]),e.length?p(e.pollingInterval):(Nt.assert(0===e.pollIndex),e.pollScheduled=!1)}function c(e){l(t,250,0,t.length),s(e),!e.pollScheduled&&t.length&&p(250)}function l(n,r,i,a){return wa(e,n,i,a,(function(e,i,a){var o;a?(e.unchangedPolls=0,n!==t&&(n[i]=void 0,o=e,t.push(o),_(250))):e.unchangedPolls!==ba[r]?e.unchangedPolls++:n===t?(e.unchangedPolls=1,n[i]=void 0,u(e,250)):2e3!==r&&(e.unchangedPolls++,n[i]=void 0,u(e,250===r?500:2e3))}))}function d(e){switch(e){case 250:return r;case 500:return i;case 2e3:return a}}function u(e,n){d(n).push(e),_(n)}function _(e){d(e).pollScheduled||p(e)}function p(n){d(n).pollScheduled=e.setTimeout(250===n?c:s,n,d(n))}}({getModifiedTime:n,setTimeout:t}))}function L(){return b||(b=function(e){const n=[];let t,r=0;return function(t,r){const i={fileName:t,callback:r,mtime:ka(e,t)};return n.push(i),a(),{close:()=>{i.isClosed=!0,ct(n,i)}}};function i(){t=void 0,r=wa(e,n,r,va[250]),a()}function a(){n.length&&!t&&(t=e.setTimeout(i,2e3))}}({getModifiedTime:n,setTimeout:t}))}function C(e,n,t){const r=null==t?void 0:t.fallbackPolling;return{watchFile:e,fallbackPolling:void 0===r?n:r}}function k(e,n,t,r){Nt.assert(!t);const i=function(e){if(e&&void 0!==e.watchDirectory)return e;switch(p){case"RecursiveDirectoryUsingFsWatchFile":return{watchDirectory:1};case"RecursiveDirectoryUsingDynamicPriorityPolling":return{watchDirectory:2};default:const n=null==e?void 0:e.fallbackPolling;return{watchDirectory:0,fallbackPolling:void 0!==n?n:void 0}}}(r),a=Nt.checkDefined(i.watchDirectory);switch(a){case 1:return I(e,(()=>n(e)),500,void 0);case 2:return A()(e,(()=>n(e)),500,void 0);case 3:return L()(e,(()=>n(e)),void 0,void 0);case 0:return w(e,1,Ga(e,n,r,o,s),t,500,Mj(i));default:Nt.assertNever(a)}}function I(n,t,r,i){return Ra(h,o,n,t,(t=>e(n,t,r,i)))}function w(e,t,r,s,c,l){return Ra(s?y:g,o,e,r,(r=>function(e,t,r,o,s,c){let l,d;f&&(l=e.substring(e.lastIndexOf(ja)),d=l.slice(ja.length));let u=a(e,t)?p():y();return{close:()=>{u&&(u.close(),u=void 0)}};function _(n){u&&(m(`sysLog:: ${e}:: Changing watcher to ${n===p?"Present":"Missing"}FileSystemEntryWatcher`),u.close(),u=n())}function p(){if(x)return m(`sysLog:: ${e}:: Defaulting to watchFile`),g();try{const n=i(e,o,f?h:r);return n.on("error",(()=>{r("rename",""),_(y)})),n}catch(n){return x||(x="ENOSPC"===n.code),m(`sysLog:: ${e}:: Changing to watchFile`),g()}}function h(t,i){let a;if(i&&et(i,"~")&&(a=i,i=i.slice(0,i.length-1)),"rename"!==t||i&&i!==d&&!et(i,l))a&&r(t,a),r(t,i);else{const o=n(e)||ga;a&&r(t,a,o),r(t,i,o),f?_(o===ga?y:p):o===ga&&_(y)}}function g(){return S(e,function(e){return(n,t,r)=>e(1===t?"change":"rename","",r)}(r),s,c)}function y(){return S(e,((t,i,a)=>{0===i&&(a||(a=n(e)||ga),a!==ga&&(r("rename","",a),_(p)))}),s,c)}}(e,t,r,s,c,l)))}}function Ua(e){const n=e.writeFile;e.writeFile=(t,r,i)=>Pv(t,r,!!i,((t,r,i)=>n.call(e,t,r,i)),(n=>e.createDirectory(n)),(n=>e.directoryExists(n)))}function Va(e){Sa=e}var ja,Ha,Ka,Wa,qa,za=E({"src/compiler/sys.ts"(){Qq(),ma=(e=>(e[e.Created=0]="Created",e[e.Changed=1]="Changed",e[e.Deleted=2]="Deleted",e))(ma||{}),ha=(e=>(e[e.High=2e3]="High",e[e.Medium=500]="Medium",e[e.Low=250]="Low",e))(ha||{}),ga=new Date(0),va=Ia(ya={Low:32,Medium:64,High:256}),ba=Ia(ya),Ea=["/node_modules/.","/.git","/.#"],Ta=xn,xa=(e=>(e[e.File=0]="File",e[e.Directory=1]="Directory",e))(xa||{}),Sa=(()=>{let n;return wt()&&(n=function(){const n=/^native |^\([^)]+\)$|^(internal[\\/]|[a-zA-Z0-9_\s]+(\.js)?$)/,t=Ii("fs"),r=Ii("path"),i=Ii("os");let a,o;try{a=Ii("crypto")}catch(e){a=void 0}let s="./profile.cpuprofile";const c=Ii("buffer").Buffer,l="linux"===process.platform||"darwin"===process.platform,d=i.platform(),u="win32"!==d&&"win64"!==d&&!A((v=Li,v.replace(/\w/g,(e=>{const n=e.toUpperCase();return e===n?e.toLowerCase():n})))),_=t.realpathSync.native?"win32"===process.platform?function(e){return e.length<260?t.realpathSync.native(e):t.realpathSync(e)}:t.realpathSync.native:t.realpathSync,p=Li.endsWith("sys.js")?r.join(r.dirname("/"),"__fake__.js"):Li,f="win32"===process.platform||"darwin"===process.platform,m=Rn((()=>process.cwd())),{watchFile:h,watchDirectory:g}=Ba({pollingWatchFileWorker:function(e,n,r){let i;return t.watchFile(e,{persistent:!0,interval:r},a),{close:()=>t.unwatchFile(e,a)};function a(t,r){const a=0==+r.mtime||2===i;if(0==+t.mtime){if(a)return;i=2}else if(a)i=0;else{if(+t.mtime==+r.mtime)return;i=1}n(e,i,t.mtime)}},getModifiedTime:C,setTimeout,clearTimeout,fsWatchWorker:function(e,n,r){return t.watch(e,f?{persistent:!0,recursive:!!n}:{persistent:!0},r)},useCaseSensitiveFileNames:u,getCurrentDirectory:m,fileSystemEntryExists:S,fsSupportsRecursiveFsWatch:f,getAccessibleSortedChildDirectories:e=>x(e).directories,realpath:L,tscWatchFile:process.env.TSC_WATCHFILE,useNonPollingWatchers:process.env.TSC_NONPOLLING_WATCHER,tscWatchDirectory:process.env.TSC_WATCHDIRECTORY,inodeWatching:l,sysLog:Oa}),y={args:process.argv.slice(2),newLine:i.EOL,useCaseSensitiveFileNames:u,write(e){process.stdout.write(e)},getWidthOfTerminal:()=>process.stdout.columns,writeOutputIsTTY:()=>process.stdout.isTTY,readFile:function(e,n){mr.logStartReadFile(e);const r=function(e,n){let r;try{r=t.readFileSync(e)}catch(e){return}let i=r.length;if(i>=2&&254===r[0]&&255===r[1]){i&=-2;for(let e=0;e<i;e+=2){const n=r[e];r[e]=r[e+1],r[e+1]=n}return r.toString("utf16le",2)}return i>=2&&255===r[0]&&254===r[1]?r.toString("utf16le",2):i>=3&&239===r[0]&&187===r[1]&&191===r[2]?r.toString("utf8",3):r.toString("utf8")}(e);return mr.logStopReadFile(),r},writeFile:function(e,n,r){let i;mr.logEvent("WriteFile: "+e),r&&(n="\ufeff"+n);try{i=t.openSync(e,"w"),t.writeSync(i,n,void 0,"utf8")}finally{void 0!==i&&t.closeSync(i)}},watchFile:h,watchDirectory:g,resolvePath:e=>r.resolve(e),fileExists:A,directoryExists:function(e){return S(e,1)},createDirectory(e){if(!y.directoryExists(e))try{t.mkdirSync(e)}catch(e){if("EEXIST"!==e.code)throw e}},getExecutingFilePath:()=>p,getCurrentDirectory:m,getDirectories:function(e){return x(e).directories.slice()},getEnvironmentVariable:e=>process.env[e]||"",readDirectory:function(e,n,t,r,i){return Ix(e,n,t,r,u,process.cwd(),i,x,L)},getModifiedTime:C,setModifiedTime:function(e,n){try{t.utimesSync(e,n,n)}catch(e){return}},deleteFile:function(e){try{return t.unlinkSync(e)}catch(e){return}},createHash:a?k:La,createSHA256Hash:a?k:void 0,getMemoryUsage:()=>(e.g.gc&&e.g.gc(),process.memoryUsage().heapUsed),getFileSize(e){try{const n=b(e);if(null==n?void 0:n.isFile())return n.size}catch(e){}return 0},exit(e){E((()=>process.exit(e)))},enableCPUProfiler:function(e,n){if(o)return n(),!1;const t=Ii("inspector");if(!t||!t.Session)return n(),!1;const r=new t.Session;return r.connect(),r.post("Profiler.enable",(()=>{r.post("Profiler.start",(()=>{o=r,s=e,n()}))})),!0},disableCPUProfiler:E,cpuProfilingEnabled:()=>!!o||G(process.execArgv,"--cpu-prof")||G(process.execArgv,"--prof"),realpath:L,debugMode:!!process.env.NODE_INSPECTOR_IPC||!!process.env.VSCODE_INSPECTOR_OPTIONS||ce(process.execArgv,(e=>/^--(inspect|debug)(-brk)?(=\d+)?$/i.test(e))),tryEnableSourceMapsForHost(){try{Ii("source-map-support").install()}catch(e){}},setTimeout,clearTimeout,clearScreen:()=>{process.stdout.write("c")},setBlocking:()=>{process.stdout&&process.stdout._handle&&process.stdout._handle.setBlocking&&process.stdout._handle.setBlocking(!0)},bufferFrom:T,base64decode:e=>T(e,"base64").toString("utf8"),base64encode:e=>T(e).toString("base64"),require:(e,n)=>{try{const t=jP(n,e,y);return{module:Ii(t),modulePath:t,error:void 0}}catch(e){return{module:void 0,modulePath:void 0,error:e}}}};var v;return y;function b(e){return t.statSync(e,{throwIfNoEntry:!1})}function E(e){if(o&&"stopping"!==o){const i=o;return o.post("Profiler.stop",((a,{profile:c})=>{var l;if(!a){try{(null==(l=b(s))?void 0:l.isDirectory())&&(s=r.join(s,`${(new Date).toISOString().replace(/:/g,"-")}+P${process.pid}.cpuprofile`))}catch(e){}try{t.mkdirSync(r.dirname(s),{recursive:!0})}catch(e){}t.writeFileSync(s,JSON.stringify(function(e){let t=0;const i=new Map,a=mo(r.dirname(p)),o=`file://${1===so(a)?"":"/"}${a}`;for(const r of e.nodes)if(r.callFrame.url){const e=mo(r.callFrame.url);No(o,e,u)?r.callFrame.url=Go(o,e,o,lt(u),!0):n.test(e)||(r.callFrame.url=(i.has(e)?i:i.set(e,`external${t}.js`)).get(e),t++)}return e}(c)))}o=void 0,i.disconnect(),e()})),o="stopping",!0}return e(),!1}function T(e,n){return c.from&&c.from!==Int8Array.from?c.from(e,n):new c(e,n)}function x(e){mr.logEvent("ReadDir: "+(e||"."));try{const n=t.readdirSync(e||".",{withFileTypes:!0}),r=[],i=[];for(const t of n){const n="string"==typeof t?t:t.name;if("."===n||".."===n)continue;let a;if("string"==typeof t||t.isSymbolicLink()){const t=go(e,n);try{if(a=b(t),!a)continue}catch(e){continue}}else a=t;a.isFile()?r.push(n):a.isDirectory()&&i.push(n)}return r.sort(),i.sort(),{files:r,directories:i}}catch(e){return tp}}function S(e,n){const t=Error.stackTraceLimit;Error.stackTraceLimit=0;try{const t=b(e);if(!t)return!1;switch(n){case 0:return t.isFile();case 1:return t.isDirectory();default:return!1}}catch(e){return!1}finally{Error.stackTraceLimit=t}}function A(e){return S(e,0)}function L(e){try{return _(e)}catch(n){return e}}function C(e){var n;const t=Error.stackTraceLimit;Error.stackTraceLimit=0;try{return null==(n=b(e))?void 0:n.mtime}catch(e){return}finally{Error.stackTraceLimit=t}}function k(e){const n=a.createHash("sha256");return n.update(e),n.digest("hex")}}()),n&&Ua(n),n})(),Sa&&Sa.getEnvironmentVariable&&(function(e){if(!e.getEnvironmentVariable)return;const n=function(e,n){const r=t("TSC_WATCH_POLLINGINTERVAL");return!!r&&(i("Low"),i("Medium"),i("High"),!0);function i(e){n[e]=r[e]||n[e]}}(0,ha);function t(n){let t;return r("Low"),r("Medium"),r("High"),t;function r(r){const i=function(n,t){return e.getEnvironmentVariable(`${n}_${t.toUpperCase()}`)}(n,r);i&&((t||(t={}))[r]=Number(i))}}function r(e,r){const i=t(e);return(n||i)&&Ia(i?{...r,...i}:r)}va=r("TSC_WATCH_POLLINGCHUNKSIZE",ya)||va,ba=r("TSC_WATCH_UNCHANGEDPOLLTHRESHOLDS",ya)||ba}(Sa),Nt.setAssertionLevel(/^development$/i.test(Sa.getEnvironmentVariable("NODE_ENV"))?1:0)),Sa&&Sa.debugMode&&(Nt.isDebugging=!0)}});function Ja(e){return 47===e||92===e}function Xa(e){return oo(e)<0}function Ya(e){return oo(e)>0}function $a(e){const n=oo(e);return n>0&&n===e.length}function Qa(e){return 0!==oo(e)}function Za(e){return/^\.\.?($|[\\/])/.test(e)}function eo(e){return!Qa(e)&&!Za(e)}function no(e){return rt(lo(e),".")}function to(e,n){return e.length>n.length&&et(e,n)}function ro(e,n){for(const t of n)if(to(e,t))return!0;return!1}function io(e){return e.length>0&&Ja(e.charCodeAt(e.length-1))}function ao(e){return e>=97&&e<=122||e>=65&&e<=90}function oo(e){if(!e)return 0;const n=e.charCodeAt(0);if(47===n||92===n){if(e.charCodeAt(1)!==n)return 1;const t=e.indexOf(47===n?ja:Ha,2);return t<0?e.length:t+1}if(ao(n)&&58===e.charCodeAt(1)){const n=e.charCodeAt(2);if(47===n||92===n)return 3;if(2===e.length)return 2}const t=e.indexOf(Ka);if(-1!==t){const n=t+Ka.length,r=e.indexOf(ja,n);if(-1!==r){const i=e.slice(0,t),a=e.slice(n,r);if("file"===i&&(""===a||"localhost"===a)&&ao(e.charCodeAt(r+1))){const n=function(e,n){const t=e.charCodeAt(n);if(58===t)return n+1;if(37===t&&51===e.charCodeAt(n+1)){const t=e.charCodeAt(n+2);if(97===t||65===t)return n+3}return-1}(e,r+2);if(-1!==n){if(47===e.charCodeAt(n))return~(n+1);if(n===e.length)return~n}}return~(r+1)}return~e.length}return 0}function so(e){const n=oo(e);return n<0?~n:n}function co(e){const n=so(e=mo(e));return n===e.length?e:(e=So(e)).slice(0,Math.max(n,e.lastIndexOf(ja)))}function lo(e,n,t){if(so(e=mo(e))===e.length)return"";const r=(e=So(e)).slice(Math.max(so(e),e.lastIndexOf(ja)+1)),i=void 0!==n&&void 0!==t?_o(r,n,t):void 0;return i?r.slice(0,r.length-i.length):r}function uo(e,n,t){if(pt(n,".")||(n="."+n),e.length>=n.length&&46===e.charCodeAt(e.length-n.length)){const r=e.slice(e.length-n.length);if(t(r,n))return r}}function _o(e,n,t){if(n)return function(e,n,t){if("string"==typeof n)return uo(e,n,t)||"";for(const r of n){const n=uo(e,r,t);if(n)return n}return""}(So(e),n,t?Fn:Gn);const r=lo(e),i=r.lastIndexOf(".");return i>=0?r.substring(i):""}function po(e,n=""){return function(e,n){const t=e.substring(0,n),r=e.substring(n).split(ja);return r.length&&!Fe(r)&&r.pop(),[t,...r]}(e=go(n,e),so(e))}function fo(e){return 0===e.length?"":(e[0]&&Ao(e[0]))+e.slice(1).join(ja)}function mo(e){return-1!==e.indexOf("\\")?e.replace(Wa,ja):e}function ho(e){if(!ce(e))return[];const n=[e[0]];for(let t=1;t<e.length;t++){const r=e[t];if(r&&"."!==r){if(".."===r)if(n.length>1){if(".."!==n[n.length-1]){n.pop();continue}}else if(n[0])continue;n.push(r)}}return n}function go(e,...n){e&&(e=mo(e));for(let t of n)t&&(t=mo(t),e=e&&0===so(t)?Ao(e)+t:t);return e}function yo(e,...n){return Eo(ce(n)?go(e,...n):mo(e))}function vo(e,n){return ho(po(e,n))}function bo(e,n){return fo(vo(e,n))}function Eo(e){if(e=mo(e),!qa.test(e))return e;const n=e.replace(/\/\.\//g,"/").replace(/^\.\//,"");if(n!==e&&(e=n,!qa.test(e)))return e;const t=fo(ho(po(e)));return t&&io(e)?Ao(t):t}function To(e,n){return 0===(t=vo(e,n)).length?"":t.slice(1).join(ja);var t}function xo(e,n,t){return t(Ya(e)?Eo(e):bo(e,n))}function So(e){return io(e)?e.substr(0,e.length-1):e}function Ao(e){return io(e)?e:e+ja}function Lo(e){return Qa(e)||Za(e)?e:"./"+e}function Co(e,n,t,r){const i=void 0!==t&&void 0!==r?_o(e,t,r):_o(e);return i?e.slice(0,e.length-i.length)+(pt(n,".")?n:"."+n):e}function ko(e,n,t){if(e===n)return 0;if(void 0===e)return-1;if(void 0===n)return 1;const r=e.substring(0,so(e)),i=n.substring(0,so(n)),a=Hn(r,i);if(0!==a)return a;const o=e.substring(r.length),s=n.substring(i.length);if(!qa.test(o)&&!qa.test(s))return t(o,s);const c=ho(po(e)),l=ho(po(n)),d=Math.min(c.length,l.length);for(let e=1;e<d;e++){const n=t(c[e],l[e]);if(0!==n)return n}return Un(c.length,l.length)}function Io(e,n){return ko(e,n,Wn)}function wo(e,n){return ko(e,n,Hn)}function Ro(e,n,t,r){return"string"==typeof t?(e=go(t,e),n=go(t,n)):"boolean"==typeof t&&(r=t),ko(e,n,qn(r))}function No(e,n,t,r){if("string"==typeof t?(e=go(t,e),n=go(t,n)):"boolean"==typeof t&&(r=t),void 0===e||void 0===n)return!1;if(e===n)return!0;const i=ho(po(e)),a=ho(po(n));if(a.length<i.length)return!1;const o=r?Fn:Gn;for(let e=0;e<i.length;e++)if(!(0===e?Fn:o)(i[e],a[e]))return!1;return!0}function Do(e,n,t){const r=t(e),i=t(n);return pt(r,i+"/")||pt(r,i+"\\")}function Oo(e,n,t,r){const i=ho(po(e)),a=ho(po(n));let o;for(o=0;o<i.length&&o<a.length&&(0===o?Fn:t)(r(i[o]),r(a[o]));o++);if(0===o)return a;const s=a.slice(o),c=[];for(;o<i.length;o++)c.push("..");return["",...c,...s]}function Mo(e,n,t){return Nt.assert(so(e)>0==so(n)>0,"Paths must either both be absolute or both be relative"),fo(Oo(e,n,"boolean"==typeof t&&t?Fn:Gn,"function"==typeof t?t:Cn))}function Po(e,n,t){return Ya(e)?Go(n,e,n,t,!1):e}function Fo(e,n,t){return Lo(Mo(co(e),n,t))}function Go(e,n,t,r,i){const a=Oo(yo(t,e),yo(t,n),Gn,r),o=a[0];if(i&&Ya(o)){const e=o.charAt(0)===ja?"file://":"file:///";a[0]=e+o}return fo(a)}function Bo(e,n){for(;;){const t=n(e);if(void 0!==t)return t;const r=co(e);if(r===e)return;e=r}}function Uo(e){return et(e,"/node_modules")}var Vo,jo=E({"src/compiler/path.ts"(){Qq(),ja="/",Ha="\\",Ka="://",Wa=/\\/g,qa=/(?:\/\/)|(?:^|\/)\.\.?(?:$|\/)/}});function Ho(e,n,t,r,i,a,o){return{code:e,category:n,key:t,message:r,reportsUnnecessary:i,elidedInCompatabilityPyramid:a,reportsDeprecated:o}}var Ko,Wo,qo,zo,Jo,Xo,Yo,$o,Qo,Zo,es,ns,ts,rs,is,as,os=E({"src/compiler/diagnosticInformationMap.generated.ts"(){Aa(),Vo={Unterminated_string_literal:Ho(1002,1,"Unterminated_string_literal_1002","Unterminated string literal."),Identifier_expected:Ho(1003,1,"Identifier_expected_1003","Identifier expected."),_0_expected:Ho(1005,1,"_0_expected_1005","'{0}' expected."),A_file_cannot_have_a_reference_to_itself:Ho(1006,1,"A_file_cannot_have_a_reference_to_itself_1006","A file cannot have a reference to itself."),The_parser_expected_to_find_a_1_to_match_the_0_token_here:Ho(1007,1,"The_parser_expected_to_find_a_1_to_match_the_0_token_here_1007","The parser expected to find a '{1}' to match the '{0}' token here."),Trailing_comma_not_allowed:Ho(1009,1,"Trailing_comma_not_allowed_1009","Trailing comma not allowed."),Asterisk_Slash_expected:Ho(1010,1,"Asterisk_Slash_expected_1010","'*/' expected."),An_element_access_expression_should_take_an_argument:Ho(1011,1,"An_element_access_expression_should_take_an_argument_1011","An element access expression should take an argument."),Unexpected_token:Ho(1012,1,"Unexpected_token_1012","Unexpected token."),A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma:Ho(1013,1,"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:Ho(1014,1,"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:Ho(1015,1,"Parameter_cannot_have_question_mark_and_initializer_1015","Parameter cannot have question mark and initializer."),A_required_parameter_cannot_follow_an_optional_parameter:Ho(1016,1,"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:Ho(1017,1,"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:Ho(1018,1,"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:Ho(1019,1,"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:Ho(1020,1,"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:Ho(1021,1,"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:Ho(1022,1,"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:Ho(1024,1,"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:Ho(1025,1,"An_index_signature_cannot_have_a_trailing_comma_1025","An index signature cannot have a trailing comma."),Accessibility_modifier_already_seen:Ho(1028,1,"Accessibility_modifier_already_seen_1028","Accessibility modifier already seen."),_0_modifier_must_precede_1_modifier:Ho(1029,1,"_0_modifier_must_precede_1_modifier_1029","'{0}' modifier must precede '{1}' modifier."),_0_modifier_already_seen:Ho(1030,1,"_0_modifier_already_seen_1030","'{0}' modifier already seen."),_0_modifier_cannot_appear_on_class_elements_of_this_kind:Ho(1031,1,"_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:Ho(1034,1,"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:Ho(1035,1,"Only_ambient_modules_can_use_quoted_names_1035","Only ambient modules can use quoted names."),Statements_are_not_allowed_in_ambient_contexts:Ho(1036,1,"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:Ho(1038,1,"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:Ho(1039,1,"Initializers_are_not_allowed_in_ambient_contexts_1039","Initializers are not allowed in ambient contexts."),_0_modifier_cannot_be_used_in_an_ambient_context:Ho(1040,1,"_0_modifier_cannot_be_used_in_an_ambient_context_1040","'{0}' modifier cannot be used in an ambient context."),_0_modifier_cannot_be_used_here:Ho(1042,1,"_0_modifier_cannot_be_used_here_1042","'{0}' modifier cannot be used here."),_0_modifier_cannot_appear_on_a_module_or_namespace_element:Ho(1044,1,"_0_modifier_cannot_appear_on_a_module_or_namespace_element_1044","'{0}' modifier cannot appear on a module or namespace element."),Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier:Ho(1046,1,"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:Ho(1047,1,"A_rest_parameter_cannot_be_optional_1047","A rest parameter cannot be optional."),A_rest_parameter_cannot_have_an_initializer:Ho(1048,1,"A_rest_parameter_cannot_have_an_initializer_1048","A rest parameter cannot have an initializer."),A_set_accessor_must_have_exactly_one_parameter:Ho(1049,1,"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:Ho(1051,1,"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:Ho(1052,1,"A_set_accessor_parameter_cannot_have_an_initializer_1052","A 'set' accessor parameter cannot have an initializer."),A_set_accessor_cannot_have_rest_parameter:Ho(1053,1,"A_set_accessor_cannot_have_rest_parameter_1053","A 'set' accessor cannot have rest parameter."),A_get_accessor_cannot_have_parameters:Ho(1054,1,"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:Ho(1055,1,"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:Ho(1056,1,"Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056","Accessors are only available when targeting ECMAScript 5 and higher."),The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:Ho(1058,1,"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:Ho(1059,1,"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:Ho(1060,1,"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:Ho(1061,1,"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:Ho(1062,1,"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:Ho(1063,1,"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:Ho(1064,1,"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:Ho(1066,1,"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:Ho(1068,1,"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:Ho(1069,1,"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:Ho(1070,1,"_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:Ho(1071,1,"_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:Ho(1079,1,"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:Ho(1084,1,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:Ho(1085,1,"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:Ho(1089,1,"_0_modifier_cannot_appear_on_a_constructor_declaration_1089","'{0}' modifier cannot appear on a constructor declaration."),_0_modifier_cannot_appear_on_a_parameter:Ho(1090,1,"_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:Ho(1091,1,"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:Ho(1092,1,"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:Ho(1093,1,"Type_annotation_cannot_appear_on_a_constructor_declaration_1093","Type annotation cannot appear on a constructor declaration."),An_accessor_cannot_have_type_parameters:Ho(1094,1,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:Ho(1095,1,"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:Ho(1096,1,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:Ho(1097,1,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:Ho(1098,1,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:Ho(1099,1,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:Ho(1100,1,"Invalid_use_of_0_in_strict_mode_1100","Invalid use of '{0}' in strict mode."),with_statements_are_not_allowed_in_strict_mode:Ho(1101,1,"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:Ho(1102,1,"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:Ho(1103,1,"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:Ho(1104,1,"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:Ho(1105,1,"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:Ho(1106,1,"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:Ho(1107,1,"Jump_target_cannot_cross_function_boundary_1107","Jump target cannot cross function boundary."),A_return_statement_can_only_be_used_within_a_function_body:Ho(1108,1,"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:Ho(1109,1,"Expression_expected_1109","Expression expected."),Type_expected:Ho(1110,1,"Type_expected_1110","Type expected."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:Ho(1113,1,"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:Ho(1114,1,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:Ho(1115,1,"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:Ho(1116,1,"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:Ho(1117,1,"An_object_literal_cannot_have_multiple_properties_with_the_same_name_1117","An object literal cannot have multiple properties with the same name."),An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name:Ho(1118,1,"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:Ho(1119,1,"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:Ho(1120,1,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_in_strict_mode:Ho(1121,1,"Octal_literals_are_not_allowed_in_strict_mode_1121","Octal literals are not allowed in strict mode."),Variable_declaration_list_cannot_be_empty:Ho(1123,1,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:Ho(1124,1,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:Ho(1125,1,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:Ho(1126,1,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:Ho(1127,1,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:Ho(1128,1,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:Ho(1129,1,"Statement_expected_1129","Statement expected."),case_or_default_expected:Ho(1130,1,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:Ho(1131,1,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:Ho(1132,1,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:Ho(1134,1,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:Ho(1135,1,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:Ho(1136,1,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:Ho(1137,1,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:Ho(1138,1,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:Ho(1139,1,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:Ho(1140,1,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:Ho(1141,1,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:Ho(1142,1,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:Ho(1144,1,"or_expected_1144","'{' or ';' expected."),or_JSX_element_expected:Ho(1145,1,"or_JSX_element_expected_1145","'{' or JSX element expected."),Declaration_expected:Ho(1146,1,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:Ho(1147,1,"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:Ho(1148,1,"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:Ho(1149,1,"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:Ho(1155,1,"const_declarations_must_be_initialized_1155","'const' declarations must be initialized."),const_declarations_can_only_be_declared_inside_a_block:Ho(1156,1,"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:Ho(1157,1,"let_declarations_can_only_be_declared_inside_a_block_1157","'let' declarations can only be declared inside a block."),Unterminated_template_literal:Ho(1160,1,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:Ho(1161,1,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:Ho(1162,1,"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:Ho(1163,1,"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:Ho(1164,1,"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:Ho(1165,1,"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:Ho(1166,1,"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:Ho(1168,1,"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:Ho(1169,1,"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:Ho(1170,1,"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:Ho(1171,1,"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:Ho(1172,1,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:Ho(1173,1,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:Ho(1174,1,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:Ho(1175,1,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:Ho(1176,1,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:Ho(1177,1,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:Ho(1178,1,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:Ho(1179,1,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:Ho(1180,1,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:Ho(1181,1,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:Ho(1182,1,"A_destructuring_declaration_must_have_an_initializer_1182","A destructuring declaration must have an initializer."),An_implementation_cannot_be_declared_in_ambient_contexts:Ho(1183,1,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:Ho(1184,1,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:Ho(1185,1,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:Ho(1186,1,"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:Ho(1187,1,"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:Ho(1188,1,"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:Ho(1189,1,"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:Ho(1190,1,"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:Ho(1191,1,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:Ho(1192,1,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:Ho(1193,1,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:Ho(1194,1,"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:Ho(1195,1,"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:Ho(1196,1,"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:Ho(1197,1,"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:Ho(1198,1,"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:Ho(1199,1,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:Ho(1200,1,"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:Ho(1202,1,"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:Ho(1203,1,"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_0_is_enabled_requires_using_export_type:Ho(1205,1,"Re_exporting_a_type_when_0_is_enabled_requires_using_export_type_1205","Re-exporting a type when '{0}' is enabled requires using 'export type'."),Decorators_are_not_valid_here:Ho(1206,1,"Decorators_are_not_valid_here_1206","Decorators are not valid here."),Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name:Ho(1207,1,"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."),Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0:Ho(1209,1,"Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0_1209","Invalid optional chain from new expression. Did you mean to call '{0}()'?"),Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode:Ho(1210,1,"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:Ho(1211,1,"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:Ho(1212,1,"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:Ho(1213,1,"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:Ho(1214,1,"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:Ho(1215,1,"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:Ho(1216,1,"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:Ho(1218,1,"Export_assignment_is_not_supported_when_module_flag_is_system_1218","Export assignment is not supported when '--module' flag is 'system'."),Generators_are_not_allowed_in_an_ambient_context:Ho(1221,1,"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:Ho(1222,1,"An_overload_signature_cannot_be_declared_as_a_generator_1222","An overload signature cannot be declared as a generator."),_0_tag_already_specified:Ho(1223,1,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:Ho(1224,1,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:Ho(1225,1,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:Ho(1226,1,"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:Ho(1227,1,"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:Ho(1228,1,"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:Ho(1229,1,"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:Ho(1230,1,"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:Ho(1231,1,"An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration_1231","An export assignment must be at the top level of a file or module declaration."),An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module:Ho(1232,1,"An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1232","An import declaration can only be used at the top level of a namespace or module."),An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module:Ho(1233,1,"An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1233","An export declaration can only be used at the top level of a namespace or module."),An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:Ho(1234,1,"An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file_1234","An ambient module declaration is only allowed at the top level in a file."),A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module:Ho(1235,1,"A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module_1235","A namespace declaration is only allowed at the top level of a namespace or module."),The_return_type_of_a_property_decorator_function_must_be_either_void_or_any:Ho(1236,1,"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:Ho(1237,1,"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:Ho(1238,1,"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:Ho(1239,1,"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:Ho(1240,1,"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:Ho(1241,1,"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:Ho(1242,1,"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:Ho(1243,1,"_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:Ho(1244,1,"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:Ho(1245,1,"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:Ho(1246,1,"An_interface_property_cannot_have_an_initializer_1246","An interface property cannot have an initializer."),A_type_literal_property_cannot_have_an_initializer:Ho(1247,1,"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:Ho(1248,1,"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:Ho(1249,1,"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:Ho(1250,1,"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:Ho(1251,1,"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:Ho(1252,1,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_1252","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode."),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference:Ho(1254,1,"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:Ho(1255,1,"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:Ho(1257,1,"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:Ho(1258,1,"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:Ho(1259,1,"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:Ho(1260,1,"Keywords_cannot_contain_escape_characters_1260","Keywords cannot contain escape characters."),Already_included_file_name_0_differs_from_file_name_1_only_in_casing:Ho(1261,1,"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:Ho(1262,1,"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:Ho(1263,1,"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:Ho(1264,1,"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:Ho(1265,1,"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:Ho(1266,1,"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:Ho(1267,1,"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:Ho(1268,1,"An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type_1268","An index signature parameter type must be 'string', 'number', 'symbol', or a template literal type."),Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled:Ho(1269,1,"Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled_1269","Cannot use 'export import' on a type or type-only namespace when '{0}' is enabled."),Decorator_function_return_type_0_is_not_assignable_to_type_1:Ho(1270,1,"Decorator_function_return_type_0_is_not_assignable_to_type_1_1270","Decorator function return type '{0}' is not assignable to type '{1}'."),Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any:Ho(1271,1,"Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any_1271","Decorator function return type is '{0}' but is expected to be 'void' or 'any'."),A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled:Ho(1272,1,"A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_w_1272","A type referenced in a decorated signature must be imported with 'import type' or a namespace import when 'isolatedModules' and 'emitDecoratorMetadata' are enabled."),_0_modifier_cannot_appear_on_a_type_parameter:Ho(1273,1,"_0_modifier_cannot_appear_on_a_type_parameter_1273","'{0}' modifier cannot appear on a type parameter"),_0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias:Ho(1274,1,"_0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias_1274","'{0}' modifier can only appear on a type parameter of a class, interface or type alias"),accessor_modifier_can_only_appear_on_a_property_declaration:Ho(1275,1,"accessor_modifier_can_only_appear_on_a_property_declaration_1275","'accessor' modifier can only appear on a property declaration."),An_accessor_property_cannot_be_declared_optional:Ho(1276,1,"An_accessor_property_cannot_be_declared_optional_1276","An 'accessor' property cannot be declared optional."),_0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class:Ho(1277,1,"_0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class_1277","'{0}' modifier can only appear on a type parameter of a function, method or class"),The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0:Ho(1278,1,"The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0_1278","The runtime will invoke the decorator with {1} arguments, but the decorator expects {0}."),The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0:Ho(1279,1,"The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0_1279","The runtime will invoke the decorator with {1} arguments, but the decorator expects at least {0}."),Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to_be_a_global_script_set_moduleDetection_to_force_or_add_an_empty_export_statement:Ho(1280,1,"Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to__1280","Namespaces are not allowed in global script files when '{0}' is enabled. If this file is not intended to be a global script, set 'moduleDetection' to 'force' or add an empty 'export {}' statement."),Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead:Ho(1281,1,"Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead_1281","Cannot access '{0}' from another file without qualification when '{1}' is enabled. Use '{2}' instead."),An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type:Ho(1282,1,"An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers__1282","An 'export =' declaration must reference a value when 'verbatimModuleSyntax' is enabled, but '{0}' only refers to a type."),An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration:Ho(1283,1,"An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolve_1283","An 'export =' declaration must reference a real value when 'verbatimModuleSyntax' is enabled, but '{0}' resolves to a type-only declaration."),An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type:Ho(1284,1,"An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_1284","An 'export default' must reference a value when 'verbatimModuleSyntax' is enabled, but '{0}' only refers to a type."),An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration:Ho(1285,1,"An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_1285","An 'export default' must reference a real value when 'verbatimModuleSyntax' is enabled, but '{0}' resolves to a type-only declaration."),ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled:Ho(1286,1,"ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled_1286","ESM syntax is not allowed in a CommonJS module when 'verbatimModuleSyntax' is enabled."),A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled:Ho(1287,1,"A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimM_1287","A top-level 'export' modifier cannot be used on value declarations in a CommonJS module when 'verbatimModuleSyntax' is enabled."),An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabled:Ho(1288,1,"An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabl_1288","An import alias cannot resolve to a type or type-only declaration when 'verbatimModuleSyntax' is enabled."),with_statements_are_not_allowed_in_an_async_function_block:Ho(1300,1,"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:Ho(1308,1,"await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1308","'await' expressions are only allowed within async functions and at the top levels of modules."),The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level:Ho(1309,1,"The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level_1309","The current file is a CommonJS module and cannot use 'await' at the top level."),Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern:Ho(1312,1,"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:Ho(1313,1,"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:Ho(1314,1,"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:Ho(1315,1,"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:Ho(1316,1,"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:Ho(1317,1,"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:Ho(1318,1,"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:Ho(1319,1,"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:Ho(1320,1,"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:Ho(1321,1,"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:Ho(1322,1,"Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322","Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member."),Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node16_or_nodenext:Ho(1323,1,"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd__1323","Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', or 'nodenext'."),Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_or_nodenext:Ho(1324,1,"Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_or_nod_1324","Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', or 'nodenext'."),Argument_of_dynamic_import_cannot_be_spread_element:Ho(1325,1,"Argument_of_dynamic_import_cannot_be_spread_element_1325","Argument of dynamic import cannot be spread element."),This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments:Ho(1326,1,"This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot__1326","This use of 'import' is invalid. 'import()' calls can be written, but they must have parentheses and cannot have type arguments."),String_literal_with_double_quotes_expected:Ho(1327,1,"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:Ho(1328,1,"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:Ho(1329,1,"_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:Ho(1330,1,"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:Ho(1331,1,"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:Ho(1332,1,"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:Ho(1333,1,"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:Ho(1334,1,"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:Ho(1335,1,"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:Ho(1337,1,"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:Ho(1338,1,"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:Ho(1339,1,"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:Ho(1340,1,"Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0_1340","Module '{0}' does not refer to a type, but is used as a type here. Did you mean 'typeof import('{0}')'?"),Class_constructor_may_not_be_an_accessor:Ho(1341,1,"Class_constructor_may_not_be_an_accessor_1341","Class constructor may not be an accessor."),The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_or_nodenext:Ho(1343,1,"The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system__1343","The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'."),A_label_is_not_allowed_here:Ho(1344,1,"A_label_is_not_allowed_here_1344","'A label is not allowed here."),An_expression_of_type_void_cannot_be_tested_for_truthiness:Ho(1345,1,"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:Ho(1346,1,"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:Ho(1347,1,"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:Ho(1348,1,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:Ho(1349,1,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:Ho(1350,3,"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:Ho(1351,1,"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:Ho(1352,1,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:Ho(1353,1,"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:Ho(1354,1,"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:Ho(1355,1,"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:Ho(1356,1,"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:Ho(1357,1,"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:Ho(1358,1,"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:Ho(1359,1,"Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here_1359","Identifier expected. '{0}' is a reserved word that cannot be used here."),Type_0_does_not_satisfy_the_expected_type_1:Ho(1360,1,"Type_0_does_not_satisfy_the_expected_type_1_1360","Type '{0}' does not satisfy the expected type '{1}'."),_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type:Ho(1361,1,"_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:Ho(1362,1,"_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:Ho(1363,1,"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:Ho(1364,3,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:Ho(1365,3,"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:Ho(1366,3,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:Ho(1367,3,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Class_constructor_may_not_be_a_generator:Ho(1368,1,"Class_constructor_may_not_be_a_generator_1368","Class constructor may not be a generator."),Did_you_mean_0:Ho(1369,3,"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:Ho(1371,1,"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:Ho(1373,3,"Convert_to_type_only_import_1373","Convert to type-only import"),Convert_all_imports_not_used_as_a_value_to_type_only_imports:Ho(1374,3,"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:Ho(1375,1,"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:Ho(1376,3,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:Ho(1377,3,"_0_was_exported_here_1377","'{0}' was exported here."),Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:Ho(1378,1,"Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_n_1378","Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher."),An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:Ho(1379,1,"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:Ho(1380,1,"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:Ho(1381,1,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `&rbrace;`?"),Unexpected_token_Did_you_mean_or_gt:Ho(1382,1,"Unexpected_token_Did_you_mean_or_gt_1382","Unexpected token. Did you mean `{'>'}` or `&gt;`?"),Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:Ho(1385,1,"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:Ho(1386,1,"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:Ho(1387,1,"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:Ho(1388,1,"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:Ho(1389,1,"_0_is_not_allowed_as_a_variable_declaration_name_1389","'{0}' is not allowed as a variable declaration name."),_0_is_not_allowed_as_a_parameter_name:Ho(1390,1,"_0_is_not_allowed_as_a_parameter_name_1390","'{0}' is not allowed as a parameter name."),An_import_alias_cannot_use_import_type:Ho(1392,1,"An_import_alias_cannot_use_import_type_1392","An import alias cannot use 'import type'"),Imported_via_0_from_file_1:Ho(1393,3,"Imported_via_0_from_file_1_1393","Imported via {0} from file '{1}'"),Imported_via_0_from_file_1_with_packageId_2:Ho(1394,3,"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:Ho(1395,3,"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:Ho(1396,3,"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:Ho(1397,3,"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:Ho(1398,3,"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:Ho(1399,3,"File_is_included_via_import_here_1399","File is included via import here."),Referenced_via_0_from_file_1:Ho(1400,3,"Referenced_via_0_from_file_1_1400","Referenced via '{0}' from file '{1}'"),File_is_included_via_reference_here:Ho(1401,3,"File_is_included_via_reference_here_1401","File is included via reference here."),Type_library_referenced_via_0_from_file_1:Ho(1402,3,"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:Ho(1403,3,"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:Ho(1404,3,"File_is_included_via_type_library_reference_here_1404","File is included via type library reference here."),Library_referenced_via_0_from_file_1:Ho(1405,3,"Library_referenced_via_0_from_file_1_1405","Library referenced via '{0}' from file '{1}'"),File_is_included_via_library_reference_here:Ho(1406,3,"File_is_included_via_library_reference_here_1406","File is included via library reference here."),Matched_by_include_pattern_0_in_1:Ho(1407,3,"Matched_by_include_pattern_0_in_1_1407","Matched by include pattern '{0}' in '{1}'"),File_is_matched_by_include_pattern_specified_here:Ho(1408,3,"File_is_matched_by_include_pattern_specified_here_1408","File is matched by include pattern specified here."),Part_of_files_list_in_tsconfig_json:Ho(1409,3,"Part_of_files_list_in_tsconfig_json_1409","Part of 'files' list in tsconfig.json"),File_is_matched_by_files_list_specified_here:Ho(1410,3,"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:Ho(1411,3,"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:Ho(1412,3,"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:Ho(1413,3,"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:Ho(1414,3,"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:Ho(1415,3,"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:Ho(1416,3,"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:Ho(1417,3,"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:Ho(1418,3,"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:Ho(1419,3,"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:Ho(1420,3,"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:Ho(1421,3,"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:Ho(1422,3,"Library_0_specified_in_compilerOptions_1422","Library '{0}' specified in compilerOptions"),File_is_library_specified_here:Ho(1423,3,"File_is_library_specified_here_1423","File is library specified here."),Default_library:Ho(1424,3,"Default_library_1424","Default library"),Default_library_for_target_0:Ho(1425,3,"Default_library_for_target_0_1425","Default library for target '{0}'"),File_is_default_library_for_target_specified_here:Ho(1426,3,"File_is_default_library_for_target_specified_here_1426","File is default library for target specified here."),Root_file_specified_for_compilation:Ho(1427,3,"Root_file_specified_for_compilation_1427","Root file specified for compilation"),File_is_output_of_project_reference_source_0:Ho(1428,3,"File_is_output_of_project_reference_source_0_1428","File is output of project reference source '{0}'"),File_redirects_to_file_0:Ho(1429,3,"File_redirects_to_file_0_1429","File redirects to file '{0}'"),The_file_is_in_the_program_because_Colon:Ho(1430,3,"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:Ho(1431,1,"for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_1431","'for await' loops are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:Ho(1432,1,"Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_nod_1432","Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher."),Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters:Ho(1433,1,"Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters_1433","Neither decorators nor modifiers may be applied to 'this' parameters."),Unexpected_keyword_or_identifier:Ho(1434,1,"Unexpected_keyword_or_identifier_1434","Unexpected keyword or identifier."),Unknown_keyword_or_identifier_Did_you_mean_0:Ho(1435,1,"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:Ho(1436,1,"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:Ho(1437,1,"Namespace_must_be_given_a_name_1437","Namespace must be given a name."),Interface_must_be_given_a_name:Ho(1438,1,"Interface_must_be_given_a_name_1438","Interface must be given a name."),Type_alias_must_be_given_a_name:Ho(1439,1,"Type_alias_must_be_given_a_name_1439","Type alias must be given a name."),Variable_declaration_not_allowed_at_this_location:Ho(1440,1,"Variable_declaration_not_allowed_at_this_location_1440","Variable declaration not allowed at this location."),Cannot_start_a_function_call_in_a_type_annotation:Ho(1441,1,"Cannot_start_a_function_call_in_a_type_annotation_1441","Cannot start a function call in a type annotation."),Expected_for_property_initializer:Ho(1442,1,"Expected_for_property_initializer_1442","Expected '=' for property initializer."),Module_declaration_names_may_only_use_or_quoted_strings:Ho(1443,1,"Module_declaration_names_may_only_use_or_quoted_strings_1443","Module declaration names may only use ' or \" quoted strings."),_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:Ho(1444,1,"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedMod_1444","'{0}' is a type and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:Ho(1446,1,"_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveVa_1446","'{0}' resolves to a type-only declaration and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_enabled:Ho(1448,1,"_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_1448","'{0}' resolves to a type-only declaration and must be re-exported using a type-only re-export when '{1}' is enabled."),Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed:Ho(1449,3,"Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed_1449","Preserve unused imported values in the JavaScript output that would otherwise be removed."),Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments:Ho(1450,3,"Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments_1450","Dynamic imports can only accept a module specifier and an optional assertion as arguments"),Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression:Ho(1451,1,"Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member__1451","Private identifiers are only allowed in class bodies and may only be used as part of a class member declaration, property access, or on the left-hand-side of an 'in' expression"),resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext:Ho(1452,1,"resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext_1452","'resolution-mode' assertions are only supported when `moduleResolution` is `node16` or `nodenext`."),resolution_mode_should_be_either_require_or_import:Ho(1453,1,"resolution_mode_should_be_either_require_or_import_1453","`resolution-mode` should be either `require` or `import`."),resolution_mode_can_only_be_set_for_type_only_imports:Ho(1454,1,"resolution_mode_can_only_be_set_for_type_only_imports_1454","`resolution-mode` can only be set for type-only imports."),resolution_mode_is_the_only_valid_key_for_type_import_assertions:Ho(1455,1,"resolution_mode_is_the_only_valid_key_for_type_import_assertions_1455","`resolution-mode` is the only valid key for type import assertions."),Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require:Ho(1456,1,"Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456","Type import assertions should have exactly one key - `resolution-mode` - with value `import` or `require`."),Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk:Ho(1457,3,"Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk_1457","Matched by default include pattern '**/*'"),File_is_ECMAScript_module_because_0_has_field_type_with_value_module:Ho(1458,3,"File_is_ECMAScript_module_because_0_has_field_type_with_value_module_1458",'File is ECMAScript module because \'{0}\' has field "type" with value "module"'),File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module:Ho(1459,3,"File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module_1459",'File is CommonJS module because \'{0}\' has field "type" whose value is not "module"'),File_is_CommonJS_module_because_0_does_not_have_field_type:Ho(1460,3,"File_is_CommonJS_module_because_0_does_not_have_field_type_1460","File is CommonJS module because '{0}' does not have field \"type\""),File_is_CommonJS_module_because_package_json_was_not_found:Ho(1461,3,"File_is_CommonJS_module_because_package_json_was_not_found_1461","File is CommonJS module because 'package.json' was not found"),The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output:Ho(1470,1,"The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output_1470","The 'import.meta' meta-property is not allowed in files which will build into CommonJS output."),Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_with_require_Use_an_ECMAScript_import_instead:Ho(1471,1,"Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_c_1471","Module '{0}' cannot be imported using this construct. The specifier only resolves to an ES module, which cannot be imported with 'require'. Use an ECMAScript import instead."),catch_or_finally_expected:Ho(1472,1,"catch_or_finally_expected_1472","'catch' or 'finally' expected."),An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:Ho(1473,1,"An_import_declaration_can_only_be_used_at_the_top_level_of_a_module_1473","An import declaration can only be used at the top level of a module."),An_export_declaration_can_only_be_used_at_the_top_level_of_a_module:Ho(1474,1,"An_export_declaration_can_only_be_used_at_the_top_level_of_a_module_1474","An export declaration can only be used at the top level of a module."),Control_what_method_is_used_to_detect_module_format_JS_files:Ho(1475,3,"Control_what_method_is_used_to_detect_module_format_JS_files_1475","Control what method is used to detect module-format JS files."),auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules:Ho(1476,3,"auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_w_1476",'"auto": Treat files with imports, exports, import.meta, jsx (with jsx: react-jsx), or esm format (with module: node16+) as modules.'),An_instantiation_expression_cannot_be_followed_by_a_property_access:Ho(1477,1,"An_instantiation_expression_cannot_be_followed_by_a_property_access_1477","An instantiation expression cannot be followed by a property access."),Identifier_or_string_literal_expected:Ho(1478,1,"Identifier_or_string_literal_expected_1478","Identifier or string literal expected."),The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_referenced_file_is_an_ECMAScript_module_and_cannot_be_imported_with_require_Consider_writing_a_dynamic_import_0_call_instead:Ho(1479,1,"The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_reference_1479","The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import(\"{0}\")' call instead."),To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_package_json_file_with_type_Colon_module:Ho(1480,3,"To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_packag_1480",'To convert this file to an ECMAScript module, change its file extension to \'{0}\' or create a local package.json file with `{ "type": "module" }`.'),To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Colon_module_to_1:Ho(1481,3,"To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Co_1481","To convert this file to an ECMAScript module, change its file extension to '{0}', or add the field `\"type\": \"module\"` to '{1}'."),To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0:Ho(1482,3,"To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0_1482",'To convert this file to an ECMAScript module, add the field `"type": "module"` to \'{0}\'.'),To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module:Ho(1483,3,"To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module_1483",'To convert this file to an ECMAScript module, create a local package.json file with `{ "type": "module" }`.'),_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:Ho(1484,1,"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled_1484","'{0}' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:Ho(1485,1,"_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimMo_1485","'{0}' resolves to a type-only declaration and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled."),Decorator_used_before_export_here:Ho(1486,1,"Decorator_used_before_export_here_1486","Decorator used before 'export' here."),The_types_of_0_are_incompatible_between_these_types:Ho(2200,1,"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:Ho(2201,1,"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:Ho(2202,1,"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:Ho(2203,1,"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:Ho(2204,1,"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:Ho(2205,1,"Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2205","Construct signatures with no arguments have incompatible return types '{0}' and '{1}'.",void 0,!0),The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement:Ho(2206,1,"The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement_2206","The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement."),The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement:Ho(2207,1,"The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement_2207","The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement."),This_type_parameter_might_need_an_extends_0_constraint:Ho(2208,1,"This_type_parameter_might_need_an_extends_0_constraint_2208","This type parameter might need an `extends {0}` constraint."),The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:Ho(2209,1,"The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_roo_2209","The project root is ambiguous, but is required to resolve export map entry '{0}' in file '{1}'. Supply the `rootDir` compiler option to disambiguate."),The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:Ho(2210,1,"The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_roo_2210","The project root is ambiguous, but is required to resolve import map entry '{0}' in file '{1}'. Supply the `rootDir` compiler option to disambiguate."),Add_extends_constraint:Ho(2211,3,"Add_extends_constraint_2211","Add `extends` constraint."),Add_extends_constraint_to_all_type_parameters:Ho(2212,3,"Add_extends_constraint_to_all_type_parameters_2212","Add `extends` constraint to all type parameters"),Duplicate_identifier_0:Ho(2300,1,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:Ho(2301,1,"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:Ho(2302,1,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:Ho(2303,1,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:Ho(2304,1,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:Ho(2305,1,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:Ho(2306,1,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0_or_its_corresponding_type_declarations:Ho(2307,1,"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:Ho(2308,1,"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:Ho(2309,1,"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:Ho(2310,1,"Type_0_recursively_references_itself_as_a_base_type_2310","Type '{0}' recursively references itself as a base type."),Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function:Ho(2311,1,"Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function_2311","Cannot find name '{0}'. Did you mean to write this in an async function?"),An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members:Ho(2312,1,"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:Ho(2313,1,"Type_parameter_0_has_a_circular_constraint_2313","Type parameter '{0}' has a circular constraint."),Generic_type_0_requires_1_type_argument_s:Ho(2314,1,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:Ho(2315,1,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:Ho(2316,1,"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:Ho(2317,1,"Global_type_0_must_have_1_type_parameter_s_2317","Global type '{0}' must have {1} type parameter(s)."),Cannot_find_global_type_0:Ho(2318,1,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:Ho(2319,1,"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:Ho(2320,1,"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:Ho(2321,1,"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:Ho(2322,1,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:Ho(2323,1,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:Ho(2324,1,"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:Ho(2325,1,"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:Ho(2326,1,"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:Ho(2327,1,"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:Ho(2328,1,"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:Ho(2329,1,"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:Ho(2330,1,"_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:Ho(2331,1,"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:Ho(2332,1,"this_cannot_be_referenced_in_current_location_2332","'this' cannot be referenced in current location."),this_cannot_be_referenced_in_constructor_arguments:Ho(2333,1,"this_cannot_be_referenced_in_constructor_arguments_2333","'this' cannot be referenced in constructor arguments."),this_cannot_be_referenced_in_a_static_property_initializer:Ho(2334,1,"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:Ho(2335,1,"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:Ho(2336,1,"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:Ho(2337,1,"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:Ho(2338,1,"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:Ho(2339,1,"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:Ho(2340,1,"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:Ho(2341,1,"Property_0_is_private_and_only_accessible_within_class_1_2341","Property '{0}' is private and only accessible within class '{1}'."),This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0:Ho(2343,1,"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:Ho(2344,1,"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:Ho(2345,1,"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:Ho(2346,1,"Call_target_does_not_contain_any_signatures_2346","Call target does not contain any signatures."),Untyped_function_calls_may_not_accept_type_arguments:Ho(2347,1,"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:Ho(2348,1,"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:Ho(2349,1,"This_expression_is_not_callable_2349","This expression is not callable."),Only_a_void_function_can_be_called_with_the_new_keyword:Ho(2350,1,"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:Ho(2351,1,"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:Ho(2352,1,"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:Ho(2353,1,"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:Ho(2354,1,"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:Ho(2355,1,"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:Ho(2356,1,"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:Ho(2357,1,"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:Ho(2358,1,"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:Ho(2359,1,"The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_F_2359","The right-hand side of an 'instanceof' expression must be of type 'any' or of a type assignable to the 'Function' interface type."),The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:Ho(2362,1,"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:Ho(2363,1,"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:Ho(2364,1,"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:Ho(2365,1,"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:Ho(2366,1,"Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined_2366","Function lacks ending return statement and return type does not include 'undefined'."),This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap:Ho(2367,1,"This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367","This comparison appears to be unintentional because the types '{0}' and '{1}' have no overlap."),Type_parameter_name_cannot_be_0:Ho(2368,1,"Type_parameter_name_cannot_be_0_2368","Type parameter name cannot be '{0}'."),A_parameter_property_is_only_allowed_in_a_constructor_implementation:Ho(2369,1,"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:Ho(2370,1,"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:Ho(2371,1,"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:Ho(2372,1,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:Ho(2373,1,"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:Ho(2374,1,"Duplicate_index_signature_for_type_0_2374","Duplicate index signature for type '{0}'."),Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties:Ho(2375,1,"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2375","Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties."),A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_class_contains_initialized_properties_parameter_properties_or_private_identifiers:Ho(2376,1,"A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_2376","A 'super' call must be the first statement in the constructor to refer to 'super' or 'this' when a derived class contains initialized properties, parameter properties, or private identifiers."),Constructors_for_derived_classes_must_contain_a_super_call:Ho(2377,1,"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:Ho(2378,1,"A_get_accessor_must_return_a_value_2378","A 'get' accessor must return a value."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties:Ho(2379,1,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_tr_2379","Argument of type '{0}' is not assignable to parameter of type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties."),The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type:Ho(2380,1,"The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type_2380","The return type of a 'get' accessor must be assignable to its 'set' accessor type"),Overload_signatures_must_all_be_exported_or_non_exported:Ho(2383,1,"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:Ho(2384,1,"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:Ho(2385,1,"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:Ho(2386,1,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:Ho(2387,1,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:Ho(2388,1,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:Ho(2389,1,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:Ho(2390,1,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:Ho(2391,1,"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:Ho(2392,1,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:Ho(2393,1,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:Ho(2394,1,"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:Ho(2395,1,"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:Ho(2396,1,"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:Ho(2397,1,"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:Ho(2398,1,"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:Ho(2399,1,"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:Ho(2400,1,"Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference_2400","Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference."),A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_initialized_properties_parameter_properties_or_private_identifiers:Ho(2401,1,"A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_in_2401","A 'super' call must be a root-level statement within a constructor of a derived class that contains initialized properties, parameter properties, or private identifiers."),Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference:Ho(2402,1,"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:Ho(2403,1,"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:Ho(2404,1,"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:Ho(2405,1,"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:Ho(2406,1,"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:Ho(2407,1,"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:Ho(2408,1,"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:Ho(2409,1,"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:Ho(2410,1,"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410","The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'."),Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target:Ho(2412,1,"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2412","Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target."),Property_0_of_type_1_is_not_assignable_to_2_index_type_3:Ho(2411,1,"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:Ho(2413,1,"_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:Ho(2414,1,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:Ho(2415,1,"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:Ho(2416,1,"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:Ho(2417,1,"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:Ho(2418,1,"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:Ho(2419,1,"Types_of_construct_signatures_are_incompatible_2419","Types of construct signatures are incompatible."),Class_0_incorrectly_implements_interface_1:Ho(2420,1,"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:Ho(2422,1,"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:Ho(2423,1,"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:Ho(2425,1,"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:Ho(2426,1,"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:Ho(2427,1,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:Ho(2428,1,"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:Ho(2430,1,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:Ho(2431,1,"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:Ho(2432,1,"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:Ho(2433,1,"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:Ho(2434,1,"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:Ho(2435,1,"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:Ho(2436,1,"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:Ho(2437,1,"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:Ho(2438,1,"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:Ho(2439,1,"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:Ho(2440,1,"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:Ho(2441,1,"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:Ho(2442,1,"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:Ho(2443,1,"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:Ho(2444,1,"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:Ho(2445,1,"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:Ho(2446,1,"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:Ho(2447,1,"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:Ho(2448,1,"Block_scoped_variable_0_used_before_its_declaration_2448","Block-scoped variable '{0}' used before its declaration."),Class_0_used_before_its_declaration:Ho(2449,1,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:Ho(2450,1,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:Ho(2451,1,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:Ho(2452,1,"An_enum_member_cannot_have_a_numeric_name_2452","An enum member cannot have a numeric name."),Variable_0_is_used_before_being_assigned:Ho(2454,1,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_alias_0_circularly_references_itself:Ho(2456,1,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:Ho(2457,1,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:Ho(2458,1,"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:Ho(2459,1,"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:Ho(2460,1,"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:Ho(2461,1,"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:Ho(2462,1,"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:Ho(2463,1,"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:Ho(2464,1,"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:Ho(2465,1,"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:Ho(2466,1,"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:Ho(2467,1,"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:Ho(2468,1,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:Ho(2469,1,"The_0_operator_cannot_be_applied_to_type_symbol_2469","The '{0}' operator cannot be applied to type 'symbol'."),Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher:Ho(2472,1,"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:Ho(2473,1,"Enum_declarations_must_all_be_const_or_non_const_2473","Enum declarations must all be const or non-const."),const_enum_member_initializers_must_be_constant_expressions:Ho(2474,1,"const_enum_member_initializers_must_be_constant_expressions_2474","const enum member initializers must be constant expressions."),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:Ho(2475,1,"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:Ho(2476,1,"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:Ho(2477,1,"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:Ho(2478,1,"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478","'const' enum member initializer was evaluated to disallowed value 'NaN'."),let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations:Ho(2480,1,"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:Ho(2481,1,"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:Ho(2483,1,"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:Ho(2484,1,"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:Ho(2487,1,"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:Ho(2488,1,"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:Ho(2489,1,"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:Ho(2490,1,"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:Ho(2491,1,"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:Ho(2492,1,"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:Ho(2493,1,"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:Ho(2494,1,"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:Ho(2495,1,"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:Ho(2496,1,"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:Ho(2497,1,"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:Ho(2498,1,"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:Ho(2499,1,"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:Ho(2500,1,"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:Ho(2501,1,"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:Ho(2502,1,"_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:Ho(2503,1,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:Ho(2504,1,"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:Ho(2505,1,"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:Ho(2506,1,"_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:Ho(2507,1,"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:Ho(2508,1,"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:Ho(2509,1,"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:Ho(2510,1,"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:Ho(2511,1,"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:Ho(2512,1,"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:Ho(2513,1,"Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression_2513","Abstract method '{0}' in class '{1}' cannot be accessed via super expression."),A_tuple_type_cannot_be_indexed_with_a_negative_value:Ho(2514,1,"A_tuple_type_cannot_be_indexed_with_a_negative_value_2514","A tuple type cannot be indexed with a negative value."),Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2:Ho(2515,1,"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:Ho(2516,1,"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:Ho(2517,1,"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:Ho(2518,1,"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:Ho(2519,1,"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:Ho(2520,1,"Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions_2520","Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions."),The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method:Ho(2522,1,"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:Ho(2523,1,"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:Ho(2524,1,"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:Ho(2525,1,"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:Ho(2526,1,"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:Ho(2527,1,"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:Ho(2528,1,"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:Ho(2529,1,"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:Ho(2530,1,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:Ho(2531,1,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:Ho(2532,1,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:Ho(2533,1,"Object_is_possibly_null_or_undefined_2533","Object is possibly 'null' or 'undefined'."),A_function_returning_never_cannot_have_a_reachable_end_point:Ho(2534,1,"A_function_returning_never_cannot_have_a_reachable_end_point_2534","A function returning 'never' cannot have a reachable end point."),Type_0_cannot_be_used_to_index_type_1:Ho(2536,1,"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:Ho(2537,1,"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:Ho(2538,1,"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:Ho(2539,1,"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:Ho(2540,1,"Cannot_assign_to_0_because_it_is_a_read_only_property_2540","Cannot assign to '{0}' because it is a read-only property."),Index_signature_in_type_0_only_permits_reading:Ho(2542,1,"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:Ho(2543,1,"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:Ho(2544,1,"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:Ho(2545,1,"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:Ho(2547,1,"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:Ho(2548,1,"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:Ho(2549,1,"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:Ho(2550,1,"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:Ho(2551,1,"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:Ho(2552,1,"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:Ho(2553,1,"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:Ho(2554,1,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:Ho(2555,1,"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:Ho(2556,1,"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:Ho(2558,1,"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:Ho(2559,1,"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:Ho(2560,1,"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:Ho(2561,1,"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:Ho(2562,1,"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:Ho(2563,1,"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:Ho(2564,1,"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:Ho(2565,1,"Property_0_is_used_before_being_assigned_2565","Property '{0}' is used before being assigned."),A_rest_element_cannot_have_a_property_name:Ho(2566,1,"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:Ho(2567,1,"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:Ho(2568,1,"Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568","Property '{0}' may not exist on type '{1}'. Did you mean '{2}'?"),Could_not_find_name_0_Did_you_mean_1:Ho(2570,1,"Could_not_find_name_0_Did_you_mean_1_2570","Could not find name '{0}'. Did you mean '{1}'?"),Object_is_of_type_unknown:Ho(2571,1,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),A_rest_element_type_must_be_an_array_type:Ho(2574,1,"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:Ho(2575,1,"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:Ho(2576,1,"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:Ho(2577,1,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:Ho(2578,1,"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:Ho(2580,1,"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:Ho(2581,1,"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:Ho(2582,1,"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:Ho(2583,1,"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:Ho(2584,1,"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:Ho(2585,1,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_2585","'{0}' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the 'lib' compiler option to es2015 or later."),Cannot_assign_to_0_because_it_is_a_constant:Ho(2588,1,"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:Ho(2589,1,"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:Ho(2590,1,"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:Ho(2591,1,"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:Ho(2592,1,"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:Ho(2593,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2593","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig."),This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag:Ho(2594,1,"This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag_2594","This module is declared with 'export =', and can only be used with a default import when using the '{0}' flag."),_0_can_only_be_imported_by_using_a_default_import:Ho(2595,1,"_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:Ho(2596,1,"_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:Ho(2597,1,"_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:Ho(2598,1,"_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using__2598","'{0}' can only be imported by using a 'require' call or by turning on the 'esModuleInterop' flag and using a default import."),JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist:Ho(2602,1,"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:Ho(2603,1,"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:Ho(2604,1,"JSX_element_type_0_does_not_have_any_construct_or_call_signatures_2604","JSX element type '{0}' does not have any construct or call signatures."),Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property:Ho(2606,1,"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:Ho(2607,1,"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:Ho(2608,1,"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:Ho(2609,1,"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:Ho(2610,1,"_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:Ho(2611,1,"_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:Ho(2612,1,"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:Ho(2613,1,"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:Ho(2614,1,"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:Ho(2615,1,"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:Ho(2616,1,"_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:Ho(2617,1,"_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:Ho(2618,1,"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:Ho(2619,1,"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:Ho(2620,1,"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:Ho(2621,1,"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:Ho(2623,1,"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:Ho(2624,1,"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:Ho(2625,1,"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:Ho(2626,1,"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:Ho(2627,1,"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:Ho(2628,1,"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:Ho(2629,1,"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:Ho(2630,1,"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:Ho(2631,1,"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:Ho(2632,1,"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:Ho(2633,1,"JSX_property_access_expressions_cannot_include_JSX_namespace_names_2633","JSX property access expressions cannot include JSX namespace names"),_0_index_signatures_are_incompatible:Ho(2634,1,"_0_index_signatures_are_incompatible_2634","'{0}' index signatures are incompatible."),Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable:Ho(2635,1,"Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable_2635","Type '{0}' has no signatures for which the type argument list is applicable."),Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation:Ho(2636,1,"Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation_2636","Type '{0}' is not assignable to type '{1}' as implied by variance annotation."),Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_types:Ho(2637,1,"Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_t_2637","Variance annotations are only supported in type aliases for object, function, constructor, and mapped types."),Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operator:Ho(2638,1,"Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operato_2638","Type '{0}' may represent a primitive value, which is not permitted as the right operand of the 'in' operator."),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:Ho(2649,1,"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:Ho(2651,1,"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:Ho(2652,1,"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:Ho(2653,1,"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653","Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}'."),JSX_expressions_must_have_one_parent_element:Ho(2657,1,"JSX_expressions_must_have_one_parent_element_2657","JSX expressions must have one parent element."),Type_0_provides_no_match_for_the_signature_1:Ho(2658,1,"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:Ho(2659,1,"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:Ho(2660,1,"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:Ho(2661,1,"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:Ho(2662,1,"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:Ho(2663,1,"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:Ho(2664,1,"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:Ho(2665,1,"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:Ho(2666,1,"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:Ho(2667,1,"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:Ho(2668,1,"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:Ho(2669,1,"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:Ho(2670,1,"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:Ho(2671,1,"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:Ho(2672,1,"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:Ho(2673,1,"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:Ho(2674,1,"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:Ho(2675,1,"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:Ho(2676,1,"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:Ho(2677,1,"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:Ho(2678,1,"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:Ho(2679,1,"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:Ho(2680,1,"A_0_parameter_must_be_the_first_parameter_2680","A '{0}' parameter must be the first parameter."),A_constructor_cannot_have_a_this_parameter:Ho(2681,1,"A_constructor_cannot_have_a_this_parameter_2681","A constructor cannot have a 'this' parameter."),this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation:Ho(2683,1,"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:Ho(2684,1,"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:Ho(2685,1,"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:Ho(2686,1,"_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:Ho(2687,1,"All_declarations_of_0_must_have_identical_modifiers_2687","All declarations of '{0}' must have identical modifiers."),Cannot_find_type_definition_file_for_0:Ho(2688,1,"Cannot_find_type_definition_file_for_0_2688","Cannot find type definition file for '{0}'."),Cannot_extend_an_interface_0_Did_you_mean_implements:Ho(2689,1,"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:Ho(2690,1,"_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}'?"),_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible:Ho(2692,1,"_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:Ho(2693,1,"_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:Ho(2694,1,"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:Ho(2695,1,"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:Ho(2696,1,"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:Ho(2697,1,"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:Ho(2698,1,"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:Ho(2699,1,"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:Ho(2700,1,"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:Ho(2701,1,"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:Ho(2702,1,"_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:Ho(2703,1,"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:Ho(2704,1,"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:Ho(2705,1,"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:Ho(2706,1,"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:Ho(2707,1,"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:Ho(2708,1,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:Ho(2709,1,"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:Ho(2710,1,"_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:Ho(2711,1,"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:Ho(2712,1,"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:Ho(2713,1,"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:Ho(2714,1,"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:Ho(2715,1,"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:Ho(2716,1,"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:Ho(2717,1,"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:Ho(2718,1,"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:Ho(2719,1,"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:Ho(2720,1,"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:Ho(2721,1,"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:Ho(2722,1,"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:Ho(2723,1,"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:Ho(2724,1,"_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:Ho(2725,1,"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:Ho(2726,1,"Cannot_find_lib_definition_for_0_2726","Cannot find lib definition for '{0}'."),Cannot_find_lib_definition_for_0_Did_you_mean_1:Ho(2727,1,"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:Ho(2728,3,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:Ho(2729,1,"Property_0_is_used_before_its_initialization_2729","Property '{0}' is used before its initialization."),An_arrow_function_cannot_have_a_this_parameter:Ho(2730,1,"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:Ho(2731,1,"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:Ho(2732,1,"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:Ho(2733,1,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),Are_you_missing_a_semicolon:Ho(2734,1,"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:Ho(2735,1,"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:Ho(2736,1,"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:Ho(2737,1,"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:Ho(2738,3,"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:Ho(2739,1,"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:Ho(2740,1,"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:Ho(2741,1,"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:Ho(2742,1,"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:Ho(2743,1,"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:Ho(2744,1,"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:Ho(2745,1,"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:Ho(2746,1,"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:Ho(2747,1,"_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_0_is_enabled:Ho(2748,1,"Cannot_access_ambient_const_enums_when_0_is_enabled_2748","Cannot access ambient const enums when '{0}' is enabled."),_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0:Ho(2749,1,"_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:Ho(2750,1,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:Ho(2751,1,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:Ho(2752,1,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:Ho(2753,1,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:Ho(2754,1,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:Ho(2755,1,"No_constituent_of_type_0_is_callable_2755","No constituent of type '{0}' is callable."),Not_all_constituents_of_type_0_are_callable:Ho(2756,1,"Not_all_constituents_of_type_0_are_callable_2756","Not all constituents of type '{0}' are callable."),Type_0_has_no_call_signatures:Ho(2757,1,"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:Ho(2758,1,"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:Ho(2759,1,"No_constituent_of_type_0_is_constructable_2759","No constituent of type '{0}' is constructable."),Not_all_constituents_of_type_0_are_constructable:Ho(2760,1,"Not_all_constituents_of_type_0_are_constructable_2760","Not all constituents of type '{0}' are constructable."),Type_0_has_no_construct_signatures:Ho(2761,1,"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:Ho(2762,1,"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:Ho(2763,1,"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:Ho(2764,1,"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:Ho(2765,1,"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:Ho(2766,1,"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:Ho(2767,1,"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:Ho(2768,1,"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:Ho(2769,1,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:Ho(2770,1,"The_last_overload_gave_the_following_error_2770","The last overload gave the following error."),The_last_overload_is_declared_here:Ho(2771,1,"The_last_overload_is_declared_here_2771","The last overload is declared here."),Overload_0_of_1_2_gave_the_following_error:Ho(2772,1,"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:Ho(2773,1,"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:Ho(2774,1,"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:Ho(2775,1,"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:Ho(2776,1,"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:Ho(2777,1,"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:Ho(2778,1,"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:Ho(2779,1,"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:Ho(2780,1,"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:Ho(2781,1,"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:Ho(2782,3,"_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:Ho(2783,1,"_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:Ho(2784,1,"get_and_set_accessors_cannot_declare_this_parameters_2784","'get' and 'set' accessors cannot declare 'this' parameters."),This_spread_always_overwrites_this_property:Ho(2785,1,"This_spread_always_overwrites_this_property_2785","This spread always overwrites this property."),_0_cannot_be_used_as_a_JSX_component:Ho(2786,1,"_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:Ho(2787,1,"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:Ho(2788,1,"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:Ho(2789,1,"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:Ho(2790,1,"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:Ho(2791,1,"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_nodenext_or_to_add_aliases_to_the_paths_option:Ho(2792,1,"Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_t_2792","Cannot find module '{0}'. Did you mean to set the 'moduleResolution' option to 'nodenext', 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:Ho(2793,1,"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:Ho(2794,1,"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:Ho(2795,1,"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:Ho(2796,1,"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:Ho(2797,1,"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:Ho(2798,1,"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:Ho(2799,1,"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:Ho(2800,1,"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:Ho(2801,1,"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:Ho(2802,1,"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:Ho(2803,1,"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:Ho(2804,1,"Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name_2804","Duplicate identifier '{0}'. Static and instance elements cannot share the same private name."),Private_accessor_was_defined_without_a_getter:Ho(2806,1,"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:Ho(2807,1,"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:Ho(2808,1,"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_whole_assignment_in_parentheses:Ho(2809,1,"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 whole assignment in parentheses."),Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments:Ho(2810,1,"Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_2810","Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments."),Initializer_for_property_0:Ho(2811,1,"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:Ho(2812,1,"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:Ho(2813,1,"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:Ho(2814,1,"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:Ho(2815,1,"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:Ho(2816,1,"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:Ho(2817,1,"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:Ho(2818,1,"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:Ho(2819,1,"Namespace_name_cannot_be_0_2819","Namespace name cannot be '{0}'."),Type_0_is_not_assignable_to_type_1_Did_you_mean_2:Ho(2820,1,"Type_0_is_not_assignable_to_type_1_Did_you_mean_2_2820","Type '{0}' is not assignable to type '{1}'. Did you mean '{2}'?"),Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext:Ho(2821,1,"Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext_2821","Import assertions are only supported when the '--module' option is set to 'esnext' or 'nodenext'."),Import_assertions_cannot_be_used_with_type_only_imports_or_exports:Ho(2822,1,"Import_assertions_cannot_be_used_with_type_only_imports_or_exports_2822","Import assertions cannot be used with type-only imports or exports."),Cannot_find_namespace_0_Did_you_mean_1:Ho(2833,1,"Cannot_find_namespace_0_Did_you_mean_1_2833","Cannot find namespace '{0}'. Did you mean '{1}'?"),Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node16_or_nodenext_Consider_adding_an_extension_to_the_import_path:Ho(2834,1,"Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2834","Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path."),Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node16_or_nodenext_Did_you_mean_0:Ho(2835,1,"Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2835","Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '{0}'?"),Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls:Ho(2836,1,"Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls_2836","Import assertions are not allowed on statements that transpile to commonjs 'require' calls."),Import_assertion_values_must_be_string_literal_expressions:Ho(2837,1,"Import_assertion_values_must_be_string_literal_expressions_2837","Import assertion values must be string literal expressions."),All_declarations_of_0_must_have_identical_constraints:Ho(2838,1,"All_declarations_of_0_must_have_identical_constraints_2838","All declarations of '{0}' must have identical constraints."),This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value:Ho(2839,1,"This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839","This condition will always return '{0}' since JavaScript compares objects by reference, not value."),An_interface_cannot_extend_a_primitive_type_like_0_an_interface_can_only_extend_named_types_and_classes:Ho(2840,1,"An_interface_cannot_extend_a_primitive_type_like_0_an_interface_can_only_extend_named_types_and_clas_2840","An interface cannot extend a primitive type like '{0}'; an interface can only extend named types and classes"),The_type_of_this_expression_cannot_be_named_without_a_resolution_mode_assertion_which_is_an_unstable_feature_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next:Ho(2841,1,"The_type_of_this_expression_cannot_be_named_without_a_resolution_mode_assertion_which_is_an_unstable_2841","The type of this expression cannot be named without a 'resolution-mode' assertion, which is an unstable feature. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."),_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation:Ho(2842,1,"_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation_2842","'{0}' is an unused renaming of '{1}'. Did you intend to use it as a type annotation?"),We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here:Ho(2843,1,"We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here_2843","We can only write a type for '{0}' by adding a type for the entire parameter here."),Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:Ho(2844,1,"Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2844","Type of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."),This_condition_will_always_return_0:Ho(2845,1,"This_condition_will_always_return_0_2845","This condition will always return '{0}'."),A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_file_0_instead:Ho(2846,1,"A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_f_2846","A declaration file cannot be imported without 'import type'. Did you mean to import an implementation file '{0}' instead?"),Import_declaration_0_is_using_private_name_1:Ho(4e3,1,"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:Ho(4002,1,"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:Ho(4004,1,"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:Ho(4006,1,"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:Ho(4008,1,"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:Ho(4010,1,"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:Ho(4012,1,"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:Ho(4014,1,"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:Ho(4016,1,"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:Ho(4019,1,"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:Ho(4020,1,"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:Ho(4021,1,"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:Ho(4022,1,"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:Ho(4023,1,"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:Ho(4024,1,"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:Ho(4025,1,"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:Ho(4026,1,"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:Ho(4027,1,"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:Ho(4028,1,"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:Ho(4029,1,"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:Ho(4030,1,"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:Ho(4031,1,"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:Ho(4032,1,"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:Ho(4033,1,"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:Ho(4034,1,"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:Ho(4035,1,"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:Ho(4036,1,"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:Ho(4037,1,"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:Ho(4038,1,"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:Ho(4039,1,"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:Ho(4040,1,"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:Ho(4041,1,"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:Ho(4042,1,"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:Ho(4043,1,"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:Ho(4044,1,"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:Ho(4045,1,"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:Ho(4046,1,"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:Ho(4047,1,"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:Ho(4048,1,"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:Ho(4049,1,"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:Ho(4050,1,"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:Ho(4051,1,"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:Ho(4052,1,"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:Ho(4053,1,"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:Ho(4054,1,"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:Ho(4055,1,"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:Ho(4056,1,"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:Ho(4057,1,"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:Ho(4058,1,"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:Ho(4059,1,"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:Ho(4060,1,"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:Ho(4061,1,"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:Ho(4062,1,"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:Ho(4063,1,"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:Ho(4064,1,"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:Ho(4065,1,"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:Ho(4066,1,"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:Ho(4067,1,"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:Ho(4068,1,"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:Ho(4069,1,"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:Ho(4070,1,"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:Ho(4071,1,"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:Ho(4072,1,"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:Ho(4073,1,"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:Ho(4074,1,"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:Ho(4075,1,"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:Ho(4076,1,"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:Ho(4077,1,"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:Ho(4078,1,"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:Ho(4081,1,"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:Ho(4082,1,"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:Ho(4083,1,"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:Ho(4084,1,"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}."),Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1:Ho(4085,1,"Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1_4085","Extends clause for inferred type '{0}' has or is using private name '{1}'."),Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict:Ho(4090,1,"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:Ho(4091,1,"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:Ho(4092,1,"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:Ho(4094,1,"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:Ho(4095,1,"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:Ho(4096,1,"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:Ho(4097,1,"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:Ho(4098,1,"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:Ho(4099,1,"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:Ho(4100,1,"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:Ho(4101,1,"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:Ho(4102,1,"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:Ho(4103,1,"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:Ho(4104,1,"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:Ho(4105,1,"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:Ho(4106,1,"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:Ho(4107,1,"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:Ho(4108,1,"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:Ho(4109,1,"Type_arguments_for_0_circularly_reference_themselves_4109","Type arguments for '{0}' circularly reference themselves."),Tuple_type_arguments_circularly_reference_themselves:Ho(4110,1,"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:Ho(4111,1,"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:Ho(4112,1,"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:Ho(4113,1,"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:Ho(4114,1,"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:Ho(4115,1,"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:Ho(4116,1,"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:Ho(4117,1,"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:Ho(4118,1,"The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized_4118","The type of this node cannot be serialized because its property '{0}' cannot be serialized."),This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:Ho(4119,1,"This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_4119","This member must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'."),This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:Ho(4120,1,"This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_4120","This parameter property must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class:Ho(4121,1,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_4121","This member cannot have a JSDoc comment with an '@override' tag because its containing class '{0}' does not extend another class."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0:Ho(4122,1,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4122","This member cannot have a JSDoc comment with an '@override' tag because it is not declared in the base class '{0}'."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:Ho(4123,1,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4123","This member cannot have a JSDoc comment with an 'override' tag because it is not declared in the base class '{0}'. Did you mean '{1}'?"),Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next:Ho(4124,1,"Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_w_4124","Compiler option '{0}' of value '{1}' is unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."),resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next:Ho(4125,1,"resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_wi_4125","'resolution-mode' assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."),The_current_host_does_not_support_the_0_option:Ho(5001,1,"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:Ho(5009,1,"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:Ho(5010,1,"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:Ho(5012,1,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:Ho(5014,1,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:Ho(5023,1,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:Ho(5024,1,"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:Ho(5025,1,"Unknown_compiler_option_0_Did_you_mean_1_5025","Unknown compiler option '{0}'. Did you mean '{1}'?"),Could_not_write_file_0_Colon_1:Ho(5033,1,"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:Ho(5042,1,"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:Ho(5047,1,"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:Ho(5048,1,"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:Ho(5051,1,"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:Ho(5052,1,"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:Ho(5053,1,"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:Ho(5054,1,"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:Ho(5055,1,"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:Ho(5056,1,"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:Ho(5057,1,"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:Ho(5058,1,"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:Ho(5059,1,"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:Ho(5061,1,"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:Ho(5062,1,"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:Ho(5063,1,"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:Ho(5064,1,"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:Ho(5065,1,"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:Ho(5066,1,"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:Ho(5067,1,"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:Ho(5068,1,"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:Ho(5069,1,"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_when_moduleResolution_is_set_to_classic:Ho(5070,1,"Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic_5070","Option '--resolveJsonModule' cannot be specified when 'moduleResolution' is set to 'classic'."),Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext:Ho(5071,1,"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:Ho(5072,1,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:Ho(5073,1,"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:Ho(5074,1,"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:Ho(5075,1,"_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:Ho(5076,1,"_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:Ho(5077,1,"Unknown_build_option_0_Did_you_mean_1_5077","Unknown build option '{0}'. Did you mean '{1}'?"),Unknown_watch_option_0:Ho(5078,1,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:Ho(5079,1,"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:Ho(5080,1,"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:Ho(5081,1,"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:Ho(5082,1,"_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:Ho(5083,1,"Cannot_read_file_0_5083","Cannot read file '{0}'."),Tuple_members_must_all_have_names_or_all_not_have_names:Ho(5084,1,"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:Ho(5085,1,"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:Ho(5086,1,"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:Ho(5087,1,"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:Ho(5088,1,"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:Ho(5089,1,"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:Ho(5090,1,"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_0_is_enabled:Ho(5091,1,"Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled_5091","Option 'preserveConstEnums' cannot be disabled when '{0}' is enabled."),The_root_value_of_a_0_file_must_be_an_object:Ho(5092,1,"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:Ho(5093,1,"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:Ho(5094,1,"Compiler_option_0_may_not_be_used_with_build_5094","Compiler option '--{0}' may not be used with '--build'."),Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later:Ho(5095,1,"Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later_5095","Option '{0}' can only be used when 'module' is set to 'es2015' or later."),Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set:Ho(5096,1,"Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set_5096","Option 'allowImportingTsExtensions' can only be used when either 'noEmit' or 'emitDeclarationOnly' is set."),An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled:Ho(5097,1,"An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled_5097","An import path can only end with a '{0}' extension when 'allowImportingTsExtensions' is enabled."),Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler:Ho(5098,1,"Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler_5098","Option '{0}' can only be used when 'moduleResolution' is set to 'node16', 'nodenext', or 'bundler'."),Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprecations_Colon_2_to_silence_this_error:Ho(5101,1,"Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprec_5101","Option '{0}' is deprecated and will stop functioning in TypeScript {1}. Specify compilerOption '\"ignoreDeprecations\": \"{2}\"' to silence this error."),Option_0_has_been_removed_Please_remove_it_from_your_configuration:Ho(5102,1,"Option_0_has_been_removed_Please_remove_it_from_your_configuration_5102","Option '{0}' has been removed. Please remove it from your configuration."),Invalid_value_for_ignoreDeprecations:Ho(5103,1,"Invalid_value_for_ignoreDeprecations_5103","Invalid value for '--ignoreDeprecations'."),Option_0_is_redundant_and_cannot_be_specified_with_option_1:Ho(5104,1,"Option_0_is_redundant_and_cannot_be_specified_with_option_1_5104","Option '{0}' is redundant and cannot be specified with option '{1}'."),Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System:Ho(5105,1,"Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System_5105","Option 'verbatimModuleSyntax' cannot be used when 'module' is set to 'UMD', 'AMD', or 'System'."),Use_0_instead:Ho(5106,3,"Use_0_instead_5106","Use '{0}' instead."),Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDeprecations_Colon_3_to_silence_this_error:Ho(5107,1,"Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDepr_5107","Option '{0}={1}' is deprecated and will stop functioning in TypeScript {2}. Specify compilerOption '\"ignoreDeprecations\": \"{3}\"' to silence this error."),Option_0_1_has_been_removed_Please_remove_it_from_your_configuration:Ho(5108,1,"Option_0_1_has_been_removed_Please_remove_it_from_your_configuration_5108","Option '{0}={1}' has been removed. Please remove it from your configuration."),Generates_a_sourcemap_for_each_corresponding_d_ts_file:Ho(6e3,3,"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:Ho(6001,3,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:Ho(6002,3,"Generates_corresponding_d_ts_file_6002","Generates corresponding '.d.ts' file."),Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations:Ho(6004,3,"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:Ho(6005,3,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:Ho(6006,3,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:Ho(6007,3,"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:Ho(6008,3,"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:Ho(6009,3,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:Ho(6010,3,"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:Ho(6011,3,"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:Ho(6012,3,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:Ho(6013,3,"Do_not_resolve_the_real_path_of_symlinks_6013","Do not resolve the real path of symlinks."),Only_emit_d_ts_declaration_files:Ho(6014,3,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version:Ho(6015,3,"Specify_ECMAScript_target_version_6015","Specify ECMAScript target version."),Specify_module_code_generation:Ho(6016,3,"Specify_module_code_generation_6016","Specify module code generation."),Print_this_message:Ho(6017,3,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:Ho(6019,3,"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:Ho(6020,3,"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:Ho(6023,3,"Syntax_Colon_0_6023","Syntax: {0}"),options:Ho(6024,3,"options_6024","options"),file:Ho(6025,3,"file_6025","file"),Examples_Colon_0:Ho(6026,3,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:Ho(6027,3,"Options_Colon_6027","Options:"),Version_0:Ho(6029,3,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:Ho(6030,3,"Insert_command_line_options_and_files_from_a_file_6030","Insert command line options and files from a file."),Starting_compilation_in_watch_mode:Ho(6031,3,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:Ho(6032,3,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:Ho(6034,3,"KIND_6034","KIND"),FILE:Ho(6035,3,"FILE_6035","FILE"),VERSION:Ho(6036,3,"VERSION_6036","VERSION"),LOCATION:Ho(6037,3,"LOCATION_6037","LOCATION"),DIRECTORY:Ho(6038,3,"DIRECTORY_6038","DIRECTORY"),STRATEGY:Ho(6039,3,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:Ho(6040,3,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Errors_Files:Ho(6041,3,"Errors_Files_6041","Errors Files"),Generates_corresponding_map_file:Ho(6043,3,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:Ho(6044,1,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:Ho(6045,1,"Unterminated_quoted_string_in_response_file_0_6045","Unterminated quoted string in response file '{0}'."),Argument_for_0_option_must_be_Colon_1:Ho(6046,1,"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:Ho(6048,1,"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}'."),Unable_to_open_file_0:Ho(6050,1,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:Ho(6051,1,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:Ho(6052,3,"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:Ho(6053,1,"File_0_not_found_6053","File '{0}' not found."),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:Ho(6054,1,"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:Ho(6055,3,"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:Ho(6056,3,"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:Ho(6058,3,"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:Ho(6059,1,"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:Ho(6060,3,"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:Ho(6061,3,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:Ho(6064,1,"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:Ho(6065,3,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:Ho(6066,3,"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066","Enables experimental support for emitting type metadata for decorators."),Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file:Ho(6070,3,"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:Ho(6071,3,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:Ho(6072,3,"Suppress_excess_property_checks_for_object_literals_6072","Suppress excess property checks for object literals."),Stylize_errors_and_messages_using_color_and_context_experimental:Ho(6073,3,"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:Ho(6074,3,"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:Ho(6075,3,"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:Ho(6076,3,"Report_errors_for_fallthrough_cases_in_switch_statement_6076","Report errors for fallthrough cases in switch statement."),Do_not_report_errors_on_unreachable_code:Ho(6077,3,"Do_not_report_errors_on_unreachable_code_6077","Do not report errors on unreachable code."),Disallow_inconsistently_cased_references_to_the_same_file:Ho(6078,3,"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:Ho(6079,3,"Specify_library_files_to_be_included_in_the_compilation_6079","Specify library files to be included in the compilation."),Specify_JSX_code_generation:Ho(6080,3,"Specify_JSX_code_generation_6080","Specify JSX code generation."),File_0_has_an_unsupported_extension_so_skipping_it:Ho(6081,3,"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:Ho(6082,1,"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:Ho(6083,3,"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:Ho(6084,3,"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:Ho(6085,3,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:Ho(6086,3,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:Ho(6087,3,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:Ho(6088,3,"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:Ho(6089,3,"Module_name_0_was_successfully_resolved_to_1_6089","======== Module name '{0}' was successfully resolved to '{1}'. ========"),Module_name_0_was_not_resolved:Ho(6090,3,"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:Ho(6091,3,"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:Ho(6092,3,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:Ho(6093,3,"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:Ho(6094,3,"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_types_Colon_1:Ho(6095,3,"Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1_6095","Loading module as file / folder, candidate module location '{0}', target file types: {1}."),File_0_does_not_exist:Ho(6096,3,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exists_use_it_as_a_name_resolution_result:Ho(6097,3,"File_0_exists_use_it_as_a_name_resolution_result_6097","File '{0}' exists - use it as a name resolution result."),Loading_module_0_from_node_modules_folder_target_file_types_Colon_1:Ho(6098,3,"Loading_module_0_from_node_modules_folder_target_file_types_Colon_1_6098","Loading module '{0}' from 'node_modules' folder, target file types: {1}."),Found_package_json_at_0:Ho(6099,3,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:Ho(6100,3,"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:Ho(6101,3,"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:Ho(6102,3,"Allow_javascript_files_to_be_compiled_6102","Allow javascript files to be compiled."),Checking_if_0_is_the_longest_matching_prefix_for_1_2:Ho(6104,3,"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:Ho(6105,3,"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:Ho(6106,3,"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:Ho(6107,3,"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:Ho(6108,3,"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:Ho(6109,3,"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:Ho(6110,3,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:Ho(6111,3,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:Ho(6112,3,"Do_not_emit_use_strict_directives_in_module_output_6112","Do not emit 'use strict' directives in module output."),Enable_strict_null_checks:Ho(6113,3,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:Ho(6114,1,"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:Ho(6115,3,"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:Ho(6116,3,"Resolving_type_reference_directive_0_containing_file_1_root_directory_2_6116","======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2:Ho(6119,3,"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:Ho(6120,3,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:Ho(6121,3,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:Ho(6122,3,"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:Ho(6123,3,"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:Ho(6124,3,"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:Ho(6125,3,"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:Ho(6126,3,"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:Ho(6127,3,"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:Ho(6128,3,"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:Ho(6130,3,"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:Ho(6131,1,"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:Ho(6132,3,"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:Ho(6133,1,"_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:Ho(6134,3,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:Ho(6135,3,"Report_errors_on_unused_parameters_6135","Report errors on unused parameters."),The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files:Ho(6136,3,"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:Ho(6137,1,"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:Ho(6138,1,"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:Ho(6139,3,"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:Ho(6140,1,"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:Ho(6141,3,"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:Ho(6142,1,"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:Ho(6144,3,"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:Ho(6145,3,"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:Ho(6146,3,"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:Ho(6147,3,"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:Ho(6148,3,"Directory_0_does_not_exist_skipping_all_lookups_in_it_6148","Directory '{0}' does not exist, skipping all lookups in it."),Show_diagnostic_information:Ho(6149,3,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:Ho(6150,3,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:Ho(6151,3,"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:Ho(6152,3,"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:Ho(6153,3,"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:Ho(6154,3,"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:Ho(6155,3,"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:Ho(6156,3,"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:Ho(6157,3,"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:Ho(6158,3,"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:Ho(6159,3,"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:Ho(6160,3,"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:Ho(6161,3,"List_of_folders_to_include_type_definitions_from_6161","List of folders to include type definitions from."),Disable_size_limitations_on_JavaScript_projects:Ho(6162,3,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:Ho(6163,3,"The_character_set_of_the_input_files_6163","The character set of the input files."),Do_not_truncate_error_messages:Ho(6165,3,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:Ho(6166,3,"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:Ho(6167,3,"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:Ho(6168,3,"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:Ho(6169,3,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:Ho(6170,3,"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:Ho(6171,3,"Command_line_Options_6171","Command-line Options"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3:Ho(6179,3,"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:Ho(6180,3,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),Scoped_package_detected_looking_in_0:Ho(6182,3,"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:Ho(6183,3,"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:Ho(6184,3,"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:Ho(6186,3,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:Ho(6187,3,"Enable_strict_checking_of_property_initialization_in_classes_6187","Enable strict checking of property initialization in classes."),Numeric_separators_are_not_allowed_here:Ho(6188,1,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:Ho(6189,1,"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:Ho(6191,3,"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:Ho(6192,1,"All_imports_in_import_declaration_are_unused_6192","All imports in import declaration are unused.",!0),Found_1_error_Watching_for_file_changes:Ho(6193,3,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:Ho(6194,3,"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:Ho(6195,3,"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:Ho(6196,1,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",!0),Include_modules_imported_with_json_extension:Ho(6197,3,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:Ho(6198,1,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",!0),All_variables_are_unused:Ho(6199,1,"All_variables_are_unused_6199","All variables are unused.",!0),Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0:Ho(6200,1,"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:Ho(6201,3,"Conflicts_are_in_this_file_6201","Conflicts are in this file."),Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0:Ho(6202,1,"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:Ho(6203,3,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:Ho(6204,3,"and_here_6204","and here."),All_type_parameters_are_unused:Ho(6205,1,"All_type_parameters_are_unused_6205","All type parameters are unused."),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:Ho(6206,3,"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:Ho(6207,3,"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:Ho(6208,3,"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:Ho(6209,3,"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:Ho(6210,3,"An_argument_for_0_was_not_provided_6210","An argument for '{0}' was not provided."),An_argument_matching_this_binding_pattern_was_not_provided:Ho(6211,3,"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:Ho(6212,3,"Did_you_mean_to_call_this_expression_6212","Did you mean to call this expression?"),Did_you_mean_to_use_new_with_this_expression:Ho(6213,3,"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:Ho(6214,3,"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:Ho(6215,3,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:Ho(6216,3,"Found_1_error_6216","Found 1 error."),Found_0_errors:Ho(6217,3,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:Ho(6218,3,"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:Ho(6219,3,"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:Ho(6220,3,"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:Ho(6221,3,"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:Ho(6222,3,"Emit_class_fields_with_Define_instead_of_Set_6222","Emit class fields with Define instead of Set."),Generates_a_CPU_profile:Ho(6223,3,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:Ho(6224,3,"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:Ho(6225,3,"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:Ho(6226,3,"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:Ho(6227,3,"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:Ho(6229,1,"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:Ho(6230,1,"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:Ho(6231,1,"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:Ho(6232,1,"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:Ho(6233,1,"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:Ho(6234,1,"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:Ho(6235,3,"Disable_loading_referenced_projects_6235","Disable loading referenced projects."),Arguments_for_the_rest_parameter_0_were_not_provided:Ho(6236,1,"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:Ho(6237,3,"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:Ho(6238,1,"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:Ho(6239,3,"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:Ho(6240,3,"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:Ho(6241,3,"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:Ho(6242,3,"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:Ho(6243,3,"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243","Interpret optional property types as written, rather than adding 'undefined'."),Modules:Ho(6244,3,"Modules_6244","Modules"),File_Management:Ho(6245,3,"File_Management_6245","File Management"),Emit:Ho(6246,3,"Emit_6246","Emit"),JavaScript_Support:Ho(6247,3,"JavaScript_Support_6247","JavaScript Support"),Type_Checking:Ho(6248,3,"Type_Checking_6248","Type Checking"),Editor_Support:Ho(6249,3,"Editor_Support_6249","Editor Support"),Watch_and_Build_Modes:Ho(6250,3,"Watch_and_Build_Modes_6250","Watch and Build Modes"),Compiler_Diagnostics:Ho(6251,3,"Compiler_Diagnostics_6251","Compiler Diagnostics"),Interop_Constraints:Ho(6252,3,"Interop_Constraints_6252","Interop Constraints"),Backwards_Compatibility:Ho(6253,3,"Backwards_Compatibility_6253","Backwards Compatibility"),Language_and_Environment:Ho(6254,3,"Language_and_Environment_6254","Language and Environment"),Projects:Ho(6255,3,"Projects_6255","Projects"),Output_Formatting:Ho(6256,3,"Output_Formatting_6256","Output Formatting"),Completeness:Ho(6257,3,"Completeness_6257","Completeness"),_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file:Ho(6258,1,"_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file_6258","'{0}' should be set inside the 'compilerOptions' object of the config json file"),Found_1_error_in_1:Ho(6259,3,"Found_1_error_in_1_6259","Found 1 error in {1}"),Found_0_errors_in_the_same_file_starting_at_Colon_1:Ho(6260,3,"Found_0_errors_in_the_same_file_starting_at_Colon_1_6260","Found {0} errors in the same file, starting at: {1}"),Found_0_errors_in_1_files:Ho(6261,3,"Found_0_errors_in_1_files_6261","Found {0} errors in {1} files."),File_name_0_has_a_1_extension_looking_up_2_instead:Ho(6262,3,"File_name_0_has_a_1_extension_looking_up_2_instead_6262","File name '{0}' has a '{1}' extension - looking up '{2}' instead."),Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set:Ho(6263,1,"Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set_6263","Module '{0}' was resolved to '{1}', but '--allowArbitraryExtensions' is not set."),Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present:Ho(6264,3,"Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present_6264","Enable importing files with any extension, provided a declaration file is present."),Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve:Ho(6270,3,"Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve_6270","Directory '{0}' has no containing package.json scope. Imports will not resolve."),Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1:Ho(6271,3,"Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6271","Import specifier '{0}' does not exist in package.json scope at path '{1}'."),Invalid_import_specifier_0_has_no_possible_resolutions:Ho(6272,3,"Invalid_import_specifier_0_has_no_possible_resolutions_6272","Invalid import specifier '{0}' has no possible resolutions."),package_json_scope_0_has_no_imports_defined:Ho(6273,3,"package_json_scope_0_has_no_imports_defined_6273","package.json scope '{0}' has no imports defined."),package_json_scope_0_explicitly_maps_specifier_1_to_null:Ho(6274,3,"package_json_scope_0_explicitly_maps_specifier_1_to_null_6274","package.json scope '{0}' explicitly maps specifier '{1}' to null."),package_json_scope_0_has_invalid_type_for_target_of_specifier_1:Ho(6275,3,"package_json_scope_0_has_invalid_type_for_target_of_specifier_1_6275","package.json scope '{0}' has invalid type for target of specifier '{1}'"),Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1:Ho(6276,3,"Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6276","Export specifier '{0}' does not exist in package.json scope at path '{1}'."),Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_if_npm_library_needs_configuration_update:Ho(6277,3,"Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_i_6277","Resolution of non-relative name failed; trying with modern Node resolution features disabled to see if npm library needs configuration update."),There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The_1_library_may_need_to_update_its_package_json_or_typings:Ho(6278,3,"There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The__6278","There are types at '{0}', but this result could not be resolved when respecting package.json \"exports\". The '{1}' library may need to update its package.json or typings."),Enable_project_compilation:Ho(6302,3,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:Ho(6304,1,"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:Ho(6305,1,"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:Ho(6306,1,"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:Ho(6307,1,"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:Ho(6308,1,"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:Ho(6309,1,"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:Ho(6310,1,"Referenced_project_0_may_not_disable_emit_6310","Referenced project '{0}' may not disable emit."),Project_0_is_out_of_date_because_output_1_is_older_than_input_2:Ho(6350,3,"Project_0_is_out_of_date_because_output_1_is_older_than_input_2_6350","Project '{0}' is out of date because output '{1}' is older than input '{2}'"),Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2:Ho(6351,3,"Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2_6351","Project '{0}' is up to date because newest input '{1}' is older than output '{2}'"),Project_0_is_out_of_date_because_output_file_1_does_not_exist:Ho(6352,3,"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:Ho(6353,3,"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:Ho(6354,3,"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:Ho(6355,3,"Projects_in_this_build_Colon_0_6355","Projects in this build: {0}"),A_non_dry_build_would_delete_the_following_files_Colon_0:Ho(6356,3,"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:Ho(6357,3,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:Ho(6358,3,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:Ho(6359,3,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),Project_0_is_up_to_date:Ho(6361,3,"Project_0_is_up_to_date_6361","Project '{0}' is up to date"),Skipping_build_of_project_0_because_its_dependency_1_has_errors:Ho(6362,3,"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:Ho(6363,3,"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:Ho(6364,3,"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:Ho(6365,3,"Delete_the_outputs_of_all_projects_6365","Delete the outputs of all projects."),Show_what_would_be_built_or_deleted_if_specified_with_clean:Ho(6367,3,"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:Ho(6369,1,"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:Ho(6370,1,"Options_0_and_1_cannot_be_combined_6370","Options '{0}' and '{1}' cannot be combined."),Updating_unchanged_output_timestamps_of_project_0:Ho(6371,3,"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:Ho(6372,3,"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:Ho(6373,3,"Updating_output_of_project_0_6373","Updating output of project '{0}'..."),A_non_dry_build_would_update_timestamps_for_output_of_project_0:Ho(6374,3,"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:Ho(6375,3,"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:Ho(6376,3,"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:Ho(6377,1,"Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1_6377","Cannot write file '{0}' because it will overwrite '.tsbuildinfo' file generated by referenced project '{1}'"),Composite_projects_may_not_disable_incremental_compilation:Ho(6379,1,"Composite_projects_may_not_disable_incremental_compilation_6379","Composite projects may not disable incremental compilation."),Specify_file_to_store_incremental_compilation_information:Ho(6380,3,"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:Ho(6381,3,"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:Ho(6382,3,"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:Ho(6383,3,"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:Ho(6384,3,"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:Ho(6385,2,"_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:Ho(6386,3,"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:Ho(6387,2,"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:Ho(6388,3,"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:Ho(6389,3,"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:Ho(6390,3,"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:Ho(6391,3,"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:Ho(6392,3,"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:Ho(6393,3,"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:Ho(6394,3,"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:Ho(6395,3,"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:Ho(6396,3,"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:Ho(6397,3,"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:Ho(6398,3,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_re_6398","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitted:Ho(6399,3,"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitte_6399","Project '{0}' is out of date because buildinfo file '{1}' indicates that some of the changes were not emitted"),Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_files:Ho(6400,3,"Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_fil_6400","Project '{0}' is up to date but needs to update timestamps of output files that are older than input files"),Project_0_is_out_of_date_because_there_was_error_reading_file_1:Ho(6401,3,"Project_0_is_out_of_date_because_there_was_error_reading_file_1_6401","Project '{0}' is out of date because there was error reading file '{1}'"),Resolving_in_0_mode_with_conditions_1:Ho(6402,3,"Resolving_in_0_mode_with_conditions_1_6402","Resolving in {0} mode with conditions {1}."),Matched_0_condition_1:Ho(6403,3,"Matched_0_condition_1_6403","Matched '{0}' condition '{1}'."),Using_0_subpath_1_with_target_2:Ho(6404,3,"Using_0_subpath_1_with_target_2_6404","Using '{0}' subpath '{1}' with target '{2}'."),Saw_non_matching_condition_0:Ho(6405,3,"Saw_non_matching_condition_0_6405","Saw non-matching condition '{0}'."),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions:Ho(6406,3,"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions_6406","Project '{0}' is out of date because buildinfo file '{1}' indicates there is change in compilerOptions"),Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noEmit_or_emitDeclarationOnly_to_be_set:Ho(6407,3,"Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noE_6407","Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set."),Use_the_package_json_exports_field_when_resolving_package_imports:Ho(6408,3,"Use_the_package_json_exports_field_when_resolving_package_imports_6408","Use the package.json 'exports' field when resolving package imports."),Use_the_package_json_imports_field_when_resolving_imports:Ho(6409,3,"Use_the_package_json_imports_field_when_resolving_imports_6409","Use the package.json 'imports' field when resolving imports."),Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports:Ho(6410,3,"Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports_6410","Conditions to set in addition to the resolver-specific defaults when resolving imports."),true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false:Ho(6411,3,"true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false_6411","`true` when 'moduleResolution' is 'node16', 'nodenext', or 'bundler'; otherwise `false`."),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_but_not_any_more:Ho(6412,3,"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_6412","Project '{0}' is out of date because buildinfo file '{1}' indicates that file '{2}' was root file of compilation but not any more."),Entering_conditional_exports:Ho(6413,3,"Entering_conditional_exports_6413","Entering conditional exports."),Resolved_under_condition_0:Ho(6414,3,"Resolved_under_condition_0_6414","Resolved under condition '{0}'."),Failed_to_resolve_under_condition_0:Ho(6415,3,"Failed_to_resolve_under_condition_0_6415","Failed to resolve under condition '{0}'."),Exiting_conditional_exports:Ho(6416,3,"Exiting_conditional_exports_6416","Exiting conditional exports."),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:Ho(6500,3,"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:Ho(6501,3,"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:Ho(6502,3,"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:Ho(6503,3,"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:Ho(6504,1,"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:Ho(6505,3,"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:Ho(6506,3,"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:Ho(6600,3,"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:Ho(6601,3,"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:Ho(6602,3,"Allow_accessing_UMD_globals_from_modules_6602","Allow accessing UMD globals from modules."),Disable_error_reporting_for_unreachable_code:Ho(6603,3,"Disable_error_reporting_for_unreachable_code_6603","Disable error reporting for unreachable code."),Disable_error_reporting_for_unused_labels:Ho(6604,3,"Disable_error_reporting_for_unused_labels_6604","Disable error reporting for unused labels."),Ensure_use_strict_is_always_emitted:Ho(6605,3,"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:Ho(6606,3,"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:Ho(6607,3,"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:Ho(6608,3,"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:Ho(6609,3,"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:Ho(6611,3,"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:Ho(6612,3,"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:Ho(6613,3,"Specify_the_output_directory_for_generated_declaration_files_6613","Specify the output directory for generated declaration files."),Create_sourcemaps_for_d_ts_files:Ho(6614,3,"Create_sourcemaps_for_d_ts_files_6614","Create sourcemaps for d.ts files."),Output_compiler_performance_information_after_building:Ho(6615,3,"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:Ho(6616,3,"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:Ho(6617,3,"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:Ho(6618,3,"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:Ho(6619,3,"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:Ho(6620,3,"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:Ho(6621,3,"Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration_6621","Emit more compliant, but verbose and less performant JavaScript for iteration."),Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files:Ho(6622,3,"Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6622","Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files."),Only_output_d_ts_files_and_not_JavaScript_files:Ho(6623,3,"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:Ho(6624,3,"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:Ho(6625,3,"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:Ho(6626,3,"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:Ho(6627,3,"Filters_results_from_the_include_option_6627","Filters results from the `include` option."),Remove_a_list_of_directories_from_the_watch_process:Ho(6628,3,"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:Ho(6629,3,"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_legacy_experimental_decorators:Ho(6630,3,"Enable_experimental_support_for_legacy_experimental_decorators_6630","Enable experimental support for legacy experimental decorators."),Print_files_read_during_the_compilation_including_why_it_was_included:Ho(6631,3,"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:Ho(6632,3,"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:Ho(6633,3,"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:Ho(6634,3,"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:Ho(6635,3,"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:Ho(6636,3,"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:Ho(6637,3,"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:Ho(6638,3,"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:Ho(6639,3,"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:Ho(6641,3,"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:Ho(6642,3,"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:Ho(6643,3,"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:Ho(6644,3,"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:Ho(6645,3,"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:Ho(6646,3,"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:Ho(6647,3,"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:Ho(6648,3,"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:Ho(6649,3,"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:Ho(6650,3,"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:Ho(6651,3,"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:Ho(6652,3,"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:Ho(6653,3,"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:Ho(6654,3,"Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit_6654","Set the language of the messaging from TypeScript. This does not affect emit."),Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations:Ho(6655,3,"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6655","Specify the location where debugger should locate map files instead of generated locations."),Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs:Ho(6656,3,"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:Ho(6657,3,"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:Ho(6658,3,"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:Ho(6659,3,"Set_the_newline_character_for_emitting_files_6659","Set the newline character for emitting files."),Disable_emitting_files_from_a_compilation:Ho(6660,3,"Disable_emitting_files_from_a_compilation_6660","Disable emitting files from a compilation."),Disable_generating_custom_helper_functions_like_extends_in_compiled_output:Ho(6661,3,"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:Ho(6662,3,"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:Ho(6663,3,"Disable_truncating_types_in_error_messages_6663","Disable truncating types in error messages."),Enable_error_reporting_for_fallthrough_cases_in_switch_statements:Ho(6664,3,"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:Ho(6665,3,"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:Ho(6666,3,"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:Ho(6667,3,"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:Ho(6668,3,"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:Ho(6669,3,"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:Ho(6670,3,"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:Ho(6671,3,"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:Ho(6672,3,"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:Ho(6673,3,"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:Ho(6674,3,"Add_undefined_to_a_type_when_accessed_using_an_index_6674","Add 'undefined' to a type when accessed using an index."),Enable_error_reporting_when_local_variables_aren_t_read:Ho(6675,3,"Enable_error_reporting_when_local_variables_aren_t_read_6675","Enable error reporting when local variables aren't read."),Raise_an_error_when_a_function_parameter_isn_t_read:Ho(6676,3,"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:Ho(6677,3,"Deprecated_setting_Use_outFile_instead_6677","Deprecated setting. Use 'outFile' instead."),Specify_an_output_folder_for_all_emitted_files:Ho(6678,3,"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:Ho(6679,3,"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:Ho(6680,3,"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:Ho(6681,3,"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:Ho(6682,3,"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:Ho(6683,3,"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:Ho(6684,3,"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:Ho(6685,3,"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:Ho(6686,3,"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:Ho(6687,3,"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:Ho(6688,3,"Disable_emitting_comments_6688","Disable emitting comments."),Enable_importing_json_files:Ho(6689,3,"Enable_importing_json_files_6689","Enable importing .json files."),Specify_the_root_folder_within_your_source_files:Ho(6690,3,"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:Ho(6691,3,"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:Ho(6692,3,"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:Ho(6693,3,"Skip_type_checking_all_d_ts_files_6693","Skip type checking all .d.ts files."),Create_source_map_files_for_emitted_JavaScript_files:Ho(6694,3,"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:Ho(6695,3,"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:Ho(6697,3,"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:Ho(6698,3,"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:Ho(6699,3,"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:Ho(6700,3,"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:Ho(6701,3,"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:Ho(6702,3,"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:Ho(6703,3,"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:Ho(6704,3,"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:Ho(6705,3,"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:Ho(6706,3,"Log_paths_used_during_the_moduleResolution_process_6706","Log paths used during the 'moduleResolution' process."),Specify_the_path_to_tsbuildinfo_incremental_compilation_file:Ho(6707,3,"Specify_the_path_to_tsbuildinfo_incremental_compilation_file_6707","Specify the path to .tsbuildinfo incremental compilation file."),Specify_options_for_automatic_acquisition_of_declaration_files:Ho(6709,3,"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:Ho(6710,3,"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:Ho(6711,3,"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:Ho(6712,3,"Emit_ECMAScript_standard_compliant_class_fields_6712","Emit ECMAScript-standard-compliant class fields."),Enable_verbose_logging:Ho(6713,3,"Enable_verbose_logging_6713","Enable verbose logging."),Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality:Ho(6714,3,"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:Ho(6715,3,"Specify_how_the_TypeScript_watch_mode_works_6715","Specify how the TypeScript watch mode works."),Require_undeclared_properties_from_index_signatures_to_use_element_accesses:Ho(6717,3,"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:Ho(6718,3,"Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types_6718","Specify emit/checking behavior for imports that are only used for types."),Default_catch_clause_variables_as_unknown_instead_of_any:Ho(6803,3,"Default_catch_clause_variables_as_unknown_instead_of_any_6803","Default catch clause variables as 'unknown' instead of 'any'."),Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_in_the_output_file_s_format_based_on_the_module_setting:Ho(6804,3,"Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_i_6804","Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting."),one_of_Colon:Ho(6900,3,"one_of_Colon_6900","one of:"),one_or_more_Colon:Ho(6901,3,"one_or_more_Colon_6901","one or more:"),type_Colon:Ho(6902,3,"type_Colon_6902","type:"),default_Colon:Ho(6903,3,"default_Colon_6903","default:"),module_system_or_esModuleInterop:Ho(6904,3,"module_system_or_esModuleInterop_6904",'module === "system" or esModuleInterop'),false_unless_strict_is_set:Ho(6905,3,"false_unless_strict_is_set_6905","`false`, unless `strict` is set"),false_unless_composite_is_set:Ho(6906,3,"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:Ho(6907,3,"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:Ho(6908,3,"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908",'`[]` if `files` is specified, otherwise `["**/*"]`'),true_if_composite_false_otherwise:Ho(6909,3,"true_if_composite_false_otherwise_6909","`true` if `composite`, `false` otherwise"),module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node:Ho(69010,3,"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:Ho(6911,3,"Computed_from_the_list_of_input_files_6911","Computed from the list of input files"),Platform_specific:Ho(6912,3,"Platform_specific_6912","Platform specific"),You_can_learn_about_all_of_the_compiler_options_at_0:Ho(6913,3,"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:Ho(6914,3,"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:Ho(6915,3,"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:Ho(6916,3,"COMMON_COMMANDS_6916","COMMON COMMANDS"),ALL_COMPILER_OPTIONS:Ho(6917,3,"ALL_COMPILER_OPTIONS_6917","ALL COMPILER OPTIONS"),WATCH_OPTIONS:Ho(6918,3,"WATCH_OPTIONS_6918","WATCH OPTIONS"),BUILD_OPTIONS:Ho(6919,3,"BUILD_OPTIONS_6919","BUILD OPTIONS"),COMMON_COMPILER_OPTIONS:Ho(6920,3,"COMMON_COMPILER_OPTIONS_6920","COMMON COMPILER OPTIONS"),COMMAND_LINE_FLAGS:Ho(6921,3,"COMMAND_LINE_FLAGS_6921","COMMAND LINE FLAGS"),tsc_Colon_The_TypeScript_Compiler:Ho(6922,3,"tsc_Colon_The_TypeScript_Compiler_6922","tsc: The TypeScript Compiler"),Compiles_the_current_project_tsconfig_json_in_the_working_directory:Ho(6923,3,"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:Ho(6924,3,"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:Ho(6925,3,"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:Ho(6926,3,"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:Ho(6927,3,"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:Ho(6928,3,"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:Ho(6929,3,"Compiles_the_current_project_with_additional_settings_6929","Compiles the current project, with additional settings."),true_for_ES2022_and_above_including_ESNext:Ho(6930,3,"true_for_ES2022_and_above_including_ESNext_6930","`true` for ES2022 and above, including ESNext."),List_of_file_name_suffixes_to_search_when_resolving_a_module:Ho(6931,1,"List_of_file_name_suffixes_to_search_when_resolving_a_module_6931","List of file name suffixes to search when resolving a module."),Variable_0_implicitly_has_an_1_type:Ho(7005,1,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:Ho(7006,1,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:Ho(7008,1,"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:Ho(7009,1,"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:Ho(7010,1,"_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:Ho(7011,1,"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."),This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation:Ho(7012,1,"This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation_7012","This overload implicitly returns the type '{0}' because it lacks a return type annotation."),Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:Ho(7013,1,"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:Ho(7014,1,"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:Ho(7015,1,"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:Ho(7016,1,"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:Ho(7017,1,"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:Ho(7018,1,"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:Ho(7019,1,"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:Ho(7020,1,"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:Ho(7022,1,"_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:Ho(7023,1,"_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:Ho(7024,1,"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:Ho(7025,1,"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:Ho(7026,1,"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:Ho(7027,1,"Unreachable_code_detected_7027","Unreachable code detected.",!0),Unused_label:Ho(7028,1,"Unused_label_7028","Unused label.",!0),Fallthrough_case_in_switch:Ho(7029,1,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:Ho(7030,1,"Not_all_code_paths_return_a_value_7030","Not all code paths return a value."),Binding_element_0_implicitly_has_an_1_type:Ho(7031,1,"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:Ho(7032,1,"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:Ho(7033,1,"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:Ho(7034,1,"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:Ho(7035,1,"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:Ho(7036,1,"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:Ho(7037,3,"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:Ho(7038,3,"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:Ho(7039,1,"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:Ho(7040,1,"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:Ho(7041,1,"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:Ho(7042,1,"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:Ho(7043,2,"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:Ho(7044,2,"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:Ho(7045,2,"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:Ho(7046,2,"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:Ho(7047,2,"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:Ho(7048,2,"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:Ho(7049,2,"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:Ho(7050,2,"_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:Ho(7051,1,"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:Ho(7052,1,"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:Ho(7053,1,"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:Ho(7054,1,"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:Ho(7055,1,"_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:Ho(7056,1,"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:Ho(7057,1,"yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057","'yield' expression implicitly results in an 'any' type because its containing generator lacks a return-type annotation."),If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1:Ho(7058,1,"If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_decl_7058","If the '{0}' package actually exposes this module, try adding a new declaration (.d.ts) file containing `declare module '{1}';`"),This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead:Ho(7059,1,"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059","This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead."),This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint:Ho(7060,1,"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060","This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma or explicit constraint."),A_mapped_type_may_not_declare_properties_or_methods:Ho(7061,1,"A_mapped_type_may_not_declare_properties_or_methods_7061","A mapped type may not declare properties or methods."),You_cannot_rename_this_element:Ho(8e3,1,"You_cannot_rename_this_element_8000","You cannot rename this element."),You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library:Ho(8001,1,"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:Ho(8002,1,"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:Ho(8003,1,"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:Ho(8004,1,"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:Ho(8005,1,"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:Ho(8006,1,"_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:Ho(8008,1,"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:Ho(8009,1,"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:Ho(8010,1,"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:Ho(8011,1,"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:Ho(8012,1,"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:Ho(8013,1,"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:Ho(8016,1,"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:Ho(8017,1,"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:Ho(8018,1,"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:Ho(8019,3,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:Ho(8020,1,"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:Ho(8021,1,"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:Ho(8022,1,"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:Ho(8023,1,"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:Ho(8024,1,"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:Ho(8025,1,"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:Ho(8026,1,"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:Ho(8027,1,"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:Ho(8028,1,"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:Ho(8029,1,"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:Ho(8030,1,"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:Ho(8031,1,"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:Ho(8032,1,"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:Ho(8033,1,"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:Ho(8034,1,"The_tag_was_first_specified_here_8034","The tag was first specified here."),You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder:Ho(8035,1,"You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder_8035","You cannot rename elements that are defined in a 'node_modules' folder."),You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder:Ho(8036,1,"You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder_8036","You cannot rename elements that are defined in another 'node_modules' folder."),Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files:Ho(8037,1,"Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files_8037","Type satisfaction expressions can only be used in TypeScript files."),Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export:Ho(8038,1,"Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export_8038","Decorators may not appear after 'export' or 'export default' if they also appear before 'export'."),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:Ho(9005,1,"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:Ho(9006,1,"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:Ho(17e3,1,"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:Ho(17001,1,"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:Ho(17002,1,"Expected_corresponding_JSX_closing_tag_for_0_17002","Expected corresponding JSX closing tag for '{0}'."),Cannot_use_JSX_unless_the_jsx_flag_is_provided:Ho(17004,1,"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:Ho(17005,1,"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:Ho(17006,1,"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:Ho(17007,1,"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:Ho(17008,1,"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:Ho(17009,1,"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:Ho(17010,1,"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:Ho(17011,1,"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:Ho(17012,1,"_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:Ho(17013,1,"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:Ho(17014,1,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:Ho(17015,1,"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:Ho(17016,1,"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:Ho(17017,1,"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:Ho(17018,1,"Unknown_type_acquisition_option_0_Did_you_mean_1_17018","Unknown type acquisition option '{0}'. Did you mean '{1}'?"),_0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1:Ho(17019,1,"_0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1_17019","'{0}' at the end of a type is not valid TypeScript syntax. Did you mean to write '{1}'?"),_0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1:Ho(17020,1,"_0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1_17020","'{0}' at the start of a type is not valid TypeScript syntax. Did you mean to write '{1}'?"),Circularity_detected_while_resolving_configuration_Colon_0:Ho(18e3,1,"Circularity_detected_while_resolving_configuration_Colon_0_18000","Circularity detected while resolving configuration: {0}"),The_files_list_in_config_file_0_is_empty:Ho(18002,1,"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:Ho(18003,1,"No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2_18003","No inputs were found in config file '{0}'. Specified 'include' paths were '{1}' and 'exclude' paths were '{2}'."),File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module:Ho(80001,2,"File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module_80001","File is a CommonJS module; it may be converted to an ES module."),This_constructor_function_may_be_converted_to_a_class_declaration:Ho(80002,2,"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:Ho(80003,2,"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:Ho(80004,2,"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:Ho(80005,2,"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:Ho(80006,2,"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:Ho(80007,2,"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:Ho(80008,2,"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:Ho(90001,3,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:Ho(90002,3,"Make_super_call_the_first_statement_in_the_constructor_90002","Make 'super()' call the first statement in the constructor"),Change_extends_to_implements:Ho(90003,3,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:Ho(90004,3,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:Ho(90005,3,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:Ho(90006,3,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:Ho(90007,3,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:Ho(90008,3,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_variable_statement:Ho(90010,3,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:Ho(90011,3,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:Ho(90012,3,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_1:Ho(90013,3,"Import_0_from_1_90013","Import '{0}' from \"{1}\""),Change_0_to_1:Ho(90014,3,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Declare_property_0:Ho(90016,3,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:Ho(90017,3,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:Ho(90018,3,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:Ho(90019,3,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:Ho(90020,3,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:Ho(90021,3,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:Ho(90022,3,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:Ho(90023,3,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:Ho(90024,3,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:Ho(90025,3,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:Ho(90026,3,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:Ho(90027,3,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:Ho(90028,3,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:Ho(90029,3,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:Ho(90030,3,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:Ho(90031,3,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Add_parameter_name:Ho(90034,3,"Add_parameter_name_90034","Add parameter name"),Declare_private_property_0:Ho(90035,3,"Declare_private_property_0_90035","Declare private property '{0}'"),Replace_0_with_Promise_1:Ho(90036,3,"Replace_0_with_Promise_1_90036","Replace '{0}' with 'Promise<{1}>'"),Fix_all_incorrect_return_type_of_an_async_functions:Ho(90037,3,"Fix_all_incorrect_return_type_of_an_async_functions_90037","Fix all incorrect return type of an async functions"),Declare_private_method_0:Ho(90038,3,"Declare_private_method_0_90038","Declare private method '{0}'"),Remove_unused_destructuring_declaration:Ho(90039,3,"Remove_unused_destructuring_declaration_90039","Remove unused destructuring declaration"),Remove_unused_declarations_for_Colon_0:Ho(90041,3,"Remove_unused_declarations_for_Colon_0_90041","Remove unused declarations for: '{0}'"),Declare_a_private_field_named_0:Ho(90053,3,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Includes_imports_of_types_referenced_by_0:Ho(90054,3,"Includes_imports_of_types_referenced_by_0_90054","Includes imports of types referenced by '{0}'"),Remove_type_from_import_declaration_from_0:Ho(90055,3,"Remove_type_from_import_declaration_from_0_90055","Remove 'type' from import declaration from \"{0}\""),Remove_type_from_import_of_0_from_1:Ho(90056,3,"Remove_type_from_import_of_0_from_1_90056","Remove 'type' from import of '{0}' from \"{1}\""),Add_import_from_0:Ho(90057,3,"Add_import_from_0_90057",'Add import from "{0}"'),Update_import_from_0:Ho(90058,3,"Update_import_from_0_90058",'Update import from "{0}"'),Export_0_from_module_1:Ho(90059,3,"Export_0_from_module_1_90059","Export '{0}' from module '{1}'"),Export_all_referenced_locals:Ho(90060,3,"Export_all_referenced_locals_90060","Export all referenced locals"),Convert_function_to_an_ES2015_class:Ho(95001,3,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_0_to_1_in_0:Ho(95003,3,"Convert_0_to_1_in_0_95003","Convert '{0}' to '{1} in {0}'"),Extract_to_0_in_1:Ho(95004,3,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:Ho(95005,3,"Extract_function_95005","Extract function"),Extract_constant:Ho(95006,3,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:Ho(95007,3,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:Ho(95008,3,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:Ho(95009,3,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Infer_type_of_0_from_usage:Ho(95011,3,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:Ho(95012,3,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:Ho(95013,3,"Convert_to_default_import_95013","Convert to default import"),Install_0:Ho(95014,3,"Install_0_95014","Install '{0}'"),Replace_import_with_0:Ho(95015,3,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:Ho(95016,3,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES_module:Ho(95017,3,"Convert_to_ES_module_95017","Convert to ES module"),Add_undefined_type_to_property_0:Ho(95018,3,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:Ho(95019,3,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:Ho(95020,3,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Convert_all_type_literals_to_mapped_type:Ho(95021,3,"Convert_all_type_literals_to_mapped_type_95021","Convert all type literals to mapped type"),Add_all_missing_members:Ho(95022,3,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:Ho(95023,3,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:Ho(95024,3,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:Ho(95025,3,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:Ho(95026,3,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:Ho(95027,3,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:Ho(95028,3,"Add_definite_assignment_assertions_to_all_uninitialized_properties_95028","Add definite assignment assertions to all uninitialized properties"),Add_undefined_type_to_all_uninitialized_properties:Ho(95029,3,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:Ho(95030,3,"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:Ho(95031,3,"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:Ho(95032,3,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:Ho(95033,3,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:Ho(95034,3,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:Ho(95035,3,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:Ho(95036,3,"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:Ho(95037,3,"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:Ho(95038,3,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:Ho(95039,3,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:Ho(95040,3,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:Ho(95041,3,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:Ho(95042,3,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:Ho(95043,3,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:Ho(95044,3,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:Ho(95045,3,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:Ho(95046,3,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:Ho(95047,3,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:Ho(95048,3,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:Ho(95049,3,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:Ho(95050,3,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:Ho(95051,3,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:Ho(95052,3,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:Ho(95053,3,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:Ho(95054,3,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:Ho(95055,3,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:Ho(95056,3,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:Ho(95057,3,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:Ho(95058,3,"Add_or_remove_braces_in_an_arrow_function_95058","Add or remove braces in an arrow function"),Add_braces_to_arrow_function:Ho(95059,3,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:Ho(95060,3,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:Ho(95061,3,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:Ho(95062,3,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:Ho(95063,3,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:Ho(95064,3,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:Ho(95065,3,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:Ho(95066,3,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_missing_call_parentheses:Ho(95067,3,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:Ho(95068,3,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),Add_unknown_conversion_for_non_overlapping_types:Ho(95069,3,"Add_unknown_conversion_for_non_overlapping_types_95069","Add 'unknown' conversion for non-overlapping types"),Add_unknown_to_all_conversions_of_non_overlapping_types:Ho(95070,3,"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:Ho(95071,3,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:Ho(95072,3,"Add_missing_new_operator_to_all_calls_95072","Add missing 'new' operator to all calls"),Add_names_to_all_parameters_without_names:Ho(95073,3,"Add_names_to_all_parameters_without_names_95073","Add names to all parameters without names"),Enable_the_experimentalDecorators_option_in_your_configuration_file:Ho(95074,3,"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074","Enable the 'experimentalDecorators' option in your configuration file"),Convert_parameters_to_destructured_object:Ho(95075,3,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Extract_type:Ho(95077,3,"Extract_type_95077","Extract type"),Extract_to_type_alias:Ho(95078,3,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:Ho(95079,3,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:Ho(95080,3,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:Ho(95081,3,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:Ho(95082,3,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:Ho(95083,3,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:Ho(95084,3,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:Ho(95085,3,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:Ho(95086,3,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:Ho(95087,3,"Remove_all_unnecessary_uses_of_await_95087","Remove all unnecessary uses of 'await'"),Enable_the_jsx_flag_in_your_configuration_file:Ho(95088,3,"Enable_the_jsx_flag_in_your_configuration_file_95088","Enable the '--jsx' flag in your configuration file"),Add_await_to_initializers:Ho(95089,3,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:Ho(95090,3,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:Ho(95091,3,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:Ho(95092,3,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:Ho(95093,3,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:Ho(95094,3,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:Ho(95095,3,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:Ho(95096,3,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:Ho(95097,3,"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:Ho(95098,3,"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:Ho(95099,3,"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:Ho(95100,3,"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:Ho(95101,3,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Convert_all_const_to_let:Ho(95102,3,"Convert_all_const_to_let_95102","Convert all 'const' to 'let'"),Convert_function_expression_0_to_arrow_function:Ho(95105,3,"Convert_function_expression_0_to_arrow_function_95105","Convert function expression '{0}' to arrow function"),Convert_function_declaration_0_to_arrow_function:Ho(95106,3,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:Ho(95107,3,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:Ho(95108,3,"Wrap_invalid_character_in_an_expression_container_95108","Wrap invalid character in an expression container"),Wrap_all_invalid_characters_in_an_expression_container:Ho(95109,3,"Wrap_all_invalid_characters_in_an_expression_container_95109","Wrap all invalid characters in an expression container"),Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file:Ho(95110,3,"Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file_95110","Visit https://aka.ms/tsconfig to read more about this file"),Add_a_return_statement:Ho(95111,3,"Add_a_return_statement_95111","Add a return statement"),Remove_braces_from_arrow_function_body:Ho(95112,3,"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:Ho(95113,3,"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:Ho(95114,3,"Add_all_missing_return_statement_95114","Add all missing return statement"),Remove_braces_from_all_arrow_function_bodies_with_relevant_issues:Ho(95115,3,"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:Ho(95116,3,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),Move_labeled_tuple_element_modifiers_to_labels:Ho(95117,3,"Move_labeled_tuple_element_modifiers_to_labels_95117","Move labeled tuple element modifiers to labels"),Convert_overload_list_to_single_signature:Ho(95118,3,"Convert_overload_list_to_single_signature_95118","Convert overload list to single signature"),Generate_get_and_set_accessors_for_all_overriding_properties:Ho(95119,3,"Generate_get_and_set_accessors_for_all_overriding_properties_95119","Generate 'get' and 'set' accessors for all overriding properties"),Wrap_in_JSX_fragment:Ho(95120,3,"Wrap_in_JSX_fragment_95120","Wrap in JSX fragment"),Wrap_all_unparented_JSX_in_JSX_fragment:Ho(95121,3,"Wrap_all_unparented_JSX_in_JSX_fragment_95121","Wrap all unparented JSX in JSX fragment"),Convert_arrow_function_or_function_expression:Ho(95122,3,"Convert_arrow_function_or_function_expression_95122","Convert arrow function or function expression"),Convert_to_anonymous_function:Ho(95123,3,"Convert_to_anonymous_function_95123","Convert to anonymous function"),Convert_to_named_function:Ho(95124,3,"Convert_to_named_function_95124","Convert to named function"),Convert_to_arrow_function:Ho(95125,3,"Convert_to_arrow_function_95125","Convert to arrow function"),Remove_parentheses:Ho(95126,3,"Remove_parentheses_95126","Remove parentheses"),Could_not_find_a_containing_arrow_function:Ho(95127,3,"Could_not_find_a_containing_arrow_function_95127","Could not find a containing arrow function"),Containing_function_is_not_an_arrow_function:Ho(95128,3,"Containing_function_is_not_an_arrow_function_95128","Containing function is not an arrow function"),Could_not_find_export_statement:Ho(95129,3,"Could_not_find_export_statement_95129","Could not find export statement"),This_file_already_has_a_default_export:Ho(95130,3,"This_file_already_has_a_default_export_95130","This file already has a default export"),Could_not_find_import_clause:Ho(95131,3,"Could_not_find_import_clause_95131","Could not find import clause"),Could_not_find_namespace_import_or_named_imports:Ho(95132,3,"Could_not_find_namespace_import_or_named_imports_95132","Could not find namespace import or named imports"),Selection_is_not_a_valid_type_node:Ho(95133,3,"Selection_is_not_a_valid_type_node_95133","Selection is not a valid type node"),No_type_could_be_extracted_from_this_type_node:Ho(95134,3,"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:Ho(95135,3,"Could_not_find_property_for_which_to_generate_accessor_95135","Could not find property for which to generate accessor"),Name_is_not_valid:Ho(95136,3,"Name_is_not_valid_95136","Name is not valid"),Can_only_convert_property_with_modifier:Ho(95137,3,"Can_only_convert_property_with_modifier_95137","Can only convert property with modifier"),Switch_each_misused_0_to_1:Ho(95138,3,"Switch_each_misused_0_to_1_95138","Switch each misused '{0}' to '{1}'"),Convert_to_optional_chain_expression:Ho(95139,3,"Convert_to_optional_chain_expression_95139","Convert to optional chain expression"),Could_not_find_convertible_access_expression:Ho(95140,3,"Could_not_find_convertible_access_expression_95140","Could not find convertible access expression"),Could_not_find_matching_access_expressions:Ho(95141,3,"Could_not_find_matching_access_expressions_95141","Could not find matching access expressions"),Can_only_convert_logical_AND_access_chains:Ho(95142,3,"Can_only_convert_logical_AND_access_chains_95142","Can only convert logical AND access chains"),Add_void_to_Promise_resolved_without_a_value:Ho(95143,3,"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:Ho(95144,3,"Add_void_to_all_Promises_resolved_without_a_value_95144","Add 'void' to all Promises resolved without a value"),Use_element_access_for_0:Ho(95145,3,"Use_element_access_for_0_95145","Use element access for '{0}'"),Use_element_access_for_all_undeclared_properties:Ho(95146,3,"Use_element_access_for_all_undeclared_properties_95146","Use element access for all undeclared properties."),Delete_all_unused_imports:Ho(95147,3,"Delete_all_unused_imports_95147","Delete all unused imports"),Infer_function_return_type:Ho(95148,3,"Infer_function_return_type_95148","Infer function return type"),Return_type_must_be_inferred_from_a_function:Ho(95149,3,"Return_type_must_be_inferred_from_a_function_95149","Return type must be inferred from a function"),Could_not_determine_function_return_type:Ho(95150,3,"Could_not_determine_function_return_type_95150","Could not determine function return type"),Could_not_convert_to_arrow_function:Ho(95151,3,"Could_not_convert_to_arrow_function_95151","Could not convert to arrow function"),Could_not_convert_to_named_function:Ho(95152,3,"Could_not_convert_to_named_function_95152","Could not convert to named function"),Could_not_convert_to_anonymous_function:Ho(95153,3,"Could_not_convert_to_anonymous_function_95153","Could not convert to anonymous function"),Can_only_convert_string_concatenation:Ho(95154,3,"Can_only_convert_string_concatenation_95154","Can only convert string concatenation"),Selection_is_not_a_valid_statement_or_statements:Ho(95155,3,"Selection_is_not_a_valid_statement_or_statements_95155","Selection is not a valid statement or statements"),Add_missing_function_declaration_0:Ho(95156,3,"Add_missing_function_declaration_0_95156","Add missing function declaration '{0}'"),Add_all_missing_function_declarations:Ho(95157,3,"Add_all_missing_function_declarations_95157","Add all missing function declarations"),Method_not_implemented:Ho(95158,3,"Method_not_implemented_95158","Method not implemented."),Function_not_implemented:Ho(95159,3,"Function_not_implemented_95159","Function not implemented."),Add_override_modifier:Ho(95160,3,"Add_override_modifier_95160","Add 'override' modifier"),Remove_override_modifier:Ho(95161,3,"Remove_override_modifier_95161","Remove 'override' modifier"),Add_all_missing_override_modifiers:Ho(95162,3,"Add_all_missing_override_modifiers_95162","Add all missing 'override' modifiers"),Remove_all_unnecessary_override_modifiers:Ho(95163,3,"Remove_all_unnecessary_override_modifiers_95163","Remove all unnecessary 'override' modifiers"),Can_only_convert_named_export:Ho(95164,3,"Can_only_convert_named_export_95164","Can only convert named export"),Add_missing_properties:Ho(95165,3,"Add_missing_properties_95165","Add missing properties"),Add_all_missing_properties:Ho(95166,3,"Add_all_missing_properties_95166","Add all missing properties"),Add_missing_attributes:Ho(95167,3,"Add_missing_attributes_95167","Add missing attributes"),Add_all_missing_attributes:Ho(95168,3,"Add_all_missing_attributes_95168","Add all missing attributes"),Add_undefined_to_optional_property_type:Ho(95169,3,"Add_undefined_to_optional_property_type_95169","Add 'undefined' to optional property type"),Convert_named_imports_to_default_import:Ho(95170,3,"Convert_named_imports_to_default_import_95170","Convert named imports to default import"),Delete_unused_param_tag_0:Ho(95171,3,"Delete_unused_param_tag_0_95171","Delete unused '@param' tag '{0}'"),Delete_all_unused_param_tags:Ho(95172,3,"Delete_all_unused_param_tags_95172","Delete all unused '@param' tags"),Rename_param_tag_name_0_to_1:Ho(95173,3,"Rename_param_tag_name_0_to_1_95173","Rename '@param' tag name '{0}' to '{1}'"),Use_0:Ho(95174,3,"Use_0_95174","Use `{0}`."),Use_Number_isNaN_in_all_conditions:Ho(95175,3,"Use_Number_isNaN_in_all_conditions_95175","Use `Number.isNaN` in all conditions."),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:Ho(18004,1,"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:Ho(18006,1,"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:Ho(18007,1,"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:Ho(18009,1,"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:Ho(18010,1,"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:Ho(18011,1,"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:Ho(18012,1,"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:Ho(18013,1,"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:Ho(18014,1,"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:Ho(18015,1,"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:Ho(18016,1,"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:Ho(18017,1,"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:Ho(18018,1,"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:Ho(18019,1,"_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:Ho(18024,1,"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:Ho(18026,1,"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:Ho(18027,1,"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:Ho(18028,1,"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:Ho(18029,1,"Private_identifiers_are_not_allowed_in_variable_declarations_18029","Private identifiers are not allowed in variable declarations."),An_optional_chain_cannot_contain_private_identifiers:Ho(18030,1,"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:Ho(18031,1,"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:Ho(18032,1,"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."),Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values:Ho(18033,1,"Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values_18033","Type '{0}' is not assignable to type '{1}' as required for computed enum member values."),Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compiler_option_is_specified_e_g_Fragment:Ho(18034,3,"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:Ho(18035,1,"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:Ho(18036,1,"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:Ho(18037,1,"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:Ho(18038,1,"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:Ho(18039,1,"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:Ho(18041,1,"A_return_statement_cannot_be_used_inside_a_class_static_block_18041","A 'return' statement cannot be used inside a class static block."),_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation:Ho(18042,1,"_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation_18042","'{0}' is a type and cannot be imported in JavaScript files. Use '{1}' in a JSDoc type annotation."),Types_cannot_appear_in_export_declarations_in_JavaScript_files:Ho(18043,1,"Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043","Types cannot appear in export declarations in JavaScript files."),_0_is_automatically_exported_here:Ho(18044,3,"_0_is_automatically_exported_here_18044","'{0}' is automatically exported here."),Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher:Ho(18045,1,"Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher_18045","Properties with the 'accessor' modifier are only available when targeting ECMAScript 2015 and higher."),_0_is_of_type_unknown:Ho(18046,1,"_0_is_of_type_unknown_18046","'{0}' is of type 'unknown'."),_0_is_possibly_null:Ho(18047,1,"_0_is_possibly_null_18047","'{0}' is possibly 'null'."),_0_is_possibly_undefined:Ho(18048,1,"_0_is_possibly_undefined_18048","'{0}' is possibly 'undefined'."),_0_is_possibly_null_or_undefined:Ho(18049,1,"_0_is_possibly_null_or_undefined_18049","'{0}' is possibly 'null' or 'undefined'."),The_value_0_cannot_be_used_here:Ho(18050,1,"The_value_0_cannot_be_used_here_18050","The value '{0}' cannot be used here."),Compiler_option_0_cannot_be_given_an_empty_string:Ho(18051,1,"Compiler_option_0_cannot_be_given_an_empty_string_18051","Compiler option '{0}' cannot be given an empty string.")}}});function ss(e){return e>=79}function cs(e){return 31===e||ss(e)}function ls(e,n){if(e<n[0])return!1;let t,r=0,i=n.length;for(;r+1<i;){if(t=r+(i-r)/2,t-=t%2,n[t]<=e&&e<=n[t+1])return!0;e<n[t]?i=t:r=t+2}return!1}function ds(e,n){return ls(e,n>=2?$o:1===n?Xo:zo)}function us(e){return ns[e]}function _s(e){return qo.get(e)}function ps(e){const n=[];let t=0,r=0;for(;t<e.length;){const i=e.charCodeAt(t);switch(t++,i){case 13:10===e.charCodeAt(t)&&t++;case 10:n.push(r),r=t;break;default:i>127&&xs(i)&&(n.push(r),r=t)}}return n.push(r),n}function fs(e,n,t,r){return e.getPositionOfLineAndCharacter?e.getPositionOfLineAndCharacter(n,t,r):ms(hs(e),n,t,e.text,r)}function ms(e,n,t,r,i){(n<0||n>=e.length)&&(i?n=n<0?0:n>=e.length?e.length-1:n:Nt.fail(`Bad line number. Line: ${n}, lineStarts.length: ${e.length} , line map is correct? ${void 0!==r?B(e,ps(r)):"unknown"}`));const a=e[n]+t;return i?a>e[n+1]?e[n+1]:"string"==typeof r&&a>r.length?r.length:a:(n<e.length-1?Nt.assert(a<e[n+1]):void 0!==r&&Nt.assert(a<=r.length),a)}function hs(e){return e.lineMap||(e.lineMap=ps(e.text))}function gs(e,n){const t=ys(e,n);return{line:t,character:n-e[t]}}function ys(e,n,t){let r=He(e,n,Cn,Un,t);return r<0&&(r=~r-1,Nt.assert(-1!==r,"position cannot precede the beginning of the file")),r}function vs(e,n,t){if(n===t)return 0;const r=hs(e),i=Math.min(n,t),a=i===t,o=a?n:t,s=ys(r,i),c=ys(r,o,s);return a?s-c:c-s}function bs(e,n){return gs(hs(e),n)}function Es(e){return Ts(e)||xs(e)}function Ts(e){return 32===e||9===e||11===e||12===e||160===e||133===e||5760===e||e>=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function xs(e){return 10===e||13===e||8232===e||8233===e}function Ss(e){return e>=48&&e<=57}function As(e){return Ss(e)||e>=65&&e<=70||e>=97&&e<=102}function Ls(e){return e>=48&&e<=55}function Cs(e,n){const 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 t>127}}function ks(e,n,t,r,i){if(Xx(n))return n;let a=!1;for(;;){const o=e.charCodeAt(n);switch(o){case 13:10===e.charCodeAt(n+1)&&n++;case 10:if(n++,t)return n;a=!!i;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&&!xs(e.charCodeAt(n));)n++;a=!1;continue}if(42===e.charCodeAt(n+1)){for(n+=2;n<e.length;){if(42===e.charCodeAt(n)&&47===e.charCodeAt(n+1)){n+=2;break}n++}a=!1;continue}break;case 60:case 124:case 61:case 62:if(Is(e,n)){n=ws(e,n),a=!1;continue}break;case 35:if(0===n&&Rs(e,n)){n=Ns(e,n),a=!1;continue}break;case 42:if(a){n++,a=!1;continue}break;default:if(o>127&&Es(o)){n++;continue}}return n}}function Is(e,n){if(Nt.assert(n>=0),0===n||xs(e.charCodeAt(n-1))){const t=e.charCodeAt(n);if(n+ts<e.length){for(let r=0;r<ts;r++)if(e.charCodeAt(n+r)!==t)return!1;return 61===t||32===e.charCodeAt(n+ts)}}return!1}function ws(e,n,t){t&&t(Vo.Merge_conflict_marker_encountered,n,ts);const r=e.charCodeAt(n),i=e.length;if(60===r||62===r)for(;n<i&&!xs(e.charCodeAt(n));)n++;else for(Nt.assert(124===r||61===r);n<i;){const t=e.charCodeAt(n);if((61===t||62===t)&&t!==r&&Is(e,n))break;n++}return n}function Rs(e,n){return Nt.assert(0===n),rs.test(e)}function Ns(e,n){return n+rs.exec(e)[0].length}function Ds(e,n,t,r,i,a,o){let s,c,l,d,u=!1,_=r,p=o;if(0===t){_=!0;const e=Vs(n);e&&(t=e.length)}e:for(;t>=0&&t<n.length;){const o=n.charCodeAt(t);switch(o){case 13:10===n.charCodeAt(t+1)&&t++;case 10:if(t++,r)break e;_=!0,u&&(d=!0);continue;case 9:case 11:case 12:case 32:t++;continue;case 47:const f=n.charCodeAt(t+1);let m=!1;if(47===f||42===f){const r=47===f?2:3,o=t;if(t+=2,47===f)for(;t<n.length;){if(xs(n.charCodeAt(t))){m=!0;break}t++}else for(;t<n.length;){if(42===n.charCodeAt(t)&&47===n.charCodeAt(t+1)){t+=2;break}t++}if(_){if(u&&(p=i(s,c,l,d,a,p),!e&&p))return p;s=o,c=t,l=r,d=m,u=!0}continue}break e;default:if(o>127&&Es(o)){u&&xs(o)&&(d=!0),t++;continue}break e}}return u&&(p=i(s,c,l,d,a,p)),p}function Os(e,n,t,r){return Ds(!1,e,n,!1,t,r)}function Ms(e,n,t,r){return Ds(!1,e,n,!0,t,r)}function Ps(e,n,t,r,i){return Ds(!0,e,n,!1,t,r,i)}function Fs(e,n,t,r,i){return Ds(!0,e,n,!0,t,r,i)}function Gs(e,n,t,r,i,a=[]){return a.push({kind:t,pos:e,end:n,hasTrailingNewLine:r}),a}function Bs(e,n){return Ps(e,n,Gs,void 0,void 0)}function Us(e,n){return Fs(e,n,Gs,void 0,void 0)}function Vs(e){const n=rs.exec(e);if(n)return n[0]}function js(e,n){return e>=65&&e<=90||e>=97&&e<=122||36===e||95===e||e>127&&ds(e,n)}function Hs(e,n,t){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||36===e||95===e||1===t&&(45===e||58===e)||e>127&&function(e,n){return ls(e,n>=2?Qo:1===n?Yo:Jo)}(e,n)}function Ks(e,n,t){let r=is(e,0);if(!js(r,n))return!1;for(let i=qs(r);i<e.length;i+=qs(r))if(!Hs(r=is(e,i),n,t))return!1;return!0}function Ws(e,n,t=0,r,i,a,o){var s,c,l,d,u,_,p,f,m=r,h=0;K(m,a,o);var g={getStartPos:()=>l,getTextPos:()=>s,getToken:()=>u,getTokenPos:()=>d,getTokenText:()=>m.substring(d,s),getTokenValue:()=>_,hasUnicodeEscape:()=>0!=(1024&p),hasExtendedUnicodeEscape:()=>0!=(8&p),hasPrecedingLineBreak:()=>0!=(1&p),hasPrecedingJSDocComment:()=>0!=(2&p),isIdentifier:()=>79===u||u>116,isReservedWord:()=>u>=81&&u<=116,isUnterminated:()=>0!=(4&p),getCommentDirectives:()=>f,getNumericLiteralFlags:()=>1008&p,getTokenFlags:()=>p,reScanGreaterToken:function(){if(31===u){if(62===m.charCodeAt(s))return 62===m.charCodeAt(s+1)?61===m.charCodeAt(s+2)?(s+=3,u=72):(s+=2,u=49):61===m.charCodeAt(s+1)?(s+=2,u=71):(s++,u=48);if(61===m.charCodeAt(s))return s++,u=33}return u},reScanAsteriskEqualsToken:function(){return Nt.assert(66===u,"'reScanAsteriskEqualsToken' should only be called on a '*='"),s=d+1,u=63},reScanSlashToken:function(){if(43===u||68===u){let n=d+1,t=!1,r=!1;for(;;){if(n>=c){p|=4,v(Vo.Unterminated_regular_expression_literal);break}const e=m.charCodeAt(n);if(xs(e)){p|=4,v(Vo.Unterminated_regular_expression_literal);break}if(t)t=!1;else{if(47===e&&!r){n++;break}91===e?r=!0:92===e?t=!0:93===e&&(r=!1)}n++}for(;n<c&&Hs(m.charCodeAt(n),e);)n++;s=n,_=m.substring(d,s),u=13}return u},reScanTemplateToken:function(e){return Nt.assert(19===u,"'reScanTemplateToken' should only be called on a '}'"),s=d,u=k(e)},reScanTemplateHeadOrNoSubstitutionTemplate:function(){return s=d,u=k(!0)},scanJsxIdentifier:function(){if(ss(u)){let e=!1;for(;s<c;){const n=m.charCodeAt(s);if(45===n){_+="-",s++;continue}if(58===n&&!e){_+=":",s++,e=!0,u=79;continue}const t=s;if(_+=O(),s===t)break}return":"===_.slice(-1)&&(_=_.slice(0,-1),s--),M()}return u},scanJsxAttributeValue:j,reScanJsxAttributeValue:function(){return s=d=l,j()},reScanJsxToken:function(e=!0){return s=d=l,u=V(e)},reScanLessThanToken:function(){return 47===u?(s=d+1,u=29):u},reScanHashToken:function(){return 80===u?(s=d+1,u=62):u},reScanQuestionToken:function(){return Nt.assert(60===u,"'reScanQuestionToken' should only be called on a '??'"),s=d+1,u=57},reScanInvalidIdentifier:function(){Nt.assert(0===u,"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'."),s=d=l,p=0;const e=is(m,s),n=B(e,99);return n?u=n:(s+=qs(e),u)},scanJsxToken:V,scanJsDocToken:function(){if(l=d=s,p=0,s>=c)return u=1;const n=is(m,s);switch(s+=qs(n),n){case 9:case 11:case 12:case 32:for(;s<c&&Ts(m.charCodeAt(s));)s++;return u=5;case 64:return u=59;case 13:10===m.charCodeAt(s)&&s++;case 10:return p|=1,u=4;case 42:return u=41;case 123:return u=18;case 125:return u=19;case 91:return u=22;case 93:return u=23;case 60:return u=29;case 62:return u=31;case 61:return u=63;case 44:return u=27;case 46:return u=24;case 96:return u=61;case 35:return u=62;case 92:s--;const n=D();if(n>=0&&js(n,e))return s+=3,p|=8,_=R()+O(),u=M();const t=N();return t>=0&&js(t,e)?(s+=6,p|=1024,_=String.fromCharCode(t)+O(),u=M()):(s++,u=0)}if(js(n,e)){let t=n;for(;s<c&&Hs(t=is(m,s),e)||45===m.charCodeAt(s);)s+=qs(t);return _=m.substring(d,s),92===t&&(_+=O()),u=M()}return u=0},scan:G,getText:function(){return m},clearCommentDirectives:function(){f=void 0},setText:K,setScriptTarget:function(n){e=n},setLanguageVariant:function(e){t=e},setOnError:function(e){i=e},setTextPos:W,setInJSDocType:function(e){h+=e?1:-1},tryScan:function(e){return H(e,!1)},lookAhead:function(e){return H(e,!0)},scanRange:function(e,n,t){const r=c,i=s,a=l,o=d,h=u,g=_,y=p,v=f;K(m,e,n);const b=t();return c=r,s=i,l=a,d=o,u=h,_=g,p=y,f=v,b}};return Nt.isDebugging&&Object.defineProperty(g,"__debugShowCurrentPositionInText",{get:()=>{const e=g.getText();return e.slice(0,g.getStartPos())+"║"+e.slice(g.getStartPos())}}),g;function v(e,n=s,t){if(i){const r=s;s=n,i(e,t||0),s=r}}function b(){let e=s,n=!1,t=!1,r="";for(;;){const i=m.charCodeAt(s);if(95!==i){if(!Ss(i))break;n=!0,t=!1,s++}else p|=512,n?(n=!1,t=!0,r+=m.substring(e,s)):v(t?Vo.Multiple_consecutive_numeric_separators_are_not_permitted:Vo.Numeric_separators_are_not_allowed_here,s,1),e=++s}return 95===m.charCodeAt(s-1)&&v(Vo.Numeric_separators_are_not_allowed_here,s-1,1),r+m.substring(e,s)}function E(){const e=s,n=b();let t,r;46===m.charCodeAt(s)&&(s++,t=b());let i,a=s;if(69===m.charCodeAt(s)||101===m.charCodeAt(s)){s++,p|=16,43!==m.charCodeAt(s)&&45!==m.charCodeAt(s)||s++;const e=s,n=b();n?(r=m.substring(a,e)+n,a=s):v(Vo.Digit_expected)}if(512&p?(i=n,t&&(i+="."+t),r&&(i+=r)):i=m.substring(e,a),void 0!==t||16&p)return T(e,void 0===t&&!!(16&p)),{type:8,value:""+ +i};{_=i;const n=F();return T(e),{type:n,value:_}}}function T(n,t){if(!js(is(m,s),e))return;const r=s,{length:i}=O();1===i&&"n"===m[r]?v(t?Vo.A_bigint_literal_cannot_use_exponential_notation:Vo.A_bigint_literal_must_be_an_integer,n,r-n+1):(v(Vo.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal,r,i),s=r)}function x(){const e=s;for(;Ls(m.charCodeAt(s));)s++;return+m.substring(e,s)}function S(e,n){const t=L(e,!1,n);return t?parseInt(t,16):-1}function A(e,n){return L(e,!0,n)}function L(e,n,t){let r=[],i=!1,a=!1;for(;r.length<e||n;){let e=m.charCodeAt(s);if(t&&95===e)p|=512,i?(i=!1,a=!0):v(a?Vo.Multiple_consecutive_numeric_separators_are_not_permitted:Vo.Numeric_separators_are_not_allowed_here,s,1),s++;else{if(i=t,e>=65&&e<=70)e+=32;else if(!(e>=48&&e<=57||e>=97&&e<=102))break;r.push(e),s++,a=!1}}return r.length<e&&(r=[]),95===m.charCodeAt(s-1)&&v(Vo.Numeric_separators_are_not_allowed_here,s-1,1),String.fromCharCode(...r)}function C(e=!1){const n=m.charCodeAt(s);let t="",r=++s;for(;;){if(s>=c){t+=m.substring(r,s),p|=4,v(Vo.Unterminated_string_literal);break}const i=m.charCodeAt(s);if(i===n){t+=m.substring(r,s),s++;break}if(92!==i||e){if(xs(i)&&!e){t+=m.substring(r,s),p|=4,v(Vo.Unterminated_string_literal);break}s++}else t+=m.substring(r,s),t+=I(),r=s}return t}function k(e){const n=96===m.charCodeAt(s);let t,r=++s,i="";for(;;){if(s>=c){i+=m.substring(r,s),p|=4,v(Vo.Unterminated_template_literal),t=n?14:17;break}const a=m.charCodeAt(s);if(96===a){i+=m.substring(r,s),s++,t=n?14:17;break}if(36===a&&s+1<c&&123===m.charCodeAt(s+1)){i+=m.substring(r,s),s+=2,t=n?15:16;break}92!==a?13!==a?s++:(i+=m.substring(r,s),++s<c&&10===m.charCodeAt(s)&&s++,i+="\n",r=s):(i+=m.substring(r,s),i+=I(e),r=s)}return Nt.assert(void 0!==t),_=i,t}function I(e){const n=s;if(++s>=c)return v(Vo.Unexpected_end_of_text),"";const t=m.charCodeAt(s);switch(s++,t){case 48:return e&&s<c&&Ss(m.charCodeAt(s))?(s++,p|=2048,m.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(let e=s;e<s+4;e++)if(e<c&&!As(m.charCodeAt(e))&&123!==m.charCodeAt(e))return s=e,p|=2048,m.substring(n,s);if(s<c&&123===m.charCodeAt(s)){if(s++,e&&!As(m.charCodeAt(s)))return p|=2048,m.substring(n,s);if(e){const e=s,t=A(1,!1);if(!((t?parseInt(t,16):-1)<=1114111&&125===m.charCodeAt(s)))return p|=2048,m.substring(n,s);s=e}return p|=8,R()}return p|=1024,w(4);case 120:if(e){if(!As(m.charCodeAt(s)))return p|=2048,m.substring(n,s);if(!As(m.charCodeAt(s+1)))return s++,p|=2048,m.substring(n,s)}return w(2);case 13:s<c&&10===m.charCodeAt(s)&&s++;case 10:case 8232:case 8233:return"";default:return String.fromCharCode(t)}}function w(e){const n=S(e,!1);return n>=0?String.fromCharCode(n):(v(Vo.Hexadecimal_digit_expected),"")}function R(){const e=A(1,!1),n=e?parseInt(e,16):-1;let t=!1;return n<0?(v(Vo.Hexadecimal_digit_expected),t=!0):n>1114111&&(v(Vo.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),t=!0),s>=c?(v(Vo.Unexpected_end_of_text),t=!0):125===m.charCodeAt(s)?s++:(v(Vo.Unterminated_Unicode_escape_sequence),t=!0),t?"":Js(n)}function N(){if(s+5<c&&117===m.charCodeAt(s+1)){const e=s;s+=2;const n=S(4,!1);return s=e,n}return-1}function D(){if(117===is(m,s+1)&&123===is(m,s+2)){const e=s;s+=3;const n=A(1,!1),t=n?parseInt(n,16):-1;return s=e,t}return-1}function O(){let n="",t=s;for(;s<c;){let r=is(m,s);if(Hs(r,e))s+=qs(r);else{if(92!==r)break;if(r=D(),r>=0&&Hs(r,e)){s+=3,p|=8,n+=R(),t=s;continue}if(r=N(),!(r>=0&&Hs(r,e)))break;p|=1024,n+=m.substring(t,s),n+=Js(r),t=s+=6}}return n+=m.substring(t,s),n}function M(){const e=_.length;if(e>=2&&e<=12){const e=_.charCodeAt(0);if(e>=97&&e<=122){const e=Wo.get(_);if(void 0!==e)return u=e}}return u=79}function P(e){let n="",t=!1,r=!1;for(;;){const i=m.charCodeAt(s);if(95!==i){if(t=!0,!Ss(i)||i-48>=e)break;n+=m[s],s++,r=!1}else p|=512,t?(t=!1,r=!0):v(r?Vo.Multiple_consecutive_numeric_separators_are_not_permitted:Vo.Numeric_separators_are_not_allowed_here,s,1),s++}return 95===m.charCodeAt(s-1)&&v(Vo.Numeric_separators_are_not_allowed_here,s-1,1),n}function F(){if(110===m.charCodeAt(s))return _+="n",384&p&&(_=dS(_)+"n"),s++,9;{const e=128&p?parseInt(_.slice(2),2):256&p?parseInt(_.slice(2),8):+_;return _=""+e,8}}function G(){l=s,p=0;let r=!1;for(;;){if(d=s,s>=c)return u=1;const i=is(m,s);if(35===i&&0===s&&Rs(m,s)){if(s=Ns(m,s),n)continue;return u=6}switch(i){case 10:case 13:if(p|=1,n){s++;continue}return 13===i&&s+1<c&&10===m.charCodeAt(s+1)?s+=2:s++,u=4;case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8203:case 8239:case 8287:case 12288:case 65279:if(n){s++;continue}for(;s<c&&Ts(m.charCodeAt(s));)s++;return u=5;case 33:return 61===m.charCodeAt(s+1)?61===m.charCodeAt(s+2)?(s+=3,u=37):(s+=2,u=35):(s++,u=53);case 34:case 39:return _=C(),u=10;case 96:return u=k(!1);case 37:return 61===m.charCodeAt(s+1)?(s+=2,u=69):(s++,u=44);case 38:return 38===m.charCodeAt(s+1)?61===m.charCodeAt(s+2)?(s+=3,u=76):(s+=2,u=55):61===m.charCodeAt(s+1)?(s+=2,u=73):(s++,u=50);case 40:return s++,u=20;case 41:return s++,u=21;case 42:if(61===m.charCodeAt(s+1))return s+=2,u=66;if(42===m.charCodeAt(s+1))return 61===m.charCodeAt(s+2)?(s+=3,u=67):(s+=2,u=42);if(s++,h&&!r&&1&p){r=!0;continue}return u=41;case 43:return 43===m.charCodeAt(s+1)?(s+=2,u=45):61===m.charCodeAt(s+1)?(s+=2,u=64):(s++,u=39);case 44:return s++,u=27;case 45:return 45===m.charCodeAt(s+1)?(s+=2,u=46):61===m.charCodeAt(s+1)?(s+=2,u=65):(s++,u=40);case 46:return Ss(m.charCodeAt(s+1))?(_=E().value,u=8):46===m.charCodeAt(s+1)&&46===m.charCodeAt(s+2)?(s+=3,u=25):(s++,u=24);case 47:if(47===m.charCodeAt(s+1)){for(s+=2;s<c&&!xs(m.charCodeAt(s));)s++;if(f=U(f,m.slice(d,s),Zo,d),n)continue;return u=2}if(42===m.charCodeAt(s+1)){s+=2,42===m.charCodeAt(s)&&47!==m.charCodeAt(s+1)&&(p|=2);let e=!1,t=d;for(;s<c;){const n=m.charCodeAt(s);if(42===n&&47===m.charCodeAt(s+1)){s+=2,e=!0;break}s++,xs(n)&&(t=s,p|=1)}if(f=U(f,m.slice(t,s),es,t),e||v(Vo.Asterisk_Slash_expected),n)continue;return e||(p|=4),u=3}return 61===m.charCodeAt(s+1)?(s+=2,u=68):(s++,u=43);case 48:if(s+2<c&&(88===m.charCodeAt(s+1)||120===m.charCodeAt(s+1)))return s+=2,(_=A(1,!0))||(v(Vo.Hexadecimal_digit_expected),_="0"),_="0x"+_,p|=64,u=F();if(s+2<c&&(66===m.charCodeAt(s+1)||98===m.charCodeAt(s+1)))return s+=2,(_=P(2))||(v(Vo.Binary_digit_expected),_="0"),_="0b"+_,p|=128,u=F();if(s+2<c&&(79===m.charCodeAt(s+1)||111===m.charCodeAt(s+1)))return s+=2,(_=P(8))||(v(Vo.Octal_digit_expected),_="0"),_="0o"+_,p|=256,u=F();if(s+1<c&&Ls(m.charCodeAt(s+1)))return _=""+x(),p|=32,u=8;case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return({type:u,value:_}=E()),u;case 58:return s++,u=58;case 59:return s++,u=26;case 60:if(Is(m,s)){if(s=ws(m,s,v),n)continue;return u=7}return 60===m.charCodeAt(s+1)?61===m.charCodeAt(s+2)?(s+=3,u=70):(s+=2,u=47):61===m.charCodeAt(s+1)?(s+=2,u=32):1===t&&47===m.charCodeAt(s+1)&&42!==m.charCodeAt(s+2)?(s+=2,u=30):(s++,u=29);case 61:if(Is(m,s)){if(s=ws(m,s,v),n)continue;return u=7}return 61===m.charCodeAt(s+1)?61===m.charCodeAt(s+2)?(s+=3,u=36):(s+=2,u=34):62===m.charCodeAt(s+1)?(s+=2,u=38):(s++,u=63);case 62:if(Is(m,s)){if(s=ws(m,s,v),n)continue;return u=7}return s++,u=31;case 63:return 46!==m.charCodeAt(s+1)||Ss(m.charCodeAt(s+2))?63===m.charCodeAt(s+1)?61===m.charCodeAt(s+2)?(s+=3,u=77):(s+=2,u=60):(s++,u=57):(s+=2,u=28);case 91:return s++,u=22;case 93:return s++,u=23;case 94:return 61===m.charCodeAt(s+1)?(s+=2,u=78):(s++,u=52);case 123:return s++,u=18;case 124:if(Is(m,s)){if(s=ws(m,s,v),n)continue;return u=7}return 124===m.charCodeAt(s+1)?61===m.charCodeAt(s+2)?(s+=3,u=75):(s+=2,u=56):61===m.charCodeAt(s+1)?(s+=2,u=74):(s++,u=51);case 125:return s++,u=19;case 126:return s++,u=54;case 64:return s++,u=59;case 92:const a=D();if(a>=0&&js(a,e))return s+=3,p|=8,_=R()+O(),u=M();const o=N();return o>=0&&js(o,e)?(s+=6,p|=1024,_=String.fromCharCode(o)+O(),u=M()):(v(Vo.Invalid_character),s++,u=0);case 35:if(0!==s&&"!"===m[s+1])return v(Vo.can_only_be_used_at_the_start_of_a_file),s++,u=0;const l=is(m,s+1);if(92===l){s++;const n=D();if(n>=0&&js(n,e))return s+=3,p|=8,_="#"+R()+O(),u=80;const t=N();if(t>=0&&js(t,e))return s+=6,p|=1024,_="#"+String.fromCharCode(t)+O(),u=80;s--}return js(l,e)?(s++,B(l,e)):(_="#",v(Vo.Invalid_character,s++,qs(i))),u=80;default:const g=B(i,e);if(g)return u=g;if(Ts(i)){s+=qs(i);continue}if(xs(i)){p|=1,s+=qs(i);continue}const y=qs(i);return v(Vo.Invalid_character,s,y),s+=y,u=0}}}function B(e,n){let t=e;if(js(t,n)){for(s+=qs(t);s<c&&Hs(t=is(m,s),n);)s+=qs(t);return _=m.substring(d,s),92===t&&(_+=O()),M()}}function U(e,n,t,r){const i=function(e,n){const t=n.exec(e);if(t)switch(t[1]){case"ts-expect-error":return 0;case"ts-ignore":return 1}}(y(n),t);return void 0===i?e:Te(e,{range:{pos:r,end:s},type:i})}function V(e=!0){if(l=d=s,s>=c)return u=1;let n=m.charCodeAt(s);if(60===n)return 47===m.charCodeAt(s+1)?(s+=2,u=30):(s++,u=29);if(123===n)return s++,u=18;let t=0;for(;s<c&&(n=m.charCodeAt(s),123!==n);){if(60===n){if(Is(m,s))return s=ws(m,s,v),u=7;break}if(62===n&&v(Vo.Unexpected_token_Did_you_mean_or_gt,s,1),125===n&&v(Vo.Unexpected_token_Did_you_mean_or_rbrace,s,1),xs(n)&&0===t)t=-1;else{if(!e&&xs(n)&&t>0)break;Es(n)||(t=s)}s++}return _=m.substring(l,s),-1===t?12:11}function j(){switch(l=s,m.charCodeAt(s)){case 34:case 39:return _=C(!0),u=10;default:return G()}}function H(e,n){const t=s,r=l,i=d,a=u,o=_,c=p,f=e();return f&&!n||(s=t,l=r,d=i,u=a,_=o,p=c),f}function K(e,n,t){m=e||"",c=void 0===t?m.length:n+t,W(n||0)}function W(e){Nt.assert(e>=0),s=e,l=e,d=e,u=0,_=void 0,p=0}}function qs(e){return e>=65536?2:1}function zs(e){if(Nt.assert(0<=e&&e<=1114111),e<=65535)return String.fromCharCode(e);const n=Math.floor((e-65536)/1024)+55296,t=(e-65536)%1024+56320;return String.fromCharCode(n,t)}function Js(e){return as(e)}var Xs,Ys,$s,Qs=E({"src/compiler/scanner.ts"(){Qq(),Ko={abstract:126,accessor:127,any:131,as:128,asserts:129,assert:130,bigint:160,boolean:134,break:81,case:82,catch:83,class:84,continue:86,const:85,constructor:135,debugger:87,declare:136,default:88,delete:89,do:90,else:91,enum:92,export:93,extends:94,false:95,finally:96,for:97,from:158,function:98,get:137,if:99,implements:117,import:100,in:101,infer:138,instanceof:102,interface:118,intrinsic:139,is:140,keyof:141,let:119,module:142,namespace:143,never:144,new:103,null:104,number:148,object:149,package:120,private:121,protected:122,public:123,override:161,out:145,readonly:146,require:147,global:159,return:105,satisfies:150,set:151,static:124,string:152,super:106,switch:107,symbol:153,this:108,throw:109,true:110,try:111,type:154,typeof:112,undefined:155,unique:156,unknown:157,var:113,void:114,while:115,with:116,yield:125,async:132,await:133,of:162},Wo=new Map(Object.entries(Ko)),qo=new Map(Object.entries({...Ko,"{":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})),zo=[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],Jo=[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],Xo=[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],Yo=[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],$o=[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],Qo=[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],Zo=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/,es=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/,ns=function(e){const n=[];return e.forEach(((e,t)=>{n[e]=t})),n}(qo),ts=7,rs=/^#!.*/,is=String.prototype.codePointAt?(e,n)=>e.codePointAt(n):function(e,n){const t=e.length;if(n<0||n>=t)return;const r=e.charCodeAt(n);if(r>=55296&&r<=56319&&t>n+1){const t=e.charCodeAt(n+1);if(t>=56320&&t<=57343)return 1024*(r-55296)+t-56320+65536}return r},as=String.fromCodePoint?e=>String.fromCodePoint(e):zs}});function Zs(e){return Za(e)||Ya(e)}function ec(e){return he(e,RT)}function nc(e){switch(BT(e)){case 99:return"lib.esnext.full.d.ts";case 9:return"lib.es2022.full.d.ts";case 8:return"lib.es2021.full.d.ts";case 7:return"lib.es2020.full.d.ts";case 6:return"lib.es2019.full.d.ts";case 5:return"lib.es2018.full.d.ts";case 4:return"lib.es2017.full.d.ts";case 3:return"lib.es2016.full.d.ts";case 2:return"lib.es6.d.ts";default:return"lib.d.ts"}}function tc(e){return e.start+e.length}function rc(e){return 0===e.length}function ic(e,n){return n>=e.start&&n<tc(e)}function ac(e,n){return n>=e.pos&&n<=e.end}function oc(e,n){return n.start>=e.start&&tc(n)<=tc(e)}function sc(e,n){return void 0!==cc(e,n)}function cc(e,n){const t=pc(e,n);return t&&0===t.length?void 0:t}function lc(e,n){return uc(e.start,e.length,n.start,n.length)}function dc(e,n,t){return uc(e.start,e.length,n,t)}function uc(e,n,t,r){return t<=e+n&&t+r>=e}function _c(e,n){return n<=tc(e)&&n>=e.start}function pc(e,n){const t=Math.max(e.start,n.start),r=Math.min(tc(e),tc(n));return t<=r?mc(t,r):void 0}function fc(e,n){if(e<0)throw new Error("start < 0");if(n<0)throw new Error("length < 0");return{start:e,length:n}}function mc(e,n){return fc(e,n-e)}function hc(e){return fc(e.span.start,e.newLength)}function gc(e){return rc(e.span)&&0===e.newLength}function yc(e,n){if(n<0)throw new Error("newLength < 0");return{span:e,newLength:n}}function vc(e){if(0===e.length)return Xs;if(1===e.length)return e[0];const n=e[0];let t=n.span.start,r=tc(n.span),i=t+n.newLength;for(let n=1;n<e.length;n++){const a=e[n],o=t,s=r,c=i,l=a.span.start,d=tc(a.span),u=l+a.newLength;t=Math.min(o,l),r=Math.max(s,s+(d-c)),i=Math.max(u,u+(c-d))}return yc(mc(t,r),i-t)}function bc(e){if(e&&165===e.kind)for(let n=e;n;n=n.parent)if(Ad(n)||Dd(n)||261===n.kind)return n}function Ec(e,n){return HC(e)&&db(e,16476)&&173===n.kind}function Tc(e){return!!Kd(e)&&N(e.elements,xc)}function xc(e){return!!Qk(e)||Tc(e.name)}function Sc(e){let n=e.parent;for(;kk(n.parent);)n=n.parent.parent;return n.parent}function Ac(e,n){kk(e)&&(e=Sc(e));let t=n(e);return 257===e.kind&&(e=e.parent),e&&258===e.kind&&(t|=n(e),e=e.parent),e&&240===e.kind&&(t|=n(e)),t}function Lc(e){return Ac(e,Tb)}function Cc(e){return Ac(e,xb)}function kc(e){return Ac(e,(e=>e.flags))}function Ic(e,n,t){const r=e.toLowerCase(),i=/^([a-z]+)([_\-]([a-z]+))?$/.exec(r);if(!i)return void(t&&t.push(LT(Vo.Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1,"en","ja-jp")));const a=i[1],o=i[3];function s(e,t,r){let i=go(co(Eo(n.getExecutingFilePath())),e);if(t&&(i=i+"-"+t),i=n.resolvePath(go(i,"diagnosticMessages.generated.json")),!n.fileExists(i))return!1;let a="";try{a=n.readFile(i)}catch(e){return r&&r.push(LT(Vo.Unable_to_open_file_0,i)),!1}try{gT(JSON.parse(a))}catch(e){return r&&r.push(LT(Vo.Corrupted_locale_file_0,i)),!1}return!0}G(Ys,r)&&!s(a,o,t)&&s(a,void 0,t),Jn(e)}function wc(e,n){if(e)for(;void 0!==e.original;)e=e.original;return e&&n?n(e)?e:void 0:e}function Rc(e,n){for(;e;){const t=n(e);if("quit"===t)return;if(t)return e;e=e.parent}}function Nc(e){return 0==(8&e.flags)}function Dc(e,n){if(void 0===e||Nc(e))return e;for(e=e.original;e;){if(Nc(e))return!n||n(e)?e:void 0;e=e.original}}function Oc(e){return e.length>=2&&95===e.charCodeAt(0)&&95===e.charCodeAt(1)?"_"+e:e}function Mc(e){const n=e;return n.length>=3&&95===n.charCodeAt(0)&&95===n.charCodeAt(1)&&95===n.charCodeAt(2)?n.substr(1):n}function Pc(e){return Mc(e.escapedText)}function Fc(e){const n=_s(e.escapedText);return n?En(n,hy):void 0}function Gc(e){return e.valueDeclaration&&hd(e.valueDeclaration)?Pc(e.valueDeclaration.name):Mc(e.escapedName)}function Bc(e){const n=e.parent.parent;if(n){if(Nu(n))return Uc(n);switch(n.kind){case 240:if(n.declarationList&&n.declarationList.declarations[0])return Uc(n.declarationList.declarations[0]);break;case 241:let e=n.expression;switch(223===e.kind&&63===e.operatorToken.kind&&(e=e.left),e.kind){case 208:return e.name;case 209:const n=e.argumentExpression;if(AC(n))return n}break;case 214:return Uc(n.expression);case 253:if(Nu(n.statement)||uu(n.statement))return Uc(n.statement)}}}function Uc(e){const n=Wc(e);return n&&AC(n)?n:void 0}function Vc(e,n){return!(!Hc(e)||!AC(e.name)||Pc(e.name)!==Pc(n))||!(!dI(e)||!ce(e.declarationList.declarations,(e=>Vc(e,n))))}function jc(e){return e.name||Bc(e)}function Hc(e){return!!e.name}function Kc(e){switch(e.kind){case 79:return e;case 351:case 344:{const{name:n}=e;if(163===n.kind)return n.right;break}case 210:case 223:{const n=e;switch(Yh(n)){case 1:case 4:case 5:case 3:return ig(n.left);case 7:case 8:case 9:return n.arguments[1];default:return}}case 349:return jc(e);case 343:return Bc(e);case 274:{const{expression:n}=e;return AC(n)?n:void 0}case 209:const n=e;if(ng(n))return n.argumentExpression}return e.name}function Wc(e){if(void 0!==e)return Kc(e)||(Gk(e)||Bk(e)||$k(e)?qc(e):void 0)}function qc(e){if(e.parent){if(bw(e.parent)||kk(e.parent))return e.parent.name;if(qk(e.parent)&&e===e.parent.right){if(AC(e.parent.left))return e.parent.left;if(eT(e.parent.left))return ig(e.parent.left)}else if(kI(e.parent)&&AC(e.parent.name))return e.parent.name}}function zc(e){if(yb(e))return j(e.modifiers,KC)}function Jc(e){if(db(e,126975))return j(e.modifiers,Ed)}function Xc(e,n){if(e.name){if(AC(e.name)){const t=e.name.escapedText;return Sl(e.parent,n).filter((e=>iR(e)&&AC(e.name)&&e.name.escapedText===t))}{const t=e.parent.parameters.indexOf(e);Nt.assert(t>-1,"Parameters should always be in their parents' parameter list");const r=Sl(e.parent,n).filter(iR);if(t<r.length)return[r[t]]}}return i}function Yc(e){return Xc(e,!1)}function $c(e){return Xc(e,!0)}function Qc(e,n){const t=e.name.escapedText;return Sl(e.parent,n).filter((e=>cR(e)&&e.typeParameters.some((e=>e.name.escapedText===t))))}function Zc(e){return Qc(e,!1)}function el(e){return Qc(e,!0)}function nl(e){return!!Cl(e,iR)}function tl(e){return Cl(e,Ww)}function rl(e){return kl(e,_R)}function il(e){return Cl(e,zw)}function al(e){return Cl(e,Xw)}function ol(e){return Cl(e,Xw,!0)}function sl(e){return Cl(e,Yw)}function cl(e){return Cl(e,Yw,!0)}function ll(e){return Cl(e,$w)}function dl(e){return Cl(e,$w,!0)}function ul(e){return Cl(e,Qw)}function _l(e){return Cl(e,Qw,!0)}function pl(e){return Cl(e,Zw,!0)}function fl(e){return Cl(e,nR)}function ml(e){return Cl(e,nR,!0)}function hl(e){return Cl(e,rR)}function gl(e){return Cl(e,oR)}function yl(e){return Cl(e,aR)}function vl(e){return Cl(e,cR)}function bl(e){return Cl(e,pR)}function El(e){const n=Cl(e,sR);if(n&&n.typeExpression&&n.typeExpression.type)return n}function Tl(e){let n=Cl(e,sR);return!n&&HC(e)&&(n=D(Yc(e),(e=>!!e.typeExpression))),n&&n.typeExpression&&n.typeExpression.type}function xl(e){const n=yl(e);if(n&&n.typeExpression)return n.typeExpression.type;const t=El(e);if(t&&t.typeExpression){const e=t.typeExpression.type;if(sk(e)){const n=D(e.members,ZC);return n&&n.type}if(ik(e)||Bw(e))return e.type}}function Sl(e,n){var t;if(!kg(e))return i;let r=null==(t=e.jsDoc)?void 0:t.jsDocCache;if(void 0===r||n){const t=Ig(e,n);Nt.assert(t.length<2||t[0]!==t[1]),r=X(t,(e=>jw(e)?e.tags:e)),n||(null!=e.jsDoc||(e.jsDoc=[]),e.jsDoc.jsDocCache=r)}return r}function Al(e){return Sl(e,!1)}function Ll(e){return Sl(e,!0)}function Cl(e,n,t){return D(Sl(e,t),n)}function kl(e,n){return Al(e).filter(n)}function Il(e,n){return Al(e).filter((e=>e.kind===n))}function wl(e){return"string"==typeof e?e:null==e?void 0:e.map((e=>{return 324===e.kind?e.text:`{@${327===(n=e).kind?"link":328===n.kind?"linkcode":"linkplain"} ${n.name?jf(n.name):""}${n.name&&n.text.startsWith("://")?"":" "}${n.text}}`;var n})).join("")}function Rl(e){if(Kw(e)){if(eR(e.parent)){const n=Gg(e.parent);if(n&&S(n.tags))return X(n.tags,(e=>cR(e)?e.typeParameters:void 0))}return i}if(Eg(e))return Nt.assert(323===e.parent.kind),X(e.parent.tags,(e=>cR(e)?e.typeParameters:void 0));if(e.typeParameters)return e.typeParameters;if(lN(e)&&e.typeParameters)return e.typeParameters;if(Ah(e)){const n=$v(e);if(n.length)return n;const t=Tl(e);if(t&&ik(t)&&t.typeParameters)return t.typeParameters}return i}function Nl(e){return e.constraint?e.constraint:cR(e.parent)&&e===e.parent.typeParameters[0]?e.parent.constraint:void 0}function Dl(e){return 79===e.kind||80===e.kind}function Ol(e){return 175===e.kind||174===e.kind}function Ml(e){return Rk(e)&&!!(32&e.flags)}function Pl(e){return Nk(e)&&!!(32&e.flags)}function Fl(e){return Dk(e)&&!!(32&e.flags)}function Gl(e){const n=e.kind;return!!(32&e.flags)&&(208===n||209===n||210===n||232===n)}function Bl(e){return Gl(e)&&!tI(e)&&!!e.questionDotToken}function Ul(e){return Bl(e.parent)&&e.parent.expression===e}function Vl(e){return!Gl(e.parent)||Bl(e.parent)||e!==e.parent.expression}function jl(e){return 223===e.kind&&60===e.operatorToken.kind}function Hl(e){return rk(e)&&AC(e.typeName)&&"const"===e.typeName.escapedText&&!e.typeArguments}function Kl(e){return HR(e,8)}function Wl(e){return tI(e)&&!!(32&e.flags)}function ql(e){return 249===e.kind||248===e.kind}function zl(e){return 277===e.kind||276===e.kind}function Jl(e){switch(e.kind){case 305:case 306:return!0;default:return!1}}function Xl(e){return Jl(e)||303===e.kind||307===e.kind}function Yl(e){return 351===e.kind||344===e.kind}function $l(e){return Ql(e.kind)}function Ql(e){return e>=163}function Zl(e){return e>=0&&e<=162}function ed(e){return Zl(e.kind)}function nd(e){return qe(e,"pos")&&qe(e,"end")}function td(e){return 8<=e&&e<=14}function rd(e){return td(e.kind)}function id(e){switch(e.kind){case 207:case 206:case 13:case 215:case 228:return!0}return!1}function ad(e){return 14<=e&&e<=17}function od(e){return ad(e.kind)}function sd(e){const n=e.kind;return 16===n||17===n}function cd(e){return JI(e)||QI(e)}function ld(e){switch(e.kind){case 273:return e.isTypeOnly||e.parent.parent.isTypeOnly;case 271:return e.parent.isTypeOnly;case 270:case 268:return e.isTypeOnly}return!1}function dd(e){switch(e.kind){case 278:return e.isTypeOnly||e.parent.parent.isTypeOnly;case 275:return e.isTypeOnly&&!!e.moduleSpecifier&&!e.exportClause;case 277:return e.parent.isTypeOnly}return!1}function ud(e){return ld(e)||dd(e)}function _d(e){return cC(e)||AC(e)}function pd(e){return 10===e.kind||ad(e.kind)}function fd(e){var n;return AC(e)&&void 0!==(null==(n=e.emitNode)?void 0:n.autoGenerate)}function md(e){var n;return LC(e)&&void 0!==(null==(n=e.emitNode)?void 0:n.autoGenerate)}function hd(e){return(qC(e)||Pd(e))&&LC(e.name)}function gd(e){return Rk(e)&&LC(e.name)}function yd(e){switch(e){case 126:case 127:case 132:case 85:case 136:case 88:case 93:case 101:case 123:case 121:case 122:case 146:case 124:case 145:case 161:return!0}return!1}function vd(e){return!!(16476&Ib(e))}function bd(e){return vd(e)||124===e||161===e||127===e}function Ed(e){return yd(e.kind)}function Td(e){const n=e.kind;return 163===n||79===n}function xd(e){const n=e.kind;return 79===n||80===n||10===n||8===n||164===n}function Sd(e){const n=e.kind;return 79===n||203===n||204===n}function Ad(e){return!!e&&wd(e.kind)}function Ld(e){return!!e&&(wd(e.kind)||XC(e))}function Cd(e){return e&&Id(e.kind)}function kd(e){return 110===e.kind||95===e.kind}function Id(e){switch(e){case 259:case 171:case 173:case 174:case 175:case 215:case 216:return!0;default:return!1}}function wd(e){switch(e){case 170:case 176:case 326:case 177:case 178:case 181:case 320:case 182:return!0;default:return Id(e)}}function Rd(e){return Aw(e)||PI(e)||lI(e)&&Ad(e.parent)}function Nd(e){const n=e.kind;return 173===n||169===n||171===n||174===n||175===n||178===n||172===n||237===n}function Dd(e){return e&&(260===e.kind||228===e.kind)}function Od(e){return e&&(174===e.kind||175===e.kind)}function Md(e){return qC(e)&&hb(e)}function Pd(e){switch(e.kind){case 171:case 174:case 175:return!0;default:return!1}}function Fd(e){switch(e.kind){case 171:case 174:case 175:case 169:return!0;default:return!1}}function Gd(e){return Ed(e)||KC(e)}function Bd(e){const n=e.kind;return 177===n||176===n||168===n||170===n||178===n||174===n||175===n}function Ud(e){return Bd(e)||Nd(e)}function Vd(e){const n=e.kind;return 299===n||300===n||301===n||171===n||174===n||175===n}function jd(e){return ZE(e.kind)}function Hd(e){switch(e.kind){case 181:case 182:return!0}return!1}function Kd(e){if(e){const n=e.kind;return 204===n||203===n}return!1}function Wd(e){const n=e.kind;return 206===n||207===n}function qd(e){const n=e.kind;return 205===n||229===n}function zd(e){switch(e.kind){case 257:case 166:case 205:return!0}return!1}function Jd(e){return kI(e)||HC(e)||$d(e)||Zd(e)}function Xd(e){return Yd(e)||Qd(e)}function Yd(e){switch(e.kind){case 203:case 207:return!0}return!1}function $d(e){switch(e.kind){case 205:case 299:case 300:case 301:return!0}return!1}function Qd(e){switch(e.kind){case 204:case 206:return!0}return!1}function Zd(e){switch(e.kind){case 205:case 229:case 227:case 206:case 207:case 79:case 208:case 209:return!0}return Bb(e,!0)}function eu(e){const n=e.kind;return 208===n||163===n||202===n}function nu(e){const n=e.kind;return 208===n||163===n}function tu(e){switch(e.kind){case 283:case 282:case 210:case 211:case 212:case 167:return!0;default:return!1}}function ru(e){return 210===e.kind||211===e.kind}function iu(e){const n=e.kind;return 225===n||14===n}function au(e){return ou(Kl(e).kind)}function ou(e){switch(e){case 208:case 209:case 211:case 210:case 281:case 282:case 285:case 212:case 206:case 214:case 207:case 228:case 215:case 79:case 80:case 13:case 8:case 9:case 10:case 14:case 225:case 95:case 104:case 108:case 110:case 106:case 232:case 230:case 233:case 100:case 279:return!0;default:return!1}}function su(e){return cu(Kl(e).kind)}function cu(e){switch(e){case 221:case 222:case 217:case 218:case 219:case 220:case 213:return!0;default:return ou(e)}}function lu(e){switch(e.kind){case 222:return!0;case 221:return 45===e.operator||46===e.operator;default:return!1}}function du(e){switch(e.kind){case 104:case 110:case 95:case 221:return!0;default:return rd(e)}}function uu(e){return function(e){switch(e){case 224:case 226:case 216:case 223:case 227:case 231:case 229:case 357:case 356:case 235:return!0;default:return cu(e)}}(Kl(e).kind)}function _u(e){const n=e.kind;return 213===n||231===n}function pu(e){return ew(e)||aI(e)}function fu(e,n){switch(e.kind){case 245:case 246:case 247:case 243:case 244:return!0;case 253:return n&&fu(e.statement,n)}return!1}function mu(e){return XI(e)||YI(e)}function hu(e){return ce(e,mu)}function gu(e){return!(Of(e)||XI(e)||db(e,1)||ff(e))}function yu(e){return Of(e)||XI(e)||db(e,1)}function vu(e){return 246===e.kind||247===e.kind}function bu(e){return lI(e)||uu(e)}function Eu(e){return lI(e)}function Tu(e){return II(e)||uu(e)}function xu(e){const n=e.kind;return 265===n||264===n||79===n}function Su(e){const n=e.kind;return 265===n||264===n}function Au(e){const n=e.kind;return 79===n||264===n}function Lu(e){const n=e.kind;return 272===n||271===n}function Cu(e){return 264===e.kind||263===e.kind}function ku(e){switch(e.kind){case 216:case 223:case 205:case 210:case 176:case 260:case 228:case 172:case 173:case 182:case 177:case 209:case 263:case 302:case 274:case 275:case 278:case 259:case 215:case 181:case 174:case 79:case 270:case 268:case 273:case 178:case 261:case 341:case 343:case 320:case 344:case 351:case 326:case 349:case 325:case 288:case 289:case 290:case 197:case 171:case 170:case 264:case 199:case 277:case 267:case 271:case 211:case 14:case 8:case 207:case 166:case 208:case 299:case 169:case 168:case 175:case 300:case 308:case 301:case 10:case 262:case 184:case 165:case 257:return!0;default:return!1}}function Iu(e){switch(e.kind){case 216:case 238:case 176:case 266:case 295:case 172:case 191:case 173:case 182:case 177:case 245:case 246:case 247:case 259:case 215:case 181:case 174:case 178:case 341:case 343:case 320:case 326:case 349:case 197:case 171:case 170:case 264:case 175:case 308:case 262:return!0;default:return!1}}function wu(e){return 259===e||279===e||260===e||261===e||262===e||263===e||264===e||269===e||268===e||275===e||274===e||267===e}function Ru(e){return 249===e||248===e||256===e||243===e||241===e||239===e||246===e||247===e||245===e||242===e||253===e||250===e||252===e||254===e||255===e||240===e||244===e||251===e||355===e||359===e||358===e}function Nu(e){return 165===e.kind?e.parent&&348!==e.parent.kind||Ah(e):216===(n=e.kind)||205===n||260===n||228===n||172===n||173===n||263===n||302===n||278===n||259===n||215===n||174===n||270===n||268===n||273===n||261===n||288===n||171===n||170===n||264===n||267===n||271===n||277===n||166===n||299===n||169===n||168===n||175===n||300===n||262===n||165===n||257===n||349===n||341===n||351===n;var n}function Du(e){return wu(e.kind)}function Ou(e){return Ru(e.kind)}function Mu(e){const n=e.kind;return Ru(n)||wu(n)||function(e){return 238===e.kind&&((void 0===e.parent||255!==e.parent.kind&&295!==e.parent.kind)&&!Dm(e))}(e)}function Pu(e){const n=e.kind;return Ru(n)||wu(n)||238===n}function Fu(e){const n=e.kind;return 280===n||163===n||79===n}function Gu(e){const n=e.kind;return 108===n||79===n||208===n}function Bu(e){const n=e.kind;return 281===n||291===n||282===n||11===n||285===n}function Uu(e){const n=e.kind;return 288===n||290===n}function Vu(e){const n=e.kind;return 10===n||291===n}function ju(e){const n=e.kind;return 283===n||282===n}function Hu(e){const n=e.kind;return 292===n||293===n}function Ku(e){return e.kind>=312&&e.kind<=353}function Wu(e){return 323===e.kind||322===e.kind||324===e.kind||r_(e)||qu(e)||Hw(e)||Kw(e)}function qu(e){return e.kind>=330&&e.kind<=353}function zu(e){return 175===e.kind}function Ju(e){return 174===e.kind}function Xu(e){if(!kg(e))return!1;const{jsDoc:n}=e;return!!n&&n.length>0}function Yu(e){return!!e.type}function $u(e){return!!e.initializer}function Qu(e){switch(e.kind){case 257:case 166:case 205:case 169:case 299:case 302:return!0;default:return!1}}function Zu(e){return 288===e.kind||290===e.kind||Vd(e)}function e_(e){return 180===e.kind||230===e.kind}function n_(e){let n=$s;for(const t of e){if(!t.length)continue;let e=0;for(;e<t.length&&e<n&&Es(t.charCodeAt(e));e++);if(e<n&&(n=e),0===n)return 0}return n===$s?void 0:n}function t_(e){return 10===e.kind||14===e.kind}function r_(e){return 327===e.kind||328===e.kind||329===e.kind}function i_(e){const n=Fe(e.parameters);return!!n&&a_(n)}function a_(e){const n=iR(e)?e.typeExpression&&e.typeExpression.type:e.type;return void 0!==e.dotDotDotToken||!!n&&321===n.kind}var o_,s_,c_,l_,d_,u_,__,p_,f_,m_,h_,g_,y_,v_,b_,E_,T_,x_,S_,A_,L_,C_,k_,I_,w_,R_,N_,D_,O_,M_,P_,F_,G_,B_,U_,V_,j_,H_,K_,W_,q_,z_,J_,X_,Y_,$_,Q_,Z_,ep,np,tp,rp=E({"src/compiler/utilitiesPublic.ts"(){Qq(),Xs=yc(fc(0,0),0),Ys=["cs","de","es","fr","it","ja","ko","pl","pt-br","ru","tr","zh-cn","zh-tw"],$s=1073741823}});function ip(e,n){const t=e.declarations;if(t)for(const e of t)if(e.kind===n)return e}function ap(e,n){return j(e.declarations||i,(e=>e.kind===n))}function op(e){const n=new Map;if(e)for(const t of e)n.set(t.escapedName,t);return n}function sp(e){return 0!=(33554432&e.flags)}function cp(e,n){return e.configFilePath!==n.configFilePath||lp(e,n)}function lp(e,n){return up(e,n,eO)}function dp(e,n){return up(e,n,tO)}function up(e,n,t){return e!==n&&t.some((t=>!lS(ux(e,t),ux(n,t))))}function _p(e,n){for(;;){const t=n(e);if("quit"===t)return;if(void 0!==t)return t;if(Aw(e))return;e=e.parent}}function pp(e,n){const t=e.entries();for(const[e,r]of t){const t=n(r,e);if(t)return t}}function fp(e,n){const t=e.keys();for(const e of t){const t=n(e);if(t)return t}}function mp(e,n){e.forEach(((e,t)=>{n.set(t,e)}))}function hp(e){const n=d_.getText();try{return e(d_),d_.getText()}finally{d_.clear(),d_.writeKeyword(n)}}function gp(e){return e.end-e.pos}function yp(e,n,t){var r,i;return null==(i=null==(r=null==e?void 0:e.resolvedModules)?void 0:r.get(n,t))?void 0:i.resolvedModule}function vp(e,n,t,r){e.resolvedModules||(e.resolvedModules=NP()),e.resolvedModules.set(n,r,t)}function bp(e,n,t,r){e.resolvedTypeReferenceDirectiveNames||(e.resolvedTypeReferenceDirectiveNames=NP()),e.resolvedTypeReferenceDirectiveNames.set(n,r,t)}function Ep(e,n,t){var r,i;return null==(i=null==(r=null==e?void 0:e.resolvedTypeReferenceDirectiveNames)?void 0:r.get(n,t))?void 0:i.resolvedTypeReferenceDirective}function Tp(e,n){return e.path===n.path&&!e.prepend==!n.prepend&&!e.circular==!n.circular}function xp(e,n){return e===n||e.resolvedModule===n.resolvedModule||!!e.resolvedModule&&!!n.resolvedModule&&e.resolvedModule.isExternalLibraryImport===n.resolvedModule.isExternalLibraryImport&&e.resolvedModule.extension===n.resolvedModule.extension&&e.resolvedModule.resolvedFileName===n.resolvedModule.resolvedFileName&&e.resolvedModule.originalPath===n.resolvedModule.originalPath&&((t=e.resolvedModule.packageId)===(r=n.resolvedModule.packageId)||!!t&&!!r&&t.name===r.name&&t.subModuleName===r.subModuleName&&t.version===r.version);var t,r}function Sp({name:e,subModuleName:n}){return n?`${e}/${n}`:e}function Ap(e){return`${Sp(e)}@${e.version}`}function Lp(e,n){return e===n||e.resolvedTypeReferenceDirective===n.resolvedTypeReferenceDirective||!!e.resolvedTypeReferenceDirective&&!!n.resolvedTypeReferenceDirective&&e.resolvedTypeReferenceDirective.resolvedFileName===n.resolvedTypeReferenceDirective.resolvedFileName&&!!e.resolvedTypeReferenceDirective.primary==!!n.resolvedTypeReferenceDirective.primary&&e.resolvedTypeReferenceDirective.originalPath===n.resolvedTypeReferenceDirective.originalPath}function Cp(e,n,t,r,i,a){Nt.assert(e.length===t.length);for(let o=0;o<e.length;o++){const s=t[o],c=e[o],l=a.getName(c),d=a.getMode(c,n),u=r&&r.get(l,d);if(u?!s||!i(u,s):s)return!0}return!1}function kp(e){return function(e){1048576&e.flags||((0!=(131072&e.flags)||ED(e,kp))&&(e.flags|=524288),e.flags|=1048576)}(e),0!=(524288&e.flags)}function Ip(e){for(;e&&308!==e.kind;)e=e.parent;return e}function wp(e){return Ip(e.valueDeclaration||xf(e))}function Rp(e,n){return!(!e||1!==e.scriptKind&&2!==e.scriptKind||e.checkJsDirective||void 0!==n)}function Np(e){switch(e.kind){case 238:case 266:case 245:case 246:case 247:return!0}return!1}function Dp(e,n){return Nt.assert(e>=0),hs(n)[e]}function Op(e){const n=Ip(e),t=bs(n,e.pos);return`${n.fileName}(${t.line+1},${t.character+1})`}function Mp(e,n){Nt.assert(e>=0);const t=hs(n),r=e,i=n.text;if(r+1===t.length)return i.length-1;{const e=t[r];let n=t[r+1]-1;for(Nt.assert(xs(i.charCodeAt(n)));e<=n&&xs(i.charCodeAt(n));)n--;return n}}function Pp(e,n,t){return!(t&&t(n)||e.identifiers.has(n))}function Fp(e){return void 0===e||e.pos===e.end&&e.pos>=0&&1!==e.kind}function Gp(e){return!Fp(e)}function Bp(e,n){return jC(e)?n===e.expression:XC(e)?n===e.modifiers:WC(e)?n===e.initializer:qC(e)?n===e.questionToken&&Md(e):bw(e)?n===e.modifiers||n===e.questionToken||n===e.exclamationToken||Up(e.modifiers,n,Gd):Ew(e)?n===e.equalsToken||n===e.modifiers||n===e.questionToken||n===e.exclamationToken||Up(e.modifiers,n,Gd):JC(e)?n===e.exclamationToken:YC(e)?n===e.typeParameters||n===e.type||Up(e.typeParameters,n,jC):$C(e)?n===e.typeParameters||Up(e.typeParameters,n,jC):QC(e)?n===e.typeParameters||n===e.type||Up(e.typeParameters,n,jC):!!GI(e)&&(n===e.modifiers||Up(e.modifiers,n,Gd))}function Up(e,n,t){return!(!e||gn(n)||!t(n))&&G(e,n)}function Vp(e,n,t){if(void 0===n||0===n.length)return e;let r=0;for(;r<e.length&&t(e[r]);++r);return e.splice(r,0,...n),e}function jp(e,n,t){if(void 0===n)return e;let r=0;for(;r<e.length&&t(e[r]);++r);return e.splice(r,0,n),e}function Hp(e){return _m(e)||!!(2097152&of(e))}function Kp(e,n){return Vp(e,n,_m)}function Wp(e,n){return Vp(e,n,Hp)}function qp(e,n){return jp(e,n,_m)}function zp(e,n){return jp(e,n,Hp)}function Jp(e,n,t){if(47===e.charCodeAt(n+1)&&n+2<t&&47===e.charCodeAt(n+2)){const r=e.substring(n,t);return!!(__.test(r)||f_.test(r)||p_.test(r)||m_.test(r))}return!1}function Xp(e,n){return 42===e.charCodeAt(n+1)&&33===e.charCodeAt(n+2)}function Yp(e,n){const t=new Map(n.map((n=>[`${bs(e,n.range.end).line}`,n]))),r=new Map;return{getUnusedExpectations:function(){return Qe(t.entries()).filter((([e,n])=>0===n.type&&!r.get(e))).map((([e,n])=>n))},markUsed:function(e){return!!t.has(`${e}`)&&(r.set(`${e}`,!0),!0)}}}function $p(e,n,t){return Fp(e)?e.pos:Ku(e)||11===e.kind?ks((n||Ip(e)).text,e.pos,!1,!0):t&&Xu(e)?$p(e.jsDoc[0],n):354===e.kind&&e._children.length>0?$p(e._children[0],n,t):ks((n||Ip(e)).text,e.pos,!1,!1,kh(e))}function Qp(e,n){const t=!Fp(e)&&PN(e)?O(e.modifiers,KC):void 0;return t?ks((n||Ip(e)).text,t.end):$p(e,n)}function Zp(e,n,t=!1){return nf(e.text,n,t)}function ef(e){return!!(YI(e)&&e.exportClause&&qI(e.exportClause)&&"default"===e.exportClause.name.escapedText)}function nf(e,n,t=!1){if(Fp(n))return"";let r=e.substring(t?n.pos:ks(e,n.pos),n.end);return function(e){return!!Rc(e,kw)}(n)&&(r=r.split(/\r\n|\n|\r/).map((e=>y(e.replace(/^\s*\*/,"")))).join("\n")),r}function tf(e,n=!1){return Zp(Ip(e),e,n)}function rf(e){return e.pos}function af(e,n){return He(e,n,rf,Un)}function of(e){const n=e.emitNode;return n&&n.flags||0}function sf(e){const n=e.emitNode;return n&&n.internalFlags||0}function cf(){return new Map(Object.entries({Array:new Map(Object.entries({es2015:["find","findIndex","fill","copyWithin","entries","keys","values"],es2016:["includes"],es2019:["flat","flatMap"],es2022:["at"],es2023:["findLastIndex","findLast"]})),Iterator:new Map(Object.entries({es2015:i})),AsyncIterator:new Map(Object.entries({es2015:i})),Atomics:new Map(Object.entries({es2017:i})),SharedArrayBuffer:new Map(Object.entries({es2017:i})),AsyncIterable:new Map(Object.entries({es2018:i})),AsyncIterableIterator:new Map(Object.entries({es2018:i})),AsyncGenerator:new Map(Object.entries({es2018:i})),AsyncGeneratorFunction:new Map(Object.entries({es2018:i})),RegExp:new Map(Object.entries({es2015:["flags","sticky","unicode"],es2018:["dotAll"]})),Reflect:new Map(Object.entries({es2015:["apply","construct","defineProperty","deleteProperty","get"," getOwnPropertyDescriptor","getPrototypeOf","has","isExtensible","ownKeys","preventExtensions","set","setPrototypeOf"]})),ArrayConstructor:new Map(Object.entries({es2015:["from","of"]})),ObjectConstructor:new Map(Object.entries({es2015:["assign","getOwnPropertySymbols","keys","is","setPrototypeOf"],es2017:["values","entries","getOwnPropertyDescriptors"],es2019:["fromEntries"],es2022:["hasOwn"]})),NumberConstructor:new Map(Object.entries({es2015:["isFinite","isInteger","isNaN","isSafeInteger","parseFloat","parseInt"]})),Math:new Map(Object.entries({es2015:["clz32","imul","sign","log10","log2","log1p","expm1","cosh","sinh","tanh","acosh","asinh","atanh","hypot","trunc","fround","cbrt"]})),Map:new Map(Object.entries({es2015:["entries","keys","values"]})),Set:new Map(Object.entries({es2015:["entries","keys","values"]})),PromiseConstructor:new Map(Object.entries({es2015:["all","race","reject","resolve"],es2020:["allSettled"],es2021:["any"]})),Symbol:new Map(Object.entries({es2015:["for","keyFor"],es2019:["description"]})),WeakMap:new Map(Object.entries({es2015:["entries","keys","values"]})),WeakSet:new Map(Object.entries({es2015:["entries","keys","values"]})),String:new Map(Object.entries({es2015:["codePointAt","includes","endsWith","normalize","repeat","startsWith","anchor","big","blink","bold","fixed","fontcolor","fontsize","italics","link","small","strike","sub","sup"],es2017:["padStart","padEnd"],es2019:["trimStart","trimEnd","trimLeft","trimRight"],es2020:["matchAll"],es2021:["replaceAll"],es2022:["at"]})),StringConstructor:new Map(Object.entries({es2015:["fromCodePoint","raw"]})),DateTimeFormat:new Map(Object.entries({es2017:["formatToParts"]})),Promise:new Map(Object.entries({es2015:i,es2018:["finally"]})),RegExpMatchArray:new Map(Object.entries({es2018:["groups"]})),RegExpExecArray:new Map(Object.entries({es2018:["groups"]})),Intl:new Map(Object.entries({es2018:["PluralRules"]})),NumberFormat:new Map(Object.entries({es2018:["formatToParts"]})),SymbolConstructor:new Map(Object.entries({es2020:["matchAll"]})),DataView:new Map(Object.entries({es2020:["setBigInt64","setBigUint64","getBigInt64","getBigUint64"]})),BigInt:new Map(Object.entries({es2020:i})),RelativeTimeFormat:new Map(Object.entries({es2020:["format","formatToParts","resolvedOptions"]})),Int8Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Uint8Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Uint8ClampedArray:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Int16Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Uint16Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Int32Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Uint32Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Float32Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Float64Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),BigInt64Array:new Map(Object.entries({es2020:i,es2022:["at"],es2023:["findLastIndex","findLast"]})),BigUint64Array:new Map(Object.entries({es2020:i,es2022:["at"],es2023:["findLastIndex","findLast"]})),Error:new Map(Object.entries({es2022:["cause"]}))}))}function lf(e,n,t){var r;if(n&&function(e,n){return!(zy(e)||!e.parent||4&n&&e.isUnterminated)&&(oC(e)&&512&e.numericLiteralFlags?!!(8&n):!sC(e))}(e,t))return Zp(n,e);switch(e.kind){case 10:{const n=2&t?lv:1&t||33554432&of(e)?ov:sv;return e.singleQuote?"'"+n(e.text,39)+"'":'"'+n(e.text,34)+'"'}case 14:case 15:case 16:case 17:{const n=1&t||33554432&of(e)?ov:sv,i=null!=(r=e.rawText)?r:n(e.text,96).replace(b_,"\\${");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 Nt.fail(`Literal kind '${e.kind}' not accounted for.`)}function df(e){return vn(e)?'"'+sv(e)+'"':""+e}function uf(e){return lo(e).replace(/^(\d)/,"_$1").replace(/\W/g,"_")}function _f(e){return 0!=(3&kc(e))||pf(e)}function pf(e){const n=Wy(e);return 257===n.kind&&295===n.parent.kind}function ff(e){return MI(e)&&(10===e.name.kind||bf(e))}function mf(e){return MI(e)&&10===e.name.kind}function hf(e){return MI(e)&&cC(e.name)}function gf(e){return MI(e)||AC(e)}function yf(e){return!!(n=e.valueDeclaration)&&264===n.kind&&!n.body;var n}function vf(e){return 308===e.kind||264===e.kind||Ld(e)}function bf(e){return!!(1024&e.flags)}function Ef(e){return ff(e)&&Tf(e)}function Tf(e){switch(e.parent.kind){case 308:return kD(e.parent);case 265:return ff(e.parent.parent)&&Aw(e.parent.parent.parent)&&!kD(e.parent.parent.parent)}return!1}function xf(e){var n;return null==(n=e.declarations)?void 0:n.find((e=>!(Ef(e)||MI(e)&&bf(e))))}function Sf(e,n){return kD(e)||WT(n)||(1===(t=UT(n))||100===t||199===t)&&!!e.commonJsModuleIndicator;var t}function Af(e,n){switch(e.scriptKind){case 1:case 3:case 2:case 4:break;default:return!1}return!(e.isDeclarationFile||!ax(n,"alwaysStrict")&&!FR(e.statements)&&(!kD(e)&&!WT(n)||!(UT(n)>=5)&&n.noImplicitUseStrict))}function Lf(e){return!!(16777216&e.flags)||db(e,2)}function Cf(e,n){switch(e.kind){case 308:case 266:case 295:case 264:case 245:case 246:case 247:case 173:case 171:case 174:case 175:case 259:case 215:case 216:case 169:case 172:return!0;case 238:return!Ld(n)}return!1}function kf(e){switch(Nt.type(e),e.kind){case 341:case 349:case 326:return!0;default:return If(e)}}function If(e){switch(Nt.type(e),e.kind){case 176:case 177:case 170:case 178:case 181:case 182:case 320:case 260:case 228:case 261:case 262:case 348:case 259:case 171:case 173:case 174:case 175:case 215:case 216:return!0;default:return!1}}function wf(e){switch(e.kind){case 269:case 268:return!0;default:return!1}}function Rf(e){return wf(e)||Nh(e)}function Nf(e){switch(e.kind){case 269:case 268:case 240:case 260:case 259:case 264:case 262:case 261:case 263:return!0;default:return!1}}function Df(e){return Of(e)||MI(e)||xk(e)||lm(e)}function Of(e){return wf(e)||YI(e)}function Mf(e){return Rc(e.parent,(e=>Cf(e,e.parent)))}function Pf(e,n){let t=Mf(e);for(;t;)n(t),t=Mf(t)}function Ff(e){return e&&0!==gp(e)?tf(e):"(Missing)"}function Gf(e){return e.declaration?Ff(e.declaration.parameters[0].name):void 0}function Bf(e){return 164===e.kind&&!Ly(e.expression)}function Uf(e){var n;switch(e.kind){case 79:case 80:return(null==(n=e.emitNode)?void 0:n.autoGenerate)?void 0:e.escapedText;case 10:case 8:case 14:return Oc(e.text);case 164:return Ly(e.expression)?Oc(e.expression.text):void 0;default:return Nt.assertNever(e)}}function Vf(e){return Nt.checkDefined(Uf(e))}function jf(e){switch(e.kind){case 108:return"this";case 80:case 79:return 0===gp(e)?Pc(e):tf(e);case 163:return jf(e.left)+"."+jf(e.right);case 208:return AC(e.name)||LC(e.name)?jf(e.expression)+"."+jf(e.name):Nt.assertNever(e.name);case 314:return jf(e.left)+jf(e.right);default:return Nt.assertNever(e)}}function Hf(e,n,t,r,i,a){return Wf(Ip(e),e,n,t,r,i,a)}function Kf(e,n,t,r,i,a,o){const s=ks(e.text,n.pos);return ST(e,s,n.end-s,t,r,i,a,o)}function Wf(e,n,t,r,i,a,o){const s=nm(e,n);return ST(e,s.start,s.length,t,r,i,a,o)}function qf(e,n,t,r){const i=nm(e,n);return Xf(e,i.start,i.length,t,r)}function zf(e,n,t,r){const i=ks(e.text,n.pos);return Xf(e,i,n.end-i,t,r)}function Jf(e,n,t){Nt.assertGreaterThanOrEqual(n,0),Nt.assertGreaterThanOrEqual(t,0),e&&(Nt.assertLessThanOrEqual(n,e.text.length),Nt.assertLessThanOrEqual(n+t,e.text.length))}function Xf(e,n,t,r,i){return Jf(e,n,t),{file:e,start:n,length:t,code:r.code,category:r.category,messageText:r.next?r:r.messageText,relatedInformation:i}}function Yf(e,n,t){return{file:e,start:0,length:0,code:n.code,category:n.category,messageText:n.next?n:n.messageText,relatedInformation:t}}function $f(e){return"string"==typeof e.messageText?{code:e.code,category:e.category,messageText:e.messageText,next:e.next}:e.messageText}function Qf(e,n,t){return{file:e,start:n.pos,length:n.end-n.pos,code:t.code,category:t.category,messageText:t.message}}function Zf(e,n){const t=Ws(e.languageVersion,!0,e.languageVariant,e.text,void 0,n);return t.scan(),mc(t.getTokenPos(),t.getTextPos())}function em(e,n){const t=Ws(e.languageVersion,!0,e.languageVariant,e.text,void 0,n);return t.scan(),t.getToken()}function nm(e,n){let t=n;switch(n.kind){case 308:const r=ks(e.text,0,!1);return r===e.text.length?fc(0,0):Zf(e,r);case 257:case 205:case 260:case 228:case 261:case 264:case 263:case 302:case 259:case 215:case 171:case 174:case 175:case 262:case 169:case 168:case 271:t=n.name;break;case 216:return function(e,n){const t=ks(e.text,n.pos);if(n.body&&238===n.body.kind){const{line:r}=bs(e,n.body.pos),{line:i}=bs(e,n.body.end);if(r<i)return fc(t,Mp(r,e)-t+1)}return mc(t,n.end)}(e,n);case 292:case 293:return mc(ks(e.text,n.pos),n.statements.length>0?n.statements[0].pos:n.end)}if(void 0===t)return Zf(e,n.pos);Nt.assert(!jw(t));const r=Fp(t),i=r||lC(n)?t.pos:ks(e.text,t.pos);return r?(Nt.assert(i===t.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),Nt.assert(i===t.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")):(Nt.assert(i>=t.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),Nt.assert(i<=t.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")),mc(i,t.end)}function tm(e){return void 0!==(e.externalModuleIndicator||e.commonJsModuleIndicator)}function rm(e){return 6===e.scriptKind}function im(e){return!!(2048&Lc(e))}function am(e){return!(!(64&Lc(e))||Ec(e,e.parent))}function om(e){return!!(2&kc(e))}function sm(e){return!!(1&kc(e))}function cm(e){return 210===e.kind&&106===e.expression.kind}function lm(e){return 210===e.kind&&100===e.expression.kind}function dm(e){return rI(e)&&100===e.keywordToken&&"meta"===e.name.escapedText}function um(e){return xk(e)&&Tk(e.argument)&&cC(e.argument.literal)}function _m(e){return 241===e.kind&&10===e.expression.kind}function pm(e){return!!(2097152&of(e))}function fm(e){return pm(e)&&wI(e)}function mm(e){return AC(e.name)&&!e.initializer}function hm(e){return pm(e)&&dI(e)&&N(e.declarationList.declarations,mm)}function gm(e,n){return 11!==e.kind?Bs(n.text,e.pos):void 0}function ym(e,n){return j(166===e.kind||165===e.kind||215===e.kind||216===e.kind||214===e.kind||257===e.kind||278===e.kind?de(Us(n,e.pos),Bs(n,e.pos)):Bs(n,e.pos),(e=>42===n.charCodeAt(e.pos+1)&&42===n.charCodeAt(e.pos+2)&&47!==n.charCodeAt(e.pos+3)))}function vm(e){if(179<=e.kind&&e.kind<=202)return!0;switch(e.kind){case 131:case 157:case 148:case 160:case 152:case 134:case 153:case 149:case 155:case 144:return!0;case 114:return 219!==e.parent.kind;case 230:return yw(e.parent)&&!jb(e);case 165:return 197===e.parent.kind||192===e.parent.kind;case 79:(163===e.parent.kind&&e.parent.right===e||208===e.parent.kind&&e.parent.name===e)&&(e=e.parent),Nt.assert(79===e.kind||163===e.kind||208===e.kind,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 163:case 208:case 108:{const{parent:n}=e;if(183===n.kind)return!1;if(202===n.kind)return!n.isTypeOf;if(179<=n.kind&&n.kind<=202)return!0;switch(n.kind){case 230:return yw(n.parent)&&!jb(n);case 165:case 348:return e===n.constraint;case 169:case 168:case 166:case 257:case 259:case 215:case 216:case 173:case 171:case 170:case 174:case 175:case 176:case 177:case 178:case 213:return e===n.type;case 210:case 211:return G(n.typeArguments,e);case 212:return!1}}}return!1}function bm(e,n){for(;e;){if(e.kind===n)return!0;e=e.parent}return!1}function Em(e,n){return function e(t){switch(t.kind){case 250:return n(t);case 266:case 238:case 242:case 243:case 244:case 245:case 246:case 247:case 251:case 252:case 292:case 293:case 253:case 255:case 295:return ED(t,e)}}(e)}function Tm(e,n){return function e(t){switch(t.kind){case 226:n(t);const r=t.expression;return void(r&&e(r));case 263:case 261:case 264:case 262:return;default:if(Ad(t)){if(t.name&&164===t.name.kind)return void e(t.name.expression)}else vm(t)||ED(t,e)}}(e)}function xm(e){return e&&185===e.kind?e.elementType:e&&180===e.kind?Be(e.typeArguments):void 0}function Sm(e){switch(e.kind){case 261:case 260:case 228:case 184:return e.members;case 207:return e.properties}}function Am(e){if(e)switch(e.kind){case 205:case 302:case 166:case 299:case 169:case 168:case 300:case 257:return!0}return!1}function Lm(e){return Am(e)||Od(e)}function Cm(e){return 258===e.parent.kind&&240===e.parent.parent.kind}function km(e){return!!Ah(e)&&(wk(e.parent)&&qk(e.parent.parent)&&2===Yh(e.parent.parent)||Im(e.parent))}function Im(e){return!!Ah(e)&&qk(e)&&1===Yh(e)}function wm(e){return(kI(e)?om(e)&&AC(e.name)&&Cm(e):qC(e)?gb(e)&&_b(e):WC(e)&&gb(e))||Im(e)}function Rm(e){switch(e.kind){case 171:case 170:case 173:case 174:case 175:case 259:case 215:return!0}return!1}function Nm(e,n){for(;;){if(n&&n(e),253!==e.statement.kind)return e.statement;e=e.statement}}function Dm(e){return e&&238===e.kind&&Ad(e.parent)}function Om(e){return e&&171===e.kind&&207===e.parent.kind}function Mm(e){return!(171!==e.kind&&174!==e.kind&&175!==e.kind||207!==e.parent.kind&&228!==e.parent.kind)}function Pm(e){return e&&1===e.kind}function Fm(e){return e&&0===e.kind}function Gm(e,n,t){return e.properties.filter((e=>{if(299===e.kind){const r=Uf(e.name);return n===r||!!t&&t===r}return!1}))}function Bm(e,n,t){return C(Gm(e,n),(e=>Ik(e.initializer)?D(e.initializer.elements,(e=>cC(e)&&e.text===t)):void 0))}function Um(e){if(e&&e.statements.length)return En(e.statements[0].expression,wk)}function Vm(e,n,t){return C(jm(e,n),(e=>Ik(e.initializer)?D(e.initializer.elements,(e=>cC(e)&&e.text===t)):void 0))}function jm(e,n){const t=Um(e);return t?Gm(t,n):i}function Hm(e){return Rc(e.parent,Ad)}function Km(e){return Rc(e.parent,Cd)}function Wm(e){return Rc(e.parent,Dd)}function qm(e){return Rc(e.parent,(e=>Dd(e)||Ad(e)?"quit":XC(e)))}function zm(e){return Rc(e.parent,Ld)}function Jm(e,n,t){for(Nt.assert(308!==e.kind);;){if(!(e=e.parent))return Nt.fail();switch(e.kind){case 164:if(t&&Dd(e.parent.parent))return e;e=e.parent.parent;break;case 167:166===e.parent.kind&&Nd(e.parent.parent)?e=e.parent.parent:Nd(e.parent)&&(e=e.parent);break;case 216:if(!n)continue;case 259:case 215:case 264:case 172:case 169:case 168:case 171:case 170:case 173:case 174:case 175:case 176:case 177:case 178:case 263:case 308:return e}}}function Xm(e){switch(e.kind){case 216:case 259:case 215:case 169:return!0;case 238:switch(e.parent.kind){case 173:case 171:case 174:case 175:return!0;default:return!1}default:return!1}}function Ym(e){return AC(e)&&(RI(e.parent)||wI(e.parent))&&e.parent.name===e&&(e=e.parent),Aw(Jm(e,!0,!1))}function $m(e){const n=Jm(e,!1,!1);if(n)switch(n.kind){case 173:case 259:case 215:return n}}function Qm(e,n){for(;;){if(!(e=e.parent))return;switch(e.kind){case 164:e=e.parent;break;case 259:case 215:case 216:if(!n)continue;case 169:case 168:case 171:case 170:case 173:case 174:case 175:case 172:return e;case 167:166===e.parent.kind&&Nd(e.parent.parent)?e=e.parent.parent:Nd(e.parent)&&(e=e.parent)}}}function Zm(e){if(215===e.kind||216===e.kind){let n=e,t=e.parent;for(;214===t.kind;)n=t,t=t.parent;if(210===t.kind&&t.expression===n)return t}}function eh(e){return 106===e.kind||nh(e)}function nh(e){const n=e.kind;return(208===n||209===n)&&106===e.expression.kind}function th(e){const n=e.kind;return(208===n||209===n)&&108===e.expression.kind}function rh(e){var n;return!!e&&kI(e)&&108===(null==(n=e.initializer)?void 0:n.kind)}function ih(e){return!!e&&(Ew(e)||bw(e))&&qk(e.parent.parent)&&63===e.parent.parent.operatorToken.kind&&108===e.parent.parent.right.kind}function ah(e){switch(e.kind){case 180:return e.typeName;case 230:return Hb(e.expression)?e.expression:void 0;case 79:case 163:return e}}function oh(e){switch(e.kind){case 212:return e.tag;case 283:case 282:return e.tagName;default:return e.expression}}function sh(e,n,t,r){if(e&&Hc(n)&&LC(n.name))return!1;switch(n.kind){case 260:return!0;case 228:return!e;case 169:return void 0!==t&&(e?RI(t):Dd(t)&&!fb(n)&&!mb(n));case 174:case 175:case 171:return void 0!==n.body&&void 0!==t&&(e?RI(t):Dd(t));case 166:return!!e&&void 0!==t&&void 0!==t.body&&(173===t.kind||171===t.kind||175===t.kind)&&jv(t)!==n&&void 0!==r&&260===r.kind}return!1}function ch(e,n,t,r){return yb(n)&&sh(e,n,t,r)}function lh(e,n,t,r){return ch(e,n,t,r)||dh(e,n,t)}function dh(e,n,t){switch(n.kind){case 260:return ce(n.members,(r=>lh(e,r,n,t)));case 228:return!e&&ce(n.members,(r=>lh(e,r,n,t)));case 171:case 175:case 173:return ce(n.parameters,(r=>ch(e,r,n,t)));default:return!1}}function uh(e,n){if(ch(e,n))return!0;const t=Bv(n);return!!t&&dh(e,t,n)}function _h(e,n,t){let r;if(Od(n)){const{firstAccessor:e,secondAccessor:i,setAccessor:a}=zv(t.members,n),o=yb(e)?e:i&&yb(i)?i:void 0;if(!o||n!==o)return!1;r=null==a?void 0:a.parameters}else JC(n)&&(r=n.parameters);if(ch(e,n,t))return!0;if(r)for(const i of r)if(!Hv(i)&&ch(e,i,n,t))return!0;return!1}function ph(e){if(e.textSourceNode){switch(e.textSourceNode.kind){case 10:return ph(e.textSourceNode);case 14:return""===e.text}return!1}return""===e.text}function fh(e){const{parent:n}=e;return(283===n.kind||282===n.kind||284===n.kind)&&n.tagName===e}function mh(e){switch(e.kind){case 106:case 104:case 110:case 95:case 13:case 206:case 207:case 208:case 209:case 210:case 211:case 212:case 231:case 213:case 235:case 232:case 214:case 215:case 228:case 216:case 219:case 217:case 218:case 221:case 222:case 223:case 224:case 227:case 225:case 229:case 281:case 282:case 285:case 226:case 220:case 233:return!0;case 230:return!yw(e.parent)&&!Ww(e.parent);case 163:for(;163===e.parent.kind;)e=e.parent;return 183===e.parent.kind||r_(e.parent)||Iw(e.parent)||ww(e.parent)||fh(e);case 314:for(;ww(e.parent);)e=e.parent;return 183===e.parent.kind||r_(e.parent)||Iw(e.parent)||ww(e.parent)||fh(e);case 80:return qk(e.parent)&&e.parent.left===e&&101===e.parent.operatorToken.kind;case 79:if(183===e.parent.kind||r_(e.parent)||Iw(e.parent)||ww(e.parent)||fh(e))return!0;case 8:case 9:case 10:case 14:case 108:return hh(e);default:return!1}}function hh(e){const{parent:n}=e;switch(n.kind){case 257:case 166:case 169:case 168:case 302:case 299:case 205:return n.initializer===e;case 241:case 242:case 243:case 244:case 250:case 251:case 252:case 292:case 254:return n.expression===e;case 245:const t=n;return t.initializer===e&&258!==t.initializer.kind||t.condition===e||t.incrementor===e;case 246:case 247:const r=n;return r.initializer===e&&258!==r.initializer.kind||r.expression===e;case 213:case 231:case 236:case 164:case 235:return e===n.expression;case 167:case 291:case 290:case 301:return!0;case 230:return n.expression===e&&!vm(n);case 300:return n.objectAssignmentInitializer===e;default:return mh(n)}}function gh(e){for(;163===e.kind||79===e.kind;)e=e.parent;return 183===e.kind}function yh(e){return qI(e)&&!!e.parent.moduleSpecifier}function vh(e){return 268===e.kind&&280===e.moduleReference.kind}function bh(e){return Nt.assert(vh(e)),e.moduleReference.expression}function Eh(e){return Nh(e)&&iT(e.initializer).arguments[0]}function Th(e){return 268===e.kind&&280!==e.moduleReference.kind}function xh(e){return Ah(e)}function Sh(e){return!Ah(e)}function Ah(e){return!!e&&!!(262144&e.flags)}function Lh(e){return!!e&&!!(67108864&e.flags)}function Ch(e){return!rm(e)}function kh(e){return!!e&&!!(8388608&e.flags)}function Ih(e){return rk(e)&&AC(e.typeName)&&"Object"===e.typeName.escapedText&&e.typeArguments&&2===e.typeArguments.length&&(152===e.typeArguments[0].kind||148===e.typeArguments[0].kind)}function wh(e,n){if(210!==e.kind)return!1;const{expression:t,arguments:r}=e;if(79!==t.kind||"require"!==t.escapedText)return!1;if(1!==r.length)return!1;const i=r[0];return!n||t_(i)}function Rh(e){return Oh(e,!1)}function Nh(e){return Oh(e,!0)}function Dh(e){return kk(e)&&Nh(e.parent.parent)}function Oh(e,n){return kI(e)&&!!e.initializer&&wh(n?iT(e.initializer):e.initializer,!0)}function Mh(e){return dI(e)&&e.declarationList.declarations.length>0&&N(e.declarationList.declarations,(e=>Rh(e)))}function Ph(e){return 39===e||34===e}function Fh(e,n){return 34===Zp(n,e).charCodeAt(0)}function Gh(e){return qk(e)||eT(e)||AC(e)||Dk(e)}function Bh(e){return Ah(e)&&e.initializer&&qk(e.initializer)&&(56===e.initializer.operatorToken.kind||60===e.initializer.operatorToken.kind)&&e.name&&Hb(e.name)&&Wh(e.name,e.initializer.left)?e.initializer.right:e.initializer}function Uh(e){const n=Bh(e);return n&&jh(n,Jb(e.name))}function Vh(e){if(e&&e.parent&&qk(e.parent)&&63===e.parent.operatorToken.kind){const n=Jb(e.parent.left);return jh(e.parent.right,n)||function(e,n,t){const r=qk(n)&&(56===n.operatorToken.kind||60===n.operatorToken.kind)&&jh(n.right,t);if(r&&Wh(e,n.left))return r}(e.parent.left,e.parent.right,n)}if(e&&Dk(e)&&$h(e)){const n=function(e,n){return A(e.properties,(e=>bw(e)&&AC(e.name)&&"value"===e.name.escapedText&&e.initializer&&jh(e.initializer,n)))}(e.arguments[2],"prototype"===e.arguments[1].text);if(n)return n}}function jh(e,n){if(Dk(e)){const n=Yg(e.expression);return 215===n.kind||216===n.kind?e:void 0}return 215===e.kind||228===e.kind||216===e.kind||wk(e)&&(0===e.properties.length||n)?e:void 0}function Hh(e){const n=kI(e.parent)?e.parent.name:qk(e.parent)&&63===e.parent.operatorToken.kind?e.parent.left:void 0;return n&&jh(e.right,Jb(n))&&Hb(n)&&Wh(n,e.left)}function Kh(e){if(qk(e.parent)){const n=56!==e.parent.operatorToken.kind&&60!==e.parent.operatorToken.kind||!qk(e.parent.parent)?e.parent:e.parent.parent;if(63===n.operatorToken.kind&&AC(n.left))return n.left}else if(kI(e.parent))return e.parent.name}function Wh(e,n){return Ry(e)&&Ry(n)?Ny(e)===Ny(n):Dl(e)&&Qh(n)&&(108===n.expression.kind||AC(n.expression)&&("window"===n.expression.escapedText||"self"===n.expression.escapedText||"global"===n.expression.escapedText))?Wh(e,rg(n)):!(!Qh(e)||!Qh(n))&&ag(e)===ag(n)&&Wh(e.expression,n.expression)}function qh(e){for(;Bb(e,!0);)e=e.right;return e}function zh(e){return AC(e)&&"exports"===e.escapedText}function Jh(e){return AC(e)&&"module"===e.escapedText}function Xh(e){return(Rk(e)||Zh(e))&&Jh(e.expression)&&"exports"===ag(e)}function Yh(e){const n=function(e){if(Dk(e)){if(!$h(e))return 0;const n=e.arguments[0];return zh(n)||Xh(n)?8:eg(n)&&"prototype"===ag(n)?9:7}return 63!==e.operatorToken.kind||!eT(e.left)||jk(n=qh(e))&&oC(n.expression)&&"0"===n.expression.text?0:tg(e.left.expression,!0)&&"prototype"===ag(e.left)&&wk(sg(e))?6:og(e.left);var n}(e);return 5===n||Ah(e)?n:0}function $h(e){return 3===S(e.arguments)&&Rk(e.expression)&&AC(e.expression.expression)&&"Object"===Pc(e.expression.expression)&&"defineProperty"===Pc(e.expression.name)&&Ly(e.arguments[1])&&tg(e.arguments[0],!0)}function Qh(e){return Rk(e)||Zh(e)}function Zh(e){return Nk(e)&&Ly(e.argumentExpression)}function eg(e,n){return Rk(e)&&(!n&&108===e.expression.kind||AC(e.name)&&tg(e.expression,!0))||ng(e,n)}function ng(e,n){return Zh(e)&&(!n&&108===e.expression.kind||Hb(e.expression)||eg(e.expression,!0))}function tg(e,n){return Hb(e)||eg(e,n)}function rg(e){return Rk(e)?e.name:e.argumentExpression}function ig(e){if(Rk(e))return e.name;const n=Yg(e.argumentExpression);return oC(n)||t_(n)?n:e}function ag(e){const n=ig(e);if(n){if(AC(n))return n.escapedText;if(t_(n)||oC(n))return Oc(n.text)}}function og(e){if(108===e.expression.kind)return 4;if(Xh(e))return 2;if(tg(e.expression,!0)){if(Jb(e.expression))return 3;let n=e;for(;!AC(n.expression);)n=n.expression;const t=n.expression;if(("exports"===t.escapedText||"module"===t.escapedText&&"exports"===ag(n))&&eg(e))return 1;if(tg(e,!0)||Nk(e)&&Iy(e))return 5}return 0}function sg(e){for(;qk(e.right);)e=e.right;return e.right}function cg(e){return qk(e)&&3===Yh(e)}function lg(e){return Ah(e)&&e.parent&&241===e.parent.kind&&(!Nk(e)||Zh(e))&&!!El(e.parent)}function dg(e,n){const{valueDeclaration:t}=e;(!t||(!(16777216&n.flags)||Ah(n)||16777216&t.flags)&&Gh(t)&&!Gh(n)||t.kind!==n.kind&&gf(t))&&(e.valueDeclaration=n)}function ug(e){if(!e||!e.valueDeclaration)return!1;const n=e.valueDeclaration;return 259===n.kind||kI(n)&&n.initializer&&Ad(n.initializer)}function _g(e){var n,t;switch(e.kind){case 257:case 205:return null==(n=Rc(e.initializer,(e=>wh(e,!0))))?void 0:n.arguments[0];case 269:return En(e.moduleSpecifier,t_);case 268:return En(null==(t=En(e.moduleReference,iw))?void 0:t.expression,t_);case 270:case 277:return En(e.parent.moduleSpecifier,t_);case 271:case 278:return En(e.parent.parent.moduleSpecifier,t_);case 273:return En(e.parent.parent.parent.moduleSpecifier,t_);default:Nt.assertNever(e)}}function pg(e){return fg(e)||Nt.failBadSyntaxKind(e.parent)}function fg(e){switch(e.parent.kind){case 269:case 275:return e.parent;case 280:return e.parent.parent;case 210:return lm(e.parent)||wh(e.parent,!1)?e.parent:void 0;case 198:return Nt.assert(cC(e)),En(e.parent.parent,xk);default:return}}function mg(e){switch(e.kind){case 269:case 275:return e.moduleSpecifier;case 268:return 280===e.moduleReference.kind?e.moduleReference.expression:void 0;case 202:return um(e)?e.argument.literal:void 0;case 210:return e.arguments[0];case 264:return 10===e.name.kind?e.name:void 0;default:return Nt.assertNever(e)}}function hg(e){switch(e.kind){case 269:return e.importClause&&En(e.importClause.namedBindings,WI);case 268:return e;case 275:return e.exportClause&&En(e.exportClause,qI);default:return Nt.assertNever(e)}}function gg(e){return 269===e.kind&&!!e.importClause&&!!e.importClause.name}function yg(e,n){if(e.name){const t=n(e);if(t)return t}if(e.namedBindings){const t=WI(e.namedBindings)?n(e.namedBindings):A(e.namedBindings.elements,n);if(t)return t}}function vg(e){if(e)switch(e.kind){case 166:case 171:case 170:case 300:case 299:case 169:case 168:return void 0!==e.questionToken}return!1}function bg(e){const n=Bw(e)?De(e.parameters):void 0,t=En(n&&n.name,AC);return!!t&&"new"===t.escapedText}function Eg(e){return 349===e.kind||341===e.kind||343===e.kind}function Tg(e){return Eg(e)||DI(e)}function xg(e){return _I(e)&&qk(e.expression)&&0!==Yh(e.expression)&&qk(e.expression.right)&&(56===e.expression.right.operatorToken.kind||60===e.expression.right.operatorToken.kind)?e.expression.right.right:void 0}function Sg(e){switch(e.kind){case 240:const n=Ag(e);return n&&n.initializer;case 169:case 299:return e.initializer}}function Ag(e){return dI(e)?De(e.declarationList.declarations):void 0}function Lg(e){return MI(e)&&e.body&&264===e.body.kind?e.body:void 0}function Cg(e){if(e.kind>=240&&e.kind<=256)return!0;switch(e.kind){case 79:case 108:case 106:case 163:case 233:case 209:case 208:case 205:case 215:case 216:case 171:case 174:case 175:return!0;default:return!1}}function kg(e){switch(e.kind){case 216:case 223:case 238:case 249:case 176:case 292:case 260:case 228:case 172:case 173:case 182:case 177:case 248:case 256:case 243:case 209:case 239:case 1:case 263:case 302:case 274:case 275:case 278:case 241:case 246:case 247:case 245:case 259:case 215:case 181:case 174:case 79:case 242:case 269:case 268:case 178:case 261:case 320:case 326:case 253:case 171:case 170:case 264:case 199:case 267:case 207:case 166:case 214:case 208:case 299:case 169:case 168:case 250:case 175:case 300:case 301:case 252:case 254:case 255:case 262:case 165:case 257:case 240:case 244:case 251:return!0;default:return!1}}function Ig(e,n){let t;Am(e)&&$u(e)&&Xu(e.initializer)&&(t=Ae(t,wg(e,Ge(e.initializer.jsDoc))));let r=e;for(;r&&r.parent;){if(Xu(r)&&(t=Ae(t,wg(e,Ge(r.jsDoc)))),166===r.kind){t=Ae(t,(n?$c:Yc)(r));break}if(165===r.kind){t=Ae(t,(n?el:Zc)(r));break}r=Ng(r)}return t||i}function wg(e,n){if(jw(n)){const t=j(n.tags,(n=>Rg(e,n)));return n.tags===t?[n]:t}return Rg(e,n)?[n]:void 0}function Rg(e,n){return!((sR(n)||pR(n))&&n.parent&&jw(n.parent)&&Fk(n.parent.parent)&&n.parent.parent!==e)}function Ng(e){const n=e.parent;return 299===n.kind||274===n.kind||169===n.kind||241===n.kind&&208===e.kind||250===n.kind||Lg(n)||qk(e)&&63===e.operatorToken.kind?n:n.parent&&(Ag(n.parent)===e||qk(n)&&63===n.operatorToken.kind)?n.parent:n.parent&&n.parent.parent&&(Ag(n.parent.parent)||Sg(n.parent.parent)===e||xg(n.parent.parent))?n.parent.parent:void 0}function Dg(e){if(e.symbol)return e.symbol;if(!AC(e.name))return;const n=e.name.escapedText,t=Mg(e);if(!t)return;const r=D(t.parameters,(e=>79===e.name.kind&&e.name.escapedText===n));return r&&r.symbol}function Og(e){if(jw(e.parent)&&e.parent.tags){const n=D(e.parent.tags,Eg);if(n)return n}return Mg(e)}function Mg(e){const n=Pg(e);if(n)return WC(n)&&n.type&&Ad(n.type)?n.type:Ad(n)?n:void 0}function Pg(e){const n=Fg(e);if(n)return xg(n)||function(e){return _I(e)&&qk(e.expression)&&63===e.expression.operatorToken.kind?qh(e.expression):void 0}(n)||Sg(n)||Ag(n)||Lg(n)||n}function Fg(e){const n=Gg(e);if(!n)return;const t=n.parent;return t&&t.jsDoc&&n===Fe(t.jsDoc)?t:void 0}function Gg(e){return Rc(e.parent,jw)}function Bg(e){const n=e.name.escapedText,{typeParameters:t}=e.parent.parent.parent;return t&&D(t,(e=>e.name.escapedText===n))}function Ug(e){return!!e.typeArguments}function Vg(e){let n=e.parent;for(;;){switch(n.kind){case 223:const t=n.operatorToken.kind;return Pb(t)&&n.left===e?63===t||Nb(t)?1:2:0;case 221:case 222:const r=n.operator;return 45===r||46===r?2:0;case 246:case 247:return n.initializer===e?1:0;case 214:case 206:case 227:case 232:e=n;break;case 301:e=n.parent;break;case 300:if(n.name!==e)return 0;e=n.parent;break;case 299:if(n.name===e)return 0;e=n.parent;break;default:return 0}n=e.parent}}function jg(e){return 0!==Vg(e)}function Hg(e){switch(e.kind){case 238:case 240:case 251:case 242:case 252:case 266:case 292:case 293:case 253:case 245:case 246:case 247:case 243:case 244:case 255:case 295:return!0}return!1}function Kg(e){return Gk(e)||Bk(e)||Pd(e)||wI(e)||YC(e)}function Wg(e,n){for(;e&&e.kind===n;)e=e.parent;return e}function qg(e){return Wg(e,193)}function zg(e){return Wg(e,214)}function Jg(e){let n;for(;e&&193===e.kind;)n=e,e=e.parent;return[n,e]}function Xg(e){for(;gk(e);)e=e.type;return e}function Yg(e,n){return HR(e,n?17:1)}function $g(e){return(208===e.kind||209===e.kind)&&(e=zg(e.parent))&&217===e.kind}function Qg(e,n){for(;e;){if(e===n)return!0;e=e.parent}return!1}function Zg(e){return!Aw(e)&&!Kd(e)&&Nu(e.parent)&&e.parent.name===e}function ey(e){const n=e.parent;switch(e.kind){case 10:case 14:case 8:if(VC(n))return n.parent;case 79:if(Nu(n))return n.name===e?n:void 0;if(UC(n)){const e=n.parent;return iR(e)&&e.name===n?e:void 0}{const t=n.parent;return qk(t)&&0!==Yh(t)&&(t.left.symbol||t.symbol)&&Wc(t)===e?t:void 0}case 80:return Nu(n)&&n.name===e?n:void 0;default:return}}function ny(e){return Ly(e)&&164===e.parent.kind&&Nu(e.parent.parent)}function ty(e){const n=e.parent;switch(n.kind){case 169:case 168:case 171:case 170:case 174:case 175:case 302:case 299:case 208:return n.name===e;case 163:return n.right===e;case 205:case 273:return n.propertyName===e;case 278:case 288:case 282:case 283:case 284:return!0}return!1}function ry(e){return!!(268===e.kind||267===e.kind||270===e.kind&&e.name||271===e.kind||277===e.kind||273===e.kind||278===e.kind||274===e.kind&&oy(e))||Ah(e)&&(qk(e)&&2===Yh(e)&&oy(e)||Rk(e)&&qk(e.parent)&&e.parent.left===e&&63===e.parent.operatorToken.kind&&ay(e.parent.right))}function iy(e){switch(e.parent.kind){case 270:case 273:case 271:case 278:case 274:case 268:case 277:return e.parent;case 163:do{e=e.parent}while(163===e.parent.kind);return iy(e)}}function ay(e){return Hb(e)||$k(e)}function oy(e){return ay(sy(e))}function sy(e){return XI(e)?e.expression:e.right}function cy(e){return 300===e.kind?e.name:299===e.kind?e.initializer:e.parent.right}function ly(e){const n=dy(e);if(n&&Ah(e)){const n=tl(e);if(n)return n.class}return n}function dy(e){const n=fy(e.heritageClauses,94);return n&&n.types.length>0?n.types[0]:void 0}function uy(e){if(Ah(e))return rl(e).map((e=>e.class));{const n=fy(e.heritageClauses,117);return null==n?void 0:n.types}}function _y(e){return NI(e)?py(e)||i:Dd(e)&&de(Et(ly(e)),uy(e))||i}function py(e){const n=fy(e.heritageClauses,94);return n?n.types:void 0}function fy(e,n){if(e)for(const t of e)if(t.token===n)return t}function my(e,n){for(;e;){if(e.kind===n)return e;e=e.parent}}function hy(e){return 81<=e&&e<=162}function gy(e){return 126<=e&&e<=162}function yy(e){return hy(e)&&!gy(e)}function vy(e){return 117<=e&&e<=125}function by(e){const n=_s(e);return void 0!==n&&yy(n)}function Ey(e){const n=_s(e);return void 0!==n&&hy(n)}function Ty(e){const n=Fc(e);return!!n&&!gy(n)}function xy(e){return 2<=e&&e<=7}function Sy(e){if(!e)return 4;let n=0;switch(e.kind){case 259:case 215:case 171:e.asteriskToken&&(n|=1);case 216:db(e,512)&&(n|=2)}return e.body||(n|=4),n}function Ay(e){switch(e.kind){case 259:case 215:case 216:case 171:return void 0!==e.body&&void 0===e.asteriskToken&&db(e,512)}return!1}function Ly(e){return t_(e)||oC(e)}function Cy(e){return Kk(e)&&(39===e.operator||40===e.operator)&&oC(e.operand)}function ky(e){const n=Wc(e);return!!n&&Iy(n)}function Iy(e){if(164!==e.kind&&209!==e.kind)return!1;const n=Nk(e)?Yg(e.argumentExpression):e.expression;return!Ly(n)&&!Cy(n)}function wy(e){switch(e.kind){case 79:case 80:return e.escapedText;case 10:case 8:return Oc(e.text);case 164:const n=e.expression;return Ly(n)?Oc(n.text):Cy(n)?40===n.operator?us(n.operator)+n.operand.text:n.operand.text:void 0;default:return Nt.assertNever(e)}}function Ry(e){switch(e.kind){case 79:case 10:case 14:case 8:return!0;default:return!1}}function Ny(e){return Dl(e)?Pc(e):e.text}function Dy(e){return Dl(e)?e.escapedText:Oc(e.text)}function Oy(e){return`__@${WG(e)}@${e.escapedName}`}function My(e,n){return`__#${WG(e)}@${n}`}function Py(e){return pt(e.escapedName,"__@")}function Fy(e){return pt(e.escapedName,"__#")}function Gy(e){return 79===e.kind&&"Symbol"===e.escapedText}function By(e){return AC(e)?"__proto__"===Pc(e):cC(e)&&"__proto__"===e.text}function Uy(e,n){switch((e=HR(e)).kind){case 228:case 215:if(e.name)return!1;break;case 216:break;default:return!1}return"function"!=typeof n||n(e)}function Vy(e){switch(e.kind){case 299:return!By(e.name);case 300:return!!e.objectAssignmentInitializer;case 257:return AC(e.name)&&!!e.initializer;case 166:case 205:return AC(e.name)&&!!e.initializer&&!e.dotDotDotToken;case 169:return!!e.initializer;case 223:switch(e.operatorToken.kind){case 63:case 76:case 75:case 77:return AC(e.left)}break;case 274:return!0}return!1}function jy(e,n){if(!Vy(e))return!1;switch(e.kind){case 299:case 257:case 166:case 205:case 169:return Uy(e.initializer,n);case 300:return Uy(e.objectAssignmentInitializer,n);case 223:return Uy(e.right,n);case 274:return Uy(e.expression,n)}}function Hy(e){return"push"===e.escapedText||"unshift"===e.escapedText}function Ky(e){return 166===Wy(e).kind}function Wy(e){for(;205===e.kind;)e=e.parent.parent;return e}function qy(e){const n=e.kind;return 173===n||215===n||259===n||216===n||171===n||174===n||175===n||264===n||308===n}function zy(e){return Xx(e.pos)||Xx(e.end)}function Jy(e){return Dc(e,Aw)||e}function Xy(e){const n=Qy(e),t=211===e.kind&&void 0!==e.arguments;return Yy(e.kind,n,t)}function Yy(e,n,t){switch(e){case 211:return t?0:1;case 221:case 218:case 219:case 217:case 220:case 224:case 226:return 1;case 223: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 $y(e){const n=Qy(e),t=211===e.kind&&void 0!==e.arguments;return Zy(e.kind,n,t)}function Qy(e){return 223===e.kind?e.operatorToken.kind:221===e.kind||222===e.kind?e.operator:e.kind}function Zy(e,n,t){switch(e){case 357:return 0;case 227:return 1;case 226:return 2;case 224:return 4;case 223: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 ev(n)}case 213:case 232:case 221:case 218:case 219:case 217:case 220:return 16;case 222:return 17;case 210:return 18;case 211:return t?19:18;case 212:case 208:case 209:case 233:return 19;case 231:case 235:return 11;case 108:case 106:case 79:case 80:case 104:case 110:case 95:case 8:case 9:case 10:case 206:case 207:case 215:case 216:case 228:case 13:case 14:case 225:case 214:case 229:case 281:case 282:case 285:return 20;default:return-1}}function ev(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 128:case 150: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}function nv(e){return j(e,(e=>{switch(e.kind){case 291:return!!e.expression;case 11:return!e.containsOnlyTriviaWhiteSpaces;default:return!0}}))}function tv(){let e=[];const n=[],t=new Map;let r=!1;return{add:function(i){let a;i.file?(a=t.get(i.file.fileName),a||(a=[],t.set(i.file.fileName,a),me(n,i.file.fileName,Wn))):(r&&(r=!1,e=e.slice()),a=e),me(a,i,NT)},lookup:function(n){let r;if(r=n.file?t.get(n.file.fileName):e,!r)return;const i=He(r,n,Cn,NT);return i>=0?r[i]:void 0},getGlobalDiagnostics:function(){return r=!0,e},getDiagnostics:function(r){if(r)return t.get(r)||[];const i=Y(n,(e=>t.get(e)));return e.length?(i.unshift(...e),i):i}}}function rv(e){return e&&!!(uC(e)?e.templateFlags:e.head.templateFlags||ce(e.templateSpans,(e=>!!e.literal.templateFlags)))}function iv(e){return"\\u"+("0000"+e.toString(16).toUpperCase()).slice(-4)}function av(e,n,t){if(0===e.charCodeAt(0)){const r=t.charCodeAt(n+e.length);return r>=48&&r<=57?"\\x00":"\\0"}return S_.get(e)||iv(e.charCodeAt(0))}function ov(e,n){const t=96===n?x_:39===n?T_:E_;return e.replace(t,av)}function sv(e,n){return e=ov(e,n),A_.test(e)?e.replace(A_,(e=>iv(e.charCodeAt(0)))):e}function cv(e){return 0===e.charCodeAt(0)?"&#0;":k_.get(e)||"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function lv(e,n){const t=39===n?C_:L_;return e.replace(t,cv)}function dv(e){const n=e.length;return n>=2&&e.charCodeAt(0)===e.charCodeAt(n-1)&&(39===(t=e.charCodeAt(0))||34===t||96===t)?e.substring(1,n-1):e;var t}function uv(e){const n=e.charCodeAt(0);return n>=97&&n<=122||rt(e,"-")||rt(e,":")}function _v(e){const n=I_[1];for(let t=I_.length;t<=e;t++)I_.push(I_[t-1]+n);return I_[e]}function pv(){return I_[1].length}function fv(){return rt(t,"-dev")||rt(t,"-insiders")}function mv(e){var n,t,r,i,a,o=!1;function s(e){const t=ps(e);t.length>1?(i=i+t.length-1,a=n.length-e.length+Ge(t),r=a-n.length==0):r=!1}function c(e){e&&e.length&&(r&&(e=_v(t)+e,r=!1),n+=e,s(e))}function l(e){e&&(o=!1),c(e)}function d(){n="",t=0,r=!0,i=0,a=0,o=!1}return d(),{write:l,rawWrite:function(e){void 0!==e&&(n+=e,s(e),o=!1)},writeLiteral:function(e){e&&e.length&&l(e)},writeLine:function(t){r&&!t||(i++,a=(n+=e).length,r=!0,o=!1)},increaseIndent:()=>{t++},decreaseIndent:()=>{t--},getIndent:()=>t,getTextPos:()=>n.length,getLine:()=>i,getColumn:()=>r?t*pv():n.length-a,getText:()=>n,isAtStartOfLine:()=>r,hasTrailingComment:()=>o,hasTrailingWhitespace:()=>!!n.length&&Es(n.charCodeAt(n.length-1)),clear:d,writeKeyword:l,writeOperator:l,writeParameter:l,writeProperty:l,writePunctuation:l,writeSpace:l,writeStringLiteral:l,writeSymbol:(e,n)=>l(e),writeTrailingSemicolon:l,writeComment:function(e){e&&(o=!0),c(e)},getTextPosWithWriteLine:function(){return r?n.length:n.length+e.length}}}function hv(e){let n=!1;function t(){n&&(e.writeTrailingSemicolon(";"),n=!1)}return{...e,writeTrailingSemicolon(){n=!0},writeLiteral(n){t(),e.writeLiteral(n)},writeStringLiteral(n){t(),e.writeStringLiteral(n)},writeSymbol(n,r){t(),e.writeSymbol(n,r)},writePunctuation(n){t(),e.writePunctuation(n)},writeKeyword(n){t(),e.writeKeyword(n)},writeOperator(n){t(),e.writeOperator(n)},writeParameter(n){t(),e.writeParameter(n)},writeSpace(n){t(),e.writeSpace(n)},writeProperty(n){t(),e.writeProperty(n)},writeComment(n){t(),e.writeComment(n)},writeLine(){t(),e.writeLine()},increaseIndent(){t(),e.increaseIndent()},decreaseIndent(){t(),e.decreaseIndent()}}}function gv(e){return!!e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames()}function yv(e){return lt(gv(e))}function vv(e,n,t){return n.moduleName||Tv(e,n.fileName,t&&t.fileName)}function bv(e,n){return e.getCanonicalFileName(bo(n,e.getCurrentDirectory()))}function Ev(e,n,t){const r=n.getExternalModuleFileFromDeclaration(t);if(!r||r.isDeclarationFile)return;const i=mg(t);return i&&t_(i)&&!Za(i.text)&&-1===bv(e,r.path).indexOf(bv(e,Ao(e.getCommonSourceDirectory())))?void 0:vv(e,r)}function Tv(e,n,t){const r=n=>e.getCanonicalFileName(n),i=xo(t?co(t):e.getCommonSourceDirectory(),e.getCurrentDirectory(),r),a=Hx(Go(i,bo(n,e.getCurrentDirectory()),i,r,!1));return t?Lo(a):a}function xv(e,n,t){const r=n.getCompilerOptions();let i;return i=r.outDir?Hx(Nv(e,n,r.outDir)):Hx(e),i+t}function Sv(e,n){return Av(e,n.getCompilerOptions(),n.getCurrentDirectory(),n.getCommonSourceDirectory(),(e=>n.getCanonicalFileName(e)))}function Av(e,n,t,r,i){const a=n.declarationDir||n.outDir,o=a?Dv(e,a,t,r,i):e,s=Lv(o);return Hx(o)+s}function Lv(e){return ro(e,[".mjs",".mts"])?".d.mts":ro(e,[".cjs",".cts"])?".d.cts":ro(e,[".json"])?".d.json.ts":".d.ts"}function Cv(e){return ro(e,[".d.mts",".mjs",".mts"])?[".mts",".mjs"]:ro(e,[".d.cts",".cjs",".cts"])?[".cts",".cjs"]:ro(e,[".d.json.ts"])?[".json"]:[".tsx",".ts",".jsx",".js"]}function kv(e){return e.outFile||e.out}function Iv(e,n){var t,r;if(e.paths)return null!=(r=e.baseUrl)?r:Nt.checkDefined(e.pathsBasePath||(null==(t=n.getCurrentDirectory)?void 0:t.call(n)),"Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.")}function wv(e,n,t){const r=e.getCompilerOptions();if(kv(r)){const n=UT(r),i=r.emitDeclarationOnly||2===n||4===n;return j(e.getSourceFiles(),(n=>(i||!kD(n))&&Rv(n,e,t)))}return j(void 0===n?e.getSourceFiles():[n],(n=>Rv(n,e,t)))}function Rv(e,n,t){return!(n.getCompilerOptions().noEmitForJsFiles&&xh(e))&&!e.isDeclarationFile&&!n.isSourceFileFromExternalLibrary(e)&&(t||!(rm(e)&&n.getResolvedProjectReferenceToRedirect(e.fileName))&&!n.isSourceOfProjectReferenceRedirect(e.fileName))}function Nv(e,n,t){return Dv(e,t,n.getCurrentDirectory(),n.getCommonSourceDirectory(),(e=>n.getCanonicalFileName(e)))}function Dv(e,n,t,r,i){let a=bo(e,t);return a=0===i(a).indexOf(i(r))?a.substring(r.length):a,go(n,a)}function Ov(e,n,t,r,i,a,o){e.writeFile(t,r,i,(e=>{n.add(LT(Vo.Could_not_write_file_0_Colon_1,t,e))}),a,o)}function Mv(e,n,t){e.length>so(e)&&!t(e)&&(Mv(co(e),n,t),n(e))}function Pv(e,n,t,r,i,a){try{r(e,n,t)}catch(o){Mv(co(Eo(e)),i,a),r(e,n,t)}}function Fv(e,n){return ys(hs(e),n)}function Gv(e,n){return ys(e,n)}function Bv(e){return D(e.members,(e=>YC(e)&&Gp(e.body)))}function Uv(e){if(e&&e.parameters.length>0){const n=2===e.parameters.length&&Hv(e.parameters[0]);return e.parameters[n?1:0]}}function Vv(e){const n=Uv(e);return n&&n.type}function jv(e){if(e.parameters.length&&!Kw(e)){const n=e.parameters[0];if(Hv(n))return n}}function Hv(e){return Kv(e.name)}function Kv(e){return!!e&&79===e.kind&&qv(e)}function Wv(e){if(!Kv(e))return!1;for(;UC(e.parent)&&e.parent.left===e;)e=e.parent;return 183===e.parent.kind}function qv(e){return"this"===e.escapedText}function zv(e,n){let t,r,i,a;return ky(n)?(t=n,174===n.kind?i=n:175===n.kind?a=n:Nt.fail("Accessor has wrong kind")):A(e,(e=>{Od(e)&&ub(e)===ub(n)&&wy(e.name)===wy(n.name)&&(t?r||(r=e):t=e,174!==e.kind||i||(i=e),175!==e.kind||a||(a=e))})),{firstAccessor:t,secondAccessor:r,getAccessor:i,setAccessor:a}}function Jv(e){if(!Ah(e)&&wI(e))return;const n=e.type;return n||!Ah(e)?n:Yl(e)?e.typeExpression&&e.typeExpression.type:Tl(e)}function Xv(e){return e.type}function Yv(e){return Kw(e)?e.type&&e.type.typeExpression&&e.type.typeExpression.type:e.type||(Ah(e)?xl(e):void 0)}function $v(e){return X(Al(e),(e=>function(e){return cR(e)&&!(323===e.parent.kind&&(e.parent.tags.some(Eg)||e.parent.tags.some(eR)))}(e)?e.typeParameters:void 0))}function Qv(e){const n=Uv(e);return n&&Jv(n)}function Zv(e,n,t,r){eb(e,n,t.pos,r)}function eb(e,n,t,r){r&&r.length&&t!==r[0].pos&&Gv(e,t)!==Gv(e,r[0].pos)&&n.writeLine()}function nb(e,n,t,r){t!==r&&Gv(e,t)!==Gv(e,r)&&n.writeLine()}function tb(e,n,t,r,i,a,o,s){if(r&&r.length>0){i&&t.writeSpace(" ");let c=!1;for(const i of r)c&&(t.writeSpace(" "),c=!1),s(e,n,t,i.pos,i.end,o),i.hasTrailingNewLine?t.writeLine():c=!0;c&&a&&t.writeSpace(" ")}}function rb(e,n,t,r,i,a,o){let s,c;if(o?0===i.pos&&(s=j(Bs(e,i.pos),(function(n){return Xp(e,n.pos)}))):s=Bs(e,i.pos),s){const o=[];let l;for(const e of s){if(l){const t=Gv(n,l.end);if(Gv(n,e.pos)>=t+2)break}o.push(e),l=e}if(o.length){const l=Gv(n,Ge(o).end);Gv(n,ks(e,i.pos))>=l+2&&(Zv(n,t,i,s),tb(e,n,t,o,!1,!0,a,r),c={nodePos:i.pos,detachedCommentEndPos:Ge(o).end})}}return c}function ib(e,n,t,r,i,a){if(42===e.charCodeAt(r+1)){const o=gs(n,r),s=n.length;let c;for(let l=r,d=o.line;l<i;d++){const u=d+1===s?e.length+1:n[d+1];if(l!==r){void 0===c&&(c=ob(e,n[o.line],r));const i=t.getIndent()*pv()-c+ob(e,l,u);if(i>0){let e=i%pv();const n=_v((i-e)/pv());for(t.rawWrite(n);e;)t.rawWrite(" "),e--}else t.rawWrite("")}ab(e,i,t,a,l,u),l=u}}else t.writeComment(e.substring(r,i))}function ab(e,n,t,r,i,a){const o=Math.min(n,a-1),s=h(e.substring(i,o));s?(t.writeComment(s),o!==n&&t.writeLine()):t.rawWrite(r)}function ob(e,n,t){let r=0;for(;n<t&&Ts(e.charCodeAt(n));n++)9===e.charCodeAt(n)?r+=pv()-r%pv():r++;return r}function sb(e){return 0!==Tb(e)}function cb(e){return 0!==Sb(e)}function lb(e,n){return!!vb(e,n)}function db(e,n){return!!bb(e,n)}function ub(e){return Nd(e)&&_b(e)||XC(e)}function _b(e){return db(e,32)}function pb(e){return lb(e,16384)}function fb(e){return db(e,256)}function mb(e){return db(e,2)}function hb(e){return db(e,128)}function gb(e){return lb(e,64)}function yb(e){return db(e,131072)}function vb(e,n){return Tb(e)&n}function bb(e,n){return Sb(e)&n}function Eb(e,n,t){return e.kind>=0&&e.kind<=162?0:(536870912&e.modifierFlagsCache||(e.modifierFlagsCache=536870912|Cb(e)),!n||4096&e.modifierFlagsCache||!t&&!Ah(e)||!e.parent||(e.modifierFlagsCache|=4096|Ab(e)),-536875009&e.modifierFlagsCache)}function Tb(e){return Eb(e,!0)}function xb(e){return Eb(e,!0,!0)}function Sb(e){return Eb(e,!1)}function Ab(e){let n=0;return e.parent&&!HC(e)&&(Ah(e)&&(ol(e)&&(n|=4),cl(e)&&(n|=8),dl(e)&&(n|=16),_l(e)&&(n|=64),pl(e)&&(n|=16384)),ml(e)&&(n|=8192)),n}function Lb(e){return Cb(e)|Ab(e)}function Cb(e){let n=PN(e)?kb(e.modifiers):0;return(4&e.flags||79===e.kind&&2048&e.flags)&&(n|=1),n}function kb(e){let n=0;if(e)for(const t of e)n|=Ib(t.kind);return n}function Ib(e){switch(e){case 124:return 32;case 123:return 4;case 122:return 16;case 121:return 8;case 126:return 256;case 127:return 128;case 93:return 1;case 136:return 2;case 85:return 2048;case 88:return 1024;case 132:return 512;case 146:return 64;case 161:return 16384;case 101:return 32768;case 145:return 65536;case 167:return 131072}return 0}function wb(e){return 56===e||55===e}function Rb(e){return wb(e)||53===e}function Nb(e){return 75===e||76===e||77===e}function Db(e){return qk(e)&&Nb(e.operatorToken.kind)}function Ob(e){return wb(e)||60===e}function Mb(e){return qk(e)&&Ob(e.operatorToken.kind)}function Pb(e){return e>=63&&e<=78}function Fb(e){const n=Gb(e);return n&&!n.isImplements?n.class:void 0}function Gb(e){if(Zk(e)){if(yw(e.parent)&&Dd(e.parent.parent))return{class:e.parent.parent,isImplements:117===e.parent.token};if(Ww(e.parent)){const n=Pg(e.parent);if(n&&Dd(n))return{class:n,isImplements:!1}}}}function Bb(e,n){return qk(e)&&(n?63===e.operatorToken.kind:Pb(e.operatorToken.kind))&&au(e.left)}function Ub(e){return Bb(e.parent)&&e.parent.left===e}function Vb(e){if(Bb(e,!0)){const n=e.left.kind;return 207===n||206===n}return!1}function jb(e){return void 0!==Fb(e)}function Hb(e){return 79===e.kind||qb(e)}function Kb(e){switch(e.kind){case 79:return e;case 163:do{e=e.left}while(79!==e.kind);return e;case 208:do{e=e.expression}while(79!==e.kind);return e}}function Wb(e){return 79===e.kind||108===e.kind||106===e.kind||233===e.kind||208===e.kind&&Wb(e.expression)||214===e.kind&&Wb(e.expression)}function qb(e){return Rk(e)&&AC(e.name)&&Hb(e.expression)}function zb(e){if(Rk(e)){const n=zb(e.expression);if(void 0!==n)return n+"."+jf(e.name)}else if(Nk(e)){const n=zb(e.expression);if(void 0!==n&&xd(e.argumentExpression))return n+"."+wy(e.argumentExpression)}else if(AC(e))return Mc(e.escapedText)}function Jb(e){return eg(e)&&"prototype"===ag(e)}function Xb(e){return 163===e.parent.kind&&e.parent.right===e||208===e.parent.kind&&e.parent.name===e}function Yb(e){return Rk(e.parent)&&e.parent.name===e||Nk(e.parent)&&e.parent.argumentExpression===e}function $b(e){return UC(e.parent)&&e.parent.right===e||Rk(e.parent)&&e.parent.name===e||ww(e.parent)&&e.parent.right===e}function Qb(e){return 207===e.kind&&0===e.properties.length}function Zb(e){return 206===e.kind&&0===e.elements.length}function eE(e){if(function(e){return e&&S(e.declarations)>0&&db(e.declarations[0],1024)}(e)&&e.declarations)for(const n of e.declarations)if(n.localSymbol)return n.localSymbol}function nE(e){return D(z_,(n=>to(e,n)))}function tE(e){let n="";const t=function(e){const n=[],t=e.length;for(let r=0;r<t;r++){const t=e.charCodeAt(r);t<128?n.push(t):t<2048?(n.push(t>>6|192),n.push(63&t|128)):t<65536?(n.push(t>>12|224),n.push(t>>6&63|128),n.push(63&t|128)):t<131072?(n.push(t>>18|240),n.push(t>>12&63|128),n.push(t>>6&63|128),n.push(63&t|128)):Nt.assert(!1,"Unexpected code point")}return n}(e);let r=0;const i=t.length;let a,o,s,c;for(;r<i;)a=t[r]>>2,o=(3&t[r])<<4|t[r+1]>>4,s=(15&t[r+1])<<2|t[r+2]>>6,c=63&t[r+2],r+1>=i?s=c=64:r+2>=i&&(c=64),n+=w_.charAt(a)+w_.charAt(o)+w_.charAt(s)+w_.charAt(c),r+=3;return n}function rE(e,n){return e&&e.base64encode?e.base64encode(n):tE(n)}function iE(e,n){if(e&&e.base64decode)return e.base64decode(n);const t=n.length,r=[];let i=0;for(;i<t&&n.charCodeAt(i)!==w_.charCodeAt(64);){const e=w_.indexOf(n[i]),t=w_.indexOf(n[i+1]),a=w_.indexOf(n[i+2]),o=w_.indexOf(n[i+3]),s=(63&e)<<2|t>>4&3,c=(15&t)<<4|a>>2&15,l=(3&a)<<6|63&o;0===c&&0!==a?r.push(s):0===l&&0!==o?r.push(s,c):r.push(s,c,l),i+=4}return function(e){let n="",t=0;const r=e.length;for(;t<r;){const r=e[t];if(r<128)n+=String.fromCharCode(r),t++;else if(192==(192&r)){let i=63&r;t++;let a=e[t];for(;128==(192&a);)i=i<<6|63&a,t++,a=e[t];n+=String.fromCharCode(i)}else n+=String.fromCharCode(r),t++}return n}(r)}function aE(e,n){const t=vn(n)?n:n.readFile(e);if(!t)return;const r=KO(e,t);return r.error?void 0:r.config}function oE(e,n){return aE(e,n)||{}}function sE(e,n){return!n.directoryExists||n.directoryExists(e)}function cE(e){switch(e.newLine){case 0:return R_;case 1:case void 0:return N_}}function lE(e,n=e){return Nt.assert(n>=e||-1===n),{pos:e,end:n}}function dE(e,n){return lE(e.pos,n)}function uE(e,n){return lE(n,e.end)}function _E(e){const n=PN(e)?O(e.modifiers,KC):void 0;return n&&!Xx(n.end)?uE(e,n.end):e}function pE(e){if(qC(e)||JC(e))return uE(e,e.name.pos);const n=PN(e)?Fe(e.modifiers):void 0;return n&&!Xx(n.end)?uE(e,n.end):_E(e)}function fE(e){return e.pos===e.end}function mE(e,n){return lE(e,e+us(n).length)}function hE(e,n){return vE(e,e,n)}function gE(e,n,t){return SE(AE(e,t,!1),AE(n,t,!1),t)}function yE(e,n,t){return SE(e.end,n.end,t)}function vE(e,n,t){return SE(AE(e,t,!1),n.end,t)}function bE(e,n,t){return SE(e.end,AE(n,t,!1),t)}function EE(e,n,t,r){const i=AE(n,t,r);return vs(t,e.end,i)}function TE(e,n,t){return vs(t,e.end,n.end)}function xE(e,n){return!SE(e.pos,e.end,n)}function SE(e,n,t){return 0===vs(t,e,n)}function AE(e,n,t){return Xx(e.pos)?-1:ks(n.text,e.pos,!1,t)}function LE(e,n,t,r){const i=ks(t.text,e,!1,r),a=function(e,n=0,t){for(;e-- >n;)if(!Es(t.text.charCodeAt(e)))return e}(i,n,t);return vs(t,null!=a?a:n,i)}function CE(e,n,t,r){const i=ks(t.text,e,!1,r);return vs(t,e,Math.min(n,i))}function kE(e){const n=Dc(e);if(n)switch(n.parent.kind){case 263:case 264:return n===n.parent.name}return!1}function IE(e){return j(e.declarations,wE)}function wE(e){return kI(e)&&void 0!==e.initializer}function RE(e){return e.watch&&qe(e,"watch")}function NE(e){e.close()}function DE(e){return 33554432&e.flags?e.links.checkFlags:0}function OE(e,n=!1){if(e.valueDeclaration){const t=Lc(n&&e.declarations&&D(e.declarations,QC)||32768&e.flags&&D(e.declarations,$C)||e.valueDeclaration);return e.parent&&32&e.parent.flags?t:-29&t}if(6&DE(e)){const n=e.links.checkFlags;return(1024&n?8:256&n?4:16)|(2048&n?32:0)}return 4194304&e.flags?36:0}function ME(e,n){return 2097152&e.flags?n.getAliasedSymbol(e):e}function PE(e){return e.exportSymbol?e.exportSymbol.flags|e.flags:e.flags}function FE(e){return 1===BE(e)}function GE(e){return 0!==BE(e)}function BE(e){const{parent:n}=e;if(!n)return 0;switch(n.kind){case 214:case 206:return BE(n);case 222:case 221:const{operator:r}=n;return 45===r||46===r?t():0;case 223:const{left:i,operatorToken:a}=n;return i===e&&Pb(a.kind)?63===a.kind?1:t():0;case 208:return n.name!==e?0:BE(n);case 299:{const t=BE(n.parent);return e===n.name?function(e){switch(e){case 0:return 1;case 1:return 0;case 2:return 2;default:return Nt.assertNever(e)}}(t):t}case 300:return e===n.objectAssignmentInitializer?0:BE(n.parent);default:return 0}function t(){return n.parent&&241===zg(n.parent).kind?1:2}}function UE(e,n){if(!e||!n||Object.keys(e).length!==Object.keys(n).length)return!1;for(const t in e)if("object"==typeof e[t]){if(!UE(e[t],n[t]))return!1}else if("function"!=typeof e[t]&&e[t]!==n[t])return!1;return!0}function VE(e,n){e.forEach(n),e.clear()}function jE(e,n,t){const{onDeleteValue:r,onExistingValue:i}=t;e.forEach(((t,a)=>{const o=n.get(a);void 0===o?(e.delete(a),r(t,a)):i&&i(t,o,a)}))}function HE(e,n,t){jE(e,n,t);const{createNewValue:r}=t;n.forEach(((n,t)=>{e.has(t)||e.set(t,r(t,n))}))}function KE(e){if(32&e.flags){const n=WE(e);return!!n&&db(n,256)}return!1}function WE(e){var n;return null==(n=e.declarations)?void 0:n.find(Dd)}function qE(e){return 3899393&e.flags?e.objectFlags:0}function zE(e,n){return!!Bo(e,(e=>!!n(e)||void 0))}function JE(e){return!!e&&!!e.declarations&&!!e.declarations[0]&&GI(e.declarations[0])}function XE({moduleSpecifier:e}){return cC(e)?e.text:tf(e)}function YE(e){let n;return ED(e,(e=>{Gp(e)&&(n=e)}),(e=>{for(let t=e.length-1;t>=0;t--)if(Gp(e[t])){n=e[t];break}})),n}function $E(e,n,t=!0){return!e.has(n)&&(e.set(n,t),!0)}function QE(e){return Dd(e)||NI(e)||sk(e)}function ZE(e){return e>=179&&e<=202||131===e||157===e||148===e||160===e||149===e||134===e||152===e||153===e||114===e||155===e||144===e||139===e||230===e||315===e||316===e||317===e||318===e||319===e||320===e||321===e}function eT(e){return 208===e.kind||209===e.kind}function nT(e){return 208===e.kind?e.name:(Nt.assert(209===e.kind),e.argumentExpression)}function tT(e){switch(e.kind){case"text":case"internal":return!0;default:return!1}}function rT(e){return 272===e.kind||276===e.kind}function iT(e){for(;eT(e);)e=e.expression;return e}function aT(e,n){if(eT(e.parent)&&Yb(e))return function e(t){if(208===t.kind){const e=n(t.name);if(void 0!==e)return e}else if(209===t.kind){if(!AC(t.argumentExpression)&&!t_(t.argumentExpression))return;{const e=n(t.argumentExpression);if(void 0!==e)return e}}return eT(t.expression)?e(t.expression):AC(t.expression)?n(t.expression):void 0}(e.parent)}function oT(e,n){for(;;){switch(e.kind){case 222:e=e.operand;continue;case 223:e=e.left;continue;case 224:e=e.condition;continue;case 212:e=e.tag;continue;case 210:if(n)return e;case 231:case 209:case 208:case 232:case 356:case 235:e=e.expression;continue}return e}}function sT(e,n){this.flags=e,this.escapedName=n,this.declarations=void 0,this.valueDeclaration=void 0,this.id=0,this.mergeId=0,this.parent=void 0,this.members=void 0,this.exports=void 0,this.exportSymbol=void 0,this.constEnumOnlyModule=void 0,this.isReferenced=void 0,this.isAssigned=void 0,this.links=void 0}function cT(e,n){this.flags=n,(Nt.isDebugging||Vr)&&(this.checker=e)}function lT(e,n){this.flags=n,Nt.isDebugging&&(this.checker=e)}function dT(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,this.emitNode=void 0}function uT(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.emitNode=void 0}function _T(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.emitNode=void 0}function pT(e,n,t){this.fileName=e,this.text=n,this.skipTrivia=t||(e=>e)}function fT(e){O_.push(e),e(D_)}function mT(e){Object.assign(D_,e),A(O_,(e=>e(D_)))}function hT(e,n,t=0){return e.replace(/{(\d+)}/g,((e,r)=>""+Nt.checkDefined(n[+r+t])))}function gT(e){M_=e}function yT(e){!M_&&e&&(M_=e())}function vT(e){return M_&&M_[e.key]||e.message}function bT(e,n,t,r){Jf(void 0,n,t);let i=vT(r);return arguments.length>4&&(i=hT(i,arguments,4)),{file:void 0,start:n,length:t,messageText:i,category:r.category,code:r.code,reportsUnnecessary:r.reportsUnnecessary,fileName:e}}function ET(e){return void 0===e.file&&void 0!==e.start&&void 0!==e.length&&"string"==typeof e.fileName}function TT(e,n){const t=n.fileName||"",r=n.text.length;Nt.assertEqual(e.fileName,t),Nt.assertLessThanOrEqual(e.start,r),Nt.assertLessThanOrEqual(e.start+e.length,r);const i={file:n,start:e.start,length:e.length,messageText:e.messageText,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary};if(e.relatedInformation){i.relatedInformation=[];for(const a of e.relatedInformation)ET(a)&&a.fileName===t?(Nt.assertLessThanOrEqual(a.start,r),Nt.assertLessThanOrEqual(a.start+a.length,r),i.relatedInformation.push(TT(a,n))):i.relatedInformation.push(a)}return i}function xT(e,n){const t=[];for(const r of e)t.push(TT(r,n));return t}function ST(e,n,t,r){Jf(e,n,t);let i=vT(r);return arguments.length>4&&(i=hT(i,arguments,4)),{file:e,start:n,length:t,messageText:i,category:r.category,code:r.code,reportsUnnecessary:r.reportsUnnecessary,reportsDeprecated:r.reportsDeprecated}}function AT(e,n){let t=vT(n);return arguments.length>2&&(t=hT(t,arguments,2)),t}function LT(e){let n=vT(e);return arguments.length>1&&(n=hT(n,arguments,1)),{file:void 0,start:void 0,length:void 0,messageText:n,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary,reportsDeprecated:e.reportsDeprecated}}function CT(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}}function kT(e,n){let t=vT(n);return arguments.length>2&&(t=hT(t,arguments,2)),{messageText:t,category:n.category,code:n.code,next:void 0===e||Array.isArray(e)?e:[e]}}function IT(e,n){let t=e;for(;t.next;)t=t.next[0];t.next=[n]}function wT(e){return e.file?e.file.path:void 0}function RT(e,n){return NT(e,n)||function(e,n){return e.relatedInformation||n.relatedInformation?e.relatedInformation&&n.relatedInformation?Un(e.relatedInformation.length,n.relatedInformation.length)||A(e.relatedInformation,((e,t)=>RT(e,n.relatedInformation[t])))||0:e.relatedInformation?-1:1:0}(e,n)||0}function NT(e,n){return Wn(wT(e),wT(n))||Un(e.start,n.start)||Un(e.length,n.length)||Un(e.code,n.code)||DT(e.messageText,n.messageText)||0}function DT(e,n){if("string"==typeof e&&"string"==typeof n)return Wn(e,n);if("string"==typeof e)return-1;if("string"==typeof n)return 1;let t=Wn(e.messageText,n.messageText);if(t)return t;if(!e.next&&!n.next)return 0;if(!e.next)return-1;if(!n.next)return 1;const r=Math.min(e.next.length,n.next.length);for(let i=0;i<r;i++)if(t=DT(e.next[i],n.next[i]),t)return t;return e.next.length<n.next.length?-1:e.next.length>n.next.length?1:0}function OT(e){return 4===e||2===e||1===e||6===e?1:0}function MT(e){if(2&e.transformFlags)return ju(e)||lw(e)?e:ED(e,MT)}function PT(e){return e.isDeclarationFile?void 0:MT(e)}function FT(e){return!(99!==e.impliedNodeFormat&&!ro(e.fileName,[".cjs",".cts",".mjs",".mts"])||e.isDeclarationFile)||void 0}function GT(e){switch(HT(e)){case 3:return e=>{e.externalModuleIndicator=nD(e)||!e.isDeclarationFile||void 0};case 1:return e=>{e.externalModuleIndicator=nD(e)};case 2:const n=[nD];4!==e.jsx&&5!==e.jsx||n.push(PT),n.push(FT);const t=yt(...n);return e=>{e.externalModuleIndicator=t(e)}}}function BT(e){var n;return null!=(n=e.target)?n:(100===e.module?9:199===e.module&&99)||1}function UT(e){return"number"==typeof e.module?e.module:BT(e)>=2?5:1}function VT(e){return e>=5&&e<=99}function jT(e){let n=e.moduleResolution;if(void 0===n)switch(UT(e)){case 1:n=2;break;case 100:n=3;break;case 199:n=99;break;default:n=1}return n}function HT(e){return e.moduleDetection||(100===UT(e)||199===UT(e)?3:2)}function KT(e){switch(UT(e)){case 1:case 2:case 5:case 6:case 7:case 99:case 100:case 199:return!0;default:return!1}}function WT(e){return!(!e.isolatedModules&&!e.verbatimModuleSyntax)}function qT(e){return e.verbatimModuleSyntax||e.isolatedModules&&e.preserveValueImports}function zT(e){return!1===e.allowUnreachableCode}function JT(e){return!1===e.allowUnusedLabels}function XT(e){return!(!tx(e)||!e.declarationMap)}function YT(e){if(void 0!==e.esModuleInterop)return e.esModuleInterop;switch(UT(e)){case 100:case 199:return!0}}function $T(e){return void 0!==e.allowSyntheticDefaultImports?e.allowSyntheticDefaultImports:YT(e)||4===UT(e)||100===jT(e)}function QT(e){return e>=3&&e<=99||100===e}function ZT(e){const n=jT(e);if(!QT(n))return!1;if(void 0!==e.resolvePackageJsonExports)return e.resolvePackageJsonExports;switch(n){case 3:case 99:case 100:return!0}return!1}function ex(e){const n=jT(e);if(!QT(n))return!1;if(void 0!==e.resolvePackageJsonExports)return e.resolvePackageJsonExports;switch(n){case 3:case 99:case 100:return!0}return!1}function nx(e){return void 0!==e.resolveJsonModule?e.resolveJsonModule:100===jT(e)}function tx(e){return!(!e.declaration&&!e.composite)}function rx(e){return!(!e.preserveConstEnums&&!WT(e))}function ix(e){return!(!e.incremental&&!e.composite)}function ax(e,n){return void 0===e[n]?!!e.strict:!!e[n]}function ox(e){return void 0===e.allowJs?!!e.checkJs:e.allowJs}function sx(e){return void 0===e.useDefineForClassFields?BT(e)>=9:e.useDefineForClassFields}function cx(e,n){return up(n,e,$D)}function lx(e,n){return up(n,e,QD)}function dx(e,n){return up(n,e,ZD)}function ux(e,n){return n.strictFlag?ax(e,n.name):e[n.name]}function _x(e){const n=e.jsx;return 2===n||4===n||5===n}function px(e,n){const t=null==n?void 0:n.pragmas.get("jsximportsource"),r=gn(t)?t[t.length-1]:t;return 4===e.jsx||5===e.jsx||e.jsxImportSource||r?(null==r?void 0:r.arguments.factory)||e.jsxImportSource||"react":void 0}function fx(e,n){return e?`${e}/${5===n.jsx?"jsx-dev-runtime":"jsx-runtime"}`:void 0}function mx(e){let n=!1;for(let t=0;t<e.length;t++)if(42===e.charCodeAt(t)){if(n)return!1;n=!0}return!0}function hx(e,n){let t,r,a,o=!1;return{getSymlinkedFiles:()=>a,getSymlinkedDirectories:()=>t,getSymlinkedDirectoriesByRealpath:()=>r,setSymlinkedFile:(e,n)=>(a||(a=new Map)).set(e,n),setSymlinkedDirectory:(i,a)=>{let o=xo(i,e,n);IS(o)||(o=Ao(o),!1===a||(null==t?void 0:t.has(o))||(r||(r=un())).add(Ao(a.realPath),i),(t||(t=new Map)).set(o,a))},setSymlinksFromResolutions(e,n){var t,r;Nt.assert(!o),o=!0;for(const n of e)null==(t=n.resolvedModules)||t.forEach((e=>s(this,e.resolvedModule))),null==(r=n.resolvedTypeReferenceDirectiveNames)||r.forEach((e=>s(this,e.resolvedTypeReferenceDirective)));n.forEach((e=>s(this,e.resolvedTypeReferenceDirective)))},hasProcessedResolutions:()=>o};function s(t,r){if(!r||!r.originalPath||!r.resolvedFileName)return;const{resolvedFileName:a,originalPath:o}=r;t.setSymlinkedFile(xo(o,e,n),a);const[s,c]=function(e,n,t,r){const i=po(bo(e,t)),a=po(bo(n,t));let o=!1;for(;i.length>=2&&a.length>=2&&!gx(i[i.length-2],r)&&!gx(a[a.length-2],r)&&r(i[i.length-1])===r(a[a.length-1]);)i.pop(),a.pop(),o=!0;return o?[fo(i),fo(a)]:void 0}(a,o,e,n)||i;s&&c&&t.setSymlinkedDirectory(c,{real:s,realPath:xo(s,e,n)})}}function gx(e,n){return void 0!==e&&("node_modules"===n(e)||pt(e,"@"))}function yx(e,n,t){const r=mt(e,n,t);return void 0===r?void 0:Ja((i=r).charCodeAt(0))?i.slice(1):void 0;var i}function vx(e){return e.replace(P_,bx)}function bx(e){return"\\"+e}function Ex(e,n,t){const r=Tx(e,n,t);if(r&&r.length)return`^(${r.map((e=>`(${e})`)).join("|")})${"exclude"===t?"($|/)":"$"}`}function Tx(e,n,t){if(void 0!==e&&0!==e.length)return X(e,(e=>e&&Ax(e,n,t,H_[t])))}function xx(e){return!/[.*?]/.test(e)}function Sx(e,n,t){const r=e&&Ax(e,n,t,H_[t]);return r&&`^(${r})${"exclude"===t?"($|/)":"$"}`}function Ax(e,n,t,{singleAsteriskRegexFragment:r,doubleAsteriskRegexFragment:i,replaceWildcardCharacter:a}){let o="",s=!1;const c=vo(e,n),l=Ge(c);if("exclude"!==t&&"**"===l)return;c[0]=So(c[0]),xx(l)&&c.push("**","*");let d=0;for(let e of c){if("**"===e)o+=i;else if("directories"===t&&(o+="(",d++),s&&(o+=ja),"exclude"!==t){let n="";42===e.charCodeAt(0)?(n+="([^./]"+r+")?",e=e.substr(1)):63===e.charCodeAt(0)&&(n+="[^./]",e=e.substr(1)),n+=e.replace(P_,a),n!==e&&(o+=B_),o+=n}else o+=e.replace(P_,a);s=!0}for(;d>0;)o+=")?",d--;return o}function Lx(e,n){return"*"===e?n:"?"===e?"[^/]":"\\"+e}function Cx(e,n,t,r,i){e=Eo(e);const a=go(i=Eo(i),e);return{includeFilePatterns:W(Tx(t,a,"files"),(e=>`^${e}$`)),includeFilePattern:Ex(t,a,"files"),includeDirectoryPattern:Ex(t,a,"directories"),excludePattern:Ex(n,a,"exclude"),basePaths:wx(e,t,r)}}function kx(e,n){return new RegExp(e,n?"":"i")}function Ix(e,n,t,r,i,a,o,s,c){e=Eo(e),a=Eo(a);const l=Cx(e,t,r,i,a),d=l.includeFilePatterns&&l.includeFilePatterns.map((e=>kx(e,i))),u=l.includeDirectoryPattern&&kx(l.includeDirectoryPattern,i),_=l.excludePattern&&kx(l.excludePattern,i),p=d?d.map((()=>[])):[[]],f=new Map,m=lt(i);for(const e of l.basePaths)h(e,go(a,e),o);return J(p);function h(e,t,r){const i=m(c(t));if(f.has(i))return;f.set(i,!0);const{files:a,directories:o}=s(e);for(const r of Ie(a,Wn)){const i=go(e,r),a=go(t,r);if((!n||ro(i,n))&&(!_||!_.test(a)))if(d){const e=M(d,(e=>e.test(a)));-1!==e&&p[e].push(i)}else p[0].push(i)}if(void 0===r||0!=--r)for(const n of Ie(o,Wn)){const i=go(e,n),a=go(t,n);u&&!u.test(a)||_&&_.test(a)||h(i,a,r)}}}function wx(e,n,t){const r=[e];if(n){const i=[];for(const t of n){const n=Ya(t)?t:Eo(go(e,t));i.push(Rx(n))}i.sort(qn(!t));for(const n of i)N(r,(r=>!No(r,n,e,!t)))&&r.push(n)}return r}function Rx(e){const n=U(e,F_);return n<0?no(e)?So(co(e)):e:e.substring(0,e.lastIndexOf(ja,n))}function Nx(e,n){return n||Dx(e)||3}function Dx(e){switch(e.substr(e.lastIndexOf(".")).toLowerCase()){case".js":case".cjs":case".mjs":return 1;case".jsx":return 2;case".ts":case".cts":case".mts":return 3;case".tsx":return 4;case".json":return 6;default:return 0}}function Ox(e,n){const t=e&&ox(e);if(!n||0===n.length)return t?Y_:K_;const r=t?Y_:K_,i=J(r);return[...r,...ee(n,(e=>{return 7===e.scriptKind||t&&(1===(n=e.scriptKind)||2===n)&&-1===i.indexOf(e.extension)?[e.extension]:void 0;var n}))]}function Mx(e,n){return e&&nx(e)?n===Y_?$_:n===K_?q_:[...n,[".json"]]:n}function Px(e){return ce(X_,(n=>to(e,n)))}function Fx(e){return ce(W_,(n=>to(e,n)))}function Gx({imports:e},n=yt(Px,Fx)){return C(e,(({text:e})=>Za(e)?n(e):void 0))||!1}function Bx(e,n,t,r){return"js"===e||99===n?NF(t)&&2!==a()?3:2:"minimal"===e?0:"index"===e?1:NF(t)?a():Gx(r)?2:0;function a(){let e=!1;const n=r.imports.length?r.imports.map((e=>e.text)):xh(r)?function(e){let n,t=0;for(const r of e.statements){if(t>3)break;Mh(r)?n=de(n,r.declarationList.declarations.map((e=>e.initializer))):_I(r)&&wh(r.expression,!0)?n=Te(n,r.expression):t++}return n||i}(r).map((e=>e.arguments[0].text)):i;for(const t of n)if(Za(t)){if(Fx(t))return 3;Px(t)&&(e=!0)}return e?2:0}}function Ux(e,n,t){if(!e)return!1;const r=Ox(n,t);for(const t of J(Mx(n,r)))if(to(e,t))return!0;return!1}function Vx(e){const n=e.match(/\//g);return n?n.length:0}function jx(e,n){return Un(Vx(e),Vx(n))}function Hx(e){for(const n of np){const t=Kx(e,n);if(void 0!==t)return t}return e}function Kx(e,n){return to(e,n)?Wx(e,n):void 0}function Wx(e,n){return e.substring(0,e.length-n.length)}function qx(e,n){return Co(e,n,np,!1)}function zx(e){const 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 Jx(e){return ee(Je(e),(e=>zx(e)))}function Xx(e){return!(e>=0)}function Yx(e){return".ts"===e||".tsx"===e||".d.ts"===e||".cts"===e||".mts"===e||".d.mts"===e||".d.cts"===e||pt(e,".d.")&&et(e,".ts")}function $x(e){return Yx(e)||".json"===e}function Qx(e){const n=eS(e);return void 0!==n?n:Nt.fail(`File ${e} has unknown extension.`)}function Zx(e){return void 0!==eS(e)}function eS(e){return D(np,(n=>to(e,n)))}function nS(e,n){return e.checkJsDirective?e.checkJsDirective.enabled:n.checkJs}function tS(e,n){const t=[];for(const r of e){if(r===n)return n;vn(r)||t.push(r)}return _t(t,(e=>e),n)}function rS(e,n){const t=e.indexOf(n);return Nt.assert(-1!==t),e.slice(t)}function iS(e,...n){return n.length?(e.relatedInformation||(e.relatedInformation=[]),Nt.assert(e.relatedInformation!==i,"Diagnostic had empty array singleton for related info, but is still being constructed!"),e.relatedInformation.push(...n),e):e}function aS(e,n){Nt.assert(0!==e.length);let t=n(e[0]),r=t;for(let i=1;i<e.length;i++){const a=n(e[i]);a<t?t=a:a>r&&(r=a)}return{min:t,max:r}}function oS(e){return{pos:$p(e),end:e.end}}function sS(e,n){return{pos:n.pos-1,end:Math.min(e.text.length,ks(e.text,n.end)+1)}}function cS(e,n,t){return n.skipLibCheck&&e.isDeclarationFile||n.skipDefaultLibCheck&&e.hasNoDefaultLib||t.isSourceOfProjectReferenceRedirect(e.fileName)}function lS(e,n){return e===n||"object"==typeof e&&null!==e&&"object"==typeof n&&null!==n&&en(e,n,lS)}function dS(e){let 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:const t=e.length-1;let r=0;for(;48===e.charCodeAt(r);)r++;return e.slice(r,t)||"0"}const t=e.length-1,r=(t-2)*n,i=new Uint16Array((r>>>4)+(15&r?1:0));for(let r=t-1,a=0;r>=2;r--,a+=n){const n=a>>>4,t=e.charCodeAt(r),o=(t<=57?t-48:10+t-(t<=70?65:97))<<(15&a);i[n]|=o;const s=o>>>16;s&&(i[n+1]|=s)}let a="",o=i.length-1,s=!0;for(;s;){let e=0;s=!1;for(let n=o;n>=0;n--){const t=e<<16|i[n],r=t/10|0;i[n]=r,e=t-10*r,r&&!s&&(o=n,s=!0)}a=e+a}return a}function uS({negative:e,base10Value:n}){return(e&&"0"!==n?"-":"")+n}function _S(e){if(fS(e,!1))return pS(e)}function pS(e){const n=e.startsWith("-");return{negative:n,base10Value:dS(`${n?e.slice(1):e}n`)}}function fS(e,n){if(""===e)return!1;const t=Ws(99,!1);let r=!0;t.setOnError((()=>r=!1)),t.setText(e+"n");let i=t.scan();const a=40===i;a&&(i=t.scan());const o=t.getTokenFlags();return r&&9===i&&t.getTextPos()===e.length+1&&!(512&o)&&(!n||e===uS({negative:a,base10Value:dS(t.getTokenValue())}))}function mS(e){return!!(16777216&e.flags)||gh(e)||function(e){if(79!==e.kind)return!1;const n=Rc(e.parent,(e=>{switch(e.kind){case 294:return!0;case 208:case 230:return!1;default:return"quit"}}));return 117===(null==n?void 0:n.token)||261===(null==n?void 0:n.parent.kind)}(e)||function(e){for(;79===e.kind||208===e.kind;)e=e.parent;if(164!==e.kind)return!1;if(db(e.parent,256))return!0;const n=e.parent.parent.kind;return 261===n||184===n}(e)||!(mh(e)||function(e){return AC(e)&&Ew(e.parent)&&e.parent.name===e}(e))}function hS(e){return rk(e)&&AC(e.typeName)}function gS(e,n=Pn){if(e.length<2)return!0;const t=e[0];for(let r=1,i=e.length;r<i;r++)if(!n(t,e[r]))return!1;return!0}function yS(e,n){return e.pos=n,e}function vS(e,n){return e.end=n,e}function bS(e,n,t){return vS(yS(e,n),t)}function ES(e,n,t){return bS(e,n,n+t)}function TS(e,n){return e&&(e.flags=n),e}function xS(e,n){return e&&n&&(e.parent=n),e}function SS(e,n){if(e)for(const t of e)xS(t,n);return e}function AS(e,n){return e?(TD(e,Ku(e)?t:function(e,n){return t(e,n)||function(e){if(Xu(e))for(const n of e.jsDoc)t(n,e),TD(n,t)}(e)}),e):e;function t(e,t){if(n&&e.parent===t)return"skip";xS(e,t)}}function LS(e){return!Qk(e)}function CS(e){return Ik(e)&&N(e.elements,LS)}function kS(e){for(Nt.assertIsDefined(e.parent);;){const n=e.parent;if(Fk(n))e=n;else{if(_I(n)||jk(n)||hI(n)&&(n.initializer===e||n.incrementor===e))return!0;if(oI(n)){if(e!==Ge(n.elements))return!0;e=n}else{if(!qk(n)||27!==n.operatorToken.kind)return!1;if(e===n.left)return!0;e=n}}}}function IS(e){return ce(Ea,(n=>rt(e,n)))}function wS(e){if(!e.parent)return;switch(e.kind){case 165:const{parent:n}=e;return 192===n.kind?void 0:n.typeParameters;case 166:return e.parent.parameters;case 201:case 236:return e.parent.templateSpans;case 167:{const{parent:n}=e;return FN(n)?n.modifiers:void 0}case 294:return e.parent.heritageClauses}const{parent:n}=e;if(qu(e))return Hw(e.parent)?void 0:e.parent.tags;switch(n.kind){case 184:case 261:return Bd(e)?n.members:void 0;case 189:case 190:return n.types;case 186:case 206:case 357:case 272:case 276:return n.elements;case 207:case 289:return n.properties;case 210:case 211:return jd(e)?n.typeArguments:n.expression===e?void 0:n.arguments;case 281:case 285:return Bu(e)?n.children:void 0;case 283:case 282:return jd(e)?n.typeArguments:void 0;case 238:case 292:case 293:case 265:case 308:return n.statements;case 266:return n.clauses;case 260:case 228:return Nd(e)?n.members:void 0;case 263:return xw(e)?n.members:void 0}}function RS(e){if(!e.typeParameters){if(ce(e.parameters,(e=>!Jv(e))))return!0;if(216!==e.kind){const n=De(e.parameters);if(!n||!Hv(n))return!0}}return!1}function NS(e){return"Infinity"===e||"-Infinity"===e||"NaN"===e}function DS(e){return 257===e.kind&&295===e.parent.kind}function OS(e){const n=e.valueDeclaration&&Wy(e.valueDeclaration);return!!n&&(HC(n)||DS(n))}function MS(e){return 215===e.kind||216===e.kind}function PS(e){return e.replace(/\$/gm,(()=>"\\$"))}function FS(e){return(+e).toString()===e}function GS(e,n,t,r){return Ks(e,n)?pA.createIdentifier(e):!r&&FS(e)&&+e>=0?pA.createNumericLiteral(+e):pA.createStringLiteral(e,!!t)}function BS(e){return!!(262144&e.flags&&e.isThisType)}function US(e){let n,t=0,r=0,i=0,a=0;var o;(o=n||(n={}))[o.BeforeNodeModules=0]="BeforeNodeModules",o[o.NodeModules=1]="NodeModules",o[o.Scope=2]="Scope",o[o.PackageContent=3]="PackageContent";let s=0,c=0,l=0;for(;c>=0;)switch(s=c,c=e.indexOf("/",s+1),l){case 0:e.indexOf(rP,s)===s&&(t=s,r=c,l=1);break;case 1:case 2:1===l&&"@"===e.charAt(s+1)?l=2:(i=c,l=3);break;case 3:l=e.indexOf(rP,s)===s?1:3}return a=s,l>1?{topLevelNodeModulesIndex:t,topLevelPackageNameIndex:r,packageRootIndex:i,fileNameIndex:a}:void 0}function VS(e){var n;return 344===e.kind?null==(n=e.typeExpression)?void 0:n.type:e.type}function jS(e){switch(e.kind){case 165:case 260:case 261:case 262:case 263:case 349:case 341:case 343:return!0;case 270:return e.isTypeOnly;case 273:case 278:return e.parent.parent.isTypeOnly;default:return!1}}function HS(e){return OI(e)||dI(e)||wI(e)||RI(e)||NI(e)||jS(e)||MI(e)&&!Ef(e)&&!bf(e)}function KS(e){if(!Yl(e))return!1;const{isBracketed:n,typeExpression:t}=e;return n||!!t&&319===t.type.kind}function WS(e,n){if(0===e.length)return!1;const t=e.charCodeAt(0);return 35===t?e.length>1&&js(e.charCodeAt(1),n):js(t,n)}function qS(e){var n;return 0===(null==(n=dL(e))?void 0:n.kind)}function zS(e){return Ah(e)&&(e.type&&319===e.type.kind||Yc(e).some((({isBracketed:e,typeExpression:n})=>e||!!n&&319===n.type.kind)))}function JS(e){switch(e.kind){case 169:case 168:return!!e.questionToken;case 166:return!!e.questionToken||zS(e);case 351:case 344:return KS(e);default:return!1}}function XS(e){const n=e.kind;return(208===n||209===n)&&tI(e.expression)}function YS(e){return Ah(e)&&Fk(e)&&Xu(e)&&!!bl(e)}function $S(e){return Nt.checkDefined(QS(e))}function QS(e){const n=bl(e);return n&&n.typeExpression&&n.typeExpression.type}var ZS=E({"src/compiler/utilities.ts"(){Qq(),o_=[],s_="tslib",c_=160,l_=1e6,d_=function(){var e="";const n=n=>e+=n;return{getText:()=>e,write:n,rawWrite:n,writeKeyword:n,writeOperator:n,writePunctuation:n,writeSpace:n,writeStringLiteral:n,writeLiteral:n,writeParameter:n,writeProperty:n,writeSymbol:(e,t)=>n(e),writeTrailingSemicolon:n,writeComment:n,getTextPos:()=>e.length,getLine:()=>0,getColumn:()=>0,getIndent:()=>0,isAtStartOfLine:()=>!1,hasTrailingComment:()=>!1,hasTrailingWhitespace:()=>!!e.length&&Es(e.charCodeAt(e.length-1)),writeLine:()=>e+=" ",increaseIndent:xn,decreaseIndent:xn,clear:()=>e=""}}(),u_=(e=>(e[e.None=0]="None",e[e.NeverAsciiEscape=1]="NeverAsciiEscape",e[e.JsxAttributeEscape=2]="JsxAttributeEscape",e[e.TerminateUnterminatedLiterals=4]="TerminateUnterminatedLiterals",e[e.AllowNumericSeparator=8]="AllowNumericSeparator",e))(u_||{}),__=/^(\/\/\/\s*<reference\s+path\s*=\s*)(('[^']*')|("[^"]*")).*?\/>/,p_=/^(\/\/\/\s*<reference\s+types\s*=\s*)(('[^']*')|("[^"]*")).*?\/>/,f_=/^(\/\/\/\s*<amd-dependency\s+path\s*=\s*)(('[^']*')|("[^"]*")).*?\/>/,m_=/^(\/\/\/\s*<reference\s+no-default-lib\s*=\s*)(('[^']*')|("[^"]*"))\s*\/>/,h_=(e=>(e[e.None=0]="None",e[e.Definite=1]="Definite",e[e.Compound=2]="Compound",e))(h_||{}),g_=(e=>(e[e.Normal=0]="Normal",e[e.Generator=1]="Generator",e[e.Async=2]="Async",e[e.Invalid=4]="Invalid",e[e.AsyncGenerator=3]="AsyncGenerator",e))(g_||{}),y_=(e=>(e[e.Left=0]="Left",e[e.Right=1]="Right",e))(y_||{}),v_=(e=>(e[e.Comma=0]="Comma",e[e.Spread=1]="Spread",e[e.Yield=2]="Yield",e[e.Assignment=3]="Assignment",e[e.Conditional=4]="Conditional",e[e.Coalesce=4]="Coalesce",e[e.LogicalOR=5]="LogicalOR",e[e.LogicalAND=6]="LogicalAND",e[e.BitwiseOR=7]="BitwiseOR",e[e.BitwiseXOR=8]="BitwiseXOR",e[e.BitwiseAND=9]="BitwiseAND",e[e.Equality=10]="Equality",e[e.Relational=11]="Relational",e[e.Shift=12]="Shift",e[e.Additive=13]="Additive",e[e.Multiplicative=14]="Multiplicative",e[e.Exponentiation=15]="Exponentiation",e[e.Unary=16]="Unary",e[e.Update=17]="Update",e[e.LeftHandSide=18]="LeftHandSide",e[e.Member=19]="Member",e[e.Primary=20]="Primary",e[e.Highest=20]="Highest",e[e.Lowest=0]="Lowest",e[e.Invalid=-1]="Invalid",e))(v_||{}),b_=/\$\{/g,E_=/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,T_=/[\\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,x_=/\r\n|[\\\`\u0000-\u001f\t\v\f\b\r\u2028\u2029\u0085]/g,S_=new Map(Object.entries({"\t":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","…":"\\u0085","\r\n":"\\r\\n"})),A_=/[^\u0000-\u007F]/g,L_=/[\"\u0000-\u001f\u2028\u2029\u0085]/g,C_=/[\'\u0000-\u001f\u2028\u2029\u0085]/g,k_=new Map(Object.entries({'"':"&quot;","'":"&apos;"})),I_=[""," "],w_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",R_="\r\n",N_="\n",D_={getNodeConstructor:()=>dT,getTokenConstructor:()=>uT,getIdentifierConstructor:()=>_T,getPrivateIdentifierConstructor:()=>dT,getSourceFileConstructor:()=>dT,getSymbolConstructor:()=>sT,getTypeConstructor:()=>cT,getSignatureConstructor:()=>lT,getSourceMapSourceConstructor:()=>pT},O_=[],P_=/[^\w\s\/]/g,F_=[42,63],B_=`(?!(${(G_=["node_modules","bower_components","jspm_packages"]).join("|")})(/|$))`,H_={files:U_={singleAsteriskRegexFragment:"([^./]|(\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:`(/${B_}[^/.][^/]*)*?`,replaceWildcardCharacter:e=>Lx(e,U_.singleAsteriskRegexFragment)},directories:V_={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:`(/${B_}[^/.][^/]*)*?`,replaceWildcardCharacter:e=>Lx(e,V_.singleAsteriskRegexFragment)},exclude:j_={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/.+?)?",replaceWildcardCharacter:e=>Lx(e,j_.singleAsteriskRegexFragment)}},W_=J(K_=[[".ts",".tsx",".d.ts"],[".cts",".d.cts"],[".mts",".d.mts"]]),q_=[...K_,[".json"]],z_=[".d.ts",".d.cts",".d.mts",".cts",".mts",".ts",".tsx",".cts",".mts"],X_=J(J_=[[".js",".jsx"],[".mjs"],[".cjs"]]),Y_=[[".ts",".tsx",".d.ts",".js",".jsx"],[".cts",".d.cts",".cjs"],[".mts",".d.mts",".mjs"]],$_=[...Y_,[".json"]],Q_=[".d.ts",".d.cts",".d.mts"],Z_=[".ts",".cts",".mts",".tsx"],ep=(e=>(e[e.Minimal=0]="Minimal",e[e.Index=1]="Index",e[e.JsExtension=2]="JsExtension",e[e.TsExtension=3]="TsExtension",e))(ep||{}),np=[".d.ts",".d.mts",".d.cts",".mjs",".mts",".cjs",".cts",".ts",".js",".tsx",".jsx",".json"],tp={files:i,directories:i}}});function eA(){let e,n,t,r,i;return{createBaseSourceFileNode:function(e){return new(i||(i=D_.getSourceFileConstructor()))(e,-1,-1)},createBaseIdentifierNode:function(e){return new(t||(t=D_.getIdentifierConstructor()))(e,-1,-1)},createBasePrivateIdentifierNode:function(e){return new(r||(r=D_.getPrivateIdentifierConstructor()))(e,-1,-1)},createBaseTokenNode:function(e){return new(n||(n=D_.getTokenConstructor()))(e,-1,-1)},createBaseNode:function(n){return new(e||(e=D_.getNodeConstructor()))(n,-1,-1)}}}var nA,tA=E({"src/compiler/factory/baseNodeFactory.ts"(){Qq()}});function rA(e){let n,t;return{getParenthesizeLeftSideOfBinaryForOperator:function(e){n||(n=new Map);let t=n.get(e);return t||(t=n=>a(e,n),n.set(e,t)),t},getParenthesizeRightSideOfBinaryForOperator:function(e){t||(t=new Map);let n=t.get(e);return n||(n=n=>o(e,void 0,n),t.set(e,n)),n},parenthesizeLeftSideOfBinary:a,parenthesizeRightSideOfBinary:o,parenthesizeExpressionOfComputedPropertyName:function(n){return BR(n)?e.createParenthesizedExpression(n):n},parenthesizeConditionOfConditionalExpression:function(n){const t=Zy(224,57);return 1!==Un($y(Kl(n)),t)?e.createParenthesizedExpression(n):n},parenthesizeBranchOfConditionalExpression:function(n){return BR(Kl(n))?e.createParenthesizedExpression(n):n},parenthesizeExpressionOfExportDefault:function(n){const t=Kl(n);let r=BR(t);if(!r)switch(oT(t,!1).kind){case 228:case 215:r=!0}return r?e.createParenthesizedExpression(n):n},parenthesizeExpressionOfNew:function(n){const t=oT(n,!0);switch(t.kind){case 210:return e.createParenthesizedExpression(n);case 211:return t.arguments?n:e.createParenthesizedExpression(n)}return s(n)},parenthesizeLeftSideOfAccess:s,parenthesizeOperandOfPostfixUnary:function(n){return au(n)?n:MN(e.createParenthesizedExpression(n),n)},parenthesizeOperandOfPrefixUnary:function(n){return su(n)?n:MN(e.createParenthesizedExpression(n),n)},parenthesizeExpressionsOfCommaDelimitedList:function(n){const t=z(n,c);return MN(e.createNodeArray(t,n.hasTrailingComma),n)},parenthesizeExpressionForDisallowedComma:c,parenthesizeExpressionOfExpressionStatement:function(n){const t=Kl(n);if(Dk(t)){const r=t.expression,i=Kl(r).kind;if(215===i||216===i){const i=e.updateCallExpression(t,MN(e.createParenthesizedExpression(r),r),t.typeArguments,t.arguments);return e.restoreOuterExpressions(n,i,8)}}const r=oT(t,!1).kind;return 207===r||215===r?MN(e.createParenthesizedExpression(n),n):n},parenthesizeConciseBodyOfArrowFunction:function(n){return lI(n)||!BR(n)&&207!==oT(n,!1).kind?n:MN(e.createParenthesizedExpression(n),n)},parenthesizeCheckTypeOfConditionalType:l,parenthesizeExtendsTypeOfConditionalType:function(n){return 191===n.kind?e.createParenthesizedType(n):n},parenthesizeConstituentTypesOfUnionType:function(n){return e.createNodeArray(z(n,d))},parenthesizeConstituentTypeOfUnionType:d,parenthesizeConstituentTypesOfIntersectionType:function(n){return e.createNodeArray(z(n,u))},parenthesizeConstituentTypeOfIntersectionType:u,parenthesizeOperandOfTypeOperator:_,parenthesizeOperandOfReadonlyTypeOperator:function(n){return 195===n.kind?e.createParenthesizedType(n):_(n)},parenthesizeNonArrayTypeOfPostfixType:p,parenthesizeElementTypesOfTupleType:function(n){return e.createNodeArray(z(n,f))},parenthesizeElementTypeOfTupleType:f,parenthesizeTypeOfOptionalType:function(n){return m(n)?e.createParenthesizedType(n):p(n)},parenthesizeTypeArguments:function(n){if(ce(n))return e.createNodeArray(z(n,g))},parenthesizeLeadingTypeArgument:h};function r(e){if(td((e=Kl(e)).kind))return e.kind;if(223===e.kind&&39===e.operatorToken.kind){if(void 0!==e.cachedLiteralKind)return e.cachedLiteralKind;const n=r(e.left),t=td(n)&&n===r(e.right)?n:0;return e.cachedLiteralKind=t,t}return 0}function i(n,t,i,a){return 214===Kl(t).kind?t:function(e,n,t,i){const a=Zy(223,e),o=Yy(223,e),s=Kl(n);if(!t&&216===n.kind&&a>3)return!0;switch(Un($y(s),a)){case-1:return!(!t&&1===o&&226===n.kind);case 1:return!1;case 0:if(t)return 1===o;if(qk(s)&&s.operatorToken.kind===e){if(function(e){return 41===e||51===e||50===e||52===e||27===e}(e))return!1;if(39===e){const e=i?r(i):0;if(td(e)&&e===r(s))return!1}}return 0===Xy(s)}}(n,t,i,a)?e.createParenthesizedExpression(t):t}function a(e,n){return i(e,n,!0)}function o(e,n,t){return i(e,t,!1,n)}function s(n,t){const r=Kl(n);return!au(r)||211===r.kind&&!r.arguments||!t&&Gl(r)?MN(e.createParenthesizedExpression(n),n):n}function c(n){return $y(Kl(n))>Zy(223,27)?n:MN(e.createParenthesizedExpression(n),n)}function l(n){switch(n.kind){case 181:case 182:case 191:return e.createParenthesizedType(n)}return n}function d(n){switch(n.kind){case 189:case 190:return e.createParenthesizedType(n)}return l(n)}function u(n){switch(n.kind){case 189:case 190:return e.createParenthesizedType(n)}return d(n)}function _(n){return 190===n.kind?e.createParenthesizedType(n):u(n)}function p(n){switch(n.kind){case 192:case 195:case 183:return e.createParenthesizedType(n)}return _(n)}function f(n){return m(n)?e.createParenthesizedType(n):n}function m(e){return Pw(e)?e.postfix:dk(e)||ik(e)||ak(e)||vk(e)?m(e.type):mk(e)?m(e.falseType):pk(e)||fk(e)?m(Ge(e.types)):!!hk(e)&&!!e.typeParameter.constraint&&m(e.typeParameter.constraint)}function h(n){return Hd(n)&&n.typeParameters?e.createParenthesizedType(n):n}function g(e,n){return 0===n?h(e):e}}var iA,aA=E({"src/compiler/factory/parenthesizerRules.ts"(){Qq(),nA={getParenthesizeLeftSideOfBinaryForOperator:e=>Cn,getParenthesizeRightSideOfBinaryForOperator:e=>Cn,parenthesizeLeftSideOfBinary:(e,n)=>n,parenthesizeRightSideOfBinary:(e,n,t)=>t,parenthesizeExpressionOfComputedPropertyName:Cn,parenthesizeConditionOfConditionalExpression:Cn,parenthesizeBranchOfConditionalExpression:Cn,parenthesizeExpressionOfExportDefault:Cn,parenthesizeExpressionOfNew:e=>Tn(e,au),parenthesizeLeftSideOfAccess:e=>Tn(e,au),parenthesizeOperandOfPostfixUnary:e=>Tn(e,au),parenthesizeOperandOfPrefixUnary:e=>Tn(e,su),parenthesizeExpressionsOfCommaDelimitedList:e=>Tn(e,nd),parenthesizeExpressionForDisallowedComma:Cn,parenthesizeExpressionOfExpressionStatement:Cn,parenthesizeConciseBodyOfArrowFunction:Cn,parenthesizeCheckTypeOfConditionalType:Cn,parenthesizeExtendsTypeOfConditionalType:Cn,parenthesizeConstituentTypesOfUnionType:e=>Tn(e,nd),parenthesizeConstituentTypeOfUnionType:Cn,parenthesizeConstituentTypesOfIntersectionType:e=>Tn(e,nd),parenthesizeConstituentTypeOfIntersectionType:Cn,parenthesizeOperandOfTypeOperator:Cn,parenthesizeOperandOfReadonlyTypeOperator:Cn,parenthesizeNonArrayTypeOfPostfixType:Cn,parenthesizeElementTypesOfTupleType:e=>Tn(e,nd),parenthesizeElementTypeOfTupleType:Cn,parenthesizeTypeOfOptionalType:Cn,parenthesizeTypeArguments:e=>e&&Tn(e,nd),parenthesizeLeadingTypeArgument:Cn}}});function oA(e){return{convertToFunctionBlock:function(n,t){if(lI(n))return n;const r=e.createReturnStatement(n);MN(r,n);const i=e.createBlock([r],t);return MN(i,n),i},convertToFunctionExpression:function(n){if(!n.body)return Nt.fail("Cannot convert a FunctionDeclaration without a body");const t=e.createFunctionExpression(Jc(n),n.asteriskToken,n.name,n.typeParameters,n.parameters,n.type,n.body);return DA(t,n),MN(t,n),qA(n)&&zA(t,!0),t},convertToArrayAssignmentElement:n,convertToObjectAssignmentElement:t,convertToAssignmentPattern:r,convertToObjectAssignmentPattern:i,convertToArrayAssignmentPattern:a,convertToAssignmentElementTarget:o};function n(n){if(kk(n)){if(n.dotDotDotToken)return Nt.assertNode(n.name,AC),DA(MN(e.createSpreadElement(n.name),n),n);const t=o(n.name);return n.initializer?DA(MN(e.createAssignment(t,n.initializer),n),n):t}return Tn(n,uu)}function t(n){if(kk(n)){if(n.dotDotDotToken)return Nt.assertNode(n.name,AC),DA(MN(e.createSpreadAssignment(n.name),n),n);if(n.propertyName){const t=o(n.name);return DA(MN(e.createPropertyAssignment(n.propertyName,n.initializer?e.createAssignment(t,n.initializer):t),n),n)}return Nt.assertNode(n.name,AC),DA(MN(e.createShorthandPropertyAssignment(n.name,n.initializer),n),n)}return Tn(n,Vd)}function r(e){switch(e.kind){case 204:case 206:return a(e);case 203:case 207:return i(e)}}function i(n){return Lk(n)?DA(MN(e.createObjectLiteralExpression(W(n.elements,t)),n),n):Tn(n,wk)}function a(t){return Ck(t)?DA(MN(e.createArrayLiteralExpression(W(t.elements,n)),t),t):Tn(t,Ik)}function o(e){return Kd(e)?r(e):Tn(e,uu)}}var sA,cA,lA,dA,uA,_A,pA,fA,mA=E({"src/compiler/factory/nodeConverters.ts"(){Qq(),iA={convertToFunctionBlock:wn,convertToFunctionExpression:wn,convertToArrayAssignmentElement:wn,convertToObjectAssignmentElement:wn,convertToAssignmentPattern:wn,convertToObjectAssignmentPattern:wn,convertToArrayAssignmentPattern:wn,convertToAssignmentElementTarget:wn}}});function hA(e){lA.push(e)}function gA(e,n){const t=8&e?yA:vA,r=Rn((()=>1&e?nA:rA(y))),a=Rn((()=>2&e?iA:oA(y))),o=Nn((e=>(n,t)=>Dn(n,e,t))),s=Nn((e=>n=>In(e,n))),c=Nn((e=>n=>wn(n,e))),l=Nn((e=>()=>function(e){return b(e)}(e))),d=Nn((e=>n=>sr(e,n))),u=Nn((e=>(n,r)=>function(e,n,r){return n.type!==r?t(sr(e,r),n):n}(e,n,r))),_=Nn((e=>(n,t)=>or(e,n,t))),p=Nn((e=>(n,r)=>function(e,n,r){return n.type!==r?t(or(e,r,n.postfix),n):n}(e,n,r))),f=Nn((e=>(n,t)=>Ir(e,n,t))),m=Nn((e=>(n,r,i)=>function(e,n,r=_r(n),i){return n.tagName!==r||n.comment!==i?t(Ir(e,r,i),n):n}(e,n,r,i))),h=Nn((e=>(n,t,r)=>wr(e,n,t,r))),g=Nn((e=>(n,r,i,a)=>function(e,n,r=_r(n),i,a){return n.tagName!==r||n.typeExpression!==i||n.comment!==a?t(wr(e,r,i,a),n):n}(e,n,r,i,a))),y={get parenthesizer(){return r()},get converters(){return a()},baseFactory:n,flags:e,createNodeArray:v,createNumericLiteral:x,createBigIntLiteral:S,createStringLiteral:C,createStringLiteralFromNode:function(e){const n=L(Ny(e),void 0);return n.textSourceNode=e,n},createRegularExpressionLiteral:k,createLiteralLikeNode:function(e,n){switch(e){case 8:return x(n,0);case 9:return S(n);case 10:return C(n,void 0);case 11:return Ur(n,!1);case 12:return Ur(n,!0);case 13:return k(n);case 14:return Un(e,n,void 0,0)}},createIdentifier:R,createTempVariable:D,createLoopVariable:function(e){let n=2;return e&&(n|=8),w("",n,void 0,void 0)},createUniqueName:function(e,n=0,t,r){return Nt.assert(!(7&n),"Argument out of range: flags"),Nt.assert(32!=(48&n),"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic"),w(e,3|n,t,r)},getGeneratedNameForNode:O,createPrivateIdentifier:function(e){return pt(e,"#")||Nt.fail("First character of private identifier must be #: "+e),M(Oc(e))},createUniquePrivateName:function(e,n,t){return e&&!pt(e,"#")&&Nt.fail("First character of private identifier must be #: "+e),P(null!=e?e:"",8|(e?3:1),n,t)},getGeneratedPrivateNameForNode:function(e,n,t){const r=P(Dl(e)?LN(!0,n,e,t,Pc):`#generated@${KG(e)}`,4|(n||t?16:0),n,t);return r.original=e,r},createToken:G,createSuper:function(){return G(106)},createThis:B,createNull:function(){return G(104)},createTrue:U,createFalse:V,createModifier:j,createModifiersFromModifierFlags:H,createQualifiedName:K,updateQualifiedName:function(e,n,r){return e.left!==n||e.right!==r?t(K(n,r),e):e},createComputedPropertyName:W,updateComputedPropertyName:function(e,n){return e.expression!==n?t(W(n),e):e},createTypeParameterDeclaration:q,updateTypeParameterDeclaration:z,createParameterDeclaration:J,updateParameterDeclaration:X,createDecorator:Y,updateDecorator:function(e,n){return e.expression!==n?t(Y(n),e):e},createPropertySignature:$,updatePropertySignature:Z,createPropertyDeclaration:ee,updatePropertyDeclaration:ne,createMethodSignature:te,updateMethodSignature:re,createMethodDeclaration:ie,updateMethodDeclaration:ae,createConstructorDeclaration:se,updateConstructorDeclaration:le,createGetAccessorDeclaration:de,updateGetAccessorDeclaration:ue,createSetAccessorDeclaration:_e,updateSetAccessorDeclaration:pe,createCallSignature:fe,updateCallSignature:function(e,n,t,r){return e.typeParameters!==n||e.parameters!==t||e.type!==r?T(fe(n,t,r),e):e},createConstructSignature:me,updateConstructSignature:function(e,n,t,r){return e.typeParameters!==n||e.parameters!==t||e.type!==r?T(me(n,t,r),e):e},createIndexSignature:he,updateIndexSignature:ge,createClassStaticBlockDeclaration:oe,updateClassStaticBlockDeclaration:function(e,n){return e.body!==n?((r=oe(n))!==(i=e)&&(r.modifiers=i.modifiers),t(r,i)):e;var r,i},createTemplateLiteralTypeSpan:ye,updateTemplateLiteralTypeSpan:function(e,n,r){return e.type!==n||e.literal!==r?t(ye(n,r),e):e},createKeywordTypeNode:function(e){return G(e)},createTypePredicateNode:ve,updateTypePredicateNode:function(e,n,r,i){return e.assertsModifier!==n||e.parameterName!==r||e.type!==i?t(ve(n,r,i),e):e},createTypeReferenceNode:be,updateTypeReferenceNode:function(e,n,r){return e.typeName!==n||e.typeArguments!==r?t(be(n,r),e):e},createFunctionTypeNode:Ee,updateFunctionTypeNode:function(e,n,t,r){return e.typeParameters!==n||e.parameters!==t||e.type!==r?((i=Ee(n,t,r))!==(a=e)&&(i.modifiers=a.modifiers),T(i,a)):e;var i,a},createConstructorTypeNode:xe,updateConstructorTypeNode:function(...e){return 5===e.length?Ae(...e):4===e.length?function(e,n,t,r){return Ae(e,e.modifiers,n,t,r)}(...e):Nt.fail("Incorrect number of arguments specified.")},createTypeQueryNode:Le,updateTypeQueryNode:function(e,n,r){return e.exprName!==n||e.typeArguments!==r?t(Le(n,r),e):e},createTypeLiteralNode:Ce,updateTypeLiteralNode:function(e,n){return e.members!==n?t(Ce(n),e):e},createArrayTypeNode:ke,updateArrayTypeNode:function(e,n){return e.elementType!==n?t(ke(n),e):e},createTupleTypeNode:Ie,updateTupleTypeNode:function(e,n){return e.elements!==n?t(Ie(n),e):e},createNamedTupleMember:we,updateNamedTupleMember:function(e,n,r,i,a){return e.dotDotDotToken!==n||e.name!==r||e.questionToken!==i||e.type!==a?t(we(n,r,i,a),e):e},createOptionalTypeNode:Re,updateOptionalTypeNode:function(e,n){return e.type!==n?t(Re(n),e):e},createRestTypeNode:Ne,updateRestTypeNode:function(e,n){return e.type!==n?t(Ne(n),e):e},createUnionTypeNode:function(e){return De(189,e,r().parenthesizeConstituentTypesOfUnionType)},updateUnionTypeNode:function(e,n){return Oe(e,n,r().parenthesizeConstituentTypesOfUnionType)},createIntersectionTypeNode:function(e){return De(190,e,r().parenthesizeConstituentTypesOfIntersectionType)},updateIntersectionTypeNode:function(e,n){return Oe(e,n,r().parenthesizeConstituentTypesOfIntersectionType)},createConditionalTypeNode:Me,updateConditionalTypeNode:function(e,n,r,i,a){return e.checkType!==n||e.extendsType!==r||e.trueType!==i||e.falseType!==a?t(Me(n,r,i,a),e):e},createInferTypeNode:Pe,updateInferTypeNode:function(e,n){return e.typeParameter!==n?t(Pe(n),e):e},createImportTypeNode:Ue,updateImportTypeNode:function(e,n,r,i,a,o=e.isTypeOf){return e.argument!==n||e.assertions!==r||e.qualifier!==i||e.typeArguments!==a||e.isTypeOf!==o?t(Ue(n,r,i,a,o),e):e},createParenthesizedType:Ve,updateParenthesizedType:function(e,n){return e.type!==n?t(Ve(n),e):e},createThisTypeNode:function(){const e=b(194);return e.transformFlags=1,e},createTypeOperatorNode:je,updateTypeOperatorNode:function(e,n){return e.type!==n?t(je(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:Ke,updateMappedTypeNode:function(e,n,r,i,a,o,s){return e.readonlyToken!==n||e.typeParameter!==r||e.nameType!==i||e.questionToken!==a||e.type!==o||e.members!==s?t(Ke(n,r,i,a,o,s),e):e},createLiteralTypeNode:ze,updateLiteralTypeNode:function(e,n){return e.literal!==n?t(ze(n),e):e},createTemplateLiteralType:Ge,updateTemplateLiteralType:function(e,n,r){return e.head!==n||e.templateSpans!==r?t(Ge(n,r),e):e},createObjectBindingPattern:Je,updateObjectBindingPattern:function(e,n){return e.elements!==n?t(Je(n),e):e},createArrayBindingPattern:Xe,updateArrayBindingPattern:function(e,n){return e.elements!==n?t(Xe(n),e):e},createBindingElement:Ye,updateBindingElement:function(e,n,r,i,a){return e.propertyName!==r||e.dotDotDotToken!==n||e.name!==i||e.initializer!==a?t(Ye(n,r,i,a),e):e},createArrayLiteralExpression:$e,updateArrayLiteralExpression:function(e,n){return e.elements!==n?t($e(n,e.multiLine),e):e},createObjectLiteralExpression:Qe,updateObjectLiteralExpression:function(e,n){return e.properties!==n?t(Qe(n,e.multiLine),e):e},createPropertyAccessExpression:4&e?(e,n)=>GA(en(e,n),262144):en,updatePropertyAccessExpression:function(e,n,r){return Ml(e)?tn(e,n,e.questionDotToken,Tn(r,AC)):e.expression!==n||e.name!==r?t(en(n,r),e):e},createPropertyAccessChain:4&e?(e,n,t)=>GA(nn(e,n,t),262144):nn,updatePropertyAccessChain:tn,createElementAccessExpression:an,updateElementAccessExpression:function(e,n,r){return Pl(e)?sn(e,n,e.questionDotToken,r):e.expression!==n||e.argumentExpression!==r?t(an(n,r),e):e},createElementAccessChain:on,updateElementAccessChain:sn,createCallExpression:ln,updateCallExpression:function(e,n,r,i){return Fl(e)?un(e,n,e.questionDotToken,r,i):e.expression!==n||e.typeArguments!==r||e.arguments!==i?t(ln(n,r,i),e):e},createCallChain:dn,updateCallChain:un,createNewExpression:_n,updateNewExpression:function(e,n,r,i){return e.expression!==n||e.typeArguments!==r||e.arguments!==i?t(_n(n,r,i),e):e},createTaggedTemplateExpression:pn,updateTaggedTemplateExpression:function(e,n,r,i){return e.tag!==n||e.typeArguments!==r||e.template!==i?t(pn(n,r,i),e):e},createTypeAssertion:fn,updateTypeAssertion:mn,createParenthesizedExpression:hn,updateParenthesizedExpression:yn,createFunctionExpression:vn,updateFunctionExpression:bn,createArrowFunction:En,updateArrowFunction:xn,createDeleteExpression:Sn,updateDeleteExpression:function(e,n){return e.expression!==n?t(Sn(n),e):e},createTypeOfExpression:Ln,updateTypeOfExpression:function(e,n){return e.expression!==n?t(Ln(n),e):e},createVoidExpression:Cn,updateVoidExpression:function(e,n){return e.expression!==n?t(Cn(n),e):e},createAwaitExpression:kn,updateAwaitExpression:function(e,n){return e.expression!==n?t(kn(n),e):e},createPrefixUnaryExpression:In,updatePrefixUnaryExpression:function(e,n){return e.operand!==n?t(In(e.operator,n),e):e},createPostfixUnaryExpression:wn,updatePostfixUnaryExpression:function(e,n){return e.operand!==n?t(wn(n,e.operator),e):e},createBinaryExpression:Dn,updateBinaryExpression:function(e,n,r,i){return e.left!==n||e.operatorToken!==r||e.right!==i?t(Dn(n,r,i),e):e},createConditionalExpression:Mn,updateConditionalExpression:function(e,n,r,i,a,o){return e.condition!==n||e.questionToken!==r||e.whenTrue!==i||e.colonToken!==a||e.whenFalse!==o?t(Mn(n,r,i,a,o),e):e},createTemplateExpression:Pn,updateTemplateExpression:function(e,n,r){return e.head!==n||e.templateSpans!==r?t(Pn(n,r),e):e},createTemplateHead:function(e,n,t){return Un(15,e=Fn(15,e,n,t),n,t)},createTemplateMiddle:function(e,n,t){return Un(16,e=Fn(15,e,n,t),n,t)},createTemplateTail:function(e,n,t){return Un(17,e=Fn(15,e,n,t),n,t)},createNoSubstitutionTemplateLiteral:function(e,n,t){return Bn(14,e=Fn(15,e,n,t),n,t)},createTemplateLiteralLikeNode:Un,createYieldExpression:Vn,updateYieldExpression:function(e,n,r){return e.expression!==r||e.asteriskToken!==n?t(Vn(n,r),e):e},createSpreadElement:jn,updateSpreadElement:function(e,n){return e.expression!==n?t(jn(n),e):e},createClassExpression:Hn,updateClassExpression:Kn,createOmittedExpression:function(){return b(229)},createExpressionWithTypeArguments:Wn,updateExpressionWithTypeArguments:function(e,n,r){return e.expression!==n||e.typeArguments!==r?t(Wn(n,r),e):e},createAsExpression:qn,updateAsExpression:zn,createNonNullExpression:Jn,updateNonNullExpression:Xn,createSatisfiesExpression:Yn,updateSatisfiesExpression:$n,createNonNullChain:Qn,updateNonNullChain:Zn,createMetaProperty:et,updateMetaProperty:function(e,n){return e.name!==n?t(et(e.keywordToken,n),e):e},createTemplateSpan:nt,updateTemplateSpan:function(e,n,r){return e.expression!==n||e.literal!==r?t(nt(n,r),e):e},createSemicolonClassElement:function(){const e=b(237);return e.transformFlags|=1024,e},createBlock:tt,updateBlock:function(e,n){return e.statements!==n?t(tt(n,e.multiLine),e):e},createVariableStatement:rt,updateVariableStatement:it,createEmptyStatement:at,createExpressionStatement:ot,updateExpressionStatement:function(e,n){return e.expression!==n?t(ot(n),e):e},createIfStatement:st,updateIfStatement:function(e,n,r,i){return e.expression!==n||e.thenStatement!==r||e.elseStatement!==i?t(st(n,r,i),e):e},createDoStatement:ct,updateDoStatement:function(e,n,r){return e.statement!==n||e.expression!==r?t(ct(n,r),e):e},createWhileStatement:lt,updateWhileStatement:function(e,n,r){return e.expression!==n||e.statement!==r?t(lt(n,r),e):e},createForStatement:dt,updateForStatement:function(e,n,r,i,a){return e.initializer!==n||e.condition!==r||e.incrementor!==i||e.statement!==a?t(dt(n,r,i,a),e):e},createForInStatement:ut,updateForInStatement:function(e,n,r,i){return e.initializer!==n||e.expression!==r||e.statement!==i?t(ut(n,r,i),e):e},createForOfStatement:_t,updateForOfStatement:function(e,n,r,i,a){return e.awaitModifier!==n||e.initializer!==r||e.expression!==i||e.statement!==a?t(_t(n,r,i,a),e):e},createContinueStatement:ft,updateContinueStatement:function(e,n){return e.label!==n?t(ft(n),e):e},createBreakStatement:mt,updateBreakStatement:function(e,n){return e.label!==n?t(mt(n),e):e},createReturnStatement:ht,updateReturnStatement:function(e,n){return e.expression!==n?t(ht(n),e):e},createWithStatement:gt,updateWithStatement:function(e,n,r){return e.expression!==n||e.statement!==r?t(gt(n,r),e):e},createSwitchStatement:yt,updateSwitchStatement:function(e,n,r){return e.expression!==n||e.caseBlock!==r?t(yt(n,r),e):e},createLabeledStatement:vt,updateLabeledStatement:bt,createThrowStatement:Et,updateThrowStatement:function(e,n){return e.expression!==n?t(Et(n),e):e},createTryStatement:Tt,updateTryStatement:function(e,n,r,i){return e.tryBlock!==n||e.catchClause!==r||e.finallyBlock!==i?t(Tt(n,r,i),e):e},createDebuggerStatement:function(){const e=b(256);return e.jsDoc=void 0,e.flowNode=void 0,e},createVariableDeclaration:xt,updateVariableDeclaration:function(e,n,r,i,a){return e.name!==n||e.type!==i||e.exclamationToken!==r||e.initializer!==a?t(xt(n,r,i,a),e):e},createVariableDeclarationList:St,updateVariableDeclarationList:function(e,n){return e.declarations!==n?t(St(n,e.flags),e):e},createFunctionDeclaration:At,updateFunctionDeclaration:Lt,createClassDeclaration:Ct,updateClassDeclaration:kt,createInterfaceDeclaration:It,updateInterfaceDeclaration:wt,createTypeAliasDeclaration:Rt,updateTypeAliasDeclaration:Dt,createEnumDeclaration:Ot,updateEnumDeclaration:Mt,createModuleDeclaration:Pt,updateModuleDeclaration:Ft,createModuleBlock:Gt,updateModuleBlock:function(e,n){return e.statements!==n?t(Gt(n),e):e},createCaseBlock:Bt,updateCaseBlock:function(e,n){return e.clauses!==n?t(Bt(n),e):e},createNamespaceExportDeclaration:Ut,updateNamespaceExportDeclaration:function(e,n){return e.name!==n?((r=Ut(n))!==(i=e)&&(r.modifiers=i.modifiers),t(r,i)):e;var r,i},createImportEqualsDeclaration:Vt,updateImportEqualsDeclaration:jt,createImportDeclaration:Ht,updateImportDeclaration:Kt,createImportClause:Wt,updateImportClause:function(e,n,r,i){return e.isTypeOnly!==n||e.name!==r||e.namedBindings!==i?t(Wt(n,r,i),e):e},createAssertClause:qt,updateAssertClause:function(e,n,r){return e.elements!==n||e.multiLine!==r?t(qt(n,r),e):e},createAssertEntry:zt,updateAssertEntry:function(e,n,r){return e.name!==n||e.value!==r?t(zt(n,r),e):e},createImportTypeAssertionContainer:Jt,updateImportTypeAssertionContainer:function(e,n,r){return e.assertClause!==n||e.multiLine!==r?t(Jt(n,r),e):e},createNamespaceImport:Xt,updateNamespaceImport:function(e,n){return e.name!==n?t(Xt(n),e):e},createNamespaceExport:Yt,updateNamespaceExport:function(e,n){return e.name!==n?t(Yt(n),e):e},createNamedImports:$t,updateNamedImports:function(e,n){return e.elements!==n?t($t(n),e):e},createImportSpecifier:Qt,updateImportSpecifier:function(e,n,r,i){return e.isTypeOnly!==n||e.propertyName!==r||e.name!==i?t(Qt(n,r,i),e):e},createExportAssignment:Zt,updateExportAssignment:er,createExportDeclaration:nr,updateExportDeclaration:tr,createNamedExports:rr,updateNamedExports:function(e,n){return e.elements!==n?t(rr(n),e):e},createExportSpecifier:ir,updateExportSpecifier:function(e,n,r,i){return e.isTypeOnly!==n||e.propertyName!==r||e.name!==i?t(ir(n,r,i),e):e},createMissingDeclaration:function(){const e=E(279);return e.jsDoc=void 0,e},createExternalModuleReference:ar,updateExternalModuleReference:function(e,n){return e.expression!==n?t(ar(n),e):e},get createJSDocAllType(){return l(315)},get createJSDocUnknownType(){return l(316)},get createJSDocNonNullableType(){return _(318)},get updateJSDocNonNullableType(){return p(318)},get createJSDocNullableType(){return _(317)},get updateJSDocNullableType(){return p(317)},get createJSDocOptionalType(){return d(319)},get updateJSDocOptionalType(){return u(319)},get createJSDocVariadicType(){return d(321)},get updateJSDocVariadicType(){return u(321)},get createJSDocNamepathType(){return d(322)},get updateJSDocNamepathType(){return u(322)},createJSDocFunctionType:cr,updateJSDocFunctionType:function(e,n,r){return e.parameters!==n||e.type!==r?t(cr(n,r),e):e},createJSDocTypeLiteral:lr,updateJSDocTypeLiteral:function(e,n,r){return e.jsDocPropertyTags!==n||e.isArrayType!==r?t(lr(n,r),e):e},createJSDocTypeExpression:dr,updateJSDocTypeExpression:function(e,n){return e.type!==n?t(dr(n),e):e},createJSDocSignature:ur,updateJSDocSignature:function(e,n,r,i){return e.typeParameters!==n||e.parameters!==r||e.type!==i?t(ur(n,r,i),e):e},createJSDocTemplateTag:mr,updateJSDocTemplateTag:function(e,n=_r(e),r,i,a){return e.tagName!==n||e.constraint!==r||e.typeParameters!==i||e.comment!==a?t(mr(n,r,i,a),e):e},createJSDocTypedefTag:hr,updateJSDocTypedefTag:function(e,n=_r(e),r,i,a){return e.tagName!==n||e.typeExpression!==r||e.fullName!==i||e.comment!==a?t(hr(n,r,i,a),e):e},createJSDocParameterTag:gr,updateJSDocParameterTag:function(e,n=_r(e),r,i,a,o,s){return e.tagName!==n||e.name!==r||e.isBracketed!==i||e.typeExpression!==a||e.isNameFirst!==o||e.comment!==s?t(gr(n,r,i,a,o,s),e):e},createJSDocPropertyTag:yr,updateJSDocPropertyTag:function(e,n=_r(e),r,i,a,o,s){return e.tagName!==n||e.name!==r||e.isBracketed!==i||e.typeExpression!==a||e.isNameFirst!==o||e.comment!==s?t(yr(n,r,i,a,o,s),e):e},createJSDocCallbackTag:vr,updateJSDocCallbackTag:function(e,n=_r(e),r,i,a){return e.tagName!==n||e.typeExpression!==r||e.fullName!==i||e.comment!==a?t(vr(n,r,i,a),e):e},createJSDocOverloadTag:br,updateJSDocOverloadTag:function(e,n=_r(e),r,i){return e.tagName!==n||e.typeExpression!==r||e.comment!==i?t(br(n,r,i),e):e},createJSDocAugmentsTag:Er,updateJSDocAugmentsTag:function(e,n=_r(e),r,i){return e.tagName!==n||e.class!==r||e.comment!==i?t(Er(n,r,i),e):e},createJSDocImplementsTag:Tr,updateJSDocImplementsTag:function(e,n=_r(e),r,i){return e.tagName!==n||e.class!==r||e.comment!==i?t(Tr(n,r,i),e):e},createJSDocSeeTag:xr,updateJSDocSeeTag:function(e,n,r,i){return e.tagName!==n||e.name!==r||e.comment!==i?t(xr(n,r,i),e):e},createJSDocNameReference:Sr,updateJSDocNameReference:function(e,n){return e.name!==n?t(Sr(n),e):e},createJSDocMemberName:Ar,updateJSDocMemberName:function(e,n,r){return e.left!==n||e.right!==r?t(Ar(n,r),e):e},createJSDocLink:Lr,updateJSDocLink:function(e,n,r){return e.name!==n?t(Lr(n,r),e):e},createJSDocLinkCode:Cr,updateJSDocLinkCode:function(e,n,r){return e.name!==n?t(Cr(n,r),e):e},createJSDocLinkPlain:kr,updateJSDocLinkPlain:function(e,n,r){return e.name!==n?t(kr(n,r),e):e},get createJSDocTypeTag(){return h(347)},get updateJSDocTypeTag(){return g(347)},get createJSDocReturnTag(){return h(345)},get updateJSDocReturnTag(){return g(345)},get createJSDocThisTag(){return h(346)},get updateJSDocThisTag(){return g(346)},get createJSDocAuthorTag(){return f(333)},get updateJSDocAuthorTag(){return m(333)},get createJSDocClassTag(){return f(335)},get updateJSDocClassTag(){return m(335)},get createJSDocPublicTag(){return f(336)},get updateJSDocPublicTag(){return m(336)},get createJSDocPrivateTag(){return f(337)},get updateJSDocPrivateTag(){return m(337)},get createJSDocProtectedTag(){return f(338)},get updateJSDocProtectedTag(){return m(338)},get createJSDocReadonlyTag(){return f(339)},get updateJSDocReadonlyTag(){return m(339)},get createJSDocOverrideTag(){return f(340)},get updateJSDocOverrideTag(){return m(340)},get createJSDocDeprecatedTag(){return f(334)},get updateJSDocDeprecatedTag(){return m(334)},get createJSDocThrowsTag(){return h(352)},get updateJSDocThrowsTag(){return g(352)},get createJSDocSatisfiesTag(){return h(353)},get updateJSDocSatisfiesTag(){return g(353)},createJSDocEnumTag:Nr,updateJSDocEnumTag:function(e,n=_r(e),r,i){return e.tagName!==n||e.typeExpression!==r||e.comment!==i?t(Nr(n,r,i),e):e},createJSDocUnknownTag:Rr,updateJSDocUnknownTag:function(e,n,r){return e.tagName!==n||e.comment!==r?t(Rr(n,r),e):e},createJSDocText:Dr,updateJSDocText:function(e,n){return e.text!==n?t(Dr(n),e):e},createJSDocComment:Or,updateJSDocComment:function(e,n,r){return e.comment!==n||e.tags!==r?t(Or(n,r),e):e},createJsxElement:Mr,updateJsxElement:function(e,n,r,i){return e.openingElement!==n||e.children!==r||e.closingElement!==i?t(Mr(n,r,i),e):e},createJsxSelfClosingElement:Pr,updateJsxSelfClosingElement:function(e,n,r,i){return e.tagName!==n||e.typeArguments!==r||e.attributes!==i?t(Pr(n,r,i),e):e},createJsxOpeningElement:Fr,updateJsxOpeningElement:function(e,n,r,i){return e.tagName!==n||e.typeArguments!==r||e.attributes!==i?t(Fr(n,r,i),e):e},createJsxClosingElement:Gr,updateJsxClosingElement:function(e,n){return e.tagName!==n?t(Gr(n),e):e},createJsxFragment:Br,createJsxText:Ur,updateJsxText:function(e,n,r){return e.text!==n||e.containsOnlyTriviaWhiteSpaces!==r?t(Ur(n,r),e):e},createJsxOpeningFragment:function(){const e=b(286);return e.transformFlags|=2,e},createJsxJsxClosingFragment:function(){const e=b(287);return e.transformFlags|=2,e},updateJsxFragment:function(e,n,r,i){return e.openingFragment!==n||e.children!==r||e.closingFragment!==i?t(Br(n,r,i),e):e},createJsxAttribute:Vr,updateJsxAttribute:function(e,n,r){return e.name!==n||e.initializer!==r?t(Vr(n,r),e):e},createJsxAttributes:jr,updateJsxAttributes:function(e,n){return e.properties!==n?t(jr(n),e):e},createJsxSpreadAttribute:Hr,updateJsxSpreadAttribute:function(e,n){return e.expression!==n?t(Hr(n),e):e},createJsxExpression:Kr,updateJsxExpression:function(e,n){return e.expression!==n?t(Kr(e.dotDotDotToken,n),e):e},createCaseClause:Wr,updateCaseClause:function(e,n,r){return e.expression!==n||e.statements!==r?t(Wr(n,r),e):e},createDefaultClause:qr,updateDefaultClause:function(e,n){return e.statements!==n?t(qr(n),e):e},createHeritageClause:zr,updateHeritageClause:function(e,n){return e.types!==n?t(zr(e.token,n),e):e},createCatchClause:Jr,updateCatchClause:function(e,n,r){return e.variableDeclaration!==n||e.block!==r?t(Jr(n,r),e):e},createPropertyAssignment:Xr,updatePropertyAssignment:function(e,n,r){return e.name!==n||e.initializer!==r?((i=Xr(n,r))!==(a=e)&&(i.modifiers=a.modifiers,i.questionToken=a.questionToken,i.exclamationToken=a.exclamationToken),t(i,a)):e;var i,a},createShorthandPropertyAssignment:Yr,updateShorthandPropertyAssignment:function(e,n,r){return e.name!==n||e.objectAssignmentInitializer!==r?((i=Yr(n,r))!==(a=e)&&(i.modifiers=a.modifiers,i.questionToken=a.questionToken,i.exclamationToken=a.exclamationToken,i.equalsToken=a.equalsToken),t(i,a)):e;var i,a},createSpreadAssignment:$r,updateSpreadAssignment:function(e,n){return e.expression!==n?t($r(n),e):e},createEnumMember:Qr,updateEnumMember:function(e,n,r){return e.name!==n||e.initializer!==r?t(Qr(n,r),e):e},createSourceFile:function(e,t,r){const i=n.createBaseSourceFileNode(308);return i.statements=v(e),i.endOfFileToken=t,i.flags|=r,i.text="",i.fileName="",i.path="",i.resolvedPath="",i.originalFileName="",i.languageVersion=0,i.languageVariant=0,i.scriptKind=0,i.isDeclarationFile=!1,i.hasNoDefaultLib=!1,i.transformFlags|=SA(i.statements)|xA(i.endOfFileToken),i.locals=void 0,i.nextContainer=void 0,i.endFlowNode=void 0,i.nodeCount=0,i.identifierCount=0,i.symbolCount=0,i.parseDiagnostics=void 0,i.bindDiagnostics=void 0,i.bindSuggestionDiagnostics=void 0,i.lineMap=void 0,i.externalModuleIndicator=void 0,i.setExternalModuleIndicator=void 0,i.pragmas=void 0,i.checkJsDirective=void 0,i.referencedFiles=void 0,i.typeReferenceDirectives=void 0,i.libReferenceDirectives=void 0,i.amdDependencies=void 0,i.commentDirectives=void 0,i.identifiers=void 0,i.packageJsonLocations=void 0,i.packageJsonScope=void 0,i.imports=void 0,i.moduleAugmentations=void 0,i.ambientModuleNames=void 0,i.resolvedModules=void 0,i.classifiableNames=void 0,i.impliedNodeFormat=void 0,i},updateSourceFile:function(e,n,r=e.isDeclarationFile,i=e.referencedFiles,a=e.typeReferenceDirectives,o=e.hasNoDefaultLib,s=e.libReferenceDirectives){return e.statements!==n||e.isDeclarationFile!==r||e.referencedFiles!==i||e.typeReferenceDirectives!==a||e.hasNoDefaultLib!==o||e.libReferenceDirectives!==s?t(function(e,n,t,r,i,a,o){const s=ei(e);return s.statements=v(n),s.isDeclarationFile=t,s.referencedFiles=r,s.typeReferenceDirectives=i,s.hasNoDefaultLib=a,s.libReferenceDirectives=o,s.transformFlags=SA(s.statements)|xA(s.endOfFileToken),s}(e,n,r,i,a,o,s),e):e},createRedirectedSourceFile:Zr,createBundle:ni,updateBundle:function(e,n,r=i){return e.sourceFiles!==n||e.prepends!==r?t(ni(n,r),e):e},createUnparsedSource:function(e,n,t){const r=b(310);return r.prologues=e,r.syntheticReferences=n,r.texts=t,r.fileName="",r.text="",r.referencedFiles=i,r.libReferenceDirectives=i,r.getLineAndCharacterOfPosition=e=>bs(r,e),r},createUnparsedPrologue:function(e){return ti(303,e)},createUnparsedPrepend:function(e,n){const t=ti(304,e);return t.texts=n,t},createUnparsedTextLike:function(e,n){return ti(n?306:305,e)},createUnparsedSyntheticReference:function(e){const n=b(307);return n.data=e.data,n.section=e,n},createInputFiles:function(){const e=b(311);return e.javascriptText="",e.declarationText="",e},createSyntheticExpression:function(e,n=!1,t){const r=b(234);return r.type=e,r.isSpread=n,r.tupleNameSource=t,r},createSyntaxList:function(e){const n=b(354);return n._children=e,n},createNotEmittedStatement:function(e){const n=b(355);return n.original=e,MN(n,e),n},createPartiallyEmittedExpression:ri,updatePartiallyEmittedExpression:ii,createCommaListExpression:oi,updateCommaListExpression:function(e,n){return e.elements!==n?t(oi(n),e):e},createEndOfDeclarationMarker:function(e){const n=b(359);return n.emitNode={},n.original=e,n},createMergeDeclarationMarker:function(e){const n=b(358);return n.emitNode={},n.original=e,n},createSyntheticReferenceExpression:si,updateSyntheticReferenceExpression:function(e,n,r){return e.expression!==n||e.thisArg!==r?t(si(n,r),e):e},cloneNode:ci,get createComma(){return o(27)},get createAssignment(){return o(63)},get createLogicalOr(){return o(56)},get createLogicalAnd(){return o(55)},get createBitwiseOr(){return o(51)},get createBitwiseXor(){return o(52)},get createBitwiseAnd(){return o(50)},get createStrictEquality(){return o(36)},get createStrictInequality(){return o(37)},get createEquality(){return o(34)},get createInequality(){return o(35)},get createLessThan(){return o(29)},get createLessThanEquals(){return o(32)},get createGreaterThan(){return o(31)},get createGreaterThanEquals(){return o(33)},get createLeftShift(){return o(47)},get createRightShift(){return o(48)},get createUnsignedRightShift(){return o(49)},get createAdd(){return o(39)},get createSubtract(){return o(40)},get createMultiply(){return o(41)},get createDivide(){return o(43)},get createModulo(){return o(44)},get createExponent(){return o(42)},get createPrefixPlus(){return s(39)},get createPrefixMinus(){return s(40)},get createPrefixIncrement(){return s(45)},get createPrefixDecrement(){return s(46)},get createBitwiseNot(){return s(54)},get createLogicalNot(){return s(53)},get createPostfixIncrement(){return c(45)},get createPostfixDecrement(){return c(46)},createImmediatelyInvokedFunctionExpression:function(e,n,t){return ln(vn(void 0,void 0,void 0,void 0,n?[n]:[],void 0,tt(e,!0)),void 0,t?[t]:[])},createImmediatelyInvokedArrowFunction:function(e,n,t){return ln(En(void 0,void 0,n?[n]:[],void 0,void 0,tt(e,!0)),void 0,t?[t]:[])},createVoidZero:li,createExportDefault:function(e){return Zt(void 0,!1,e)},createExternalModuleExport:function(e){return nr(void 0,!1,rr([ir(!1,void 0,e)]))},createTypeCheck:function(e,n){return"undefined"===n?y.createStrictEquality(e,li()):y.createStrictEquality(Ln(e),C(n))},createMethodCall:di,createGlobalMethodCall:ui,createFunctionBindCall:function(e,n,t){return di(e,"bind",[n,...t])},createFunctionCallCall:function(e,n,t){return di(e,"call",[n,...t])},createFunctionApplyCall:function(e,n,t){return di(e,"apply",[n,t])},createArraySliceCall:function(e,n){return di(e,"slice",void 0===n?[]:[xi(n)])},createArrayConcatCall:function(e,n){return di(e,"concat",n)},createObjectDefinePropertyCall:function(e,n,t){return ui("Object","defineProperty",[e,xi(n),t])},createObjectGetOwnPropertyDescriptorCall:function(e,n){return ui("Object","getOwnPropertyDescriptor",[e,xi(n)])},createReflectGetCall:function(e,n,t){return ui("Reflect","get",t?[e,n,t]:[e,n])},createReflectSetCall:function(e,n,t,r){return ui("Reflect","set",r?[e,n,t,r]:[e,n,t])},createPropertyDescriptor:function(e,n){const t=[];_i(t,"enumerable",xi(e.enumerable)),_i(t,"configurable",xi(e.configurable));let r=_i(t,"writable",xi(e.writable));r=_i(t,"value",e.value)||r;let i=_i(t,"get",e.get);return i=_i(t,"set",e.set)||i,Nt.assert(!(r&&i),"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor."),Qe(t,!n)},createCallBinding:function(e,n,t,i=!1){const a=HR(e,15);let o,s;return nh(a)?(o=B(),s=a):FC(a)?(o=B(),s=void 0!==t&&t<2?MN(R("_super"),a):a):8192&of(a)?(o=li(),s=r().parenthesizeLeftSideOfAccess(a,!1)):Rk(a)?pi(a.expression,i)?(o=D(n),s=en(MN(y.createAssignment(o,a.expression),a.expression),a.name),MN(s,a)):(o=a.expression,s=a):Nk(a)?pi(a.expression,i)?(o=D(n),s=an(MN(y.createAssignment(o,a.expression),a.expression),a.argumentExpression),MN(s,a)):(o=a.expression,s=a):(o=li(),s=r().parenthesizeLeftSideOfAccess(e,!1)),{target:s,thisArg:o}},createAssignmentTargetWrapper:function(e,n){return en(hn(Qe([_e(void 0,"value",[J(void 0,void 0,e,void 0,void 0,void 0)],tt([ot(n)]))])),"value")},inlineExpressions:function(e){return e.length>10?oi(e):We(e,y.createComma)},getInternalName:function(e,n,t){return fi(e,n,t,98304)},getLocalName:function(e,n,t){return fi(e,n,t,32768)},getExportName:mi,getDeclarationName:function(e,n,t){return fi(e,n,t)},getNamespaceMemberName:hi,getExternalModuleOrNamespaceExportName:function(e,n,t,r){return e&&db(n,1)?hi(e,fi(n),t,r):mi(n,t,r)},restoreOuterExpressions:function e(n,t,r=15){return n&&jR(n,r)&&(!(Fk(i=n)&&zy(i)&&zy(jA(i))&&zy(JA(i)))||ce(YA(i))||ce(ZA(i)))?function(e,n){switch(e.kind){case 214:return yn(e,n);case 213:return mn(e,e.type,n);case 231:return zn(e,n,e.type);case 235:return $n(e,n,e.type);case 232:return Xn(e,n);case 356:return ii(e,n)}}(n,e(n.expression,t)):t;var i},restoreEnclosingLabel:function e(n,t,r){if(!t)return n;const i=bt(t,t.label,SI(t.statement)?e(n,t.statement):n);return r&&r(t),i},createUseStrictPrologue:gi,copyPrologue:function(e,n,t,r){return vi(e,n,yi(e,n,0,t),r)},copyStandardPrologue:yi,copyCustomPrologue:vi,ensureUseStrict:function(e){return PR(e)?e:MN(v([gi(),...e]),e)},liftToBlock:function(e){return Nt.assert(N(e,Pu),"Cannot lift nodes to a Block."),Be(e)||tt(e)},mergeLexicalEnvironment:function(e,n){if(!ce(n))return e;const t=bi(e,_m,0),r=bi(e,fm,t),i=bi(e,hm,r),a=bi(n,_m,0),o=bi(n,fm,a),s=bi(n,hm,o),c=bi(n,pm,s);Nt.assert(c===n.length,"Expected declarations to be valid standard or custom prologues");const l=nd(e)?e.slice():e;if(c>s&&l.splice(i,0,...n.slice(s,c)),s>o&&l.splice(r,0,...n.slice(o,s)),o>a&&l.splice(t,0,...n.slice(a,o)),a>0)if(0===t)l.splice(0,0,...n.slice(0,a));else{const r=new Map;for(let n=0;n<t;n++){const t=e[n];r.set(t.expression.text,!0)}for(let e=a-1;e>=0;e--){const t=n[e];r.has(t.expression.text)||l.unshift(t)}}return nd(e)?MN(v(l,e.hasTrailingComma),e):e},updateModifiers:function(e,n){var t;let r;return r="number"==typeof n?H(n):n,jC(e)?z(e,r,e.name,e.constraint,e.default):HC(e)?X(e,r,e.dotDotDotToken,e.name,e.questionToken,e.type,e.initializer):ak(e)?Ae(e,r,e.typeParameters,e.parameters,e.type):WC(e)?Z(e,r,e.name,e.questionToken,e.type):qC(e)?ne(e,r,e.name,null!=(t=e.questionToken)?t:e.exclamationToken,e.type,e.initializer):zC(e)?re(e,r,e.name,e.questionToken,e.typeParameters,e.parameters,e.type):JC(e)?ae(e,r,e.asteriskToken,e.name,e.questionToken,e.typeParameters,e.parameters,e.type,e.body):YC(e)?le(e,r,e.parameters,e.body):$C(e)?ue(e,r,e.name,e.parameters,e.type,e.body):QC(e)?pe(e,r,e.name,e.parameters,e.body):nk(e)?ge(e,r,e.parameters,e.type):Gk(e)?bn(e,r,e.asteriskToken,e.name,e.typeParameters,e.parameters,e.type,e.body):Bk(e)?xn(e,r,e.typeParameters,e.parameters,e.type,e.equalsGreaterThanToken,e.body):$k(e)?Kn(e,r,e.name,e.typeParameters,e.heritageClauses,e.members):dI(e)?it(e,r,e.declarationList):wI(e)?Lt(e,r,e.asteriskToken,e.name,e.typeParameters,e.parameters,e.type,e.body):RI(e)?kt(e,r,e.name,e.typeParameters,e.heritageClauses,e.members):NI(e)?wt(e,r,e.name,e.typeParameters,e.heritageClauses,e.members):DI(e)?Dt(e,r,e.name,e.typeParameters,e.type):OI(e)?Mt(e,r,e.name,e.members):MI(e)?Ft(e,r,e.name,e.body):BI(e)?jt(e,r,e.isTypeOnly,e.name,e.moduleReference):UI(e)?Kt(e,r,e.importClause,e.moduleSpecifier,e.assertClause):XI(e)?er(e,r,e.expression):YI(e)?tr(e,r,e.isTypeOnly,e.exportClause,e.moduleSpecifier,e.assertClause):Nt.assertNever(e)}};return A(lA,(e=>e(y))),y;function v(e,n){if(void 0===e||e===i)e=[];else if(nd(e)){if(void 0===n||e.hasTrailingComma===n)return void 0===e.transformFlags&&AA(e),Nt.attachNodeArrayDebugInfo(e),e;const t=e.slice();return t.pos=e.pos,t.end=e.end,t.hasTrailingComma=n,t.transformFlags=e.transformFlags,Nt.attachNodeArrayDebugInfo(t),t}const t=e.length,r=t>=1&&t<=4?e.slice():e;return r.pos=-1,r.end=-1,r.hasTrailingComma=!!n,r.transformFlags=0,AA(r),Nt.attachNodeArrayDebugInfo(r),r}function b(e){return n.createBaseNode(e)}function E(e){const n=b(e);return n.symbol=void 0,n.localSymbol=void 0,n}function T(e,n){return e!==n&&(e.typeArguments=n.typeArguments),t(e,n)}function x(e,n=0){const t=E(8);return t.text="number"==typeof e?e+"":e,t.numericLiteralFlags=n,384&n&&(t.transformFlags|=1024),t}function S(e){const n=F(9);return n.text="string"==typeof e?e:uS(e)+"n",n.transformFlags|=4,n}function L(e,n){const t=E(10);return t.text=e,t.singleQuote=n,t}function C(e,n,t){const r=L(e,n);return r.hasExtendedUnicodeEscape=t,t&&(r.transformFlags|=1024),r}function k(e){const n=F(13);return n.text=e,n}function I(e){const t=n.createBaseIdentifierNode(79);return t.escapedText=e,t.jsDoc=void 0,t.flowNode=void 0,t.symbol=void 0,t}function w(e,n,t,r){const i=I(Oc(e));return gL(i,{flags:n,id:sA,prefix:t,suffix:r}),sA++,i}function R(e,n,t){void 0===n&&e&&(n=_s(e)),79===n&&(n=void 0);const r=I(Oc(e));return t&&(r.flags|=128),"await"===r.escapedText&&(r.transformFlags|=67108864),128&r.flags&&(r.transformFlags|=1024),r}function D(e,n,t,r){let i=1;n&&(i|=8);const a=w("",i,t,r);return e&&e(a),a}function O(e,n=0,t,r){Nt.assert(!(7&n),"Argument out of range: flags"),(t||r)&&(n|=16);const i=w(e?Dl(e)?LN(!1,t,e,r,Pc):`generated@${KG(e)}`:"",4|n,t,r);return i.original=e,i}function M(e){const t=n.createBasePrivateIdentifierNode(80);return t.escapedText=e,t.transformFlags|=16777216,t}function P(e,n,t,r){const i=M(Oc(e));return gL(i,{flags:n,id:sA,prefix:t,suffix:r}),sA++,i}function F(e){return n.createBaseTokenNode(e)}function G(e){Nt.assert(e>=0&&e<=162,"Invalid token"),Nt.assert(e<=14||e>=17,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."),Nt.assert(e<=8||e>=14,"Invalid token. Use 'createLiteralLikeNode' to create literals."),Nt.assert(79!==e,"Invalid token. Use 'createIdentifier' to create identifiers");const n=F(e);let t=0;switch(e){case 132:t=384;break;case 123:case 121:case 122:case 146:case 126:case 136:case 85:case 131:case 148:case 160:case 144:case 149:case 101:case 145:case 161:case 152:case 134:case 153:case 114:case 157:case 155:t=1;break;case 106:t=134218752,n.flowNode=void 0;break;case 124:t=1024;break;case 127:t=16777216;break;case 108:t=16384,n.flowNode=void 0}return t&&(n.transformFlags|=t),n}function B(){return G(108)}function U(){return G(110)}function V(){return G(95)}function j(e){return G(e)}function H(e){const n=[];return 1&e&&n.push(j(93)),2&e&&n.push(j(136)),1024&e&&n.push(j(88)),2048&e&&n.push(j(85)),4&e&&n.push(j(123)),8&e&&n.push(j(121)),16&e&&n.push(j(122)),256&e&&n.push(j(126)),32&e&&n.push(j(124)),16384&e&&n.push(j(161)),64&e&&n.push(j(146)),128&e&&n.push(j(127)),512&e&&n.push(j(132)),32768&e&&n.push(j(101)),65536&e&&n.push(j(145)),n.length?n:void 0}function K(e,n){const t=b(163);return t.left=e,t.right=Ti(n),t.transformFlags|=xA(t.left)|TA(t.right),t.flowNode=void 0,t}function W(e){const n=b(164);return n.expression=r().parenthesizeExpressionOfComputedPropertyName(e),n.transformFlags|=132096|xA(n.expression),n}function q(e,n,t,r){const i=E(165);return i.modifiers=Ei(e),i.name=Ti(n),i.constraint=t,i.default=r,i.transformFlags=1,i.expression=void 0,i.jsDoc=void 0,i}function z(e,n,r,i,a){return e.modifiers!==n||e.name!==r||e.constraint!==i||e.default!==a?t(q(n,r,i,a),e):e}function J(e,n,t,r,i,a){var o,s;const c=E(166);return c.modifiers=Ei(e),c.dotDotDotToken=n,c.name=Ti(t),c.questionToken=r,c.type=i,c.initializer=Si(a),Kv(c.name)?c.transformFlags=1:c.transformFlags=SA(c.modifiers)|xA(c.dotDotDotToken)|EA(c.name)|xA(c.questionToken)|xA(c.initializer)|((null!=(o=c.questionToken)?o:c.type)?1:0)|((null!=(s=c.dotDotDotToken)?s:c.initializer)?1024:0)|(16476&kb(c.modifiers)?8192:0),c.jsDoc=void 0,c}function X(e,n,r,i,a,o,s){return e.modifiers!==n||e.dotDotDotToken!==r||e.name!==i||e.questionToken!==a||e.type!==o||e.initializer!==s?t(J(n,r,i,a,o,s),e):e}function Y(e){const n=b(167);return n.expression=r().parenthesizeLeftSideOfAccess(e,!1),n.transformFlags|=33562625|xA(n.expression),n}function $(e,n,t,r){const i=E(168);return i.modifiers=Ei(e),i.name=Ti(n),i.type=r,i.questionToken=t,i.transformFlags=1,i.initializer=void 0,i.jsDoc=void 0,i}function Z(e,n,r,i,a){return e.modifiers!==n||e.name!==r||e.questionToken!==i||e.type!==a?((o=$(n,r,i,a))!==(s=e)&&(o.initializer=s.initializer),t(o,s)):e;var o,s}function ee(e,n,t,r,i){const a=E(169);a.modifiers=Ei(e),a.name=Ti(n),a.questionToken=t&&EC(t)?t:void 0,a.exclamationToken=t&&bC(t)?t:void 0,a.type=r,a.initializer=Si(i);const o=16777216&a.flags||2&kb(a.modifiers);return a.transformFlags=SA(a.modifiers)|EA(a.name)|xA(a.initializer)|(o||a.questionToken||a.exclamationToken||a.type?1:0)|(VC(a.name)||32&kb(a.modifiers)&&a.initializer?8192:0)|16777216,a.jsDoc=void 0,a}function ne(e,n,r,i,a,o){return e.modifiers!==n||e.name!==r||e.questionToken!==(void 0!==i&&EC(i)?i:void 0)||e.exclamationToken!==(void 0!==i&&bC(i)?i:void 0)||e.type!==a||e.initializer!==o?t(ee(n,r,i,a,o),e):e}function te(e,n,t,r,i,a){const o=E(170);return o.modifiers=Ei(e),o.name=Ti(n),o.questionToken=t,o.typeParameters=Ei(r),o.parameters=Ei(i),o.type=a,o.transformFlags=1,o.jsDoc=void 0,o.locals=void 0,o.nextContainer=void 0,o.typeArguments=void 0,o}function re(e,n,t,r,i,a,o){return e.modifiers!==n||e.name!==t||e.questionToken!==r||e.typeParameters!==i||e.parameters!==a||e.type!==o?T(te(n,t,r,i,a,o),e):e}function ie(e,n,t,r,i,a,o,s){const c=E(171);if(c.modifiers=Ei(e),c.asteriskToken=n,c.name=Ti(t),c.questionToken=r,c.exclamationToken=void 0,c.typeParameters=Ei(i),c.parameters=v(a),c.type=o,c.body=s,c.body){const e=512&kb(c.modifiers),n=!!c.asteriskToken,t=e&&n;c.transformFlags=SA(c.modifiers)|xA(c.asteriskToken)|EA(c.name)|xA(c.questionToken)|SA(c.typeParameters)|SA(c.parameters)|xA(c.type)|-67108865&xA(c.body)|(t?128:e?256:n?2048:0)|(c.questionToken||c.typeParameters||c.type?1:0)|1024}else c.transformFlags=1;return c.typeArguments=void 0,c.jsDoc=void 0,c.locals=void 0,c.nextContainer=void 0,c.flowNode=void 0,c.endFlowNode=void 0,c.returnFlowNode=void 0,c}function ae(e,n,r,i,a,o,s,c,l){return e.modifiers!==n||e.asteriskToken!==r||e.name!==i||e.questionToken!==a||e.typeParameters!==o||e.parameters!==s||e.type!==c||e.body!==l?((d=ie(n,r,i,a,o,s,c,l))!==(u=e)&&(d.exclamationToken=u.exclamationToken),t(d,u)):e;var d,u}function oe(e){const n=E(172);return n.body=e,n.transformFlags=16777216|xA(e),n.modifiers=void 0,n.jsDoc=void 0,n.locals=void 0,n.nextContainer=void 0,n.endFlowNode=void 0,n.returnFlowNode=void 0,n}function se(e,n,t){const r=E(173);return r.modifiers=Ei(e),r.parameters=v(n),r.body=t,r.transformFlags=SA(r.modifiers)|SA(r.parameters)|-67108865&xA(r.body)|1024,r.typeParameters=void 0,r.type=void 0,r.typeArguments=void 0,r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r.endFlowNode=void 0,r.returnFlowNode=void 0,r}function le(e,n,t,r){return e.modifiers!==n||e.parameters!==t||e.body!==r?((i=se(n,t,r))!==(a=e)&&(i.typeParameters=a.typeParameters,i.type=a.type),T(i,a)):e;var i,a}function de(e,n,t,r,i){const a=E(174);return a.modifiers=Ei(e),a.name=Ti(n),a.parameters=v(t),a.type=r,a.body=i,a.body?a.transformFlags=SA(a.modifiers)|EA(a.name)|SA(a.parameters)|xA(a.type)|-67108865&xA(a.body)|(a.type?1:0):a.transformFlags=1,a.typeArguments=void 0,a.typeParameters=void 0,a.jsDoc=void 0,a.locals=void 0,a.nextContainer=void 0,a.flowNode=void 0,a.endFlowNode=void 0,a.returnFlowNode=void 0,a}function ue(e,n,t,r,i,a){return e.modifiers!==n||e.name!==t||e.parameters!==r||e.type!==i||e.body!==a?((o=de(n,t,r,i,a))!==(s=e)&&(o.typeParameters=s.typeParameters),T(o,s)):e;var o,s}function _e(e,n,t,r){const i=E(175);return i.modifiers=Ei(e),i.name=Ti(n),i.parameters=v(t),i.body=r,i.body?i.transformFlags=SA(i.modifiers)|EA(i.name)|SA(i.parameters)|-67108865&xA(i.body)|(i.type?1:0):i.transformFlags=1,i.typeArguments=void 0,i.typeParameters=void 0,i.type=void 0,i.jsDoc=void 0,i.locals=void 0,i.nextContainer=void 0,i.flowNode=void 0,i.endFlowNode=void 0,i.returnFlowNode=void 0,i}function pe(e,n,t,r,i){return e.modifiers!==n||e.name!==t||e.parameters!==r||e.body!==i?((a=_e(n,t,r,i))!==(o=e)&&(a.typeParameters=o.typeParameters,a.type=o.type),T(a,o)):e;var a,o}function fe(e,n,t){const r=E(176);return r.typeParameters=Ei(e),r.parameters=Ei(n),r.type=t,r.transformFlags=1,r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r.typeArguments=void 0,r}function me(e,n,t){const r=E(177);return r.typeParameters=Ei(e),r.parameters=Ei(n),r.type=t,r.transformFlags=1,r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r.typeArguments=void 0,r}function he(e,n,t){const r=E(178);return r.modifiers=Ei(e),r.parameters=Ei(n),r.type=t,r.transformFlags=1,r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r.typeArguments=void 0,r}function ge(e,n,t,r){return e.parameters!==t||e.type!==r||e.modifiers!==n?T(he(n,t,r),e):e}function ye(e,n){const t=b(201);return t.type=e,t.literal=n,t.transformFlags=1,t}function ve(e,n,t){const r=b(179);return r.assertsModifier=e,r.parameterName=Ti(n),r.type=t,r.transformFlags=1,r}function be(e,n){const t=b(180);return t.typeName=Ti(e),t.typeArguments=n&&r().parenthesizeTypeArguments(v(n)),t.transformFlags=1,t}function Ee(e,n,t){const r=E(181);return r.typeParameters=Ei(e),r.parameters=Ei(n),r.type=t,r.transformFlags=1,r.modifiers=void 0,r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r.typeArguments=void 0,r}function xe(...e){return 4===e.length?Se(...e):3===e.length?function(e,n,t){return Se(void 0,e,n,t)}(...e):Nt.fail("Incorrect number of arguments specified.")}function Se(e,n,t,r){const i=E(182);return i.modifiers=Ei(e),i.typeParameters=Ei(n),i.parameters=Ei(t),i.type=r,i.transformFlags=1,i.jsDoc=void 0,i.locals=void 0,i.nextContainer=void 0,i.typeArguments=void 0,i}function Ae(e,n,t,r,i){return e.modifiers!==n||e.typeParameters!==t||e.parameters!==r||e.type!==i?T(xe(n,t,r,i),e):e}function Le(e,n){const t=b(183);return t.exprName=e,t.typeArguments=n&&r().parenthesizeTypeArguments(n),t.transformFlags=1,t}function Ce(e){const n=E(184);return n.members=v(e),n.transformFlags=1,n}function ke(e){const n=b(185);return n.elementType=r().parenthesizeNonArrayTypeOfPostfixType(e),n.transformFlags=1,n}function Ie(e){const n=b(186);return n.elements=v(r().parenthesizeElementTypesOfTupleType(e)),n.transformFlags=1,n}function we(e,n,t,r){const i=E(199);return i.dotDotDotToken=e,i.name=n,i.questionToken=t,i.type=r,i.transformFlags=1,i.jsDoc=void 0,i}function Re(e){const n=b(187);return n.type=r().parenthesizeTypeOfOptionalType(e),n.transformFlags=1,n}function Ne(e){const n=b(188);return n.type=e,n.transformFlags=1,n}function De(e,n,t){const r=b(e);return r.types=y.createNodeArray(t(n)),r.transformFlags=1,r}function Oe(e,n,r){return e.types!==n?t(De(e.kind,n,r),e):e}function Me(e,n,t,i){const a=b(191);return a.checkType=r().parenthesizeCheckTypeOfConditionalType(e),a.extendsType=r().parenthesizeExtendsTypeOfConditionalType(n),a.trueType=t,a.falseType=i,a.transformFlags=1,a.locals=void 0,a.nextContainer=void 0,a}function Pe(e){const n=b(192);return n.typeParameter=e,n.transformFlags=1,n}function Ge(e,n){const t=b(200);return t.head=e,t.templateSpans=v(n),t.transformFlags=1,t}function Ue(e,n,t,i,a=!1){const o=b(202);return o.argument=e,o.assertions=n,o.qualifier=t,o.typeArguments=i&&r().parenthesizeTypeArguments(i),o.isTypeOf=a,o.transformFlags=1,o}function Ve(e){const n=b(193);return n.type=e,n.transformFlags=1,n}function je(e,n){const t=b(195);return t.operator=e,t.type=146===e?r().parenthesizeOperandOfReadonlyTypeOperator(n):r().parenthesizeOperandOfTypeOperator(n),t.transformFlags=1,t}function He(e,n){const t=b(196);return t.objectType=r().parenthesizeNonArrayTypeOfPostfixType(e),t.indexType=n,t.transformFlags=1,t}function Ke(e,n,t,r,i,a){const o=E(197);return o.readonlyToken=e,o.typeParameter=n,o.nameType=t,o.questionToken=r,o.type=i,o.members=a&&v(a),o.transformFlags=1,o.locals=void 0,o.nextContainer=void 0,o}function ze(e){const n=b(198);return n.literal=e,n.transformFlags=1,n}function Je(e){const n=b(203);return n.elements=v(e),n.transformFlags|=525312|SA(n.elements),32768&n.transformFlags&&(n.transformFlags|=65664),n}function Xe(e){const n=b(204);return n.elements=v(e),n.transformFlags|=525312|SA(n.elements),n}function Ye(e,n,t,r){const i=E(205);return i.dotDotDotToken=e,i.propertyName=Ti(n),i.name=Ti(t),i.initializer=Si(r),i.transformFlags|=xA(i.dotDotDotToken)|EA(i.propertyName)|EA(i.name)|xA(i.initializer)|(i.dotDotDotToken?32768:0)|1024,i.flowNode=void 0,i}function $e(e,n){const t=b(206),i=e&&Fe(e),a=v(e,!(!i||!Qk(i))||void 0);return t.elements=r().parenthesizeExpressionsOfCommaDelimitedList(a),t.multiLine=n,t.transformFlags|=SA(t.elements),t}function Qe(e,n){const t=E(207);return t.properties=v(e),t.multiLine=n,t.transformFlags|=SA(t.properties),t.jsDoc=void 0,t}function Ze(e,n,t){const r=E(208);return r.expression=e,r.questionDotToken=n,r.name=t,r.transformFlags=xA(r.expression)|xA(r.questionDotToken)|(AC(r.name)?TA(r.name):536870912|xA(r.name)),r.jsDoc=void 0,r.flowNode=void 0,r}function en(e,n){const t=Ze(r().parenthesizeLeftSideOfAccess(e,!1),void 0,Ti(n));return FC(e)&&(t.transformFlags|=384),t}function nn(e,n,t){const i=Ze(r().parenthesizeLeftSideOfAccess(e,!0),n,Ti(t));return i.flags|=32,i.transformFlags|=32,i}function tn(e,n,r,i){return Nt.assert(!!(32&e.flags),"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead."),e.expression!==n||e.questionDotToken!==r||e.name!==i?t(nn(n,r,i),e):e}function rn(e,n,t){const r=E(209);return r.expression=e,r.questionDotToken=n,r.argumentExpression=t,r.transformFlags|=xA(r.expression)|xA(r.questionDotToken)|xA(r.argumentExpression),r.jsDoc=void 0,r.flowNode=void 0,r}function an(e,n){const t=rn(r().parenthesizeLeftSideOfAccess(e,!1),void 0,xi(n));return FC(e)&&(t.transformFlags|=384),t}function on(e,n,t){const i=rn(r().parenthesizeLeftSideOfAccess(e,!0),n,xi(t));return i.flags|=32,i.transformFlags|=32,i}function sn(e,n,r,i){return Nt.assert(!!(32&e.flags),"Cannot update a ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead."),e.expression!==n||e.questionDotToken!==r||e.argumentExpression!==i?t(on(n,r,i),e):e}function cn(e,n,t,r){const i=E(210);return i.expression=e,i.questionDotToken=n,i.typeArguments=t,i.arguments=r,i.transformFlags|=xA(i.expression)|xA(i.questionDotToken)|SA(i.typeArguments)|SA(i.arguments),i.typeArguments&&(i.transformFlags|=1),nh(i.expression)&&(i.transformFlags|=16384),i}function ln(e,n,t){const i=cn(r().parenthesizeLeftSideOfAccess(e,!1),void 0,Ei(n),r().parenthesizeExpressionsOfCommaDelimitedList(v(t)));return GC(i.expression)&&(i.transformFlags|=8388608),i}function dn(e,n,t,i){const a=cn(r().parenthesizeLeftSideOfAccess(e,!0),n,Ei(t),r().parenthesizeExpressionsOfCommaDelimitedList(v(i)));return a.flags|=32,a.transformFlags|=32,a}function un(e,n,r,i,a){return Nt.assert(!!(32&e.flags),"Cannot update a CallExpression using updateCallChain. Use updateCall instead."),e.expression!==n||e.questionDotToken!==r||e.typeArguments!==i||e.arguments!==a?t(dn(n,r,i,a),e):e}function _n(e,n,t){const i=E(211);return i.expression=r().parenthesizeExpressionOfNew(e),i.typeArguments=Ei(n),i.arguments=t?r().parenthesizeExpressionsOfCommaDelimitedList(t):void 0,i.transformFlags|=xA(i.expression)|SA(i.typeArguments)|SA(i.arguments)|32,i.typeArguments&&(i.transformFlags|=1),i}function pn(e,n,t){const i=b(212);return i.tag=r().parenthesizeLeftSideOfAccess(e,!1),i.typeArguments=Ei(n),i.template=t,i.transformFlags|=xA(i.tag)|SA(i.typeArguments)|xA(i.template)|1024,i.typeArguments&&(i.transformFlags|=1),rv(i.template)&&(i.transformFlags|=128),i}function fn(e,n){const t=b(213);return t.expression=r().parenthesizeOperandOfPrefixUnary(n),t.type=e,t.transformFlags|=xA(t.expression)|xA(t.type)|1,t}function mn(e,n,r){return e.type!==n||e.expression!==r?t(fn(n,r),e):e}function hn(e){const n=b(214);return n.expression=e,n.transformFlags=xA(n.expression),n.jsDoc=void 0,n}function yn(e,n){return e.expression!==n?t(hn(n),e):e}function vn(e,n,t,r,i,a,o){const s=E(215);s.modifiers=Ei(e),s.asteriskToken=n,s.name=Ti(t),s.typeParameters=Ei(r),s.parameters=v(i),s.type=a,s.body=o;const c=512&kb(s.modifiers),l=!!s.asteriskToken,d=c&&l;return s.transformFlags=SA(s.modifiers)|xA(s.asteriskToken)|EA(s.name)|SA(s.typeParameters)|SA(s.parameters)|xA(s.type)|-67108865&xA(s.body)|(d?128:c?256:l?2048:0)|(s.typeParameters||s.type?1:0)|4194304,s.typeArguments=void 0,s.jsDoc=void 0,s.locals=void 0,s.nextContainer=void 0,s.flowNode=void 0,s.endFlowNode=void 0,s.returnFlowNode=void 0,s}function bn(e,n,t,r,i,a,o,s){return e.name!==r||e.modifiers!==n||e.asteriskToken!==t||e.typeParameters!==i||e.parameters!==a||e.type!==o||e.body!==s?T(vn(n,t,r,i,a,o,s),e):e}function En(e,n,t,i,a,o){const s=E(216);s.modifiers=Ei(e),s.typeParameters=Ei(n),s.parameters=v(t),s.type=i,s.equalsGreaterThanToken=null!=a?a:G(38),s.body=r().parenthesizeConciseBodyOfArrowFunction(o);const c=512&kb(s.modifiers);return s.transformFlags=SA(s.modifiers)|SA(s.typeParameters)|SA(s.parameters)|xA(s.type)|xA(s.equalsGreaterThanToken)|-67108865&xA(s.body)|(s.typeParameters||s.type?1:0)|(c?16640:0)|1024,s.typeArguments=void 0,s.jsDoc=void 0,s.locals=void 0,s.nextContainer=void 0,s.flowNode=void 0,s.endFlowNode=void 0,s.returnFlowNode=void 0,s}function xn(e,n,t,r,i,a,o){return e.modifiers!==n||e.typeParameters!==t||e.parameters!==r||e.type!==i||e.equalsGreaterThanToken!==a||e.body!==o?T(En(n,t,r,i,a,o),e):e}function Sn(e){const n=b(217);return n.expression=r().parenthesizeOperandOfPrefixUnary(e),n.transformFlags|=xA(n.expression),n}function Ln(e){const n=b(218);return n.expression=r().parenthesizeOperandOfPrefixUnary(e),n.transformFlags|=xA(n.expression),n}function Cn(e){const n=b(219);return n.expression=r().parenthesizeOperandOfPrefixUnary(e),n.transformFlags|=xA(n.expression),n}function kn(e){const n=b(220);return n.expression=r().parenthesizeOperandOfPrefixUnary(e),n.transformFlags|=2097536|xA(n.expression),n}function In(e,n){const t=b(221);return t.operator=e,t.operand=r().parenthesizeOperandOfPrefixUnary(n),t.transformFlags|=xA(t.operand),45!==e&&46!==e||!AC(t.operand)||fd(t.operand)||DR(t.operand)||(t.transformFlags|=268435456),t}function wn(e,n){const t=b(222);return t.operator=n,t.operand=r().parenthesizeOperandOfPostfixUnary(e),t.transformFlags|=xA(t.operand),!AC(t.operand)||fd(t.operand)||DR(t.operand)||(t.transformFlags|=268435456),t}function Dn(e,n,t){const i=E(223),a="number"==typeof(o=n)?G(o):o;var o;const s=a.kind;return i.left=r().parenthesizeLeftSideOfBinary(s,e),i.operatorToken=a,i.right=r().parenthesizeRightSideOfBinary(s,i.left,t),i.transformFlags|=xA(i.left)|xA(i.operatorToken)|xA(i.right),60===s?i.transformFlags|=32:63===s?wk(i.left)?i.transformFlags|=5248|On(i.left):Ik(i.left)&&(i.transformFlags|=5120|On(i.left)):42===s||67===s?i.transformFlags|=512:Nb(s)&&(i.transformFlags|=16),101===s&&LC(i.left)&&(i.transformFlags|=536870912),i.jsDoc=void 0,i}function On(e){return DN(e)?65536:0}function Mn(e,n,t,i,a){const o=b(224);return o.condition=r().parenthesizeConditionOfConditionalExpression(e),o.questionToken=null!=n?n:G(57),o.whenTrue=r().parenthesizeBranchOfConditionalExpression(t),o.colonToken=null!=i?i:G(58),o.whenFalse=r().parenthesizeBranchOfConditionalExpression(a),o.transformFlags|=xA(o.condition)|xA(o.questionToken)|xA(o.whenTrue)|xA(o.colonToken)|xA(o.whenFalse),o}function Pn(e,n){const t=b(225);return t.head=e,t.templateSpans=v(n),t.transformFlags|=xA(t.head)|SA(t.templateSpans)|1024,t}function Fn(e,n,t,r=0){let i;if(Nt.assert(!(-2049&r),"Unsupported template flags."),void 0!==t&&t!==n&&(i=function(e,n){switch(dA||(dA=Ws(99,!1,0)),e){case 14:dA.setText("`"+n+"`");break;case 15:dA.setText("`"+n+"${");break;case 16:dA.setText("}"+n+"${");break;case 17:dA.setText("}"+n+"`")}let t,r=dA.scan();if(19===r&&(r=dA.reScanTemplateToken(!1)),dA.isUnterminated())return dA.setText(void 0),uA;switch(r){case 14:case 15:case 16:case 17:t=dA.getTokenValue()}return void 0===t||1!==dA.scan()?(dA.setText(void 0),uA):(dA.setText(void 0),t)}(e,t),"object"==typeof i))return Nt.fail("Invalid raw text");if(void 0===n){if(void 0===i)return Nt.fail("Arguments 'text' and 'rawText' may not both be undefined.");n=i}else void 0!==i&&Nt.assert(n===i,"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.");return n}function Gn(e){let n=1024;return e&&(n|=128),n}function Bn(e,n,t,r){const i=E(e);return i.text=n,i.rawText=t,i.templateFlags=2048&r,i.transformFlags=Gn(i.templateFlags),i}function Un(e,n,t,r){return 14===e?Bn(e,n,t,r):function(e,n,t,r){const i=F(e);return i.text=n,i.rawText=t,i.templateFlags=2048&r,i.transformFlags=Gn(i.templateFlags),i}(e,n,t,r)}function Vn(e,n){Nt.assert(!e||!!n,"A `YieldExpression` with an asteriskToken must have an expression.");const t=b(226);return t.expression=n&&r().parenthesizeExpressionForDisallowedComma(n),t.asteriskToken=e,t.transformFlags|=xA(t.expression)|xA(t.asteriskToken)|1049728,t}function jn(e){const n=b(227);return n.expression=r().parenthesizeExpressionForDisallowedComma(e),n.transformFlags|=33792|xA(n.expression),n}function Hn(e,n,t,r,i){const a=E(228);return a.modifiers=Ei(e),a.name=Ti(n),a.typeParameters=Ei(t),a.heritageClauses=Ei(r),a.members=v(i),a.transformFlags|=SA(a.modifiers)|EA(a.name)|SA(a.typeParameters)|SA(a.heritageClauses)|SA(a.members)|(a.typeParameters?1:0)|1024,a.jsDoc=void 0,a}function Kn(e,n,r,i,a,o){return e.modifiers!==n||e.name!==r||e.typeParameters!==i||e.heritageClauses!==a||e.members!==o?t(Hn(n,r,i,a,o),e):e}function Wn(e,n){const t=b(230);return t.expression=r().parenthesizeLeftSideOfAccess(e,!1),t.typeArguments=n&&r().parenthesizeTypeArguments(n),t.transformFlags|=xA(t.expression)|SA(t.typeArguments)|1024,t}function qn(e,n){const t=b(231);return t.expression=e,t.type=n,t.transformFlags|=xA(t.expression)|xA(t.type)|1,t}function zn(e,n,r){return e.expression!==n||e.type!==r?t(qn(n,r),e):e}function Jn(e){const n=b(232);return n.expression=r().parenthesizeLeftSideOfAccess(e,!1),n.transformFlags|=1|xA(n.expression),n}function Xn(e,n){return Wl(e)?Zn(e,n):e.expression!==n?t(Jn(n),e):e}function Yn(e,n){const t=b(235);return t.expression=e,t.type=n,t.transformFlags|=xA(t.expression)|xA(t.type)|1,t}function $n(e,n,r){return e.expression!==n||e.type!==r?t(Yn(n,r),e):e}function Qn(e){const n=b(232);return n.flags|=32,n.expression=r().parenthesizeLeftSideOfAccess(e,!0),n.transformFlags|=1|xA(n.expression),n}function Zn(e,n){return Nt.assert(!!(32&e.flags),"Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead."),e.expression!==n?t(Qn(n),e):e}function et(e,n){const t=b(233);switch(t.keywordToken=e,t.name=n,t.transformFlags|=xA(t.name),e){case 103:t.transformFlags|=1024;break;case 100:t.transformFlags|=4;break;default:return Nt.assertNever(e)}return t.flowNode=void 0,t}function nt(e,n){const t=b(236);return t.expression=e,t.literal=n,t.transformFlags|=xA(t.expression)|xA(t.literal)|1024,t}function tt(e,n){const t=b(238);return t.statements=v(e),t.multiLine=n,t.transformFlags|=SA(t.statements),t.jsDoc=void 0,t.locals=void 0,t.nextContainer=void 0,t}function rt(e,n){const t=b(240);return t.modifiers=Ei(e),t.declarationList=gn(n)?St(n):n,t.transformFlags|=SA(t.modifiers)|xA(t.declarationList),2&kb(t.modifiers)&&(t.transformFlags=1),t.jsDoc=void 0,t.flowNode=void 0,t}function it(e,n,r){return e.modifiers!==n||e.declarationList!==r?t(rt(n,r),e):e}function at(){const e=b(239);return e.jsDoc=void 0,e}function ot(e){const n=b(241);return n.expression=r().parenthesizeExpressionOfExpressionStatement(e),n.transformFlags|=xA(n.expression),n.jsDoc=void 0,n.flowNode=void 0,n}function st(e,n,t){const r=b(242);return r.expression=e,r.thenStatement=Ai(n),r.elseStatement=Ai(t),r.transformFlags|=xA(r.expression)|xA(r.thenStatement)|xA(r.elseStatement),r.jsDoc=void 0,r.flowNode=void 0,r}function ct(e,n){const t=b(243);return t.statement=Ai(e),t.expression=n,t.transformFlags|=xA(t.statement)|xA(t.expression),t.jsDoc=void 0,t.flowNode=void 0,t}function lt(e,n){const t=b(244);return t.expression=e,t.statement=Ai(n),t.transformFlags|=xA(t.expression)|xA(t.statement),t.jsDoc=void 0,t.flowNode=void 0,t}function dt(e,n,t,r){const i=b(245);return i.initializer=e,i.condition=n,i.incrementor=t,i.statement=Ai(r),i.transformFlags|=xA(i.initializer)|xA(i.condition)|xA(i.incrementor)|xA(i.statement),i.jsDoc=void 0,i.locals=void 0,i.nextContainer=void 0,i.flowNode=void 0,i}function ut(e,n,t){const r=b(246);return r.initializer=e,r.expression=n,r.statement=Ai(t),r.transformFlags|=xA(r.initializer)|xA(r.expression)|xA(r.statement),r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r.flowNode=void 0,r}function _t(e,n,t,i){const a=b(247);return a.awaitModifier=e,a.initializer=n,a.expression=r().parenthesizeExpressionForDisallowedComma(t),a.statement=Ai(i),a.transformFlags|=xA(a.awaitModifier)|xA(a.initializer)|xA(a.expression)|xA(a.statement)|1024,e&&(a.transformFlags|=128),a.jsDoc=void 0,a.locals=void 0,a.nextContainer=void 0,a.flowNode=void 0,a}function ft(e){const n=b(248);return n.label=Ti(e),n.transformFlags|=4194304|xA(n.label),n.jsDoc=void 0,n.flowNode=void 0,n}function mt(e){const n=b(249);return n.label=Ti(e),n.transformFlags|=4194304|xA(n.label),n.jsDoc=void 0,n.flowNode=void 0,n}function ht(e){const n=b(250);return n.expression=e,n.transformFlags|=4194432|xA(n.expression),n.jsDoc=void 0,n.flowNode=void 0,n}function gt(e,n){const t=b(251);return t.expression=e,t.statement=Ai(n),t.transformFlags|=xA(t.expression)|xA(t.statement),t.jsDoc=void 0,t.flowNode=void 0,t}function yt(e,n){const t=b(252);return t.expression=r().parenthesizeExpressionForDisallowedComma(e),t.caseBlock=n,t.transformFlags|=xA(t.expression)|xA(t.caseBlock),t.jsDoc=void 0,t.flowNode=void 0,t.possiblyExhaustive=!1,t}function vt(e,n){const t=b(253);return t.label=Ti(e),t.statement=Ai(n),t.transformFlags|=xA(t.label)|xA(t.statement),t.jsDoc=void 0,t.flowNode=void 0,t}function bt(e,n,r){return e.label!==n||e.statement!==r?t(vt(n,r),e):e}function Et(e){const n=b(254);return n.expression=e,n.transformFlags|=xA(n.expression),n.jsDoc=void 0,n.flowNode=void 0,n}function Tt(e,n,t){const r=b(255);return r.tryBlock=e,r.catchClause=n,r.finallyBlock=t,r.transformFlags|=xA(r.tryBlock)|xA(r.catchClause)|xA(r.finallyBlock),r.jsDoc=void 0,r.flowNode=void 0,r}function xt(e,n,t,r){var i;const a=E(257);return a.name=Ti(e),a.exclamationToken=n,a.type=t,a.initializer=Si(r),a.transformFlags|=EA(a.name)|xA(a.initializer)|((null!=(i=a.exclamationToken)?i:a.type)?1:0),a.jsDoc=void 0,a}function St(e,n=0){const t=b(258);return t.flags|=3&n,t.declarations=v(e),t.transformFlags|=4194304|SA(t.declarations),3&n&&(t.transformFlags|=263168),t}function At(e,n,t,r,i,a,o){const s=E(259);if(s.modifiers=Ei(e),s.asteriskToken=n,s.name=Ti(t),s.typeParameters=Ei(r),s.parameters=v(i),s.type=a,s.body=o,!s.body||2&kb(s.modifiers))s.transformFlags=1;else{const e=512&kb(s.modifiers),n=!!s.asteriskToken,t=e&&n;s.transformFlags=SA(s.modifiers)|xA(s.asteriskToken)|EA(s.name)|SA(s.typeParameters)|SA(s.parameters)|xA(s.type)|-67108865&xA(s.body)|(t?128:e?256:n?2048:0)|(s.typeParameters||s.type?1:0)|4194304}return s.typeArguments=void 0,s.jsDoc=void 0,s.locals=void 0,s.nextContainer=void 0,s.endFlowNode=void 0,s.returnFlowNode=void 0,s}function Lt(e,n,t,r,i,a,o,s){return e.modifiers!==n||e.asteriskToken!==t||e.name!==r||e.typeParameters!==i||e.parameters!==a||e.type!==o||e.body!==s?((c=At(n,t,r,i,a,o,s))!==(l=e)&&c.modifiers===l.modifiers&&(c.modifiers=l.modifiers),T(c,l)):e;var c,l}function Ct(e,n,t,r,i){const a=E(260);return a.modifiers=Ei(e),a.name=Ti(n),a.typeParameters=Ei(t),a.heritageClauses=Ei(r),a.members=v(i),2&kb(a.modifiers)?a.transformFlags=1:(a.transformFlags|=SA(a.modifiers)|EA(a.name)|SA(a.typeParameters)|SA(a.heritageClauses)|SA(a.members)|(a.typeParameters?1:0)|1024,8192&a.transformFlags&&(a.transformFlags|=1)),a.jsDoc=void 0,a}function kt(e,n,r,i,a,o){return e.modifiers!==n||e.name!==r||e.typeParameters!==i||e.heritageClauses!==a||e.members!==o?t(Ct(n,r,i,a,o),e):e}function It(e,n,t,r,i){const a=E(261);return a.modifiers=Ei(e),a.name=Ti(n),a.typeParameters=Ei(t),a.heritageClauses=Ei(r),a.members=v(i),a.transformFlags=1,a.jsDoc=void 0,a}function wt(e,n,r,i,a,o){return e.modifiers!==n||e.name!==r||e.typeParameters!==i||e.heritageClauses!==a||e.members!==o?t(It(n,r,i,a,o),e):e}function Rt(e,n,t,r){const i=E(262);return i.modifiers=Ei(e),i.name=Ti(n),i.typeParameters=Ei(t),i.type=r,i.transformFlags=1,i.jsDoc=void 0,i.locals=void 0,i.nextContainer=void 0,i}function Dt(e,n,r,i,a){return e.modifiers!==n||e.name!==r||e.typeParameters!==i||e.type!==a?t(Rt(n,r,i,a),e):e}function Ot(e,n,t){const r=E(263);return r.modifiers=Ei(e),r.name=Ti(n),r.members=v(t),r.transformFlags|=SA(r.modifiers)|xA(r.name)|SA(r.members)|1,r.transformFlags&=-67108865,r.jsDoc=void 0,r}function Mt(e,n,r,i){return e.modifiers!==n||e.name!==r||e.members!==i?t(Ot(n,r,i),e):e}function Pt(e,n,t,r=0){const i=E(264);return i.modifiers=Ei(e),i.flags|=1044&r,i.name=n,i.body=t,2&kb(i.modifiers)?i.transformFlags=1:i.transformFlags|=SA(i.modifiers)|xA(i.name)|xA(i.body)|1,i.transformFlags&=-67108865,i.jsDoc=void 0,i.locals=void 0,i.nextContainer=void 0,i}function Ft(e,n,r,i){return e.modifiers!==n||e.name!==r||e.body!==i?t(Pt(n,r,i,e.flags),e):e}function Gt(e){const n=b(265);return n.statements=v(e),n.transformFlags|=SA(n.statements),n.jsDoc=void 0,n}function Bt(e){const n=b(266);return n.clauses=v(e),n.transformFlags|=SA(n.clauses),n.locals=void 0,n.nextContainer=void 0,n}function Ut(e){const n=E(267);return n.name=Ti(e),n.transformFlags|=1|TA(n.name),n.modifiers=void 0,n.jsDoc=void 0,n}function Vt(e,n,t,r){const i=E(268);return i.modifiers=Ei(e),i.name=Ti(t),i.isTypeOnly=n,i.moduleReference=r,i.transformFlags|=SA(i.modifiers)|TA(i.name)|xA(i.moduleReference),iw(i.moduleReference)||(i.transformFlags|=1),i.transformFlags&=-67108865,i.jsDoc=void 0,i}function jt(e,n,r,i,a){return e.modifiers!==n||e.isTypeOnly!==r||e.name!==i||e.moduleReference!==a?t(Vt(n,r,i,a),e):e}function Ht(e,n,t,r){const i=b(269);return i.modifiers=Ei(e),i.importClause=n,i.moduleSpecifier=t,i.assertClause=r,i.transformFlags|=xA(i.importClause)|xA(i.moduleSpecifier),i.transformFlags&=-67108865,i.jsDoc=void 0,i}function Kt(e,n,r,i,a){return e.modifiers!==n||e.importClause!==r||e.moduleSpecifier!==i||e.assertClause!==a?t(Ht(n,r,i,a),e):e}function Wt(e,n,t){const r=E(270);return r.isTypeOnly=e,r.name=n,r.namedBindings=t,r.transformFlags|=xA(r.name)|xA(r.namedBindings),e&&(r.transformFlags|=1),r.transformFlags&=-67108865,r}function qt(e,n){const t=b(296);return t.elements=v(e),t.multiLine=n,t.transformFlags|=4,t}function zt(e,n){const t=b(297);return t.name=e,t.value=n,t.transformFlags|=4,t}function Jt(e,n){const t=b(298);return t.assertClause=e,t.multiLine=n,t}function Xt(e){const n=E(271);return n.name=e,n.transformFlags|=xA(n.name),n.transformFlags&=-67108865,n}function Yt(e){const n=E(277);return n.name=e,n.transformFlags|=4|xA(n.name),n.transformFlags&=-67108865,n}function $t(e){const n=b(272);return n.elements=v(e),n.transformFlags|=SA(n.elements),n.transformFlags&=-67108865,n}function Qt(e,n,t){const r=E(273);return r.isTypeOnly=e,r.propertyName=n,r.name=t,r.transformFlags|=xA(r.propertyName)|xA(r.name),r.transformFlags&=-67108865,r}function Zt(e,n,t){const i=E(274);return i.modifiers=Ei(e),i.isExportEquals=n,i.expression=n?r().parenthesizeRightSideOfBinary(63,void 0,t):r().parenthesizeExpressionOfExportDefault(t),i.transformFlags|=SA(i.modifiers)|xA(i.expression),i.transformFlags&=-67108865,i.jsDoc=void 0,i}function er(e,n,r){return e.modifiers!==n||e.expression!==r?t(Zt(n,e.isExportEquals,r),e):e}function nr(e,n,t,r,i){const a=E(275);return a.modifiers=Ei(e),a.isTypeOnly=n,a.exportClause=t,a.moduleSpecifier=r,a.assertClause=i,a.transformFlags|=SA(a.modifiers)|xA(a.exportClause)|xA(a.moduleSpecifier),a.transformFlags&=-67108865,a.jsDoc=void 0,a}function tr(e,n,r,i,a,o){return e.modifiers!==n||e.isTypeOnly!==r||e.exportClause!==i||e.moduleSpecifier!==a||e.assertClause!==o?((s=nr(n,r,i,a,o))!==(c=e)&&s.modifiers===c.modifiers&&(s.modifiers=c.modifiers),t(s,c)):e;var s,c}function rr(e){const n=b(276);return n.elements=v(e),n.transformFlags|=SA(n.elements),n.transformFlags&=-67108865,n}function ir(e,n,t){const r=b(278);return r.isTypeOnly=e,r.propertyName=Ti(n),r.name=Ti(t),r.transformFlags|=xA(r.propertyName)|xA(r.name),r.transformFlags&=-67108865,r.jsDoc=void 0,r}function ar(e){const n=b(280);return n.expression=e,n.transformFlags|=xA(n.expression),n.transformFlags&=-67108865,n}function or(e,n,t=!1){const i=sr(e,t?n&&r().parenthesizeNonArrayTypeOfPostfixType(n):n);return i.postfix=t,i}function sr(e,n){const t=b(e);return t.type=n,t}function cr(e,n){const t=E(320);return t.parameters=Ei(e),t.type=n,t.transformFlags=SA(t.parameters)|(t.type?1:0),t.jsDoc=void 0,t.locals=void 0,t.nextContainer=void 0,t.typeArguments=void 0,t}function lr(e,n=!1){const t=E(325);return t.jsDocPropertyTags=Ei(e),t.isArrayType=n,t}function dr(e){const n=b(312);return n.type=e,n}function ur(e,n,t){const r=E(326);return r.typeParameters=Ei(e),r.parameters=v(n),r.type=t,r.jsDoc=void 0,r.locals=void 0,r.nextContainer=void 0,r}function _r(e){const n=bA(e.kind);return e.tagName.escapedText===Oc(n)?e.tagName:R(n)}function pr(e,n,t){const r=b(e);return r.tagName=n,r.comment=t,r}function fr(e,n,t){const r=E(e);return r.tagName=n,r.comment=t,r}function mr(e,n,t,r){const i=pr(348,null!=e?e:R("template"),r);return i.constraint=n,i.typeParameters=v(t),i}function hr(e,n,t,r){const i=fr(349,null!=e?e:R("typedef"),r);return i.typeExpression=n,i.fullName=t,i.name=sN(t),i.locals=void 0,i.nextContainer=void 0,i}function gr(e,n,t,r,i,a){const o=fr(344,null!=e?e:R("param"),a);return o.typeExpression=r,o.name=n,o.isNameFirst=!!i,o.isBracketed=t,o}function yr(e,n,t,r,i,a){const o=fr(351,null!=e?e:R("prop"),a);return o.typeExpression=r,o.name=n,o.isNameFirst=!!i,o.isBracketed=t,o}function vr(e,n,t,r){const i=fr(341,null!=e?e:R("callback"),r);return i.typeExpression=n,i.fullName=t,i.name=sN(t),i.locals=void 0,i.nextContainer=void 0,i}function br(e,n,t){const r=pr(342,null!=e?e:R("overload"),t);return r.typeExpression=n,r}function Er(e,n,t){const r=pr(331,null!=e?e:R("augments"),t);return r.class=n,r}function Tr(e,n,t){const r=pr(332,null!=e?e:R("implements"),t);return r.class=n,r}function xr(e,n,t){const r=pr(350,null!=e?e:R("see"),t);return r.name=n,r}function Sr(e){const n=b(313);return n.name=e,n}function Ar(e,n){const t=b(314);return t.left=e,t.right=n,t.transformFlags|=xA(t.left)|xA(t.right),t}function Lr(e,n){const t=b(327);return t.name=e,t.text=n,t}function Cr(e,n){const t=b(328);return t.name=e,t.text=n,t}function kr(e,n){const t=b(329);return t.name=e,t.text=n,t}function Ir(e,n,t){return pr(e,null!=n?n:R(bA(e)),t)}function wr(e,n,t,r){const i=pr(e,null!=n?n:R(bA(e)),r);return i.typeExpression=t,i}function Rr(e,n){return pr(330,e,n)}function Nr(e,n,t){const r=fr(343,null!=e?e:R(bA(343)),t);return r.typeExpression=n,r.locals=void 0,r.nextContainer=void 0,r}function Dr(e){const n=b(324);return n.text=e,n}function Or(e,n){const t=b(323);return t.comment=e,t.tags=Ei(n),t}function Mr(e,n,t){const r=b(281);return r.openingElement=e,r.children=v(n),r.closingElement=t,r.transformFlags|=xA(r.openingElement)|SA(r.children)|xA(r.closingElement)|2,r}function Pr(e,n,t){const r=b(282);return r.tagName=e,r.typeArguments=Ei(n),r.attributes=t,r.transformFlags|=xA(r.tagName)|SA(r.typeArguments)|xA(r.attributes)|2,r.typeArguments&&(r.transformFlags|=1),r}function Fr(e,n,t){const r=b(283);return r.tagName=e,r.typeArguments=Ei(n),r.attributes=t,r.transformFlags|=xA(r.tagName)|SA(r.typeArguments)|xA(r.attributes)|2,n&&(r.transformFlags|=1),r}function Gr(e){const n=b(284);return n.tagName=e,n.transformFlags|=2|xA(n.tagName),n}function Br(e,n,t){const r=b(285);return r.openingFragment=e,r.children=v(n),r.closingFragment=t,r.transformFlags|=xA(r.openingFragment)|SA(r.children)|xA(r.closingFragment)|2,r}function Ur(e,n){const t=b(11);return t.text=e,t.containsOnlyTriviaWhiteSpaces=!!n,t.transformFlags|=2,t}function Vr(e,n){const t=E(288);return t.name=e,t.initializer=n,t.transformFlags|=xA(t.name)|xA(t.initializer)|2,t}function jr(e){const n=E(289);return n.properties=v(e),n.transformFlags|=2|SA(n.properties),n}function Hr(e){const n=b(290);return n.expression=e,n.transformFlags|=2|xA(n.expression),n}function Kr(e,n){const t=b(291);return t.dotDotDotToken=e,t.expression=n,t.transformFlags|=xA(t.dotDotDotToken)|xA(t.expression)|2,t}function Wr(e,n){const t=b(292);return t.expression=r().parenthesizeExpressionForDisallowedComma(e),t.statements=v(n),t.transformFlags|=xA(t.expression)|SA(t.statements),t.jsDoc=void 0,t}function qr(e){const n=b(293);return n.statements=v(e),n.transformFlags=SA(n.statements),n}function zr(e,n){const t=b(294);switch(t.token=e,t.types=v(n),t.transformFlags|=SA(t.types),e){case 94:t.transformFlags|=1024;break;case 117:t.transformFlags|=1;break;default:return Nt.assertNever(e)}return t}function Jr(e,n){const t=b(295);return t.variableDeclaration=function(e){return"string"==typeof e||e&&!kI(e)?xt(e,void 0,void 0,void 0):e}(e),t.block=n,t.transformFlags|=xA(t.variableDeclaration)|xA(t.block)|(e?0:64),t.locals=void 0,t.nextContainer=void 0,t}function Xr(e,n){const t=E(299);return t.name=Ti(e),t.initializer=r().parenthesizeExpressionForDisallowedComma(n),t.transformFlags|=EA(t.name)|xA(t.initializer),t.modifiers=void 0,t.questionToken=void 0,t.exclamationToken=void 0,t.jsDoc=void 0,t}function Yr(e,n){const t=E(300);return t.name=Ti(e),t.objectAssignmentInitializer=n&&r().parenthesizeExpressionForDisallowedComma(n),t.transformFlags|=TA(t.name)|xA(t.objectAssignmentInitializer)|1024,t.equalsToken=void 0,t.modifiers=void 0,t.questionToken=void 0,t.exclamationToken=void 0,t.jsDoc=void 0,t}function $r(e){const n=E(301);return n.expression=r().parenthesizeExpressionForDisallowedComma(e),n.transformFlags|=65664|xA(n.expression),n.jsDoc=void 0,n}function Qr(e,n){const t=E(302);return t.name=Ti(e),t.initializer=n&&r().parenthesizeExpressionForDisallowedComma(n),t.transformFlags|=xA(t.name)|xA(t.initializer)|1,t.jsDoc=void 0,t}function Zr(e){const n=Object.create(e.redirectTarget);return Object.defineProperties(n,{id:{get(){return this.redirectInfo.redirectTarget.id},set(e){this.redirectInfo.redirectTarget.id=e}},symbol:{get(){return this.redirectInfo.redirectTarget.symbol},set(e){this.redirectInfo.redirectTarget.symbol=e}}}),n.redirectInfo=e,n}function ei(e){const t=e.redirectInfo?function(e){const n=Zr(e.redirectInfo);return n.flags|=-9&e.flags,n.fileName=e.fileName,n.path=e.path,n.resolvedPath=e.resolvedPath,n.originalFileName=e.originalFileName,n.packageJsonLocations=e.packageJsonLocations,n.packageJsonScope=e.packageJsonScope,n.emitNode=void 0,n}(e):function(e){const t=n.createBaseSourceFileNode(308);t.flags|=-9&e.flags;for(const n in e)!qe(t,n)&&qe(e,n)&&("emitNode"!==n?t[n]=e[n]:t.emitNode=void 0);return t}(e);return DA(t,e),t}function ni(e,n=i){const t=b(309);return t.prepends=n,t.sourceFiles=e,t.syntheticFileReferences=void 0,t.syntheticTypeReferences=void 0,t.syntheticLibReferences=void 0,t.hasNoDefaultLib=void 0,t}function ti(e,n){const t=b(e);return t.data=n,t}function ri(e,n){const t=b(356);return t.expression=e,t.original=n,t.transformFlags|=1|xA(t.expression),MN(t,n),t}function ii(e,n){return e.expression!==n?t(ri(n,e.original),e):e}function ai(e){if(zy(e)&&!Nc(e)&&!e.original&&!e.emitNode&&!e.id){if(oI(e))return e.elements;if(qk(e)&&hC(e.operatorToken))return[e.left,e.right]}return e}function oi(e){const n=b(357);return n.elements=v(Q(e,ai)),n.transformFlags|=SA(n.elements),n}function si(e,n){const t=b(360);return t.expression=e,t.thisArg=n,t.transformFlags|=xA(t.expression)|xA(t.thisArg),t}function ci(e){if(void 0===e)return e;if(Aw(e))return ei(e);if(fd(e))return function(e){const n=I(e.escapedText);return n.flags|=-9&e.flags,n.transformFlags=e.transformFlags,DA(n,e),gL(n,{...e.emitNode.autoGenerate}),n}(e);if(AC(e))return function(e){const n=I(e.escapedText);n.flags|=-9&e.flags,n.jsDoc=e.jsDoc,n.flowNode=e.flowNode,n.symbol=e.symbol,n.transformFlags=e.transformFlags,DA(n,e);const t=hL(e);return t&&mL(n,t),n}(e);if(md(e))return function(e){const n=M(e.escapedText);return n.flags|=-9&e.flags,n.transformFlags=e.transformFlags,DA(n,e),gL(n,{...e.emitNode.autoGenerate}),n}(e);if(LC(e))return function(e){const n=M(e.escapedText);return n.flags|=-9&e.flags,n.transformFlags=e.transformFlags,DA(n,e),n}(e);const t=Ql(e.kind)?n.createBaseNode(e.kind):n.createBaseTokenNode(e.kind);t.flags|=-9&e.flags,t.transformFlags=e.transformFlags,DA(t,e);for(const n in e)!qe(t,n)&&qe(e,n)&&(t[n]=e[n]);return t}function li(){return Cn(x("0"))}function di(e,n,t){return Fl(e)?dn(nn(e,void 0,n),void 0,void 0,t):ln(en(e,n),void 0,t)}function ui(e,n,t){return di(R(e),n,t)}function _i(e,n,t){return!!t&&(e.push(Xr(n,t)),!0)}function pi(e,n){const t=Yg(e);switch(t.kind){case 79:return n;case 108:case 8:case 9:case 10:return!1;case 206:return 0!==t.elements.length;case 207:return t.properties.length>0;default:return!0}}function fi(e,n,t,r=0){const i=Wc(e);if(i&&AC(i)&&!fd(i)){const e=xS(MN(ci(i),i),i.parent);return r|=of(i),t||(r|=96),n||(r|=3072),r&&GA(e,r),e}return O(e)}function mi(e,n,t){return fi(e,n,t,16384)}function hi(e,n,t,r){const i=en(e,zy(n)?n:ci(n));MN(i,n);let a=0;return r||(a|=96),t||(a|=3072),a&&GA(i,a),i}function gi(){return qR(ot(C("use strict")))}function yi(e,n,t=0,r){Nt.assert(0===n.length,"Prologue directives should be at the first statement in the target statements array");let i=!1;const a=e.length;for(;t<a;){const r=e[t];if(!_m(r))break;cC((o=r).expression)&&"use strict"===o.expression.text&&(i=!0),n.push(r),t++}var o;return r&&!i&&n.push(gi()),t}function vi(e,n,t,r,i=An){const a=e.length;for(;void 0!==t&&t<a;){const a=e[t];if(!(2097152&of(a)&&i(a)))break;Te(n,r?tB(a,r,Mu):a),t++}return t}function bi(e,n,t){let r=t;for(;r<e.length&&n(e[r]);)r++;return r}function Ei(e){return e?v(e):void 0}function Ti(e){return"string"==typeof e?R(e):e}function xi(e){return"string"==typeof e?C(e):"number"==typeof e?x(e):"boolean"==typeof e?e?U():V():e}function Si(e){return e&&r().parenthesizeExpressionForDisallowedComma(e)}function Ai(e){return e&&ew(e)?MN(DA(at(),e),e):e}}function yA(e,n){return e!==n&&MN(e,n),e}function vA(e,n){return e!==n&&(DA(e,n),MN(e,n)),e}function bA(e){switch(e){case 347:return"type";case 345:return"returns";case 346:return"this";case 343:return"enum";case 333:return"author";case 335:return"class";case 336:return"public";case 337:return"private";case 338:return"protected";case 339:return"readonly";case 340:return"override";case 348:return"template";case 349:return"typedef";case 344:return"param";case 351:return"prop";case 341:return"callback";case 342:return"overload";case 331:return"augments";case 332:return"implements";default:return Nt.fail(`Unsupported kind: ${Nt.formatSyntaxKind(e)}`)}}function EA(e){return e&&AC(e)?TA(e):xA(e)}function TA(e){return-67108865&xA(e)}function xA(e){if(!e)return 0;const n=e.transformFlags&~LA(e.kind);return Hc(e)&&xd(e.name)?n|134234112&e.name.transformFlags:n}function SA(e){return e?e.transformFlags:0}function AA(e){let n=0;for(const t of e)n|=xA(t);e.transformFlags=n}function LA(e){if(e>=179&&e<=202)return-2;switch(e){case 210:case 211:case 206:case 203:case 204:return-2147450880;case 264:return-1941676032;case 166:case 213:case 235:case 231:case 356:case 214:case 106:case 208:case 209:default:return-2147483648;case 216:return-2072174592;case 215:case 259:return-1937940480;case 258:return-2146893824;case 260:case 228:return-2147344384;case 173:return-1937948672;case 169:return-2013249536;case 171:case 174:case 175:return-2005057536;case 131:case 148:case 160:case 144:case 152:case 149:case 134:case 153:case 114:case 165:case 168:case 170:case 176:case 177:case 178:case 261:case 262:return-2;case 207:return-2147278848;case 295:return-2147418112}}function CA(e){return e.flags|=8,e}function kA(e,n,t){let r,a,o,s,c,l,d,u,_,p;vn(e)?(o="",s=e,c=e.length,l=n,d=t):(Nt.assert("js"===n||"dts"===n),o=("js"===n?e.javascriptPath:e.declarationPath)||"",l="js"===n?e.javascriptMapPath:e.declarationMapPath,u=()=>"js"===n?e.javascriptText:e.declarationText,_=()=>"js"===n?e.javascriptMapText:e.declarationMapText,c=()=>u().length,e.buildInfo&&e.buildInfo.bundle&&(Nt.assert(void 0===t||"boolean"==typeof t),r=t,a="js"===n?e.buildInfo.bundle.js:e.buildInfo.bundle.dts,p=e.oldFileOfCurrentEmit));const f=p?function(e){let n,t;for(const r of e.sections)switch(r.kind){case"internal":case"text":n=Te(n,MN(pA.createUnparsedTextLike(r.data,"internal"===r.kind),r));break;case"no-default-lib":case"reference":case"type":case"type-import":case"type-require":case"lib":t=Te(t,MN(pA.createUnparsedSyntheticReference(r),r));break;case"prologue":case"emitHelpers":case"prepend":break;default:Nt.assertNever(r)}const r=pA.createUnparsedSource(i,t,null!=n?n:i);return SS(t,r),SS(n,r),r.helpers=W(e.sources&&e.sources.helpers,(e=>rC().get(e))),r}(Nt.checkDefined(a)):function(e,n,t){let r,a,o,s,c,l,d,u;for(const t of e?e.sections:i)switch(t.kind){case"prologue":r=Te(r,MN(pA.createUnparsedPrologue(t.data),t));break;case"emitHelpers":a=Te(a,rC().get(t.data));break;case"no-default-lib":u=!0;break;case"reference":o=Te(o,{pos:-1,end:-1,fileName:t.data});break;case"type":s=Te(s,{pos:-1,end:-1,fileName:t.data});break;case"type-import":s=Te(s,{pos:-1,end:-1,fileName:t.data,resolutionMode:99});break;case"type-require":s=Te(s,{pos:-1,end:-1,fileName:t.data,resolutionMode:1});break;case"lib":c=Te(c,{pos:-1,end:-1,fileName:t.data});break;case"prepend":let e;for(const r of t.texts)n&&"internal"===r.kind||(e=Te(e,MN(pA.createUnparsedTextLike(r.data,"internal"===r.kind),r)));l=Ae(l,e),d=Te(d,pA.createUnparsedPrepend(t.data,null!=e?e:i));break;case"internal":if(n){d||(d=[]);break}case"text":d=Te(d,MN(pA.createUnparsedTextLike(t.data,"internal"===t.kind),t));break;default:Nt.assertNever(t)}if(!d){const e=pA.createUnparsedTextLike(void 0,!1);ES(e,0,"function"==typeof t?t():t),d=[e]}const _=KN.createUnparsedSource(null!=r?r:i,void 0,d);return SS(r,_),SS(d,_),SS(l,_),_.hasNoDefaultLib=u,_.helpers=a,_.referencedFiles=o||i,_.typeReferenceDirectives=s,_.libReferenceDirectives=c||i,_}(a,r,c);return f.fileName=o,f.sourceMapPath=l,f.oldFileOfCurrentEmit=p,u&&_?(Object.defineProperty(f,"text",{get:u}),Object.defineProperty(f,"sourceMapText",{get:_})):(Nt.assert(!p),f.text=null!=s?s:"",f.sourceMapText=d),f}function IA(e,n,t,r,i,a){return vn(e)?RA(void 0,e,t,r,void 0,n,i,a):wA(e,n,t,r,i,a)}function wA(e,n,t,r,i,a,o,s){const c=KN.createInputFiles();c.javascriptPath=n,c.javascriptMapPath=t,c.declarationPath=r,c.declarationMapPath=i,c.buildInfoPath=a;const l=new Map,d=n=>{if(void 0===n)return;let t=l.get(n);return void 0===t&&(t=e(n),l.set(n,void 0!==t&&t)),!1!==t?t:void 0},u=e=>{const n=d(e);return void 0!==n?n:`/* Input file ${e} was missing */\r\n`};let _;return Object.defineProperties(c,{javascriptText:{get:()=>u(n)},javascriptMapText:{get:()=>d(t)},declarationText:{get:()=>u(Nt.checkDefined(r))},declarationMapText:{get:()=>d(i)},buildInfo:{get:()=>{var e,n;if(void 0===_&&a)if(null==o?void 0:o.getBuildInfo)_=null!=(e=o.getBuildInfo(a,s.configFilePath))&&e;else{const e=d(a);_=void 0!==e&&null!=(n=hj(a,e))&&n}return _||void 0}}}),c}function RA(e,n,t,r,i,a,o,s,c,l,d){const u=KN.createInputFiles();return u.javascriptPath=e,u.javascriptText=n,u.javascriptMapPath=t,u.javascriptMapText=r,u.declarationPath=i,u.declarationText=a,u.declarationMapPath=o,u.declarationMapText=s,u.buildInfoPath=c,u.buildInfo=l,u.oldFileOfCurrentEmit=d,u}function NA(e,n,t){return new(fA||(fA=D_.getSourceMapSourceConstructor()))(e,n,t)}function DA(e,n){if(e.original=n,n){const t=n.emitNode;t&&(e.emitNode=function(e,n){const{flags:t,internalFlags:r,leadingComments:i,trailingComments:a,commentRange:o,sourceMapRange:s,tokenSourceMapRanges:c,constantValue:l,helpers:d,startsOnNewLine:u,snippetElement:_}=e;if(n||(n={}),i&&(n.leadingComments=Ae(i.slice(),n.leadingComments)),a&&(n.trailingComments=Ae(a.slice(),n.trailingComments)),t&&(n.flags=t),r&&(n.internalFlags=-9&r),o&&(n.commentRange=o),s&&(n.sourceMapRange=s),c&&(n.tokenSourceMapRanges=function(e,n){n||(n=[]);for(const t in e)n[t]=e[t];return n}(c,n.tokenSourceMapRanges)),void 0!==l&&(n.constantValue=l),d)for(const e of d)n.helpers=Ce(n.helpers,e);return void 0!==u&&(n.startsOnNewLine=u),void 0!==_&&(n.snippetElement=_),n}(t,e.emitNode))}return e}var OA=E({"src/compiler/factory/nodeFactory.ts"(){Qq(),sA=0,cA=(e=>(e[e.None=0]="None",e[e.NoParenthesizerRules=1]="NoParenthesizerRules",e[e.NoNodeConverters=2]="NoNodeConverters",e[e.NoIndentationOnFreshPropertyAccess=4]="NoIndentationOnFreshPropertyAccess",e[e.NoOriginalNode=8]="NoOriginalNode",e))(cA||{}),lA=[],uA={},_A=eA(),pA=gA(4,{createBaseSourceFileNode:e=>CA(_A.createBaseSourceFileNode(e)),createBaseIdentifierNode:e=>CA(_A.createBaseIdentifierNode(e)),createBasePrivateIdentifierNode:e=>CA(_A.createBasePrivateIdentifierNode(e)),createBaseTokenNode:e=>CA(_A.createBaseTokenNode(e)),createBaseNode:e=>CA(_A.createBaseNode(e))})}});function MA(e){var n;if(e.emitNode)Nt.assert(!(8&e.emitNode.internalFlags),"Invalid attempt to mutate an immutable node.");else{if(Nc(e)){if(308===e.kind)return e.emitNode={annotatedNodes:[e]};MA(null!=(n=Ip(Dc(Ip(e))))?n:Nt.fail("Could not determine parsed source file.")).annotatedNodes.push(e)}e.emitNode={}}return e.emitNode}function PA(e){var n,t;const r=null==(t=null==(n=Ip(Dc(e)))?void 0:n.emitNode)?void 0:t.annotatedNodes;if(r)for(const e of r)e.emitNode=void 0}function FA(e){const n=MA(e);return n.flags|=3072,n.leadingComments=void 0,n.trailingComments=void 0,e}function GA(e,n){return MA(e).flags=n,e}function BA(e,n){const t=MA(e);return t.flags=t.flags|n,e}function UA(e,n){return MA(e).internalFlags=n,e}function VA(e,n){const t=MA(e);return t.internalFlags=t.internalFlags|n,e}function jA(e){var n,t;return null!=(t=null==(n=e.emitNode)?void 0:n.sourceMapRange)?t:e}function HA(e,n){return MA(e).sourceMapRange=n,e}function KA(e,n){var t,r;return null==(r=null==(t=e.emitNode)?void 0:t.tokenSourceMapRanges)?void 0:r[n]}function WA(e,n,t){var r;const i=MA(e);return(null!=(r=i.tokenSourceMapRanges)?r:i.tokenSourceMapRanges=[])[n]=t,e}function qA(e){var n;return null==(n=e.emitNode)?void 0:n.startsOnNewLine}function zA(e,n){return MA(e).startsOnNewLine=n,e}function JA(e){var n,t;return null!=(t=null==(n=e.emitNode)?void 0:n.commentRange)?t:e}function XA(e,n){return MA(e).commentRange=n,e}function YA(e){var n;return null==(n=e.emitNode)?void 0:n.leadingComments}function $A(e,n){return MA(e).leadingComments=n,e}function QA(e,n,t,r){return $A(e,Te(YA(e),{kind:n,pos:-1,end:-1,hasTrailingNewLine:r,text:t}))}function ZA(e){var n;return null==(n=e.emitNode)?void 0:n.trailingComments}function eL(e,n){return MA(e).trailingComments=n,e}function nL(e,n,t,r){return eL(e,Te(ZA(e),{kind:n,pos:-1,end:-1,hasTrailingNewLine:r,text:t}))}function tL(e,n){$A(e,YA(n)),eL(e,ZA(n));const t=MA(n);return t.leadingComments=void 0,t.trailingComments=void 0,e}function rL(e){var n;return null==(n=e.emitNode)?void 0:n.constantValue}function iL(e,n){return MA(e).constantValue=n,e}function aL(e,n){const t=MA(e);return t.helpers=Te(t.helpers,n),e}function oL(e,n){if(ce(n)){const t=MA(e);for(const e of n)t.helpers=Ce(t.helpers,e)}return e}function sL(e,n){var t;const r=null==(t=e.emitNode)?void 0:t.helpers;return!!r&&at(r,n)}function cL(e){var n;return null==(n=e.emitNode)?void 0:n.helpers}function lL(e,n,t){const r=e.emitNode,i=r&&r.helpers;if(!ce(i))return;const a=MA(n);let o=0;for(let e=0;e<i.length;e++){const n=i[e];t(n)?(o++,a.helpers=Ce(a.helpers,n)):o>0&&(i[e-o]=n)}o>0&&(i.length-=o)}function dL(e){var n;return null==(n=e.emitNode)?void 0:n.snippetElement}function uL(e,n){return MA(e).snippetElement=n,e}function _L(e){return MA(e).internalFlags|=4,e}function pL(e,n){return MA(e).typeNode=n,e}function fL(e){var n;return null==(n=e.emitNode)?void 0:n.typeNode}function mL(e,n){return MA(e).identifierTypeArguments=n,e}function hL(e){var n;return null==(n=e.emitNode)?void 0:n.identifierTypeArguments}function gL(e,n){return MA(e).autoGenerate=n,e}function yL(e){var n;return null==(n=e.emitNode)?void 0:n.autoGenerate}function vL(e,n){return MA(e).generatedImportReference=n,e}function bL(e){var n;return null==(n=e.emitNode)?void 0:n.generatedImportReference}var EL,TL,xL,SL,AL,LL,CL,kL,IL,wL,RL,NL,DL,OL,ML,PL,FL,GL,BL,UL,VL,jL,HL,KL,WL,qL,zL,JL,XL,YL,$L,QL,ZL=E({"src/compiler/factory/emitNode.ts"(){Qq()}});function eC(e){const n=e.factory,t=Rn((()=>UA(n.createTrue(),8))),r=Rn((()=>UA(n.createFalse(),8)));return{getUnscopedHelperName:i,createDecorateHelper:function(t,r,a,o){e.requestEmitHelper(TL);const s=[];return s.push(n.createArrayLiteralExpression(t,!0)),s.push(r),a&&(s.push(a),o&&s.push(o)),n.createCallExpression(i("__decorate"),void 0,s)},createMetadataHelper:function(t,r){return e.requestEmitHelper(xL),n.createCallExpression(i("__metadata"),void 0,[n.createStringLiteral(t),r])},createParamHelper:function(t,r,a){return e.requestEmitHelper(SL),MN(n.createCallExpression(i("__param"),void 0,[n.createNumericLiteral(r+""),t]),a)},createESDecorateHelper:function(t,r,a,s,c,l){return e.requestEmitHelper(AL),n.createCallExpression(i("__esDecorate"),void 0,[null!=t?t:n.createNull(),null!=r?r:n.createNull(),a,o(s),c,l])},createRunInitializersHelper:function(t,r,a){return e.requestEmitHelper(LL),n.createCallExpression(i("__runInitializers"),void 0,a?[t,r,a]:[t,r])},createAssignHelper:function(t){return BT(e.getCompilerOptions())>=2?n.createCallExpression(n.createPropertyAccessExpression(n.createIdentifier("Object"),"assign"),void 0,t):(e.requestEmitHelper(CL),n.createCallExpression(i("__assign"),void 0,t))},createAwaitHelper:function(t){return e.requestEmitHelper(kL),n.createCallExpression(i("__await"),void 0,[t])},createAsyncGeneratorHelper:function(t,r){return e.requestEmitHelper(kL),e.requestEmitHelper(IL),(t.emitNode||(t.emitNode={})).flags|=1572864,n.createCallExpression(i("__asyncGenerator"),void 0,[r?n.createThis():n.createVoidZero(),n.createIdentifier("arguments"),t])},createAsyncDelegatorHelper:function(t){return e.requestEmitHelper(kL),e.requestEmitHelper(wL),n.createCallExpression(i("__asyncDelegator"),void 0,[t])},createAsyncValuesHelper:function(t){return e.requestEmitHelper(RL),n.createCallExpression(i("__asyncValues"),void 0,[t])},createRestHelper:function(t,r,a,o){e.requestEmitHelper(NL);const s=[];let c=0;for(let e=0;e<r.length-1;e++){const t=rN(r[e]);if(t)if(VC(t)){Nt.assertIsDefined(a,"Encountered computed property name but 'computedTempVariables' argument was not provided.");const e=a[c];c++,s.push(n.createConditionalExpression(n.createTypeCheck(e,"symbol"),void 0,e,void 0,n.createAdd(e,n.createStringLiteral(""))))}else s.push(n.createStringLiteralFromNode(t))}return n.createCallExpression(i("__rest"),void 0,[t,MN(n.createArrayLiteralExpression(s),o)])},createAwaiterHelper:function(t,r,a,o){e.requestEmitHelper(DL);const s=n.createFunctionExpression(void 0,n.createToken(41),void 0,void 0,[],void 0,o);return(s.emitNode||(s.emitNode={})).flags|=1572864,n.createCallExpression(i("__awaiter"),void 0,[t?n.createThis():n.createVoidZero(),r?n.createIdentifier("arguments"):n.createVoidZero(),a?kR(n,a):n.createVoidZero(),s])},createExtendsHelper:function(t){return e.requestEmitHelper(OL),n.createCallExpression(i("__extends"),void 0,[t,n.createUniqueName("_super",48)])},createTemplateObjectHelper:function(t,r){return e.requestEmitHelper(ML),n.createCallExpression(i("__makeTemplateObject"),void 0,[t,r])},createSpreadArrayHelper:function(a,o,s){return e.requestEmitHelper(FL),n.createCallExpression(i("__spreadArray"),void 0,[a,o,s?t():r()])},createPropKeyHelper:function(t){return e.requestEmitHelper(GL),n.createCallExpression(i("__propKey"),void 0,[t])},createSetFunctionNameHelper:function(n,t,r){return e.requestEmitHelper(BL),e.factory.createCallExpression(i("__setFunctionName"),void 0,r?[n,t,e.factory.createStringLiteral(r)]:[n,t])},createValuesHelper:function(t){return e.requestEmitHelper(UL),n.createCallExpression(i("__values"),void 0,[t])},createReadHelper:function(t,r){return e.requestEmitHelper(PL),n.createCallExpression(i("__read"),void 0,void 0!==r?[t,n.createNumericLiteral(r+"")]:[t])},createGeneratorHelper:function(t){return e.requestEmitHelper(VL),n.createCallExpression(i("__generator"),void 0,[n.createThis(),t])},createCreateBindingHelper:function(t,r,a){return e.requestEmitHelper(jL),n.createCallExpression(i("__createBinding"),void 0,[n.createIdentifier("exports"),t,r,...a?[a]:[]])},createImportStarHelper:function(t){return e.requestEmitHelper(KL),n.createCallExpression(i("__importStar"),void 0,[t])},createImportStarCallbackHelper:function(){return e.requestEmitHelper(KL),i("__importStar")},createImportDefaultHelper:function(t){return e.requestEmitHelper(WL),n.createCallExpression(i("__importDefault"),void 0,[t])},createExportStarHelper:function(t,r=n.createIdentifier("exports")){return e.requestEmitHelper(qL),e.requestEmitHelper(jL),n.createCallExpression(i("__exportStar"),void 0,[t,r])},createClassPrivateFieldGetHelper:function(t,r,a,o){let s;return e.requestEmitHelper(zL),s=o?[t,r,n.createStringLiteral(a),o]:[t,r,n.createStringLiteral(a)],n.createCallExpression(i("__classPrivateFieldGet"),void 0,s)},createClassPrivateFieldSetHelper:function(t,r,a,o,s){let c;return e.requestEmitHelper(JL),c=s?[t,r,a,n.createStringLiteral(o),s]:[t,r,a,n.createStringLiteral(o)],n.createCallExpression(i("__classPrivateFieldSet"),void 0,c)},createClassPrivateFieldInHelper:function(t,r){return e.requestEmitHelper(XL),n.createCallExpression(i("__classPrivateFieldIn"),void 0,[t,r])}};function i(e){return GA(n.createIdentifier(e),8196)}function a(e,t){const r=[];return r.push(function(e){const t=e.computed?e.name:AC(e.name)?n.createStringLiteralFromNode(e.name):e.name;return n.createPropertyAssignment("has",n.createArrowFunction(void 0,void 0,[n.createParameterDeclaration(void 0,void 0,n.createIdentifier("obj"))],void 0,void 0,n.createBinaryExpression(t,101,n.createIdentifier("obj"))))}(e)),t.get&&r.push(function(e){const t=e.computed?n.createElementAccessExpression(n.createIdentifier("obj"),e.name):n.createPropertyAccessExpression(n.createIdentifier("obj"),e.name);return n.createPropertyAssignment("get",n.createArrowFunction(void 0,void 0,[n.createParameterDeclaration(void 0,void 0,n.createIdentifier("obj"))],void 0,void 0,t))}(e)),t.set&&r.push(function(e){const t=e.computed?n.createElementAccessExpression(n.createIdentifier("obj"),e.name):n.createPropertyAccessExpression(n.createIdentifier("obj"),e.name);return n.createPropertyAssignment("set",n.createArrowFunction(void 0,void 0,[n.createParameterDeclaration(void 0,void 0,n.createIdentifier("obj")),n.createParameterDeclaration(void 0,void 0,n.createIdentifier("value"))],void 0,void 0,n.createBlock([n.createExpressionStatement(n.createAssignment(t,n.createIdentifier("value")))])))}(e)),n.createObjectLiteralExpression(r)}function o(e){return"class"===e.kind?function(e){return n.createObjectLiteralExpression([n.createPropertyAssignment(n.createIdentifier("kind"),n.createStringLiteral("class")),n.createPropertyAssignment(n.createIdentifier("name"),e.name)])}(e):function(e){return n.createObjectLiteralExpression([n.createPropertyAssignment(n.createIdentifier("kind"),n.createStringLiteral(e.kind)),n.createPropertyAssignment(n.createIdentifier("name"),e.name.computed?e.name.name:n.createStringLiteralFromNode(e.name.name)),n.createPropertyAssignment(n.createIdentifier("static"),e.static?n.createTrue():n.createFalse()),n.createPropertyAssignment(n.createIdentifier("private"),e.private?n.createTrue():n.createFalse()),n.createPropertyAssignment(n.createIdentifier("access"),a(e.name,e.access))])}(e)}}function nC(e,n){return e===n||e.priority===n.priority?0:void 0===e.priority?1:void 0===n.priority?-1:Un(e.priority,n.priority)}function tC(e,...n){return t=>{let r="";for(let i=0;i<n.length;i++)r+=e[i],r+=t(n[i]);return r+=e[e.length-1],r}}function rC(){return YL||(YL=nn([TL,xL,SL,AL,LL,CL,kL,IL,wL,RL,NL,DL,OL,ML,FL,UL,PL,GL,BL,VL,KL,WL,qL,zL,JL,XL,jL,HL],(e=>e.name)))}function iC(e,n){return Dk(e)&&AC(e.expression)&&0!=(8192&of(e.expression))&&e.expression.escapedText===n}var aC=E({"src/compiler/factory/emitHelpers.ts"(){Qq(),EL=(e=>(e.Field="f",e.Method="m",e.Accessor="a",e))(EL||{}),TL={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 };'},xL={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 };'},SL={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 };"},AL={name:"typescript:esDecorate",importName:"__esDecorate",scoped:!1,priority:2,text:'\n var __esDecorate = (this && this.__esDecorate) || function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }\n var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";\n var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === "accessor") {\n if (result === void 0) continue;\n if (result === null || typeof result !== "object") throw new TypeError("Object expected");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.push(_);\n }\n else if (_ = accept(result)) {\n if (kind === "field") initializers.push(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n };'},LL={name:"typescript:runInitializers",importName:"__runInitializers",scoped:!1,priority:2,text:"\n var __runInitializers = (this && this.__runInitializers) || function (thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n };"},CL={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 };"},IL={name:"typescript:asyncGenerator",importName:"__asyncGenerator",scoped:!1,dependencies:[kL={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); }"}],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 };'},wL={name:"typescript:asyncDelegator",importName:"__asyncDelegator",scoped:!1,dependencies:[kL],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: false } : f ? f(v) : v; } : f; }\n };'},RL={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 };'},NL={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 };'},DL={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 };'},OL={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 })();'},ML={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 };'},PL={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 };'},FL={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 };"},GL={name:"typescript:propKey",importName:"__propKey",scoped:!1,text:'\n var __propKey = (this && this.__propKey) || function (x) {\n return typeof x === "symbol" ? x : "".concat(x);\n };'},BL={name:"typescript:setFunctionName",importName:"__setFunctionName",scoped:!1,text:'\n var __setFunctionName = (this && this.__setFunctionName) || function (f, name, prefix) {\n if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";\n return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });\n };'},UL={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 };'},VL={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 (g && (g = 0, op[0] && (_ = 0)), _) 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 };'},KL={name:"typescript:commonjsimportstar",importName:"__importStar",scoped:!1,dependencies:[jL={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 var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n }) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n }));'},HL={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 });'}],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 };'},WL={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 };'},qL={name:"typescript:export-star",importName:"__exportStar",scoped:!1,dependencies:[jL],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 };'},zL={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 };'},JL={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 };'},XL={name:"typescript:classPrivateFieldIn",importName:"__classPrivateFieldIn",scoped:!1,text:'\n var __classPrivateFieldIn = (this && this.__classPrivateFieldIn) || function(state, receiver) {\n if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use \'in\' operator on non-object");\n return typeof state === "function" ? receiver === state : state.has(receiver);\n };'},$L={name:"typescript:async-super",scoped:!0,text:tC`
const ${"_superIndex"} = name => super[name];`},QL={name:"typescript:advanced-async-super",scoped:!0,text:tC`
const ${"_superIndex"} = (function (geti, seti) {
const cache = Object.create(null);
return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });
})(name => super[name], (name, value) => super[name] = value);`}}});function oC(e){return 8===e.kind}function sC(e){return 9===e.kind}function cC(e){return 10===e.kind}function lC(e){return 11===e.kind}function dC(e){return 13===e.kind}function uC(e){return 14===e.kind}function _C(e){return 15===e.kind}function pC(e){return 16===e.kind}function fC(e){return 17===e.kind}function mC(e){return 25===e.kind}function hC(e){return 27===e.kind}function gC(e){return 39===e.kind}function yC(e){return 40===e.kind}function vC(e){return 41===e.kind}function bC(e){return 53===e.kind}function EC(e){return 57===e.kind}function TC(e){return 58===e.kind}function xC(e){return 28===e.kind}function SC(e){return 38===e.kind}function AC(e){return 79===e.kind}function LC(e){return 80===e.kind}function CC(e){return 93===e.kind}function kC(e){return 88===e.kind}function IC(e){return 132===e.kind}function wC(e){return 129===e.kind}function RC(e){return 133===e.kind}function NC(e){return 146===e.kind}function DC(e){return 124===e.kind}function OC(e){return 126===e.kind}function MC(e){return 161===e.kind}function PC(e){return 127===e.kind}function FC(e){return 106===e.kind}function GC(e){return 100===e.kind}function BC(e){return 82===e.kind}function UC(e){return 163===e.kind}function VC(e){return 164===e.kind}function jC(e){return 165===e.kind}function HC(e){return 166===e.kind}function KC(e){return 167===e.kind}function WC(e){return 168===e.kind}function qC(e){return 169===e.kind}function zC(e){return 170===e.kind}function JC(e){return 171===e.kind}function XC(e){return 172===e.kind}function YC(e){return 173===e.kind}function $C(e){return 174===e.kind}function QC(e){return 175===e.kind}function ZC(e){return 176===e.kind}function ek(e){return 177===e.kind}function nk(e){return 178===e.kind}function tk(e){return 179===e.kind}function rk(e){return 180===e.kind}function ik(e){return 181===e.kind}function ak(e){return 182===e.kind}function ok(e){return 183===e.kind}function sk(e){return 184===e.kind}function ck(e){return 185===e.kind}function lk(e){return 186===e.kind}function dk(e){return 199===e.kind}function uk(e){return 187===e.kind}function _k(e){return 188===e.kind}function pk(e){return 189===e.kind}function fk(e){return 190===e.kind}function mk(e){return 191===e.kind}function hk(e){return 192===e.kind}function gk(e){return 193===e.kind}function yk(e){return 194===e.kind}function vk(e){return 195===e.kind}function bk(e){return 196===e.kind}function Ek(e){return 197===e.kind}function Tk(e){return 198===e.kind}function xk(e){return 202===e.kind}function Sk(e){return 201===e.kind}function Ak(e){return 200===e.kind}function Lk(e){return 203===e.kind}function Ck(e){return 204===e.kind}function kk(e){return 205===e.kind}function Ik(e){return 206===e.kind}function wk(e){return 207===e.kind}function Rk(e){return 208===e.kind}function Nk(e){return 209===e.kind}function Dk(e){return 210===e.kind}function Ok(e){return 211===e.kind}function Mk(e){return 212===e.kind}function Pk(e){return 213===e.kind}function Fk(e){return 214===e.kind}function Gk(e){return 215===e.kind}function Bk(e){return 216===e.kind}function Uk(e){return 217===e.kind}function Vk(e){return 218===e.kind}function jk(e){return 219===e.kind}function Hk(e){return 220===e.kind}function Kk(e){return 221===e.kind}function Wk(e){return 222===e.kind}function qk(e){return 223===e.kind}function zk(e){return 224===e.kind}function Jk(e){return 225===e.kind}function Xk(e){return 226===e.kind}function Yk(e){return 227===e.kind}function $k(e){return 228===e.kind}function Qk(e){return 229===e.kind}function Zk(e){return 230===e.kind}function eI(e){return 231===e.kind}function nI(e){return 235===e.kind}function tI(e){return 232===e.kind}function rI(e){return 233===e.kind}function iI(e){return 234===e.kind}function aI(e){return 356===e.kind}function oI(e){return 357===e.kind}function sI(e){return 236===e.kind}function cI(e){return 237===e.kind}function lI(e){return 238===e.kind}function dI(e){return 240===e.kind}function uI(e){return 239===e.kind}function _I(e){return 241===e.kind}function pI(e){return 242===e.kind}function fI(e){return 243===e.kind}function mI(e){return 244===e.kind}function hI(e){return 245===e.kind}function gI(e){return 246===e.kind}function yI(e){return 247===e.kind}function vI(e){return 248===e.kind}function bI(e){return 249===e.kind}function EI(e){return 250===e.kind}function TI(e){return 251===e.kind}function xI(e){return 252===e.kind}function SI(e){return 253===e.kind}function AI(e){return 254===e.kind}function LI(e){return 255===e.kind}function CI(e){return 256===e.kind}function kI(e){return 257===e.kind}function II(e){return 258===e.kind}function wI(e){return 259===e.kind}function RI(e){return 260===e.kind}function NI(e){return 261===e.kind}function DI(e){return 262===e.kind}function OI(e){return 263===e.kind}function MI(e){return 264===e.kind}function PI(e){return 265===e.kind}function FI(e){return 266===e.kind}function GI(e){return 267===e.kind}function BI(e){return 268===e.kind}function UI(e){return 269===e.kind}function VI(e){return 270===e.kind}function jI(e){return 298===e.kind}function HI(e){return 296===e.kind}function KI(e){return 297===e.kind}function WI(e){return 271===e.kind}function qI(e){return 277===e.kind}function zI(e){return 272===e.kind}function JI(e){return 273===e.kind}function XI(e){return 274===e.kind}function YI(e){return 275===e.kind}function $I(e){return 276===e.kind}function QI(e){return 278===e.kind}function ZI(e){return 279===e.kind}function ew(e){return 355===e.kind}function nw(e){return 360===e.kind}function tw(e){return 358===e.kind}function rw(e){return 359===e.kind}function iw(e){return 280===e.kind}function aw(e){return 281===e.kind}function ow(e){return 282===e.kind}function sw(e){return 283===e.kind}function cw(e){return 284===e.kind}function lw(e){return 285===e.kind}function dw(e){return 286===e.kind}function uw(e){return 287===e.kind}function _w(e){return 288===e.kind}function pw(e){return 289===e.kind}function fw(e){return 290===e.kind}function mw(e){return 291===e.kind}function hw(e){return 292===e.kind}function gw(e){return 293===e.kind}function yw(e){return 294===e.kind}function vw(e){return 295===e.kind}function bw(e){return 299===e.kind}function Ew(e){return 300===e.kind}function Tw(e){return 301===e.kind}function xw(e){return 302===e.kind}function Sw(e){return 304===e.kind}function Aw(e){return 308===e.kind}function Lw(e){return 309===e.kind}function Cw(e){return 310===e.kind}function kw(e){return 312===e.kind}function Iw(e){return 313===e.kind}function ww(e){return 314===e.kind}function Rw(e){return 327===e.kind}function Nw(e){return 328===e.kind}function Dw(e){return 329===e.kind}function Ow(e){return 315===e.kind}function Mw(e){return 316===e.kind}function Pw(e){return 317===e.kind}function Fw(e){return 318===e.kind}function Gw(e){return 319===e.kind}function Bw(e){return 320===e.kind}function Uw(e){return 321===e.kind}function Vw(e){return 322===e.kind}function jw(e){return 323===e.kind}function Hw(e){return 325===e.kind}function Kw(e){return 326===e.kind}function Ww(e){return 331===e.kind}function qw(e){return 333===e.kind}function zw(e){return 335===e.kind}function Jw(e){return 341===e.kind}function Xw(e){return 336===e.kind}function Yw(e){return 337===e.kind}function $w(e){return 338===e.kind}function Qw(e){return 339===e.kind}function Zw(e){return 340===e.kind}function eR(e){return 342===e.kind}function nR(e){return 334===e.kind}function tR(e){return 350===e.kind}function rR(e){return 343===e.kind}function iR(e){return 344===e.kind}function aR(e){return 345===e.kind}function oR(e){return 346===e.kind}function sR(e){return 347===e.kind}function cR(e){return 348===e.kind}function lR(e){return 349===e.kind}function dR(e){return 330===e.kind}function uR(e){return 351===e.kind}function _R(e){return 332===e.kind}function pR(e){return 353===e.kind}function fR(e){return 352===e.kind}function mR(e){return 354===e.kind}var hR,gR,yR=E({"src/compiler/factory/nodeTests.ts"(){Qq()}});function vR(e){return e.createExportDeclaration(void 0,!1,e.createNamedExports([]),void 0)}function bR(e,n,t,r){if(VC(t))return MN(e.createElementAccessExpression(n,t.expression),r);{const r=MN(Dl(t)?e.createPropertyAccessExpression(n,t):e.createElementAccessExpression(n,t),t);return BA(r,128),r}}function ER(e,n){const t=KN.createIdentifier(e||"React");return xS(t,Dc(n)),t}function TR(e,n,t){if(UC(n)){const r=TR(e,n.left,t),i=e.createIdentifier(Pc(n.right));return i.escapedText=n.right.escapedText,e.createPropertyAccessExpression(r,i)}return ER(Pc(n),t)}function xR(e,n,t,r){return n?TR(e,n,r):e.createPropertyAccessExpression(ER(t,r),"createElement")}function SR(e,n,t,r,i,a){const o=[t];if(r&&o.push(r),i&&i.length>0)if(r||o.push(e.createNull()),i.length>1)for(const e of i)qR(e),o.push(e);else o.push(i[0]);return MN(e.createCallExpression(n,void 0,o),a)}function AR(e,n,t,r,i,a,o){const s=function(e,n,t,r){return n?TR(e,n,r):e.createPropertyAccessExpression(ER(t,r),"Fragment")}(e,t,r,a),c=[s,e.createNull()];if(i&&i.length>0)if(i.length>1)for(const e of i)qR(e),c.push(e);else c.push(i[0]);return MN(e.createCallExpression(xR(e,n,r,a),void 0,c),o)}function LR(e,n,t){if(II(n)){const r=Me(n.declarations),i=e.updateVariableDeclaration(r,r.name,void 0,void 0,t);return MN(e.createVariableStatement(void 0,e.updateVariableDeclarationList(n,[i])),n)}{const r=MN(e.createAssignment(n,t),n);return MN(e.createExpressionStatement(r),n)}}function CR(e,n,t){return lI(n)?e.updateBlock(n,MN(e.createNodeArray([t,...n.statements]),n.statements)):e.createBlock(e.createNodeArray([n,t]),!0)}function kR(e,n){if(UC(n)){const t=kR(e,n.left),r=xS(MN(e.cloneNode(n.right),n.right),n.right.parent);return MN(e.createPropertyAccessExpression(t,r),n)}return xS(MN(e.cloneNode(n),n),n.parent)}function IR(e,n){return AC(n)?e.createStringLiteralFromNode(n):VC(n)?xS(MN(e.cloneNode(n.expression),n.expression),n.expression.parent):xS(MN(e.cloneNode(n),n),n.parent)}function wR(e,n,t,r){switch(t.name&&LC(t.name)&&Nt.failBadSyntaxKind(t.name,"Private identifiers are not allowed in object literals."),t.kind){case 174:case 175:return function(e,n,t,r,i){const{firstAccessor:a,getAccessor:o,setAccessor:s}=zv(n,t);if(t===a)return MN(e.createObjectDefinePropertyCall(r,IR(e,t.name),e.createPropertyDescriptor({enumerable:e.createFalse(),configurable:!0,get:o&&MN(DA(e.createFunctionExpression(Jc(o),void 0,void 0,void 0,o.parameters,void 0,o.body),o),o),set:s&&MN(DA(e.createFunctionExpression(Jc(s),void 0,void 0,void 0,s.parameters,void 0,s.body),s),s)},!i)),a)}(e,n.properties,t,r,!!n.multiLine);case 299:return function(e,n,t){return DA(MN(e.createAssignment(bR(e,t,n.name,n.name),n.initializer),n),n)}(e,t,r);case 300:return function(e,n,t){return DA(MN(e.createAssignment(bR(e,t,n.name,n.name),e.cloneNode(n.name)),n),n)}(e,t,r);case 171:return function(e,n,t){return DA(MN(e.createAssignment(bR(e,t,n.name,n.name),DA(MN(e.createFunctionExpression(Jc(n),n.asteriskToken,void 0,void 0,n.parameters,void 0,n.body),n),n)),n),n)}(e,t,r)}}function RR(e,n,t,r,i){const a=n.operator;Nt.assert(45===a||46===a,"Expected 'node' to be a pre- or post-increment or pre- or post-decrement expression");const o=e.createTempVariable(r);MN(t=e.createAssignment(o,t),n.operand);let s=Kk(n)?e.createPrefixUnaryExpression(a,o):e.createPostfixUnaryExpression(o,a);return MN(s,n),i&&(s=e.createAssignment(i,s),MN(s,n)),MN(t=e.createComma(t,s),n),Wk(n)&&MN(t=e.createComma(t,o),n),t}function NR(e){return 0!=(65536&of(e))}function DR(e){return 0!=(32768&of(e))}function OR(e){return 0!=(16384&of(e))}function MR(e){return cC(e.expression)&&"use strict"===e.expression.text}function PR(e){for(const n of e){if(!_m(n))break;if(MR(n))return n}}function FR(e){const n=De(e);return void 0!==n&&_m(n)&&MR(n)}function GR(e){return 223===e.kind&&27===e.operatorToken.kind}function BR(e){return GR(e)||oI(e)}function UR(e){return Fk(e)&&Ah(e)&&!!El(e)}function VR(e){const n=Tl(e);return Nt.assertIsDefined(n),n}function jR(e,n=15){switch(e.kind){case 214:return!(16&n&&UR(e))&&0!=(1&n);case 213:case 231:case 230:case 235:return 0!=(2&n);case 232:return 0!=(4&n);case 356:return 0!=(8&n)}return!1}function HR(e,n=15){for(;jR(e,n);)e=e.expression;return e}function KR(e,n=15){let t=e.parent;for(;jR(t,n);)t=t.parent,Nt.assert(t);return t}function WR(e){return HR(e,6)}function qR(e){return zA(e,!0)}function zR(e){const n=wc(e,Aw),t=n&&n.emitNode;return t&&t.externalHelpersModuleName}function JR(e){const n=wc(e,Aw),t=n&&n.emitNode;return!(!t||!t.externalHelpersModuleName&&!t.externalHelpers)}function XR(e,n,t,r,i,a,o){if(r.importHelpers&&Sf(t,r)){let s;const c=UT(r);if(c>=5&&c<=99||99===t.impliedNodeFormat){const r=cL(t);if(r){const i=[];for(const e of r)if(!e.scoped){const n=e.importName;n&&Le(i,n)}ce(i)&&(i.sort(Wn),s=e.createNamedImports(W(i,(r=>Pp(t,r)?e.createImportSpecifier(!1,void 0,e.createIdentifier(r)):e.createImportSpecifier(!1,e.createIdentifier(r),n.getUnscopedHelperName(r))))),MA(wc(t,Aw)).externalHelpers=!0)}}else{const n=YR(e,t,r,i,a||o);n&&(s=e.createNamespaceImport(n))}if(s){const n=e.createImportDeclaration(void 0,e.createImportClause(!1,void 0,s),e.createStringLiteral(s_),void 0);return VA(n,2),n}}}function YR(e,n,t,r,i){if(t.importHelpers&&Sf(n,t)){const a=zR(n);if(a)return a;const o=UT(t);let s=(r||YT(t)&&i)&&4!==o&&(o<5||1===n.impliedNodeFormat);if(!s){const e=cL(n);if(e)for(const n of e)if(!n.scoped){s=!0;break}}if(s){const t=MA(wc(n,Aw));return t.externalHelpersModuleName||(t.externalHelpersModuleName=e.createUniqueName(s_))}}}function $R(e,n,t){const r=hg(n);if(r&&!gg(n)&&!ef(n)){const n=r.name;return fd(n)?n:e.createIdentifier(Zp(t,n)||Pc(n))}return 269===n.kind&&n.importClause||275===n.kind&&n.moduleSpecifier?e.getGeneratedNameForNode(n):void 0}function QR(e,n,t,r,i,a){const o=mg(n);if(o&&cC(o))return function(e,n,t,r,i){return ZR(t,r.getExternalModuleFileFromDeclaration(e),n,i)}(n,r,e,i,a)||function(e,n,t){const r=t.renamedDependencies&&t.renamedDependencies.get(n.text);return r?e.createStringLiteral(r):void 0}(e,o,t)||e.cloneNode(o)}function ZR(e,n,t,r){if(n)return n.moduleName?e.createStringLiteral(n.moduleName):!n.isDeclarationFile&&kv(r)?e.createStringLiteral(Tv(t,n.fileName)):void 0}function eN(e){if(zd(e))return e.initializer;if(bw(e)){const n=e.initializer;return Bb(n,!0)?n.right:void 0}return Ew(e)?e.objectAssignmentInitializer:Bb(e,!0)?e.right:Yk(e)?eN(e.expression):void 0}function nN(e){if(zd(e))return e.name;if(!Vd(e))return Bb(e,!0)?nN(e.left):Yk(e)?nN(e.expression):e;switch(e.kind){case 299:return nN(e.initializer);case 300:return e.name;case 301:return nN(e.expression)}}function tN(e){switch(e.kind){case 166:case 205:return e.dotDotDotToken;case 227:case 301:return e}}function rN(e){const n=iN(e);return Nt.assert(!!n||Tw(e),"Invalid property name for binding element."),n}function iN(e){switch(e.kind){case 205:if(e.propertyName){const n=e.propertyName;return LC(n)?Nt.failBadSyntaxKind(n):VC(n)&&aN(n.expression)?n.expression:n}break;case 299:if(e.name){const n=e.name;return LC(n)?Nt.failBadSyntaxKind(n):VC(n)&&aN(n.expression)?n.expression:n}break;case 301:return e.name&&LC(e.name)?Nt.failBadSyntaxKind(e.name):e.name}const n=nN(e);if(n&&xd(n))return n}function aN(e){const n=e.kind;return 10===n||8===n}function oN(e){switch(e.kind){case 203:case 204:case 206:return e.elements;case 207:return e.properties}}function sN(e){if(e){let n=e;for(;;){if(AC(n)||!n.body)return AC(n)?n:n.name;n=n.body}}}function cN(e){const n=e.kind;return 173===n||175===n}function lN(e){const n=e.kind;return 173===n||174===n||175===n}function dN(e){const n=e.kind;return 299===n||300===n||259===n||173===n||178===n||172===n||279===n||240===n||261===n||262===n||263===n||264===n||268===n||269===n||267===n||275===n||274===n}function uN(e){const n=e.kind;return 172===n||299===n||300===n||279===n||267===n}function _N(e){return EC(e)||bC(e)}function pN(e){return AC(e)||yk(e)}function fN(e){return NC(e)||gC(e)||yC(e)}function mN(e){return EC(e)||gC(e)||yC(e)}function hN(e){return AC(e)||cC(e)}function gN(e){const n=e.kind;return 104===n||110===n||95===n||rd(e)||Kk(e)}function yN(e){return function(e){return 60===e||function(e){return function(e){return 55===e||56===e}(e)||function(e){return function(e){return 50===e||51===e||52===e}(e)||function(e){return function(e){return 34===e||36===e||35===e||37===e}(e)||function(e){return function(e){return 29===e||32===e||31===e||33===e||102===e||101===e}(e)||function(e){return function(e){return 47===e||48===e||49===e}(e)||function(e){return function(e){return 39===e||40===e}(e)||function(e){return function(e){return 42===e}(e)||function(e){return 41===e||43===e||44===e}(e)}(e)}(e)}(e)}(e)}(e)}(e)}(e)||Pb(e)}(n=e.kind)||27===n;var n}function vN(e,n,t,r,i,a){const o=new gR(e,n,t,r,i,a);return function(e,n){const t={value:void 0},r=[hR.enter],i=[e],a=[void 0];let s=0;for(;r[s]!==hR.done;)s=r[s](o,s,r,i,a,t,n);return Nt.assertEqual(s,0),t.value}}function bN(e){return 93===e||88===e}function EN(e){return bN(e.kind)}function TN(e){const n=e.kind;return yd(n)&&!bN(n)}function xN(e,n){if(void 0!==n)return 0===n.length?n:MN(e.createNodeArray([],n.hasTrailingComma),n)}function SN(e){var n;const t=e.emitNode.autoGenerate;if(4&t.flags){const r=t.id;let i=e,a=i.original;for(;a;){i=a;const e=null==(n=i.emitNode)?void 0:n.autoGenerate;if(Dl(i)&&(void 0===e||4&e.flags&&e.id!==r))break;a=i.original}return i}return e}function AN(e,n){return"object"==typeof e?LN(!1,e.prefix,e.node,e.suffix,n):"string"==typeof e?e.length>0&&35===e.charCodeAt(0)?e.slice(1):e:""}function LN(e,n,t,r,i){return n=AN(n,i),r=AN(r,i),`${e?"#":""}${n}${t=function(e,n){return"string"==typeof e?e:function(e,n){return md(e)?n(e).slice(1):fd(e)?n(e):LC(e)?e.escapedText.slice(1):Pc(e)}(e,Nt.checkDefined(n))}(t,i)}${r}`}function CN(e,n,t,r){return e.updatePropertyDeclaration(n,t,e.getGeneratedPrivateNameForNode(n.name,void 0,"_accessor_storage"),void 0,void 0,r)}function kN(e,n,t,r){return e.createGetAccessorDeclaration(t,r,[],void 0,e.createBlock([e.createReturnStatement(e.createPropertyAccessExpression(e.createThis(),e.getGeneratedPrivateNameForNode(n.name,void 0,"_accessor_storage")))]))}function IN(e,n,t,r){return e.createSetAccessorDeclaration(t,r,[e.createParameterDeclaration(void 0,void 0,"value")],e.createBlock([e.createExpressionStatement(e.createAssignment(e.createPropertyAccessExpression(e.createThis(),e.getGeneratedPrivateNameForNode(n.name,void 0,"_accessor_storage")),e.createIdentifier("value")))]))}function wN(e){let n=e.expression;for(;;)if(n=HR(n),oI(n))n=Ge(n.elements);else{if(!GR(n)){if(Bb(n,!0)&&fd(n.left))return n;break}n=n.right}}function RN(e,n){if(function(e){return Fk(e)&&zy(e)&&!e.emitNode}(e))RN(e.expression,n);else if(GR(e))RN(e.left,n),RN(e.right,n);else if(oI(e))for(const t of e.elements)RN(t,n);else n.push(e)}function NN(e){const n=[];return RN(e,n),n}function DN(e){if(65536&e.transformFlags)return!0;if(128&e.transformFlags)for(const n of oN(e)){const e=nN(n);if(e&&Wd(e)){if(65536&e.transformFlags)return!0;if(128&e.transformFlags&&DN(e))return!0}}return!1}var ON=E({"src/compiler/factory/utilities.ts"(){Qq(),(e=>{function n(e,t,r,i,a,o,c){const l=t>0?a[t-1]:void 0;return Nt.assertEqual(r[t],n),a[t]=e.onEnter(i[t],l,c),r[t]=s(e,n),t}function t(e,n,r,i,a,o,d){Nt.assertEqual(r[n],t),Nt.assertIsDefined(e.onLeft),r[n]=s(e,t);const u=e.onLeft(i[n].left,a[n],i[n]);return u?(l(n,i,u),c(n,r,i,a,u)):n}function r(e,n,t,i,a,o,c){return Nt.assertEqual(t[n],r),Nt.assertIsDefined(e.onOperator),t[n]=s(e,r),e.onOperator(i[n].operatorToken,a[n],i[n]),n}function i(e,n,t,r,a,o,d){Nt.assertEqual(t[n],i),Nt.assertIsDefined(e.onRight),t[n]=s(e,i);const u=e.onRight(r[n].right,a[n],r[n]);return u?(l(n,r,u),c(n,t,r,a,u)):n}function a(e,n,t,r,i,o,c){Nt.assertEqual(t[n],a),t[n]=s(e,a);const l=e.onExit(r[n],i[n]);if(n>0){if(n--,e.foldState){const r=t[n]===a?"right":"left";i[n]=e.foldState(i[n],l,r)}}else o.value=l;return n}function o(e,n,t,r,i,a,s){return Nt.assertEqual(t[n],o),n}function s(e,s){switch(s){case n:if(e.onLeft)return t;case t:if(e.onOperator)return r;case r:if(e.onRight)return i;case i:return a;case a:case o:return o;default:Nt.fail("Invalid state")}}function c(e,t,r,i,a){return t[++e]=n,r[e]=a,i[e]=void 0,e}function l(e,n,t){if(Nt.shouldAssert(2))for(;e>=0;)Nt.assert(n[e]!==t,"Circular traversal detected."),e--}e.enter=n,e.left=t,e.operator=r,e.right=i,e.exit=a,e.done=o,e.nextState=s})(hR||(hR={})),gR=class{constructor(e,n,t,r,i,a){this.onEnter=e,this.onLeft=n,this.onOperator=t,this.onRight=r,this.onExit=i,this.foldState=a}}}});function MN(e,n){return n?bS(e,n.pos,n.end):e}function PN(e){const n=e.kind;return 165===n||166===n||168===n||169===n||170===n||171===n||173===n||174===n||175===n||178===n||182===n||215===n||216===n||228===n||240===n||259===n||260===n||261===n||262===n||263===n||264===n||268===n||269===n||274===n||275===n}function FN(e){const n=e.kind;return 166===n||169===n||171===n||174===n||175===n||228===n||260===n}var GN,BN,UN,VN,jN,HN,KN,WN,qN,zN,JN,XN,YN,$N=E({"src/compiler/factory/utilitiesPublic.ts"(){Qq()}});function QN(e,n){return n&&e(n)}function ZN(e,n,t){if(t){if(n)return n(t);for(const n of t){const t=e(n);if(t)return t}}}function eD(e,n){return 42===e.charCodeAt(n+1)&&42===e.charCodeAt(n+2)&&47!==e.charCodeAt(n+3)}function nD(e){return A(e.statements,tD)||function(e){return 4194304&e.flags?rD(e):void 0}(e)}function tD(e){return PN(e)&&function(e,n){return ce(e.modifiers,(e=>93===e.kind))}(e)||BI(e)&&iw(e.moduleReference)||UI(e)||XI(e)||YI(e)?e:void 0}function rD(e){return function(e){return rI(e)&&100===e.keywordToken&&"meta"===e.name.escapedText}(e)?e:ED(e,rD)}function iD(e,n,t){return ZN(n,t,e.typeParameters)||ZN(n,t,e.parameters)||QN(n,e.type)}function aD(e,n,t){return ZN(n,t,e.types)}function oD(e,n,t){return QN(n,e.type)}function sD(e,n,t){return ZN(n,t,e.elements)}function cD(e,n,t){return QN(n,e.expression)||QN(n,e.questionDotToken)||ZN(n,t,e.typeArguments)||ZN(n,t,e.arguments)}function lD(e,n,t){return ZN(n,t,e.statements)}function dD(e,n,t){return QN(n,e.label)}function uD(e,n,t){return ZN(n,t,e.modifiers)||QN(n,e.name)||ZN(n,t,e.typeParameters)||ZN(n,t,e.heritageClauses)||ZN(n,t,e.members)}function _D(e,n,t){return ZN(n,t,e.elements)}function pD(e,n,t){return QN(n,e.propertyName)||QN(n,e.name)}function fD(e,n,t){return QN(n,e.tagName)||ZN(n,t,e.typeArguments)||QN(n,e.attributes)}function mD(e,n,t){return QN(n,e.type)}function hD(e,n,t){return QN(n,e.tagName)||(e.isNameFirst?QN(n,e.name)||QN(n,e.typeExpression):QN(n,e.typeExpression)||QN(n,e.name))||("string"==typeof e.comment?void 0:ZN(n,t,e.comment))}function gD(e,n,t){return QN(n,e.tagName)||QN(n,e.typeExpression)||("string"==typeof e.comment?void 0:ZN(n,t,e.comment))}function yD(e,n,t){return QN(n,e.name)}function vD(e,n,t){return QN(n,e.tagName)||("string"==typeof e.comment?void 0:ZN(n,t,e.comment))}function bD(e,n,t){return QN(n,e.expression)}function ED(e,n,t){if(void 0===e||e.kind<=162)return;const r=WN[e.kind];return void 0===r?void 0:r(e,n,t)}function TD(e,n,t){const r=xD(e),i=[];for(;i.length<r.length;)i.push(e);for(;0!==r.length;){const e=r.pop(),a=i.pop();if(gn(e)){if(t){const n=t(e,a);if(n){if("skip"===n)continue;return n}}for(let n=e.length-1;n>=0;--n)r.push(e[n]),i.push(a)}else{const t=n(e,a);if(t){if("skip"===t)continue;return t}if(e.kind>=163)for(const n of xD(e))r.push(n),i.push(e)}}}function xD(e){const n=[];return ED(e,t,t),n;function t(e){n.unshift(e)}}function SD(e){e.externalModuleIndicator=nD(e)}function AD(e,n,t,r=!1,i){var a,o;let s;null==(a=Vr)||a.push(Vr.Phase.Parse,"createSourceFile",{path:e},!0),kr("beforeParse"),mr.logStartParseSourceFile(e);const{languageVersion:c,setExternalModuleIndicator:l,impliedNodeFormat:d}="object"==typeof t?t:{languageVersion:t};if(100===c)s=qN.parseSourceFile(e,n,c,void 0,r,6,xn);else{const t=void 0===d?l:e=>(e.impliedNodeFormat=d,(l||SD)(e));s=qN.parseSourceFile(e,n,c,void 0,r,i,t)}return mr.logStopParseSourceFile(),kr("afterParse"),Ir("Parse","beforeParse","afterParse"),null==(o=Vr)||o.pop(),s}function LD(e,n){return qN.parseIsolatedEntityName(e,n)}function CD(e,n){return qN.parseJsonText(e,n)}function kD(e){return void 0!==e.externalModuleIndicator}function ID(e,n,t,r=!1){const i=zN.updateSourceFile(e,n,t,r);return i.flags|=6291456&e.flags,i}function wD(e,n,t){const r=qN.JSDocParser.parseIsolatedJSDocComment(e,n,t);return r&&r.jsDoc&&qN.fixupParentReferences(r.jsDoc),r}function RD(e,n,t){return qN.JSDocParser.parseJSDocTypeExpressionForTests(e,n,t)}function ND(e){return ro(e,Q_)||to(e,".ts")&&rt(lo(e),".d.")}function DD(e,n){const t=[];for(const e of Bs(n,0)||i)PD(t,e,n.substring(e.pos,e.end));e.pragmas=new Map;for(const n of t)if(e.pragmas.has(n.name)){const t=e.pragmas.get(n.name);t instanceof Array?t.push(n.args):e.pragmas.set(n.name,[t,n.args])}else e.pragmas.set(n.name,n.args)}function OD(e,n){e.checkJsDirective=void 0,e.referencedFiles=[],e.typeReferenceDirectives=[],e.libReferenceDirectives=[],e.amdDependencies=[],e.hasNoDefaultLib=!1,e.pragmas.forEach(((t,r)=>{switch(r){case"reference":{const r=e.referencedFiles,i=e.typeReferenceDirectives,a=e.libReferenceDirectives;A(yn(t),(t=>{const{types:o,lib:s,path:c,"resolution-mode":l}=t.arguments;if(t.arguments["no-default-lib"])e.hasNoDefaultLib=!0;else if(o){const e=function(e,n,t,r){if(e)return"import"===e?99:"require"===e?1:void r(n,t-n,Vo.resolution_mode_should_be_either_require_or_import)}(l,o.pos,o.end,n);i.push({pos:o.pos,end:o.end,fileName:o.value,...e?{resolutionMode:e}:{}})}else s?a.push({pos:s.pos,end:s.end,fileName:s.value}):c?r.push({pos:c.pos,end:c.end,fileName:c.value}):n(t.range.pos,t.range.end-t.range.pos,Vo.Invalid_reference_directive_syntax)}));break}case"amd-dependency":e.amdDependencies=W(yn(t),(e=>({name:e.arguments.name,path:e.arguments.path})));break;case"amd-module":if(t instanceof Array)for(const r of t)e.moduleName&&n(r.range.pos,r.range.end-r.range.pos,Vo.An_AMD_module_cannot_have_multiple_name_assignments),e.moduleName=r.arguments.name;else e.moduleName=t.arguments.name;break;case"ts-nocheck":case"ts-check":A(yn(t),(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:Nt.fail("Unhandled pragma kind")}}))}function MD(e){if(JN.has(e))return JN.get(e);const n=new RegExp(`(\\s${e}\\s*=\\s*)(?:(?:'([^']*)')|(?:"([^"]*)"))`,"im");return JN.set(e,n),n}function PD(e,n,t){const r=2===n.kind&&XN.exec(t);if(r){const i=r[1].toLowerCase(),a=ua[i];if(!(a&&1&a.kind))return;if(a.args){const r={};for(const e of a.args){const i=MD(e.name).exec(t);if(!i&&!e.optional)return;if(i){const t=i[2]||i[3];if(e.captureSpan){const a=n.pos+i.index+i[1].length+1;r[e.name]={value:t,pos:a,end:a+t.length}}else r[e.name]=t}}e.push({name:i,args:{arguments:r,range:n}})}else e.push({name:i,args:{arguments:{},range:n}});return}const i=2===n.kind&&YN.exec(t);if(i)return FD(e,n,2,i);if(3===n.kind){const r=/@(\S+)(\s+.*)?$/gim;let i;for(;i=r.exec(t);)FD(e,n,4,i)}}function FD(e,n,t,r){if(!r)return;const i=r[1].toLowerCase(),a=ua[i];if(!(a&&a.kind&t))return;const o=function(e,n){if(!n)return{};if(!e.args)return{};const t=h(n).split(/\s+/),r={};for(let n=0;n<e.args.length;n++){const i=e.args[n];if(!t[n]&&!i.optional)return"fail";if(i.captureSpan)return Nt.fail("Capture spans not yet implemented for non-xml pragmas");r[i.name]=t[n]}return r}(a,r[2]);"fail"!==o&&e.push({name:i,args:{arguments:o,range:n}})}function GD(e,n){return e.kind===n.kind&&(79===e.kind?e.escapedText===n.escapedText:108===e.kind||e.name.escapedText===n.name.escapedText&&GD(e.expression,n.expression))}var BD,UD,VD,jD,HD,KD,WD,qD,zD,JD,XD,YD,$D,QD,ZD,eO,nO,tO,rO,iO,aO,oO,sO,cO,lO,dO,uO,_O,pO,fO,mO,hO,gO,yO,vO,bO,EO,TO,xO,SO,AO=E({"src/compiler/parser.ts"(){Qq(),Qq(),_a(),KN=gA(1,HN={createBaseSourceFileNode:e=>new(jN||(jN=D_.getSourceFileConstructor()))(e,-1,-1),createBaseIdentifierNode:e=>new(UN||(UN=D_.getIdentifierConstructor()))(e,-1,-1),createBasePrivateIdentifierNode:e=>new(VN||(VN=D_.getPrivateIdentifierConstructor()))(e,-1,-1),createBaseTokenNode:e=>new(BN||(BN=D_.getTokenConstructor()))(e,-1,-1),createBaseNode:e=>new(GN||(GN=D_.getNodeConstructor()))(e,-1,-1)}),WN={163:function(e,n,t){return QN(n,e.left)||QN(n,e.right)},165:function(e,n,t){return ZN(n,t,e.modifiers)||QN(n,e.name)||QN(n,e.constraint)||QN(n,e.default)||QN(n,e.expression)},300:function(e,n,t){return ZN(n,t,e.modifiers)||QN(n,e.name)||QN(n,e.questionToken)||QN(n,e.exclamationToken)||QN(n,e.equalsToken)||QN(n,e.objectAssignmentInitializer)},301:function(e,n,t){return QN(n,e.expression)},166:function(e,n,t){return ZN(n,t,e.modifiers)||QN(n,e.dotDotDotToken)||QN(n,e.name)||QN(n,e.questionToken)||QN(n,e.type)||QN(n,e.initializer)},169:function(e,n,t){return ZN(n,t,e.modifiers)||QN(n,e.name)||QN(n,e.questionToken)||QN(n,e.exclamationToken)||QN(n,e.type)||QN(n,e.initializer)},168:function(e,n,t){return ZN(n,t,e.modifiers)||QN(n,e.name)||QN(n,e.questionToken)||QN(n,e.type)||QN(n,e.initializer)},299:function(e,n,t){return ZN(n,t,e.modifiers)||QN(n,e.name)||QN(n,e.questionToken)||QN(n,e.exclamationToken)||QN(n,e.initializer)},257:function(e,n,t){return QN(n,e.name)||QN(n,e.exclamationToken)||QN(n,e.type)||QN(n,e.initializer)},205:function(e,n,t){return QN(n,e.dotDotDotToken)||QN(n,e.propertyName)||QN(n,e.name)||QN(n,e.initializer)},178:function(e,n,t){return ZN(n,t,e.modifiers)||ZN(n,t,e.typeParameters)||ZN(n,t,e.parameters)||QN(n,e.type)},182:function(e,n,t){return ZN(n,t,e.modifiers)||ZN(n,t,e.typeParameters)||ZN(n,t,e.parameters)||QN(n,e.type)},181:function(e,n,t){return ZN(n,t,e.modifiers)||ZN(n,t,e.typeParameters)||ZN(n,t,e.parameters)||QN(n,e.type)},176:iD,177:iD,171:function(e,n,t){return ZN(n,t,e.modifiers)||QN(n,e.asteriskToken)||QN(n,e.name)||QN(n,e.questionToken)||QN(n,e.exclamationToken)||ZN(n,t,e.typeParameters)||ZN(n,t,e.parameters)||QN(n,e.type)||QN(n,e.body)},170:function(e,n,t){return ZN(n,t,e.modifiers)||QN(n,e.name)||QN(n,e.questionToken)||ZN(n,t,e.typeParameters)||ZN(n,t,e.parameters)||QN(n,e.type)},173:function(e,n,t){return ZN(n,t,e.modifiers)||QN(n,e.name)||ZN(n,t,e.typeParameters)||ZN(n,t,e.parameters)||QN(n,e.type)||QN(n,e.body)},174:function(e,n,t){return ZN(n,t,e.modifiers)||QN(n,e.name)||ZN(n,t,e.typeParameters)||ZN(n,t,e.parameters)||QN(n,e.type)||QN(n,e.body)},175:function(e,n,t){return ZN(n,t,e.modifiers)||QN(n,e.name)||ZN(n,t,e.typeParameters)||ZN(n,t,e.parameters)||QN(n,e.type)||QN(n,e.body)},259:function(e,n,t){return ZN(n,t,e.modifiers)||QN(n,e.asteriskToken)||QN(n,e.name)||ZN(n,t,e.typeParameters)||ZN(n,t,e.parameters)||QN(n,e.type)||QN(n,e.body)},215:function(e,n,t){return ZN(n,t,e.modifiers)||QN(n,e.asteriskToken)||QN(n,e.name)||ZN(n,t,e.typeParameters)||ZN(n,t,e.parameters)||QN(n,e.type)||QN(n,e.body)},216:function(e,n,t){return ZN(n,t,e.modifiers)||ZN(n,t,e.typeParameters)||ZN(n,t,e.parameters)||QN(n,e.type)||QN(n,e.equalsGreaterThanToken)||QN(n,e.body)},172:function(e,n,t){return ZN(n,t,e.modifiers)||QN(n,e.body)},180:function(e,n,t){return QN(n,e.typeName)||ZN(n,t,e.typeArguments)},179:function(e,n,t){return QN(n,e.assertsModifier)||QN(n,e.parameterName)||QN(n,e.type)},183:function(e,n,t){return QN(n,e.exprName)||ZN(n,t,e.typeArguments)},184:function(e,n,t){return ZN(n,t,e.members)},185:function(e,n,t){return QN(n,e.elementType)},186:function(e,n,t){return ZN(n,t,e.elements)},189:aD,190:aD,191:function(e,n,t){return QN(n,e.checkType)||QN(n,e.extendsType)||QN(n,e.trueType)||QN(n,e.falseType)},192:function(e,n,t){return QN(n,e.typeParameter)},202:function(e,n,t){return QN(n,e.argument)||QN(n,e.assertions)||QN(n,e.qualifier)||ZN(n,t,e.typeArguments)},298:function(e,n,t){return QN(n,e.assertClause)},193:oD,195:oD,196:function(e,n,t){return QN(n,e.objectType)||QN(n,e.indexType)},197:function(e,n,t){return QN(n,e.readonlyToken)||QN(n,e.typeParameter)||QN(n,e.nameType)||QN(n,e.questionToken)||QN(n,e.type)||ZN(n,t,e.members)},198:function(e,n,t){return QN(n,e.literal)},199:function(e,n,t){return QN(n,e.dotDotDotToken)||QN(n,e.name)||QN(n,e.questionToken)||QN(n,e.type)},203:sD,204:sD,206:function(e,n,t){return ZN(n,t,e.elements)},207:function(e,n,t){return ZN(n,t,e.properties)},208:function(e,n,t){return QN(n,e.expression)||QN(n,e.questionDotToken)||QN(n,e.name)},209:function(e,n,t){return QN(n,e.expression)||QN(n,e.questionDotToken)||QN(n,e.argumentExpression)},210:cD,211:cD,212:function(e,n,t){return QN(n,e.tag)||QN(n,e.questionDotToken)||ZN(n,t,e.typeArguments)||QN(n,e.template)},213:function(e,n,t){return QN(n,e.type)||QN(n,e.expression)},214:function(e,n,t){return QN(n,e.expression)},217:function(e,n,t){return QN(n,e.expression)},218:function(e,n,t){return QN(n,e.expression)},219:function(e,n,t){return QN(n,e.expression)},221:function(e,n,t){return QN(n,e.operand)},226:function(e,n,t){return QN(n,e.asteriskToken)||QN(n,e.expression)},220:function(e,n,t){return QN(n,e.expression)},222:function(e,n,t){return QN(n,e.operand)},223:function(e,n,t){return QN(n,e.left)||QN(n,e.operatorToken)||QN(n,e.right)},231:function(e,n,t){return QN(n,e.expression)||QN(n,e.type)},232:function(e,n,t){return QN(n,e.expression)},235:function(e,n,t){return QN(n,e.expression)||QN(n,e.type)},233:function(e,n,t){return QN(n,e.name)},224:function(e,n,t){return QN(n,e.condition)||QN(n,e.questionToken)||QN(n,e.whenTrue)||QN(n,e.colonToken)||QN(n,e.whenFalse)},227:function(e,n,t){return QN(n,e.expression)},238:lD,265:lD,308:function(e,n,t){return ZN(n,t,e.statements)||QN(n,e.endOfFileToken)},240:function(e,n,t){return ZN(n,t,e.modifiers)||QN(n,e.declarationList)},258:function(e,n,t){return ZN(n,t,e.declarations)},241:function(e,n,t){return QN(n,e.expression)},242:function(e,n,t){return QN(n,e.expression)||QN(n,e.thenStatement)||QN(n,e.elseStatement)},243:function(e,n,t){return QN(n,e.statement)||QN(n,e.expression)},244:function(e,n,t){return QN(n,e.expression)||QN(n,e.statement)},245:function(e,n,t){return QN(n,e.initializer)||QN(n,e.condition)||QN(n,e.incrementor)||QN(n,e.statement)},246:function(e,n,t){return QN(n,e.initializer)||QN(n,e.expression)||QN(n,e.statement)},247:function(e,n,t){return QN(n,e.awaitModifier)||QN(n,e.initializer)||QN(n,e.expression)||QN(n,e.statement)},248:dD,249:dD,250:function(e,n,t){return QN(n,e.expression)},251:function(e,n,t){return QN(n,e.expression)||QN(n,e.statement)},252:function(e,n,t){return QN(n,e.expression)||QN(n,e.caseBlock)},266:function(e,n,t){return ZN(n,t,e.clauses)},292:function(e,n,t){return QN(n,e.expression)||ZN(n,t,e.statements)},293:function(e,n,t){return ZN(n,t,e.statements)},253:function(e,n,t){return QN(n,e.label)||QN(n,e.statement)},254:function(e,n,t){return QN(n,e.expression)},255:function(e,n,t){return QN(n,e.tryBlock)||QN(n,e.catchClause)||QN(n,e.finallyBlock)},295:function(e,n,t){return QN(n,e.variableDeclaration)||QN(n,e.block)},167:function(e,n,t){return QN(n,e.expression)},260:uD,228:uD,261:function(e,n,t){return ZN(n,t,e.modifiers)||QN(n,e.name)||ZN(n,t,e.typeParameters)||ZN(n,t,e.heritageClauses)||ZN(n,t,e.members)},262:function(e,n,t){return ZN(n,t,e.modifiers)||QN(n,e.name)||ZN(n,t,e.typeParameters)||QN(n,e.type)},263:function(e,n,t){return ZN(n,t,e.modifiers)||QN(n,e.name)||ZN(n,t,e.members)},302:function(e,n,t){return QN(n,e.name)||QN(n,e.initializer)},264:function(e,n,t){return ZN(n,t,e.modifiers)||QN(n,e.name)||QN(n,e.body)},268:function(e,n,t){return ZN(n,t,e.modifiers)||QN(n,e.name)||QN(n,e.moduleReference)},269:function(e,n,t){return ZN(n,t,e.modifiers)||QN(n,e.importClause)||QN(n,e.moduleSpecifier)||QN(n,e.assertClause)},270:function(e,n,t){return QN(n,e.name)||QN(n,e.namedBindings)},296:function(e,n,t){return ZN(n,t,e.elements)},297:function(e,n,t){return QN(n,e.name)||QN(n,e.value)},267:function(e,n,t){return ZN(n,t,e.modifiers)||QN(n,e.name)},271:function(e,n,t){return QN(n,e.name)},277:function(e,n,t){return QN(n,e.name)},272:_D,276:_D,275:function(e,n,t){return ZN(n,t,e.modifiers)||QN(n,e.exportClause)||QN(n,e.moduleSpecifier)||QN(n,e.assertClause)},273:pD,278:pD,274:function(e,n,t){return ZN(n,t,e.modifiers)||QN(n,e.expression)},225:function(e,n,t){return QN(n,e.head)||ZN(n,t,e.templateSpans)},236:function(e,n,t){return QN(n,e.expression)||QN(n,e.literal)},200:function(e,n,t){return QN(n,e.head)||ZN(n,t,e.templateSpans)},201:function(e,n,t){return QN(n,e.type)||QN(n,e.literal)},164:function(e,n,t){return QN(n,e.expression)},294:function(e,n,t){return ZN(n,t,e.types)},230:function(e,n,t){return QN(n,e.expression)||ZN(n,t,e.typeArguments)},280:function(e,n,t){return QN(n,e.expression)},279:function(e,n,t){return ZN(n,t,e.modifiers)},357:function(e,n,t){return ZN(n,t,e.elements)},281:function(e,n,t){return QN(n,e.openingElement)||ZN(n,t,e.children)||QN(n,e.closingElement)},285:function(e,n,t){return QN(n,e.openingFragment)||ZN(n,t,e.children)||QN(n,e.closingFragment)},282:fD,283:fD,289:function(e,n,t){return ZN(n,t,e.properties)},288:function(e,n,t){return QN(n,e.name)||QN(n,e.initializer)},290:function(e,n,t){return QN(n,e.expression)},291:function(e,n,t){return QN(n,e.dotDotDotToken)||QN(n,e.expression)},284:function(e,n,t){return QN(n,e.tagName)},187:mD,188:mD,312:mD,318:mD,317:mD,319:mD,321:mD,320:function(e,n,t){return ZN(n,t,e.parameters)||QN(n,e.type)},323:function(e,n,t){return("string"==typeof e.comment?void 0:ZN(n,t,e.comment))||ZN(n,t,e.tags)},350:function(e,n,t){return QN(n,e.tagName)||QN(n,e.name)||("string"==typeof e.comment?void 0:ZN(n,t,e.comment))},313:function(e,n,t){return QN(n,e.name)},314:function(e,n,t){return QN(n,e.left)||QN(n,e.right)},344:hD,351:hD,333:function(e,n,t){return QN(n,e.tagName)||("string"==typeof e.comment?void 0:ZN(n,t,e.comment))},332:function(e,n,t){return QN(n,e.tagName)||QN(n,e.class)||("string"==typeof e.comment?void 0:ZN(n,t,e.comment))},331:function(e,n,t){return QN(n,e.tagName)||QN(n,e.class)||("string"==typeof e.comment?void 0:ZN(n,t,e.comment))},348:function(e,n,t){return QN(n,e.tagName)||QN(n,e.constraint)||ZN(n,t,e.typeParameters)||("string"==typeof e.comment?void 0:ZN(n,t,e.comment))},349:function(e,n,t){return QN(n,e.tagName)||(e.typeExpression&&312===e.typeExpression.kind?QN(n,e.typeExpression)||QN(n,e.fullName)||("string"==typeof e.comment?void 0:ZN(n,t,e.comment)):QN(n,e.fullName)||QN(n,e.typeExpression)||("string"==typeof e.comment?void 0:ZN(n,t,e.comment)))},341:function(e,n,t){return QN(n,e.tagName)||QN(n,e.fullName)||QN(n,e.typeExpression)||("string"==typeof e.comment?void 0:ZN(n,t,e.comment))},345:gD,347:gD,346:gD,343:gD,353:gD,352:gD,342:gD,326:function(e,n,t){return A(e.typeParameters,n)||A(e.parameters,n)||QN(n,e.type)},327:yD,328:yD,329:yD,325:function(e,n,t){return A(e.jsDocPropertyTags,n)},330:vD,335:vD,336:vD,337:vD,338:vD,339:vD,334:vD,340:vD,356:bD},(e=>{var n,t,r,o,s,c=Ws(99,!0),l=20480;function d(e){return E++,e}var u,_,p,f,m,h,g,y,v,b,E,T,x,S,A,L,C=gA(11,{createBaseSourceFileNode:e=>d(new s(e,0,0)),createBaseIdentifierNode:e=>d(new r(e,0,0)),createBasePrivateIdentifierNode:e=>d(new o(e,0,0)),createBaseTokenNode:e=>d(new t(e,0,0)),createBaseNode:e=>d(new n(e,0,0))}),{createNodeArray:k,createNumericLiteral:I,createStringLiteral:w,createLiteralLikeNode:R,createIdentifier:N,createPrivateIdentifier:D,createToken:O,createArrayLiteralExpression:P,createObjectLiteralExpression:F,createPropertyAccessExpression:G,createPropertyAccessChain:B,createElementAccessExpression:U,createElementAccessChain:V,createCallExpression:j,createCallChain:H,createNewExpression:K,createParenthesizedExpression:W,createBlock:q,createVariableStatement:z,createExpressionStatement:J,createIfStatement:X,createWhileStatement:Y,createForStatement:$,createForOfStatement:Q,createVariableDeclaration:Z,createVariableDeclarationList:ne}=C,te=!0,re=!1;function ie(e,n,t=2,r,i=!1){ae(e,n,t,r,6),_=L,qe();const a=Ve();let o,s;if(1===He())o=bn([],a,a),s=mn();else{let e;for(;1!==He();){let n;switch(He()){case 22:n=ti();break;case 110:case 95:case 104:n=mn();break;case 40:n=nn((()=>8===qe()&&58!==qe()))?Rr():ii();break;case 8:case 10:if(nn((()=>58!==qe()))){n=ut();break}default:n=ii()}e&&gn(e)?e.push(n):e?e=[e,n]:(e=n,1!==He()&&Me(Vo.Unexpected_token))}const n=gn(e)?En(P(e),a):Nt.checkDefined(e),t=J(n);En(t,a),o=bn([t],a),s=fn(1,Vo.Unexpected_token)}const c=pe(e,2,6,!1,o,s,_,xn);i&&_e(c),c.nodeCount=E,c.identifierCount=x,c.identifiers=T,c.parseDiagnostics=xT(g,c),y&&(c.jsDocDiagnostics=xT(y,c));const l=c;return oe(),l}function ae(e,i,a,l,d){switch(n=D_.getNodeConstructor(),t=D_.getTokenConstructor(),r=D_.getIdentifierConstructor(),o=D_.getPrivateIdentifierConstructor(),s=D_.getSourceFileConstructor(),u=Eo(e),p=i,f=a,v=l,m=d,h=OT(d),g=[],S=0,T=new Map,x=0,E=0,_=0,te=!0,m){case 1:case 2:L=262144;break;case 6:L=67371008;break;default:L=0}re=!1,c.setText(p),c.setOnError(Ue),c.setScriptTarget(f),c.setLanguageVariant(h)}function oe(){c.clearCommentDirectives(),c.setText(""),c.setOnError(void 0),p=void 0,f=void 0,v=void 0,m=void 0,h=void 0,_=0,g=void 0,y=void 0,S=0,T=void 0,A=void 0,te=!0}function se(e,n){return n?ue(e):e}e.parseSourceFile=function(e,n,t,r,o=!1,s,l){var d;if(6===(s=Nx(e,s))){const s=ie(e,n,t,r,o);return eM(s,null==(d=s.statements[0])?void 0:d.expression,s.parseDiagnostics,!1,void 0,void 0),s.referencedFiles=i,s.typeReferenceDirectives=i,s.libReferenceDirectives=i,s.amdDependencies=i,s.hasNoDefaultLib=!1,s.pragmas=a,s}ae(e,n,t,r,s);const f=function(e,n,t,r){const i=ND(u);i&&(L|=16777216),_=L,qe();const a=Jn(0,vi);Nt.assert(1===He());const o=ue(mn()),s=pe(u,e,t,i,a,o,_,r);return DD(s,p),OD(s,(function(e,n,t){g.push(bT(u,e,n,t))})),s.commentDirectives=c.getCommentDirectives(),s.nodeCount=E,s.identifierCount=x,s.identifiers=T,s.parseDiagnostics=xT(g,s),y&&(s.jsDocDiagnostics=xT(y,s)),n&&_e(s),s}(t,o,s,l||SD);return oe(),f},e.parseIsolatedEntityName=function(e,n){ae("",e,n,void 0,1),qe();const t=it(!0),r=1===He()&&!g.length;return oe(),r?t:void 0},e.parseJsonText=ie;let le=!1;function ue(e){Nt.assert(!e.jsDoc);const n=ee(ym(e,p),(n=>ha.parseJSDocComment(e,n.pos,n.end-n.pos)));return n.length&&(e.jsDoc=n),le&&(le=!1,e.flags|=268435456),e}function _e(e){AS(e,!0)}function pe(e,n,t,r,i,a,o,s){let l=C.createSourceFile(i,a,o);return ES(l,0,p.length),d(l),!r&&kD(l)&&67108864&l.transformFlags&&(l=function(e){const n=v,t=zN.createSyntaxCursor(e);v={currentNode:function(e){const n=t.currentNode(e);return te&&n&&s(n)&&(n.intersectsChange=!0),n}};const r=[],i=g;g=[];let a=0,o=l(e.statements,0);for(;-1!==o;){const n=e.statements[a],t=e.statements[o];Ae(r,e.statements,a,o),a=d(e.statements,o);const s=M(i,(e=>e.start>=n.pos)),u=s>=0?M(i,(e=>e.start>=t.pos),s):-1;s>=0&&Ae(g,i,s,u>=0?u:void 0),en((()=>{const n=L;for(L|=32768,c.setTextPos(t.pos),qe();1!==He();){const n=c.getStartPos(),t=Xn(0,vi);if(r.push(t),n===c.getStartPos()&&qe(),a>=0){const n=e.statements[a];if(t.end===n.pos)break;t.end>n.pos&&(a=d(e.statements,a+1))}}L=n}),2),o=a>=0?l(e.statements,a):-1}if(a>=0){const n=e.statements[a];Ae(r,e.statements,a);const t=M(i,(e=>e.start>=n.pos));t>=0&&Ae(g,i,t)}return v=n,C.updateSourceFile(e,MN(k(r),e.statements));function s(e){return!(32768&e.flags||!(67108864&e.transformFlags))}function l(e,n){for(let t=n;t<e.length;t++)if(s(e[t]))return t;return-1}function d(e,n){for(let t=n;t<e.length;t++)if(!s(e[t]))return t;return-1}}(l),d(l)),l;function d(i){i.text=p,i.bindDiagnostics=[],i.bindSuggestionDiagnostics=void 0,i.languageVersion=n,i.fileName=e,i.languageVariant=OT(t),i.isDeclarationFile=r,i.scriptKind=t,s(i),i.setExternalModuleIndicator=s}}function fe(e,n){e?L|=n:L&=~n}function me(e){fe(e,4096)}function he(e){fe(e,8192)}function ge(e){fe(e,16384)}function ye(e){fe(e,32768)}function ve(e,n){const t=e&L;if(t){fe(!1,t);const e=n();return fe(!0,t),e}return n()}function be(e,n){const t=e&~L;if(t){fe(!0,t);const e=n();return fe(!1,t),e}return n()}function Ee(e){return ve(4096,e)}function xe(e){return ve(65536,e)}function Se(e){return be(65536,e)}function Le(e){return be(32768,e)}function Ce(e){return ve(32768,e)}function ke(e){return 0!=(L&e)}function Ie(){return ke(8192)}function we(){return ke(4096)}function Re(){return ke(65536)}function Ne(){return ke(16384)}function Oe(){return ke(32768)}function Me(e,n){return Ge(c.getTokenPos(),c.getTextPos(),e,n)}function Pe(e,n,t,r){const i=Fe(g);let a;return i&&e===i.start||(a=bT(u,e,n,t,r),g.push(a)),re=!0,a}function Ge(e,n,t,r){return Pe(e,n-e,t,r)}function Be(e,n,t){Ge(e.pos,e.end,n,t)}function Ue(e,n){Pe(c.getTextPos(),n,e)}function Ve(){return c.getStartPos()}function je(){return c.hasPrecedingJSDocComment()}function He(){return b}function Ke(){return b=c.scan()}function We(e){return qe(),e()}function qe(){return hy(b)&&(c.hasUnicodeEscape()||c.hasExtendedUnicodeEscape())&&Ge(c.getTokenPos(),c.getTextPos(),Vo.Keywords_cannot_contain_escape_characters),Ke()}function ze(){return b=c.scanJsDocToken()}function Je(){return b=c.reScanGreaterToken()}function Xe(){return b=c.reScanTemplateHeadOrNoSubstitutionTemplate()}function Ye(){return b=c.reScanLessThanToken()}function $e(){return b=c.reScanHashToken()}function Qe(){return b=c.scanJsxIdentifier()}function Ze(){return b=c.scanJsxToken()}function en(e,n){const t=b,r=g.length,i=re,a=L,o=0!==n?c.lookAhead(e):c.tryScan(e);return Nt.assert(a===L),o&&0===n||(b=t,2!==n&&(g.length=r),re=i),o}function nn(e){return en(e,1)}function tn(e){return en(e,0)}function rn(){return 79===He()||He()>116}function an(){return 79===He()||(125!==He()||!Ie())&&(133!==He()||!Oe())&&He()>116}function on(e,n,t=!0){return He()===e?(t&&qe(),!0):(n?Me(n):Me(Vo._0_expected,us(e)),!1)}e.fixupParentReferences=_e;const sn=Object.keys(Ko).filter((e=>e.length>2));function cn(e){var n;if(Mk(e))return void Ge(ks(p,e.template.pos),e.template.end,Vo.Module_declaration_names_may_only_use_or_quoted_strings);const t=AC(e)?Pc(e):void 0;if(!t||!Ks(t,f))return void Me(Vo._0_expected,us(26));const r=ks(p,e.pos);switch(t){case"const":case"let":case"var":return void Ge(r,e.end,Vo.Variable_declaration_not_allowed_at_this_location);case"declare":return;case"interface":return void ln(Vo.Interface_name_cannot_be_0,Vo.Interface_must_be_given_a_name,18);case"is":return void Ge(r,c.getTextPos(),Vo.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);case"module":case"namespace":return void ln(Vo.Namespace_name_cannot_be_0,Vo.Namespace_must_be_given_a_name,18);case"type":return void ln(Vo.Type_alias_name_cannot_be_0,Vo.Type_alias_must_be_given_a_name,63)}const i=null!=(n=Qn(t,sn,(e=>e)))?n:function(e){for(const n of sn)if(e.length>n.length+2&&pt(e,n))return`${n} ${e.slice(n.length)}`}(t);i?Ge(r,e.end,Vo.Unknown_keyword_or_identifier_Did_you_mean_0,i):0!==He()&&Ge(r,e.end,Vo.Unexpected_keyword_or_identifier)}function ln(e,n,t){He()===t?Me(n):Me(e,c.getTokenValue())}function dn(e){return He()===e?(ze(),!0):(Me(Vo._0_expected,us(e)),!1)}function un(e,n,t,r){if(He()===n)return void qe();const i=Me(Vo._0_expected,us(n));t&&i&&iS(i,bT(u,r,1,Vo.The_parser_expected_to_find_a_1_to_match_the_0_token_here,us(e),us(n)))}function _n(e){return He()===e&&(qe(),!0)}function pn(e){if(He()===e)return mn()}function fn(e,n,t){return pn(e)||Tn(e,!1,n||Vo._0_expected,t||us(e))}function mn(){const e=Ve(),n=He();return qe(),En(O(n),e)}function hn(){return 26===He()||19===He()||1===He()||c.hasPrecedingLineBreak()}function yn(){return!!hn()&&(26===He()&&qe(),!0)}function vn(){return yn()||on(26)}function bn(e,n,t,r){const i=k(e,r);return bS(i,n,null!=t?t:c.getStartPos()),i}function En(e,n,t){return bS(e,n,null!=t?t:c.getStartPos()),L&&(e.flags|=L),re&&(re=!1,e.flags|=131072),e}function Tn(e,n,t,r){n?Pe(c.getStartPos(),0,t,r):t&&Me(t,r);const i=Ve();return En(79===e?N("",void 0):ad(e)?C.createTemplateLiteralLikeNode(e,"","",void 0):8===e?I("",void 0):10===e?w("",void 0):279===e?C.createMissingDeclaration():O(e),i)}function Sn(e){let n=T.get(e);return void 0===n&&T.set(e,n=e),n}function An(e,n,t){if(e){x++;const e=Ve(),n=He(),t=Sn(c.getTokenValue()),r=c.hasExtendedUnicodeEscape();return Ke(),En(N(t,n,r),e)}if(80===He())return Me(t||Vo.Private_identifiers_are_not_allowed_outside_class_bodies),An(!0);if(0===He()&&c.tryScan((()=>79===c.reScanInvalidIdentifier())))return An(!0);x++;const r=1===He(),i=c.isReservedWord(),a=c.getTokenText(),o=i?Vo.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:Vo.Identifier_expected;return Tn(79,r,n||o,a)}function Ln(e){return An(rn(),void 0,e)}function Cn(e,n){return An(an(),e,n)}function kn(e){return An(ss(He()),e)}function In(){return ss(He())||10===He()||8===He()}function wn(){return function(e){if(10===He()||8===He()){const e=ut();return e.text=Sn(e.text),e}return e&&22===He()?function(){const e=Ve();on(22);const n=Ee(gr);return on(23),En(C.createComputedPropertyName(n),e)}():80===He()?Rn():kn()}(!0)}function Rn(){const e=Ve(),n=D(Sn(c.getTokenValue()));return qe(),En(n,e)}function Nn(e){return He()===e&&tn(On)}function Dn(){return qe(),!c.hasPrecedingLineBreak()&&Fn()}function On(){switch(He()){case 85:return 92===qe();case 93:return qe(),88===He()?nn(Gn):154===He()?nn(Pn):Mn();case 88:return Gn();case 124:case 137:case 151:return qe(),Fn();default:return Dn()}}function Mn(){return 59===He()||41!==He()&&128!==He()&&18!==He()&&Fn()}function Pn(){return qe(),Mn()}function Fn(){return 22===He()||18===He()||41===He()||25===He()||In()}function Gn(){return qe(),84===He()||98===He()||118===He()||59===He()||126===He()&&nn(_i)||132===He()&&nn(pi)}function Bn(e,n){if(Yn(e))return!0;switch(e){case 0:case 1:case 3:return!(26===He()&&n)&&gi();case 2:return 82===He()||88===He();case 4:return nn(Pt);case 5:return nn(Gi)||26===He()&&!n;case 6:return 22===He()||In();case 12:switch(He()){case 22:case 41:case 25:case 24:return!0;default:return In()}case 18:return In();case 9:return 22===He()||25===He()||In();case 24:return ss(He())||10===He();case 7:return 18===He()?nn(Un):n?an()&&!Kn():mr()&&!Kn();case 8:return Li();case 10:return 27===He()||25===He()||Li();case 19:return 101===He()||85===He()||an();case 15:switch(He()){case 27:case 24:return!0}case 11:return 25===He()||hr();case 16:return St(!1);case 17:return St(!0);case 20:case 21:return 27===He()||er();case 22:return $i();case 23:return ss(He());case 13:return ss(He())||18===He();case 14:return!0}return Nt.fail("Non-exhaustive case in 'isListElement'.")}function Un(){if(Nt.assert(18===He()),19===qe()){const e=qe();return 27===e||18===e||94===e||117===e}return!0}function Vn(){return qe(),an()}function jn(){return qe(),ss(He())}function Hn(){return qe(),cs(He())}function Kn(){return(117===He()||94===He())&&nn(Wn)}function Wn(){return qe(),hr()}function qn(){return qe(),er()}function zn(e){if(1===He())return!0;switch(e){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:case 24:return 19===He();case 3:return 19===He()||82===He()||88===He();case 7:return 18===He()||94===He()||117===He();case 8:return!!hn()||!!Lr(He())||38===He();case 19:return 31===He()||20===He()||18===He()||94===He()||117===He();case 11:return 21===He()||26===He();case 15:case 21:case 10:return 23===He();case 17:case 16:case 18:return 21===He()||23===He();case 20:return 27!==He();case 22:return 18===He()||19===He();case 13:return 31===He()||43===He();case 14:return 29===He()&&nn(ia);default:return!1}}function Jn(e,n){const t=S;S|=1<<e;const r=[],i=Ve();for(;!zn(e);)if(Bn(e,!1))r.push(Xn(e,n));else if(Zn(e))break;return S=t,bn(r,i)}function Xn(e,n){const t=Yn(e);return t?$n(t):n()}function Yn(e,n){var t;if(!v||!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!0}return!1}(e)||re)return;const r=v.currentNode(null!=n?n:c.getStartPos());return Fp(r)||r.intersectsChange||kp(r)?void 0:(50720768&r.flags)===L&&function(e,n){switch(n){case 5:return function(e){if(e)switch(e.kind){case 173:case 178:case 174:case 175:case 169:case 237:return!0;case 171:const n=e;return!(79===n.name.kind&&"constructor"===n.name.escapedText)}return!1}(e);case 2:return function(e){if(e)switch(e.kind){case 292:case 293:return!0}return!1}(e);case 0:case 1:case 3:return function(e){if(e)switch(e.kind){case 259:case 240:case 238:case 242:case 241:case 254:case 250:case 252:case 249:case 248:case 246:case 247:case 245:case 244:case 251:case 239:case 255:case 253:case 243:case 256:case 269:case 268:case 275:case 274:case 264:case 260:case 261:case 263:case 262:return!0}return!1}(e);case 6:return function(e){return 302===e.kind}(e);case 4:return function(e){if(e)switch(e.kind){case 177:case 170:case 178:case 168:case 176:return!0}return!1}(e);case 8:return function(e){if(257!==e.kind)return!1;return void 0===e.initializer}(e);case 17:case 16:return function(e){if(166!==e.kind)return!1;return void 0===e.initializer}(e)}return!1}(r,e)?(kg(r)&&(null==(t=r.jsDoc)?void 0:t.jsDocCache)&&(r.jsDoc.jsDocCache=void 0),r):void 0}function $n(e){return c.setTextPos(e.end),qe(),e}function Zn(e){return function(e){switch(e){case 0:return 88===He()?Me(Vo._0_expected,us(93)):Me(Vo.Declaration_or_statement_expected);case 1:return Me(Vo.Declaration_or_statement_expected);case 2:return Me(Vo.case_or_default_expected);case 3:return Me(Vo.Statement_expected);case 18:case 4:return Me(Vo.Property_or_signature_expected);case 5:return Me(Vo.Unexpected_token_A_constructor_method_accessor_or_property_was_expected);case 6:return Me(Vo.Enum_member_expected);case 7:return Me(Vo.Expression_expected);case 8:return hy(He())?Me(Vo._0_is_not_allowed_as_a_variable_declaration_name,us(He())):Me(Vo.Variable_declaration_expected);case 9:return Me(Vo.Property_destructuring_pattern_expected);case 10:return Me(Vo.Array_element_destructuring_pattern_expected);case 11:return Me(Vo.Argument_expression_expected);case 12:return Me(Vo.Property_assignment_expected);case 15:return Me(Vo.Expression_or_comma_expected);case 17:return Me(Vo.Parameter_declaration_expected);case 16:return hy(He())?Me(Vo._0_is_not_allowed_as_a_parameter_name,us(He())):Me(Vo.Parameter_declaration_expected);case 19:return Me(Vo.Type_parameter_declaration_expected);case 20:return Me(Vo.Type_argument_expected);case 21:return Me(Vo.Type_expected);case 22:return Me(Vo.Unexpected_token_expected);case 23:case 13:case 14:return Me(Vo.Identifier_expected);case 24:return Me(Vo.Identifier_or_string_literal_expected);case 25:return Nt.fail("ParsingContext.Count used as a context");default:Nt.assertNever(e)}}(e),!!function(){for(let e=0;e<25;e++)if(S&1<<e&&(Bn(e,!0)||zn(e)))return!0;return!1}()||(qe(),!1)}function et(e,n,t){const r=S;S|=1<<e;const i=[],a=Ve();let o=-1;for(;;)if(Bn(e,!1)){const a=c.getStartPos(),s=Xn(e,n);if(!s)return void(S=r);if(i.push(s),o=c.getTokenPos(),_n(27))continue;if(o=-1,zn(e))break;on(27,nt(e)),t&&26===He()&&!c.hasPrecedingLineBreak()&&qe(),a===c.getStartPos()&&qe()}else{if(zn(e))break;if(Zn(e))break}return S=r,bn(i,a,void 0,o>=0)}function nt(e){return 6===e?Vo.An_enum_member_name_must_be_followed_by_a_or:void 0}function tt(){const e=bn([],Ve());return e.isMissingList=!0,e}function rt(e,n,t,r){if(on(t)){const t=et(e,n);return on(r),t}return tt()}function it(e,n){const t=Ve();let r=e?kn(n):Cn(n);for(;_n(24)&&29!==He();)r=En(C.createQualifiedName(r,ot(e,!1)),t);return r}function at(e,n){return En(C.createQualifiedName(e,n),e.pos)}function ot(e,n){if(c.hasPrecedingLineBreak()&&ss(He())&&nn(ui))return Tn(79,!0,Vo.Identifier_expected);if(80===He()){const e=Rn();return n?e:Tn(79,!0,Vo.Identifier_expected)}return e?kn():Cn()}function st(e){const n=Ve();return En(C.createTemplateExpression(_t(e),function(e){const n=Ve(),t=[];let r;do{r=dt(e),t.push(r)}while(16===r.literal.kind);return bn(t,n)}(e)),n)}function ct(){const e=Ve();return En(C.createTemplateLiteralTypeSpan(pr(),lt(!1)),e)}function lt(e){return 19===He()?(function(e){b=c.reScanTemplateToken(e)}(e),function(){const e=ft(He());return Nt.assert(16===e.kind||17===e.kind,"Template fragment has wrong token kind"),e}()):fn(17,Vo._0_expected,us(19))}function dt(e){const n=Ve();return En(C.createTemplateSpan(Ee(gr),lt(e)),n)}function ut(){return ft(He())}function _t(e){e&&Xe();const n=ft(He());return Nt.assert(15===n.kind,"Template head has wrong token kind"),n}function ft(e){const n=Ve(),t=ad(e)?C.createTemplateLiteralLikeNode(e,c.getTokenValue(),function(e){const n=14===e||17===e,t=c.getTokenText();return t.substring(1,t.length-(c.isUnterminated()?0:n?1:2))}(e),2048&c.getTokenFlags()):8===e?I(c.getTokenValue(),c.getNumericLiteralFlags()):10===e?w(c.getTokenValue(),void 0,c.hasExtendedUnicodeEscape()):td(e)?R(e,c.getTokenValue()):Nt.fail();return c.hasExtendedUnicodeEscape()&&(t.hasExtendedUnicodeEscape=!0),c.isUnterminated()&&(t.isUnterminated=!0),qe(),En(t,n)}function mt(){return it(!0,Vo.Type_expected)}function ht(){if(!c.hasPrecedingLineBreak()&&29===Ye())return rt(20,pr,29,31)}function gt(){const e=Ve();return En(C.createTypeReferenceNode(mt(),ht()),e)}function yt(e){switch(e.kind){case 180:return Fp(e.typeName);case 181:case 182:{const{parameters:n,type:t}=e;return!!n.isMissingList||yt(t)}case 193:return yt(e.type);default:return!1}}function vt(){const e=Ve();return qe(),En(C.createThisTypeNode(),e)}function bt(){const e=Ve();let n;return 108!==He()&&103!==He()||(n=kn(),on(58)),En(C.createParameterDeclaration(void 0,void 0,n,void 0,Et(),void 0),e)}function Et(){c.setInJSDocType(!0);const e=Ve();if(_n(142)){const n=C.createJSDocNamepathType(void 0);e:for(;;)switch(He()){case 19:case 1:case 27:case 5:break e;default:ze()}return c.setInJSDocType(!1),En(n,e)}const n=_n(25);let t=ur();return c.setInJSDocType(!1),n&&(t=En(C.createJSDocVariadicType(t),e)),63===He()?(qe(),En(C.createJSDocOptionalType(t),e)):t}function Tt(){const e=Ve(),n=ji(!1,!0),t=Cn();let r,i;_n(94)&&(er()||!hr()?r=pr():i=Nr());const a=_n(63)?pr():void 0,o=C.createTypeParameterDeclaration(n,t,r,a);return o.expression=i,En(o,e)}function xt(){if(29===He())return rt(19,Tt,29,31)}function St(e){return 25===He()||Li()||yd(He())||59===He()||er(!e)}function At(e){return Lt(e)}function Lt(e,n=!0){const t=Ve(),r=je(),i=e?Le((()=>ji(!0))):Ce((()=>ji(!0)));if(108===He()){const e=C.createParameterDeclaration(i,void 0,An(!0),void 0,fr(),void 0),n=De(i);return n&&Be(n,Vo.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters),se(En(e,t),r)}const a=te;te=!1;const o=pn(25);if(!n&&!rn()&&22!==He()&&18!==He())return;const s=se(En(C.createParameterDeclaration(i,o,function(e){const n=Ci(Vo.Private_identifiers_cannot_be_used_as_parameters);return 0===gp(n)&&!ce(e)&&yd(He())&&qe(),n}(i),pn(57),fr(),yr()),t),r);return te=a,s}function Ct(e,n){if(function(e,n){return 38===e?(on(e),!0):!!_n(58)||!(!n||38!==He())&&(Me(Vo._0_expected,us(58)),qe(),!0)}(e,n))return xe(ur)}function kt(e,n){const t=Ie(),r=Oe();he(!!(1&e)),ye(!!(2&e));const i=32&e?et(17,bt):et(16,(()=>n?At(r):Lt(r,!1)));return he(t),ye(r),i}function It(e){if(!on(20))return tt();const n=kt(e,!0);return on(21),n}function wt(){_n(27)||vn()}function Rt(e){const n=Ve(),t=je();177===e&&on(103);const r=xt(),i=It(4),a=Ct(58,!0);return wt(),se(En(176===e?C.createCallSignature(r,i,a):C.createConstructSignature(r,i,a),n),t)}function Dt(){return 22===He()&&nn(Ot)}function Ot(){if(qe(),25===He()||23===He())return!0;if(yd(He())){if(qe(),an())return!0}else{if(!an())return!1;qe()}return 58===He()||27===He()||57===He()&&(qe(),58===He()||27===He()||23===He())}function Mt(e,n,t){const r=rt(16,(()=>At(!1)),22,23),i=fr();return wt(),se(En(C.createIndexSignature(t,r,i),e),n)}function Pt(){if(20===He()||29===He()||137===He()||151===He())return!0;let e=!1;for(;yd(He());)e=!0,qe();return 22===He()||(In()&&(e=!0,qe()),!!e&&(20===He()||29===He()||57===He()||58===He()||27===He()||hn()))}function Ft(){if(20===He()||29===He())return Rt(176);if(103===He()&&nn(Gt))return Rt(177);const e=Ve(),n=je(),t=ji(!1);return Nn(137)?Fi(e,n,t,174,4):Nn(151)?Fi(e,n,t,175,4):Dt()?Mt(e,n,t):function(e,n,t){const r=wn(),i=pn(57);let a;if(20===He()||29===He()){const e=xt(),n=It(4),o=Ct(58,!0);a=C.createMethodSignature(t,r,i,e,n,o)}else{const e=fr();a=C.createPropertySignature(t,r,i,e),63===He()&&(a.initializer=yr())}return wt(),se(En(a,e),n)}(e,n,t)}function Gt(){return qe(),20===He()||29===He()}function Bt(){return 24===qe()}function Ut(){switch(qe()){case 20:case 29:case 24:return!0}return!1}function Vt(){let e;return on(18)?(e=Jn(4,Ft),on(19)):e=tt(),e}function jt(){return qe(),39===He()||40===He()?146===qe():(146===He()&&qe(),22===He()&&Vn()&&101===qe())}function Ht(){const e=Ve();if(_n(25))return En(C.createRestTypeNode(pr()),e);const n=pr();if(Pw(n)&&n.pos===n.type.pos){const e=C.createOptionalTypeNode(n.type);return MN(e,n),e.flags=n.flags,e}return n}function Kt(){return 58===qe()||57===He()&&58===qe()}function Wt(){return 25===He()?ss(qe())&&Kt():ss(He())&&Kt()}function qt(){if(nn(Wt)){const e=Ve(),n=je(),t=pn(25),r=kn(),i=pn(57);on(58);const a=Ht();return se(En(C.createNamedTupleMember(t,r,i,a),e),n)}return Ht()}function zt(){const e=Ve(),n=je(),t=function(){let e;if(126===He()){const n=Ve();qe(),e=bn([En(O(126),n)],n)}return e}(),r=_n(103);Nt.assert(!t||r,"Per isStartOfFunctionOrConstructorType, a function type cannot have modifiers.");const i=xt(),a=It(4),o=Ct(38,!1);return se(En(r?C.createConstructorTypeNode(t,i,a,o):C.createFunctionTypeNode(i,a,o),e),n)}function Jt(){const e=mn();return 24===He()?void 0:e}function Xt(e){const n=Ve();e&&qe();let t=110===He()||95===He()||104===He()?mn():ft(He());return e&&(t=En(C.createPrefixUnaryExpression(40,t),n)),En(C.createLiteralTypeNode(t),n)}function Yt(){return qe(),100===He()}function $t(){_|=2097152;const e=Ve(),n=_n(112);on(100),on(20);const t=pr();let r;_n(27)&&(r=function(){const e=Ve(),n=c.getTokenPos();on(18);const t=c.hasPrecedingLineBreak();on(130),on(58);const r=oa(!0);if(!on(19)){const e=Fe(g);e&&e.code===Vo._0_expected.code&&iS(e,bT(u,n,1,Vo.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}return En(C.createImportTypeAssertionContainer(r,t),e)}()),on(21);const i=_n(24)?mt():void 0,a=ht();return En(C.createImportTypeNode(t,r,i,a,n),e)}function Qt(){return qe(),8===He()||9===He()}function Zt(){switch(He()){case 131:case 157:case 152:case 148:case 160:case 153:case 134:case 155:case 144:case 149:return tn(Jt)||gt();case 66:c.reScanAsteriskEqualsToken();case 41:return function(){const e=Ve();return qe(),En(C.createJSDocAllType(),e)}();case 60:c.reScanQuestionToken();case 57:return function(){const e=Ve();return qe(),27===He()||19===He()||21===He()||31===He()||63===He()||51===He()?En(C.createJSDocUnknownType(),e):En(C.createJSDocNullableType(pr(),!1),e)}();case 98:return function(){const e=Ve(),n=je();if(nn(ta)){qe();const t=It(36),r=Ct(58,!1);return se(En(C.createJSDocFunctionType(t,r),e),n)}return En(C.createTypeReferenceNode(kn(),void 0),e)}();case 53:return function(){const e=Ve();return qe(),En(C.createJSDocNonNullableType(Zt(),!1),e)}();case 14:case 10:case 8:case 9:case 110:case 95:case 104:return Xt();case 40:return nn(Qt)?Xt(!0):gt();case 114:return mn();case 108:{const n=vt();return 140!==He()||c.hasPrecedingLineBreak()?n:(e=n,qe(),En(C.createTypePredicateNode(void 0,e,pr()),e.pos))}case 112:return nn(Yt)?$t():function(){const e=Ve();on(112);const n=it(!0),t=c.hasPrecedingLineBreak()?void 0:Yi();return En(C.createTypeQueryNode(n,t),e)}();case 18:return nn(jt)?function(){const e=Ve();let n;on(18),146!==He()&&39!==He()&&40!==He()||(n=mn(),146!==n.kind&&on(146)),on(22);const t=function(){const e=Ve(),n=kn();on(101);const t=pr();return En(C.createTypeParameterDeclaration(void 0,n,t,void 0),e)}(),r=_n(128)?pr():void 0;let i;on(23),57!==He()&&39!==He()&&40!==He()||(i=mn(),57!==i.kind&&on(57));const a=fr();vn();const o=Jn(4,Ft);return on(19),En(C.createMappedTypeNode(n,t,r,i,a,o),e)}():function(){const e=Ve();return En(C.createTypeLiteralNode(Vt()),e)}();case 22:return function(){const e=Ve();return En(C.createTupleTypeNode(rt(21,qt,22,23)),e)}();case 20:return function(){const e=Ve();on(20);const n=pr();return on(21),En(C.createParenthesizedType(n),e)}();case 100:return $t();case 129:return nn(ui)?function(){const e=Ve(),n=fn(129),t=108===He()?vt():Cn(),r=_n(140)?pr():void 0;return En(C.createTypePredicateNode(n,t,r),e)}():gt();case 15:return function(){const e=Ve();return En(C.createTemplateLiteralType(_t(!1),function(){const e=Ve(),n=[];let t;do{t=ct(),n.push(t)}while(16===t.literal.kind);return bn(n,e)}()),e)}();default:return gt()}var e}function er(e){switch(He()){case 131:case 157:case 152:case 148:case 160:case 134:case 146:case 153:case 156:case 114:case 155:case 104:case 108:case 112:case 144:case 18:case 22:case 29:case 51:case 50:case 103:case 10:case 8:case 9:case 110:case 95:case 149:case 41:case 57:case 53:case 25:case 138:case 100:case 129:case 14:case 15:return!0;case 98:return!e;case 40:return!e&&nn(Qt);case 20:return!e&&nn(nr);default:return an()}}function nr(){return qe(),21===He()||St(!1)||er()}function tr(){const e=Ve();let n=Zt();for(;!c.hasPrecedingLineBreak();)switch(He()){case 53:qe(),n=En(C.createJSDocNonNullableType(n,!0),e);break;case 57:if(nn(qn))return n;qe(),n=En(C.createJSDocNullableType(n,!0),e);break;case 22:if(on(22),er()){const t=pr();on(23),n=En(C.createIndexedAccessTypeNode(n,t),e)}else on(23),n=En(C.createArrayTypeNode(n),e);break;default:return n}return n}function rr(){if(_n(94)){const e=Se(pr);if(Re()||57!==He())return e}}function ir(){const e=He();switch(e){case 141:case 156:case 146:return function(e){const n=Ve();return on(e),En(C.createTypeOperatorNode(e,ir()),n)}(e);case 138:return function(){const e=Ve();return on(138),En(C.createInferTypeNode(function(){const e=Ve(),n=Cn(),t=tn(rr);return En(C.createTypeParameterDeclaration(void 0,n,t),e)}()),e)}()}return xe(tr)}function ar(e){if(lr()){const n=zt();let t;return t=ik(n)?e?Vo.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:Vo.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:e?Vo.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:Vo.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type,Be(n,t),n}}function or(e,n,t){const r=Ve(),i=51===e,a=_n(e);let o=a&&ar(i)||n();if(He()===e||a){const a=[o];for(;_n(e);)a.push(ar(i)||n());o=En(t(bn(a,r)),r)}return o}function sr(){return or(50,ir,C.createIntersectionTypeNode)}function cr(){return qe(),103===He()}function lr(){return 29===He()||!(20!==He()||!nn(dr))||103===He()||126===He()&&nn(cr)}function dr(){if(qe(),21===He()||25===He())return!0;if(function(){if(yd(He())&&ji(!1),an()||108===He())return qe(),!0;if(22===He()||18===He()){const e=g.length;return Ci(),e===g.length}return!1}()){if(58===He()||27===He()||57===He()||63===He())return!0;if(21===He()&&(qe(),38===He()))return!0}return!1}function ur(){const e=Ve(),n=an()&&tn(_r),t=pr();return n?En(C.createTypePredicateNode(void 0,n,t),e):t}function _r(){const e=Cn();if(140===He()&&!c.hasPrecedingLineBreak())return qe(),e}function pr(){if(40960&L)return ve(40960,pr);if(lr())return zt();const e=Ve(),n=or(51,sr,C.createUnionTypeNode);if(!Re()&&!c.hasPrecedingLineBreak()&&_n(94)){const t=Se(pr);on(57);const r=xe(pr);on(58);const i=xe(pr);return En(C.createConditionalTypeNode(n,t,r,i),e)}return n}function fr(){return _n(58)?pr():void 0}function mr(){switch(He()){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 nn(Ut);default:return an()}}function hr(){if(mr())return!0;switch(He()){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 45:case 46:case 29:case 133:case 125:case 80:case 59:return!0;default:return!!kr()||an()}}function gr(){const e=Ne();e&&ge(!1);const n=Ve();let t,r=vr(!0);for(;t=pn(27);)r=Ir(r,t,vr(!0),n);return e&&ge(!0),r}function yr(){return _n(63)?vr(!0):void 0}function vr(e){if(125===He()&&(Ie()||nn(fi)))return function(){const e=Ve();return qe(),c.hasPrecedingLineBreak()||41!==He()&&!hr()?En(C.createYieldExpression(void 0,void 0),e):En(C.createYieldExpression(pn(41),vr(!0)),e)}();const n=function(e){const n=20===He()||29===He()||132===He()?nn(Er):38===He()?1:0;if(0!==n)return 1===n?xr(!0,!0):tn((()=>function(e){const n=c.getTokenPos();if(null==A?void 0:A.has(n))return;const t=xr(!1,e);return t||(A||(A=new Set)).add(n),t}(e)))}(e)||function(e){if(132===He()&&1===nn(Tr)){const n=Ve(),t=Hi();return br(n,Ar(0),e,t)}}(e);if(n)return n;const t=Ve(),r=Ar(0);return 79===r.kind&&38===He()?br(t,r,e,void 0):au(r)&&Pb(Je())?Ir(r,mn(),vr(e),t):function(e,n,t){const r=pn(57);if(!r)return e;let i;return En(C.createConditionalExpression(e,r,ve(l,(()=>vr(!1))),i=fn(58),Gp(i)?vr(t):Tn(79,!1,Vo._0_expected,us(58))),n)}(r,t,e)}function br(e,n,t,r){Nt.assert(38===He(),"parseSimpleArrowFunctionExpression should only have been called if we had a =>");const i=C.createParameterDeclaration(void 0,void 0,n,void 0,void 0,void 0);En(i,n.pos);const a=bn([i],i.pos,i.end),o=fn(38),s=Sr(!!r,t);return ue(En(C.createArrowFunction(r,void 0,a,void 0,o,s),e))}function Er(){if(132===He()){if(qe(),c.hasPrecedingLineBreak())return 0;if(20!==He()&&29!==He())return 0}const e=He(),n=qe();if(20===e){if(21===n)switch(qe()){case 38:case 58:case 18:return 1;default:return 0}if(22===n||18===n)return 2;if(25===n)return 1;if(yd(n)&&132!==n&&nn(Vn))return 128===qe()?0:1;if(!an()&&108!==n)return 0;switch(qe()){case 58:return 1;case 57:return qe(),58===He()||27===He()||63===He()||21===He()?1:0;case 27:case 63:case 21:return 2}return 0}return Nt.assert(29===e),an()||85===He()?1===h?nn((()=>{_n(85);const e=qe();if(94===e)switch(qe()){case 63:case 31:case 43:return!1;default:return!0}else if(27===e||63===e)return!0;return!1}))?1:0:2:0}function Tr(){if(132===He()){if(qe(),c.hasPrecedingLineBreak()||38===He())return 0;const e=Ar(0);if(!c.hasPrecedingLineBreak()&&79===e.kind&&38===He())return 1}return 0}function xr(e,n){const t=Ve(),r=je(),i=Hi(),a=ce(i,IC)?2:0,o=xt();let s;if(on(20)){if(e)s=kt(a,e);else{const n=kt(a,e);if(!n)return;s=n}if(!on(21)&&!e)return}else{if(!e)return;s=tt()}const c=58===He(),l=Ct(58,!1);if(l&&!e&&yt(l))return;let d=l;for(;193===(null==d?void 0:d.kind);)d=d.type;const u=d&&Bw(d);if(!e&&38!==He()&&(u||18!==He()))return;const _=He(),p=fn(38),f=38===_||18===_?Sr(ce(i,IC),n):Cn();return n||!c||58===He()?se(En(C.createArrowFunction(i,o,s,l,p,f),t),r):void 0}function Sr(e,n){if(18===He())return ci(e?2:0);if(26!==He()&&98!==He()&&84!==He()&&gi()&&(18===He()||98===He()||84===He()||59===He()||!hr()))return ci(16|(e?2:0));const t=te;te=!1;const r=e?Le((()=>vr(n))):Ce((()=>vr(n)));return te=t,r}function Ar(e){const n=Ve();return Cr(e,Nr(),n)}function Lr(e){return 101===e||162===e}function Cr(e,n,t){for(;;){Je();const a=ev(He());if(!(42===He()?a>=e:a>e))break;if(101===He()&&we())break;if(128===He()||150===He()){if(c.hasPrecedingLineBreak())break;{const e=He();qe(),n=150===e?(r=n,i=pr(),En(C.createSatisfiesExpression(r,i),r.pos)):wr(n,pr())}}else n=Ir(n,mn(),Ar(a),t)}var r,i;return n}function kr(){return(!we()||101!==He())&&ev(He())>0}function Ir(e,n,t,r){return En(C.createBinaryExpression(e,n,t),r)}function wr(e,n){return En(C.createAsExpression(e,n),e.pos)}function Rr(){const e=Ve();return En(C.createPrefixUnaryExpression(He(),We(Dr)),e)}function Nr(){if(function(){switch(He()){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 133:return!1;case 29:if(1!==h)return!1;default:return!0}}()){const e=Ve(),n=Or();return 42===He()?Cr(ev(He()),n,e):n}const e=He(),n=Dr();if(42===He()){const t=ks(p,n.pos),{end:r}=n;213===n.kind?Ge(t,r,Vo.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):Ge(t,r,Vo.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,us(e))}return n}function Dr(){switch(He()){case 39:case 40:case 54:case 53:return Rr();case 89:return function(){const e=Ve();return En(C.createDeleteExpression(We(Dr)),e)}();case 112:return function(){const e=Ve();return En(C.createTypeOfExpression(We(Dr)),e)}();case 114:return function(){const e=Ve();return En(C.createVoidExpression(We(Dr)),e)}();case 29:return 1===h?Fr(!0):function(){Nt.assert(1!==h,"Type assertions should never be parsed in JSX; they should be parsed as comparisons or JSX elements/fragments.");const e=Ve();on(29);const n=pr();on(31);const t=Dr();return En(C.createTypeAssertion(n,t),e)}();case 133:if(133===He()&&(Oe()||nn(fi)))return function(){const e=Ve();return En(C.createAwaitExpression(We(Dr)),e)}();default:return Or()}}function Or(){if(45===He()||46===He()){const e=Ve();return En(C.createPrefixUnaryExpression(He(),We(Mr)),e)}if(1===h&&29===He()&&nn(Hn))return Fr(!0);const e=Mr();if(Nt.assert(au(e)),(45===He()||46===He())&&!c.hasPrecedingLineBreak()){const n=He();return qe(),En(C.createPostfixUnaryExpression(e,n),e.pos)}return e}function Mr(){const e=Ve();let n;return 100===He()?nn(Gt)?(_|=2097152,n=mn()):nn(Bt)?(qe(),qe(),n=En(C.createMetaProperty(100,kn()),e),_|=4194304):n=Pr():n=106===He()?function(){const e=Ve();let n=mn();if(29===He()){const e=Ve(),t=tn(Qr);void 0!==t&&(Ge(e,Ve(),Vo.super_may_not_use_type_arguments),Jr()||(n=C.createExpressionWithTypeArguments(n,t)))}return 20===He()||24===He()||22===He()?n:(fn(24,Vo.super_must_be_followed_by_an_argument_list_or_member_access),En(G(n,ot(!0,!0)),e))}():Pr(),Yr(e,n)}function Pr(){return zr(Ve(),Zr(),!0)}function Fr(e,n,t){const r=Ve(),i=function(e){const n=Ve();if(on(29),31===He())return Ze(),En(C.createJsxOpeningFragment(),n);const t=Ur(),r=0==(262144&L)?Yi():void 0,i=function(){const e=Ve();return En(C.createJsxAttributes(Jn(13,jr)),e)}();let a;return 31===He()?(Ze(),a=C.createJsxOpeningElement(t,r,i)):(on(43),on(31,void 0,!1)&&(e?qe():Ze()),a=C.createJsxSelfClosingElement(t,r,i)),En(a,n)}(e);let a;if(283===i.kind){let n,o=Br(i);const s=o[o.length-1];if(281===(null==s?void 0:s.kind)&&!GD(s.openingElement.tagName,s.closingElement.tagName)&&GD(i.tagName,s.closingElement.tagName)){const e=s.children.end,t=En(C.createJsxElement(s.openingElement,s.children,En(C.createJsxClosingElement(En(N(""),e,e)),e,e)),s.openingElement.pos,e);o=bn([...o.slice(0,o.length-1),t],o.pos,e),n=s.closingElement}else n=function(e,n){const t=Ve();on(30);const r=Ur();return on(31,void 0,!1)&&(n||!GD(e.tagName,r)?qe():Ze()),En(C.createJsxClosingElement(r),t)}(i,e),GD(i.tagName,n.tagName)||(t&&sw(t)&&GD(n.tagName,t.tagName)?Be(i.tagName,Vo.JSX_element_0_has_no_corresponding_closing_tag,nf(p,i.tagName)):Be(n.tagName,Vo.Expected_corresponding_JSX_closing_tag_for_0,nf(p,i.tagName)));a=En(C.createJsxElement(i,o,n),r)}else 286===i.kind?a=En(C.createJsxFragment(i,Br(i),function(e){const n=Ve();return on(30),on(31,Vo.Expected_corresponding_closing_tag_for_JSX_fragment,!1)&&(e?qe():Ze()),En(C.createJsxJsxClosingFragment(),n)}(e)),r):(Nt.assert(282===i.kind),a=i);if(e&&29===He()){const e=void 0===n?a.pos:n,t=tn((()=>Fr(!0,e)));if(t){const n=Tn(27,!1);return ES(n,t.pos,0),Ge(ks(p,e),t.end,Vo.JSX_expressions_must_have_one_parent_element),En(C.createBinaryExpression(a,n,t),r)}}return a}function Gr(e,n){switch(n){case 1:if(dw(e))Be(e,Vo.JSX_fragment_has_no_corresponding_closing_tag);else{const n=e.tagName;Ge(ks(p,n.pos),n.end,Vo.JSX_element_0_has_no_corresponding_closing_tag,nf(p,e.tagName))}return;case 30:case 7:return;case 11:case 12:return function(){const e=Ve(),n=C.createJsxText(c.getTokenValue(),12===b);return b=c.scanJsxToken(),En(n,e)}();case 18:return Vr(!1);case 29:return Fr(!1,void 0,e);default:return Nt.assertNever(n)}}function Br(e){const n=[],t=Ve(),r=S;for(S|=16384;;){const t=Gr(e,b=c.reScanJsxToken());if(!t)break;if(n.push(t),sw(e)&&281===(null==t?void 0:t.kind)&&!GD(t.openingElement.tagName,t.closingElement.tagName)&&GD(e.tagName,t.closingElement.tagName))break}return S=r,bn(n,t)}function Ur(){const e=Ve();Qe();let n=108===He()?mn():kn();for(;_n(24);)n=En(G(n,ot(!0,!1)),e);return n}function Vr(e){const n=Ve();if(!on(18))return;let t,r;return 19!==He()&&(t=pn(25),r=gr()),e?on(19):on(19,void 0,!1)&&Ze(),En(C.createJsxExpression(t,r),n)}function jr(){if(18===He())return function(){const e=Ve();on(18),on(25);const n=gr();return on(19),En(C.createJsxSpreadAttribute(n),e)}();Qe();const e=Ve();return En(C.createJsxAttribute(kn(),function(){if(63===He()){if(10===(b=c.scanJsxAttributeValue()))return ut();if(18===He())return Vr(!0);if(29===He())return Fr(!0);Me(Vo.or_JSX_element_expected)}}()),e)}function Hr(){return qe(),ss(He())||22===He()||Jr()}function Kr(e){if(32&e.flags)return!0;if(tI(e)){let n=e.expression;for(;tI(n)&&!(32&n.flags);)n=n.expression;if(32&n.flags){for(;tI(e);)e.flags|=32,e=e.expression;return!0}}return!1}function Wr(e,n,t){const r=ot(!0,!0),i=t||Kr(n),a=i?B(n,t,r):G(n,r);return i&&LC(a.name)&&Be(a.name,Vo.An_optional_chain_cannot_contain_private_identifiers),Zk(n)&&n.typeArguments&&Ge(n.typeArguments.pos-1,ks(p,n.typeArguments.end)+1,Vo.An_instantiation_expression_cannot_be_followed_by_a_property_access),En(a,e)}function qr(e,n,t){let r;if(23===He())r=Tn(79,!0,Vo.An_element_access_expression_should_take_an_argument);else{const e=Ee(gr);Ly(e)&&(e.text=Sn(e.text)),r=e}return on(23),En(t||Kr(n)?V(n,t,r):U(n,r),e)}function zr(e,n,t){for(;;){let r,i=!1;if(t&&28===He()&&nn(Hr)?(r=fn(28),i=ss(He())):i=_n(24),i)n=Wr(e,n,r);else if(!r&&Ne()||!_n(22)){if(!Jr()){if(!r){if(53===He()&&!c.hasPrecedingLineBreak()){qe(),n=En(C.createNonNullExpression(n),e);continue}const t=tn(Qr);if(t){n=En(C.createExpressionWithTypeArguments(n,t),e);continue}}return n}n=r||230!==n.kind?Xr(e,n,r,void 0):Xr(e,n.expression,r,n.typeArguments)}else n=qr(e,n,r)}}function Jr(){return 14===He()||15===He()}function Xr(e,n,t,r){const i=C.createTaggedTemplateExpression(n,r,14===He()?(Xe(),ut()):st(!0));return(t||32&n.flags)&&(i.flags|=32),i.questionDotToken=t,En(i,e)}function Yr(e,n){for(;;){let t;n=zr(e,n,!0);const r=pn(28);if(r&&(t=tn(Qr),Jr()))n=Xr(e,n,r,t);else{if(!t&&20!==He()){if(r){const t=Tn(79,!1,Vo.Identifier_expected);n=En(B(n,r,t),e)}break}{r||230!==n.kind||(t=n.typeArguments,n=n.expression);const i=$r();n=En(r||Kr(n)?H(n,r,t,i):j(n,t,i),e)}}}return n}function $r(){on(20);const e=et(11,ni);return on(21),e}function Qr(){if(0!=(262144&L))return;if(29!==Ye())return;qe();const e=et(20,pr);return 31===Je()?(qe(),e&&function(){switch(He()){case 20:case 14:case 15:return!0;case 29:case 31:case 39:case 40:return!1}return c.hasPrecedingLineBreak()||kr()||!hr()}()?e:void 0):void 0}function Zr(){switch(He()){case 8:case 9:case 10:case 14:return ut();case 108:case 106:case 104:case 110:case 95:return mn();case 20:return function(){const e=Ve(),n=je();on(20);const t=Ee(gr);return on(21),se(En(W(t),e),n)}();case 22:return ti();case 18:return ii();case 132:if(!nn(pi))break;return ai();case 59:return function(){const e=Ve(),n=je(),t=ji(!0);if(84===He())return qi(e,n,t,228);const r=Tn(279,!0,Vo.Expression_expected);return yS(r,e),r.modifiers=t,r}();case 84:return qi(Ve(),je(),void 0,228);case 98:return ai();case 103:return function(){const e=Ve();if(on(103),_n(24)){const n=kn();return En(C.createMetaProperty(103,n),e)}let n,t=zr(Ve(),Zr(),!1);230===t.kind&&(n=t.typeArguments,t=t.expression),28===He()&&Me(Vo.Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0,nf(p,t));const r=20===He()?$r():void 0;return En(K(t,n,r),e)}();case 43:case 68:if(13===(b=c.reScanSlashToken()))return ut();break;case 15:return st(!1);case 80:return Rn()}return Cn(Vo.Expression_expected)}function ei(){return 25===He()?function(){const e=Ve();on(25);const n=vr(!0);return En(C.createSpreadElement(n),e)}():27===He()?En(C.createOmittedExpression(),Ve()):vr(!0)}function ni(){return ve(l,ei)}function ti(){const e=Ve(),n=c.getTokenPos(),t=on(22),r=c.hasPrecedingLineBreak(),i=et(15,ei);return un(22,23,t,n),En(P(i,r),e)}function ri(){const e=Ve(),n=je();if(pn(25)){const t=vr(!0);return se(En(C.createSpreadAssignment(t),e),n)}const t=ji(!0);if(Nn(137))return Fi(e,n,t,174,0);if(Nn(151))return Fi(e,n,t,175,0);const r=pn(41),i=an(),a=wn(),o=pn(57),s=pn(53);if(r||20===He()||29===He())return Oi(e,n,t,r,a,o,s);let c;if(i&&58!==He()){const e=pn(63),n=e?Ee((()=>vr(!0))):void 0;c=C.createShorthandPropertyAssignment(a,n),c.equalsToken=e}else{on(58);const e=Ee((()=>vr(!0)));c=C.createPropertyAssignment(a,e)}return c.modifiers=t,c.questionToken=o,c.exclamationToken=s,se(En(c,e),n)}function ii(){const e=Ve(),n=c.getTokenPos(),t=on(18),r=c.hasPrecedingLineBreak(),i=et(12,ri,!0);return un(18,19,t,n),En(F(i,r),e)}function ai(){const e=Ne();ge(!1);const n=Ve(),t=je(),r=ji(!1);on(98);const i=pn(41),a=i?1:0,o=ce(r,IC)?2:0,s=a&&o?be(40960,oi):a?be(8192,oi):o?Le(oi):oi();const c=xt(),l=It(a|o),d=Ct(58,!1),u=ci(a|o);return ge(e),se(En(C.createFunctionExpression(r,i,s,c,l,d,u),n),t)}function oi(){return rn()?Ln():void 0}function si(e,n){const t=Ve(),r=je(),i=c.getTokenPos(),a=on(18,n);if(a||e){const e=c.hasPrecedingLineBreak(),n=Jn(1,vi);un(18,19,a,i);const o=se(En(q(n,e),t),r);return 63===He()&&(Me(Vo.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_whole_assignment_in_parentheses),qe()),o}{const e=tt();return se(En(q(e,void 0),t),r)}}function ci(e,n){const t=Ie();he(!!(1&e));const r=Oe();ye(!!(2&e));const i=te;te=!1;const a=Ne();a&&ge(!1);const o=si(!!(16&e),n);return a&&ge(!0),te=i,he(t),ye(r),o}function li(e){const n=Ve(),t=je();on(249===e?81:86);const r=hn()?void 0:Cn();return vn(),se(En(249===e?C.createBreakStatement(r):C.createContinueStatement(r),n),t)}function di(){return 82===He()?function(){const e=Ve(),n=je();on(82);const t=Ee(gr);on(58);const r=Jn(3,vi);return se(En(C.createCaseClause(t,r),e),n)}():function(){const e=Ve();on(88),on(58);const n=Jn(3,vi);return En(C.createDefaultClause(n),e)}()}function ui(){return qe(),ss(He())&&!c.hasPrecedingLineBreak()}function _i(){return qe(),84===He()&&!c.hasPrecedingLineBreak()}function pi(){return qe(),98===He()&&!c.hasPrecedingLineBreak()}function fi(){return qe(),(ss(He())||8===He()||9===He()||10===He())&&!c.hasPrecedingLineBreak()}function mi(){for(;;)switch(He()){case 113:case 119:case 85:case 98:case 84:case 92:return!0;case 118:case 154:return qe(),!c.hasPrecedingLineBreak()&&an();case 142:case 143:return qe(),!c.hasPrecedingLineBreak()&&(an()||10===He());case 126:case 127:case 132:case 136:case 121:case 122:case 123:case 146:if(qe(),c.hasPrecedingLineBreak())return!1;continue;case 159:return qe(),18===He()||79===He()||93===He();case 100:return qe(),10===He()||41===He()||18===He()||ss(He());case 93:let e=qe();if(154===e&&(e=nn(qe)),63===e||41===e||18===e||88===e||128===e||59===e)return!0;continue;case 124:qe();continue;default:return!1}}function hi(){return nn(mi)}function gi(){switch(He()){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:case 132:case 136:case 118:case 142:case 143:case 154:case 159:return!0;case 100:return hi()||nn(Ut);case 85:case 93:return hi();case 127:case 123:case 121:case 122:case 124:case 146:return hi()||!nn(ui);default:return hr()}}function yi(){return qe(),rn()||18===He()||22===He()}function vi(){switch(He()){case 26:return function(){const e=Ve(),n=je();return on(26),se(En(C.createEmptyStatement(),e),n)}();case 18:return si(!1);case 113:return Ni(Ve(),je(),void 0);case 119:if(nn(yi))return Ni(Ve(),je(),void 0);break;case 98:return Di(Ve(),je(),void 0);case 84:return Wi(Ve(),je(),void 0);case 99:return function(){const e=Ve(),n=je();on(99);const t=c.getTokenPos(),r=on(20),i=Ee(gr);un(20,21,r,t);const a=vi(),o=_n(91)?vi():void 0;return se(En(X(i,a,o),e),n)}();case 90:return function(){const e=Ve(),n=je();on(90);const t=vi();on(115);const r=c.getTokenPos(),i=on(20),a=Ee(gr);return un(20,21,i,r),_n(26),se(En(C.createDoStatement(t,a),e),n)}();case 115:return function(){const e=Ve(),n=je();on(115);const t=c.getTokenPos(),r=on(20),i=Ee(gr);un(20,21,r,t);const a=vi();return se(En(Y(i,a),e),n)}();case 97:return function(){const e=Ve(),n=je();on(97);const t=pn(133);let r,i;if(on(20),26!==He()&&(r=113===He()||119===He()||85===He()?wi(!0):be(4096,gr)),t?on(162):_n(162)){const e=Ee((()=>vr(!0)));on(21),i=Q(t,r,e,vi())}else if(_n(101)){const e=Ee(gr);on(21),i=C.createForInStatement(r,e,vi())}else{on(26);const e=26!==He()&&21!==He()?Ee(gr):void 0;on(26);const n=21!==He()?Ee(gr):void 0;on(21),i=$(r,e,n,vi())}return se(En(i,e),n)}();case 86:return li(248);case 81:return li(249);case 105:return function(){const e=Ve(),n=je();on(105);const t=hn()?void 0:Ee(gr);return vn(),se(En(C.createReturnStatement(t),e),n)}();case 116:return function(){const e=Ve(),n=je();on(116);const t=c.getTokenPos(),r=on(20),i=Ee(gr);un(20,21,r,t);const a=be(33554432,vi);return se(En(C.createWithStatement(i,a),e),n)}();case 107:return function(){const e=Ve(),n=je();on(107),on(20);const t=Ee(gr);on(21);const r=function(){const e=Ve();on(18);const n=Jn(2,di);return on(19),En(C.createCaseBlock(n),e)}();return se(En(C.createSwitchStatement(t,r),e),n)}();case 109:return function(){const e=Ve(),n=je();on(109);let t=c.hasPrecedingLineBreak()?void 0:Ee(gr);return void 0===t&&(x++,t=En(N(""),Ve())),yn()||cn(t),se(En(C.createThrowStatement(t),e),n)}();case 111:case 83:case 96:return function(){const e=Ve(),n=je();on(111);const t=si(!1),r=83===He()?function(){const e=Ve();let n;on(83),_n(20)?(n=Ii(),on(21)):n=void 0;const t=si(!1);return En(C.createCatchClause(n,t),e)}():void 0;let i;return r&&96!==He()||(on(96,Vo.catch_or_finally_expected),i=si(!1)),se(En(C.createTryStatement(t,r,i),e),n)}();case 87:return function(){const e=Ve(),n=je();return on(87),vn(),se(En(C.createDebuggerStatement(),e),n)}();case 59:return Ei();case 132:case 118:case 154:case 142:case 143:case 136:case 85:case 92:case 93:case 100:case 121:case 122:case 123:case 126:case 127:case 124:case 146:case 159:if(hi())return Ei()}return function(){const e=Ve();let n,t=je();const r=20===He(),i=Ee(gr);return AC(i)&&_n(58)?n=C.createLabeledStatement(i,vi()):(yn()||cn(i),n=J(i),r&&(t=!1)),se(En(n,e),t)}()}function bi(e){return 136===e.kind}function Ei(){const e=Ve(),n=je(),t=ji(!0);if(ce(t,bi)){const r=function(e){return be(16777216,(()=>{const n=Yn(S,e);if(n)return $n(n)}))}(e);if(r)return r;for(const e of t)e.flags|=16777216;return be(16777216,(()=>Ti(e,n,t)))}return Ti(e,n,t)}function Ti(e,n,t){switch(He()){case 113:case 119:case 85:return Ni(e,n,t);case 98:return Di(e,n,t);case 84:return Wi(e,n,t);case 118:return function(e,n,t){on(118);const r=Cn(),i=xt(),a=zi(),o=Vt();return se(En(C.createInterfaceDeclaration(t,r,i,a,o),e),n)}(e,n,t);case 154:return function(e,n,t){on(154);const r=Cn(),i=xt();on(63);const a=139===He()&&tn(Jt)||pr();return vn(),se(En(C.createTypeAliasDeclaration(t,r,i,a),e),n)}(e,n,t);case 92:return function(e,n,t){on(92);const r=Cn();let i;return on(18)?(i=ve(40960,(()=>et(6,Qi))),on(19)):i=tt(),se(En(C.createEnumDeclaration(t,r,i),e),n)}(e,n,t);case 159:case 142:case 143:return function(e,n,t){let r=0;if(159===He())return na(e,n,t);if(_n(143))r|=16;else if(on(142),10===He())return na(e,n,t);return ea(e,n,t,r)}(e,n,t);case 100:return function(e,n,t){on(100);const r=c.getStartPos();let i;an()&&(i=Cn());let a,o=!1;if(158===He()||"type"!==(null==i?void 0:i.escapedText)||!an()&&41!==He()&&18!==He()||(o=!0,i=an()?Cn():void 0),i&&27!==He()&&158!==He())return function(e,n,t,r,i){on(63);const a=147===He()&&nn(ta)?function(){const e=Ve();on(147),on(20);const n=sa();return on(21),En(C.createExternalModuleReference(n),e)}():it(!1);vn();return se(En(C.createImportEqualsDeclaration(t,i,r,a),e),n)}(e,n,t,i,o);(i||41===He()||18===He())&&(a=function(e,n,t){let r;return e&&!_n(27)||(r=41===He()?function(){const e=Ve();on(41),on(128);const n=Cn();return En(C.createNamespaceImport(n),e)}():ca(272)),En(C.createImportClause(t,e,r),n)}(i,r,o),on(158));const s=sa();let l;return 130!==He()||c.hasPrecedingLineBreak()||(l=oa()),vn(),se(En(C.createImportDeclaration(t,a,s,l),e),n)}(e,n,t);case 93:switch(qe(),He()){case 88:case 63:return function(e,n,t){const r=Oe();let i;ye(!0),_n(63)?i=!0:on(88);const a=vr(!0);return vn(),ye(r),se(En(C.createExportAssignment(t,i,a),e),n)}(e,n,t);case 128:return function(e,n,t){on(128),on(143);const r=Cn();vn();const i=C.createNamespaceExportDeclaration(r);return i.modifiers=t,se(En(i,e),n)}(e,n,t);default:return function(e,n,t){const r=Oe();let i,a,o;ye(!0);const s=_n(154),l=Ve();return _n(41)?(_n(128)&&(i=function(e){return En(C.createNamespaceExport(kn()),e)}(l)),on(158),a=sa()):(i=ca(276),(158===He()||10===He()&&!c.hasPrecedingLineBreak())&&(on(158),a=sa())),a&&130===He()&&!c.hasPrecedingLineBreak()&&(o=oa()),vn(),ye(r),se(En(C.createExportDeclaration(t,s,i,a,o),e),n)}(e,n,t)}default:if(t){const n=Tn(279,!0,Vo.Declaration_expected);return yS(n,e),n.modifiers=t,n}return}}function xi(e,n){if(18!==He()){if(4&e)return void wt();if(hn())return void vn()}return ci(e,n)}function Si(){const e=Ve();if(27===He())return En(C.createOmittedExpression(),e);const n=pn(25),t=Ci(),r=yr();return En(C.createBindingElement(n,void 0,t,r),e)}function Ai(){const e=Ve(),n=pn(25),t=rn();let r,i=wn();t&&58!==He()?(r=i,i=void 0):(on(58),r=Ci());const a=yr();return En(C.createBindingElement(n,i,r,a),e)}function Li(){return 18===He()||22===He()||80===He()||rn()}function Ci(e){return 22===He()?function(){const e=Ve();on(22);const n=et(10,Si);return on(23),En(C.createArrayBindingPattern(n),e)}():18===He()?function(){const e=Ve();on(18);const n=et(9,Ai);return on(19),En(C.createObjectBindingPattern(n),e)}():Ln(e)}function ki(){return Ii(!0)}function Ii(e){const n=Ve(),t=je(),r=Ci(Vo.Private_identifiers_are_not_allowed_in_variable_declarations);let i;e&&79===r.kind&&53===He()&&!c.hasPrecedingLineBreak()&&(i=mn());const a=fr(),o=Lr(He())?void 0:yr();return se(En(Z(r,i,a,o),n),t)}function wi(e){const n=Ve();let t,r=0;switch(He()){case 113:break;case 119:r|=1;break;case 85:r|=2;break;default:Nt.fail()}if(qe(),162===He()&&nn(Ri))t=tt();else{const n=we();me(e),t=et(8,e?Ii:ki),me(n)}return En(ne(t,r),n)}function Ri(){return Vn()&&21===qe()}function Ni(e,n,t){const r=wi(!1);return vn(),se(En(z(t,r),e),n)}function Di(e,n,t){const r=Oe(),i=kb(t);on(98);const a=pn(41),o=1024&i?oi():Ln(),s=a?1:0,c=512&i?2:0,l=xt();1&i&&ye(!0);const d=It(s|c),u=Ct(58,!1),_=xi(s|c,Vo.or_expected);return ye(r),se(En(C.createFunctionDeclaration(t,a,o,l,d,u,_),e),n)}function Oi(e,n,t,r,i,a,o,s){const c=r?1:0,l=ce(t,IC)?2:0,d=xt(),u=It(c|l),_=Ct(58,!1),p=xi(c|l,s),f=C.createMethodDeclaration(t,r,i,a,d,u,_,p);return f.exclamationToken=o,se(En(f,e),n)}function Mi(e,n,t,r,i){const a=i||c.hasPrecedingLineBreak()?void 0:pn(53),o=fr(),s=ve(45056,yr);return function(e,n,t){if(59!==He()||c.hasPrecedingLineBreak())return 20===He()?(Me(Vo.Cannot_start_a_function_call_in_a_type_annotation),void qe()):void(!n||hn()?yn()||(t?Me(Vo._0_expected,us(26)):cn(e)):t?Me(Vo._0_expected,us(26)):Me(Vo.Expected_for_property_initializer));Me(Vo.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations)}(r,o,s),se(En(C.createPropertyDeclaration(t,r,i||a,o,s),e),n)}function Pi(e,n,t){const r=pn(41),i=wn(),a=pn(57);return r||20===He()||29===He()?Oi(e,n,t,r,i,a,void 0,Vo.or_expected):Mi(e,n,t,i,a)}function Fi(e,n,t,r,i){const a=wn(),o=xt(),s=It(0),c=Ct(58,!1),l=xi(i),d=174===r?C.createGetAccessorDeclaration(t,a,s,c,l):C.createSetAccessorDeclaration(t,a,s,l);return d.typeParameters=o,QC(d)&&(d.type=c),se(En(d,e),n)}function Gi(){let e;if(59===He())return!0;for(;yd(He());){if(e=He(),bd(e))return!0;qe()}if(41===He())return!0;if(In()&&(e=He(),qe()),22===He())return!0;if(void 0!==e){if(!hy(e)||151===e||137===e)return!0;switch(He()){case 20:case 29:case 53:case 58:case 63:case 57:return!0;default:return hn()}}return!1}function Bi(){if(Oe()&&133===He()){const e=Ve(),n=Cn(Vo.Expression_expected);return qe(),Yr(e,zr(e,n,!0))}return Mr()}function Ui(){const e=Ve();if(!_n(59))return;const n=be(16384,Bi);return En(C.createDecorator(n),e)}function Vi(e,n,t){const r=Ve(),i=He();if(85===He()&&n){if(!tn(Dn))return}else{if(t&&124===He()&&nn(ra))return;if(e&&124===He())return;if(!yd(He())||!tn(On))return}return En(O(i),r)}function ji(e,n,t){const r=Ve();let i,a,o,s=!1,c=!1,l=!1;if(e&&59===He())for(;a=Ui();)i=Te(i,a);for(;o=Vi(s,n,t);)124===o.kind&&(s=!0),i=Te(i,o),c=!0;if(c&&e&&59===He())for(;a=Ui();)i=Te(i,a),l=!0;if(l)for(;o=Vi(s,n,t);)124===o.kind&&(s=!0),i=Te(i,o);return i&&bn(i,r)}function Hi(){let e;if(132===He()){const n=Ve();qe(),e=bn([En(O(132),n)],n)}return e}function Ki(){const e=Ve();if(26===He())return qe(),En(C.createSemicolonClassElement(),e);const n=je(),t=ji(!0,!0,!0);if(124===He()&&nn(ra))return function(e,n,t){fn(124);const r=function(){const e=Ie(),n=Oe();he(!1),ye(!0);const t=si(!1);return he(e),ye(n),t}(),i=se(En(C.createClassStaticBlockDeclaration(r),e),n);return i.modifiers=t,i}(e,n,t);if(Nn(137))return Fi(e,n,t,174,0);if(Nn(151))return Fi(e,n,t,175,0);if(135===He()||10===He()){const r=function(e,n,t){return tn((()=>{if(135===He()?on(135):10===He()&&20===nn(qe)?tn((()=>{const e=ut();return"constructor"===e.text?e:void 0})):void 0){const r=xt(),i=It(0),a=Ct(58,!1),o=xi(0,Vo.or_expected),s=C.createConstructorDeclaration(t,i,o);return s.typeParameters=r,s.type=a,se(En(s,e),n)}}))}(e,n,t);if(r)return r}if(Dt())return Mt(e,n,t);if(ss(He())||10===He()||8===He()||41===He()||22===He()){if(ce(t,bi)){for(const e of t)e.flags|=16777216;return be(16777216,(()=>Pi(e,n,t)))}return Pi(e,n,t)}if(t){const r=Tn(79,!0,Vo.Declaration_expected);return Mi(e,n,t,r,void 0)}return Nt.fail("Should not have attempted to parse class member declaration.")}function Wi(e,n,t){return qi(e,n,t,260)}function qi(e,n,t,r){const i=Oe();on(84);const a=!rn()||117===He()&&nn(jn)?void 0:An(rn()),o=xt();ce(t,CC)&&ye(!0);const s=zi();let c;return on(18)?(c=Jn(5,Ki),on(19)):c=tt(),ye(i),se(En(260===r?C.createClassDeclaration(t,a,o,s,c):C.createClassExpression(t,a,o,s,c),e),n)}function zi(){if($i())return Jn(22,Ji)}function Ji(){const e=Ve(),n=He();Nt.assert(94===n||117===n),qe();const t=et(7,Xi);return En(C.createHeritageClause(n,t),e)}function Xi(){const e=Ve(),n=Mr();if(230===n.kind)return n;const t=Yi();return En(C.createExpressionWithTypeArguments(n,t),e)}function Yi(){return 29===He()?rt(20,pr,29,31):void 0}function $i(){return 94===He()||117===He()}function Qi(){const e=Ve(),n=je(),t=wn(),r=Ee(yr);return se(En(C.createEnumMember(t,r),e),n)}function Zi(){const e=Ve();let n;return on(18)?(n=Jn(1,vi),on(19)):n=tt(),En(C.createModuleBlock(n),e)}function ea(e,n,t,r){const i=16&r,a=Cn(),o=_n(24)?ea(Ve(),!1,void 0,4|i):Zi();return se(En(C.createModuleDeclaration(t,a,o,r),e),n)}function na(e,n,t){let r,i,a=0;return 159===He()?(r=Cn(),a|=1024):(r=ut(),r.text=Sn(r.text)),18===He()?i=Zi():vn(),se(En(C.createModuleDeclaration(t,r,i,a),e),n)}function ta(){return 20===qe()}function ra(){return 18===qe()}function ia(){return 43===qe()}function aa(){const e=Ve(),n=ss(He())?kn():ft(10);on(58);const t=vr(!0);return En(C.createAssertEntry(n,t),e)}function oa(e){const n=Ve();e||on(130);const t=c.getTokenPos();if(on(18)){const e=c.hasPrecedingLineBreak(),r=et(24,aa,!0);if(!on(19)){const e=Fe(g);e&&e.code===Vo._0_expected.code&&iS(e,bT(u,t,1,Vo.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}return En(C.createAssertClause(r,e),n)}{const e=bn([],Ve(),void 0,!1);return En(C.createAssertClause(e,!1),n)}}function sa(){if(10===He()){const e=ut();return e.text=Sn(e.text),e}return gr()}function ca(e){const n=Ve();return En(272===e?C.createNamedImports(rt(23,da,18,19)):C.createNamedExports(rt(23,la,18,19)),n)}function la(){const e=je();return se(ua(278),e)}function da(){return ua(273)}function ua(e){const n=Ve();let t,r=hy(He())&&!an(),i=c.getTokenPos(),a=c.getTextPos(),o=!1,s=!0,l=kn();if("type"===l.escapedText)if(128===He()){const e=kn();if(128===He()){const n=kn();ss(He())?(o=!0,t=e,l=d(),s=!1):(t=l,l=n,s=!1)}else ss(He())?(t=l,s=!1,l=d()):(o=!0,l=e)}else ss(He())&&(o=!0,l=d());return s&&128===He()&&(t=l,on(128),l=d()),273===e&&r&&Ge(i,a,Vo.Identifier_expected),En(273===e?C.createImportSpecifier(o,t,l):C.createExportSpecifier(o,t,l),n);function d(){return r=hy(He())&&!an(),i=c.getTokenPos(),a=c.getTextPos(),kn()}}let _a;var pa;let fa;var ma;let ha;(pa=_a||(_a={}))[pa.SourceElements=0]="SourceElements",pa[pa.BlockStatements=1]="BlockStatements",pa[pa.SwitchClauses=2]="SwitchClauses",pa[pa.SwitchClauseStatements=3]="SwitchClauseStatements",pa[pa.TypeMembers=4]="TypeMembers",pa[pa.ClassMembers=5]="ClassMembers",pa[pa.EnumMembers=6]="EnumMembers",pa[pa.HeritageClauseElement=7]="HeritageClauseElement",pa[pa.VariableDeclarations=8]="VariableDeclarations",pa[pa.ObjectBindingElements=9]="ObjectBindingElements",pa[pa.ArrayBindingElements=10]="ArrayBindingElements",pa[pa.ArgumentExpressions=11]="ArgumentExpressions",pa[pa.ObjectLiteralMembers=12]="ObjectLiteralMembers",pa[pa.JsxAttributes=13]="JsxAttributes",pa[pa.JsxChildren=14]="JsxChildren",pa[pa.ArrayLiteralMembers=15]="ArrayLiteralMembers",pa[pa.Parameters=16]="Parameters",pa[pa.JSDocParameters=17]="JSDocParameters",pa[pa.RestProperties=18]="RestProperties",pa[pa.TypeParameters=19]="TypeParameters",pa[pa.TypeArguments=20]="TypeArguments",pa[pa.TupleElementTypes=21]="TupleElementTypes",pa[pa.HeritageClauses=22]="HeritageClauses",pa[pa.ImportOrExportSpecifiers=23]="ImportOrExportSpecifiers",pa[pa.AssertEntries=24]="AssertEntries",pa[pa.Count=25]="Count",(ma=fa||(fa={}))[ma.False=0]="False",ma[ma.True=1]="True",ma[ma.Unknown=2]="Unknown",(e=>{function n(e){const n=Ve(),t=(e?_n:on)(18),r=be(8388608,Et);e&&!t||dn(19);const i=C.createJSDocTypeExpression(r);return _e(i),En(i,n)}function t(){const e=Ve(),n=_n(18),t=Ve();let r=it(!1);for(;80===He();)$e(),ze(),r=En(C.createJSDocMemberName(r,Cn()),t);n&&dn(19);const i=C.createJSDocNameReference(r);return _e(i),En(i,e)}let r;var i;let a;var o;function s(e=0,r){const i=p,a=void 0===r?i.length:e+r;if(r=a-e,Nt.assert(e>=0),Nt.assert(e<=a),Nt.assert(a<=i.length),!eD(i,e))return;let o,s,l,d,_,f=[];const m=[];return c.scanRange(e+3,r-5,(()=>{let n,t=1,r=e-(i.lastIndexOf("\n",e)+1)+4;function u(e){n||(n=r),f.push(e),r+=e.length}for(ze();z(5););z(4)&&(t=0,r=0);e:for(;;){switch(He()){case 59:0===t||1===t?(g(f),_||(_=Ve()),(p=E(r))&&(o?o.push(p):(o=[p],s=p.pos),l=p.end),t=0,n=void 0):u(c.getTokenText());break;case 4:f.push(c.getTokenText()),t=0,r=0;break;case 41:const i=c.getTokenText();1===t||2===t?(t=2,u(i)):(t=1,r+=i.length);break;case 5:const a=c.getTokenText();2===t?f.push(a):void 0!==n&&r+a.length>n&&f.push(a.slice(n-r)),r+=a.length;break;case 1:break e;case 18:t=2;const y=c.getStartPos(),v=L(c.getTextPos()-1);if(v){d||h(f),m.push(En(C.createJSDocText(f.join("")),null!=d?d:e,y)),m.push(v),f=[],d=c.getTextPos();break}default:t=2,u(c.getTokenText())}ze()}var p;g(f),m.length&&f.length&&m.push(En(C.createJSDocText(f.join("")),null!=d?d:e,_)),m.length&&o&&Nt.assertIsDefined(_,"having parsed tags implies that the end of the comment span should be set");const y=o&&bn(o,s,l);return En(C.createJSDocComment(m.length?bn(m,e,_):f.length?f.join(""):void 0,y),e,a)}));function h(e){for(;e.length&&("\n"===e[0]||"\r"===e[0]);)e.shift()}function g(e){for(;e.length&&""===e[e.length-1].trim();)e.pop()}function y(){for(;;){if(ze(),1===He())return!0;if(5!==He()&&4!==He())return!1}}function v(){if(5!==He()&&4!==He()||!nn(y))for(;5===He()||4===He();)ze()}function b(){if((5===He()||4===He())&&nn(y))return"";let e=c.hasPrecedingLineBreak(),n=!1,t="";for(;e&&41===He()||5===He()||4===He();)t+=c.getTokenText(),4===He()?(e=!0,n=!0,t=""):41===He()&&(e=!1),ze();return n?t:""}function E(e){Nt.assert(59===He());const r=c.getTokenPos();ze();const i=J(void 0),a=b();let s;switch(i.escapedText){case"author":s=function(e,n,t,r){const i=Ve(),a=function(){const e=[];let n=!1,t=c.getToken();for(;1!==t&&4!==t;){if(29===t)n=!0;else{if(59===t&&!n)break;if(31===t&&n){e.push(c.getTokenText()),c.setTextPos(c.getTokenPos()+1);break}}e.push(c.getTokenText()),t=ze()}return C.createJSDocText(e.join(""))}();let o=c.getStartPos();const s=T(e,o,t,r);s||(o=c.getStartPos());const l="string"!=typeof s?bn(de([En(a,i,o)],s),i):a.text+s;return En(C.createJSDocAuthorTag(n,l),e)}(r,i,e,a);break;case"implements":s=function(e,n,t,r){const i=F();return En(C.createJSDocImplementsTag(n,i,T(e,Ve(),t,r)),e)}(r,i,e,a);break;case"augments":case"extends":s=function(e,n,t,r){const i=F();return En(C.createJSDocAugmentsTag(n,i,T(e,Ve(),t,r)),e)}(r,i,e,a);break;case"class":case"constructor":s=B(r,C.createJSDocClassTag,i,e,a);break;case"public":s=B(r,C.createJSDocPublicTag,i,e,a);break;case"private":s=B(r,C.createJSDocPrivateTag,i,e,a);break;case"protected":s=B(r,C.createJSDocProtectedTag,i,e,a);break;case"readonly":s=B(r,C.createJSDocReadonlyTag,i,e,a);break;case"override":s=B(r,C.createJSDocOverrideTag,i,e,a);break;case"deprecated":le=!0,s=B(r,C.createJSDocDeprecatedTag,i,e,a);break;case"this":s=function(e,t,r,i){const a=n(!0);return v(),En(C.createJSDocThisTag(t,a,T(e,Ve(),r,i)),e)}(r,i,e,a);break;case"enum":s=function(e,t,r,i){const a=n(!0);return v(),En(C.createJSDocEnumTag(t,a,T(e,Ve(),r,i)),e)}(r,i,e,a);break;case"arg":case"argument":case"param":return M(r,i,2,e);case"return":case"returns":s=function(e,n,t,r){ce(o,aR)&&Ge(n.pos,c.getTokenPos(),Vo._0_tag_already_specified,n.escapedText);const i=w();return En(C.createJSDocReturnTag(n,i,T(e,Ve(),t,r)),e)}(r,i,e,a);break;case"template":s=function(e,t,r,i){const a=18===He()?n():void 0,o=function(){const e=Ve(),n=[];do{v();const e=q();void 0!==e&&n.push(e),b()}while(z(27));return bn(n,e)}();return En(C.createJSDocTemplateTag(t,a,o,T(e,Ve(),r,i)),e)}(r,i,e,a);break;case"type":s=P(r,i,e,a);break;case"typedef":s=function(e,n,t,r){var i;let a=w();b();const o=U();v();let s,c=S(t);if(!a||D(a.type)){let n,r,i,o=!1;for(;n=tn((()=>H(t)));)if(o=!0,347===n.kind){if(r){const e=Me(Vo.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);e&&iS(e,bT(u,0,0,Vo.The_tag_was_first_specified_here));break}r=n}else i=Te(i,n);if(o){const n=a&&185===a.type.kind,t=C.createJSDocTypeLiteral(i,n);a=r&&r.typeExpression&&!D(r.typeExpression.type)?r.typeExpression:En(t,e),s=a.end}}s=s||void 0!==c?Ve():(null!=(i=null!=o?o:a)?i:n).end,c||(c=T(e,s,t,r));return En(C.createJSDocTypedefTag(n,a,o,c),e,s)}(r,i,e,a);break;case"callback":s=function(e,n,t,r){const i=U();v();let a=S(t);const o=V(e,t);a||(a=T(e,Ve(),t,r));const s=void 0!==a?Ve():o.end;return En(C.createJSDocCallbackTag(n,o,i,a),e,s)}(r,i,e,a);break;case"overload":s=function(e,n,t,r){v();let i=S(t);const a=V(e,t);i||(i=T(e,Ve(),t,r));const o=void 0!==i?Ve():a.end;return En(C.createJSDocOverloadTag(n,a,i),e,o)}(r,i,e,a);break;case"satisfies":s=function(e,t,r,i){const a=n(!1),o=void 0!==r&&void 0!==i?T(e,Ve(),r,i):void 0;return En(C.createJSDocSatisfiesTag(t,a,o),e)}(r,i,e,a);break;case"see":s=function(e,n,r,i){const a=22===He()||nn((()=>59===ze()&&ss(ze())&&I(c.getTokenValue())))?void 0:t(),o=void 0!==r&&void 0!==i?T(e,Ve(),r,i):void 0;return En(C.createJSDocSeeTag(n,a,o),e)}(r,i,e,a);break;case"exception":case"throws":s=function(e,n,t,r){const i=w(),a=T(e,Ve(),t,r);return En(C.createJSDocThrowsTag(n,i,a),e)}(r,i,e,a);break;default:s=function(e,n,t,r){return En(C.createJSDocUnknownTag(n,T(e,Ve(),t,r)),e)}(r,i,e,a)}return s}function T(e,n,t,r){return r||(t+=n-e),S(t,r.slice(t))}function S(e,n){const t=Ve();let r=[];const i=[];let a,o,s=0,l=!0;function d(n){o||(o=e),r.push(n),e+=n.length}void 0!==n&&(""!==n&&d(n),s=1);let u=He();e:for(;;){switch(u){case 4:s=0,r.push(c.getTokenText()),e=0;break;case 59:if(3===s||2===s&&(!l||nn(A))){r.push(c.getTokenText());break}c.setTextPos(c.getTextPos()-1);case 1:break e;case 5:if(2===s||3===s)d(c.getTokenText());else{const n=c.getTokenText();void 0!==o&&e+n.length>o&&r.push(n.slice(o-e)),e+=n.length}break;case 18:s=2;const n=c.getStartPos(),u=L(c.getTextPos()-1);u?(i.push(En(C.createJSDocText(r.join("")),null!=a?a:t,n)),i.push(u),r=[],a=c.getTextPos()):d(c.getTokenText());break;case 61:s=3===s?2:3,d(c.getTokenText());break;case 41:if(0===s){s=1,e+=1;break}default:3!==s&&(s=2),d(c.getTokenText())}l=5===He(),u=ze()}return h(r),g(r),i.length?(r.length&&i.push(En(C.createJSDocText(r.join("")),null!=a?a:t)),bn(i,t,c.getTextPos())):r.length?r.join(""):void 0}function A(){const e=ze();return 5===e||4===e}function L(e){const n=tn(k);if(!n)return;ze(),v();const t=Ve();let r=ss(He())?it(!0):void 0;if(r)for(;80===He();)$e(),ze(),r=En(C.createJSDocMemberName(r,Cn()),t);const i=[];for(;19!==He()&&4!==He()&&1!==He();)i.push(c.getTokenText()),ze();return En(("link"===n?C.createJSDocLink:"linkcode"===n?C.createJSDocLinkCode:C.createJSDocLinkPlain)(r,i.join("")),e,c.getTextPos())}function k(){if(b(),18===He()&&59===ze()&&ss(ze())){const e=c.getTokenValue();if(I(e))return e}}function I(e){return"link"===e||"linkcode"===e||"linkplain"===e}function w(){return b(),18===He()?n():void 0}function R(){const e=z(22);e&&v();const n=z(61),t=function(){let e=J();for(_n(22)&&on(23);_n(24);){const n=J();_n(22)&&on(23),e=at(e,n)}return e}();return n&&(function(e){if(He()===e)return function(){const e=Ve(),n=He();return ze(),En(O(n),e)}()}(61)||Tn(61,!1,Vo._0_expected,us(61))),e&&(v(),pn(63)&&gr(),on(23)),{name:t,isBracketed:e}}function D(e){switch(e.kind){case 149:return!0;case 185:return D(e.elementType);default:return rk(e)&&AC(e.typeName)&&"Object"===e.typeName.escapedText&&!e.typeArguments}}function M(e,n,t,r){let i=w(),a=!i;b();const{name:o,isBracketed:s}=R(),c=b();a&&!nn(k)&&(i=w());const l=T(e,Ve(),r,c),d=4!==t&&function(e,n,t,r){if(e&&D(e.type)){const i=Ve();let a,o;for(;a=tn((()=>K(t,r,n)));)344!==a.kind&&351!==a.kind||(o=Te(o,a));if(o){const n=En(C.createJSDocTypeLiteral(o,185===e.type.kind),i);return En(C.createJSDocTypeExpression(n),i)}}}(i,o,t,r);return d&&(i=d,a=!0),En(1===t?C.createJSDocPropertyTag(n,o,s,i,a,l):C.createJSDocParameterTag(n,o,s,i,a,l),e)}function P(e,t,r,i){ce(o,sR)&&Ge(t.pos,c.getTokenPos(),Vo._0_tag_already_specified,t.escapedText);const a=n(!0),s=void 0!==r&&void 0!==i?T(e,Ve(),r,i):void 0;return En(C.createJSDocTypeTag(t,a,s),e)}function F(){const e=_n(18),n=Ve(),t=function(){const e=Ve();let n=J();for(;_n(24);){const t=J();n=En(G(n,t),e)}return n}(),r=Yi(),i=En(C.createExpressionWithTypeArguments(t,r),n);return e&&on(19),i}function B(e,n,t,r,i){return En(n(t,T(e,Ve(),r,i)),e)}function U(e){const n=c.getTokenPos();if(!ss(He()))return;const t=J();if(_n(24)){const r=U(!0);return En(C.createModuleDeclaration(void 0,t,r,e?4:void 0),n)}return e&&(t.flags|=2048),t}function V(e,n){const t=function(e){const n=Ve();let t,r;for(;t=tn((()=>K(4,e)));)r=Te(r,t);return bn(r||[],n)}(n),r=tn((()=>{if(z(59)){const e=E(n);if(e&&345===e.kind)return e}}));return En(C.createJSDocSignature(void 0,t,r),e)}function j(e,n){for(;!AC(e)||!AC(n);){if(AC(e)||AC(n)||e.right.escapedText!==n.right.escapedText)return!1;e=e.left,n=n.left}return e.escapedText===n.escapedText}function H(e){return K(1,e)}function K(e,n,t){let r=!0,i=!1;for(;;)switch(ze()){case 59:if(r){const r=W(e,n);return!(r&&(344===r.kind||351===r.kind)&&4!==e&&t&&(AC(r.name)||!j(t,r.name.left)))&&r}i=!1;break;case 4:r=!0,i=!1;break;case 41:i&&(r=!1),i=!0;break;case 79:r=!1;break;case 1:return!1}}function W(e,n){Nt.assert(59===He());const t=c.getStartPos();ze();const r=J();let i;switch(v(),r.escapedText){case"type":return 1===e&&P(t,r);case"prop":case"property":i=1;break;case"arg":case"argument":case"param":i=6;break;default:return!1}return!!(e&i)&&M(t,r,e,n)}function q(){const e=Ve(),n=z(22);n&&v();const t=J(Vo.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces);let r;if(n&&(v(),on(63),r=be(8388608,Et),on(23)),!Fp(t))return En(C.createTypeParameterDeclaration(void 0,t,void 0,r),e)}function z(e){return He()===e&&(ze(),!0)}function J(e){if(!ss(He()))return Tn(79,!e,e||Vo.Identifier_expected);x++;const n=c.getTokenPos(),t=c.getTextPos(),r=He(),i=Sn(c.getTokenValue()),a=En(N(i,r),n,t);return ze(),a}}e.parseJSDocTypeExpressionForTests=function(e,t,r){ae("file.js",e,99,void 0,1),c.setText(e,t,r),b=c.scan();const i=n(),a=pe("file.js",99,1,!1,[],O(1),0,xn),o=xT(g,a);return y&&(a.jsDocDiagnostics=xT(y,a)),oe(),i?{jsDocTypeExpression:i,diagnostics:o}:void 0},e.parseJSDocTypeExpression=n,e.parseJSDocNameReference=t,e.parseIsolatedJSDocComment=function(e,n,t){ae("",e,99,void 0,1);const r=be(8388608,(()=>s(n,t))),i=xT(g,{languageVariant:0,text:e});return oe(),r?{jsDoc:r,diagnostics:i}:void 0},e.parseJSDocComment=function(e,n,t){const r=b,i=g.length,a=re,o=be(8388608,(()=>s(n,t)));return xS(o,e),262144&L&&(y||(y=[]),y.push(...g)),b=r,g.length=i,re=a,o},(i=r||(r={}))[i.BeginningOfLine=0]="BeginningOfLine",i[i.SawAsterisk=1]="SawAsterisk",i[i.SavingComments=2]="SavingComments",i[i.SavingBackticks=3]="SavingBackticks",(o=a||(a={}))[o.Property=1]="Property",o[o.Parameter=2]="Parameter",o[o.CallbackParameter=4]="CallbackParameter"})(ha=e.JSDocParser||(e.JSDocParser={}))})(qN||(qN={})),(e=>{function n(e,n,r,a,o,s){return void(n?l(e):c(e));function c(e){let n="";if(s&&t(e)&&(n=a.substring(e.pos,e.end)),e._children&&(e._children=void 0),bS(e,e.pos+r,e.end+r),s&&t(e)&&Nt.assert(n===o.substring(e.pos,e.end)),ED(e,c,l),Xu(e))for(const n of e.jsDoc)c(n);i(e,s)}function l(e){e._children=void 0,bS(e,e.pos+r,e.end+r);for(const n of e)c(n)}}function t(e){switch(e.kind){case 10:case 8:case 79:return!0}return!1}function r(e,n,t,r,i){Nt.assert(e.end>=n,"Adjusting an element that was entirely before the change range"),Nt.assert(e.pos<=t,"Adjusting an element that was entirely after the change range"),Nt.assert(e.pos<=e.end);const a=Math.min(e.pos,r),o=e.end>=t?e.end+i:Math.min(e.end,r);Nt.assert(a<=o),e.parent&&(Nt.assertGreaterThanOrEqual(a,e.parent.pos),Nt.assertLessThanOrEqual(o,e.parent.end)),bS(e,a,o)}function i(e,n){if(n){let n=e.pos;const t=e=>{Nt.assert(e.pos>=n),n=e.end};if(Xu(e))for(const n of e.jsDoc)t(n);ED(e,t),Nt.assert(n<=e.end)}}function a(e,n){let t,r=e;if(ED(e,(function e(i){if(!Fp(i))return i.pos<=n?(i.pos>=r.pos&&(r=i),n<i.end?(ED(i,e),!0):(Nt.assert(i.end<=n),void(t=i))):(Nt.assert(i.pos>n),!0)})),t){const e=function(e){for(;;){const n=YE(e);if(!n)return e;e=n}}(t);e.pos>r.pos&&(r=e)}return r}function o(e,n,t,r){const i=e.text;if(t&&(Nt.assert(i.length-t.span.length+t.newLength===n.length),r||Nt.shouldAssert(3))){const e=i.substr(0,t.span.start),r=n.substr(0,t.span.start);Nt.assert(e===r);const a=i.substring(tc(t.span),i.length),o=n.substring(tc(hc(t)),n.length);Nt.assert(a===o)}}function s(e){let n=e.statements,t=0;Nt.assert(t<n.length);let r=n[t],i=-1;return{currentNode:a=>(a!==i&&(r&&r.end===a&&t<n.length-1&&(t++,r=n[t]),r&&r.pos===a||function(i){return n=void 0,t=-1,r=void 0,void ED(e,a,o);function a(e){return i>=e.pos&&i<e.end&&(ED(e,a,o),!0)}function o(e){if(i>=e.pos&&i<e.end)for(let s=0;s<e.length;s++){const c=e[s];if(c){if(c.pos===i)return n=e,t=s,r=c,!0;if(c.pos<i&&i<c.end)return ED(c,a,o),!0}}return!1}}(a)),i=a,Nt.assert(!r||r.pos===a),r)}}let c;var l;e.updateSourceFile=function(e,t,c,l){if(o(e,t,c,l=l||Nt.shouldAssert(2)),gc(c))return e;if(0===e.statements.length)return qN.parseSourceFile(e.fileName,t,e.languageVersion,void 0,!0,e.scriptKind,e.setExternalModuleIndicator);const d=e;Nt.assert(!d.hasBeenIncrementallyParsed),d.hasBeenIncrementallyParsed=!0,qN.fixupParentReferences(d);const u=e.text,_=s(e),p=function(e,n){let t=n.span.start;for(let n=0;t>0&&n<=1;n++){const n=a(e,t);Nt.assert(n.pos<=t);const r=n.pos;t=Math.max(0,r-1)}return yc(mc(t,tc(n.span)),n.newLength+(n.span.start-t))}(e,c);o(e,t,p,l),Nt.assert(p.span.start<=c.span.start),Nt.assert(tc(p.span)===tc(c.span)),Nt.assert(tc(hc(p))===tc(hc(c)));const f=hc(p).length-p.span.length;!function(e,t,a,o,s,c,l,d){return void u(e);function u(e){if(Nt.assert(e.pos<=e.end),e.pos>a)return void n(e,!1,s,c,l,d);const p=e.end;if(p>=t){if(e.intersectsChange=!0,e._children=void 0,r(e,t,a,o,s),ED(e,u,_),Xu(e))for(const n of e.jsDoc)u(n);i(e,d)}else Nt.assert(p<t)}function _(e){if(Nt.assert(e.pos<=e.end),e.pos>a)return void n(e,!0,s,c,l,d);const i=e.end;if(i>=t){e.intersectsChange=!0,e._children=void 0,r(e,t,a,o,s);for(const n of e)u(n)}else Nt.assert(i<t)}}(d,p.span.start,tc(p.span),tc(hc(p)),f,u,t,l);const m=qN.parseSourceFile(e.fileName,t,e.languageVersion,_,!0,e.scriptKind,e.setExternalModuleIndicator);return m.commentDirectives=function(e,n,t,r,i,a,o,s){if(!e)return n;let c,l=!1;for(const n of e){const{range:e,type:l}=n;if(e.end<t)c=Te(c,n);else if(e.pos>r){d();const n={range:{pos:e.pos+i,end:e.end+i},type:l};c=Te(c,n),s&&Nt.assert(a.substring(e.pos,e.end)===o.substring(n.range.pos,n.range.end))}}return d(),c;function d(){l||(l=!0,c?n&&c.push(...n):c=n)}}(e.commentDirectives,m.commentDirectives,p.span.start,tc(p.span),f,u,t,l),m.impliedNodeFormat=e.impliedNodeFormat,m},e.createSyntaxCursor=s,(l=c||(c={}))[l.Value=-1]="Value"})(zN||(zN={})),JN=new Map,XN=/^\/\/\/\s*<(\S+)\s.*?\/>/im,YN=/^\/\/\/?\s*@(\S+)\s*(.*)\s*$/im}});function LO(e){const n=new Map,t=new Map;return A(e,(e=>{n.set(e.name.toLowerCase(),e),e.shortName&&t.set(e.shortName,e.name)})),{optionsNameMap:n,shortOptionNames:t}}function CO(){return sO||(sO=LO(YD))}function kO(e){return IO(e,LT)}function IO(e,n){const t=Qe(e.type.keys()),r=(e.deprecatedKeys?t.filter((n=>!e.deprecatedKeys.has(n))):t).map((e=>`'${e}'`)).join(", ");return n(Vo.Argument_for_0_option_must_be_Colon_1,`--${e.name}`,r)}function wO(e,n,t){return GM(e,h(n||""),t)}function RO(e,n="",t){if(pt(n=h(n),"-"))return;if("listOrElement"===e.type&&!rt(n,","))return FM(e,n,t);if(""===n)return[];const r=n.split(",");switch(e.element.type){case"number":return ee(r,(n=>FM(e.element,parseInt(n),t)));case"string":return ee(r,(n=>FM(e.element,n||"",t)));case"boolean":case"object":return Nt.fail(`List of ${e.element.type} is not yet supported.`);default:return ee(r,(n=>wO(e.element,n,t)))}}function NO(e){return e.name}function DO(e,n,t,r){var i;if(null==(i=n.alternateMode)?void 0:i.getOptionsNameMap().optionsNameMap.has(e.toLowerCase()))return t(n.alternateMode.diagnostic,e);const a=Qn(e,n.optionDeclarations,NO);return a?t(n.unknownDidYouMeanDiagnostic,r||e,a.name):t(n.unknownOptionDiagnostic,r||e)}function OO(e,n,t){const r={};let i;const a=[],o=[];return s(n),{options:r,watchOptions:i,fileNames:a,errors:o};function s(n){let t=0;for(;t<n.length;){const s=n[t];if(t++,64===s.charCodeAt(0))c(s.slice(1));else if(45===s.charCodeAt(0)){const a=s.slice(45===s.charCodeAt(1)?2:1),c=GO(e.getOptionsNameMap,a,!0);if(c)t=MO(n,t,e,c,r,o);else{const r=GO(hO.getOptionsNameMap,a,!0);r?t=MO(n,t,hO,r,i||(i={}),o):o.push(DO(a,e,LT,s))}}else a.push(s)}}function c(e){const n=qO(e,t||(e=>Sa.readFile(e)));if(!vn(n))return void o.push(n);const r=[];let i=0;for(;;){for(;i<n.length&&n.charCodeAt(i)<=32;)i++;if(i>=n.length)break;const t=i;if(34===n.charCodeAt(t)){for(i++;i<n.length&&34!==n.charCodeAt(i);)i++;i<n.length?(r.push(n.substring(t+1,i)),i++):o.push(LT(Vo.Unterminated_quoted_string_in_response_file_0,e))}else{for(;n.charCodeAt(i)>32;)i++;r.push(n.substring(t,i))}}s(r)}}function MO(e,n,t,r,i,a){if(r.isTSConfigOnly){const t=e[n];"null"===t?(i[r.name]=void 0,n++):"boolean"===r.type?"false"===t?(i[r.name]=FM(r,!1,a),n++):("true"===t&&n++,a.push(LT(Vo.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line,r.name))):(a.push(LT(Vo.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line,r.name)),t&&!pt(t,"-")&&n++)}else if(e[n]||"boolean"===r.type||a.push(LT(t.optionTypeMismatchDiagnostic,r.name,nM(r))),"null"!==e[n])switch(r.type){case"number":i[r.name]=FM(r,parseInt(e[n]),a),n++;break;case"boolean":const t=e[n];i[r.name]=FM(r,"false"!==t,a),"false"!==t&&"true"!==t||n++;break;case"string":i[r.name]=FM(r,e[n]||"",a),n++;break;case"list":const o=RO(r,e[n],a);i[r.name]=o||[],o&&n++;break;case"listOrElement":Nt.fail("listOrElement not supported here");break;default:i[r.name]=wO(r,e[n],a),n++}else i[r.name]=void 0,n++;return n}function PO(e,n){return OO(dO,e,n)}function FO(e,n){return GO(CO,e,n)}function GO(e,n,t=!1){n=n.toLowerCase();const{optionsNameMap:r,shortOptionNames:i}=e();if(t){const e=i.get(n);void 0!==e&&(n=e)}return r.get(n)}function BO(){return uO||(uO=LO(aO))}function UO(e){const{options:n,watchOptions:t,fileNames:r,errors:i}=OO(pO,e),a=n;return 0===r.length&&r.push("."),a.clean&&a.force&&i.push(LT(Vo.Options_0_and_1_cannot_be_combined,"clean","force")),a.clean&&a.verbose&&i.push(LT(Vo.Options_0_and_1_cannot_be_combined,"clean","verbose")),a.clean&&a.watch&&i.push(LT(Vo.Options_0_and_1_cannot_be_combined,"clean","watch")),a.watch&&a.dry&&i.push(LT(Vo.Options_0_and_1_cannot_be_combined,"watch","dry")),{buildOptions:a,watchOptions:t,projects:r,errors:i}}function VO(e,...n){return LT.apply(void 0,arguments).messageText}function jO(e,n,t,r,i,a){const o=qO(e,(e=>t.readFile(e)));if(!vn(o))return void t.onUnRecoverableConfigFileDiagnostic(o);const s=CD(e,o),c=t.getCurrentDirectory();return s.path=xo(e,c,lt(t.useCaseSensitiveFileNames)),s.resolvedPath=s.path,s.originalFileName=s.fileName,hM(s,t,bo(co(e),c),n,bo(e,c),void 0,a,r,i)}function HO(e,n){const t=qO(e,n);return vn(t)?KO(e,t):{config:{},error:t}}function KO(e,n){const t=CD(e,n);return{config:QO(t,t.parseDiagnostics,!1,void 0),error:t.parseDiagnostics.length?t.parseDiagnostics[0]:void 0}}function WO(e,n){const t=qO(e,n);return vn(t)?CD(e,t):{fileName:e,parseDiagnostics:[t]}}function qO(e,n){let t;try{t=n(e)}catch(n){return LT(Vo.Cannot_read_file_0_Colon_1,e,n.message)}return void 0===t?LT(Vo.Cannot_read_file_0,e):t}function zO(e){return nn(e,NO)}function JO(){return mO||(mO=LO(WD))}function XO(){return gO||(gO=zO(YD))}function YO(){return yO||(yO=zO(WD))}function $O(){return vO||(vO=zO(oO))}function QO(e,n,t,r){var i;const a=null==(i=e.statements[0])?void 0:i.expression,o=t?(void 0===EO&&(EO={name:void 0,type:"object",elementOptions:zO([{name:"compilerOptions",type:"object",elementOptions:XO(),extraKeyDiagnostics:dO},{name:"watchOptions",type:"object",elementOptions:YO(),extraKeyDiagnostics:hO},{name:"typeAcquisition",type:"object",elementOptions:$O(),extraKeyDiagnostics:fO},bO,{name:"references",type:"list",element:{name:"references",type:"object"},category:Vo.Projects},{name:"files",type:"list",element:{name:"files",type:"string"},category:Vo.File_Management},{name:"include",type:"list",element:{name:"include",type:"string"},category:Vo.File_Management,defaultValueDescription:Vo.if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk},{name:"exclude",type:"list",element:{name:"exclude",type:"string"},category:Vo.File_Management,defaultValueDescription:Vo.node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified},BD])}),EO):void 0;if(a&&207!==a.kind){if(n.push(Wf(e,a,Vo.The_root_value_of_a_0_file_must_be_an_object,"jsconfig.json"===lo(e.fileName)?"jsconfig.json":"tsconfig.json")),Ik(a)){const t=D(a.elements,wk);if(t)return eM(e,t,n,!0,o,r)}return{}}return eM(e,a,n,!0,o,r)}function ZO(e,n){var t;return eM(e,null==(t=e.statements[0])?void 0:t.expression,n,!0,void 0,void 0)}function eM(e,n,t,r,i,a){return n?c(n,i):r?{}:void 0;function o(e){return i&&i.elementOptions===e}function s(n,i,s,d){const u=r?{}:void 0;for(const _ of n.properties){if(299!==_.kind){t.push(Wf(e,_,Vo.Property_assignment_expected));continue}_.questionToken&&t.push(Wf(e,_.questionToken,Vo.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),l(_.name)||t.push(Wf(e,_.name,Vo.String_literal_with_double_quotes_expected));const n=Bf(_.name)?void 0:Vf(_.name),p=n&&Mc(n),f=p&&i?i.get(p):void 0;p&&s&&!f&&(i?t.push(DO(p,s,((n,t,r)=>Wf(e,_.name,n,t,r)))):t.push(Wf(e,_.name,s.unknownOptionDiagnostic,p)));const m=c(_.initializer,f);if(void 0!==p&&(r&&(u[p]=m),a&&(d||o(i)))){const e=tM(f,m);d?e&&a.onSetValidOptionKeyValueInParent(d,f,m):o(i)&&(e?a.onSetValidOptionKeyValueInRoot(p,_.name,m,_.initializer):f||a.onSetUnknownOptionKeyValueInRoot(p,_.name,m,_.initializer))}}return u}function c(n,i){let a;switch(n.kind){case 110:return d(i&&"boolean"!==i.type&&("listOrElement"!==i.type||"boolean"!==i.element.type)),o(!0);case 95:return d(i&&"boolean"!==i.type&&("listOrElement"!==i.type||"boolean"!==i.element.type)),o(!1);case 104:return d(i&&"extends"===i.name),o(null);case 10:l(n)||t.push(Wf(e,n,Vo.String_literal_with_double_quotes_expected)),d(i&&vn(i.type)&&"string"!==i.type&&("listOrElement"!==i.type||vn(i.element.type)&&"string"!==i.element.type));const u=n.text;if(i&&Nt.assert("listOrElement"!==i.type||"string"===i.element.type,"Only string or array of string is handled for now"),i&&!vn(i.type)){const r=i;r.type.has(u.toLowerCase())||(t.push(IO(r,((t,r,i)=>Wf(e,n,t,r,i)))),a=!0)}return o(u);case 8:return d(i&&"number"!==i.type&&("listOrElement"!==i.type||"number"!==i.element.type)),o(Number(n.text));case 221:if(40!==n.operator||8!==n.operand.kind)break;return d(i&&"number"!==i.type&&("listOrElement"!==i.type||"number"!==i.element.type)),o(-Number(n.operand.text));case 207:d(i&&"object"!==i.type&&("listOrElement"!==i.type||"object"!==i.element.type));const _=n;if(i){const{elementOptions:e,extraKeyDiagnostics:n,name:t}=i;return o(s(_,e,n,t))}return o(s(_,void 0,void 0,void 0));case 206:return d(i&&"list"!==i.type&&"listOrElement"!==i.type),o(function(e,n){if(r)return j(e.map((e=>c(e,n))),(e=>void 0!==e));e.forEach((e=>c(e,n)))}(n.elements,i&&i.element))}return void(i?d(!0):t.push(Wf(e,n,Vo.Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal)));function o(r){var o;if(!a){const a=null==(o=null==i?void 0:i.extraValidation)?void 0:o.call(i,r);if(a)return void t.push(Wf(e,n,...a))}return r}function d(r){r&&(t.push(Wf(e,n,Vo.Compiler_option_0_requires_a_value_of_type_1,i.name,nM(i))),a=!0)}}function l(n){return cC(n)&&Fh(n,e)}}function nM(e){return"listOrElement"===e.type?`${nM(e.element)} or Array`:"list"===e.type?"Array":vn(e.type)?e.type:"string"}function tM(e,n){return!!e&&(!!yM(n)||("list"===e.type?gn(n):"listOrElement"===e.type?gn(n)||tM(e.element,n):typeof n===(vn(e.type)?e.type:"string")))}function rM(e,n,t){var r,i,a;const o=lt(t.useCaseSensitiveFileNames),s=W(j(e.fileNames,(null==(i=null==(r=e.options.configFile)?void 0:r.configFileSpecs)?void 0:i.validatedIncludeSpecs)?function(e,n,t,r){if(!n)return An;const i=Cx(e,t,n,r.useCaseSensitiveFileNames,r.getCurrentDirectory()),a=i.excludePattern&&kx(i.excludePattern,r.useCaseSensitiveFileNames),o=i.includeFilePattern&&kx(i.includeFilePattern,r.useCaseSensitiveFileNames);return o?a?e=>!(o.test(e)&&!a.test(e)):e=>!o.test(e):a?e=>a.test(e):An}(n,e.options.configFile.configFileSpecs.validatedIncludeSpecs,e.options.configFile.configFileSpecs.validatedExcludeSpecs,t):An),(e=>Fo(bo(n,t.getCurrentDirectory()),bo(e,t.getCurrentDirectory()),o))),c=cM(e.options,{configFilePath:bo(n,t.getCurrentDirectory()),useCaseSensitiveFileNames:t.useCaseSensitiveFileNames}),l=e.watchOptions&&lM(e.watchOptions,JO());return{compilerOptions:{...iM(c),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:l&&iM(l),references:W(e.projectReferences,(e=>({...e,path:e.originalPath?e.originalPath:"",originalPath:void 0}))),files:S(s)?s:void 0,...(null==(a=e.options.configFile)?void 0:a.configFileSpecs)?{include:aM(e.options.configFile.configFileSpecs.validatedIncludeSpecs),exclude:e.options.configFile.configFileSpecs.validatedExcludeSpecs}:{},compileOnSave:!!e.compileOnSave||void 0}}function iM(e){return{...Qe(e.entries()).reduce(((e,n)=>({...e,[n[0]]:n[1]})),{})}}function aM(e){if(S(e)){if(1!==S(e))return e;if(e[0]!==TO)return e}}function oM(e){switch(e.type){case"string":case"number":case"boolean":case"object":return;case"list":case"listOrElement":return oM(e.element);default:return e.type}}function sM(e,n){return pp(n,((n,t)=>{if(n===e)return t}))}function cM(e,n){return lM(e,CO(),n)}function lM(e,{optionsNameMap:n},t){const r=new Map,i=t&&lt(t.useCaseSensitiveFileNames);for(const a in e)if(qe(e,a)){if(n.has(a)&&(n.get(a).category===Vo.Command_line_Options||n.get(a).category===Vo.Output_Formatting))continue;const o=e[a],s=n.get(a.toLowerCase());if(s){Nt.assert("listOrElement"!==s.type);const e=oM(s);e?"list"===s.type?r.set(a,o.map((n=>sM(n,e)))):r.set(a,sM(o,e)):t&&s.isFilePath?r.set(a,Fo(t.configFilePath,bo(o,co(t.configFilePath)),i)):r.set(a,o)}}return r}function dM(e,n){const t=uM(e);return function(){const e=[],r=(2,Array(3).join(" "));return XD.forEach((n=>{if(!t.has(n.name))return;const i=t.get(n.name),a=ZM(n);i!==a?e.push(`${r}${n.name}: ${i}`):qe(lO,n.name)&&e.push(`${r}${n.name}: ${a}`)})),e.join(n)+n}()}function uM(e){return cM(cn(e,lO))}function _M(e,n,t){const r=uM(e);return function(){const e=new Map;e.set(Vo.Projects,[]),e.set(Vo.Language_and_Environment,[]),e.set(Vo.Modules,[]),e.set(Vo.JavaScript_Support,[]),e.set(Vo.Emit,[]),e.set(Vo.Interop_Constraints,[]),e.set(Vo.Type_Checking,[]),e.set(Vo.Completeness,[]);for(const n of YD)if(a(n)){let t=e.get(n.category);t||e.set(n.category,t=[]),t.push(n)}let o=0,s=0;const c=[];e.forEach(((e,n)=>{0!==c.length&&c.push({value:""}),c.push({value:`/* ${vT(n)} */`});for(const n of e){let e;e=r.has(n.name)?`"${n.name}": ${JSON.stringify(r.get(n.name))}${(s+=1)===r.size?"":","}`:`// "${n.name}": ${JSON.stringify(ZM(n))},`,c.push({value:e,description:`/* ${n.description&&vT(n.description)||n.name} */`}),o=Math.max(e.length,o)}}));const l=i(2),d=[];d.push("{"),d.push(`${l}"compilerOptions": {`),d.push(`${l}${l}/* ${vT(Vo.Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file)} */`),d.push("");for(const e of c){const{value:n,description:t=""}=e;d.push(n&&`${l}${l}${n}${t&&i(o-n.length+2)+t}`)}if(n.length){d.push(`${l}},`),d.push(`${l}"files": [`);for(let e=0;e<n.length;e++)d.push(`${l}${l}${JSON.stringify(n[e])}${e===n.length-1?"":","}`);d.push(`${l}]`)}else d.push(`${l}}`);return d.push("}"),d.join(t)+t}();function i(e){return Array(e+1).join(" ")}function a({category:e,name:n,isCommandLineOnly:t}){const i=[Vo.Command_line_Options,Vo.Editor_Support,Vo.Compiler_Diagnostics,Vo.Backwards_Compatibility,Vo.Watch_and_Build_Modes,Vo.Output_Formatting];return!t&&void 0!==e&&(!i.includes(e)||r.has(n))}}function pM(e,n){const t={},r=CO().optionsNameMap;for(const i in e)qe(e,i)&&(t[i]=fM(r.get(i.toLowerCase()),e[i],n));return t.configFilePath&&(t.configFilePath=n(t.configFilePath)),t}function fM(e,n,t){if(e&&!yM(n)){if("list"===e.type){const r=n;if(e.element.isFilePath&&r.length)return r.map(t)}else if(e.isFilePath)return t(n);Nt.assert("listOrElement"!==e.type)}return n}function mM(e,n,t,r,i,a,o,s,c){return bM(e,void 0,n,t,r,c,i,a,o,s)}function hM(e,n,t,r,i,a,o,s,c){var l,d;null==(l=Vr)||l.push(Vr.Phase.Parse,"parseJsonSourceFileConfigFileContent",{path:e.fileName});const u=bM(void 0,e,n,t,r,c,i,a,o,s);return null==(d=Vr)||d.pop(),u}function gM(e,n){n&&Object.defineProperty(e,"configFile",{enumerable:!1,writable:!1,value:n})}function yM(e){return null==e}function vM(e,n){return co(bo(e,n))}function bM(e,n,t,r,i={},a,o,s=[],c=[],l){Nt.assert(void 0===e&&void 0!==n||void 0!==e&&void 0===n);const d=[],u=AM(e,n,t,r,o,s,d,l),{raw:_}=u,p=cn(i,u.options||{}),f=a&&u.watchOptions?cn(a,u.watchOptions):u.watchOptions||a;p.configFilePath=o&&mo(o);const m=function(){const e=v("references",(e=>"object"==typeof e),"object"),t=g(y("files"));if(t){const r="no-prop"===e||gn(e)&&0===e.length,i=qe(_,"extends");if(0===t.length&&r&&!i)if(n){const e=o||"tsconfig.json",t=Vo.The_files_list_in_config_file_0_is_empty,r=C(jm(n,"files"),(e=>e.initializer)),i=r?Wf(n,r,t,e):LT(t,e);d.push(i)}else b(Vo.The_files_list_in_config_file_0_is_empty,o||"tsconfig.json")}let r=g(y("include"));const i=y("exclude");let a,s,c=!1,l=g(i);if("no-prop"===i&&_.compilerOptions){const e=_.compilerOptions.outDir,n=_.compilerOptions.declarationDir;(e||n)&&(l=[e,n].filter((e=>!!e)))}return void 0===t&&void 0===r&&(r=[TO],c=!0),r&&(a=WM(r,d,!0,n,"include")),l&&(s=WM(l,d,!1,n,"exclude")),{filesSpecs:t,includeSpecs:r,excludeSpecs:l,validatedFilesSpec:j(t,vn),validatedIncludeSpecs:a,validatedExcludeSpecs:s,pathPatterns:void 0,isDefaultIncludeSpec:c}}();n&&(n.configFileSpecs=m),gM(p,n);const h=Eo(o?vM(o,r):r);return{options:p,watchOptions:f,fileNames:function(e){const n=UM(m,e,p,t,c);return TM(n,xM(_),s)&&d.push(EM(m,o)),n}(h),projectReferences:function(e){let n;const t=v("references",(e=>"object"==typeof e),"object");if(gn(t))for(const r of t)"string"!=typeof r.path?b(Vo.Compiler_option_0_requires_a_value_of_type_1,"reference.path","string"):(n||(n=[])).push({path:bo(r.path,e),originalPath:r.path,prepend:r.prepend,circular:r.circular});return n}(h),typeAcquisition:u.typeAcquisition||RM(),raw:_,errors:d,wildcardDirectories:zM(m,h,t.useCaseSensitiveFileNames),compileOnSave:!!_.compileOnSave};function g(e){return gn(e)?e:void 0}function y(e){return v(e,vn,"string")}function v(e,t,r){if(qe(_,e)&&!yM(_[e])){if(gn(_[e])){const i=_[e];return n||N(i,t)||d.push(LT(Vo.Compiler_option_0_requires_a_value_of_type_1,e,r)),i}return b(Vo.Compiler_option_0_requires_a_value_of_type_1,e,"Array"),"not-array"}return"no-prop"}function b(e,t,r){n||d.push(LT(e,t,r))}}function EM({includeSpecs:e,excludeSpecs:n},t){return LT(Vo.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2,t||"tsconfig.json",JSON.stringify(e||[]),JSON.stringify(n||[]))}function TM(e,n,t){return 0===e.length&&n&&(!t||0===t.length)}function xM(e){return!qe(e,"files")&&!qe(e,"references")}function SM(e,n,t,r,i){const a=r.length;return TM(e,i)?r.push(EM(t,n)):H(r,(e=>!function(e){return e.code===Vo.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2.code}(e))),a!==r.length}function AM(e,n,t,r,i,a,o,s){var c;const l=bo(i||"",r=mo(r));if(a.indexOf(l)>=0)return o.push(LT(Vo.Circularity_detected_while_resolving_configuration_Colon_0,[...a,l].join(" -> "))),{raw:e||ZO(n,o)};const d=e?function(e,n,t,r,i){qe(e,"excludes")&&i.push(LT(Vo.Unknown_option_excludes_Did_you_mean_exclude));const a=wM(e.compilerOptions,t,i,r),o=NM(e.typeAcquisition,t,i,r),s=function(e,n,t){return DM(YO(),e,n,void 0,hO,t)}(e.watchOptions,t,i);let c;if(e.compileOnSave=function(e,n,t){if(!qe(e,BD.name))return!1;const r=OM(BD,e.compileOnSave,n,t);return"boolean"==typeof r&&r}(e,t,i),e.extends||""===e.extends)if(tM(bO,e.extends)){const a=r?vM(r,t):t;if(vn(e.extends))c=LM(e.extends,n,a,i,LT);else{c=[];for(const t of e.extends)vn(t)?c=Te(c,LM(t,n,a,i,LT)):i.push(LT(Vo.Compiler_option_0_requires_a_value_of_type_1,"extends",nM(bO.element)))}}else i.push(LT(Vo.Compiler_option_0_requires_a_value_of_type_1,"extends",nM(bO)));return{raw:e,options:a,watchOptions:s,typeAcquisition:o,extendedConfigPath:c}}(e,t,r,i,o):function(e,n,t,r,i){const a=IM(r);let o,s,c,l;const d={onSetValidOptionKeyValueInParent(e,n,i){let c;switch(e){case"compilerOptions":c=a;break;case"watchOptions":c=s||(s={});break;case"typeAcquisition":c=o||(o=RM(r));break;default:Nt.fail("Unknown option")}c[n.name]=MM(n,t,i)},onSetValidOptionKeyValueInRoot(a,o,s,l){if("extends"!==a);else{const a=r?vM(r,t):t;if(vn(s))c=LM(s,n,a,i,((n,t)=>Wf(e,l,n,t)));else{c=[];for(let t=0;t<s.length;t++){const r=s[t];vn(r)&&(c=Te(c,LM(r,n,a,i,((n,r)=>Wf(e,l.elements[t],n,r)))))}}}},onSetUnknownOptionKeyValueInRoot(n,t,r,a){"excludes"===n&&i.push(Wf(e,t,Vo.Unknown_option_excludes_Did_you_mean_exclude)),D(XD,(e=>e.name===n))&&(l=Te(l,t))}},u=QO(e,i,!0,d);return o||(o=RM(r)),l&&u&&void 0===u.compilerOptions&&i.push(Wf(e,l[0],Vo._0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file,Vf(l[0]))),{raw:u,options:a,watchOptions:s,typeAcquisition:o,extendedConfigPath:c}}(n,t,r,i,o);if((null==(c=d.options)?void 0:c.paths)&&(d.options.pathsBasePath=r),d.extendedConfigPath){a=a.concat([l]);const e={options:{}};vn(d.extendedConfigPath)?u(e,d.extendedConfigPath):d.extendedConfigPath.forEach((n=>u(e,n))),!d.raw.include&&e.include&&(d.raw.include=e.include),!d.raw.exclude&&e.exclude&&(d.raw.exclude=e.exclude),!d.raw.files&&e.files&&(d.raw.files=e.files),void 0===d.raw.compileOnSave&&e.compileOnSave&&(d.raw.compileOnSave=e.compileOnSave),n&&e.extendedSourceFiles&&(n.extendedSourceFiles=Qe(e.extendedSourceFiles.keys())),d.options=Ze(e.options,d.options),d.watchOptions=d.watchOptions&&e.watchOptions?Ze(e.watchOptions,d.watchOptions):d.watchOptions||e.watchOptions}return d;function u(e,i){const c=function(e,n,t,r,i,a,o){var s;const c=t.useCaseSensitiveFileNames?n:In(n);let l,d,u;if(a&&(l=a.get(c))?({extendedResult:d,extendedConfig:u}=l):(d=WO(n,(e=>t.readFile(e))),d.parseDiagnostics.length||(u=AM(void 0,d,t,co(n),lo(n),r,i,a)),a&&a.set(c,{extendedResult:d,extendedConfig:u})),e&&((null!=(s=o.extendedSourceFiles)?s:o.extendedSourceFiles=new Set).add(d.fileName),d.extendedSourceFiles))for(const e of d.extendedSourceFiles)o.extendedSourceFiles.add(e);if(!d.parseDiagnostics.length)return u;i.push(...d.parseDiagnostics)}(n,i,t,a,o,s,e);if(c&&c.options){const n=c.raw;let a;const o=o=>{n[o]&&(e[o]=W(n[o],(e=>Ya(e)?e:go(a||(a=Po(co(i),r,lt(t.useCaseSensitiveFileNames))),e))))};o("include"),o("exclude"),o("files"),void 0!==n.compileOnSave&&(e.compileOnSave=n.compileOnSave),Ze(e.options,c.options),e.watchOptions=e.watchOptions&&c.watchOptions?Ze({},e.watchOptions,c.watchOptions):e.watchOptions||c.watchOptions}}}function LM(e,n,t,r,i){if(Ya(e=mo(e))||pt(e,"./")||pt(e,"../")){let a=bo(e,t);return n.fileExists(a)||et(a,".json")||(a=`${a}.json`,n.fileExists(a))?a:void r.push(i(Vo.File_0_not_found,e))}const a=WP(e,go(t,"tsconfig.json"),n);if(a.resolvedModule)return a.resolvedModule.resolvedFileName;""===e?r.push(i(Vo.Compiler_option_0_cannot_be_given_an_empty_string,"extends")):r.push(i(Vo.File_0_not_found,e))}function CM(e,n,t){const r=[];return{options:wM(e,n,r,t),errors:r}}function kM(e,n,t){const r=[];return{options:NM(e,n,r,t),errors:r}}function IM(e){return e&&"jsconfig.json"===lo(e)?{allowJs:!0,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:!0,skipLibCheck:!0,noEmit:!0}:{}}function wM(e,n,t,r){const i=IM(r);return DM(XO(),e,n,i,dO,t),r&&(i.configFilePath=mo(r)),i}function RM(e){return{enable:!!e&&"jsconfig.json"===lo(e),include:[],exclude:[]}}function NM(e,n,t,r){const i=RM(r);return DM($O(),e,n,i,fO,t),i}function DM(e,n,t,r,i,a){if(n){for(const o in n){const s=e.get(o);s?(r||(r={}))[s.name]=OM(s,n[o],t,a):a.push(DO(o,i,LT))}return r}}function OM(e,n,t,r){if(tM(e,n)){const i=e.type;if("list"===i&&gn(n))return BM(e,n,t,r);if("listOrElement"===i)return gn(n)?BM(e,n,t,r):OM(e.element,n,t,r);if(!vn(e.type))return GM(e,n,r);const a=FM(e,n,r);return yM(a)?a:PM(e,t,a)}r.push(LT(Vo.Compiler_option_0_requires_a_value_of_type_1,e.name,nM(e)))}function MM(e,n,t){if(!yM(t)){if("listOrElement"===e.type&&!gn(t))return MM(e.element,n,t);if("list"===e.type||"listOrElement"===e.type){const r=e;return r.element.isFilePath||!vn(r.element.type)?j(W(t,(e=>MM(r.element,n,e))),(e=>!!r.listPreserveFalsyValues||!!e)):t}return vn(e.type)?PM(e,n,t):e.type.get(vn(t)?t.toLowerCase():t)}}function PM(e,n,t){return e.isFilePath&&""===(t=bo(t,n))&&(t="."),t}function FM(e,n,t){var r;if(yM(n))return;const i=null==(r=e.extraValidation)?void 0:r.call(e,n);if(!i)return n;t.push(LT(...i))}function GM(e,n,t){if(yM(n))return;const r=n.toLowerCase(),i=e.type.get(r);if(void 0!==i)return FM(e,i,t);t.push(kO(e))}function BM(e,n,t,r){return j(W(n,(n=>OM(e.element,n,t,r))),(n=>!!e.listPreserveFalsyValues||!!n))}function UM(e,n,t,r,a=i){n=Eo(n);const o=lt(r.useCaseSensitiveFileNames),s=new Map,c=new Map,l=new Map,{validatedFilesSpec:d,validatedIncludeSpecs:u,validatedExcludeSpecs:_}=e,p=Ox(t,a),f=Mx(t,p);if(d)for(const e of d){const t=bo(e,n);s.set(o(t),t)}let m;if(u&&u.length>0)for(const e of r.readDirectory(n,J(f),_,u,void 0)){if(to(e,".json")){if(!m){const e=W(Tx(u.filter((e=>et(e,".json"))),n,"files"),(e=>`^${e}$`));m=e?e.map((e=>kx(e,r.useCaseSensitiveFileNames))):i}if(-1!==M(m,(n=>n.test(e)))){const n=o(e);s.has(n)||l.has(n)||l.set(n,e)}continue}if(XM(e,s,c,p,o))continue;YM(e,c,p,o);const t=o(e);s.has(t)||c.has(t)||c.set(t,e)}const h=Qe(s.values()),g=Qe(c.values());return h.concat(g,Qe(l.values()))}function VM(e,n,t,r,i){const{validatedFilesSpec:a,validatedIncludeSpecs:o,validatedExcludeSpecs:s}=n;if(!S(o)||!S(s))return!1;t=Eo(t);const c=lt(r);if(a)for(const n of a)if(c(bo(n,t))===e)return!1;return KM(e,s,r,i,t)}function jM(e){const n=pt(e,"**/")?0:e.indexOf("/**/");return-1!==n&&(et(e,"/..")?e.length:e.lastIndexOf("/../"))>n}function HM(e,n,t,r){return KM(e,j(n,(e=>!jM(e))),t,r)}function KM(e,n,t,r,i){const a=Ex(n,go(Eo(r),i),"exclude"),o=a&&kx(a,t);return!!o&&(!!o.test(e)||!no(e)&&o.test(Ao(e)))}function WM(e,n,t,r,i){return e.filter((e=>{if(!vn(e))return!1;const a=qM(e,t);return void 0!==a&&n.push(function(e,n){const t=Vm(r,i,n);return t?Wf(r,t,e,n):LT(e,n)}(...a)),void 0===a}))}function qM(e,n){return Nt.assert("string"==typeof e),n&&xO.test(e)?[Vo.File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,e]:jM(e)?[Vo.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,e]:void 0}function zM({validatedIncludeSpecs:e,validatedExcludeSpecs:n},t,r){const i=Ex(n,t,"exclude"),a=i&&new RegExp(i,r?"":"i"),o={};if(void 0!==e){const n=[];for(const i of e){const e=Eo(go(t,i));if(a&&a.test(e))continue;const s=JM(e,r);if(s){const{key:e,flags:t}=s,r=o[e];(void 0===r||r<t)&&(o[e]=t,1===t&&n.push(e))}}for(const e in o)if(qe(o,e))for(const i of n)e!==i&&No(i,e,t,!r)&&delete o[e]}return o}function JM(e,n){const t=SO.exec(e);if(t){const r=e.indexOf("?"),i=e.indexOf("*"),a=e.lastIndexOf(ja);return{key:n?t[0]:In(t[0]),flags:-1!==r&&r<a||-1!==i&&i<a?1:0}}if(xx(e.substring(e.lastIndexOf(ja)+1)))return{key:So(n?e:In(e)),flags:1}}function XM(e,n,t,r,i){const a=A(r,(n=>ro(e,n)?n:void 0));if(!a)return!1;for(const r of a){if(to(e,r))return!1;const a=i(qx(e,r));if(n.has(a)||t.has(a)){if(".d.ts"===r&&(to(e,".js")||to(e,".jsx")))continue;return!0}}return!1}function YM(e,n,t,r){const i=A(t,(n=>ro(e,n)?n:void 0));if(i)for(let t=i.length-1;t>=0;t--){const a=i[t];if(to(e,a))return;const o=r(qx(e,a));n.delete(o)}}function $M(e){const n={};for(const t in e)if(qe(e,t)){const r=FO(t);void 0!==r&&(n[t]=QM(e[t],r))}return n}function QM(e,n){switch(n.type){case"object":case"string":return"";case"number":return"number"==typeof e?e:"";case"boolean":return"boolean"==typeof e?e:"";case"listOrElement":if(!gn(e))return QM(e,n.element);case"list":const t=n.element;return gn(e)?e.map((e=>QM(e,t))):"";default:return pp(n.type,((n,t)=>{if(n===e)return t}))}}function ZM(e){switch(e.type){case"number":return 1;case"boolean":return!0;case"string":const n=e.defaultValueDescription;return e.isFilePath?`./${n&&"string"==typeof n?n:""}`:"";case"list":return[];case"listOrElement":return ZM(e.element);case"object":return{};default:const t=Oe(e.type.keys());return void 0!==t?t:Nt.fail("Expected 'option.type' to have entries.")}}var eP,nP,tP,rP,iP,aP=E({"src/compiler/commandLineParser.ts"(){Qq(),BD={name:"compileOnSave",type:"boolean",defaultValueDescription:!1},UD=new Map(Object.entries({preserve:1,"react-native":3,react:2,"react-jsx":4,"react-jsxdev":5})),VD=new Map(q(UD.entries(),(([e,n])=>[""+n,e]))),HD=(jD=[["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"],["es2022","lib.es2022.d.ts"],["es2023","lib.es2023.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"],["es2019.intl","lib.es2019.intl.d.ts"],["es2020.bigint","lib.es2020.bigint.d.ts"],["es2020.date","lib.es2020.date.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"],["es2020.number","lib.es2020.number.d.ts"],["es2021.promise","lib.es2021.promise.d.ts"],["es2021.string","lib.es2021.string.d.ts"],["es2021.weakref","lib.es2021.weakref.d.ts"],["es2021.intl","lib.es2021.intl.d.ts"],["es2022.array","lib.es2022.array.d.ts"],["es2022.error","lib.es2022.error.d.ts"],["es2022.intl","lib.es2022.intl.d.ts"],["es2022.object","lib.es2022.object.d.ts"],["es2022.sharedmemory","lib.es2022.sharedmemory.d.ts"],["es2022.string","lib.es2022.string.d.ts"],["es2022.regexp","lib.es2022.regexp.d.ts"],["es2023.array","lib.es2023.array.d.ts"],["esnext.array","lib.es2023.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.es2022.string.d.ts"],["esnext.promise","lib.es2021.promise.d.ts"],["esnext.weakref","lib.es2021.weakref.d.ts"],["decorators","lib.decorators.d.ts"],["decorators.legacy","lib.decorators.legacy.d.ts"]]).map((e=>e[0])),KD=new Map(jD),WD=[{name:"watchFile",type:new Map(Object.entries({fixedpollinginterval:0,prioritypollinginterval:1,dynamicprioritypolling:2,fixedchunksizepolling:3,usefsevents:4,usefseventsonparentdirectory:5})),category:Vo.Watch_and_Build_Modes,description:Vo.Specify_how_the_TypeScript_watch_mode_works,defaultValueDescription:4},{name:"watchDirectory",type:new Map(Object.entries({usefsevents:0,fixedpollinginterval:1,dynamicprioritypolling:2,fixedchunksizepolling:3})),category:Vo.Watch_and_Build_Modes,description:Vo.Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality,defaultValueDescription:0},{name:"fallbackPolling",type:new Map(Object.entries({fixedinterval:0,priorityinterval:1,dynamicpriority:2,fixedchunksize:3})),category:Vo.Watch_and_Build_Modes,description:Vo.Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers,defaultValueDescription:1},{name:"synchronousWatchDirectory",type:"boolean",category:Vo.Watch_and_Build_Modes,description:Vo.Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively,defaultValueDescription:!1},{name:"excludeDirectories",type:"list",element:{name:"excludeDirectory",type:"string",isFilePath:!0,extraValidation:qM},category:Vo.Watch_and_Build_Modes,description:Vo.Remove_a_list_of_directories_from_the_watch_process},{name:"excludeFiles",type:"list",element:{name:"excludeFile",type:"string",isFilePath:!0,extraValidation:qM},category:Vo.Watch_and_Build_Modes,description:Vo.Remove_a_list_of_files_from_the_watch_mode_s_processing}],qD=[{name:"help",shortName:"h",type:"boolean",showInSimplifiedHelpView:!0,isCommandLineOnly:!0,category:Vo.Command_line_Options,description:Vo.Print_this_message,defaultValueDescription:!1},{name:"help",shortName:"?",type:"boolean",isCommandLineOnly:!0,category:Vo.Command_line_Options,defaultValueDescription:!1},{name:"watch",shortName:"w",type:"boolean",showInSimplifiedHelpView:!0,isCommandLineOnly:!0,category:Vo.Command_line_Options,description:Vo.Watch_input_files,defaultValueDescription:!1},{name:"preserveWatchOutput",type:"boolean",showInSimplifiedHelpView:!1,category:Vo.Output_Formatting,description:Vo.Disable_wiping_the_console_in_watch_mode,defaultValueDescription:!1},{name:"listFiles",type:"boolean",category:Vo.Compiler_Diagnostics,description:Vo.Print_all_of_the_files_read_during_the_compilation,defaultValueDescription:!1},{name:"explainFiles",type:"boolean",category:Vo.Compiler_Diagnostics,description:Vo.Print_files_read_during_the_compilation_including_why_it_was_included,defaultValueDescription:!1},{name:"listEmittedFiles",type:"boolean",category:Vo.Compiler_Diagnostics,description:Vo.Print_the_names_of_emitted_files_after_a_compilation,defaultValueDescription:!1},{name:"pretty",type:"boolean",showInSimplifiedHelpView:!0,category:Vo.Output_Formatting,description:Vo.Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read,defaultValueDescription:!0},{name:"traceResolution",type:"boolean",category:Vo.Compiler_Diagnostics,description:Vo.Log_paths_used_during_the_moduleResolution_process,defaultValueDescription:!1},{name:"diagnostics",type:"boolean",category:Vo.Compiler_Diagnostics,description:Vo.Output_compiler_performance_information_after_building,defaultValueDescription:!1},{name:"extendedDiagnostics",type:"boolean",category:Vo.Compiler_Diagnostics,description:Vo.Output_more_detailed_compiler_performance_information_after_building,defaultValueDescription:!1},{name:"generateCpuProfile",type:"string",isFilePath:!0,paramType:Vo.FILE_OR_DIRECTORY,category:Vo.Compiler_Diagnostics,description:Vo.Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging,defaultValueDescription:"profile.cpuprofile"},{name:"generateTrace",type:"string",isFilePath:!0,isCommandLineOnly:!0,paramType:Vo.DIRECTORY,category:Vo.Compiler_Diagnostics,description:Vo.Generates_an_event_trace_and_a_list_of_types},{name:"incremental",shortName:"i",type:"boolean",category:Vo.Projects,description:Vo.Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects,transpileOptionValue:void 0,defaultValueDescription:Vo.false_unless_composite_is_set},{name:"declaration",shortName:"d",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:Vo.Emit,transpileOptionValue:void 0,description:Vo.Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project,defaultValueDescription:Vo.false_unless_composite_is_set},{name:"declarationMap",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:Vo.Emit,transpileOptionValue:void 0,defaultValueDescription:!1,description:Vo.Create_sourcemaps_for_d_ts_files},{name:"emitDeclarationOnly",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:Vo.Emit,description:Vo.Only_output_d_ts_files_and_not_JavaScript_files,transpileOptionValue:void 0,defaultValueDescription:!1},{name:"sourceMap",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:Vo.Emit,defaultValueDescription:!1,description:Vo.Create_source_map_files_for_emitted_JavaScript_files},{name:"inlineSourceMap",type:"boolean",affectsBuildInfo:!0,category:Vo.Emit,description:Vo.Include_sourcemap_files_inside_the_emitted_JavaScript,defaultValueDescription:!1},{name:"assumeChangesOnlyAffectDirectDependencies",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,category:Vo.Watch_and_Build_Modes,description:Vo.Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it,defaultValueDescription:!1},{name:"locale",type:"string",category:Vo.Command_line_Options,isCommandLineOnly:!0,description:Vo.Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit,defaultValueDescription:Vo.Platform_specific}],zD={name:"target",shortName:"t",type:new Map(Object.entries({es3:0,es5:1,es6:2,es2015:2,es2016:3,es2017:4,es2018:5,es2019:6,es2020:7,es2021:8,es2022:9,esnext:99})),affectsSourceFile:!0,affectsModuleResolution:!0,affectsEmit:!0,affectsBuildInfo:!0,paramType:Vo.VERSION,showInSimplifiedHelpView:!0,category:Vo.Language_and_Environment,description:Vo.Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations,defaultValueDescription:1},JD={name:"module",shortName:"m",type:new Map(Object.entries({none:0,commonjs:1,amd:2,system:4,umd:3,es6:5,es2015:5,es2020:6,es2022:7,esnext:99,node16:100,nodenext:199})),affectsModuleResolution:!0,affectsEmit:!0,affectsBuildInfo:!0,paramType:Vo.KIND,showInSimplifiedHelpView:!0,category:Vo.Modules,description:Vo.Specify_what_module_code_is_generated,defaultValueDescription:void 0},XD=[{name:"all",type:"boolean",showInSimplifiedHelpView:!0,category:Vo.Command_line_Options,description:Vo.Show_all_compiler_options,defaultValueDescription:!1},{name:"version",shortName:"v",type:"boolean",showInSimplifiedHelpView:!0,category:Vo.Command_line_Options,description:Vo.Print_the_compiler_s_version,defaultValueDescription:!1},{name:"init",type:"boolean",showInSimplifiedHelpView:!0,category:Vo.Command_line_Options,description:Vo.Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file,defaultValueDescription:!1},{name:"project",shortName:"p",type:"string",isFilePath:!0,showInSimplifiedHelpView:!0,category:Vo.Command_line_Options,paramType:Vo.FILE_OR_DIRECTORY,description:Vo.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:Vo.Command_line_Options,description:Vo.Build_one_or_more_projects_and_their_dependencies_if_out_of_date,defaultValueDescription:!1},{name:"showConfig",type:"boolean",showInSimplifiedHelpView:!0,category:Vo.Command_line_Options,isCommandLineOnly:!0,description:Vo.Print_the_final_configuration_instead_of_building,defaultValueDescription:!1},{name:"listFilesOnly",type:"boolean",category:Vo.Command_line_Options,isCommandLineOnly:!0,description:Vo.Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing,defaultValueDescription:!1},zD,JD,{name:"lib",type:"list",element:{name:"lib",type:KD,defaultValueDescription:void 0},affectsProgramStructure:!0,showInSimplifiedHelpView:!0,category:Vo.Language_and_Environment,description:Vo.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:Vo.JavaScript_Support,description:Vo.Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files,defaultValueDescription:!1},{name:"checkJs",type:"boolean",showInSimplifiedHelpView:!0,category:Vo.JavaScript_Support,description:Vo.Enable_error_reporting_in_type_checked_JavaScript_files,defaultValueDescription:!1},{name:"jsx",type:UD,affectsSourceFile:!0,affectsEmit:!0,affectsBuildInfo:!0,affectsModuleResolution:!0,paramType:Vo.KIND,showInSimplifiedHelpView:!0,category:Vo.Language_and_Environment,description:Vo.Specify_what_JSX_code_is_generated,defaultValueDescription:void 0},{name:"outFile",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:Vo.FILE,showInSimplifiedHelpView:!0,category:Vo.Emit,description:Vo.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},{name:"outDir",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:Vo.DIRECTORY,showInSimplifiedHelpView:!0,category:Vo.Emit,description:Vo.Specify_an_output_folder_for_all_emitted_files},{name:"rootDir",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:Vo.LOCATION,category:Vo.Modules,description:Vo.Specify_the_root_folder_within_your_source_files,defaultValueDescription:Vo.Computed_from_the_list_of_input_files},{name:"composite",type:"boolean",affectsBuildInfo:!0,isTSConfigOnly:!0,category:Vo.Projects,transpileOptionValue:void 0,defaultValueDescription:!1,description:Vo.Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references},{name:"tsBuildInfoFile",type:"string",affectsEmit:!0,affectsBuildInfo:!0,isFilePath:!0,paramType:Vo.FILE,category:Vo.Projects,transpileOptionValue:void 0,defaultValueDescription:".tsbuildinfo",description:Vo.Specify_the_path_to_tsbuildinfo_incremental_compilation_file},{name:"removeComments",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:Vo.Emit,defaultValueDescription:!1,description:Vo.Disable_emitting_comments},{name:"noEmit",type:"boolean",showInSimplifiedHelpView:!0,category:Vo.Emit,description:Vo.Disable_emitting_files_from_a_compilation,transpileOptionValue:void 0,defaultValueDescription:!1},{name:"importHelpers",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:Vo.Emit,description:Vo.Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file,defaultValueDescription:!1},{name:"importsNotUsedAsValues",type:new Map(Object.entries({remove:0,preserve:1,error:2})),affectsEmit:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:Vo.Emit,description:Vo.Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types,defaultValueDescription:0},{name:"downlevelIteration",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:Vo.Emit,description:Vo.Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration,defaultValueDescription:!1},{name:"isolatedModules",type:"boolean",category:Vo.Interop_Constraints,description:Vo.Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports,transpileOptionValue:!0,defaultValueDescription:!1},{name:"verbatimModuleSyntax",type:"boolean",category:Vo.Interop_Constraints,description:Vo.Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_in_the_output_file_s_format_based_on_the_module_setting,defaultValueDescription:!1},{name:"strict",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:Vo.Type_Checking,description:Vo.Enable_all_strict_type_checking_options,defaultValueDescription:!1},{name:"noImplicitAny",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:Vo.Type_Checking,description:Vo.Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type,defaultValueDescription:Vo.false_unless_strict_is_set},{name:"strictNullChecks",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:Vo.Type_Checking,description:Vo.When_type_checking_take_into_account_null_and_undefined,defaultValueDescription:Vo.false_unless_strict_is_set},{name:"strictFunctionTypes",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:Vo.Type_Checking,description:Vo.When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible,defaultValueDescription:Vo.false_unless_strict_is_set},{name:"strictBindCallApply",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:Vo.Type_Checking,description:Vo.Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function,defaultValueDescription:Vo.false_unless_strict_is_set},{name:"strictPropertyInitialization",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:Vo.Type_Checking,description:Vo.Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor,defaultValueDescription:Vo.false_unless_strict_is_set},{name:"noImplicitThis",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:Vo.Type_Checking,description:Vo.Enable_error_reporting_when_this_is_given_the_type_any,defaultValueDescription:Vo.false_unless_strict_is_set},{name:"useUnknownInCatchVariables",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:Vo.Type_Checking,description:Vo.Default_catch_clause_variables_as_unknown_instead_of_any,defaultValueDescription:!1},{name:"alwaysStrict",type:"boolean",affectsSourceFile:!0,affectsEmit:!0,affectsBuildInfo:!0,strictFlag:!0,category:Vo.Type_Checking,description:Vo.Ensure_use_strict_is_always_emitted,defaultValueDescription:Vo.false_unless_strict_is_set},{name:"noUnusedLocals",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:Vo.Type_Checking,description:Vo.Enable_error_reporting_when_local_variables_aren_t_read,defaultValueDescription:!1},{name:"noUnusedParameters",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:Vo.Type_Checking,description:Vo.Raise_an_error_when_a_function_parameter_isn_t_read,defaultValueDescription:!1},{name:"exactOptionalPropertyTypes",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:Vo.Type_Checking,description:Vo.Interpret_optional_property_types_as_written_rather_than_adding_undefined,defaultValueDescription:!1},{name:"noImplicitReturns",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:Vo.Type_Checking,description:Vo.Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function,defaultValueDescription:!1},{name:"noFallthroughCasesInSwitch",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:Vo.Type_Checking,description:Vo.Enable_error_reporting_for_fallthrough_cases_in_switch_statements,defaultValueDescription:!1},{name:"noUncheckedIndexedAccess",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:Vo.Type_Checking,description:Vo.Add_undefined_to_a_type_when_accessed_using_an_index,defaultValueDescription:!1},{name:"noImplicitOverride",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:Vo.Type_Checking,description:Vo.Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier,defaultValueDescription:!1},{name:"noPropertyAccessFromIndexSignature",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!1,category:Vo.Type_Checking,description:Vo.Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type,defaultValueDescription:!1},{name:"moduleResolution",type:new Map(Object.entries({node10:2,node:2,classic:1,node16:3,nodenext:99,bundler:100})),deprecatedKeys:new Set(["node"]),affectsModuleResolution:!0,paramType:Vo.STRATEGY,category:Vo.Modules,description:Vo.Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier,defaultValueDescription:Vo.module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node},{name:"baseUrl",type:"string",affectsModuleResolution:!0,isFilePath:!0,category:Vo.Modules,description:Vo.Specify_the_base_directory_to_resolve_non_relative_module_names},{name:"paths",type:"object",affectsModuleResolution:!0,isTSConfigOnly:!0,category:Vo.Modules,description:Vo.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:Vo.Modules,description:Vo.Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules,transpileOptionValue:void 0,defaultValueDescription:Vo.Computed_from_the_list_of_input_files},{name:"typeRoots",type:"list",element:{name:"typeRoots",type:"string",isFilePath:!0},affectsModuleResolution:!0,category:Vo.Modules,description:Vo.Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types},{name:"types",type:"list",element:{name:"types",type:"string"},affectsProgramStructure:!0,showInSimplifiedHelpView:!0,category:Vo.Modules,description:Vo.Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file,transpileOptionValue:void 0},{name:"allowSyntheticDefaultImports",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:Vo.Interop_Constraints,description:Vo.Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export,defaultValueDescription:Vo.module_system_or_esModuleInterop},{name:"esModuleInterop",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:Vo.Interop_Constraints,description:Vo.Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility,defaultValueDescription:!1},{name:"preserveSymlinks",type:"boolean",category:Vo.Interop_Constraints,description:Vo.Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node,defaultValueDescription:!1},{name:"allowUmdGlobalAccess",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:Vo.Modules,description:Vo.Allow_accessing_UMD_globals_from_modules,defaultValueDescription:!1},{name:"moduleSuffixes",type:"list",element:{name:"suffix",type:"string"},listPreserveFalsyValues:!0,affectsModuleResolution:!0,category:Vo.Modules,description:Vo.List_of_file_name_suffixes_to_search_when_resolving_a_module},{name:"allowImportingTsExtensions",type:"boolean",affectsSemanticDiagnostics:!0,category:Vo.Modules,description:Vo.Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noEmit_or_emitDeclarationOnly_to_be_set,defaultValueDescription:!1},{name:"resolvePackageJsonExports",type:"boolean",affectsModuleResolution:!0,category:Vo.Modules,description:Vo.Use_the_package_json_exports_field_when_resolving_package_imports,defaultValueDescription:Vo.true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false},{name:"resolvePackageJsonImports",type:"boolean",affectsModuleResolution:!0,category:Vo.Modules,description:Vo.Use_the_package_json_imports_field_when_resolving_imports,defaultValueDescription:Vo.true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false},{name:"customConditions",type:"list",element:{name:"condition",type:"string"},affectsModuleResolution:!0,category:Vo.Modules,description:Vo.Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports},{name:"sourceRoot",type:"string",affectsEmit:!0,affectsBuildInfo:!0,paramType:Vo.LOCATION,category:Vo.Emit,description:Vo.Specify_the_root_path_for_debuggers_to_find_the_reference_source_code},{name:"mapRoot",type:"string",affectsEmit:!0,affectsBuildInfo:!0,paramType:Vo.LOCATION,category:Vo.Emit,description:Vo.Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations},{name:"inlineSources",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:Vo.Emit,description:Vo.Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript,defaultValueDescription:!1},{name:"experimentalDecorators",type:"boolean",affectsEmit:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:Vo.Language_and_Environment,description:Vo.Enable_experimental_support_for_legacy_experimental_decorators,defaultValueDescription:!1},{name:"emitDecoratorMetadata",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,category:Vo.Language_and_Environment,description:Vo.Emit_design_type_metadata_for_decorated_declarations_in_source_files,defaultValueDescription:!1},{name:"jsxFactory",type:"string",category:Vo.Language_and_Environment,description:Vo.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:Vo.Language_and_Environment,description:Vo.Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment,defaultValueDescription:"React.Fragment"},{name:"jsxImportSource",type:"string",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,affectsModuleResolution:!0,category:Vo.Language_and_Environment,description:Vo.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:Vo.Modules,description:Vo.Enable_importing_json_files,defaultValueDescription:!1},{name:"allowArbitraryExtensions",type:"boolean",affectsProgramStructure:!0,category:Vo.Modules,description:Vo.Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present,defaultValueDescription:!1},{name:"out",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!1,category:Vo.Backwards_Compatibility,paramType:Vo.FILE,transpileOptionValue:void 0,description:Vo.Deprecated_setting_Use_outFile_instead},{name:"reactNamespace",type:"string",affectsEmit:!0,affectsBuildInfo:!0,category:Vo.Language_and_Environment,description:Vo.Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit,defaultValueDescription:"`React`"},{name:"skipDefaultLibCheck",type:"boolean",affectsBuildInfo:!0,category:Vo.Completeness,description:Vo.Skip_type_checking_d_ts_files_that_are_included_with_TypeScript,defaultValueDescription:!1},{name:"charset",type:"string",category:Vo.Backwards_Compatibility,description:Vo.No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files,defaultValueDescription:"utf8"},{name:"emitBOM",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:Vo.Emit,description:Vo.Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files,defaultValueDescription:!1},{name:"newLine",type:new Map(Object.entries({crlf:0,lf:1})),affectsEmit:!0,affectsBuildInfo:!0,paramType:Vo.NEWLINE,category:Vo.Emit,description:Vo.Set_the_newline_character_for_emitting_files,defaultValueDescription:"lf"},{name:"noErrorTruncation",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:Vo.Output_Formatting,description:Vo.Disable_truncating_types_in_error_messages,defaultValueDescription:!1},{name:"noLib",type:"boolean",category:Vo.Language_and_Environment,affectsProgramStructure:!0,description:Vo.Disable_including_any_library_files_including_the_default_lib_d_ts,transpileOptionValue:!0,defaultValueDescription:!1},{name:"noResolve",type:"boolean",affectsModuleResolution:!0,category:Vo.Modules,description:Vo.Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project,transpileOptionValue:!0,defaultValueDescription:!1},{name:"stripInternal",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:Vo.Emit,description:Vo.Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments,defaultValueDescription:!1},{name:"disableSizeLimit",type:"boolean",affectsProgramStructure:!0,category:Vo.Editor_Support,description:Vo.Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server,defaultValueDescription:!1},{name:"disableSourceOfProjectReferenceRedirect",type:"boolean",isTSConfigOnly:!0,category:Vo.Projects,description:Vo.Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects,defaultValueDescription:!1},{name:"disableSolutionSearching",type:"boolean",isTSConfigOnly:!0,category:Vo.Projects,description:Vo.Opt_a_project_out_of_multi_project_reference_checking_when_editing,defaultValueDescription:!1},{name:"disableReferencedProjectLoad",type:"boolean",isTSConfigOnly:!0,category:Vo.Projects,description:Vo.Reduce_the_number_of_projects_loaded_automatically_by_TypeScript,defaultValueDescription:!1},{name:"noImplicitUseStrict",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:Vo.Backwards_Compatibility,description:Vo.Disable_adding_use_strict_directives_in_emitted_JavaScript_files,defaultValueDescription:!1},{name:"noEmitHelpers",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:Vo.Emit,description:Vo.Disable_generating_custom_helper_functions_like_extends_in_compiled_output,defaultValueDescription:!1},{name:"noEmitOnError",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:Vo.Emit,transpileOptionValue:void 0,description:Vo.Disable_emitting_files_if_any_type_checking_errors_are_reported,defaultValueDescription:!1},{name:"preserveConstEnums",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:Vo.Emit,description:Vo.Disable_erasing_const_enum_declarations_in_generated_code,defaultValueDescription:!1},{name:"declarationDir",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:Vo.DIRECTORY,category:Vo.Emit,transpileOptionValue:void 0,description:Vo.Specify_the_output_directory_for_generated_declaration_files},{name:"skipLibCheck",type:"boolean",affectsBuildInfo:!0,category:Vo.Completeness,description:Vo.Skip_type_checking_all_d_ts_files,defaultValueDescription:!1},{name:"allowUnusedLabels",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:Vo.Type_Checking,description:Vo.Disable_error_reporting_for_unused_labels,defaultValueDescription:void 0},{name:"allowUnreachableCode",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:Vo.Type_Checking,description:Vo.Disable_error_reporting_for_unreachable_code,defaultValueDescription:void 0},{name:"suppressExcessPropertyErrors",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:Vo.Backwards_Compatibility,description:Vo.Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals,defaultValueDescription:!1},{name:"suppressImplicitAnyIndexErrors",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:Vo.Backwards_Compatibility,description:Vo.Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures,defaultValueDescription:!1},{name:"forceConsistentCasingInFileNames",type:"boolean",affectsModuleResolution:!0,category:Vo.Interop_Constraints,description:Vo.Ensure_that_casing_is_correct_in_imports,defaultValueDescription:!0},{name:"maxNodeModuleJsDepth",type:"number",affectsModuleResolution:!0,category:Vo.JavaScript_Support,description:Vo.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,affectsBuildInfo:!0,category:Vo.Backwards_Compatibility,description:Vo.Disable_strict_checking_of_generic_signatures_in_function_types,defaultValueDescription:!1},{name:"useDefineForClassFields",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,category:Vo.Language_and_Environment,description:Vo.Emit_ECMAScript_standard_compliant_class_fields,defaultValueDescription:Vo.true_for_ES2022_and_above_including_ESNext},{name:"preserveValueImports",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:Vo.Emit,description:Vo.Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed,defaultValueDescription:!1},{name:"keyofStringsOnly",type:"boolean",category:Vo.Backwards_Compatibility,description:Vo.Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option,defaultValueDescription:!1},{name:"plugins",type:"list",isTSConfigOnly:!0,element:{name:"plugin",type:"object"},description:Vo.Specify_a_list_of_language_service_plugins_to_include,category:Vo.Editor_Support},{name:"moduleDetection",type:new Map(Object.entries({auto:2,legacy:1,force:3})),affectsModuleResolution:!0,description:Vo.Control_what_method_is_used_to_detect_module_format_JS_files,category:Vo.Language_and_Environment,defaultValueDescription:Vo.auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules},{name:"ignoreDeprecations",type:"string",defaultValueDescription:void 0}],YD=[...qD,...XD],$D=YD.filter((e=>!!e.affectsSemanticDiagnostics)),QD=YD.filter((e=>!!e.affectsEmit)),ZD=YD.filter((e=>!!e.affectsDeclarationPath)),eO=YD.filter((e=>!!e.affectsModuleResolution)),nO=YD.filter((e=>!!e.affectsSourceFile||!!e.affectsModuleResolution||!!e.affectsBindDiagnostics)),tO=YD.filter((e=>!!e.affectsProgramStructure)),rO=YD.filter((e=>qe(e,"transpileOptionValue"))),iO=[{name:"verbose",shortName:"v",category:Vo.Command_line_Options,description:Vo.Enable_verbose_logging,type:"boolean",defaultValueDescription:!1},{name:"dry",shortName:"d",category:Vo.Command_line_Options,description:Vo.Show_what_would_be_built_or_deleted_if_specified_with_clean,type:"boolean",defaultValueDescription:!1},{name:"force",shortName:"f",category:Vo.Command_line_Options,description:Vo.Build_all_projects_including_those_that_appear_to_be_up_to_date,type:"boolean",defaultValueDescription:!1},{name:"clean",category:Vo.Command_line_Options,description:Vo.Delete_the_outputs_of_all_projects,type:"boolean",defaultValueDescription:!1}],aO=[...qD,...iO],oO=[{name:"enable",type:"boolean",defaultValueDescription:!1},{name:"include",type:"list",element:{name:"include",type:"string"}},{name:"exclude",type:"list",element:{name:"exclude",type:"string"}},{name:"disableFilenameBasedTypeAcquisition",type:"boolean",defaultValueDescription:!1}],cO={diagnostic:Vo.Compiler_option_0_may_only_be_used_with_build,getOptionsNameMap:BO},lO={module:1,target:3,strict:!0,esModuleInterop:!0,forceConsistentCasingInFileNames:!0,skipLibCheck:!0},dO={alternateMode:cO,getOptionsNameMap:CO,optionDeclarations:YD,unknownOptionDiagnostic:Vo.Unknown_compiler_option_0,unknownDidYouMeanDiagnostic:Vo.Unknown_compiler_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:Vo.Compiler_option_0_expects_an_argument},_O={diagnostic:Vo.Compiler_option_0_may_not_be_used_with_build,getOptionsNameMap:CO},pO={alternateMode:_O,getOptionsNameMap:BO,optionDeclarations:aO,unknownOptionDiagnostic:Vo.Unknown_build_option_0,unknownDidYouMeanDiagnostic:Vo.Unknown_build_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:Vo.Build_option_0_requires_a_value_of_type_1},fO={optionDeclarations:oO,unknownOptionDiagnostic:Vo.Unknown_type_acquisition_option_0,unknownDidYouMeanDiagnostic:Vo.Unknown_type_acquisition_option_0_Did_you_mean_1},hO={getOptionsNameMap:JO,optionDeclarations:WD,unknownOptionDiagnostic:Vo.Unknown_watch_option_0,unknownDidYouMeanDiagnostic:Vo.Unknown_watch_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:Vo.Watch_option_0_requires_a_value_of_type_1},bO={name:"extends",type:"listOrElement",element:{name:"extends",type:"string"},category:Vo.File_Management},TO="**/*",xO=/(^|\/)\*\*\/?$/,SO=/^[^*?]*(?=\/[^/]*[*?])/}});function oP(e){e.trace(AT.apply(void 0,arguments))}function sP(e,n){return!!e.traceResolution&&void 0!==n.trace}function cP(e,n){let t;if(n&&e){const r=e.contents.packageJsonContent;"string"==typeof r.name&&"string"==typeof r.version&&(t={name:r.name,subModuleName:n.path.slice(e.packageDirectory.length+ja.length),version:r.version})}return n&&{path:n.path,extension:n.ext,packageId:t,resolvedUsingTsExtension:n.resolvedUsingTsExtension}}function lP(e){return cP(void 0,e)}function dP(e){if(e)return Nt.assert(void 0===e.packageId),{path:e.path,ext:e.extension,resolvedUsingTsExtension:e.resolvedUsingTsExtension}}function uP(e){const n=[];return 1&e&&n.push("TypeScript"),2&e&&n.push("JavaScript"),4&e&&n.push("Declaration"),8&e&&n.push("JSON"),n.join(", ")}function _P(e){if(e)return Nt.assert(Yx(e.extension)),{fileName:e.path,packageId:e.packageId}}function pP(e,n,t,r,i,a,o,s){if(!o.resultFromCache&&!o.compilerOptions.preserveSymlinks&&n&&t&&!n.originalPath&&!Zs(e)){const{resolvedFileName:e,originalPath:t}=EP(n.path,o.host,o.traceEnabled);t&&(n={...n,path:e,originalPath:t})}return fP(n,t,r,i,a,o.resultFromCache,s)}function fP(e,n,t,r,i,a,o){return a?(a.failedLookupLocations=hP(a.failedLookupLocations,t),a.affectingLocations=hP(a.affectingLocations,r),a.resolutionDiagnostics=hP(a.resolutionDiagnostics,i),a):{resolvedModule:e&&{resolvedFileName:e.path,originalPath:!0===e.originalPath?void 0:e.originalPath,extension:e.extension,isExternalLibraryImport:n,packageId:e.packageId,resolvedUsingTsExtension:!!e.resolvedUsingTsExtension},failedLookupLocations:mP(t),affectingLocations:mP(r),resolutionDiagnostics:mP(i),node10Result:o}}function mP(e){return e.length?e:void 0}function hP(e,n){return(null==n?void 0:n.length)?(null==e?void 0:e.length)?(e.push(...n),e):n:e}function gP(e,n,t,r){if(!qe(e,n))return void(r.traceEnabled&&oP(r.host,Vo.package_json_does_not_have_a_0_field,n));const i=e[n];if(typeof i===t&&null!==i)return i;r.traceEnabled&&oP(r.host,Vo.Expected_type_of_0_field_in_package_json_to_be_1_got_2,n,t,null===i?"null":typeof i)}function yP(e,n,t,r){const i=gP(e,n,"string",r);if(void 0===i)return;if(!i)return void(r.traceEnabled&&oP(r.host,Vo.package_json_had_a_falsy_0_field,n));const a=Eo(go(t,i));return r.traceEnabled&&oP(r.host,Vo.package_json_has_0_field_1_that_references_2,n,i,a),a}function vP(e){eP||(eP=new Ut(t));for(const n in e){if(!qe(e,n))continue;const t=Vt.tryParse(n);if(void 0!==t&&t.test(eP))return{version:n,paths:e[n]}}}function bP(e,n){if(e.typeRoots)return e.typeRoots;let t;return e.configFilePath?t=co(e.configFilePath):n.getCurrentDirectory&&(t=n.getCurrentDirectory()),void 0!==t?function(e,n){if(!n.directoryExists)return[go(e,nP)];let t;return Bo(Eo(e),(e=>{const r=go(e,nP);n.directoryExists(r)&&(t||(t=[])).push(r)})),t}(t,n):void 0}function EP(e,n,t){const r=function(e,n,t){if(!n.realpath)return e;const r=Eo(n.realpath(e));return t&&oP(n,Vo.Resolving_real_path_for_0_result_1,e,r),Nt.assert(n.fileExists(r),`${e} linked to nonexistent file ${r}`),r}(e,n,t),i=function(e,n,t){return 0===Ro(e,n,!("function"==typeof t.useCaseSensitiveFileNames?t.useCaseSensitiveFileNames():t.useCaseSensitiveFileNames))}(e,r,n);return{resolvedFileName:i?e:r,originalPath:i?void 0:e}}function TP(e,n,t,r,i,a,o){Nt.assert("string"==typeof e,"Non-string value passed to `ts.resolveTypeReferenceDirective`, likely by a wrapping package working with an outdated `resolveTypeReferenceDirectives` signature. This is probably not a problem in TS itself.");const s=sP(t,r);i&&(t=i.commandLine.options);const c=n?co(n):void 0;let l=c?null==a?void 0:a.getFromDirectoryCache(e,o,c,i):void 0;if(l||!c||Zs(e)||(l=null==a?void 0:a.getFromNonRelativeNameCache(e,o,c,i)),l)return s&&(oP(r,Vo.Resolving_type_reference_directive_0_containing_file_1,e,n),i&&oP(r,Vo.Using_compiler_options_of_project_reference_redirect_0,i.sourceFile.fileName),oP(r,Vo.Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1,e,c),b(l)),l;const d=bP(t,r);s&&(void 0===n?void 0===d?oP(r,Vo.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set,e):oP(r,Vo.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1,e,d):void 0===d?oP(r,Vo.Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set,e,n):oP(r,Vo.Resolving_type_reference_directive_0_containing_file_1_root_directory_2,e,n,d),i&&oP(r,Vo.Using_compiler_options_of_project_reference_redirect_0,i.sourceFile.fileName));const u=[],_=[];let p=xP(t);99!==o||3!==jT(t)&&99!==jT(t)||(p|=32);const f=8&p?SP(t,!!(32&p)):[],m=[],h={compilerOptions:t,host:r,traceEnabled:s,failedLookupLocations:u,affectingLocations:_,packageJsonInfoCache:a,features:p,conditions:f,requestContainingDirectory:c,reportDiagnostic:e=>{m.push(e)},isConfigLookup:!1,candidateIsFromPackageJsonField:!1};let g,y=function(){if(d&&d.length)return s&&oP(r,Vo.Resolving_with_primary_search_path_0,d.join(", ")),C(d,(n=>{const t=go(n,e),i=co(t),a=sE(i,r);return!a&&s&&oP(r,Vo.Directory_0_does_not_exist_skipping_all_lookups_in_it,i),_P(aF(4,t,!a,h))}));s&&oP(r,Vo.Root_directory_cannot_be_determined_skipping_primary_search_paths)}(),v=!0;if(y||(y=function(){const t=n&&co(n);if(void 0!==t){let n;if(s&&oP(r,Vo.Looking_up_in_node_modules_folder_initial_location_0,t),Zs(e)){const{path:r}=zP(t,e);n=JP(4,r,!1,h,!0)}else{const r=EF(4,e,t,h,void 0,void 0);n=r&&r.value}return _P(n)}s&&oP(r,Vo.Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder)}(),v=!1),y){const{fileName:e,packageId:n}=y;let i,a=e;t.preserveSymlinks||({resolvedFileName:a,originalPath:i}=EP(e,r,s)),g={primary:v,resolvedFileName:a,originalPath:i,packageId:n,isExternalLibraryImport:XP(e)}}return l={resolvedTypeReferenceDirective:g,failedLookupLocations:mP(u),affectingLocations:mP(_),resolutionDiagnostics:mP(m)},c&&(null==a||a.getOrCreateCacheForDirectory(c,i).set(e,o,l),Zs(e)||null==a||a.getOrCreateCacheForNonRelativeName(e,o,i).set(c,l)),s&&b(l),l;function b(n){var t;(null==(t=n.resolvedTypeReferenceDirective)?void 0:t.resolvedFileName)?n.resolvedTypeReferenceDirective.packageId?oP(r,Vo.Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3,e,n.resolvedTypeReferenceDirective.resolvedFileName,Ap(n.resolvedTypeReferenceDirective.packageId),n.resolvedTypeReferenceDirective.primary):oP(r,Vo.Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2,e,n.resolvedTypeReferenceDirective.resolvedFileName,n.resolvedTypeReferenceDirective.primary):oP(r,Vo.Type_reference_directive_0_was_not_resolved,e)}}function xP(e){let n=0;switch(jT(e)){case 3:case 99:case 100:n=30}return e.resolvePackageJsonExports?n|=8:!1===e.resolvePackageJsonExports&&(n&=-9),e.resolvePackageJsonImports?n|=2:!1===e.resolvePackageJsonImports&&(n&=-3),n}function SP(e,n){const t=n||100===jT(e)?["import"]:["require"];return e.noDtsResolution||t.push("types"),100!==jT(e)&&t.push("node"),de(t,e.customConditions)}function AP(e,n,t,r,i){const a=cF(null==i?void 0:i.getPackageJsonInfoCache(),r,t);return Bo(n,(n=>{if("node_modules"!==lo(n)){const t=go(n,"node_modules");return uF(go(t,e),!1,a)}}))}function LP(e,n){if(e.types)return e.types;const t=[];if(n.directoryExists&&n.getDirectories){const r=bP(e,n);if(r)for(const e of r)if(n.directoryExists(e))for(const r of n.getDirectories(e)){const i=Eo(r),a=go(e,i,"package.json");if(!n.fileExists(a)||null!==oE(a,n).typings){const e=lo(i);46!==e.charCodeAt(0)&&t.push(e)}}}return t}function CP(e){var n;if(null===e||"object"!=typeof e)return""+e;if(gn(e))return`[${null==(n=e.map((e=>CP(e))))?void 0:n.join(",")}]`;let t="{";for(const n in e)qe(e,n)&&(t+=`${n}: ${CP(e[n])}`);return t+"}"}function kP(e,n){return n.map((n=>CP(ux(e,n)))).join("|")+(e.pathsBasePath?`|${e.pathsBasePath}`:void 0)}function IP(e){const n=new Map,t=new Map,r=new Map;let i=new Map;return e&&n.set(e,i),{getMapOfCacheRedirects:function(e){return e?a(e.commandLine.options,!1):i},getOrCreateMapOfCacheRedirects:function(e){return e?a(e.commandLine.options,!0):i},update:function(t){e!==t&&(e?i=a(t,!0):n.set(t,i),e=t)},clear:function(){const a=e&&t.get(e);i.clear(),n.clear(),t.clear(),r.clear(),e&&(a&&t.set(e,a),n.set(e,i))}};function a(t,a){let s=n.get(t);if(s)return s;const c=o(t);if(s=r.get(c),!s){if(e){const n=o(e);n===c?s=i:r.has(n)||r.set(n,i)}a&&(null!=s||(s=new Map)),s&&r.set(c,s)}return s&&n.set(t,s),s}function o(e){let n=t.get(e);return n||t.set(e,n=kP(e,eO)),n}}function wP(e,n,t,r){const i=e.getOrCreateMapOfCacheRedirects(n);let a=i.get(t);return a||(a=r(),i.set(t,a)),a}function RP(e,n){return void 0===n?e:`${n}|${e}`}function NP(){const e=new Map,n=new Map,t={get:(n,t)=>e.get(r(n,t)),set:(n,i,a)=>(e.set(r(n,i),a),t),delete:(n,i)=>(e.delete(r(n,i)),t),has:(n,t)=>e.has(r(n,t)),forEach:t=>e.forEach(((e,r)=>{const[i,a]=n.get(r);return t(e,i,a)})),size:()=>e.size};return t;function r(e,t){const r=RP(e,t);return n.set(r,[e,t]),r}}function DP(e,n,t,r){Nt.assert(n.length===t.length);const i=NP();for(let a=0;a<n.length;++a){const o=n[a];i.set(r.getName(o),r.getMode(o,e),t[a])}return i}function OP(e){return e.resolvedModule&&(e.resolvedModule.originalPath||e.resolvedModule.resolvedFileName)}function MP(e){return e.resolvedTypeReferenceDirective&&(e.resolvedTypeReferenceDirective.originalPath||e.resolvedTypeReferenceDirective.resolvedFileName)}function PP(e,n,t,r,i){const a=function(e,n,t){const r=IP(t);return{getFromDirectoryCache:function(t,i,a,o){var s,c;const l=xo(a,e,n);return null==(c=null==(s=r.getMapOfCacheRedirects(o))?void 0:s.get(l))?void 0:c.get(t,i)},getOrCreateCacheForDirectory:function(t,i){const a=xo(t,e,n);return wP(r,i,a,(()=>NP()))},clear:function(){r.clear()},update:function(e){r.update(e)}}}(e,n,t),o=function(e,n,t,r){const i=IP(t);return{getFromNonRelativeNameCache:function(e,n,t,r){var a,o;return Nt.assert(!Zs(e)),null==(o=null==(a=i.getMapOfCacheRedirects(r))?void 0:a.get(RP(e,n)))?void 0:o.get(t)},getOrCreateCacheForNonRelativeName:function(e,n,t){return Nt.assert(!Zs(e)),wP(i,t,RP(e,n),a)},clear:function(){i.clear()},update:function(e){i.update(e)}};function a(){const t=new Map;return{get:function(r){return t.get(xo(r,e,n))},set:function(i,a){const o=xo(i,e,n);if(t.has(o))return;t.set(o,a);const s=r(a),c=s&&function(t,r){const i=xo(co(r),e,n);let a=0;const o=Math.min(t.length,i.length);for(;a<o&&t.charCodeAt(a)===i.charCodeAt(a);)a++;if(a===t.length&&(i.length===a||i[a]===ja))return t;const s=so(t);if(a<s)return;const c=t.lastIndexOf(ja,a-1);return-1!==c?t.substr(0,Math.max(c,s)):void 0}(o,s);let l=o;for(;l!==c;){const e=co(l);if(e===l||t.has(e))break;t.set(e,a),l=e}}}}}(e,n,t,i);return null!=r||(r=function(e,n){let t;return{getPackageJsonInfo:function(r){return null==t?void 0:t.get(xo(r,e,n))},setPackageJsonInfo:function(r,i){(t||(t=new Map)).set(xo(r,e,n),i)},clear:function(){t=void 0},entries:function(){const e=null==t?void 0:t.entries();return e?Qe(e):[]},getInternalMap:function(){return t}}}(e,n)),{...r,...a,...o,clear:function(){s(),r.clear()},update:function(e){a.update(e),o.update(e)},getPackageJsonInfoCache:()=>r,clearAllExceptPackageJsonInfoCache:s};function s(){a.clear(),o.clear()}}function FP(e,n,t){const r=PP(e,n,t,void 0,OP);return r.getOrCreateCacheForModuleName=(e,n,t)=>r.getOrCreateCacheForNonRelativeName(e,n,t),r}function GP(e,n,t,r){return PP(e,n,t,r,MP)}function BP(e,n,t,r){const i=co(n);return t.getFromDirectoryCache(e,r,i,void 0)}function UP(e,n,t,r,i,a,o){const s=sP(t,r);a&&(t=a.commandLine.options),s&&(oP(r,Vo.Resolving_module_0_from_1,e,n),a&&oP(r,Vo.Using_compiler_options_of_project_reference_redirect_0,a.sourceFile.fileName));const c=co(n);let l=null==i?void 0:i.getFromDirectoryCache(e,o,c,a);if(l)s&&oP(r,Vo.Resolution_for_module_0_was_found_in_cache_from_location_1,e,c);else{let d=t.moduleResolution;if(void 0===d){switch(UT(t)){case 1:d=2;break;case 100:d=3;break;case 199:d=99;break;default:d=1}s&&oP(r,Vo.Module_resolution_kind_is_not_specified_using_0,Bi[d])}else s&&oP(r,Vo.Explicitly_specified_module_resolution_kind_Colon_0,Bi[d]);switch(mr.logStartResolveModule(e),d){case 3:case 99:l=function(e,n,t,r,i,a,o){return function(e,n,t,r,i,a,o,s){const c=co(t),l=99===s?32:0;let d=r.noDtsResolution?3:7;return nx(r)&&(d|=8),qP(e|l,n,c,r,i,a,d,!1,o)}(30,e,n,t,r,i,a,o)}(e,n,t,r,i,a,o);break;case 2:l=KP(e,n,t,r,i,a);break;case 1:l=RF(e,n,t,r,i,a);break;case 100:l=HP(e,n,t,r,i,a);break;default:return Nt.fail(`Unexpected moduleResolution: ${d}`)}l&&l.resolvedModule&&mr.logInfoEvent(`Module "${e}" resolved to "${l.resolvedModule.resolvedFileName}"`),mr.logStopResolveModule(l&&l.resolvedModule?""+l.resolvedModule.resolvedFileName:"null"),null==i||i.getOrCreateCacheForDirectory(c,a).set(e,o,l),Zs(e)||null==i||i.getOrCreateCacheForNonRelativeName(e,o,a).set(c,l)}return s&&(l.resolvedModule?l.resolvedModule.packageId?oP(r,Vo.Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2,e,l.resolvedModule.resolvedFileName,Ap(l.resolvedModule.packageId)):oP(r,Vo.Module_name_0_was_successfully_resolved_to_1,e,l.resolvedModule.resolvedFileName):oP(r,Vo.Module_name_0_was_not_resolved,e)),l}function VP(e,n,t,r,i){const a=function(e,n,t,r){var i;const{baseUrl:a,paths:o,configFile:s}=r.compilerOptions;if(o&&!Za(n))return r.traceEnabled&&(a&&oP(r.host,Vo.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1,a,n),oP(r.host,Vo.paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0,n)),AF(e,n,Iv(r.compilerOptions,r.host),o,(null==s?void 0:s.configFileSpecs)?(i=s.configFileSpecs).pathPatterns||(i.pathPatterns=Jx(o)):void 0,t,!1,r)}(e,n,r,i);return a?a.value:Zs(n)?function(e,n,t,r,i){if(!i.compilerOptions.rootDirs)return;i.traceEnabled&&oP(i.host,Vo.rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0,n);const a=Eo(go(t,n));let o,s;for(const e of i.compilerOptions.rootDirs){let n=Eo(e);et(n,ja)||(n+=ja);const t=pt(a,n)&&(void 0===s||s.length<n.length);i.traceEnabled&&oP(i.host,Vo.Checking_if_0_is_the_longest_matching_prefix_for_1_2,n,a,t),t&&(s=n,o=e)}if(s){i.traceEnabled&&oP(i.host,Vo.Longest_matching_prefix_for_0_is_1,a,s);const n=a.substr(s.length);i.traceEnabled&&oP(i.host,Vo.Loading_0_from_the_root_dir_1_candidate_location_2,n,s,a);const c=r(e,a,!sE(t,i.host),i);if(c)return c;i.traceEnabled&&oP(i.host,Vo.Trying_other_entries_in_rootDirs);for(const t of i.compilerOptions.rootDirs){if(t===o)continue;const a=go(Eo(t),n);i.traceEnabled&&oP(i.host,Vo.Loading_0_from_the_root_dir_1_candidate_location_2,n,t,a);const s=r(e,a,!sE(co(a),i.host),i);if(s)return s}i.traceEnabled&&oP(i.host,Vo.Module_resolution_using_rootDirs_has_failed)}}(e,n,t,r,i):function(e,n,t,r){const{baseUrl:i}=r.compilerOptions;if(!i)return;r.traceEnabled&&oP(r.host,Vo.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1,i,n);const a=Eo(go(i,n));return r.traceEnabled&&oP(r.host,Vo.Resolving_module_name_0_relative_to_base_url_1_2,n,i,a),t(e,a,!sE(co(a),r.host),r)}(e,n,r,i)}function jP(e,n,t){const{resolvedModule:r,failedLookupLocations:i}=function(e,n,t){return qP(0,e,n,{moduleResolution:2,allowJs:!0},t,void 0,2,!1,void 0)}(e,n,t);if(!r)throw new Error(`Could not resolve JS module '${e}' starting at '${n}'. Looked in: ${null==i?void 0:i.join(", ")}`);return r.resolvedFileName}function HP(e,n,t,r,i,a){const o=co(n);let s=t.noDtsResolution?3:7;return nx(t)&&(s|=8),qP(xP(t),e,o,t,r,i,s,!1,a)}function KP(e,n,t,r,i,a,o){let s;return o?s=8:t.noDtsResolution?(s=3,nx(t)&&(s|=8)):s=nx(t)?15:7,qP(0,e,co(n),t,r,i,s,!!o,a)}function WP(e,n,t){return qP(8,e,co(n),{moduleResolution:99},t,void 0,8,!0,void 0)}function qP(e,n,t,r,i,a,o,s,c){var l,d,u,_;const p=sP(r,i),f=[],m=[],h=SP(r,!!(32&e)),g=[],y={compilerOptions:r,host:i,traceEnabled:p,failedLookupLocations:f,affectingLocations:m,packageJsonInfoCache:a,features:e,conditions:h,requestContainingDirectory:t,reportDiagnostic:e=>{g.push(e)},isConfigLookup:s,candidateIsFromPackageJsonField:!1};let v,b;if(p&&QT(jT(r))&&oP(i,Vo.Resolving_in_0_mode_with_conditions_1,32&e?"ESM":"CJS",h.map((e=>`'${e}'`)).join(", ")),2===jT(r)){const e=5&o,n=-6&o;v=e&&E(e,y)||n&&E(n,y)||void 0}else v=E(o,y);if((null==(l=null==v?void 0:v.value)?void 0:l.isExternalLibraryImport)&&!s&&5&o&&8&e&&!Zs(n)&&!pF(5,v.value.resolved.extension)&&h.indexOf("import")>-1){MF(y,Vo.Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_if_npm_library_needs_configuration_update);const e=E(5&o,{...y,features:-9&y.features,failedLookupLocations:[],affectingLocations:[],reportDiagnostic:xn});(null==(d=null==e?void 0:e.value)?void 0:d.isExternalLibraryImport)&&(b=e.value.resolved.path)}return pP(n,null==(u=null==v?void 0:v.value)?void 0:u.resolved,null==(_=null==v?void 0:v.value)?void 0:_.isExternalLibraryImport,f,m,g,y,b);function E(r,o){const s=VP(r,n,t,((e,n,t,r)=>JP(e,n,t,r,!0)),o);if(s)return OF({resolved:s,isExternalLibraryImport:XP(s.path)});if(Zs(n)){const{path:e,parts:i}=zP(t,n),a=JP(r,e,!1,o,!0);return a&&OF({resolved:a,isExternalLibraryImport:G(i,"node_modules")})}{let s;return 2&e&&pt(n,"#")&&(s=function(e,n,t,r,i,a){var o,s;if("#"===n||pt(n,"#/"))return r.traceEnabled&&oP(r.host,Vo.Invalid_import_specifier_0_has_no_possible_resolutions,n),OF(void 0);const c=bo(go(t,"dummy"),null==(s=(o=r.host).getCurrentDirectory)?void 0:s.call(o)),l=lF(c,r);if(!l)return r.traceEnabled&&oP(r.host,Vo.Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve,c),OF(void 0);if(!l.contents.packageJsonContent.imports)return r.traceEnabled&&oP(r.host,Vo.package_json_scope_0_has_no_imports_defined,l.packageDirectory),OF(void 0);const d=yF(e,r,i,a,n,l.contents.packageJsonContent.imports,l,!0);return d||(r.traceEnabled&&oP(r.host,Vo.Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1,n,l.packageDirectory),OF(void 0))}(r,n,t,o,a,c)),!s&&4&e&&(s=function(e,n,t,r,i,a){var o,s;const c=lF(bo(go(t,"dummy"),null==(s=(o=r.host).getCurrentDirectory)?void 0:s.call(o)),r);if(!c||!c.contents.packageJsonContent.exports)return;if("string"!=typeof c.contents.packageJsonContent.name)return;const l=po(n),d=po(c.contents.packageJsonContent.name);if(!N(d,((e,n)=>l[n]===e)))return;const u=l.slice(d.length),_=S(u)?`.${ja}${u.join(ja)}`:".",p=-6&e;return hF(c,5&e,_,r,i,a)||hF(c,p,_,r,i,a)}(r,n,t,o,a,c)),s||(p&&oP(i,Vo.Loading_module_0_from_node_modules_folder_target_file_types_Colon_1,n,uP(r)),s=EF(r,n,t,o,a,c)),s&&{value:s.value&&{resolved:s.value,isExternalLibraryImport:!0}}}}}function zP(e,n){const t=go(e,n),r=po(t),i=Fe(r);return{path:"."===i||".."===i?Ao(Eo(t)):Eo(t),parts:r}}function JP(e,n,t,r,i){if(r.traceEnabled&&oP(r.host,Vo.Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1,n,uP(e)),!io(n)){if(!t){const e=co(n);sE(e,r.host)||(r.traceEnabled&&oP(r.host,Vo.Directory_0_does_not_exist_skipping_all_lookups_in_it,e),t=!0)}const a=ZP(e,n,t,r);if(a){const e=i?YP(a.path):void 0;return cP(e?uF(e,!1,r):void 0,a)}}if(t||sE(n,r.host)||(r.traceEnabled&&oP(r.host,Vo.Directory_0_does_not_exist_skipping_all_lookups_in_it,n),t=!0),!(32&r.features))return aF(e,n,t,r,i)}function XP(e){return rt(e,rP)}function YP(e){const n=Eo(e),t=n.lastIndexOf(rP);if(-1===t)return;const r=t+rP.length;let i=$P(n,r);return 64===n.charCodeAt(r)&&(i=$P(n,i)),n.slice(0,i)}function $P(e,n){const t=e.indexOf(ja,n+1);return-1===t?n:t}function QP(e,n,t,r){return lP(ZP(e,n,t,r))}function ZP(e,n,t,r){const i=eF(e,n,t,r);if(i)return i;if(!(32&r.features)){const i=tF(n,e,"",t,r);if(i)return i}}function eF(e,n,t,r){if(-1===lo(n).indexOf("."))return;let i=Hx(n);i===n&&(i=n.substring(0,n.lastIndexOf(".")));const a=n.substring(i.length);return r.traceEnabled&&oP(r.host,Vo.File_name_0_has_a_1_extension_stripping_it,n,a),tF(i,e,a,t,r)}function nF(e,n,t,r){return 1&e&&ro(n,Z_)||4&e&&ro(n,Q_)?void 0!==rF(n,t,r)?{path:n,ext:nE(n),resolvedUsingTsExtension:void 0}:void 0:r.isConfigLookup&&8===e&&to(n,".json")?void 0!==rF(n,t,r)?{path:n,ext:".json",resolvedUsingTsExtension:void 0}:void 0:eF(e,n,t,r)}function tF(e,n,t,r,i){if(!r){const n=co(e);n&&(r=!sE(n,i.host))}switch(t){case".mjs":case".mts":case".d.mts":return 1&n&&a(".mts",".mts"===t||".d.mts"===t)||4&n&&a(".d.mts",".mts"===t||".d.mts"===t)||2&n&&a(".mjs")||void 0;case".cjs":case".cts":case".d.cts":return 1&n&&a(".cts",".cts"===t||".d.cts"===t)||4&n&&a(".d.cts",".cts"===t||".d.cts"===t)||2&n&&a(".cjs")||void 0;case".json":return 4&n&&a(".d.json.ts")||8&n&&a(".json")||void 0;case".tsx":case".jsx":return 1&n&&(a(".tsx",".tsx"===t)||a(".ts",".tsx"===t))||4&n&&a(".d.ts",".tsx"===t)||2&n&&(a(".jsx")||a(".js"))||void 0;case".ts":case".d.ts":case".js":case"":return 1&n&&(a(".ts",".ts"===t||".d.ts"===t)||a(".tsx",".ts"===t||".d.ts"===t))||4&n&&a(".d.ts",".ts"===t||".d.ts"===t)||2&n&&(a(".js")||a(".jsx"))||i.isConfigLookup&&a(".json")||void 0;default:return 4&n&&!ND(e+t)&&a(`.d${t}.ts`)||void 0}function a(n,t){const a=rF(e+n,r,i);return void 0===a?void 0:{path:a,ext:n,resolvedUsingTsExtension:!i.candidateIsFromPackageJsonField&&t}}}function rF(e,n,t){var r,i;if(!(null==(r=t.compilerOptions.moduleSuffixes)?void 0:r.length))return iF(e,n,t);const a=null!=(i=eS(e))?i:"",o=a?Wx(e,a):e;return A(t.compilerOptions.moduleSuffixes,(e=>iF(o+e+a,n,t)))}function iF(e,n,t){if(!n){if(t.host.fileExists(e))return t.traceEnabled&&oP(t.host,Vo.File_0_exists_use_it_as_a_name_resolution_result,e),e;t.traceEnabled&&oP(t.host,Vo.File_0_does_not_exist,e)}t.failedLookupLocations.push(e)}function aF(e,n,t,r,i=!0){const a=i?uF(n,t,r):void 0;return cP(a,_F(e,n,t,r,a&&a.contents.packageJsonContent,a&&dF(a,r)))}function oF(e,n,t,r,i){if(!i&&void 0!==e.contents.resolvedEntrypoints)return e.contents.resolvedEntrypoints;let a;const o=5|(i?2:0),s=xP(n),c=cF(null==r?void 0:r.getPackageJsonInfoCache(),t,n);c.conditions=SP(n),c.requestContainingDirectory=e.packageDirectory;const l=_F(o,e.packageDirectory,!1,c,e.contents.packageJsonContent,dF(e,c));if(a=Te(a,null==l?void 0:l.path),8&s&&e.contents.packageJsonContent.exports){const t=pe([SP(n,!0),SP(n,!1)],ve);for(const n of t){const t={...c,failedLookupLocations:[],conditions:n},r=sF(e,e.contents.packageJsonContent.exports,t,o);if(r)for(const e of r)a=Ce(a,e.path)}}return e.contents.resolvedEntrypoints=a||!1}function sF(e,n,t,r){let i;if(gn(n))for(const e of n)a(e);else if("object"==typeof n&&null!==n&&mF(n))for(const e in n)a(n[e]);else a(n);return i;function a(n){var o,s;if("string"==typeof n&&pt(n,"./")&&-1===n.indexOf("*")){const a=po(n).slice(2);if(a.indexOf("..")>=0||a.indexOf(".")>=0||a.indexOf("node_modules")>=0)return!1;const c=bo(go(e.packageDirectory,n),null==(s=(o=t.host).getCurrentDirectory)?void 0:s.call(o)),l=nF(r,c,!1,t);if(l)return i=Ce(i,l,((e,n)=>e.path===n.path)),!0}else if(Array.isArray(n)){for(const e of n)if(a(e))return!0}else if("object"==typeof n&&null!==n)return A(Je(n),(e=>{if("default"===e||G(t.conditions,e)||bF(t.conditions,e))return a(n[e]),!0}))}}function cF(e,n,t){return{host:n,compilerOptions:t,traceEnabled:sP(t,n),failedLookupLocations:d,affectingLocations:d,packageJsonInfoCache:e,features:0,conditions:i,requestContainingDirectory:void 0,reportDiagnostic:xn,isConfigLookup:!1,candidateIsFromPackageJsonField:!1}}function lF(e,n){const t=po(e);for(t.pop();t.length>0;){const e=uF(fo(t),!1,n);if(e)return e;t.pop()}}function dF(e,t){return void 0===e.contents.versionPaths&&(e.contents.versionPaths=function(e,t){const r=function(e,n){const t=gP(e,"typesVersions","object",n);if(void 0!==t)return n.traceEnabled&&oP(n.host,Vo.package_json_has_a_typesVersions_field_with_version_specific_path_mappings),t}(e,t);if(void 0===r)return;if(t.traceEnabled)for(const e in r)qe(r,e)&&!Vt.tryParse(e)&&oP(t.host,Vo.package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range,e);const i=vP(r);if(!i)return void(t.traceEnabled&&oP(t.host,Vo.package_json_does_not_have_a_typesVersions_entry_that_matches_version_0,n));const{version:a,paths:o}=i;if("object"==typeof o)return i;t.traceEnabled&&oP(t.host,Vo.Expected_type_of_0_field_in_package_json_to_be_1_got_2,`typesVersions['${a}']`,"object",typeof o)}(e.contents.packageJsonContent,t)||!1),e.contents.versionPaths||void 0}function uF(e,n,t){var r,i,a;const{host:o,traceEnabled:s}=t,c=go(e,"package.json");if(n)return void t.failedLookupLocations.push(c);const l=null==(r=t.packageJsonInfoCache)?void 0:r.getPackageJsonInfo(c);if(void 0!==l)return"boolean"!=typeof l?(s&&oP(o,Vo.File_0_exists_according_to_earlier_cached_lookups,c),t.affectingLocations.push(c),l.packageDirectory===e?l:{packageDirectory:e,contents:l.contents}):(l&&s&&oP(o,Vo.File_0_does_not_exist_according_to_earlier_cached_lookups,c),void t.failedLookupLocations.push(c));const d=sE(e,o);if(d&&o.fileExists(c)){const n=oE(c,o);s&&oP(o,Vo.Found_package_json_at_0,c);const r={packageDirectory:e,contents:{packageJsonContent:n,versionPaths:void 0,resolvedEntrypoints:void 0}};return null==(i=t.packageJsonInfoCache)||i.setPackageJsonInfo(c,r),t.affectingLocations.push(c),r}d&&s&&oP(o,Vo.File_0_does_not_exist,c),null==(a=t.packageJsonInfoCache)||a.setPackageJsonInfo(c,d),t.failedLookupLocations.push(c)}function _F(e,n,r,i,a,o){let s;a&&(s=i.isConfigLookup?function(e,n,t){return yP(e,"tsconfig",n,t)}(a,n,i):4&e&&function(e,n,t){return yP(e,"typings",n,t)||yP(e,"types",n,t)}(a,n,i)||7&e&&function(e,n,t){return yP(e,"main",n,t)}(a,n,i)||void 0);const c=(e,n,t,r)=>{const i=rF(n,t,r);if(i){const n=function(e,n,t){const r=eS(n);return void 0!==r&&pF(e,r)?{path:n,ext:r,resolvedUsingTsExtension:void 0}:void 0}(e,i);if(n)return lP(n);r.traceEnabled&&oP(r.host,Vo.File_0_has_an_unsupported_extension_so_skipping_it,i)}const o=4===e?5:e,s=r.features,c=r.candidateIsFromPackageJsonField;r.candidateIsFromPackageJsonField=!0,"module"!==(null==a?void 0:a.type)&&(r.features&=-33);const l=JP(o,n,t,r,!1);return r.features=s,r.candidateIsFromPackageJsonField=c,l},l=s?!sE(co(s),i.host):void 0,d=r||!sE(n,i.host),u=go(n,i.isConfigLookup?"tsconfig":"index");if(o&&(!s||No(n,s))){const r=Mo(n,s||u,!1);i.traceEnabled&&oP(i.host,Vo.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,o.version,t,r);const a=AF(e,r,n,o.paths,void 0,c,l||d,i);if(a)return dP(a.value)}return s&&dP(c(e,s,l,i))||(32&i.features?void 0:ZP(e,u,d,i))}function pF(e,n){return 2&e&&(".js"===n||".jsx"===n||".mjs"===n||".cjs"===n)||1&e&&(".ts"===n||".tsx"===n||".mts"===n||".cts"===n)||4&e&&(".d.ts"===n||".d.mts"===n||".d.cts"===n)||8&e&&".json"===n||!1}function fF(e){let n=e.indexOf(ja);return"@"===e[0]&&(n=e.indexOf(ja,n+1)),-1===n?{packageName:e,rest:""}:{packageName:e.slice(0,n),rest:e.slice(n+1)}}function mF(e){return N(Je(e),(e=>pt(e,".")))}function hF(e,n,t,r,i,a){if(e.contents.packageJsonContent.exports){if("."===t){let o;if("string"==typeof e.contents.packageJsonContent.exports||Array.isArray(e.contents.packageJsonContent.exports)||"object"==typeof e.contents.packageJsonContent.exports&&!ce(Je(e.contents.packageJsonContent.exports),(e=>pt(e,".")))?o=e.contents.packageJsonContent.exports:qe(e.contents.packageJsonContent.exports,".")&&(o=e.contents.packageJsonContent.exports["."]),o)return vF(n,r,i,a,t,e,!1)(o,"",!1,".")}else if(mF(e.contents.packageJsonContent.exports)){if("object"!=typeof e.contents.packageJsonContent.exports)return r.traceEnabled&&oP(r.host,Vo.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,t,e.packageDirectory),OF(void 0);const o=yF(n,r,i,a,t,e.contents.packageJsonContent.exports,e,!1);if(o)return o}return r.traceEnabled&&oP(r.host,Vo.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,t,e.packageDirectory),OF(void 0)}}function gF(e,n){const t=e.indexOf("*"),r=n.indexOf("*"),i=-1===t?e.length:t+1,a=-1===r?n.length:r+1;return i>a?-1:a>i||-1===t?1:-1===r||e.length>n.length?-1:n.length>e.length?1:0}function yF(e,n,t,r,i,a,o,s){const c=vF(e,n,t,r,i,o,s);if(!et(i,ja)&&-1===i.indexOf("*")&&qe(a,i))return c(a[i],"",!1,i);const l=Ie(j(Je(a),(e=>-1!==e.indexOf("*")||et(e,"/"))),gF);for(const e of l){if(16&n.features&&d(e,i)){const n=a[e],t=e.indexOf("*");return c(n,i.substring(e.substring(0,t).length,i.length-(e.length-1-t)),!0,e)}if(et(e,"*")&&pt(i,e.substring(0,e.length-1)))return c(a[e],i.substring(e.length-1),!0,e);if(pt(i,e))return c(a[e],i.substring(e.length),!1,e)}function d(e,n){if(et(e,"*"))return!1;const t=e.indexOf("*");return-1!==t&&pt(n,e.substring(0,t))&&et(n,e.substring(t+1))}}function vF(e,n,t,r,i,a,o){return function s(c,l,d,u){if("string"==typeof c){if(!d&&l.length>0&&!et(c,"/"))return n.traceEnabled&&oP(n.host,Vo.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,a.packageDirectory,i),OF(void 0);if(!pt(c,"./")){if(o&&!pt(c,"../")&&!pt(c,"/")&&!Ya(c)){const i=d?c.replace(/\*/g,l):c+l;MF(n,Vo.Using_0_subpath_1_with_target_2,"imports",u,i),MF(n,Vo.Resolving_module_0_from_1,i,a.packageDirectory+"/");const o=qP(n.features,i,a.packageDirectory+"/",n.compilerOptions,n.host,t,e,!1,r);return OF(o.resolvedModule?{path:o.resolvedModule.resolvedFileName,extension:o.resolvedModule.extension,packageId:o.resolvedModule.packageId,originalPath:o.resolvedModule.originalPath,resolvedUsingTsExtension:o.resolvedModule.resolvedUsingTsExtension}:void 0)}return n.traceEnabled&&oP(n.host,Vo.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,a.packageDirectory,i),OF(void 0)}const s=(Za(c)?po(c).slice(1):po(c)).slice(1);if(s.indexOf("..")>=0||s.indexOf(".")>=0||s.indexOf("node_modules")>=0)return n.traceEnabled&&oP(n.host,Vo.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,a.packageDirectory,i),OF(void 0);const m=go(a.packageDirectory,c),h=po(l);if(h.indexOf("..")>=0||h.indexOf(".")>=0||h.indexOf("node_modules")>=0)return n.traceEnabled&&oP(n.host,Vo.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,a.packageDirectory,i),OF(void 0);n.traceEnabled&&oP(n.host,Vo.Using_0_subpath_1_with_target_2,o?"imports":"exports",u,d?c.replace(/\*/g,l):c+l);const g=_(d?m.replace(/\*/g,l):m+l),y=function(t,r,i,o){var s,c,l,d;if(!n.isConfigLookup&&(n.compilerOptions.declarationDir||n.compilerOptions.outDir)&&-1===t.indexOf("/node_modules/")&&(!n.compilerOptions.configFile||No(a.packageDirectory,_(n.compilerOptions.configFile.fileName),!f()))){const p=yv({useCaseSensitiveFileNames:f}),m=[];if(n.compilerOptions.rootDir||n.compilerOptions.composite&&n.compilerOptions.configFilePath){const e=_(cj(n.compilerOptions,(()=>[]),(null==(c=(s=n.host).getCurrentDirectory)?void 0:c.call(s))||"",p));m.push(e)}else if(n.requestContainingDirectory){const e=_(go(n.requestContainingDirectory,"index.ts")),t=_(cj(n.compilerOptions,(()=>[e,_(i)]),(null==(d=(l=n.host).getCurrentDirectory)?void 0:d.call(l))||"",p));m.push(t);let r=Ao(t);for(;r&&r.length>1;){const e=po(r);e.pop();const n=fo(e);m.unshift(n),r=Ao(n)}}m.length>1&&n.reportDiagnostic(LT(o?Vo.The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:Vo.The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate,""===r?".":r,i));for(const r of m){const i=u(r);for(const o of i)if(No(o,t,!f())){const i=go(r,t.slice(o.length+1)),s=[".mjs",".cjs",".js",".json",".d.mts",".d.cts",".d.ts"];for(const t of s)if(to(i,t)){const r=Cv(i);for(const o of r){if(!pF(e,o))continue;const r=Co(i,o,t,!f());if(n.host.fileExists(r))return OF(cP(a,nF(e,r,!1,n)))}}}}}return;function u(e){var t,r;const i=n.compilerOptions.configFile?(null==(r=(t=n.host).getCurrentDirectory)?void 0:r.call(t))||"":e,a=[];return n.compilerOptions.declarationDir&&a.push(_(p(i,n.compilerOptions.declarationDir))),n.compilerOptions.outDir&&n.compilerOptions.outDir!==n.compilerOptions.declarationDir&&a.push(_(p(i,n.compilerOptions.outDir))),a}}(g,l,go(a.packageDirectory,"package.json"),o);return y||OF(cP(a,nF(e,g,!1,n)))}if("object"==typeof c&&null!==c){if(!Array.isArray(c)){MF(n,Vo.Entering_conditional_exports);for(const e of Je(c))if("default"===e||n.conditions.indexOf(e)>=0||bF(n.conditions,e)){MF(n,Vo.Matched_0_condition_1,o?"imports":"exports",e);const t=s(c[e],l,d,u);if(t)return MF(n,Vo.Resolved_under_condition_0,e),MF(n,Vo.Exiting_conditional_exports),t;MF(n,Vo.Failed_to_resolve_under_condition_0,e)}else MF(n,Vo.Saw_non_matching_condition_0,e);return void MF(n,Vo.Exiting_conditional_exports)}if(!S(c))return n.traceEnabled&&oP(n.host,Vo.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,a.packageDirectory,i),OF(void 0);for(const e of c){const n=s(e,l,d,u);if(n)return n}}else if(null===c)return n.traceEnabled&&oP(n.host,Vo.package_json_scope_0_explicitly_maps_specifier_1_to_null,a.packageDirectory,i),OF(void 0);return n.traceEnabled&&oP(n.host,Vo.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,a.packageDirectory,i),OF(void 0);function _(e){var t,r;return void 0===e?e:bo(e,null==(r=(t=n.host).getCurrentDirectory)?void 0:r.call(t))}function p(e,n){return Ao(go(e,n))}function f(){return!n.host.useCaseSensitiveFileNames||("boolean"==typeof n.host.useCaseSensitiveFileNames?n.host.useCaseSensitiveFileNames:n.host.useCaseSensitiveFileNames())}}}function bF(e,n){if(-1===e.indexOf("types"))return!1;if(!pt(n,"types@"))return!1;const r=Vt.tryParse(n.substring(6));return!!r&&r.test(t)}function EF(e,n,t,r,i,a){return TF(e,n,t,r,!1,i,a)}function TF(e,n,t,r,i,a,o){const s=0===r.features?void 0:32&r.features?99:1,c=5&e,l=-6&e;if(c){const e=d(c);if(e)return e}if(l&&!i)return d(l);function d(e){return Bo(mo(t),(t=>{if("node_modules"!==lo(t)){return wF(a,n,s,t,o,r)||OF(xF(e,n,t,r,i,a,o))}}))}}function xF(e,n,t,r,i,a,o){const s=go(t,"node_modules"),c=sE(s,r.host);if(!c&&r.traceEnabled&&oP(r.host,Vo.Directory_0_does_not_exist_skipping_all_lookups_in_it,s),!i){const t=SF(e,n,s,c,r,a,o);if(t)return t}if(4&e){const e=go(s,"@types");let t=c;return c&&!sE(e,r.host)&&(r.traceEnabled&&oP(r.host,Vo.Directory_0_does_not_exist_skipping_all_lookups_in_it,e),t=!1),SF(4,function(e,n){const t=CF(e);return n.traceEnabled&&t!==e&&oP(n.host,Vo.Scoped_package_detected_looking_in_0,t),t}(n,r),e,t,r,a,o)}}function SF(e,n,r,a,o,s,c){var l,d,u;const _=Eo(go(r,n)),{packageName:p,rest:f}=fF(n),m=go(r,p);let h,g=uF(_,!a,o);if(""!==f&&g&&(!(8&o.features)||!qe(null!=(d=null==(l=h=uF(m,!a,o))?void 0:l.contents.packageJsonContent)?d:i,"exports"))){const n=ZP(e,_,!a,o);if(n)return lP(n);const t=_F(e,_,!a,o,g.contents.packageJsonContent,dF(g,o));return cP(g,t)}const y=(e,n,t,r)=>{let i=ZP(e,n,t,r)||_F(e,n,t,r,g&&g.contents.packageJsonContent,g&&dF(g,r));return!i&&g&&(void 0===g.contents.packageJsonContent.exports||null===g.contents.packageJsonContent.exports)&&32&r.features&&(i=ZP(e,go(n,"index.js"),t,r)),cP(g,i)};if(""!==f&&(g=null!=h?h:uF(m,!a,o)),g&&g.contents.packageJsonContent.exports&&8&o.features)return null==(u=hF(g,e,go(".",f),o,s,c))?void 0:u.value;const v=""!==f&&g?dF(g,o):void 0;if(v){o.traceEnabled&&oP(o.host,Vo.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,v.version,t,f);const n=a&&sE(m,o.host),r=AF(e,f,m,v.paths,void 0,y,!n,o);if(r)return r.value}return y(e,_,!a,o)}function AF(e,n,t,r,i,a,o,s){i||(i=Jx(r));const c=tS(i,n);if(c){const i=vn(c)?void 0:ut(c,n),l=vn(c)?c:dt(c);return s.traceEnabled&&oP(s.host,Vo.Module_name_0_matched_pattern_1,n,l),{value:A(r[l],(n=>{const r=i?n.replace("*",i):n,c=Eo(go(t,r));s.traceEnabled&&oP(s.host,Vo.Trying_substitution_0_candidate_module_location_Colon_1,n,r);const l=eS(n);if(void 0!==l){const e=rF(c,o,s);if(void 0!==e)return lP({path:e,ext:l,resolvedUsingTsExtension:void 0})}return a(e,c,o||!sE(co(c),s.host),s)}))}}}function LF(e){return`@types/${CF(e)}`}function CF(e){if(pt(e,"@")){const n=e.replace(ja,iP);if(n!==e)return n.slice(1)}return e}function kF(e){const n=ft(e,"@types/");return n!==e?IF(n):e}function IF(e){return rt(e,iP)?"@"+e.replace(iP,ja):e}function wF(e,n,t,r,i,a){const o=e&&e.getFromNonRelativeNameCache(n,t,r,i);if(o)return a.traceEnabled&&oP(a.host,Vo.Resolution_for_module_0_was_found_in_cache_from_location_1,n,r),a.resultFromCache=o,{value:o.resolvedModule&&{path:o.resolvedModule.resolvedFileName,originalPath:o.resolvedModule.originalPath||!0,extension:o.resolvedModule.extension,packageId:o.resolvedModule.packageId,resolvedUsingTsExtension:o.resolvedModule.resolvedUsingTsExtension}}}function RF(e,n,t,r,i,a){const o=sP(t,r),s=[],c=[],l=co(n),d=[],u={compilerOptions:t,host:r,traceEnabled:o,failedLookupLocations:s,affectingLocations:c,packageJsonInfoCache:i,features:0,conditions:[],requestContainingDirectory:l,reportDiagnostic:e=>{d.push(e)},isConfigLookup:!1,candidateIsFromPackageJsonField:!1},_=p(5)||p(2|(t.resolveJsonModule?8:0));return pP(e,_&&_.value,(null==_?void 0:_.value)&&XP(_.value.path),s,c,d,u);function p(n){const t=VP(n,e,l,QP,u);if(t)return{value:t};if(Zs(e)){const t=Eo(go(l,e));return OF(QP(n,t,!1,u))}{const t=Bo(l,(t=>{const r=wF(i,e,void 0,t,a,u);if(r)return r;const o=Eo(go(t,e));return OF(QP(n,o,!1,u))}));if(t)return t;if(5&n)return function(e,n,t){return TF(4,e,n,t,!0,void 0,void 0)}(e,l,u)}}}function NF(e,n){return!!e.allowImportingTsExtensions||n&&ND(n)}function DF(e,n,t,r,i,a){const o=sP(t,r);o&&oP(r,Vo.Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2,n,e,i);const s=[],c=[],l=[],d={compilerOptions:t,host:r,traceEnabled:o,failedLookupLocations:s,affectingLocations:c,packageJsonInfoCache:a,features:0,conditions:[],requestContainingDirectory:void 0,reportDiagnostic:e=>{l.push(e)},isConfigLookup:!1,candidateIsFromPackageJsonField:!1};return fP(xF(4,e,i,d,!1,void 0,void 0),!0,s,c,l,d.resultFromCache)}function OF(e){return void 0!==e?{value:e}:void 0}function MF(e,n,...t){e.traceEnabled&&oP(e.host,n,...t)}var PF,FF,GF=E({"src/compiler/moduleNameResolver.ts"(){Qq(),nP=go("node_modules","@types"),tP=(e=>(e[e.None=0]="None",e[e.Imports=2]="Imports",e[e.SelfName=4]="SelfName",e[e.Exports=8]="Exports",e[e.ExportsPatternTrailers=16]="ExportsPatternTrailers",e[e.AllFeatures=30]="AllFeatures",e[e.Node16Default=30]="Node16Default",e[e.NodeNextDefault=30]="NodeNextDefault",e[e.BundlerDefault=30]="BundlerDefault",e[e.EsmMode=32]="EsmMode",e))(tP||{}),rP="/node_modules/",iP="__"}});function BF(e,n){return e.body&&!e.body.parent&&(xS(e.body,e),AS(e.body,!1)),e.body?UF(e.body,n):1}function UF(e,n=new Map){const t=KG(e);if(n.has(t))return n.get(t)||0;n.set(t,void 0);const r=function(e,n){switch(e.kind){case 261:case 262:return 0;case 263:if(im(e))return 2;break;case 269:case 268:if(!db(e,1))return 0;break;case 275:const t=e;if(!t.moduleSpecifier&&t.exportClause&&276===t.exportClause.kind){let e=0;for(const r of t.exportClause.elements){const t=VF(r,n);if(t>e&&(e=t),1===e)return e}return e}break;case 265:{let t=0;return ED(e,(e=>{const r=UF(e,n);switch(r){case 0:return;case 2:return void(t=2);case 1:return t=1,!0;default:Nt.assertNever(r)}})),t}case 264:return BF(e,n);case 79:if(2048&e.flags)return 0}return 1}(e,n);return n.set(t,r),r}function VF(e,n){const t=e.propertyName||e.name;let r=e.parent;for(;r;){if(lI(r)||PI(r)||Aw(r)){const e=r.statements;let i;for(const a of e)if(Vc(a,t)){a.parent||(xS(a,r),AS(a,!1));const e=UF(a,n);if((void 0===i||e>i)&&(i=e),1===i)return i}if(void 0!==i)return i}r=r.parent}return 1}function jF(e){return Nt.attachFlowNodeDebugInfo(e),e}function HF(e,n){kr("beforeBind"),mr.logStartBindFile(""+e.fileName),FF(e,n),mr.logStopBindFile(),kr("afterBind"),Ir("Bind","beforeBind","afterBind")}function KF(){var e,n,t,r,i,a,o,s,c,l,d,u,_,p,f,m,h,g,y,v,b,E,T,x,L=!1,C=0,k={flags:1},I={flags:1},w=function(){return vN((function(e,n){if(n){n.stackIndex++,xS(e,r);const t=E;Ue(e);const i=r;r=e,n.skip=!1,n.inStrictModeStack[n.stackIndex]=t,n.parentStack[n.stackIndex]=i}else n={stackIndex:0,skip:!1,inStrictModeStack:[void 0],parentStack:[void 0]};const t=e.operatorToken.kind;if(Ob(t)||Nb(t)){if(oe(e)){const n=X();ye(e,n,n),d=ie(n)}else ye(e,f,m);n.skip=!0}return n}),(function(n,t,r){if(!t.skip){const t=e(n);return 27===r.operatorToken.kind&&me(n),t}}),(function(e,n,t){n.skip||Pe(e)}),(function(n,t,r){if(!t.skip){const t=e(n);return 27===r.operatorToken.kind&&me(n),t}}),(function(e,n){if(!n.skip){const n=e.operatorToken.kind;Pb(n)&&!jg(e)&&(ge(e.left),63===n&&209===e.left.kind)&&J(e.left.expression)&&(d=te(256,d,e))}const t=n.inStrictModeStack[n.stackIndex],i=n.parentStack[n.stackIndex];void 0!==t&&(E=t),void 0!==i&&(r=i),n.skip=!1,n.stackIndex--}),void 0);function e(e){if(e&&qk(e)&&!Vb(e))return e;Pe(e)}}();return function(g,S){var A,w;e=g,t=BT(n=S),E=function(e,n){return!(!ax(n,"alwaysStrict")||e.isDeclarationFile)||!!e.externalModuleIndicator}(e,S),x=new Set,C=0,T=D_.getSymbolConstructor(),Nt.attachFlowNodeDebugInfo(k),Nt.attachFlowNodeDebugInfo(I),e.locals||(null==(A=Vr)||A.push(Vr.Phase.Bind,"bindSourceFile",{path:e.path},!0),Pe(e),null==(w=Vr)||w.pop(),e.symbolCount=C,e.classifiableNames=x,function(){if(!c)return;const n=i,t=s,a=o,l=r,u=d;for(const n of c){const t=n.parent.parent;i=Rc(t.parent,(e=>!!(1&zF(e))))||e,o=Mf(t)||e,d=jF({flags:2}),r=n,Pe(n.typeExpression);const a=Wc(n);if((rR(n)||!n.fullName)&&a&&qb(a.parent)){const t=Qe(a.parent);if(t){Ye(e.symbol,a.parent,t,!!Rc(a,(e=>Rk(e)&&"prototype"===e.name.escapedText)),!1);const r=i;switch(og(a.parent)){case 1:case 2:i=tm(e)?e:void 0;break;case 4:i=a.parent.expression;break;case 3:i=a.parent.expression.name;break;case 5:i=qF(e,a.parent.expression)?e:Rk(a.parent.expression)?a.parent.expression.name:a.parent.expression;break;case 0:return Nt.fail("Shouldn't have detected typedef or enum on non-assignment declaration")}i&&B(n,524288,788968),i=r}}else rR(n)||!n.fullName||79===n.fullName.kind?(r=n.parent,Re(n,524288,788968)):Pe(n.fullName)}i=n,s=t,o=a,r=l,d=u}()),e=void 0,n=void 0,t=void 0,r=void 0,i=void 0,a=void 0,o=void 0,s=void 0,c=void 0,l=!1,d=void 0,u=void 0,_=void 0,p=void 0,f=void 0,m=void 0,h=void 0,y=void 0,v=!1,L=!1,b=0};function R(n,t,r,i,a){return Wf(Ip(n)||e,n,t,r,i,a)}function D(e,n){return C++,new T(e,n)}function O(e,n,t){e.flags|=t,n.symbol=e,e.declarations=Ce(e.declarations,n),1955&t&&!e.exports&&(e.exports=op()),6240&t&&!e.members&&(e.members=op()),e.constEnumOnlyModule&&304&e.flags&&(e.constEnumOnlyModule=!1),111551&t&&dg(e,n)}function M(e){if(274===e.kind)return e.isExportEquals?"export=":"default";const n=Wc(e);if(n){if(ff(e)){const t=Ny(n);return bf(e)?"__global":`"${t}"`}if(164===n.kind){const e=n.expression;if(Ly(e))return Oc(e.text);if(Cy(e))return us(e.operator)+e.operand.text;Nt.fail("Only computed properties with literal names have declaration names")}if(LC(n)){const t=Wm(e);if(!t)return;return My(t.symbol,n.escapedText)}return Ry(n)?Dy(n):void 0}switch(e.kind){case 173:return"__constructor";case 181:case 176:case 326:return"__call";case 182:case 177:return"__new";case 178:return"__index";case 275:return"__export";case 308:return"export=";case 223:if(2===Yh(e))return"export=";Nt.fail("Unknown binary declaration kind");break;case 320:return bg(e)?"__new":"__call";case 166:return Nt.assert(320===e.parent.kind,"Impossible parameter parent kind",(()=>`parent is: ${Nt.formatSyntaxKind(e.parent.kind)}, expected JSDocFunctionType`)),"arg"+e.parent.parameters.indexOf(e)}}function P(e){return Hc(e)?Ff(e.name):Mc(Nt.checkDefined(M(e)))}function F(n,t,r,i,a,o,s){Nt.assert(s||!ky(r));const c=db(r,1024)||QI(r)&&"default"===r.name.escapedText,l=s?"__computed":c&&t?"default":M(r);let d;if(void 0===l)d=D(0,"__missing");else if(d=n.get(l),2885600&i&&x.add(l),d){if(o&&!d.isReplaceableByMethod)return d;if(d.flags&a)if(d.isReplaceableByMethod)n.set(l,d=D(0,l));else if(!(3&i&&67108864&d.flags)){Hc(r)&&xS(r.name,r);let n=2&d.flags?Vo.Cannot_redeclare_block_scoped_variable_0:Vo.Duplicate_identifier_0,t=!0;(384&d.flags||384&i)&&(n=Vo.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations,t=!1);let a=!1;S(d.declarations)&&(c||d.declarations&&d.declarations.length&&274===r.kind&&!r.isExportEquals)&&(n=Vo.A_module_cannot_have_multiple_default_exports,t=!1,a=!0);const o=[];DI(r)&&Fp(r.type)&&db(r,1)&&2887656&d.flags&&o.push(R(r,Vo.Did_you_mean_0,`export type { ${Mc(r.name.escapedText)} }`));const s=Wc(r)||r;A(d.declarations,((r,i)=>{const c=Wc(r)||r,l=R(c,n,t?P(r):void 0);e.bindDiagnostics.push(a?iS(l,R(s,0===i?Vo.Another_export_default_is_here:Vo.and_here)):l),a&&o.push(R(c,Vo.The_first_export_default_is_here))}));const u=R(s,n,t?P(r):void 0);e.bindDiagnostics.push(iS(u,...o)),d=D(0,l)}}else n.set(l,d=D(0,l)),o&&(d.isReplaceableByMethod=!0);return O(d,r,i),d.parent?Nt.assert(d.parent===t,"Existing symbol parent should match new one"):d.parent=t,d}function B(e,n,t){const r=!!(1&Lc(e))||function(e){if(e.parent&&MI(e)&&(e=e.parent),!Eg(e))return!1;if(!rR(e)&&e.fullName)return!0;const n=Wc(e);return!!(n&&(qb(n.parent)&&Qe(n.parent)||Nu(n.parent)&&1&Lc(n.parent)))}(e);if(2097152&n)return 278===e.kind||268===e.kind&&r?F(i.symbol.exports,i.symbol,e,n,t):(Nt.assertNode(i,Iu),F(i.locals,void 0,e,n,t));if(Eg(e)&&Nt.assert(Ah(e)),!ff(e)&&(r||64&i.flags)){if(!Iu(i)||!i.locals||db(e,1024)&&!M(e))return F(i.symbol.exports,i.symbol,e,n,t);const r=111551&n?1048576:0,a=F(i.locals,void 0,e,r,t);return a.exportSymbol=F(i.symbol.exports,i.symbol,e,n,t),e.localSymbol=a,a}return Nt.assertNode(i,Iu),F(i.locals,void 0,e,n,t)}function U(e){V(e,(e=>259===e.kind?Pe(e):void 0)),V(e,(e=>259!==e.kind?Pe(e):void 0))}function V(e,n=Pe){void 0!==e&&A(e,n)}function j(e){ED(e,Pe,V)}function H(e){const t=L;if(L=!1,function(e){if(!(1&d.flags))return!1;if(d===k){const t=Ou(e)&&239!==e.kind||260===e.kind||264===e.kind&&function(e){const t=BF(e);return 1===t||2===t&&rx(n)}(e);if(t&&(d=I,!n.allowUnreachableCode)){const t=zT(n)&&!(16777216&e.flags)&&(!dI(e)||!!(3&kc(e.declarationList))||e.declarationList.declarations.some((e=>!!e.initializer)));!function(e,n){if(Mu(e)&&WF(e)&&lI(e.parent)){const{statements:t}=e.parent,r=rS(t,e);le(r,WF,((e,t)=>n(r[e],r[t-1])))}else n(e,e)}(e,((e,n)=>Me(t,e,n,Vo.Unreachable_code_detected)))}}return!0}(e))return j(e),Fe(e),void(L=t);switch(e.kind>=240&&e.kind<=256&&!n.allowUnreachableCode&&(e.flowNode=d),e.kind){case 244:!function(e){const n=pe(e,Y()),t=X(),r=X();Z(n,d),d=n,ue(e.expression,t,r),d=ie(t),_e(e.statement,r,n),Z(n,d),d=ie(r)}(e);break;case 243:!function(e){const n=Y(),t=pe(e,X()),r=X();Z(n,d),d=n,_e(e.statement,r,t),Z(t,d),d=ie(t),ue(e.expression,n,r),d=ie(r)}(e);break;case 245:!function(e){const n=pe(e,Y()),t=X(),r=X();Pe(e.initializer),Z(n,d),d=n,ue(e.condition,t,r),d=ie(t),_e(e.statement,r,n),Pe(e.incrementor),Z(n,d),d=ie(r)}(e);break;case 246:case 247:!function(e){const n=pe(e,Y()),t=X();Pe(e.expression),Z(n,d),d=n,247===e.kind&&Pe(e.awaitModifier),Z(t,d),Pe(e.initializer),258!==e.initializer.kind&&ge(e.initializer),_e(e.statement,t,n),Z(n,d),d=ie(t)}(e);break;case 242:!function(e){const n=X(),t=X(),r=X();ue(e.expression,n,t),d=ie(n),Pe(e.thenStatement),Z(r,d),d=ie(t),Pe(e.elseStatement),Z(r,d),d=ie(r)}(e);break;case 250:case 254:!function(e){Pe(e.expression),250===e.kind&&(v=!0,p&&Z(p,d)),d=k}(e);break;case 249:case 248:!function(e){if(Pe(e.label),e.label){const n=function(e){for(let n=y;n;n=n.next)if(n.name===e)return n}(e.label.escapedText);n&&(n.referenced=!0,fe(e,n.breakTarget,n.continueTarget))}else fe(e,u,_)}(e);break;case 255:!function(e){const n=p,t=h,r=X(),i=X();let a=X();if(e.finallyBlock&&(p=i),Z(a,d),h=a,Pe(e.tryBlock),Z(r,d),e.catchClause&&(d=ie(a),a=X(),Z(a,d),h=a,Pe(e.catchClause),Z(r,d)),p=n,h=t,e.finallyBlock){const n=X();n.antecedents=de(de(r.antecedents,a.antecedents),i.antecedents),d=n,Pe(e.finallyBlock),1&d.flags?d=k:(p&&i.antecedents&&Z(p,$(n,i.antecedents,d)),h&&a.antecedents&&Z(h,$(n,a.antecedents,d)),d=r.antecedents?$(n,r.antecedents,d):k)}else d=ie(r)}(e);break;case 252:!function(e){const n=X();Pe(e.expression);const t=u,r=g;u=n,g=d,Pe(e.caseBlock),Z(n,d);const i=A(e.caseBlock.clauses,(e=>293===e.kind));e.possiblyExhaustive=!i&&!n.antecedents,i||Z(n,ne(g,e,0,0)),u=t,g=r,d=ie(n)}(e);break;case 266:!function(e){const t=e.clauses,r=K(e.parent.expression);let i=k;for(let a=0;a<t.length;a++){const o=a;for(;!t[a].statements.length&&a+1<t.length;)Pe(t[a]),a++;const s=X();Z(s,r?ne(g,e.parent,o,a+1):g),Z(s,i),d=ie(s);const c=t[a];Pe(c),i=d,1&d.flags||a===t.length-1||!n.noFallthroughCasesInSwitch||(c.fallthroughFlowNode=d)}}(e);break;case 292:!function(e){const n=d;d=g,Pe(e.expression),d=n,V(e.statements)}(e);break;case 241:!function(e){Pe(e.expression),me(e.expression)}(e);break;case 253:!function(e){const t=X();y={next:y,name:e.label.escapedText,breakTarget:t,continueTarget:void 0,referenced:!1},Pe(e.label),Pe(e.statement),y.referenced||n.allowUnusedLabels||function(e,n,t){Me(e,n,n,t)}(JT(n),e.label,Vo.Unused_label),y=y.next,Z(t,d),d=ie(t)}(e);break;case 221:!function(e){if(53===e.operator){const n=f;f=m,m=n,j(e),m=f,f=n}else j(e),45!==e.operator&&46!==e.operator||ge(e.operand)}(e);break;case 222:!function(e){j(e),(45===e.operator||46===e.operator)&&ge(e.operand)}(e);break;case 223:if(Vb(e))return L=t,void function(e){L?(L=!1,Pe(e.operatorToken),Pe(e.right),L=!0,Pe(e.left)):(L=!0,Pe(e.left),L=!1,Pe(e.operatorToken),Pe(e.right)),ge(e.left)}(e);w(e);break;case 217:!function(e){j(e),208===e.expression.kind&&ge(e.expression)}(e);break;case 224:!function(e){const n=X(),t=X(),r=X();ue(e.condition,n,t),d=ie(n),Pe(e.questionToken),Pe(e.whenTrue),Z(r,d),d=ie(t),Pe(e.colonToken),Pe(e.whenFalse),Z(r,d),d=ie(r)}(e);break;case 257:!function(e){j(e),(e.initializer||vu(e.parent.parent))&&ve(e)}(e);break;case 208:case 209:!function(e){Gl(e)?Se(e):j(e)}(e);break;case 210:!function(e){if(Gl(e))Se(e);else{const n=Yg(e.expression);215===n.kind||216===n.kind?(V(e.typeArguments),V(e.arguments),Pe(e.expression)):(j(e),106===e.expression.kind&&(d=re(d,e)))}if(208===e.expression.kind){const n=e.expression;AC(n.name)&&J(n.expression)&&Hy(n.name)&&(d=te(256,d,e))}}(e);break;case 232:!function(e){Gl(e)?Se(e):j(e)}(e);break;case 349:case 341:case 343:!function(e){Pe(e.tagName),343!==e.kind&&e.fullName&&(xS(e.fullName,e),AS(e.fullName,!1)),"string"!=typeof e.comment&&V(e.comment)}(e);break;case 308:U(e.statements),Pe(e.endOfFileToken);break;case 238:case 265:U(e.statements);break;case 205:!function(e){Pe(e.dotDotDotToken),Pe(e.propertyName),be(e.initializer),Pe(e.name)}(e);break;case 166:!function(e){V(e.modifiers),Pe(e.dotDotDotToken),Pe(e.questionToken),Pe(e.type),be(e.initializer),Pe(e.name)}(e);break;case 207:case 206:case 299:case 227:L=t;default:j(e)}Fe(e),L=t}function K(e){switch(e.kind){case 79:case 80:case 108:case 208:case 209:return q(e);case 210:return function(e){if(e.arguments)for(const n of e.arguments)if(q(n))return!0;return!(208!==e.expression.kind||!q(e.expression.expression))}(e);case 214:case 232:case 218:return K(e.expression);case 223:return function(e){switch(e.operatorToken.kind){case 63:case 75:case 76:case 77:return q(e.left);case 34:case 35:case 36:case 37:return J(e.left)||J(e.right)||z(e.right,e.left)||z(e.left,e.right);case 102:return J(e.left);case 101:case 27:return K(e.right)}return!1}(e);case 221:return 53===e.operator&&K(e.operand)}return!1}function W(e){return Wb(e)||(Rk(e)||tI(e)||Fk(e))&&W(e.expression)||qk(e)&&27===e.operatorToken.kind&&W(e.right)||Nk(e)&&(Ly(e.argumentExpression)||Hb(e.argumentExpression))&&W(e.expression)||Bb(e)&&W(e.left)}function q(e){return W(e)||Gl(e)&&q(e.expression)}function z(e,n){return Vk(e)&&J(e.expression)&&t_(n)}function J(e){switch(e.kind){case 214:return J(e.expression);case 223:switch(e.operatorToken.kind){case 63:return J(e.left);case 27:return J(e.right)}}return q(e)}function X(){return jF({flags:4,antecedents:void 0})}function Y(){return jF({flags:8,antecedents:void 0})}function $(e,n,t){return jF({flags:1024,target:e,antecedents:n,antecedent:t})}function Q(e){e.flags|=2048&e.flags?4096:2048}function Z(e,n){1&n.flags||G(e.antecedents,n)||((e.antecedents||(e.antecedents=[])).push(n),Q(n))}function ee(e,n,t){return 1&n.flags?n:t?!(110===t.kind&&64&e||95===t.kind&&32&e)||Ul(t)||jl(t.parent)?K(t)?(Q(n),jF({flags:e,antecedent:n,node:t})):n:k:32&e?n:k}function ne(e,n,t,r){return Q(e),jF({flags:128,antecedent:e,switchStatement:n,clauseStart:t,clauseEnd:r})}function te(e,n,t){Q(n);const r=jF({flags:e,antecedent:n,node:t});return h&&Z(h,r),r}function re(e,n){return Q(e),jF({flags:512,antecedent:e,node:n})}function ie(e){const n=e.antecedents;return n?1===n.length?n[0]:e:k}function ae(e){for(;;)if(214===e.kind)e=e.expression;else{if(221!==e.kind||53!==e.operator)return Mb(e);e=e.operand}}function oe(e){for(;Fk(e.parent)||Kk(e.parent)&&53===e.parent.operator;)e=e.parent;return!(function(e){const n=e.parent;switch(n.kind){case 242:case 244:case 243:return n.expression===e;case 245:case 224:return n.condition===e}return!1}(e)||ae(e.parent)||Gl(e.parent)&&e.parent.expression===e)}function se(e,n,t,r){const i=f,a=m;f=t,m=r,e(n),f=i,m=a}function ue(e,n,t){se(Pe,e,n,t),e&&(function(e){return Db(Yg(e))}(e)||ae(e)||Gl(e)&&Vl(e))||(Z(n,ee(32,d,e)),Z(t,ee(64,d,e)))}function _e(e,n,t){const r=u,i=_;u=n,_=t,Pe(e),u=r,_=i}function pe(e,n){let t=y;for(;t&&253===e.parent.kind;)t.continueTarget=n,t=t.next,e=e.parent;return n}function fe(e,n,t){const r=249===e.kind?n:t;r&&(Z(r,d),d=k)}function me(e){if(210===e.kind){const n=e;106!==n.expression.kind&&Wb(n.expression)&&(d=re(d,n))}}function he(e){223===e.kind&&63===e.operatorToken.kind?ge(e.left):ge(e)}function ge(e){if(W(e))d=te(16,d,e);else if(206===e.kind)for(const n of e.elements)227===n.kind?ge(n.expression):he(n);else if(207===e.kind)for(const n of e.properties)299===n.kind?he(n.initializer):300===n.kind?ge(n.name):301===n.kind&&ge(n.expression)}function ye(e,n,t){const r=X();55===e.operatorToken.kind||76===e.operatorToken.kind?ue(e.left,r,t):ue(e.left,n,r),d=ie(r),Pe(e.operatorToken),Nb(e.operatorToken.kind)?(se(Pe,e.right,n,t),ge(e.left),Z(n,ee(32,d,e)),Z(t,ee(64,d,e))):ue(e.right,n,t)}function ve(e){const n=Qk(e)?void 0:e.name;if(Kd(n))for(const e of n.elements)ve(e);else d=te(16,d,e)}function be(e){if(!e)return;const n=d;if(Pe(e),n===k||n===d)return;const t=X();Z(t,n),Z(t,d),d=ie(t)}function Ee(e){switch(e.kind){case 208:Pe(e.questionDotToken),Pe(e.name);break;case 209:Pe(e.questionDotToken),Pe(e.argumentExpression);break;case 210:Pe(e.questionDotToken),V(e.typeArguments),V(e.arguments)}}function xe(e,n,t){const r=Bl(e)?X():void 0;!function(e,n,t){se(Pe,e,n,t),Gl(e)&&!Vl(e)||(Z(n,ee(32,d,e)),Z(t,ee(64,d,e)))}(e.expression,r||n,t),r&&(d=ie(r)),se(Ee,e,n,t),Vl(e)&&(Z(n,ee(32,d,e)),Z(t,ee(64,d,e)))}function Se(e){if(oe(e)){const n=X();xe(e,n,n),d=ie(n)}else xe(e,f,m)}function Ae(e){s&&(s.nextContainer=e),s=e}function Le(n,t,r){switch(i.kind){case 264:return B(n,t,r);case 308:return function(n,t,r){return kD(e)?B(n,t,r):F(e.locals,void 0,n,t,r)}(n,t,r);case 228:case 260:return function(e,n,t){return ub(e)?F(i.symbol.exports,i.symbol,e,n,t):F(i.symbol.members,i.symbol,e,n,t)}(n,t,r);case 263:return F(i.symbol.exports,i.symbol,n,t,r);case 184:case 325:case 207:case 261:case 289:return F(i.symbol.members,i.symbol,n,t,r);case 181:case 182:case 176:case 177:case 326:case 178:case 171:case 170:case 173:case 174:case 175:case 259:case 215:case 216:case 320:case 172:case 262:case 197:return i.locals&&Nt.assertNode(i,Iu),F(i.locals,void 0,n,t,r)}}function ke(e){16777216&e.flags&&!function(e){const n=Aw(e)?e:En(e.body,PI);return!!n&&n.statements.some((e=>YI(e)||XI(e)))}(e)?e.flags|=64:e.flags&=-65}function Ie(e){const n=BF(e),t=0!==n;return Le(e,t?512:1024,t?110735:0),n}function we(e,n,t){const r=D(n,t);return 106508&n&&(r.parent=i.symbol),O(r,e,n),r}function Re(e,n,t){switch(o.kind){case 264:B(e,n,t);break;case 308:if(tm(i)){B(e,n,t);break}default:Nt.assertNode(o,Iu),o.locals||(o.locals=op(),Ae(o)),F(o.locals,void 0,e,n,t)}}function Ne(n,t){if(t&&79===t.kind){const i=t;if(AC(r=i)&&("eval"===r.escapedText||"arguments"===r.escapedText)){const r=nm(e,t);e.bindDiagnostics.push(ST(e,r.start,r.length,function(n){return Wm(n)?Vo.Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode:e.externalModuleIndicator?Vo.Invalid_use_of_0_Modules_are_automatically_in_strict_mode:Vo.Invalid_use_of_0_in_strict_mode}(n),Pc(i)))}}var r}function De(e){E&&Ne(e,e.name)}function Oe(n,t,r,i,a){const o=Zf(e,n.pos);e.bindDiagnostics.push(ST(e,o.start,o.length,t,r,i,a))}function Me(n,t,r,i){!function(n,t,r){const i=ST(e,t.pos,t.end-t.pos,r);n?e.bindDiagnostics.push(i):e.bindSuggestionDiagnostics=Te(e.bindSuggestionDiagnostics,{...i,category:2})}(n,{pos:$p(t,e),end:r.end},i)}function Pe(n){if(!n)return;xS(n,r),Vr&&(n.tracingPath=e.path);const t=E;if(Ue(n),n.kind>162){const e=r;r=n;const t=zF(n);0===t?H(n):function(e,n){const t=i,r=a,s=o;if(1&n?(216!==e.kind&&(a=i),i=o=e,32&n&&(i.locals=op(),Ae(i))):2&n&&(o=e,32&n&&(o.locals=void 0)),4&n){const t=d,r=u,i=_,a=p,o=h,s=y,c=v,l=16&n&&!db(e,512)&&!e.asteriskToken&&!!Zm(e)||172===e.kind;l||(d=jF({flags:2}),144&n&&(d.node=e)),p=l||173===e.kind||Ah(e)&&(259===e.kind||215===e.kind)?X():void 0,h=void 0,u=void 0,_=void 0,y=void 0,v=!1,H(e),e.flags&=-2817,!(1&d.flags)&&8&n&&Gp(e.body)&&(e.flags|=256,v&&(e.flags|=512),e.endFlowNode=d),308===e.kind&&(e.flags|=b,e.endFlowNode=d),p&&(Z(p,d),d=ie(p),(173===e.kind||172===e.kind||Ah(e)&&(259===e.kind||215===e.kind))&&(e.returnFlowNode=d)),l||(d=t),u=r,_=i,p=a,h=o,y=s,v=c}else 64&n?(l=!1,H(e),Nt.assertNotNode(e,AC),e.flags=l?128|e.flags:-129&e.flags):H(e);i=t,a=r,o=s}(n,t),r=e}else{const e=r;1===n.kind&&(r=n),Fe(n),r=e}E=t}function Fe(e){if(Xu(e))if(Ah(e))for(const n of e.jsDoc)Pe(n);else for(const n of e.jsDoc)xS(n,e),AS(n,!1)}function Ge(e){if(!E)for(const n of e){if(!_m(n))return;if(Be(n))return void(E=!0)}}function Be(n){const t=Zp(e,n.expression);return'"use strict"'===t||"'use strict'"===t}function Ue(a){switch(a.kind){case 79:if(2048&a.flags){let e=a.parent;for(;e&&!Eg(e);)e=e.parent;Re(e,524288,788968);break}case 108:return d&&(uu(a)||300===r.kind)&&(a.flowNode=d),function(n){if(!(e.parseDiagnostics.length||16777216&n.flags||8388608&n.flags||ty(n))){const t=Fc(n);if(void 0===t)return;E&&t>=117&&t<=125?e.bindDiagnostics.push(R(n,function(n){return Wm(n)?Vo.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:e.externalModuleIndicator?Vo.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:Vo.Identifier_expected_0_is_a_reserved_word_in_strict_mode}(n),Ff(n))):133===t?kD(e)&&Ym(n)?e.bindDiagnostics.push(R(n,Vo.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module,Ff(n))):32768&n.flags&&e.bindDiagnostics.push(R(n,Vo.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,Ff(n))):125===t&&8192&n.flags&&e.bindDiagnostics.push(R(n,Vo.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,Ff(n)))}}(a);case 163:d&&gh(a)&&(a.flowNode=d);break;case 233:case 106:a.flowNode=d;break;case 80:return function(n){"#constructor"===n.escapedText&&(e.parseDiagnostics.length||e.bindDiagnostics.push(R(n,Vo.constructor_is_a_reserved_word,Ff(n))))}(a);case 208:case 209:const s=a;d&&W(s)&&(s.flowNode=d),lg(s)&&function(e){108===e.expression.kind?We(e):eg(e)&&308===e.parent.parent.kind&&(Jb(e.expression)?Je(e,e.parent):Xe(e))}(s),Ah(s)&&e.commonJsModuleIndicator&&Xh(s)&&!JF(o,"module")&&F(e.locals,void 0,s.expression,134217729,111550);break;case 223:switch(Yh(a)){case 1:He(a);break;case 2:!function(n){if(!je(n))return;const t=qh(n.right);if(Qb(t)||i===e&&qF(e,t))return;if(wk(t)&&N(t.properties,Ew))return void A(t.properties,Ke);const r=oy(n)?2097152:1049092;dg(F(e.symbol.exports,e.symbol,n,67108864|r,0),n)}(a);break;case 3:Je(a.left,a);break;case 6:!function(e){xS(e.left,e),xS(e.right,e),Ze(e.left.expression,e.left,!1,!0)}(a);break;case 4:We(a);break;case 5:const n=a.left.expression;if(Ah(a)&&AC(n)){const e=JF(o,n.escapedText);if(rh(null==e?void 0:e.valueDeclaration)){We(a);break}}!function(n){var t;const r=en(n.left.expression,i)||en(n.left.expression,o);if(!Ah(n)&&!ug(r))return;const a=iT(n.left);AC(a)&&2097152&(null==(t=JF(i,a.escapedText))?void 0:t.flags)||(xS(n.left,n),xS(n.right,n),AC(n.left.expression)&&i===e&&qF(e,n.left.expression)?He(n):ky(n)?(we(n,67108868,"__computed"),ze(n,Ye(r,n.left.expression,Qe(n.left),!1,!1))):Xe(Tn(n.left,tg)))}(a);break;case 0:break;default:Nt.fail("Unknown binary expression special property assignment kind")}return function(e){E&&au(e.left)&&Pb(e.operatorToken.kind)&&Ne(e,e.left)}(a);case 295:return function(e){E&&e.variableDeclaration&&Ne(e,e.variableDeclaration.name)}(a);case 217:return function(n){if(E&&79===n.expression.kind){const t=nm(e,n.expression);e.bindDiagnostics.push(ST(e,t.start,t.length,Vo.delete_cannot_be_called_on_an_identifier_in_strict_mode))}}(a);case 8:return function(n){t<1&&E&&32&n.numericLiteralFlags&&e.bindDiagnostics.push(R(n,Vo.Octal_literals_are_not_allowed_in_strict_mode))}(a);case 222:return function(e){E&&Ne(e,e.operand)}(a);case 221:return function(e){E&&(45!==e.operator&&46!==e.operator||Ne(e,e.operand))}(a);case 251:return function(e){E&&Oe(e,Vo.with_statements_are_not_allowed_in_strict_mode)}(a);case 253:return function(e){E&&BT(n)>=2&&(Du(e.statement)||dI(e.statement))&&Oe(e.label,Vo.A_label_is_not_allowed_here)}(a);case 194:return void(l=!0);case 179:break;case 165:return function(e){if(cR(e.parent)){const n=Og(e.parent);n?(Nt.assertNode(n,Iu),null!=n.locals||(n.locals=op()),F(n.locals,void 0,e,262144,526824)):Le(e,262144,526824)}else if(192===e.parent.kind){const n=function(e){const n=Rc(e,(e=>e.parent&&mk(e.parent)&&e.parent.extendsType===e));return n&&n.parent}(e.parent);n?(Nt.assertNode(n,Iu),null!=n.locals||(n.locals=op()),F(n.locals,void 0,e,262144,526824)):we(e,262144,M(e))}else Le(e,262144,526824)}(a);case 166:return rn(a);case 257:return tn(a);case 205:return a.flowNode=d,tn(a);case 169:case 168:return function(e){const n=Md(e),t=n?13247:0;return an(e,(n?98304:4)|(e.questionToken?16777216:0),t)}(a);case 299:case 300:return an(a,4,0);case 302:return an(a,8,900095);case 176:case 177:case 178:return Le(a,131072,0);case 171:case 170:return an(a,8192|(a.questionToken?16777216:0),Om(a)?0:103359);case 259:return function(n){e.isDeclarationFile||16777216&n.flags||Ay(n)&&(b|=2048),De(n),E?(function(n){if(t<2&&308!==o.kind&&264!==o.kind&&!Ld(o)){const t=nm(e,n);e.bindDiagnostics.push(ST(e,t.start,t.length,function(n){return Wm(n)?Vo.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:e.externalModuleIndicator?Vo.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:Vo.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5}(n)))}}(n),Re(n,16,110991)):Le(n,16,110991)}(a);case 173:return Le(a,16384,0);case 174:return an(a,32768,46015);case 175:return an(a,65536,78783);case 181:case 320:case 326:case 182:return function(e){const n=D(131072,M(e));O(n,e,131072);const t=D(2048,"__type");O(t,e,2048),t.members=op(),t.members.set(n.escapedName,n)}(a);case 184:case 325:case 197:return function(e){return we(e,2048,"__type")}(a);case 335:return function(e){j(e);const n=Mg(e);n&&171!==n.kind&&O(n.symbol,n,32)}(a);case 207:return function(e){return we(e,4096,"__object")}(a);case 215:case 216:return function(n){e.isDeclarationFile||16777216&n.flags||Ay(n)&&(b|=2048),d&&(n.flowNode=d),De(n);return we(n,16,n.name?n.name.escapedText:"__function")}(a);case 210:switch(Yh(a)){case 7:return function(e){let n=en(e.arguments[0]);const t=308===e.parent.parent.kind;n=Ye(n,e.arguments[0],t,!1,!1),$e(e,n,!1)}(a);case 8:return function(e){if(!je(e))return;const n=nn(e.arguments[0],void 0,((e,n)=>(n&&O(n,e,67110400),n)));if(n){const t=1048580;F(n.exports,n,e,t,0)}}(a);case 9:return function(e){const n=en(e.arguments[0].expression);n&&n.valueDeclaration&&O(n,n.valueDeclaration,32),$e(e,n,!0)}(a);case 0:break;default:return Nt.fail("Unknown call expression assignment declaration kind")}Ah(a)&&function(n){!e.commonJsModuleIndicator&&wh(n,!1)&&je(n)}(a);break;case 228:case 260:return E=!0,function(n){260===n.kind?Re(n,32,899503):(we(n,32,n.name?n.name.escapedText:"__class"),n.name&&x.add(n.name.escapedText));const{symbol:t}=n,r=D(4194308,"prototype"),i=t.exports.get(r.escapedName);i&&(n.name&&xS(n.name,n),e.bindDiagnostics.push(R(i.declarations[0],Vo.Duplicate_identifier_0,Gc(r)))),t.exports.set(r.escapedName,r),r.parent=t}(a);case 261:return Re(a,64,788872);case 262:return Re(a,524288,788968);case 263:return function(e){return im(e)?Re(e,128,899967):Re(e,256,899327)}(a);case 264:return function(n){if(ke(n),ff(n))if(db(n,1)&&Oe(n,Vo.export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible),Tf(n))Ie(n);else{let t;if(10===n.name.kind){const{text:e}=n.name;t=zx(e),void 0===t&&Oe(n.name,Vo.Pattern_0_can_have_at_most_one_Asterisk_character,e)}const r=Le(n,512,110735);e.patternAmbientModules=Te(e.patternAmbientModules,t&&!vn(t)?{pattern:t,symbol:r}:void 0)}else{const e=Ie(n);if(0!==e){const{symbol:t}=n;t.constEnumOnlyModule=!(304&t.flags)&&2===e&&!1!==t.constEnumOnlyModule}}}(a);case 289:return function(e){return we(e,4096,"__jsxAttributes")}(a);case 288:return function(e,n,t){return Le(e,4,0)}(a);case 268:case 271:case 273:case 278:return Le(a,2097152,2097152);case 267:return function(n){ce(n.modifiers)&&e.bindDiagnostics.push(R(n,Vo.Modifiers_cannot_appear_here));const t=Aw(n.parent)?kD(n.parent)?n.parent.isDeclarationFile?void 0:Vo.Global_module_exports_may_only_appear_in_declaration_files:Vo.Global_module_exports_may_only_appear_in_module_files:Vo.Global_module_exports_may_only_appear_at_top_level;t?e.bindDiagnostics.push(R(n,t)):(e.symbol.globalExports=e.symbol.globalExports||op(),F(e.symbol.globalExports,e.symbol,n,2097152,2097152))}(a);case 270:return function(e){e.name&&Le(e,2097152,2097152)}(a);case 275:return function(e){i.symbol&&i.symbol.exports?e.exportClause?qI(e.exportClause)&&(xS(e.exportClause,e),F(i.symbol.exports,i.symbol,e.exportClause,2097152,2097152)):F(i.symbol.exports,i.symbol,e,8388608,0):we(e,8388608,M(e))}(a);case 274:return function(e){if(i.symbol&&i.symbol.exports){const n=oy(e)?2097152:4,t=F(i.symbol.exports,i.symbol,e,n,67108863);e.isExportEquals&&dg(t,e)}else we(e,111551,M(e))}(a);case 308:return Ge(a.statements),function(){if(ke(e),kD(e))Ve();else if(rm(e)){Ve();const n=e.symbol;F(e.symbol.exports,e.symbol,e,4,67108863),e.symbol=n}}();case 238:if(!Ld(a.parent))return;case 265:return Ge(a.statements);case 344:if(326===a.parent.kind)return rn(a);if(325!==a.parent.kind)break;case 351:const u=a;return Le(u,u.isBracketed||u.typeExpression&&319===u.typeExpression.type.kind?16777220:4,0);case 349:case 341:case 343:return(c||(c=[])).push(a);case 342:return Pe(a.typeExpression)}}function Ve(){we(e,512,`"${Hx(e.fileName)}"`)}function je(n){return!(e.externalModuleIndicator&&!0!==e.externalModuleIndicator||(e.commonJsModuleIndicator||(e.commonJsModuleIndicator=n,e.externalModuleIndicator||Ve()),0))}function He(e){if(!je(e))return;const n=nn(e.left.expression,void 0,((e,n)=>(n&&O(n,e,67110400),n)));if(n){const t=ay(e.right)&&(zh(e.left.expression)||Xh(e.left.expression))?2097152:1048580;xS(e.left,e),F(n.exports,n,e.left,t,0)}}function Ke(n){F(e.symbol.exports,e.symbol,n,69206016,0)}function We(e){if(Nt.assert(Ah(e)),qk(e)&&Rk(e.left)&&LC(e.left.name)||Rk(e)&&LC(e.name))return;const n=Jm(e,!1,!1);switch(n.kind){case 259:case 215:let t=n.symbol;if(qk(n.parent)&&63===n.parent.operatorToken.kind){const e=n.parent.left;eg(e)&&Jb(e.expression)&&(t=en(e.expression.expression,a))}t&&t.valueDeclaration&&(t.members=t.members||op(),ky(e)?qe(e,t,t.members):F(t.members,t,e,67108868,0),O(t,t.valueDeclaration,32));break;case 173:case 169:case 171:case 174:case 175:case 172:const r=n.parent,i=ub(n)?r.symbol.exports:r.symbol.members;ky(e)?qe(e,r.symbol,i):F(i,r.symbol,e,67108868,0,!0);break;case 308:if(ky(e))break;n.commonJsModuleIndicator?F(n.symbol.exports,n.symbol,e,1048580,0):Le(e,1,111550);break;default:Nt.failBadSyntaxKind(n)}}function qe(e,n,t){F(t,n,e,4,0,!0,!0),ze(e,n)}function ze(e,n){n&&(n.assignmentDeclarationMembers||(n.assignmentDeclarationMembers=new Map)).set(KG(e),e)}function Je(e,n){const t=e.expression,r=t.expression;xS(r,t),xS(t,e),xS(e,n),Ze(r,e,!0,!0)}function Xe(e){Nt.assert(!AC(e)),xS(e.expression,e),Ze(e.expression,e,!1,!1)}function Ye(n,t,r,i,a){if(2097152&(null==n?void 0:n.flags))return n;if(r&&!i){const r=67110400,i=110735;n=nn(t,n,((n,t,a)=>t?(O(t,n,r),t):F(a?a.exports:e.jsGlobalAugmentations||(e.jsGlobalAugmentations=op()),a,n,r,i)))}return a&&n&&n.valueDeclaration&&O(n,n.valueDeclaration,32),n}function $e(e,n,t){if(!n||!function(e){if(1072&e.flags)return!0;const n=e.valueDeclaration;if(n&&Dk(n))return!!Vh(n);let t=n?kI(n)?n.initializer:qk(n)?n.right:Rk(n)&&qk(n.parent)?n.parent.right:void 0:void 0;if(t=t&&qh(t),t){const e=Jb(kI(n)?n.name:qk(n)?n.left:n);return!!jh(!qk(t)||56!==t.operatorToken.kind&&60!==t.operatorToken.kind?t:t.right,e)}return!1}(n))return;const r=t?n.members||(n.members=op()):n.exports||(n.exports=op());let i=0,a=0;Cd(Vh(e))?(i=8192,a=103359):Dk(e)&&$h(e)&&(ce(e.arguments[2].properties,(e=>{const n=Wc(e);return!!n&&AC(n)&&"set"===Pc(n)}))&&(i|=65540,a|=78783),ce(e.arguments[2].properties,(e=>{const n=Wc(e);return!!n&&AC(n)&&"get"===Pc(n)}))&&(i|=32772,a|=46015)),0===i&&(i=4,a=0),F(r,n,e,67108864|i,-67108865&a)}function Qe(e){return qk(e.parent)?308===function(e){for(;qk(e.parent);)e=e.parent;return e.parent}(e.parent).parent.kind:308===e.parent.parent.kind}function Ze(e,n,t,r){let a=en(e,i)||en(e,o);const s=Qe(n);a=Ye(a,n.expression,s,t,r),$e(n,a,t)}function en(e,n=i){if(AC(e))return JF(n,e.escapedText);{const n=en(e.expression);return n&&n.exports&&n.exports.get(ag(e))}}function nn(n,t,r){if(qF(e,n))return e.symbol;if(AC(n))return r(n,en(n),t);{const e=nn(n.expression,t,r),i=rg(n);return LC(i)&&Nt.fail("unexpected PrivateIdentifier"),r(i,e&&e.exports&&e.exports.get(ag(n)),e)}}function tn(e){if(E&&Ne(e,e.name),!Kd(e.name)){const t=257===e.kind?e:e.parent.parent;!Ah(e)||100===jT(n)||!Nh(t)||El(e)||1&Lc(e)?_f(e)?Re(e,2,111551):Ky(e)?Le(e,1,111551):Le(e,1,111550):Le(e,2097152,2097152)}}function rn(e){if((344!==e.kind||326===i.kind)&&(!E||16777216&e.flags||Ne(e,e.name),Kd(e.name)?we(e,1,"__"+e.parent.parameters.indexOf(e)):Le(e,1,111551),Ec(e,e.parent))){const n=e.parent.parent;F(n.symbol.members,n.symbol,e,4|(e.questionToken?16777216:0),0)}}function an(n,t,r){return e.isDeclarationFile||16777216&n.flags||!Ay(n)||(b|=2048),d&&Mm(n)&&(n.flowNode=d),ky(n)?we(n,t,"__computed"):Le(n,t,r)}}function WF(e){return!(wI(e)||function(e){switch(e.kind){case 261:case 262:return!0;case 264:return 1!==BF(e);case 263:return db(e,2048);default:return!1}}(e)||OI(e)||dI(e)&&!(3&kc(e))&&e.declarationList.declarations.some((e=>!e.initializer)))}function qF(e,n){let t=0;const r=mn();for(r.enqueue(n);!r.isEmpty()&&t<100;){if(t++,zh(n=r.dequeue())||Xh(n))return!0;if(AC(n)){const t=JF(e,n.escapedText);if(t&&t.valueDeclaration&&kI(t.valueDeclaration)&&t.valueDeclaration.initializer){const e=t.valueDeclaration.initializer;r.enqueue(e),Bb(e,!0)&&(r.enqueue(e.left),r.enqueue(e.right))}}}return!1}function zF(e){switch(e.kind){case 228:case 260:case 263:case 207:case 184:case 325:case 289:return 1;case 261:return 65;case 264:case 262:case 197:case 178:return 33;case 308:return 37;case 174:case 175:case 171:if(Mm(e))return 173;case 173:case 259:case 170:case 176:case 326:case 320:case 181:case 177:case 182:case 172:return 45;case 215:case 216:return 61;case 265:return 4;case 169:return e.initializer?4:0;case 295:case 245:case 246:case 247:case 266:return 34;case 238:return Ad(e.parent)||XC(e.parent)?0:34}return 0}function JF(e,n){var t,r,i,a,o;const s=null==(r=null==(t=En(e,Iu))?void 0:t.locals)?void 0:r.get(n);return s?null!=(i=s.exportSymbol)?i:s:Aw(e)&&e.jsGlobalAugmentations&&e.jsGlobalAugmentations.has(n)?e.jsGlobalAugmentations.get(n):ku(e)?null==(o=null==(a=e.symbol)?void 0:a.exports)?void 0:o.get(n):void 0}var XF=E({"src/compiler/binder.ts"(){Qq(),_a(),PF=(e=>(e[e.NonInstantiated=0]="NonInstantiated",e[e.Instantiated=1]="Instantiated",e[e.ConstEnumOnly=2]="ConstEnumOnly",e))(PF||{}),FF=KF()}});function YF(e,n,t,r,i,a,o,s,c,l){return function(d=(()=>!0)){const u=[],_=[];return{walkType:e=>{try{return p(e),{visitedTypes:Ye(u),visitedSymbols:Ye(_)}}finally{K(u),K(_)}},walkSymbol:e=>{try{return h(e),{visitedTypes:Ye(u),visitedSymbols:Ye(_)}}finally{K(u),K(_)}}};function p(e){if(e&&!u[e.id]&&(u[e.id]=e,!h(e.symbol))){if(524288&e.flags){const t=e,i=t.objectFlags;4&i&&function(e){p(e.target),A(l(e),p)}(e),32&i&&function(e){p(e.typeParameter),p(e.constraintType),p(e.templateType),p(e.modifiersType)}(e),3&i&&(m(n=e),A(n.typeParameters,p),A(r(n),p),p(n.thisType)),24&i&&m(t)}var n;262144&e.flags&&function(e){p(s(e))}(e),3145728&e.flags&&function(e){A(e.types,p)}(e),4194304&e.flags&&function(e){p(e.type)}(e),8388608&e.flags&&function(e){p(e.objectType),p(e.indexType),p(e.constraint)}(e)}}function f(r){const i=n(r);i&&p(i.type),A(r.typeParameters,p);for(const e of r.parameters)h(e);p(e(r)),p(t(r))}function m(e){const n=i(e);for(const e of n.indexInfos)p(e.keyType),p(e.type);for(const e of n.callSignatures)f(e);for(const e of n.constructSignatures)f(e);for(const e of n.properties)h(e)}function h(e){if(!e)return!1;const n=WG(e);return!_[n]&&(_[n]=e,!d(e)||(p(a(e)),e.exports&&e.exports.forEach(h),A(e.declarations,(e=>{if(e.type&&183===e.type.kind){const n=e.type;h(o(c(n.exprName)))}})),!1))}}}var $F=E({"src/compiler/symbolWalker.ts"(){Qq()}});function QF({importModuleSpecifierPreference:e,importModuleSpecifierEnding:n},t,r,i){const a=function(){if(void 0!==i){if(Px(i))return 2;if(et(i,"/index"))return 1}return Bx(n,r.impliedNodeFormat,t,r)}();return{relativePreference:void 0!==i?Zs(i)?0:1:"relative"===e?0:"non-relative"===e?1:"project-relative"===e?3:2,getAllowedEndingsInPreferredOrder:e=>{if(99===(null!=e?e:r.impliedNodeFormat))return NF(t,r.fileName)?[3,2]:[2];if(1===jT(t))return[1,2];switch(a){case 2:return[2,0,1];case 3:return[3,0,2,1];case 1:return[1,0,2];case 0:return[0,1,2];default:Nt.assertNever(a)}}}}function ZF(e,n,t,r,i,a,o={}){const s=tG(e,n,t,r,i,QF({},e,n,a),{},o);if(s!==a)return s}function eG(e,n,t,r,i,a={}){return tG(e,n,t,r,i,QF({},e,n),{},a)}function nG(e,n,t,r,i,a={}){const o=sG(n.path,r);return C(pG(n.path,t,r,i,a),(t=>gG(t,o,n,r,e,i,!0,a.overrideImportMode)))}function tG(e,n,t,r,i,a,o,s={}){const c=sG(t,i);return C(pG(t,r,i,o,s),(t=>gG(t,c,n,i,e,o,void 0,s.overrideImportMode)))||cG(r,c,e,i,s.overrideImportMode||n.impliedNodeFormat,a)}function rG(e,n,t,r,i={}){return iG(e,n,t,r,i)[0]}function iG(e,n,t,r,a={}){var o;const s=wp(e);if(!s)return i;const c=null==(o=t.getModuleSpecifierCache)?void 0:o.call(t),l=null==c?void 0:c.get(n.path,s.path,r,a);return[null==l?void 0:l.moduleSpecifiers,s,null==l?void 0:l.modulePaths,c]}function aG(e,n,t,r,i,a,o={}){return oG(e,n,t,r,i,a,o).moduleSpecifiers}function oG(e,n,t,r,a,o,s={}){let c=!1;const l=function(e,n){var t;const r=null==(t=e.declarations)?void 0:t.find((e=>hf(e)&&(!Ef(e)||!Zs(Ny(e.name)))));if(r)return r.name.text;const i=ee(e.declarations,(e=>{var t,r,i,a;if(!MI(e))return;const o=function(e){for(;4&e.flags;)e=e.parent;return e}(e);if(!((null==(t=null==o?void 0:o.parent)?void 0:t.parent)&&PI(o.parent)&&ff(o.parent.parent)&&Aw(o.parent.parent.parent)))return;const s=null==(a=null==(i=null==(r=o.parent.parent.symbol.exports)?void 0:r.get("export="))?void 0:i.valueDeclaration)?void 0:a.expression;if(!s)return;const c=n.getSymbolAtLocation(s);if(c&&(2097152&(null==c?void 0:c.flags)?n.getAliasedSymbol(c):c)===e.symbol)return o.parent.parent}))[0];return i?i.name.text:void 0}(e,n);if(l)return{moduleSpecifiers:[l],computedWithoutCache:c};let[d,u,_,p]=iG(e,r,a,o,s);if(d)return{moduleSpecifiers:d,computedWithoutCache:c};if(!u)return{moduleSpecifiers:i,computedWithoutCache:c};c=!0,_||(_=fG(r.path,u.originalFileName,a));const f=function(e,n,t,r,i,a={}){const o=sG(t.path,r),s=QF(i,n,t),c=A(e,(e=>A(r.getFileIncludeReasons().get(xo(e.path,r.getCurrentDirectory(),o.getCanonicalFileName)),(e=>{if(3!==e.kind||e.file!==t.path)return;if(t.impliedNodeFormat&&t.impliedNodeFormat!==mH(t,e.index))return;const n=VH(t,e.index).text;return 1===s.relativePreference&&Za(n)?void 0:n}))));if(c)return[c];const l=ce(e,(e=>e.isInNodeModules));let d,u,_,p;for(const c of e){const e=c.isInNodeModules?gG(c,o,t,r,n,i,void 0,a.overrideImportMode):void 0;if(d=Te(d,e),e&&c.isRedirect)return d;if(!e){const e=cG(c.path,o,n,r,a.overrideImportMode||t.impliedNodeFormat,s,c.isRedirect);if(!e)continue;c.isRedirect?_=Te(_,e):eo(e)?u=Te(u,e):l&&!c.isInNodeModules||(p=Te(p,e))}}return(null==u?void 0:u.length)?u:(null==_?void 0:_.length)?_:(null==d?void 0:d.length)?d:Nt.checkDefined(p)}(_,t,r,a,o,s);return null==p||p.set(r.path,u.path,o,s,_,f),{moduleSpecifiers:f,computedWithoutCache:c}}function sG(e,n){return{getCanonicalFileName:lt(!n.useCaseSensitiveFileNames||n.useCaseSensitiveFileNames()),importingSourceFileName:e,sourceDirectory:co(e)}}function cG(e,n,t,r,i,{getAllowedEndingsInPreferredOrder:a,relativePreference:o},s){const{baseUrl:c,paths:l,rootDirs:d}=t;if(s&&!l)return;const{sourceDirectory:u,getCanonicalFileName:_}=n,p=a(i),f=d&&function(e,n,t,r,i,a){const o=yG(n,e,r);if(void 0===o)return;const s=jn(X(yG(t,e,r),(e=>W(o,(n=>Lo(Mo(e,n,r)))))),jx);return s?vG(s,i,a):void 0}(d,e,u,_,p,t)||vG(Lo(Mo(u,e,_)),p,t);if(!c&&!l||0===o)return s?void 0:f;const m=xG(e,bo(Iv(t,r)||c,r.getCurrentDirectory()),_);if(!m)return s?void 0:f;const h=l&&mG(m,l,p,r,t);if(s)return h;const g=void 0===h&&void 0!==c?vG(m,p,t):h;if(!g)return f;if(1===o&&!Za(g))return g;if(3===o&&!Za(g)){const i=t.configFilePath?xo(co(t.configFilePath),r.getCurrentDirectory(),n.getCanonicalFileName):n.getCanonicalFileName(r.getCurrentDirectory()),a=xo(e,i,_),o=pt(u,i),s=pt(a,i);if(o&&!s||!o&&s)return g;const c=uG(r,co(a));return uG(r,u)!==c?g:f}return SG(g)||lG(f)<lG(g)?f:g}function lG(e){let n=0;for(let t=pt(e,"./")?2:0;t<e.length;t++)47===e.charCodeAt(t)&&n++;return n}function dG(e,n){return $n(n.isRedirect,e.isRedirect)||jx(e.path,n.path)}function uG(e,n){return e.getNearestAncestorDirectoryWithPackageJson?e.getNearestAncestorDirectoryWithPackageJson(n):!!Bo(n,(n=>!!e.fileExists(go(n,"package.json"))||void 0))}function _G(e,n,t,r,a){var o;const s=yv(t),c=t.getCurrentDirectory(),l=t.isSourceOfProjectReferenceRedirect(n)?t.getProjectReferenceRedirect(n):void 0,d=xo(n,c,s),u=t.redirectTargetsMap.get(d)||i,_=[...l?[l]:i,n,...u].map((e=>bo(e,c)));let p=!N(_,IS);if(!r){const e=A(_,(e=>!(p&&IS(e))&&a(e,l===e)));if(e)return e}const f=null==(o=t.getSymlinkCache)?void 0:o.call(t).getSymlinkedDirectoriesByRealpath(),m=bo(n,c);return f&&Bo(co(m),(n=>{const t=f.get(Ao(xo(n,c,s)));if(t)return!Do(e,n,s)&&A(_,(e=>{if(!Do(e,n,s))return;const r=Mo(n,e,s);for(const n of t){const t=yo(n,r),i=a(t,e===l);if(p=!0,i)return i}}))}))||(r?A(_,(e=>p&&IS(e)?void 0:a(e,e===l))):void 0)}function pG(e,n,t,r,i={}){var a;const o=xo(n,t.getCurrentDirectory(),yv(t)),s=null==(a=t.getModuleSpecifierCache)?void 0:a.call(t);if(s){const n=s.get(e,o,r,i);if(null==n?void 0:n.modulePaths)return n.modulePaths}const c=fG(e,n,t);return s&&s.setModulePaths(e,o,r,i,c),c}function fG(e,n,t){const r=yv(t),i=new Map;let a=!1;_G(e,n,t,!0,((e,n)=>{const t=XP(e);i.set(e,{path:r(e),isRedirect:n,isInNodeModules:t}),a=a||t}));const o=[];for(let n=co(e);0!==i.size;){const e=Ao(n);let t;i.forEach((({path:n,isRedirect:r,isInNodeModules:a},o)=>{pt(n,e)&&((t||(t=[])).push({path:o,isRedirect:r,isInNodeModules:a}),i.delete(o))})),t&&(t.length>1&&t.sort(dG),o.push(...t));const r=co(n);if(r===n)break;n=r}if(i.size){const e=Qe(i.values());e.length>1&&e.sort(dG),o.push(...e)}return o}function mG(e,n,t,r,i){for(const r in n)for(const o of n[r]){const n=Eo(o),s=n.indexOf("*"),c=t.map((n=>({ending:n,value:vG(e,[n],i)})));if(eS(n)&&c.push({ending:void 0,value:e}),-1!==s){const e=n.substring(0,s),t=n.substring(s+1);for(const{ending:n,value:i}of c)if(i.length>=e.length+t.length&&pt(i,e)&&et(i,t)&&a({ending:n,value:i})){const n=i.substring(e.length,i.length-t.length);return r.replace("*",n)}}else if(ce(c,(e=>0!==e.ending&&n===e.value))||ce(c,(e=>0===e.ending&&n===e.value&&a(e))))return r}function a({ending:n,value:t}){return 0!==n||t===vG(e,[n],i,r)}}function hG(e,n,t,r,i,a,o=0){if("string"==typeof i){const a=bo(go(t,i),void 0),s=Fx(n)?Hx(n)+TG(n,e):void 0;switch(o){case 0:if(0===Ro(n,a)||s&&0===Ro(s,a))return{moduleFileToTry:r};break;case 1:if(No(a,n)){const e=Mo(a,n,!1);return{moduleFileToTry:bo(go(go(r,i),e),void 0)}}break;case 2:const e=a.indexOf("*"),t=a.slice(0,e),o=a.slice(e+1);if(pt(n,t)&&et(n,o)){const e=n.slice(t.length,n.length-o.length);return{moduleFileToTry:r.replace("*",e)}}if(s&&pt(s,t)&&et(s,o)){const e=s.slice(t.length,s.length-o.length);return{moduleFileToTry:r.replace("*",e)}}}}else{if(Array.isArray(i))return A(i,(i=>hG(e,n,t,r,i,a)));if("object"==typeof i&&null!==i){if(mF(i))return A(Je(i),(o=>{const s=bo(go(r,o),void 0),c=et(o,"/")?1:rt(o,"*")?2:0;return hG(e,n,t,s,i[o],a,c)}));for(const o of Je(i))if("default"===o||a.indexOf(o)>=0||bF(a,o)){const s=i[o],c=hG(e,n,t,r,s,a);if(c)return c}}}}function gG({path:e,isRedirect:n},{getCanonicalFileName:t,sourceDirectory:r},i,a,o,s,c,l){if(!a.fileExists||!a.readFile)return;const d=US(e);if(!d)return;const u=QF(s,o,i).getAllowedEndingsInPreferredOrder();let _=e,p=!1;if(!c){let n,t=d.packageRootIndex;for(;;){const{moduleFileToTry:r,packageRootPath:i,blockedByExports:s,verbatimFromExports:c}=y(t);if(1!==jT(o)){if(s)return;if(c)return r}if(i){_=i,p=!0;break}if(n||(n=r),t=e.indexOf(ja,t+1),-1===t){_=vG(n,u,o,a);break}}}if(n&&!p)return;const f=a.getGlobalTypingsCacheLocation&&a.getGlobalTypingsCacheLocation(),m=t(_.substring(0,d.topLevelNodeModulesIndex));if(!(pt(r,m)||f&&pt(t(f),m)))return;const h=_.substring(d.topLevelPackageNameIndex+1),g=kF(h);return 1===jT(o)&&g===h?void 0:g;function y(n){var r,s;const c=e.substring(0,n),_=go(c,"package.json");let p=e,f=!1;const m=null==(s=null==(r=a.getPackageJsonInfoCache)?void 0:r.call(a))?void 0:s.getPackageJsonInfo(_);if("object"==typeof m||void 0===m&&a.fileExists(_)){const n=(null==m?void 0:m.contents.packageJsonContent)||JSON.parse(a.readFile(_)),r=l||i.impliedNodeFormat;if(ZT(o)){const t=kF(c.substring(d.topLevelPackageNameIndex+1)),i=SP(o,99===r),a=n.exports?hG(o,e,c,t,n.exports,i):void 0;if(a)return{...Fx(a.moduleFileToTry)?{moduleFileToTry:Hx(a.moduleFileToTry)+TG(a.moduleFileToTry,o)}:a,verbatimFromExports:!0};if(n.exports)return{moduleFileToTry:e,blockedByExports:!0}}const s=n.typesVersions?vP(n.typesVersions):void 0;if(s){const n=mG(e.slice(c.length+1),s.paths,u,a,o);void 0===n?f=!0:p=go(c,n)}const h=n.typings||n.types||n.main||"index.js";if(vn(h)&&(!f||!tS(Jx(s.paths),h))&&Hx(xo(h,c,t))===Hx(t(p)))return{packageRootPath:c,moduleFileToTry:p}}else{const e=t(p.substring(d.packageRootIndex+1));if("index.d.ts"===e||"index.js"===e||"index.ts"===e||"index.tsx"===e)return{moduleFileToTry:p,packageRootPath:c}}return{moduleFileToTry:p}}}function yG(e,n,t){return ee(n,(n=>{const r=xG(e,n,t);return void 0!==r&&SG(r)?void 0:r}))}function vG(e,n,t,r){if(ro(e,[".json",".mjs",".cjs"]))return e;const i=Hx(e);if(e===i)return e;if(ro(e,[".d.mts",".mts",".d.cts",".cts"]))return i+EG(e,t);if(!ro(e,[".d.ts"])&&ro(e,[".ts"])&&rt(e,".d."))return bG(e);switch(n[0]){case 0:const a=nt(i,"/index");return r&&a!==i&&function(e,n){if(!e.fileExists)return;const t=J(Ox({allowJs:!0},[{extension:"node",isMixedContent:!1},{extension:"json",isMixedContent:!1,scriptKind:6}]));for(const r of t){const t=n+r;if(e.fileExists(t))return t}}(r,a)?i:a;case 1:return i;case 2:return i+EG(e,t);case 3:if(ND(e)){const r=n.findIndex((e=>0===e||1===e)),a=n.indexOf(2);return-1!==r&&r<a?i:i+EG(e,t)}return e;default:return Nt.assertNever(n[0])}}function bG(e){const n=lo(e);if(!et(e,".ts")||!rt(n,".d.")||ro(n,[".d.ts"]))return;const t=Wx(e,".ts"),r=t.substring(t.lastIndexOf("."));return t.substring(0,t.indexOf(".d."))+r}function EG(e,n){var t;return null!=(t=TG(e,n))?t:Nt.fail(`Extension ${Qx(e)} is unsupported:: FileName:: ${e}`)}function TG(e,n){const t=eS(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;case".d.mts":case".mts":case".mjs":return".mjs";case".d.cts":case".cts":case".cjs":return".cjs";default:return}}function xG(e,n,t){const r=Go(n,e,n,t,!1);return Ya(r)?void 0:r}function SG(e){return pt(e,"..")}var AG=E({"src/compiler/moduleSpecifiers.ts"(){Qq()}}),LG={};T(LG,{countPathComponents:()=>lG,forEachFileNameOfModule:()=>_G,getModuleSpecifier:()=>eG,getModuleSpecifiers:()=>aG,getModuleSpecifiersWithCacheInfo:()=>oG,getNodeModulesPackageName:()=>nG,tryGetJSExtensionForFile:()=>TG,tryGetModuleSpecifiersFromCache:()=>rG,tryGetRealFileNameForNonJsDeclarationFileName:()=>bG,updateModuleSpecifier:()=>ZF});var CG,kG,IG,wG,RG,NG,DG,OG,MG,PG,FG,GG,BG,UG,VG,jG=E({"src/compiler/_namespaces/ts.moduleSpecifiers.ts"(){AG()}});function HG(){this.flags=0}function KG(e){return e.id||(e.id=wG,wG++),e.id}function WG(e){return e.id||(e.id=IG,IG++),e.id}function qG(e,n){const t=BF(e);return 1===t||n&&2===t}function zG(e){var n,t,r,a,o,s=Rn((()=>{var n=new Map;return e.getSourceFiles().forEach((e=>{e.resolvedModules&&e.resolvedModules.forEach((({resolvedModule:e})=>{(null==e?void 0:e.packageId)&&n.set(e.packageId.name,".d.ts"===e.extension||!!n.get(e.packageId.name))}))})),n})),c=[],l=e=>{c.push(e)},d=new Set,u=D_.getSymbolConstructor(),_=D_.getTypeConstructor(),p=D_.getSignatureConstructor(),f=0,m=0,h=0,g=0,y=0,v=0,b=!1,E=op(),T=[1],x=e.getCompilerOptions(),L=BT(x),k=UT(x),I=!!x.experimentalDecorators,w=sx(x),R=$T(x),F=ax(x,"strictNullChecks"),U=ax(x,"strictFunctionTypes"),H=ax(x,"strictBindCallApply"),q=ax(x,"strictPropertyInitialization"),Y=ax(x,"noImplicitAny"),$=ax(x,"noImplicitThis"),Q=ax(x,"useUnknownInCatchVariables"),Z=!!x.keyofStringsOnly,ne=x.suppressExcessPropertyErrors?0:8192,te=x.exactOptionalPropertyTypes,ae=function(){const e=vN((function(e,n,r){return n?(n.stackIndex++,n.skip=!1,t(n,void 0),i(n,void 0)):n={checkMode:r,skip:!1,stackIndex:0,typeStack:[void 0,void 0]},Ah(e)&&Vh(e)?(n.skip=!0,i(n,uO(e.right,r)),n):(function(e){const{left:n,operatorToken:t,right:r}=e;60===t.kind&&(!qk(n)||56!==n.operatorToken.kind&&55!==n.operatorToken.kind||LG(n,Vo._0_and_1_operations_cannot_be_mixed_without_parentheses,us(n.operatorToken.kind),us(t.kind)),!qk(r)||56!==r.operatorToken.kind&&55!==r.operatorToken.kind||LG(r,Vo._0_and_1_operations_cannot_be_mixed_without_parentheses,us(r.operatorToken.kind),us(t.kind)))}(e),63!==e.operatorToken.kind||207!==e.left.kind&&206!==e.left.kind||(n.skip=!0,i(n,GD(e.left,uO(e.right,r),r,108===e.right.kind))),n)}),(function(e,t,r){if(!t.skip)return n(t,e)}),(function(e,n,a){if(!n.skip){const o=r(n);Nt.assertIsDefined(o),t(n,o),i(n,void 0);const s=e.kind;if(Ob(s)){let e=a.parent;for(;214===e.kind||Mb(e);)e=e.parent;(55===s||pI(e))&&kM(a.left,o,pI(e)?e.thenStatement:void 0),IM(o,a.left)}}}),(function(e,t,r){if(!t.skip)return n(t,e)}),(function(e,n){let a;if(n.skip)a=r(n);else{const t=function(e){return e.typeStack[e.stackIndex]}(n);Nt.assertIsDefined(t);const i=r(n);Nt.assertIsDefined(i),a=VD(e.left,e.operatorToken,e.right,t,i,e)}return n.skip=!1,t(n,void 0),i(n,void 0),n.stackIndex--,a}),(function(e,n,t){return i(e,n),e}));return(n,t)=>{const r=e(n,t);return Nt.assertIsDefined(r),r};function n(e,n){if(qk(n))return n;i(e,uO(n,e.checkMode))}function t(e,n){e.typeStack[e.stackIndex]=n}function r(e){return e.typeStack[e.stackIndex+1]}function i(e,n){e.typeStack[e.stackIndex+1]=n}}(),oe=function(){const n=e.getResolvedTypeReferenceDirectives();let t;return n&&(t=new Map,n.forEach((({resolvedTypeReferenceDirective:n},t,r)=>{if(!(null==n?void 0:n.resolvedFileName))return;const a=e.getSourceFile(n.resolvedFileName);a&&i(a,t,r)}))),{getReferencedExportContainer:pF,getReferencedImportDeclaration:fF,getReferencedDeclarationWithCollidingName:hF,isDeclarationWithCollidingName:gF,isValueAliasDeclaration:e=>{const n=Dc(e);return!n||yF(n)},hasGlobalName:VF,isReferencedAliasDeclaration:(e,n)=>{const t=Dc(e);return!t||TF(t,n)},getNodeCheckFlags:e=>{const n=Dc(e);return n?wF(n):0},isTopLevelValueImportEqualsWithEntityName:vF,isDeclarationVisible:Qs,isImplementationOfOverload:xF,isRequiredInitializedParameter:SF,isOptionalUninitializedParameterProperty:AF,isExpandoFunctionDeclaration:kF,getPropertiesOfContainerFunction:IF,createTypeOfDeclaration:FF,createReturnTypeOfSignatureDeclaration:GF,createTypeOfExpression:UF,createLiteralConstValue:qF,isSymbolAccessible:ws,isEntityNameVisible:Ps,getConstantValue:e=>{const n=Dc(e,DF);return n?OF(n):void 0},collectLinkedAliases:ec,getReferencedValueDeclaration:KF,getTypeReferenceSerializationKind:PF,isOptionalParameter:rp,moduleExportsSomeValue:_F,isArgumentsLocalBinding:uF,getExternalModuleFileFromDeclaration:e=>{const n=Dc(e,Df);return n&&XF(n)},getTypeReferenceDirectivesForEntityName:function(e){if(!t)return;let n;164===e.parent.kind?n=1160127:(n=790504,(79===e.kind&&IA(e)||208===e.kind&&!function(e){return e.parent&&230===e.parent.kind&&e.parent.parent&&294===e.parent.parent.kind}(e))&&(n=1160127));const i=No(e,n,!0);return i&&i!==on?r(i,n):void 0},getTypeReferenceDirectivesForSymbol:r,isLiteralConstDeclaration:WF,isLateBound:e=>{const n=Dc(e,Nu),t=n&&$o(n);return!!(t&&4096&DE(t))},getJsxFactoryEntity:zF,getJsxFragmentFactoryEntity:JF,getAllAccessorDeclarations(e){const n=175===(e=Dc(e,Ol)).kind?174:175,t=ip($o(e),n);return{firstAccessor:t&&t.pos<e.pos?t:e,secondAccessor:t&&t.pos<e.pos?e:t,setAccessor:175===e.kind?e:t,getAccessor:174===e.kind?e:t}},getSymbolOfExternalModuleSpecifier:e=>Mo(e,e,void 0),isBindingCapturedByNode:(e,n)=>{const t=Dc(e),r=Dc(n);return!!t&&!!r&&(kI(r)||kk(r))&&function(e,n){const t=Ra(e);return!!t&&G(t.capturedBlockScopeBindings,$o(n))}(t,r)},getDeclarationStatementsForSourceFile:(e,n,t,r)=>{const i=Dc(e);Nt.assert(i&&308===i.kind,"Non-sourcefile node passed into getDeclarationsForSourceFile");const a=$o(e);return a?a.exports?se.symbolTableToDeclarationStatements(a.exports,e,n,t,r):[]:e.locals?se.symbolTableToDeclarationStatements(e.locals,e,n,t,r):[]},isImportRequiredByAugmentation:function(e){const n=Ip(e);if(!n.symbol)return!1;const t=XF(e);if(!t)return!1;if(t===n)return!1;const r=zo(n.symbol);for(const e of Qe(r.values()))if(e.mergeId){const n=Yo(e);if(n.declarations)for(const e of n.declarations)if(Ip(e)===t)return!0}return!1}};function r(e,n){if(!t||!function(e){if(!e.declarations)return!1;let n=e;for(;;){const e=Zo(n);if(!e)break;n=e}if(n.valueDeclaration&&308===n.valueDeclaration.kind&&512&n.flags)return!1;for(const n of e.declarations){const e=Ip(n);if(t.has(e.path))return!0}return!1}(e))return;let r;for(const i of e.declarations)if(i.symbol&&i.symbol.flags&n){const e=Ip(i),n=t.get(e.path);if(!n)return;(r||(r=[])).push(n)}return r}function i(n,r,a){if(!t.has(n.path)){t.set(n.path,[r,a]);for(const{fileName:t,resolutionMode:a}of n.referencedFiles){const o=Qj(t,n.fileName),s=e.getSourceFile(o);s&&i(s,r,a||n.impliedNodeFormat)}}}}(),se=function(){return{typeToTypeNode:(e,n,r,i)=>t(n,r,i,(n=>a(e,n))),indexInfoToIndexSignatureDeclaration:(e,n,r,i)=>t(n,r,i,(n=>u(e,n,void 0))),signatureToSignatureDeclaration:(e,n,r,i,a)=>t(r,i,a,(t=>_(e,n,t))),symbolToEntityName:(e,n,r,i,a)=>t(r,i,a,(t=>O(e,t,n,!1))),symbolToExpression:(e,n,r,i,a)=>t(r,i,a,(t=>P(e,t,n))),symbolToTypeParameterDeclarations:(e,n,r,i)=>t(n,r,i,(n=>v(e,n))),symbolToParameterDeclaration:(e,n,r,i)=>t(n,r,i,(n=>m(e,n))),typeParameterToDeclaration:(e,n,r,i)=>t(n,r,i,(n=>f(e,n))),symbolTableToDeclarationStatements:(e,n,r,o,s)=>t(n,r,o,(n=>function(e,n,t){const r=te(pA.createPropertyDeclaration,171,!0),o=te(((e,n,t,r)=>pA.createPropertySignature(e,n,t,r)),170,!1),s=n.enclosingDeclaration;let c=[];const l=new Set,d=[],p=n;n={...p,usedSymbolNames:new Set(p.usedSymbolNames),remappedSymbolNames:new Map,tracker:void 0};const m={...p.tracker.inner,trackSymbol:(e,t,r)=>{var i;if(0===ws(e,t,r,!1).accessibility){const t=y(e,n,r);4&e.flags||R(t[0])}else if(null==(i=p.tracker.inner)?void 0:i.trackSymbol)return p.tracker.inner.trackSymbol(e,t,r);return!1}};n.tracker=new VG(n,m,p.tracker.moduleResolverHost),pp(e,((e,n)=>{de(e,Mc(n))}));let h=!t;const g=e.get("export=");return g&&e.size>1&&2097152&g.flags&&(e=op()).set("export=",g),I(e),v=function(e){const n=M(e,(e=>YI(e)&&!e.moduleSpecifier&&!e.assertClause&&!!e.exportClause&&$I(e.exportClause)));if(n>=0){const t=e[n],r=ee(t.exportClause.elements,(n=>{if(!n.propertyName){const t=j(_e(e),(t=>Vc(e[t],n.name)));if(S(t)&&N(t,(n=>HS(e[n])))){for(const n of t)e[n]=E(e[n]);return}}return n}));S(r)?e[n]=pA.updateExportDeclaration(t,t.modifiers,t.isTypeOnly,pA.updateNamedExports(t.exportClause,r),t.moduleSpecifier,t.assertClause):ot(e,n)}return e}(v=function(e){const n=j(e,(e=>YI(e)&&!e.moduleSpecifier&&!!e.exportClause&&$I(e.exportClause)));S(n)>1&&(e=[...j(e,(e=>!YI(e)||!!e.moduleSpecifier||!e.exportClause)),pA.createExportDeclaration(void 0,!1,pA.createNamedExports(X(n,(e=>Tn(e.exportClause,$I).elements))),void 0)]);const t=j(e,(e=>YI(e)&&!!e.moduleSpecifier&&!!e.exportClause&&$I(e.exportClause)));if(S(t)>1){const n=an(t,(e=>cC(e.moduleSpecifier)?">"+e.moduleSpecifier.text:">"));if(n.length!==t.length)for(const t of n)t.length>1&&(e=[...j(e,(e=>-1===t.indexOf(e))),pA.createExportDeclaration(void 0,!1,pA.createNamedExports(X(t,(e=>Tn(e.exportClause,$I).elements))),t[0].moduleSpecifier)])}return e}(v=function(e){const n=D(e,XI),t=M(e,MI);let r=-1!==t?e[t]:void 0;if(r&&n&&n.isExportEquals&&AC(n.expression)&&AC(r.name)&&Pc(r.name)===Pc(n.expression)&&r.body&&PI(r.body)){const i=j(e,(e=>!!(1&Tb(e)))),a=r.name;let o=r.body;if(S(i)&&(r=pA.updateModuleDeclaration(r,r.modifiers,r.name,o=pA.updateModuleBlock(o,pA.createNodeArray([...r.body.statements,pA.createExportDeclaration(void 0,!1,pA.createNamedExports(W(X(i,(e=>{return dI(n=e)?j(W(n.declarationList.declarations,Wc),b):j([Wc(n)],b);var n})),(e=>pA.createExportSpecifier(!1,void 0,e)))),void 0)]))),e=[...e.slice(0,t),r,...e.slice(t+1)]),!D(e,(e=>e!==r&&Vc(e,a)))){c=[];const t=!ce(o.statements,(e=>db(e,1)||XI(e)||YI(e)));A(o.statements,(e=>{F(e,t?1:0)})),e=[...j(e,(e=>e!==r&&e!==n)),...c]}}return e}(v=c))),s&&(Aw(s)&&tm(s)||MI(s))&&(!ce(v,yu)||!hu(v)&&ce(v,gu))&&v.push(vR(pA)),v;var v;function b(e){return!!e&&79===e.kind}function E(e){const n=-3&(1|Tb(e));return pA.updateModifiers(e,n)}function k(e){const n=-2&Tb(e);return pA.updateModifiers(e,n)}function I(e,n,t){n||d.push(new Map),e.forEach((e=>{w(e,!1,!!t)})),n||(d[d.length-1].forEach((e=>{w(e,!0,!!t)})),d.pop())}function w(e,c,d){const u=Yo(e);if(!l.has(WG(u))&&(l.add(WG(u)),!c||S(e.declarations)&&ce(e.declarations,(e=>!!Rc(e,(e=>e===s)))))){const l=n;n=function(e){const n={...e};return n.typeParameterNames&&(n.typeParameterNames=new Map(n.typeParameterNames)),n.typeParameterNamesByText&&(n.typeParameterNamesByText=new Set(n.typeParameterNamesByText)),n.typeParameterSymbolList&&(n.typeParameterSymbolList=new Set(n.typeParameterSymbolList)),n.tracker=new VG(n,n.tracker.inner,n.tracker.moduleResolverHost),n}(n),function(e,c,l){var d,u,_,p;const m=Mc(e.escapedName),h="default"===e.escapedName;if(c&&!(131072&n.flags)&&by(m)&&!h)return void(n.encounteredError=!0);let g=h&&!!(-113&e.flags||16&e.flags&&S(f_(bl(e))))&&!(2097152&e.flags),y=!g&&!c&&by(m)&&!h;(g||y)&&(c=!0);const v=(c?0:1)|(h&&!g?1024:0),b=1536&e.flags&&7&e.flags&&"export="!==e.escapedName,E=b&&ne(bl(e),e);if((8208&e.flags||E)&&B(bl(e),e,de(e,m),v),524288&e.flags&&function(e,r,i){var o;const s=td(e),c=W(wa(e).typeParameters,(e=>f(e,n))),l=null==(o=e.declarations)?void 0:o.find(Eg),d=wl(l?l.comment||l.parent.comment:void 0),u=n.flags;n.flags|=8388608;const _=n.enclosingDeclaration;n.enclosingDeclaration=l;const p=l&&l.typeExpression&&kw(l.typeExpression)&&$(n,l.typeExpression.type,R,t)||a(s,n);F($A(pA.createTypeAliasDeclaration(void 0,de(e,r),c,p),d?[{kind:3,text:"*\n * "+d.replace(/\n/g,"\n * ")+"\n ",pos:-1,end:-1,hasTrailingNewLine:!0}]:[]),i),n.flags=u,n.enclosingDeclaration=_}(e,m,v),7&e.flags&&"export="!==e.escapedName&&!(4194304&e.flags)&&!(32&e.flags)&&!(8192&e.flags)&&!E)if(l)Z(e)&&(y=!1,g=!1);else{const r=bl(e),i=de(e,m);if(16&e.flags||!ne(r,e)){const a=2&e.flags?$L(e)?2:1:(null==(d=e.parent)?void 0:d.valueDeclaration)&&Aw(null==(u=e.parent)?void 0:u.valueDeclaration)?2:void 0,o=!g&&4&e.flags?se(i,e):i;let l=e.declarations&&D(e.declarations,(e=>kI(e)));l&&II(l.parent)&&1===l.parent.declarations.length&&(l=l.parent.parent);const f=null==(_=e.declarations)?void 0:_.find(Rk);if(f&&qk(f.parent)&&AC(f.parent.right)&&(null==(p=r.symbol)?void 0:p.valueDeclaration)&&Aw(r.symbol.valueDeclaration)){const e=i===f.parent.right.escapedText?void 0:f.parent.right;F(pA.createExportDeclaration(void 0,!1,pA.createNamedExports([pA.createExportSpecifier(!1,e,i)])),0),n.tracker.trackSymbol(r.symbol,n.enclosingDeclaration,111551)}else F(MN(pA.createVariableStatement(void 0,pA.createVariableDeclarationList([pA.createVariableDeclaration(o,void 0,J(n,r,e,s,R,t))],a)),l),o!==i?-2&v:v),o===i||c||(F(pA.createExportDeclaration(void 0,!1,pA.createNamedExports([pA.createExportSpecifier(!1,o,i)])),0),y=!1,g=!1)}else B(r,e,i,v)}if(384&e.flags&&function(e,n,t){F(pA.createEnumDeclaration(pA.createModifiersFromModifierFlags(MD(e)?2048:0),de(e,n),W(j(f_(bl(e)),(e=>!!(8&e.flags))),(e=>{const n=e.declarations&&e.declarations[0]&&xw(e.declarations[0])?OF(e.declarations[0]):void 0;return pA.createEnumMember(Mc(e.escapedName),void 0===n?void 0:"string"==typeof n?pA.createStringLiteral(n):pA.createNumericLiteral(n))}))),t)}(e,m,v),32&e.flags&&(4&e.flags&&e.valueDeclaration&&qk(e.valueDeclaration.parent)&&$k(e.valueDeclaration.parent.right)?z(e,de(e,m),v):function(e,o,s){var c,l;const d=null==(c=e.declarations)?void 0:c.find(Dd),u=n.enclosingDeclaration;n.enclosingDeclaration=d||u;const _=W(Pl(e),(e=>f(e,n))),p=nd(e),m=Ql(p),h=d&&uy(d),g=h&&function(e){const r=ee(e,(e=>{const r=n.enclosingDeclaration;n.enclosingDeclaration=e;let i=e.expression;if(Hb(i)){if(AC(i)&&""===Pc(i))return o(void 0);let e;if(({introducesError:e,node:i}=Y(i,n,R)),e)return o(void 0)}return o(pA.createExpressionWithTypeArguments(i,W(e.typeArguments,(e=>$(n,e,R,t)||a(Lb(e),n)))));function o(e){return n.enclosingDeclaration=r,e}}));if(r.length===e.length)return r}(h)||ee(function(e){let n=i;if(e.symbol.declarations)for(const t of e.symbol.declarations){const e=uy(t);if(e)for(const t of e){const e=Lb(t);uc(e)||(n===i?n=[e]:n.push(e))}}return n}(p),oe),y=bl(e),v=!!(null==(l=y.symbol)?void 0:l.valueDeclaration)&&Dd(y.symbol.valueDeclaration),b=v?Xl(y):un,E=[...S(m)?[pA.createHeritageClause(94,W(m,(e=>function(e,t,r){const i=ae(e,111551);if(i)return i;const o=se(`${r}_base`);return F(pA.createVariableStatement(void 0,pA.createVariableDeclarationList([pA.createVariableDeclaration(o,void 0,a(t,n))],2)),0),pA.createExpressionWithTypeArguments(pA.createIdentifier(o),void 0)}(e,b,o))))]:[],...S(g)?[pA.createHeritageClause(117,g)]:[]],T=function(e,n,t){if(!S(n))return t;const r=new Map;A(t,(e=>{r.set(e.escapedName,e)}));for(const t of n){const n=f_($d(t,e.thisType));for(const e of n){const n=r.get(e.escapedName);n&&e.parent===n.parent&&r.delete(e.escapedName)}}return Qe(r.values())}(p,m,f_(p)),x=j(T,(e=>{const n=e.valueDeclaration;return!(!n||Hc(n)&&LC(n.name))})),L=ce(T,(e=>{const n=e.valueDeclaration;return!!n&&Hc(n)&&LC(n.name)}))?[pA.createPropertyDeclaration(void 0,pA.createPrivateIdentifier("#private"),void 0,void 0,void 0)]:i,C=X(x,(e=>r(e,!1,m[0]))),k=X(j(f_(y),(e=>!(4194304&e.flags||"prototype"===e.escapedName||q(e)))),(e=>r(e,!0,b))),I=!v&&e.valueDeclaration&&Ah(e.valueDeclaration)&&!ce(H_(y,1))?[pA.createConstructorDeclaration(pA.createModifiersFromModifierFlags(8),[],void 0)]:re(1,y,b,173),w=ie(p,m[0]);n.enclosingDeclaration=u,F(MN(pA.createClassDeclaration(void 0,o,_,E,[...w,...k,...I,...C,...L]),e.declarations&&j(e.declarations,(e=>RI(e)||$k(e)))[0]),s)}(e,de(e,m),v)),(1536&e.flags&&(!b||function(e){return N(G(e),(e=>!(111551&xo(Eo(e)))))}(e))||E)&&function(e,t,r){const a=rn(G(e),(n=>n.parent&&n.parent===e?"real":"merged")),o=a.get("real")||i,s=a.get("merged")||i;S(o)&&K(o,de(e,t),r,!!(67108880&e.flags));if(S(s)){const r=Ip(n.enclosingDeclaration),i=de(e,t),a=pA.createModuleBlock([pA.createExportDeclaration(void 0,!1,pA.createNamedExports(ee(j(s,(e=>"export="!==e.escapedName)),(t=>{var i,a;const o=Mc(t.escapedName),s=de(t,o),c=t.declarations&&Xa(t);if(r&&(c?r!==Ip(c):!ce(t.declarations,(e=>Ip(e)===r))))return void(null==(a=null==(i=n.tracker)?void 0:i.reportNonlocalAugmentation)||a.call(i,r,e,t));const l=c&&yo(c,!0);R(l||t);const d=l?de(l,Mc(l.escapedName)):s;return pA.createExportSpecifier(!1,o===d?void 0:d,o)}))))]);F(pA.createModuleDeclaration(void 0,pA.createIdentifier(i),a,16),0)}}(e,m,v),64&e.flags&&!(32&e.flags)&&function(e,t,r){const i=nd(e),a=W(Pl(e),(e=>f(e,n))),s=Ql(i),c=S(s)?Wg(s):void 0,l=X(f_(i),(e=>function(e,n){return o(e,!1,n)}(e,c))),d=re(0,i,c,176),u=re(1,i,c,177),_=ie(i,c),p=S(s)?[pA.createHeritageClause(94,ee(s,(e=>ae(e,111551))))]:void 0;F(pA.createInterfaceDeclaration(void 0,de(e,t),a,p,[..._,...u,...d,...l]),r)}(e,m,v),2097152&e.flags&&z(e,de(e,m),v),4&e.flags&&"export="===e.escapedName&&Z(e),8388608&e.flags&&e.declarations)for(const t of e.declarations){const e=Oo(t,t.moduleSpecifier);e&&F(pA.createExportDeclaration(void 0,t.isTypeOnly,void 0,pA.createStringLiteral(T(e,n))),0)}g?F(pA.createExportAssignment(void 0,!1,pA.createIdentifier(de(e,m))),0):y&&F(pA.createExportDeclaration(void 0,!1,pA.createNamedExports([pA.createExportSpecifier(!1,de(e,m),m)])),0)}(e,c,d),n.reportedDiagnostic&&(p.reportedDiagnostic=n.reportedDiagnostic),n=l}}function R(e){if(ce(e.declarations,Ky))return;Nt.assertIsDefined(d[d.length-1]),se(Mc(e.escapedName),e);const n=!!(2097152&e.flags)&&!ce(e.declarations,(e=>!!Rc(e,YI)||qI(e)||BI(e)&&!iw(e.moduleReference)));d[n?0:d.length-1].set(WG(e),e)}function F(e,t){if(PN(e)){let r=0;const i=n.enclosingDeclaration&&(Eg(n.enclosingDeclaration)?Ip(n.enclosingDeclaration):n.enclosingDeclaration);1&t&&i&&(function(e){return Aw(e)&&(tm(e)||rm(e))||ff(e)&&!bf(e)}(i)||MI(i))&&HS(e)&&(r|=1),!h||1&r||i&&16777216&i.flags||!(OI(e)||dI(e)||wI(e)||RI(e)||MI(e))||(r|=2),1024&t&&(RI(e)||NI(e)||wI(e))&&(r|=1024),r&&(e=pA.updateModifiers(e,r|Tb(e)))}c.push(e)}function G(e){return e.exports?j(Qe(e.exports.values()),q):[]}function B(e,r,i,a){const o=H_(e,0);for(const e of o)F(MN(_(e,259,n,{name:pA.createIdentifier(i),privateSymbolVisitor:R,bundledImports:t}),V(e)),a);1536&r.flags&&r.exports&&r.exports.size||K(j(f_(e),q),i,a,!0)}function V(e){if(e.declaration&&e.declaration.parent){if(qk(e.declaration.parent)&&5===Yh(e.declaration.parent))return e.declaration.parent;if(kI(e.declaration.parent)&&e.declaration.parent.parent)return e.declaration.parent.parent}return e.declaration}function K(e,t,r,a){if(S(e)){const o=rn(e,(e=>!S(e.declarations)||ce(e.declarations,(e=>Ip(e)===Ip(n.enclosingDeclaration)))?"local":"remote")).get("local")||i;let l=KN.createModuleDeclaration(void 0,pA.createIdentifier(t),pA.createModuleBlock([]),16);xS(l,s),l.locals=op(e),l.symbol=e[0].parent;const d=c;c=[];const u=h;h=!1;const _={...n,enclosingDeclaration:l},p=n;n=_,I(op(o),a,!0),n=p,h=u;const f=c;c=d;const m=W(f,(e=>XI(e)&&!e.isExportEquals&&AC(e.expression)?pA.createExportDeclaration(void 0,!1,pA.createNamedExports([pA.createExportSpecifier(!1,e.expression,pA.createIdentifier("default"))])):e)),g=N(m,(e=>db(e,1)))?W(m,k):m;l=pA.updateModuleDeclaration(l,l.modifiers,l.name,pA.createModuleBlock(g)),F(l,r)}}function q(e){return!!(2887656&e.flags)||!(4194304&e.flags||"prototype"===e.escapedName||e.valueDeclaration&&ub(e.valueDeclaration)&&Dd(e.valueDeclaration.parent))}function z(e,r,i){var a,o,s,c,l;const d=Xa(e);if(!d)return Nt.fail();const u=Yo(yo(d,!0));if(!u)return;let _=yf(u)&&C(e.declarations,(e=>{if(JI(e)||QI(e))return Pc(e.propertyName||e.name);if(qk(e)||XI(e)){const n=XI(e)?e.expression:e.right;if(Rk(n))return Pc(n.name)}if(Ya(e)){const n=Wc(e);if(n&&AC(n))return Pc(n)}}))||Mc(u.escapedName);"export="===_&&(YT(x)||x.allowSyntheticDefaultImports)&&(_="default");const p=de(u,_);switch(R(u),d.kind){case 205:if(257===(null==(o=null==(a=d.parent)?void 0:a.parent)?void 0:o.kind)){const e=T(u.parent||u,n),{propertyName:t}=d;F(pA.createImportDeclaration(void 0,pA.createImportClause(!1,void 0,pA.createNamedImports([pA.createImportSpecifier(!1,t&&AC(t)?pA.createIdentifier(Pc(t)):void 0,pA.createIdentifier(r))])),pA.createStringLiteral(e),void 0),0);break}Nt.failBadSyntaxKind((null==(s=d.parent)?void 0:s.parent)||d,"Unhandled binding element grandparent kind in declaration serialization");break;case 300:223===(null==(l=null==(c=d.parent)?void 0:c.parent)?void 0:l.kind)&&Q(Mc(e.escapedName),p);break;case 257:if(Rk(d.initializer)){const e=d.initializer,t=pA.createUniqueName(r),a=T(u.parent||u,n);F(pA.createImportEqualsDeclaration(void 0,!1,t,pA.createExternalModuleReference(pA.createStringLiteral(a))),0),F(pA.createImportEqualsDeclaration(void 0,!1,pA.createIdentifier(r),pA.createQualifiedName(t,e.name)),i);break}case 268:if("export="===u.escapedName&&ce(u.declarations,(e=>Aw(e)&&rm(e)))){Z(e);break}const f=!(512&u.flags||kI(d));F(pA.createImportEqualsDeclaration(void 0,!1,pA.createIdentifier(r),f?O(u,n,67108863,!1):pA.createExternalModuleReference(pA.createStringLiteral(T(u,n)))),f?i:0);break;case 267:F(pA.createNamespaceExportDeclaration(Pc(d.name)),0);break;case 270:{const e=T(u.parent||u,n),i=t?pA.createStringLiteral(e):d.parent.moduleSpecifier;F(pA.createImportDeclaration(void 0,pA.createImportClause(!1,pA.createIdentifier(r),void 0),i,d.parent.assertClause),0);break}case 271:{const e=T(u.parent||u,n),i=t?pA.createStringLiteral(e):d.parent.parent.moduleSpecifier;F(pA.createImportDeclaration(void 0,pA.createImportClause(!1,void 0,pA.createNamespaceImport(pA.createIdentifier(r))),i,d.parent.parent.assertClause),0);break}case 277:F(pA.createExportDeclaration(void 0,!1,pA.createNamespaceExport(pA.createIdentifier(r)),pA.createStringLiteral(T(u,n))),0);break;case 273:{const e=T(u.parent||u,n),i=t?pA.createStringLiteral(e):d.parent.parent.parent.moduleSpecifier;F(pA.createImportDeclaration(void 0,pA.createImportClause(!1,void 0,pA.createNamedImports([pA.createImportSpecifier(!1,r!==_?pA.createIdentifier(_):void 0,pA.createIdentifier(r))])),i,d.parent.parent.parent.assertClause),0);break}case 278:const m=d.parent.parent.moduleSpecifier;Q(Mc(e.escapedName),m?_:p,m&&t_(m)?pA.createStringLiteral(m.text):void 0);break;case 274:Z(e);break;case 223:case 208:case 209:"default"===e.escapedName||"export="===e.escapedName?Z(e):Q(r,p);break;default:return Nt.failBadSyntaxKind(d,"Unhandled alias declaration kind in symbol serializer!")}}function Q(e,n,t){F(pA.createExportDeclaration(void 0,!1,pA.createNamedExports([pA.createExportSpecifier(!1,e!==n?n:void 0,e)]),t),0)}function Z(e){if(4194304&e.flags)return!1;const r=Mc(e.escapedName),i="export="===r,a=i||"default"===r,o=e.declarations&&Xa(e),l=o&&yo(o,!0);if(l&&S(l.declarations)&&ce(l.declarations,(e=>Ip(e)===Ip(s)))){const t=o&&(XI(o)||qk(o)?sy(o):cy(o)),d=t&&Hb(t)?function(e){switch(e.kind){case 79:return e;case 163:do{e=e.left}while(79!==e.kind);return e;case 208:do{if(Xh(e.expression)&&!LC(e.name))return e.name;e=e.expression}while(79!==e.kind);return e}}(t):void 0,u=d&&No(d,67108863,!0,!0,s);(u||l)&&R(u||l);const _=n.tracker.disableTrackSymbol;if(n.tracker.disableTrackSymbol=!0,a)c.push(pA.createExportAssignment(void 0,i,P(l,n,67108863)));else if(d===t&&d)Q(r,Pc(d));else if(t&&$k(t))Q(r,de(l,Gc(l)));else{const t=se(r,e);F(pA.createImportEqualsDeclaration(void 0,!1,pA.createIdentifier(t),O(l,n,67108863,!1)),0),Q(r,t)}return n.tracker.disableTrackSymbol=_,!0}{const o=se(r,e),d=ES(bl(Yo(e)));return ne(d,e)?B(d,e,o,a?0:1):F(pA.createVariableStatement(void 0,pA.createVariableDeclarationList([pA.createVariableDeclaration(o,void 0,J(n,d,e,s,R,t))],2)),l&&4&l.flags&&"export="===l.escapedName?2:r===o?1:0),a?(c.push(pA.createExportAssignment(void 0,i,pA.createIdentifier(o))),!0):r!==o&&(Q(r,o),!0)}}function ne(e,t){const r=Ip(n.enclosingDeclaration);return 48&qE(e)&&!S(J_(e))&&!Ws(e)&&!(!S(j(f_(e),q))&&!S(H_(e,0)))&&!S(H_(e,1))&&!H(t,s)&&!(e.symbol&&ce(e.symbol.declarations,(e=>Ip(e)!==r)))&&!ce(f_(e),(e=>Bd(e.escapedName)))&&!ce(f_(e),(e=>ce(e.declarations,(e=>Ip(e)!==r))))&&N(f_(e),(e=>Ks(Gc(e),L)))}function te(e,r,i){return function(a,o,c){var l,d,u,p,f;const m=OE(a),h=!!(8&m);if(o&&2887656&a.flags)return[];if(4194304&a.flags||c&&V_(c,a.escapedName)&&xD(V_(c,a.escapedName))===xD(a)&&(16777216&a.flags)==(16777216&V_(c,a.escapedName).flags)&&AE(bl(a),lc(c,a.escapedName)))return[];const g=-513&m|(o?32:0),y=U(a,n),v=null==(l=a.declarations)?void 0:l.find(yt(qC,Od,kI,WC,qk,Rk));if(98304&a.flags&&i){const e=[];if(65536&a.flags&&e.push(MN(pA.createSetAccessorDeclaration(pA.createModifiersFromModifierFlags(g),y,[pA.createParameterDeclaration(void 0,void 0,"arg",void 0,h?void 0:J(n,bl(a),a,s,R,t))],void 0),(null==(d=a.declarations)?void 0:d.find(zu))||v)),32768&a.flags){const r=8&m;e.push(MN(pA.createGetAccessorDeclaration(pA.createModifiersFromModifierFlags(g),y,[],r?void 0:J(n,bl(a),a,s,R,t),void 0),(null==(u=a.declarations)?void 0:u.find(Ju))||v))}return e}if(98311&a.flags)return MN(e(pA.createModifiersFromModifierFlags((xD(a)?64:0)|g),y,16777216&a.flags?pA.createToken(57):void 0,h?void 0:J(n,vl(a),a,s,R,t),void 0),(null==(p=a.declarations)?void 0:p.find(yt(qC,kI)))||v);if(8208&a.flags){const t=H_(bl(a),0);if(8&g)return MN(e(pA.createModifiersFromModifierFlags((xD(a)?64:0)|g),y,16777216&a.flags?pA.createToken(57):void 0,void 0,void 0),(null==(f=a.declarations)?void 0:f.find(Cd))||t[0]&&t[0].declaration||a.declarations&&a.declarations[0]);const i=[];for(const e of t){const t=_(e,r,n,{name:y,questionToken:16777216&a.flags?pA.createToken(57):void 0,modifiers:g?pA.createModifiersFromModifierFlags(g):void 0}),o=e.declaration&&cg(e.declaration.parent)?e.declaration.parent:e.declaration;i.push(MN(t,o))}return i}return Nt.fail(`Unhandled class member kind! ${a.__debugFlags||a.flags}`)}}function re(e,t,r,i){const a=H_(t,e);if(1===e){if(!r&&N(a,(e=>0===S(e.parameters))))return[];if(r){const e=H_(r,1);if(!S(e)&&N(a,(e=>0===S(e.parameters))))return[];if(e.length===a.length){let n=!1;for(let t=0;t<e.length;t++)if(!ex(a[t],e[t],!1,!1,!0,LE)){n=!0;break}if(!n)return[]}}let e=0;for(const n of a)n.declaration&&(e|=vb(n.declaration,24));if(e)return[MN(pA.createConstructorDeclaration(pA.createModifiersFromModifierFlags(e),[],void 0),a[0].declaration)]}const o=[];for(const e of a){const t=_(e,i,n);o.push(MN(t,e.declaration))}return o}function ie(e,t){const r=[];for(const i of J_(e)){if(t){const e=X_(t,i.keyType);if(e&&AE(i.type,e.type))continue}r.push(u(i,n,void 0))}return r}function ae(e,t){let r,i;if(e.target&&Cs(e.target.symbol,s,t)?(r=W(sf(e),(e=>a(e,n))),i=P(e.target.symbol,n,788968)):e.symbol&&Cs(e.symbol,s,t)&&(i=P(e.symbol,n,788968)),i)return pA.createExpressionWithTypeArguments(i,r)}function oe(e){return ae(e,788968)||(e.symbol?pA.createExpressionWithTypeArguments(P(e.symbol,n,788968),void 0):void 0)}function se(e,t){var r,i;const a=t?WG(t):void 0;if(a&&n.remappedSymbolNames.has(a))return n.remappedSymbolNames.get(a);t&&(e=le(t,e));let o=0;const s=e;for(;null==(r=n.usedSymbolNames)?void 0:r.has(e);)o++,e=`${s}_${o}`;return null==(i=n.usedSymbolNames)||i.add(e),a&&n.remappedSymbolNames.set(a,e),e}function le(e,t){if("default"===t||"__class"===t||"__function"===t){const r=n.flags;n.flags|=16777216;const i=$s(e,n);n.flags=r,t=i.length>0&&Ph(i.charCodeAt(0))?dv(i):i}return"default"===t?t="_default":"export="===t&&(t="_exports"),Ks(t,L)&&!by(t)?t:"_"+t.replace(/[^a-zA-Z0-9]/g,"_")}function de(e,t){const r=WG(e);return n.remappedSymbolNames.has(r)?n.remappedSymbolNames.get(r):(t=le(e,t),n.remappedSymbolNames.set(r,t),t)}}(e,n,s))),symbolToNode:(e,n,r,i,a)=>t(r,i,a,(t=>function(e,n,t){if(1073741824&n.flags){if(e.valueDeclaration){const n=Wc(e.valueDeclaration);if(n&&VC(n))return n}const r=wa(e).nameType;if(r&&9216&r.flags)return n.enclosingDeclaration=r.symbol.valueDeclaration,pA.createComputedPropertyName(P(r.symbol,n,t))}return P(e,n,t)}(e,t,n)))};function t(n,t,r,i){Nt.assert(void 0===n||0==(8&n.flags));const a=(null==r?void 0:r.trackSymbol)?r.moduleResolverHost:134217728&t?function(e){return{getCommonSourceDirectory:e.getCommonSourceDirectory?()=>e.getCommonSourceDirectory():()=>"",getCurrentDirectory:()=>e.getCurrentDirectory(),getSymlinkCache:dn(e,e.getSymlinkCache),getPackageJsonInfoCache:()=>{var n;return null==(n=e.getPackageJsonInfoCache)?void 0:n.call(e)},useCaseSensitiveFileNames:dn(e,e.useCaseSensitiveFileNames),redirectTargetsMap:e.redirectTargetsMap,getProjectReferenceRedirect:n=>e.getProjectReferenceRedirect(n),isSourceOfProjectReferenceRedirect:n=>e.isSourceOfProjectReferenceRedirect(n),fileExists:n=>e.fileExists(n),getFileIncludeReasons:()=>e.getFileIncludeReasons(),readFile:e.readFile?n=>e.readFile(n):void 0}}(e):void 0,o={enclosingDeclaration:n,flags:t||0,tracker:void 0,encounteredError:!1,reportedDiagnostic:!1,visitedTypes:void 0,symbolDepth:void 0,inferTypeParameters:void 0,approximateLength:0};o.tracker=new VG(o,r,a);const s=i(o);return o.truncating&&1&o.flags&&o.tracker.reportTruncationError(),o.encounteredError?void 0:s}function r(e){return e.truncating?e.truncating:e.truncating=e.approximateLength>(1&e.flags?l_:c_)}function a(e,t){const c=t.flags,f=function(e,t){var c,f;n&&n.throwIfCancellationRequested&&n.throwIfCancellationRequested();const m=8388608&t.flags;if(t.flags&=-8388609,!e)return 262144&t.flags?(t.approximateLength+=3,pA.createKeywordTypeNode(131)):void(t.encounteredError=!0);if(536870912&t.flags||(e=P_(e)),1&e.flags)return e.aliasSymbol?pA.createTypeReferenceNode(k(e.aliasSymbol),d(e.aliasTypeArguments,t)):e===hn?QA(pA.createKeywordTypeNode(131),3,"unresolved"):(t.approximateLength+=3,pA.createKeywordTypeNode(e===bn?139:131));if(2&e.flags)return pA.createKeywordTypeNode(157);if(4&e.flags)return t.approximateLength+=6,pA.createKeywordTypeNode(152);if(8&e.flags)return t.approximateLength+=6,pA.createKeywordTypeNode(148);if(64&e.flags)return t.approximateLength+=6,pA.createKeywordTypeNode(160);if(16&e.flags&&!e.aliasSymbol)return t.approximateLength+=7,pA.createKeywordTypeNode(134);if(1056&e.flags){if(8&e.symbol.flags){const n=Zo(e.symbol),r=I(n,t,788968);if(_d(n)===e)return r;const i=Gc(e.symbol);return Ks(i,0)?x(r,pA.createTypeReferenceNode(i,void 0)):xk(r)?(r.isTypeOf=!0,pA.createIndexedAccessTypeNode(r,pA.createLiteralTypeNode(pA.createStringLiteral(i)))):rk(r)?pA.createIndexedAccessTypeNode(pA.createTypeQueryNode(r.typeName),pA.createLiteralTypeNode(pA.createStringLiteral(i))):Nt.fail("Unhandled type node kind returned from `symbolToTypeNode`.")}return I(e.symbol,t,788968)}if(128&e.flags)return t.approximateLength+=e.value.length+2,pA.createLiteralTypeNode(GA(pA.createStringLiteral(e.value,!!(268435456&t.flags)),33554432));if(256&e.flags){const n=e.value;return t.approximateLength+=(""+n).length,pA.createLiteralTypeNode(n<0?pA.createPrefixUnaryExpression(40,pA.createNumericLiteral(-n)):pA.createNumericLiteral(n))}if(2048&e.flags)return t.approximateLength+=uS(e.value).length+1,pA.createLiteralTypeNode(pA.createBigIntLiteral(e.value));if(512&e.flags)return t.approximateLength+=e.intrinsicName.length,pA.createLiteralTypeNode("true"===e.intrinsicName?pA.createTrue():pA.createFalse());if(8192&e.flags){if(!(1048576&t.flags)){if(Ls(e.symbol,t.enclosingDeclaration))return t.approximateLength+=6,I(e.symbol,t,111551);t.tracker.reportInaccessibleUniqueSymbolError&&t.tracker.reportInaccessibleUniqueSymbolError()}return t.approximateLength+=13,pA.createTypeOperatorNode(156,pA.createKeywordTypeNode(153))}if(16384&e.flags)return t.approximateLength+=4,pA.createKeywordTypeNode(114);if(32768&e.flags)return t.approximateLength+=9,pA.createKeywordTypeNode(155);if(65536&e.flags)return t.approximateLength+=4,pA.createLiteralTypeNode(pA.createNull());if(131072&e.flags)return t.approximateLength+=5,pA.createKeywordTypeNode(144);if(4096&e.flags)return t.approximateLength+=6,pA.createKeywordTypeNode(153);if(67108864&e.flags)return t.approximateLength+=6,pA.createKeywordTypeNode(149);if(BS(e))return 4194304&t.flags&&(t.encounteredError||32768&t.flags||(t.encounteredError=!0),null==(f=(c=t.tracker).reportInaccessibleThisError)||f.call(c)),t.approximateLength+=4,pA.createThisTypeNode();if(!m&&e.aliasSymbol&&(16384&t.flags||As(e.aliasSymbol,t.enclosingDeclaration))){const n=d(e.aliasTypeArguments,t);return!fs(e.aliasSymbol.escapedName)||32&e.aliasSymbol.flags?1===S(n)&&e.aliasSymbol===zt.symbol?pA.createArrayTypeNode(n[0]):I(e.aliasSymbol,t,788968,n):pA.createTypeReferenceNode(pA.createIdentifier(""),n)}const h=qE(e);if(4&h)return Nt.assert(!!(524288&e.flags)),e.node?b(e,T):T(e);if(262144&e.flags||3&h){if(262144&e.flags&&G(t.inferTypeParameters,e)){let n;t.approximateLength+=Gc(e.symbol).length+6;const r=h_(e);if(r){const i=Jp(e,!0);i&&AE(r,i)||(t.approximateLength+=9,n=r&&a(r,t))}return pA.createInferTypeNode(p(e,t,n))}if(4&t.flags&&262144&e.flags&&!As(e.symbol,t.enclosingDeclaration)){const n=R(e,t);return t.approximateLength+=Pc(n).length,pA.createTypeReferenceNode(pA.createIdentifier(Pc(n)),void 0)}if(e.symbol)return I(e.symbol,t,788968);const n=(e===Ft||e===Gt)&&o&&o.symbol?(e===Gt?"sub-":"super-")+Gc(o.symbol):"?";return pA.createTypeReferenceNode(pA.createIdentifier(n),void 0)}if(1048576&e.flags&&e.origin&&(e=e.origin),3145728&e.flags){const n=1048576&e.flags?function(e){const n=[];let t=0;for(let r=0;r<e.length;r++){const i=e[r];if(t|=i.flags,!(98304&i.flags)){if(1568&i.flags){const t=512&i.flags?Hn:ad(i);if(1048576&t.flags){const i=t.types.length;if(r+i<=e.length&&tb(e[r+i-1])===tb(t.types[i-1])){n.push(t),r+=i-1;continue}}}n.push(i)}}return 65536&t&&n.push(wn),32768&t&&n.push(An),n||e}(e.types):e.types;if(1===S(n))return a(n[0],t);const r=d(n,t,!0);return r&&r.length>0?1048576&e.flags?pA.createUnionTypeNode(r):pA.createIntersectionTypeNode(r):void(t.encounteredError||262144&t.flags||(t.encounteredError=!0))}if(48&h)return Nt.assert(!!(524288&e.flags)),v(e);if(4194304&e.flags){const n=e.type;t.approximateLength+=6;const r=a(n,t);return pA.createTypeOperatorNode(141,r)}if(134217728&e.flags){const n=e.texts,r=e.types,i=pA.createTemplateHead(n[0]),o=pA.createNodeArray(W(r,((e,i)=>pA.createTemplateLiteralTypeSpan(a(e,t),(i<r.length-1?pA.createTemplateMiddle:pA.createTemplateTail)(n[i+1])))));return t.approximateLength+=2,pA.createTemplateLiteralType(i,o)}if(268435456&e.flags){const n=a(e.type,t);return I(e.symbol,t,788968,[n])}if(8388608&e.flags){const n=a(e.objectType,t),r=a(e.indexType,t);return t.approximateLength+=2,pA.createIndexedAccessTypeNode(n,r)}return 16777216&e.flags?b(e,(e=>function(e){const n=a(e.checkType,t);if(t.approximateLength+=15,4&t.flags&&e.root.isDistributive&&!(262144&e.checkType.flags)){const r=ps(va(262144,"T")),i=R(r,t),o=pA.createTypeReferenceNode(i);t.approximateLength+=37;const s=iE(e.root.checkType,r,e.mapper),c=t.inferTypeParameters;t.inferTypeParameters=e.root.inferTypeParameters;const l=a(hE(e.root.extendsType,s),t);t.inferTypeParameters=c;const d=g(hE(Lb(e.root.node.trueType),s)),u=g(hE(Lb(e.root.node.falseType),s));return pA.createConditionalTypeNode(n,pA.createInferTypeNode(pA.createTypeParameterDeclaration(void 0,pA.cloneNode(o.typeName))),pA.createConditionalTypeNode(pA.createTypeReferenceNode(pA.cloneNode(i)),a(e.checkType,t),pA.createConditionalTypeNode(o,l,d,u),pA.createKeywordTypeNode(144)),pA.createKeywordTypeNode(144))}const r=t.inferTypeParameters;t.inferTypeParameters=e.root.inferTypeParameters;const i=a(e.extendsType,t);t.inferTypeParameters=r;const o=g(Cv(e)),s=g(Iv(e));return pA.createConditionalTypeNode(n,i,o,s)}(e))):33554432&e.flags?a(e.baseType,t):Nt.fail("Should be unreachable.");function g(e){var n,r,i;return 1048576&e.flags?(null==(n=t.visitedTypes)?void 0:n.has(ig(e)))?(131072&t.flags||(t.encounteredError=!0,null==(i=null==(r=t.tracker)?void 0:r.reportCyclicStructureError)||i.call(r)),s(t)):b(e,(e=>a(e,t))):a(e,t)}function y(e){return Vu(e)&&!(262144&Hu(e).flags)}function v(e){var n,r;const i=e.id,a=e.symbol;if(a){const r=Ws(e)?788968:111551;if(gN(a.valueDeclaration))return I(a,t,r);if(32&a.flags&&!ul(a)&&(!(a.valueDeclaration&&Dd(a.valueDeclaration)&&2048&t.flags)||RI(a.valueDeclaration)&&0===ws(a,t.enclosingDeclaration,r,!1).accessibility)||896&a.flags||function(){var e;const n=!!(8192&a.flags)&&ce(a.declarations,(e=>ub(e))),r=!!(16&a.flags)&&(a.parent||A(a.declarations,(e=>308===e.parent.kind||265===e.parent.kind)));if(n||r)return(!!(4096&t.flags)||(null==(e=t.visitedTypes)?void 0:e.has(i)))&&(!(8&t.flags)||Ls(a,t.enclosingDeclaration))}())return I(a,t,r);if(null==(n=t.visitedTypes)?void 0:n.has(i)){const n=function(e){if(e.symbol&&2048&e.symbol.flags&&e.symbol.declarations){const n=qg(e.symbol.declarations[0].parent);if(DI(n))return $o(n)}}(e);return n?I(n,t,788968):s(t)}return b(e,E)}if(8388608&qE(e)){const n=e;if(ok(n.node)){const e=$(t,n.node);if(e)return e}return(null==(r=t.visitedTypes)?void 0:r.has(i))?s(t):b(e,E)}return E(e)}function b(e,n){var r,i;const a=e.id,o=16&qE(e)&&e.symbol&&32&e.symbol.flags,c=4&qE(e)&&e.node?"N"+KG(e.node):16777216&e.flags?"N"+KG(e.root.node):e.symbol?(o?"+":"")+WG(e.symbol):void 0;t.visitedTypes||(t.visitedTypes=new Set),c&&!t.symbolDepth&&(t.symbolDepth=new Map);const l=t.enclosingDeclaration&&Ra(t.enclosingDeclaration),d=`${ig(e)}|${t.flags}`;l&&(l.serializedTypes||(l.serializedTypes=new Map));const u=null==(r=null==l?void 0:l.serializedTypes)?void 0:r.get(d);if(u)return u.truncating&&(t.truncating=!0),t.approximateLength+=u.addedLength,function e(n){return zy(n)||Dc(n)!==n?MN(pA.cloneNode(_B(n,e,RV,h)),n):n}(u.node);let _;if(c){if(_=t.symbolDepth.get(c)||0,_>10)return s(t);t.symbolDepth.set(c,_+1)}t.visitedTypes.add(a);const p=t.approximateLength,f=n(e),m=t.approximateLength-p;return t.reportedDiagnostic||t.encounteredError||null==(i=null==l?void 0:l.serializedTypes)||i.set(d,{node:f,truncating:t.truncating,addedLength:m}),t.visitedTypes.delete(a),c&&t.symbolDepth.set(c,_),f;function h(e,n,t,r,i){return e&&0===e.length?MN(pA.createNodeArray(void 0,e.hasTrailingComma),e):rB(e,n,t,r,i)}}function E(e){if(n_(e)||e.containsError)return function(e){Nt.assert(!!(524288&e.flags));const n=e.declaration.readonlyToken?pA.createToken(e.declaration.readonlyToken.kind):void 0,r=e.declaration.questionToken?pA.createToken(e.declaration.questionToken.kind):void 0;let i,o;if(Vu(e)){if(y(e)&&4&t.flags){const e=R(ps(va(262144,"T")),t);o=pA.createTypeReferenceNode(e)}i=pA.createTypeOperatorNode(141,o||a(Hu(e),t))}else i=a(Pu(e),t);const s=p(Ou(e),t,i),c=e.declaration.nameType?a(Fu(e),t):void 0,l=a(Jx(Gu(e),!!(4&Wu(e))),t),d=pA.createMappedTypeNode(n,s,c,r,l,void 0);t.approximateLength+=10;const u=GA(d,1);if(y(e)&&4&t.flags){const n=hE(h_(Lb(e.declaration.typeParameter.constraint.type))||xn,e.mapper);return pA.createConditionalTypeNode(a(Hu(e),t),pA.createInferTypeNode(pA.createTypeParameterDeclaration(void 0,pA.cloneNode(o.typeName),2&n.flags?void 0:a(n,t))),u,pA.createKeywordTypeNode(144))}return u}(e);const n=d_(e);if(!n.properties.length&&!n.indexInfos.length){if(!n.callSignatures.length&&!n.constructSignatures.length)return t.approximateLength+=2,GA(pA.createTypeLiteralNode(void 0),1);if(1===n.callSignatures.length&&!n.constructSignatures.length)return _(n.callSignatures[0],181,t);if(1===n.constructSignatures.length&&!n.callSignatures.length)return _(n.constructSignatures[0],182,t)}const o=j(n.constructSignatures,(e=>!!(4&e.flags)));if(ce(o)){const e=W(o,Up);return n.callSignatures.length+(n.constructSignatures.length-o.length)+n.indexInfos.length+(2048&t.flags?V(n.properties,(e=>!(4194304&e.flags))):S(n.properties))&&e.push(function(e){if(0===e.constructSignatures.length)return e;if(e.objectTypeWithoutAbstractConstructSignatures)return e.objectTypeWithoutAbstractConstructSignatures;const n=j(e.constructSignatures,(e=>!(4&e.flags)));if(e.constructSignatures===n)return e;const t=ys(e.symbol,e.members,e.callSignatures,ce(n)?n:i,e.indexInfos);return e.objectTypeWithoutAbstractConstructSignatures=t,t.objectTypeWithoutAbstractConstructSignatures=t,t}(n)),a(Wg(e),t)}const c=t.flags;t.flags|=4194304;const d=function(e){if(r(t))return[pA.createPropertySignature(void 0,"...",void 0,void 0)];const n=[];for(const r of e.callSignatures)n.push(_(r,176,t));for(const r of e.constructSignatures)4&r.flags||n.push(_(r,177,t));for(const r of e.indexInfos)n.push(u(r,t,1024&e.objectFlags?s(t):void 0));const i=e.properties;if(!i)return n;let a=0;for(const e of i){if(a++,2048&t.flags){if(4194304&e.flags)continue;24&OE(e)&&t.tracker.reportPrivateInBaseOfClassExpression&&t.tracker.reportPrivateInBaseOfClassExpression(Mc(e.escapedName))}if(r(t)&&a+2<i.length-1){n.push(pA.createPropertySignature(void 0,`... ${i.length-a} more ...`,void 0,void 0)),l(i[i.length-1],t,n);break}l(e,t,n)}return n.length?n:void 0}(n);t.flags=c;const f=pA.createTypeLiteralNode(d);return t.approximateLength+=2,GA(f,1024&t.flags?0:1),f}function T(e){let n=sf(e);if(e.target===zt||e.target===Jt){if(2&t.flags){const r=a(n[0],t);return pA.createTypeReferenceNode(e.target===zt?"Array":"ReadonlyArray",[r])}const r=a(n[0],t),i=pA.createArrayTypeNode(r);return e.target===zt?i:pA.createTypeOperatorNode(146,i)}if(!(8&e.target.objectFlags)){if(2048&t.flags&&e.symbol.valueDeclaration&&Dd(e.symbol.valueDeclaration)&&!Ls(e.symbol,t.enclosingDeclaration))return v(e);{const r=e.target.outerTypeParameters;let a,o,s=0;if(r){const e=r.length;for(;s<e;){const i=s,o=Yp(r[s]);do{s++}while(s<e&&Yp(r[s])===o);if(!Ne(r,n,i,s)){const e=d(n.slice(i,s),t),r=t.flags;t.flags|=16;const c=I(o,t,788968,e);t.flags=r,a=a?x(a,c):c}}}if(n.length>0){const r=(e.target.typeParameters||i).length;o=d(n.slice(s,r),t)}const c=t.flags;t.flags|=16;const l=I(e.symbol,t,788968,o);return t.flags=c,a?x(a,l):l}}if(n=z(n,((n,t)=>Jx(n,!!(2&e.target.elementFlags[t])))),n.length>0){const r=lf(e),i=d(n.slice(0,r),t);if(i){if(e.target.labeledElementDeclarations)for(let n=0;n<i.length;n++){const t=e.target.elementFlags[n];i[n]=pA.createNamedTupleMember(12&t?pA.createToken(25):void 0,pA.createIdentifier(Mc(BN(e.target.labeledElementDeclarations[n]))),2&t?pA.createToken(57):void 0,4&t?pA.createArrayTypeNode(i[n]):i[n])}else for(let n=0;n<Math.min(r,i.length);n++){const t=e.target.elementFlags[n];i[n]=12&t?pA.createRestTypeNode(4&t?pA.createArrayTypeNode(i[n]):i[n]):2&t?pA.createOptionalTypeNode(i[n]):i[n]}const n=GA(pA.createTupleTypeNode(i),1);return e.target.readonly?pA.createTypeOperatorNode(146,n):n}}if(t.encounteredError||524288&t.flags){const n=GA(pA.createTupleTypeNode([]),1);return e.target.readonly?pA.createTypeOperatorNode(146,n):n}t.encounteredError=!0}function x(e,n){if(xk(e)){let t=e.typeArguments,r=e.qualifier;r&&(AC(r)?t!==hL(r)&&(r=mL(pA.cloneNode(r),t)):t!==hL(r.right)&&(r=pA.updateQualifiedName(r,r.left,mL(pA.cloneNode(r.right),t)))),t=n.typeArguments;const i=L(n);for(const e of i)r=r?pA.createQualifiedName(r,e):e;return pA.updateImportTypeNode(e,e.argument,e.assertions,r,t,e.isTypeOf)}{let t=e.typeArguments,r=e.typeName;AC(r)?t!==hL(r)&&(r=mL(pA.cloneNode(r),t)):t!==hL(r.right)&&(r=pA.updateQualifiedName(r,r.left,mL(pA.cloneNode(r.right),t))),t=n.typeArguments;const i=L(n);for(const e of i)r=pA.createQualifiedName(r,e);return pA.updateTypeReferenceNode(e,r,t)}}function L(e){let n=e.typeName;const t=[];for(;!AC(n);)t.unshift(n.right),n=n.left;return t.unshift(n),t}}(e,t);return t.flags=c,f}function s(e){return e.approximateLength+=3,1&e.flags?pA.createKeywordTypeNode(131):pA.createTypeReferenceNode(pA.createIdentifier("..."),void 0)}function c(e,n){var t;return!!(8192&DE(e))&&(G(n.reverseMappedStack,e)||(null==(t=n.reverseMappedStack)?void 0:t[0])&&!(16&qE(Ge(n.reverseMappedStack).links.propertyType)))}function l(e,n,t){var r;const i=!!(8192&DE(e)),a=c(e,n)?un:xl(e),o=n.enclosingDeclaration;if(n.enclosingDeclaration=void 0,n.tracker.canTrackSymbol&&Bd(e.escapedName))if(e.declarations){const t=Me(e.declarations);if(Ud(t))if(qk(t)){const e=Wc(t);e&&Nk(e)&&qb(e.argumentExpression)&&h(e.argumentExpression,o,n)}else h(t.name.expression,o,n)}else n.tracker.reportNonSerializableProperty(Fs(e));n.enclosingDeclaration=e.valueDeclaration||(null==(r=e.declarations)?void 0:r[0])||o;const l=U(e,n);n.enclosingDeclaration=o,n.approximateLength+=Gc(e).length+1;const d=16777216&e.flags?pA.createToken(57):void 0;if(8208&e.flags&&!u_(a).length&&!xD(e)){const e=H_(xL(a,(e=>!(32768&e.flags))),0);for(const r of e){const e=_(r,170,n,{name:l,questionToken:d});t.push(u(e))}}else{let r;c(e,n)?r=s(n):(i&&(n.reverseMappedStack||(n.reverseMappedStack=[]),n.reverseMappedStack.push(e)),r=a?J(n,a,e,o):pA.createKeywordTypeNode(131),i&&n.reverseMappedStack.pop());const _=xD(e)?[pA.createToken(146)]:void 0;_&&(n.approximateLength+=9);const p=pA.createPropertySignature(_,l,d,r);t.push(u(p))}function u(n){var t;if(ce(e.declarations,(e=>351===e.kind))){const r=wl((null==(t=e.declarations)?void 0:t.find((e=>351===e.kind))).comment);r&&$A(n,[{kind:3,text:"*\n * "+r.replace(/\n/g,"\n * ")+"\n ",pos:-1,end:-1,hasTrailingNewLine:!0}])}else e.valueDeclaration&&XA(n,e.valueDeclaration);return n}}function d(e,n,t){if(ce(e)){if(r(n)){if(!t)return[pA.createTypeReferenceNode("...",void 0)];if(e.length>2)return[a(e[0],n),pA.createTypeReferenceNode(`... ${e.length-2} more ...`,void 0),a(e[e.length-1],n)]}const i=64&n.flags?void 0:fn(),o=[];let s=0;for(const t of e){if(s++,r(n)&&s+2<e.length-1){o.push(pA.createTypeReferenceNode(`... ${e.length-s} more ...`,void 0));const t=a(e[e.length-1],n);t&&o.push(t);break}n.approximateLength+=2;const c=a(t,n);c&&(o.push(c),i&&hS(c)&&i.add(c.typeName.escapedText,[t,o.length-1]))}if(i){const e=n.flags;n.flags|=64,i.forEach((e=>{if(!gS(e,(([e],[n])=>function(e,n){return e===n||!!e.symbol&&e.symbol===n.symbol||!!e.aliasSymbol&&e.aliasSymbol===n.aliasSymbol}(e,n))))for(const[t,r]of e)o[r]=a(t,n)})),n.flags=e}return o}}function u(e,n,t){const r=Gf(e)||"x",i=a(e.keyType,n),o=pA.createParameterDeclaration(void 0,void 0,r,void 0,i,void 0);return t||(t=a(e.type||un,n)),e.type||2097152&n.flags||(n.encounteredError=!0),n.approximateLength+=r.length+4,pA.createIndexSignature(e.isReadonly?[pA.createToken(146)]:void 0,[o],t)}function _(e,n,t,r){var o,s,c,l,d;const u=256&t.flags;let _,p;u&&(t.flags&=-257),t.approximateLength+=3,32&t.flags&&e.target&&e.mapper&&e.target.typeParameters?p=e.target.typeParameters.map((n=>a(hE(n,e.mapper),t))):_=e.typeParameters&&e.typeParameters.map((e=>f(e,t)));const h=su(e,!0)[0];let g;if(t.enclosingDeclaration&&e.declaration&&e.declaration!==t.enclosingDeclaration&&!Ah(e.declaration)&&ce(h)){const e=Ra(t.enclosingDeclaration).fakeScopeForSignatureDeclaration?t.enclosingDeclaration:void 0;Nt.assertOptionalNode(e,lI);const n=null!=(o=null==e?void 0:e.locals)?o:op();let r;for(const e of h)n.has(e.escapedName)||(r=Te(r,e.escapedName),n.set(e.escapedName,e));if(r){let a=function(){A(r,(e=>n.delete(e)))};if(e)g=a;else{const e=KN.createBlock(i);Ra(e).fakeScopeForSignatureDeclaration=!0,e.locals=n;const r=t.enclosingDeclaration;xS(e,r),t.enclosingDeclaration=e,g=()=>{t.enclosingDeclaration=r,a()}}}}const y=(ce(h,(e=>e!==h[h.length-1]&&!!(32768&DE(e))))?e.parameters:h).map((e=>m(e,t,173===n,null==r?void 0:r.privateSymbolVisitor,null==r?void 0:r.bundledImports))),v=33554432&t.flags?void 0:function(e,n){if(e.thisParameter)return m(e.thisParameter,n);if(e.declaration&&Ah(e.declaration)){const t=gl(e.declaration);if(t&&t.typeExpression)return pA.createParameterDeclaration(void 0,void 0,"this",void 0,a(Lb(t.typeExpression),n))}}(e,t);let b;v&&y.unshift(v);const E=Tp(e);if(E){const e=2===E.kind||3===E.kind?pA.createToken(129):void 0,n=1===E.kind||3===E.kind?GA(pA.createIdentifier(E.parameterName),33554432):pA.createThisTypeNode(),r=E.type&&a(E.type,t);b=pA.createTypePredicateNode(e,n,r)}else{const n=Sp(e);!n||u&&dc(n)?u||(b=pA.createKeywordTypeNode(131)):b=function(e,n,t,r,i){if(!uc(n)&&e.enclosingDeclaration){const a=t.declaration&&Yv(t.declaration),o=q(e.enclosingDeclaration);if(Rc(a,(e=>e===o))&&a){const o=Lb(a);if((262144&o.flags&&o.isThisType?hE(o,t.mapper):o)===n&&K(a,n)){const n=$(e,a,r,i);if(n)return n}}}return a(n,e)}(t,n,e,null==r?void 0:r.privateSymbolVisitor,null==r?void 0:r.bundledImports)}let T=null==r?void 0:r.modifiers;if(182===n&&4&e.flags){const e=kb(T);T=pA.createModifiersFromModifierFlags(256|e)}const x=176===n?pA.createCallSignature(_,y,b):177===n?pA.createConstructSignature(_,y,b):170===n?pA.createMethodSignature(T,null!=(s=null==r?void 0:r.name)?s:pA.createIdentifier(""),null==r?void 0:r.questionToken,_,y,b):171===n?pA.createMethodDeclaration(T,void 0,null!=(c=null==r?void 0:r.name)?c:pA.createIdentifier(""),void 0,_,y,b,void 0):173===n?pA.createConstructorDeclaration(T,y,void 0):174===n?pA.createGetAccessorDeclaration(T,null!=(l=null==r?void 0:r.name)?l:pA.createIdentifier(""),y,b,void 0):175===n?pA.createSetAccessorDeclaration(T,null!=(d=null==r?void 0:r.name)?d:pA.createIdentifier(""),y,void 0):178===n?pA.createIndexSignature(T,y,b):320===n?pA.createJSDocFunctionType(y,b):181===n?pA.createFunctionTypeNode(_,y,null!=b?b:pA.createTypeReferenceNode(pA.createIdentifier(""))):182===n?pA.createConstructorTypeNode(T,_,y,null!=b?b:pA.createTypeReferenceNode(pA.createIdentifier(""))):259===n?pA.createFunctionDeclaration(T,void 0,(null==r?void 0:r.name)?Tn(r.name,AC):pA.createIdentifier(""),_,y,b,void 0):215===n?pA.createFunctionExpression(T,void 0,(null==r?void 0:r.name)?Tn(r.name,AC):pA.createIdentifier(""),_,y,b,pA.createBlock([])):216===n?pA.createArrowFunction(T,_,y,b,void 0,pA.createBlock([])):Nt.assertNever(n);return p&&(x.typeArguments=pA.createNodeArray(p)),null==g||g(),x}function p(e,n,t){const r=n.flags;n.flags&=-513;const i=pA.createModifiersFromModifierFlags(MT(e)),o=R(e,n),s=C_(e),c=s&&a(s,n);return n.flags=r,pA.createTypeParameterDeclaration(i,o,t,c)}function f(e,n,t=h_(e)){return p(e,n,t&&a(t,n))}function m(e,n,t,r,i){let a=ip(e,166);a||sp(e)||(a=ip(e,344));let o=bl(e);a&&SF(a)&&(o=Vx(o));const s=J(n,o,e,n.enclosingDeclaration,r,i),c=!(8192&n.flags)&&t&&a&&PN(a)?W(Jc(a),pA.cloneNode):void 0,l=a&&a_(a)||32768&DE(e)?pA.createToken(25):void 0,d=a&&a.name?79===a.name.kind?GA(pA.cloneNode(a.name),33554432):163===a.name.kind?GA(pA.cloneNode(a.name.right),33554432):function e(t){n.tracker.canTrackSymbol&&VC(t)&&Gd(t)&&h(t.expression,n.enclosingDeclaration,n);let r=_B(t,e,RV,void 0,e);return kk(r)&&(r=pA.updateBindingElement(r,r.dotDotDotToken,r.propertyName,r.name,void 0)),zy(r)||(r=pA.cloneNode(r)),GA(r,33554433)}(a.name):Gc(e),u=a&&rp(a)||16384&DE(e)?pA.createToken(57):void 0,_=pA.createParameterDeclaration(c,l,d,u,s,void 0);return n.approximateLength+=Gc(e).length+3,_}function h(e,n,t){if(!t.tracker.canTrackSymbol)return;const r=Kb(e),i=Fa(r,r.escapedText,1160127,void 0,void 0,!0);i&&t.tracker.trackSymbol(i,n,111551)}function g(e,n,t,r){return n.tracker.trackSymbol(e,n.enclosingDeclaration,t),y(e,n,t,r)}function y(e,n,t,r){let i;return 262144&e.flags||!(n.enclosingDeclaration||64&n.flags)||134217728&n.flags?i=[e]:(i=Nt.checkDefined(function e(t,i,a){let o,s=Ts(t,n.enclosingDeclaration,i,!!(128&n.flags));if(!s||Ss(s[0],n.enclosingDeclaration,1===s.length?i:Es(i))){const r=es(s?s[0]:t,n.enclosingDeclaration,i);if(S(r)){o=r.map((e=>ce(e.declarations,Os)?T(e,n):void 0));const a=r.map(((e,n)=>n));a.sort((function(e,n){const t=o[e],r=o[n];if(t&&r){const e=Za(r);return Za(t)===e?lG(t)-lG(r):e?-1:1}return 0}));const c=a.map((e=>r[e]));for(const n of c){const r=e(n,Es(i),!1);if(r){if(n.exports&&n.exports.get("export=")&&rs(n.exports.get("export="),t)){s=r;break}s=r.concat(s||[ts(n,t)||t]);break}}}}if(s)return s;if(a||!(6144&t.flags)){if(!a&&!r&&A(t.declarations,Os))return;return[t]}}(e,t,!0)),Nt.assert(i&&i.length>0)),i}function v(e,n){let t;return 524384&yP(e).flags&&(t=pA.createNodeArray(W(Pl(e),(e=>f(e,n))))),t}function b(e,n,t){var r;Nt.assert(e&&0<=n&&n<e.length);const i=e[n],a=WG(i);if(null==(r=t.typeParameterSymbolList)?void 0:r.has(a))return;let o;if((t.typeParameterSymbolList||(t.typeParameterSymbolList=new Set)).add(a),512&t.flags&&n<e.length-1){const r=i,a=e[n+1];if(1&DE(a)){const e=function(e){return de(Ml(e),Pl(e))}(2097152&r.flags?To(r):r);o=d(W(e,(e=>Ub(e,a.links.mapper))),t)}else o=v(i,t)}return o}function E(e){return bk(e.objectType)?E(e.objectType):e}function T(e,n,t){let r=ip(e,308);if(!r){const n=C(e.declarations,(n=>ns(n,e)));n&&(r=ip(n,308))}if(r&&void 0!==r.moduleName)return r.moduleName;if(!r){if(n.tracker.trackReferencedAmbientModule){const t=j(e.declarations,ff);if(S(t))for(const r of t)n.tracker.trackReferencedAmbientModule(r,e)}if(CG.test(e.escapedName))return e.escapedName.substring(1,e.escapedName.length-1)}if(!n.enclosingDeclaration||!n.tracker.moduleResolverHost)return CG.test(e.escapedName)?e.escapedName.substring(1,e.escapedName.length-1):Ip(xf(e)).fileName;const i=Ip(wc(n.enclosingDeclaration)),a=t||(null==i?void 0:i.impliedNodeFormat),o=RP(i.path,a),s=wa(e);let c=s.specifierCache&&s.specifierCache.get(o);if(!c){const r=!!kv(x),{moduleResolverHost:l}=n.tracker,d=r?{...x,baseUrl:l.getCommonSourceDirectory()}:x;c=Me(aG(e,ve,d,i,l,{importModuleSpecifierPreference:r?"non-relative":"project-relative",importModuleSpecifierEnding:r?"minimal":99===a?"js":void 0},{overrideImportMode:t})),null!=s.specifierCache||(s.specifierCache=new Map),s.specifierCache.set(o,c)}return c}function k(e){const n=pA.createIdentifier(Mc(e.escapedName));return e.parent?pA.createQualifiedName(k(e.parent),n):n}function I(e,n,t,r){var i,a,o,s;const c=g(e,n,t,!(16384&n.flags)),l=111551===t;if(ce(c[0].declarations,Os)){const e=c.length>1?u(c,c.length-1,1):void 0,t=r||b(c,0,n),d=Ip(wc(n.enclosingDeclaration)),_=wp(c[0]);let p,f;if(3!==jT(x)&&99!==jT(x)||99===(null==_?void 0:_.impliedNodeFormat)&&_.impliedNodeFormat!==(null==d?void 0:d.impliedNodeFormat)&&(p=T(c[0],n,99),f=pA.createImportTypeAssertionContainer(pA.createAssertClause(pA.createNodeArray([pA.createAssertEntry(pA.createStringLiteral("resolution-mode"),pA.createStringLiteral("import"))]))),null==(a=(i=n.tracker).reportImportTypeNodeResolutionModeOverride)||a.call(i)),p||(p=T(c[0],n)),!(67108864&n.flags)&&1!==jT(x)&&p.indexOf("/node_modules/")>=0){const e=p;if(3===jT(x)||99===jT(x)){const t=99===(null==d?void 0:d.impliedNodeFormat)?1:99;p=T(c[0],n,t),p.indexOf("/node_modules/")>=0?p=e:(f=pA.createImportTypeAssertionContainer(pA.createAssertClause(pA.createNodeArray([pA.createAssertEntry(pA.createStringLiteral("resolution-mode"),pA.createStringLiteral(99===t?"import":"require"))]))),null==(s=(o=n.tracker).reportImportTypeNodeResolutionModeOverride)||s.call(o))}f||(n.encounteredError=!0,n.tracker.reportLikelyUnsafeImportRequiredError&&n.tracker.reportLikelyUnsafeImportRequiredError(e))}const m=pA.createLiteralTypeNode(pA.createStringLiteral(p));if(n.tracker.trackExternalModuleSymbolOfImportTypeNode&&n.tracker.trackExternalModuleSymbolOfImportTypeNode(c[0]),n.approximateLength+=p.length+10,!e||Td(e))return e&&mL(AC(e)?e:e.right,void 0),pA.createImportTypeNode(m,f,e,t,l);{const n=E(e),r=n.objectType.typeName;return pA.createIndexedAccessTypeNode(pA.createImportTypeNode(m,f,r,t,l),n.indexType)}}const d=u(c,c.length-1,0);if(bk(d))return d;if(l)return pA.createTypeQueryNode(d);{const e=AC(d)?d:d.right,n=hL(e);return mL(e,void 0),pA.createTypeReferenceNode(d,n)}function u(e,t,i){const a=t===e.length-1?r:b(e,t,n),o=e[t],s=e[t-1];let c;if(0===t?(n.flags|=16777216,c=$s(o,n),n.approximateLength+=(c?c.length:0)+1,n.flags^=16777216):s&&qo(s)&&pp(qo(s),((e,n)=>{if(rs(e,o)&&!Bd(n)&&"export="!==n)return c=Mc(n),!0})),void 0===c){const r=C(o.declarations,Wc);if(r&&VC(r)&&Td(r.expression)){const n=u(e,t-1,i);return Td(n)?pA.createIndexedAccessTypeNode(pA.createParenthesizedType(pA.createTypeQueryNode(n)),pA.createTypeQueryNode(r.expression)):n}c=$s(o,n)}if(n.approximateLength+=c.length+1,!(16&n.flags)&&s&&Xd(s)&&Xd(s).get(o.escapedName)&&rs(Xd(s).get(o.escapedName),o)){const n=u(e,t-1,i);return bk(n)?pA.createIndexedAccessTypeNode(n,pA.createLiteralTypeNode(pA.createStringLiteral(c))):pA.createIndexedAccessTypeNode(pA.createTypeReferenceNode(n,a),pA.createLiteralTypeNode(pA.createStringLiteral(c)))}const l=GA(pA.createIdentifier(c),33554432);if(a&&mL(l,pA.createNodeArray(a)),l.symbol=o,t>i){const n=u(e,t-1,i);return Td(n)?pA.createQualifiedName(n,l):Nt.fail("Impossible construct - an export of an indexed access cannot be reachable")}return l}}function w(e,n,t){const r=Fa(n.enclosingDeclaration,e,788968,void 0,e,!1);return!(!r||262144&r.flags&&r===t.symbol)}function R(e,n){var t,r;if(4&n.flags&&n.typeParameterNames){const t=n.typeParameterNames.get(ig(e));if(t)return t}let i=O(e.symbol,n,788968,!0);if(!(79&i.kind))return pA.createIdentifier("(Missing type parameter)");if(4&n.flags){const a=i.escapedText;let o=(null==(t=n.typeParameterNamesByTextNextNameCount)?void 0:t.get(a))||0,s=a;for(;(null==(r=n.typeParameterNamesByText)?void 0:r.has(s))||w(s,n,e);)o++,s=`${a}_${o}`;if(s!==a){const e=hL(i);i=pA.createIdentifier(s),mL(i,e)}(n.typeParameterNamesByTextNextNameCount||(n.typeParameterNamesByTextNextNameCount=new Map)).set(a,o),(n.typeParameterNames||(n.typeParameterNames=new Map)).set(ig(e),i),(n.typeParameterNamesByText||(n.typeParameterNamesByText=new Set)).add(a)}return i}function O(e,n,t,r){const i=g(e,n,t);return!r||1===i.length||n.encounteredError||65536&n.flags||(n.encounteredError=!0),function e(t,r){const i=b(t,r,n),a=t[r];0===r&&(n.flags|=16777216);const o=$s(a,n);0===r&&(n.flags^=16777216);const s=GA(pA.createIdentifier(o),33554432);return i&&mL(s,pA.createNodeArray(i)),s.symbol=a,r>0?pA.createQualifiedName(e(t,r-1),s):s}(i,i.length-1)}function P(e,n,t){const r=g(e,n,t);return function e(t,r){const i=b(t,r,n),a=t[r];0===r&&(n.flags|=16777216);let o=$s(a,n);0===r&&(n.flags^=16777216);let s=o.charCodeAt(0);if(Ph(s)&&ce(a.declarations,Os))return pA.createStringLiteral(T(a,n));if(0===r||WS(o,L)){const n=GA(pA.createIdentifier(o),33554432);return i&&mL(n,pA.createNodeArray(i)),n.symbol=a,r>0?pA.createPropertyAccessExpression(e(t,r-1),n):n}{let n;if(91===s&&(o=o.substring(1,o.length-1),s=o.charCodeAt(0)),!Ph(s)||8&a.flags?""+ +o===o&&(n=pA.createNumericLiteral(+o)):n=pA.createStringLiteral(dv(o).replace(/\\./g,(e=>e.substring(1))),39===s),!n){const e=GA(pA.createIdentifier(o),33554432);i&&mL(e,pA.createNodeArray(i)),e.symbol=a,n=e}return pA.createElementAccessExpression(e(t,r-1),n)}}(r,r.length-1)}function F(e){const n=Wc(e);return!!n&&cC(n)}function B(e){const n=Wc(e);return!!(n&&cC(n)&&(n.singleQuote||!zy(n)&&pt(tf(n,!1),"'")))}function U(e,n){const t=!!S(e.declarations)&&N(e.declarations,F),r=!!S(e.declarations)&&N(e.declarations,B),i=function(e,n,t,r){const i=wa(e).nameType;if(i){if(384&i.flags){const e=""+i.value;return Ks(e,BT(x))||!r&&FS(e)?FS(e)&&pt(e,"-")?pA.createComputedPropertyName(pA.createNumericLiteral(+e)):GS(e,BT(x)):pA.createStringLiteral(e,!!t)}if(8192&i.flags)return pA.createComputedPropertyName(P(i.symbol,n,111551))}}(e,n,r,t);return i||GS(Mc(e.escapedName),BT(x),r,t)}function H(e,n){return e.declarations&&D(e.declarations,(e=>!(!Jv(e)||n&&!Rc(e,(e=>e===n)))))}function K(e,n){return!(4&qE(n))||!rk(e)||S(e.typeArguments)>=lp(n.target.typeParameters)}function q(e){return Ra(e).fakeScopeForSignatureDeclaration?e.parent:e}function J(e,n,t,r,i,o){if(!uc(n)&&r){const a=H(t,q(r));if(a&&!Cd(a)&&!$C(a)){const t=Jv(a);if(function(e,n,t){const r=Lb(e);return r===t||!(!HC(n)||!n.questionToken)&&YA(t,524288)===r}(t,a,n)&&K(t,n)){const n=$(e,t,i,o);if(n)return n}}}const s=e.flags;8192&n.flags&&n.symbol===t&&(!e.enclosingDeclaration||ce(t.declarations,(n=>Ip(n)===Ip(e.enclosingDeclaration))))&&(e.flags|=1048576);const c=a(n,e);return e.flags=s,c}function Y(e,n,t){let r=!1;const i=Kb(e);if(Ah(e)&&(zh(i)||Xh(i.parent)||UC(i.parent)&&Jh(i.parent.left)&&zh(i.parent.right)))return r=!0,{introducesError:r,node:e};const a=No(i,67108863,!0,!0);if(a&&(0!==ws(a,n.enclosingDeclaration,67108863,!1).accessibility?r=!0:(n.tracker.trackSymbol(a,n.enclosingDeclaration,67108863),null==t||t(a)),AC(e))){const t=_d(a),i=262144&a.flags&&!As(t.symbol,n.enclosingDeclaration)?R(t,n):pA.cloneNode(e);return i.symbol=a,{introducesError:r,node:GA(DA(i,e),33554432)}}return{introducesError:r,node:e}}function $(t,r,i,o){n&&n.throwIfCancellationRequested&&n.throwIfCancellationRequested();let s=!1;const c=Ip(r),l=tB(r,(function n(r){if(Ow(r)||322===r.kind)return pA.createKeywordTypeNode(131);if(Mw(r))return pA.createKeywordTypeNode(157);if(Pw(r))return pA.createUnionTypeNode([tB(r.type,n,jd),pA.createLiteralTypeNode(pA.createNull())]);if(Gw(r))return pA.createUnionTypeNode([tB(r.type,n,jd),pA.createKeywordTypeNode(155)]);if(Fw(r))return tB(r.type,n);if(Uw(r))return pA.createArrayTypeNode(tB(r.type,n,jd));if(Hw(r))return pA.createTypeLiteralNode(W(r.jsDocPropertyTags,(e=>{const i=AC(e.name)?e.name:e.name.right,o=lc(Lb(r),i.escapedText),s=o&&e.typeExpression&&Lb(e.typeExpression.type)!==o?a(o,t):void 0;return pA.createPropertySignature(void 0,i,e.isBracketed||e.typeExpression&&Gw(e.typeExpression.type)?pA.createToken(57):void 0,s||e.typeExpression&&tB(e.typeExpression.type,n,jd)||pA.createKeywordTypeNode(131))})));if(rk(r)&&AC(r.typeName)&&""===r.typeName.escapedText)return DA(pA.createKeywordTypeNode(131),r);if((Zk(r)||rk(r))&&Ih(r))return pA.createTypeLiteralNode([pA.createIndexSignature(void 0,[pA.createParameterDeclaration(void 0,void 0,"x",void 0,tB(r.typeArguments[0],n,jd))],tB(r.typeArguments[1],n,jd))]);if(Bw(r)){if(bg(r)){let e;return pA.createConstructorTypeNode(void 0,rB(r.typeParameters,n,jC),ee(r.parameters,((t,r)=>t.name&&AC(t.name)&&"new"===t.name.escapedText?void(e=t.type):pA.createParameterDeclaration(void 0,l(t),d(t,r),t.questionToken,tB(t.type,n,jd),void 0))),tB(e||r.type,n,jd)||pA.createKeywordTypeNode(131))}return pA.createFunctionTypeNode(rB(r.typeParameters,n,jC),W(r.parameters,((e,t)=>pA.createParameterDeclaration(void 0,l(e),d(e,t),e.questionToken,tB(e.type,n,jd),void 0))),tB(r.type,n,jd)||pA.createKeywordTypeNode(131))}if(rk(r)&&kh(r)&&(!K(r,Lb(r))||Uf(r)||on===Af(r,788968,!0)))return DA(a(Lb(r),t),r);if(um(r)){const i=Ra(r).resolvedSymbol;return!kh(r)||!i||(r.isTypeOf||788968&i.flags)&&S(r.typeArguments)>=lp(Pl(i))?pA.updateImportTypeNode(r,pA.updateLiteralTypeNode(r.argument,function(n,r){if(o){if(t.tracker&&t.tracker.moduleResolverHost){const r=XF(n);if(r){const n=vv({getCanonicalFileName:lt(!!e.useCaseSensitiveFileNames),getCurrentDirectory:()=>t.tracker.moduleResolverHost.getCurrentDirectory(),getCommonSourceDirectory:()=>t.tracker.moduleResolverHost.getCommonSourceDirectory()},r);return pA.createStringLiteral(n)}}}else if(t.tracker&&t.tracker.trackExternalModuleSymbolOfImportTypeNode){const e=Mo(r,r,void 0);e&&t.tracker.trackExternalModuleSymbolOfImportTypeNode(e)}return r}(r,r.argument.literal)),r.assertions,r.qualifier,rB(r.typeArguments,n,jd),r.isTypeOf):DA(a(Lb(r),t),r)}if(Td(r)||Hb(r)){const{introducesError:e,node:n}=Y(r,t,i);if(s=s||e,n!==r)return n}return c&&lk(r)&&bs(c,r.pos).line===bs(c,r.end).line&&GA(r,1),_B(r,n,RV);function l(e){return e.dotDotDotToken||(e.type&&Uw(e.type)?pA.createToken(25):void 0)}function d(e,n){return e.name&&AC(e.name)&&"this"===e.name.escapedText?"this":l(e)?"args":`arg${n}`}}),jd);if(!s)return l===r?MN(pA.cloneNode(r),r):l}}(),le=op(),ue=va(4,"undefined");ue.declarations=[];var fe=va(1536,"globalThis",8);fe.exports=le,fe.declarations=[],le.set(fe.escapedName,fe);var me,he=va(4,"arguments"),ge=va(4,"require"),ye=x.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules";const ve={getNodeCount:()=>We(e.getSourceFiles(),((e,n)=>e+n.nodeCount),0),getIdentifierCount:()=>We(e.getSourceFiles(),((e,n)=>e+n.identifierCount),0),getSymbolCount:()=>We(e.getSourceFiles(),((e,n)=>e+n.symbolCount),m),getTypeCount:()=>f,getInstantiationCount:()=>h,getRelationCacheSizes:()=>({assignable:Zi.size,identity:na.size,subtype:$i.size,strictSubtype:Qi.size}),isUndefinedSymbol:e=>e===ue,isArgumentsSymbol:e=>e===he,isUnknownSymbol:e=>e===on,getMergedSymbol:Yo,getDiagnostics:JP,getGlobalDiagnostics:function(){return XP(),Ji.getGlobalDiagnostics()},getRecursionIdentity:QT,getUnmatchedProperties:sA,getTypeOfSymbolAtLocation:(e,n)=>{const t=Dc(n);return t?function(e,n){if(e=is(e),(79===n.kind||80===n.kind)&&(Xb(n)&&(n=n.parent),mh(n)&&(!jg(n)||GE(n)))){const t=cO(n);if(is(Ra(n).resolvedSymbol)===e)return t}return Zg(n)&&zu(n.parent)&&sl(n.parent)?dl(n.parent.symbol):xl(e)}(e,t):mn},getTypeOfSymbol:bl,getSymbolsOfParameterPropertyDeclaration:(e,n)=>{const t=Dc(e,HC);return void 0===t?Nt.fail("Cannot get symbols of a synthetic parameter that cannot be resolved to a parse-tree node."):(Nt.assert(Ec(t,t.parent)),function(e,n){const t=e.parent,r=e.parent.parent,i=Da(t.locals,n,111551),a=Da(Xd(r.symbol),n,111551);return i&&a?[i,a]:Nt.fail("There should exist two symbols, one as property declaration and one as parameter declaration")}(t,Oc(n)))},getDeclaredTypeOfSymbol:_d,getPropertiesOfType:f_,getPropertyOfType:(e,n)=>V_(e,Oc(n)),getPrivateIdentifierPropertyOfType:(e,n,t)=>{const r=Dc(t);if(!r)return;const i=Lw(Oc(n),r);return i?Rw(e,i):void 0},getTypeOfPropertyOfType:(e,n)=>lc(e,Oc(n)),getIndexInfoOfType:(e,n)=>X_(e,0===n?Dn:On),getIndexInfosOfType:J_,getIndexInfosOfIndexSymbol:Wp,getSignaturesOfType:H_,getIndexTypeOfType:(e,n)=>Y_(e,0===n?Dn:On),getIndexType:e=>xy(e),getBaseTypes:Ql,getBaseTypeOfLiteralType:Lx,getWidenedType:ES,getTypeFromTypeNode:e=>{const n=Dc(e,jd);return n?Lb(n):mn},getParameterType:WN,getParameterIdentifierNameAtPosition:function(e,n){var t;if(320===(null==(t=e.declaration)?void 0:t.kind))return;const r=e.parameters.length-(QG(e)?1:0);if(n<r){const t=e.parameters[n];return VN(t)?[t.escapedName,!1]:void 0}const i=e.parameters[r]||on;if(!VN(i))return;const a=bl(i);if(Nx(a)){const e=a.target.labeledElementDeclarations,t=null==e?void 0:e[n-r],i=!!(null==t?void 0:t.dotDotDotToken);return t?[BN(t),i]:void 0}return n===r?[i.escapedName,!0]:void 0},getPromisedTypeOfPromise:OO,getAwaitedType:e=>UO(e),getReturnTypeOfSignature:Sp,isNullableType:nw,getNullableType:Ux,getNonNullableType:jx,getNonOptionalType:Kx,getTypeArguments:sf,typeToTypeNode:se.typeToTypeNode,indexInfoToIndexSignatureDeclaration:se.indexInfoToIndexSignatureDeclaration,signatureToSignatureDeclaration:se.signatureToSignatureDeclaration,symbolToEntityName:se.symbolToEntityName,symbolToExpression:se.symbolToExpression,symbolToNode:se.symbolToNode,symbolToTypeParameterDeclarations:se.symbolToTypeParameterDeclarations,symbolToParameterDeclaration:se.symbolToParameterDeclaration,typeParameterToDeclaration:se.typeParameterToDeclaration,getSymbolsInScope:(e,n)=>{const t=Dc(e);return t?function(e,n){if(33554432&e.flags)return[];const t=op();let r=!1;return function(){for(;e;){switch(Iu(e)&&e.locals&&!Na(e)&&a(e.locals,n),e.kind){case 308:if(!kD(e))break;case 264:o($o(e).exports,2623475&n);break;case 263:a($o(e).exports,8&n);break;case 228:e.name&&i(e.symbol,n);case 260:case 261:r||a(Xd($o(e)),788968&n);break;case 215:e.name&&i(e.symbol,n)}Rm(e)&&i(he,n),r=ub(e),e=e.parent}a(le,n)}(),t.delete("this"),np(t);function i(e,n){if(PE(e)&n){const n=e.escapedName;t.has(n)||t.set(n,e)}}function a(e,n){n&&e.forEach((e=>{i(e,n)}))}function o(e,n){n&&e.forEach((e=>{ip(e,278)||ip(e,277)||i(e,n)}))}}(t,n):[]},getSymbolAtLocation:e=>{const n=Dc(e);return n?rF(n,!0):void 0},getIndexInfosAtLocation:e=>{const n=Dc(e);return n?function(e){if(AC(e)&&Rk(e.parent)&&e.parent.name===e){const n=hy(e),t=cO(e.parent.expression);return X(1048576&t.flags?t.types:[t],(e=>j(J_(e),(e=>q_(n,e.keyType)))))}}(n):void 0},getShorthandAssignmentValueSymbol:e=>{const n=Dc(e);return n?function(e){if(e&&300===e.kind)return No(e.name,2208703)}(n):void 0},getExportSpecifierLocalTargetSymbol:e=>{const n=Dc(e,QI);return n?function(e){return QI(e)?e.parent.parent.moduleSpecifier?_o(e.parent.parent,e):No(e.propertyName||e.name,2998271):No(e,2998271)}(n):void 0},getExportSymbolOfSymbol:e=>Yo(e.exportSymbol||e),getTypeAtLocation:e=>{const n=Dc(e);return n?iF(n):mn},getTypeOfAssignmentPattern:e=>{const n=Dc(e,Wd);return n&&aF(n)||mn},getPropertySymbolOfDestructuringAssignment:e=>{const n=Dc(e,AC);return n?function(e){const n=aF(Tn(e.parent.parent,Wd));return n&&V_(n,e.escapedText)}(n):void 0},signatureToString:(e,n,t,r)=>Gs(e,Dc(n),t,r),typeToString:(e,n,t)=>Bs(e,Dc(n),t),symbolToString:(e,n,t,r)=>Fs(e,Dc(n),t,r),typePredicateToString:(e,n,t)=>qs(e,Dc(n),t),writeSignature:(e,n,t,r,i)=>Gs(e,Dc(n),t,r,i),writeType:(e,n,t,r)=>Bs(e,Dc(n),t,r),writeSymbol:(e,n,t,r,i)=>Fs(e,Dc(n),t,r,i),writeTypePredicate:(e,n,t,r)=>qs(e,Dc(n),t,r),getAugmentedPropertiesOfType:lF,getRootSymbols:function e(n){const t=function(e){if(6&DE(e))return ee(wa(e).containingType.types,(n=>V_(n,e.escapedName)));if(33554432&e.flags){const{links:{leftSpread:n,rightSpread:t,syntheticOrigin:r}}=e;return n?[n,t]:r?[r]:Et(function(e){let n,t=e;for(;t=wa(t).target;)n=t;return n}(e))}}(n);return t?X(t,e):[n]},getSymbolOfExpando:bN,getContextualType:(e,n)=>{const t=Dc(e,uu);if(t)return 4&n?xe(t,(()=>BC(t,n))):BC(t,n)},getContextualTypeForObjectLiteralElement:e=>{const n=Dc(e,Vd);return n?RC(n,void 0):void 0},getContextualTypeForArgumentAtIndex:(e,n)=>{const t=Dc(e,tu);return t&&SC(t,n)},getContextualTypeForJsxAttribute:e=>{const n=Dc(e,Uu);return n&&DC(n,void 0)},isContextSensitive:EE,getTypeOfPropertyOfContextualType:IC,getFullyQualifiedName:wo,getResolvedSignature:(e,n,t)=>Se(e,n,t,0),getResolvedSignatureForStringLiteralCompletions:(e,n,t)=>xe(n,(()=>Se(e,t,void 0,32))),getResolvedSignatureForSignatureHelp:(e,n,t)=>be(e,(()=>Se(e,n,t,16))),getExpandedParameters:su,hasEffectiveRestParameter:YN,containsArgumentsReference:gp,getConstantValue:e=>{const n=Dc(e,DF);return n?OF(n):void 0},isValidPropertyAccess:(e,n)=>{const t=Dc(e,eu);return!!t&&function(e,n){switch(e.kind){case 208:return mR(e,106===e.expression.kind,n,ES(uO(e.expression)));case 163:return mR(e,!1,n,ES(uO(e.left)));case 202:return mR(e,!1,n,Lb(e))}}(t,Oc(n))},isValidPropertyAccessForCompletions:(e,n,t)=>{const r=Dc(e,Rk);return!!r&&fR(r,n,t)},getSignatureFromDeclaration:e=>{const n=Dc(e,Ad);return n?up(n):void 0},isImplementationOfOverload:e=>{const n=Dc(e,Ad);return n?xF(n):void 0},getImmediateAliasedSymbol:Xk,getAliasedSymbol:To,getEmitResolver:function(e,n){return JP(e,n),oe},getExportsOfModule:Ho,getExportsAndPropertiesOfModule:function(e){const n=Ho(e),t=Go(e);if(t!==e){const e=bl(t);Wo(e)&&Ae(n,f_(e))}return n},forEachExportAndPropertyOfModule:function(e,n){zo(e).forEach(((e,t)=>{fs(t)||n(e,t)}));const t=Go(e);if(t!==e){const e=bl(t);Wo(e)&&function(e,t){3670016&(e=R_(e)).flags&&d_(e).members.forEach(((e,t)=>{hs(e,t)&&((e,t)=>{n(e,t)})(e,t)}))}(e)}},getSymbolWalker:YF((function(e){return Cp(e)||un}),Tp,Sp,Ql,d_,bl,kA,h_,Kb,sf),getAmbientModules:function(){return Ut||(Ut=[],le.forEach(((e,n)=>{CG.test(n)&&Ut.push(e)}))),Ut},getJsxIntrinsicTagNamesAt:function(e){const n=cI(UG.IntrinsicElements,e);return n?f_(n):i},isOptionalParameter:e=>{const n=Dc(e,HC);return!!n&&rp(n)},tryGetMemberInModuleExports:(e,n)=>Ko(Oc(e),n),tryGetMemberInModuleExportsAndProperties:(e,n)=>function(e,n){const t=Ko(e,n);if(t)return t;const r=Go(n);if(r===n)return;const i=bl(r);return Wo(i)?V_(i,e):void 0}(Oc(e),n),tryFindAmbientModule:e=>tp(e,!0),tryFindAmbientModuleWithoutAugmentations:e=>tp(e,!1),getApparentType:w_,getUnionType:Sg,isTypeAssignableTo:RE,createAnonymousType:ys,createSignature:Zd,createSymbol:va,createIndexInfo:Hp,getAnyType:()=>un,getStringType:()=>Dn,getNumberType:()=>On,createPromiseType:sD,createArrayType:dh,getElementTypeOfArrayType:mx,getBooleanType:()=>Hn,getFalseType:e=>e?Fn:Gn,getTrueType:e=>e?Bn:Vn,getVoidType:()=>Wn,getUndefinedType:()=>An,getNullType:()=>wn,getESSymbolType:()=>Kn,getNeverType:()=>qn,getOptionalType:()=>In,getPromiseType:()=>Fm(!1),getPromiseLikeType:()=>Gm(!1),getAsyncIterableType:()=>{const e=Um(!1);if(e!==kt)return e},isSymbolAccessible:ws,isArrayType:cx,isTupleType:Nx,isArrayLikeType:hx,isEmptyAnonymousObjectType:cT,isTypeInvalidDueToUnionDiscriminant:function(e,n){return n.properties.some((n=>{const t=n.name&&hy(n.name),r=t&&Fd(t)?qd(t):void 0,i=void 0===r?void 0:lc(e,r);return!!i&&Ax(i)&&!RE(iF(n),i)}))},getExactOptionalProperties:function(e){return f_(e).filter((e=>Xx(bl(e))))},getAllPossiblePropertiesOfTypes:function(e){const n=Sg(e);if(!(1048576&n.flags))return lF(n);const t=op();for(const r of e)for(const{escapedName:e}of lF(r))if(!t.has(e)){const r=N_(n,e);r&&t.set(e,r)}return Qe(t.values())},getSuggestedSymbolForNonexistentProperty:Qw,getSuggestionForNonexistentProperty:nR,getSuggestedSymbolForNonexistentJSXAttribute:Zw,getSuggestedSymbolForNonexistentSymbol:(e,n,t)=>tR(e,Oc(n),t),getSuggestionForNonexistentSymbol:(e,n,t)=>function(e,n,t){const r=tR(e,n,t);return r&&Gc(r)}(e,Oc(n),t),getSuggestedSymbolForNonexistentModule:rR,getSuggestionForNonexistentExport:function(e,n){const t=rR(e,n);return t&&Gc(t)},getSuggestedSymbolForNonexistentClassMember:$w,getBaseConstraintOfType:T_,getDefaultFromTypeParameter:e=>e&&262144&e.flags?C_(e):void 0,resolveName:(e,n,t,r)=>Fa(n,Oc(e),t,void 0,void 0,!1,r),getJsxNamespace:e=>Mc(sa(e)),getJsxFragmentFactory:e=>{const n=JF(e);return n&&Mc(Kb(n).escapedText)},getAccessibleSymbolChain:Ts,getTypePredicateOfSignature:Tp,resolveExternalModuleName:e=>{const n=Dc(e,uu);return n&&Oo(n,n,!0)},resolveExternalModuleSymbol:Go,tryGetThisTypeAt:(e,n,t)=>{const r=Dc(e);return r&&_C(r,n,t)},getTypeArgumentConstraint:e=>{const n=Dc(e,jd);return n&&function(e){const n=En(e.parent,e_);if(!n)return;const t=AO(n);if(!t)return;const r=h_(t[n.typeArguments.indexOf(e)]);return r&&hE(r,Fb(t,xO(n,t)))}(n)},getSuggestionDiagnostics:(t,r)=>{const a=Dc(t,Aw)||Nt.fail("Could not determine parsed source file.");if(cS(a,x,e))return i;let o;try{return n=r,YP(a),Nt.assert(!!(1&Ra(a).flags)),o=Ae(o,Xi.getDiagnostics(a.fileName)),tM(zP(a),((e,n,t)=>{kp(e)||qP(n,!!(16777216&e.flags))||(o||(o=[])).push({...t,category:2})})),o||i}finally{n=void 0}},runWithCancellationToken:(e,t)=>{try{return n=e,t(ve)}finally{n=void 0}},getLocalTypeParametersOfClassOrInterfaceOrTypeAlias:Pl,isDeclarationVisible:Qs,isPropertyAccessible:hR,getTypeOnlyAliasDeclaration:Lo,getMemberOverrideModifierStatus:function(e,n,t){if(!n.name)return 0;const r=$o(e),i=_d(r),a=$d(i),o=bl(r),s=ly(e)&&Ql(i),c=(null==s?void 0:s.length)?$d(Me(s),i.thisType):void 0;return hP(e,o,Xl(i),c,i,a,n.parent?pb(n):db(n,16384),fb(n),ub(n),!1,Gc(t))},isTypeParameterPossiblyReferenced:lE,typeHasCallOrConstructSignatures:dF};function be(e,n){const t=Rc(e,tu),r=t&&Ra(t).resolvedSignature;t&&(Ra(t).resolvedSignature=void 0);const i=n();return t&&(Ra(t).resolvedSignature=r),i}function xe(e,n){const t=Rc(e,tu);if(t){let n=e;do{Ra(n).skipDirectInference=!0,n=n.parent}while(n&&n!==t)}b=!0;const r=be(e,n);if(b=!1,t){let n=e;do{Ra(n).skipDirectInference=void 0,n=n.parent}while(n&&n!==t)}return r}function Se(e,n,t,r){const i=Dc(e,tu);me=t;const a=i?hN(i,n,r):void 0;return me=void 0,a}var ke=new Map,Ie=new Map,we=new Map,Re=new Map,Be=new Map,Ue=new Map,Ve=new Map,Ke=new Map,qe=new Map,ze=new Map,Je=new Map,Xe=new Map,Ye=new Map,Ze=new Map,en=[],nn=new Map,tn=new Set,on=va(4,"unknown"),sn=va(0,"__resolving__"),cn=new Map,ln=new Map,un=ds(1,"any"),_n=ds(1,"any",262144),pn=ds(1,"any"),mn=ds(1,"error"),hn=ds(1,"unresolved"),yn=ds(1,"any",65536),bn=ds(1,"intrinsic"),xn=ds(2,"unknown"),Sn=ds(2,"unknown"),An=ds(32768,"undefined"),Ln=F?An:ds(32768,"undefined",65536),Cn=ds(32768,"undefined"),kn=te?Cn:An,In=ds(32768,"undefined"),wn=ds(65536,"null"),Nn=F?wn:ds(65536,"null",65536),Dn=ds(4,"string"),On=ds(8,"number"),Mn=ds(64,"bigint"),Fn=ds(512,"false"),Gn=ds(512,"false"),Bn=ds(512,"true"),Vn=ds(512,"true");Bn.regularType=Vn,Bn.freshType=Bn,Vn.regularType=Vn,Vn.freshType=Bn,Fn.regularType=Gn,Fn.freshType=Fn,Gn.regularType=Gn,Gn.freshType=Fn;var jn,Hn=Sg([Gn,Vn]),Kn=ds(4096,"symbol"),Wn=ds(16384,"void"),qn=ds(131072,"never"),zn=ds(131072,"never",262144),Jn=ds(131072,"never"),Xn=ds(131072,"never"),Yn=ds(67108864,"object"),$n=Sg([Dn,On]),Zn=Sg([Dn,On,Kn]),nt=Z?Dn:Zn,tt=Sg([On,Mn]),it=Sg([Dn,On,Hn,Mn,wn,An]),at=Oy(["",""],[On]),st=Yb((e=>{return 262144&e.flags?!(n=e).constraint&&!zp(n)||n.constraint===wt?n:n.restrictiveInstantiation||(n.restrictiveInstantiation=ps(n.symbol),n.restrictiveInstantiation.constraint=wt,n.restrictiveInstantiation):e;var n}),(()=>"(restrictive mapper)")),ct=Yb((e=>262144&e.flags?pn:e),(()=>"(permissive mapper)")),dt=ds(131072,"never"),ut=Yb((e=>262144&e.flags?dt:e),(()=>"(unique literal mapper)")),mt=Yb((e=>(!jn||e!==Ot&&e!==Mt&&e!==Pt||jn(!0),e)),(()=>"(unmeasurable reporter)")),ht=Yb((e=>(!jn||e!==Ot&&e!==Mt&&e!==Pt||jn(!1),e)),(()=>"(unreliable reporter)")),bt=ys(void 0,E,i,i,i),Tt=ys(void 0,E,i,i,i);Tt.objectFlags|=2048;var St=va(2048,"__type");St.members=op();var At=ys(St,E,i,i,i),Lt=ys(void 0,E,i,i,i),Ct=F?Sg([An,wn,Lt]):xn,kt=ys(void 0,E,i,i,i);kt.instantiations=new Map;var It=ys(void 0,E,i,i,i);It.objectFlags|=262144;var wt=ys(void 0,E,i,i,i),Rt=ys(void 0,E,i,i,i),Dt=ys(void 0,E,i,i,i),Ot=ps(),Mt=ps();Mt.constraint=Ot;var Pt=ps(),Ft=ps(),Gt=ps();Gt.constraint=Ft;var Bt,Ut,Vt,jt,Ht,Kt,Wt,qt,zt,Jt,Xt,Yt,$t,Qt,Zt,er,nr,tr,rr,ir,ar,or,sr,cr,lr,dr,ur,_r,pr,fr,mr,hr,gr,yr,vr,br,Er,Tr,xr,Sr,Ar,Lr,Cr,wr,Rr,Nr,Dr,Or,Mr,Pr,Fr,Gr,Br,Ur,jr,Hr,Kr,Wr,qr,zr,Jr=cp(1,"<<unresolved>>",0,un),Xr=Zd(void 0,void 0,void 0,i,un,void 0,0,0),Yr=Zd(void 0,void 0,void 0,i,mn,void 0,0,0),$r=Zd(void 0,void 0,void 0,i,un,void 0,0,0),Qr=Zd(void 0,void 0,void 0,i,zn,void 0,0,0),Zr=Hp(On,Dn,!0),ei=new Map,ni={get yieldType(){return Nt.fail("Not supported")},get returnType(){return Nt.fail("Not supported")},get nextType(){return Nt.fail("Not supported")}},ti=PM(un,un,un),ri=PM(un,un,xn),ii=PM(qn,un,An),ai={iterableCacheKey:"iterationTypesOfAsyncIterable",iteratorCacheKey:"iterationTypesOfAsyncIterator",iteratorSymbolName:"asyncIterator",getGlobalIteratorType:function(e){return vr||(vr=mm("AsyncIterator",3,e))||kt},getGlobalIterableType:Um,getGlobalIterableIteratorType:function(e){return br||(br=mm("AsyncIterableIterator",1,e))||kt},getGlobalGeneratorType:function(e){return Er||(Er=mm("AsyncGenerator",3,e))||kt},resolveIterationType:UO,mustHaveANextMethodDiagnostic:Vo.An_async_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:Vo.The_0_property_of_an_async_iterator_must_be_a_method,mustHaveAValueDiagnostic:Vo.The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property},oi={iterableCacheKey:"iterationTypesOfIterable",iteratorCacheKey:"iterationTypesOfIterator",iteratorSymbolName:"iterator",getGlobalIteratorType:function(e){return pr||(pr=mm("Iterator",3,e))||kt},getGlobalIterableType:Vm,getGlobalIterableIteratorType:function(e){return fr||(fr=mm("IterableIterator",1,e))||kt},getGlobalGeneratorType:function(e){return mr||(mr=mm("Generator",3,e))||kt},resolveIterationType:(e,n)=>e,mustHaveANextMethodDiagnostic:Vo.An_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:Vo.The_0_property_of_an_iterator_must_be_a_method,mustHaveAValueDiagnostic:Vo.The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property},si=new Map,ci=!1,li=new Map,di=0,ui=0,_i=0,pi=!1,fi=0,mi=[],hi=[],gi=[],yi=0,vi=[],bi=[],Ei=0,Ti=ib(""),xi=ab(0),Si=ob({negative:!1,base10Value:"0"}),Ai=[],Li=[],Ci=[],ki=0,Ii=10,wi=[],Ri=[],Ni=[],Di=[],Oi=[],Mi=[],Pi=[],Fi=[],Gi=[],Bi=[],Ui=[],Vi=[],ji=[],Hi=[],Wi=[],qi=[],zi=[],Ji=tv(),Xi=tv(),Yi=Sg(Qe(OG.keys(),ib)),$i=new Map,Qi=new Map,Zi=new Map,ea=new Map,na=new Map,ta=new Map,ra=op();ra.set(ue.escapedName,ue);var ia=[[".mts",".mjs"],[".ts",".js"],[".cts",".cjs"],[".mjs",".mjs"],[".js",".js"],[".cjs",".cjs"],[".tsx",1===x.jsx?".jsx":".js"],[".jsx",".jsx"],[".json",".json"]];return function(){for(const n of e.getSourceFiles())HF(n,x);let n;Bt=new Map;for(const t of e.getSourceFiles())if(!t.redirectInfo){if(!tm(t)){const e=t.locals.get("globalThis");if(null==e?void 0:e.declarations)for(const n of e.declarations)Ji.add(Hf(n,Vo.Declaration_name_conflicts_with_built_in_global_identifier_0,"globalThis"));ka(le,t.locals)}t.jsGlobalAugmentations&&ka(le,t.jsGlobalAugmentations),t.patternAmbientModules&&t.patternAmbientModules.length&&(Vt=de(Vt,t.patternAmbientModules)),t.moduleAugmentations.length&&(n||(n=[])).push(t.moduleAugmentations),t.symbol&&t.symbol.globalExports&&t.symbol.globalExports.forEach(((e,n)=>{le.has(n)||le.set(n,e)}))}if(n)for(const e of n)for(const n of e)bf(n.parent)&&Ia(n);var t,r,a;if(t=le,r=ra,a=Vo.Declaration_name_conflicts_with_built_in_global_identifier_0,r.forEach(((e,n)=>{const r=t.get(n);r?A(r.declarations,function(e,n){return t=>Ji.add(Hf(t,n,e))}(Mc(n),a)):t.set(n,e)})),wa(ue).type=Ln,wa(he).type=mm("IArguments",0,!0),wa(on).type=mn,wa(fe).type=_s(16,fe),zt=mm("Array",1,!0),Ht=mm("Object",0,!0),Kt=mm("Function",0,!0),Wt=H&&mm("CallableFunction",0,!0)||Kt,qt=H&&mm("NewableFunction",0,!0)||Kt,Xt=mm("String",0,!0),Yt=mm("Number",0,!0),$t=mm("Boolean",0,!0),Qt=mm("RegExp",0,!0),er=dh(un),(nr=dh(_n))===bt&&(nr=ys(void 0,E,i,i,i)),Jt=jm("ReadonlyArray",1)||zt,tr=Jt?qm(Jt,[un]):er,Zt=jm("ThisType",1),n)for(const e of n)for(const n of e)bf(n.parent)||Ia(n);Bt.forEach((({firstFile:e,secondFile:n,conflictingSymbols:t})=>{if(t.size<8)t.forEach((({isBlockScoped:e,firstFileLocations:n,secondFileLocations:t},r)=>{const i=e?Vo.Cannot_redeclare_block_scoped_variable_0:Vo.Duplicate_identifier_0;for(const e of n)Ca(e,i,r,t);for(const e of t)Ca(e,i,r,n)}));else{const r=Qe(t.keys()).join(", ");Ji.add(iS(Hf(e,Vo.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,r),Hf(n,Vo.Conflicts_are_in_this_file))),Ji.add(iS(Hf(n,Vo.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,r),Hf(e,Vo.Conflicts_are_in_this_file)))}})),Bt=void 0}(),ve;function aa(e){return e?Ze.get(e):void 0}function oa(e,n){return e&&Ze.set(e,n),n}function sa(e){if(e){const n=Ip(e);if(n)if(dw(e)){if(n.localJsxFragmentNamespace)return n.localJsxFragmentNamespace;const t=n.pragmas.get("jsxfrag");if(t){const e=gn(t)?t[0]:t;if(n.localJsxFragmentFactory=LD(e.arguments.factory,L),tB(n.localJsxFragmentFactory,la,Td),n.localJsxFragmentFactory)return n.localJsxFragmentNamespace=Kb(n.localJsxFragmentFactory).escapedText}const r=JF(e);if(r)return n.localJsxFragmentFactory=r,n.localJsxFragmentNamespace=Kb(r).escapedText}else{const e=ca(n);if(e)return n.localJsxNamespace=e}}return qr||(qr="React",x.jsxFactory?(tB(zr=LD(x.jsxFactory,L),la),zr&&(qr=Kb(zr).escapedText)):x.reactNamespace&&(qr=Oc(x.reactNamespace))),zr||(zr=pA.createQualifiedName(pA.createIdentifier(Mc(qr)),"createElement")),qr}function ca(e){if(e.localJsxNamespace)return e.localJsxNamespace;const n=e.pragmas.get("jsx");if(n){const t=gn(n)?n[0]:n;if(e.localJsxFactory=LD(t.arguments.factory,L),tB(e.localJsxFactory,la,Td),e.localJsxFactory)return e.localJsxNamespace=Kb(e.localJsxFactory).escapedText}}function la(e){return bS(e,-1,-1),_B(e,la,RV)}function da(e,n,t,r,i,a,o){const s=_a(n,t,r,i,a,o);return s.skippedOn=e,s}function ua(e,n,t,r,i,a){return e?Hf(e,n,t,r,i,a):LT(n,t,r,i,a)}function _a(e,n,t,r,i,a){const o=ua(e,n,t,r,i,a);return Ji.add(o),o}function pa(e,n){e?Ji.add(n):Xi.add({...n,category:2})}function fa(e,n,t,r,i,a,o){if(n.pos<0||n.end<0){if(!e)return;const s=Ip(n);pa(e,"message"in t?ST(s,0,0,t,r,i,a,o):Yf(s,t))}else pa(e,"message"in t?Hf(n,t,r,i,a,o):qf(Ip(n),n,t))}function ma(e,n,t,r,i,a,o){const s=_a(e,t,r,i,a,o);return n&&iS(s,Hf(e,Vo.Did_you_forget_to_use_await)),s}function ha(e,n){const t=Array.isArray(e)?A(e,fl):fl(e);return t&&iS(n,Hf(t,Vo.The_declaration_was_marked_as_deprecated_here)),Xi.add(n),n}function ga(e){if(S(e.declarations)>1){const n=Zo(e);if(n&&64&n.flags)return ce(e.declarations,(e=>!!(268435456&kc(e))))}return!!(268435456&HI(e))}function ya(e,n,t){return ha(n,Hf(e,Vo._0_is_deprecated,t))}function va(e,n,t){m++;const r=new u(33554432|e,n);return r.links=new BG,r.links.checkFlags=t||0,r}function ba(e,n){const t=va(1,e);return t.links.type=n,t}function Ea(e,n){const t=va(4,e);return t.links.type=n,t}function Ta(e){let 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 xa(e,n){n.mergeId||(n.mergeId=RG,RG++),wi[n.mergeId]=e}function Sa(e){const n=va(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 Map(e.members)),e.exports&&(n.exports=new Map(e.exports)),xa(n,e),n}function Aa(e,n,t=!1){if(!(e.flags&Ta(n.flags))||67108864&(n.flags|e.flags)){if(n===e)return e;if(!(33554432&e.flags)){const t=Eo(e);if(t===on)return n;e=Sa(t)}512&n.flags&&512&e.flags&&e.constEnumOnlyModule&&!n.constEnumOnlyModule&&(e.constEnumOnlyModule=!1),e.flags|=n.flags,n.valueDeclaration&&dg(e,n.valueDeclaration),Ae(e.declarations,n.declarations),n.members&&(e.members||(e.members=op()),ka(e.members,n.members,t)),n.exports&&(e.exports||(e.exports=op()),ka(e.exports,n.exports,t)),t||xa(e,n)}else if(1024&e.flags)e!==fe&&_a(n.declarations&&Wc(n.declarations[0]),Vo.Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity,Fs(e));else{const t=!!(384&e.flags||384&n.flags),i=!!(2&e.flags||2&n.flags),a=t?Vo.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:i?Vo.Cannot_redeclare_block_scoped_variable_0:Vo.Duplicate_identifier_0,o=n.declarations&&Ip(n.declarations[0]),s=e.declarations&&Ip(e.declarations[0]),c=Rp(o,x.checkJs),l=Rp(s,x.checkJs),d=Fs(n);if(o&&s&&Bt&&!t&&o!==s){const t=-1===Ro(o.path,s.path)?o:s,a=t===o?s:o,u=re(Bt,`${t.path}|${a.path}`,(()=>({firstFile:t,secondFile:a,conflictingSymbols:new Map}))),_=re(u.conflictingSymbols,d,(()=>({isBlockScoped:i,firstFileLocations:[],secondFileLocations:[]})));c||r(_.firstFileLocations,n),l||r(_.secondFileLocations,e)}else c||La(n,a,d,e),l||La(e,a,d,n)}return e;function r(e,n){if(n.declarations)for(const t of n.declarations)Le(e,t)}}function La(e,n,t,r){A(e.declarations,(e=>{Ca(e,n,t,r.declarations)}))}function Ca(e,n,t,r){const a=(jh(e,!1)?Kh(e):Wc(e))||e,o=function(e,n,t,r,i,a){const o=e?Hf(e,n,t,r,i,a):LT(n,t,r,i,a);return Ji.lookup(o)||(Ji.add(o),o)}(a,n,t);for(const e of r||i){const n=(jh(e,!1)?Kh(e):Wc(e))||e;if(n===a)continue;o.relatedInformation=o.relatedInformation||[];const r=Hf(n,Vo._0_was_also_declared_here,t),i=Hf(n,Vo.and_here);S(o.relatedInformation)>=5||ce(o.relatedInformation,(e=>0===RT(e,i)||0===RT(e,r)))||iS(o,S(o.relatedInformation)?i:r)}}function ka(e,n,t=!1){n.forEach(((n,r)=>{const i=e.get(r);e.set(r,i?Aa(i,n,t):Yo(n))}))}function Ia(e){var n,t,r;const i=e.parent;if((null==(n=i.symbol.declarations)?void 0:n[0])===i)if(bf(i))ka(le,i.symbol.exports);else{let n=Mo(e,e,16777216&e.parent.parent.flags?void 0:Vo.Invalid_module_name_in_augmentation_module_0_cannot_be_found,!0);if(!n)return;if(n=Go(n),1920&n.flags)if(ce(Vt,(e=>n===e.symbol))){const t=Aa(i.symbol,n,!0);jt||(jt=new Map),jt.set(e.text,t)}else{if((null==(t=n.exports)?void 0:t.get("__export"))&&(null==(r=i.symbol.exports)?void 0:r.size)){const e=Jd(n,"resolvedExports");for(const[t,r]of Qe(i.symbol.exports.entries()))e.has(t)&&!n.exports.has(t)&&Aa(e.get(t),r)}Aa(n,i.symbol)}else _a(e,Vo.Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity,e.text)}else Nt.assert(i.symbol.declarations.length>1)}function wa(e){var n;if(33554432&e.flags)return e.links;const t=WG(e);return null!=(n=Ri[t])?n:Ri[t]=new BG}function Ra(e){const n=KG(e);return Ni[n]||(Ni[n]=new HG)}function Na(e){return 308===e.kind&&!tm(e)}function Da(e,n,t){if(t){const r=Yo(e.get(n));if(r){if(Nt.assert(0==(1&DE(r)),"Should never get an instantiated symbol here."),r.flags&t)return r;if(2097152&r.flags&&xo(r)&t)return r}}}function Oa(n,t){const r=Ip(n),i=Ip(t),a=Mf(n);if(r!==i){if(k&&(r.externalModuleIndicator||i.externalModuleIndicator)||!kv(x)||IA(t)||16777216&n.flags)return!0;if(o(t,n))return!0;const a=e.getSourceFiles();return a.indexOf(r)<=a.indexOf(i)}if(n.pos<=t.pos&&(!qC(n)||!th(t.parent)||n.initializer||n.exclamationToken)){if(205===n.kind){const e=my(t,205);return e?Rc(e,kk)!==Rc(n,kk)||n.pos<e.pos:Oa(my(n,257),t)}return 257===n.kind?!function(e,n){switch(e.parent.parent.kind){case 240:case 245:case 247:if(za(n,e,a))return!0}const t=e.parent.parent;return vu(t)&&za(n,t.expression,a)}(n,t):RI(n)?!Rc(t,(e=>VC(e)&&e.parent.parent===n)):qC(n)?!s(n,t,!1):!Ec(n,n.parent)||!(99===BT(x)&&w&&Wm(n)===Wm(t)&&o(t,n))}return!(!(278===t.parent.kind||274===t.parent.kind&&t.parent.isExportEquals)&&(274!==t.kind||!t.isExportEquals)&&!(8388608&t.flags||IA(t)||wA(t))&&(!o(t,n)||99===BT(x)&&w&&Wm(n)&&(qC(n)||Ec(n,n.parent))&&s(n,t,!0)));function o(e,n){return!!Rc(e,(t=>{if(t===a)return"quit";if(Ad(t))return!0;if(XC(t))return n.pos<e.pos;const r=En(t.parent,qC);if(r&&r.initializer===t)if(ub(t.parent)){if(171===n.kind)return!0;if(qC(n)&&Wm(e)===Wm(n)){const e=n.name;if((AC(e)||LC(e))&&function(e,n,t,r,i){for(const a of t)if(a.pos>=r&&a.pos<=i){const t=pA.createPropertyAccessExpression(pA.createThis(),e);if(xS(t.expression,t),xS(t,a),t.flowNode=a.returnFlowNode,!lT(zL(t,n,Vx(n))))return!0}return!1}(e,bl($o(n)),j(n.parent.members,XC),n.parent.pos,t.pos))return!0}}else if(169!==n.kind||ub(n)||Wm(e)!==Wm(n))return!0;return!1}))}function s(e,n,t){return!(n.end>e.end)&&void 0===Rc(n,(n=>{if(n===e)return"quit";switch(n.kind){case 216:return!0;case 169:return!t||!(qC(e)&&n.parent===e.parent||Ec(e,e.parent)&&n.parent===e.parent.parent)||"quit";case 238:switch(n.parent.kind){case 174:case 171:case 175:return!0;default:return!1}default:return!1}}))}}function Ma(e,n,t){const r=BT(x),i=n;if(HC(t)&&i.body&&e.valueDeclaration&&e.valueDeclaration.pos>=i.body.pos&&e.valueDeclaration.end<=i.body.end&&r>=2){const e=Ra(i);return void 0===e.declarationRequiresScopeChange&&(e.declarationRequiresScopeChange=A(i.parameters,(function(e){return a(e.name)||!!e.initializer&&a(e.initializer)}))||!1),!e.declarationRequiresScopeChange}return!1;function a(e){switch(e.kind){case 216:case 215:case 259:case 173:return!1;case 171:case 174:case 175:case 299:return a(e.name);case 169:return _b(e)?r<99||!w:a(e.name);default:return jl(e)||Gl(e)?r<7:kk(e)&&e.dotDotDotToken&&Lk(e.parent)?r<4:!jd(e)&&(ED(e,a)||!1)}}}function Pa(e){return _u(e)&&Hl(e.type)||sR(e)&&Hl(e.typeExpression)}function Fa(e,n,t,r,i,a,o=!1,s=!0){return Ga(e,n,t,r,i,a,o,s,Da)}function Ga(e,n,t,r,i,a,o,s,c){var d,u,_;const p=e;let f,m,h,g,y,v=!1;const b=e;let T,A=!1;e:for(;e;){if("const"===n&&Pa(e))return;if(Iu(e)&&e.locals&&!Na(e)&&(f=c(e.locals,n,t))){let n=!0;if(Ad(e)&&m&&m!==e.body?(t&f.flags&788968&&323!==m.kind&&(n=!!(262144&f.flags)&&(m===e.type||166===m.kind||344===m.kind||345===m.kind||165===m.kind)),t&f.flags&3&&(Ma(f,e,m)?n=!1:1&f.flags&&(n=166===m.kind||m===e.type&&!!Rc(f.valueDeclaration,HC)))):191===e.kind&&(n=m===e.trueType),n)break e;f=void 0}switch(v=v||Ua(e,m),e.kind){case 308:if(!tm(e))break;A=!0;case 264:const i=(null==(d=$o(e))?void 0:d.exports)||E;if(308===e.kind||MI(e)&&16777216&e.flags&&!bf(e)){if(f=i.get("default")){const e=eE(f);if(e&&f.flags&t&&e.escapedName===n)break e;f=void 0}const e=i.get(n);if(e&&2097152===e.flags&&(ip(e,278)||ip(e,277)))break}if("default"!==n&&(f=c(i,n,2623475&t))){if(!Aw(e)||!e.commonJsModuleIndicator||(null==(u=f.declarations)?void 0:u.some(Eg)))break e;f=void 0}break;case 263:if(f=c((null==(_=$o(e))?void 0:_.exports)||E,n,8&t)){!r||!WT(x)||16777216&e.flags||Ip(e)===Ip(f.valueDeclaration)||_a(b,Vo.Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead,Mc(n),ye,`${Mc(Qo(e).escapedName)}.${Mc(n)}`);break e}break;case 169:if(!ub(e)){const r=os(e.parent);r&&r.locals&&c(r.locals,n,111551&t)&&(Nt.assertNode(e,qC),g=e)}break;case 260:case 228:case 261:if(f=c($o(e).members||E,n,788968&t)){if(!Ha(f,e)){f=void 0;break}if(m&&ub(m))return void(r&&_a(b,Vo.Static_members_cannot_reference_class_type_parameters));break e}if($k(e)&&32&t){const t=e.name;if(t&&n===t.escapedText){f=e.symbol;break e}}break;case 230:if(m===e.expression&&94===e.parent.token){const i=e.parent.parent;if(Dd(i)&&(f=c($o(i).members,n,788968&t)))return void(r&&_a(b,Vo.Base_class_expressions_cannot_reference_class_type_parameters))}break;case 164:if(T=e.parent.parent,(Dd(T)||261===T.kind)&&(f=c($o(T).members,n,788968&t)))return void(r&&_a(b,Vo.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type));break;case 216:if(BT(x)>=2)break;case 171:case 173:case 174:case 175:case 259:if(3&t&&"arguments"===n){f=he;break e}break;case 215:if(3&t&&"arguments"===n){f=he;break e}if(16&t){const t=e.name;if(t&&n===t.escapedText){f=e.symbol;break e}}break;case 167:e.parent&&166===e.parent.kind&&(e=e.parent),e.parent&&(Nd(e.parent)||260===e.parent.kind)&&(e=e.parent);break;case 349:case 341:case 343:const a=Gg(e);a&&(e=a.parent);break;case 166:m&&(m===e.initializer||m===e.name&&Kd(m))&&(y||(y=e));break;case 205:m&&(m===e.initializer||m===e.name&&Kd(m))&&Ky(e)&&!y&&(y=e);break;case 192:if(262144&t){const t=e.typeParameter.name;if(t&&n===t.escapedText){f=e.typeParameter.symbol;break e}}}Va(e)&&(h=e),m=e,e=cR(e)?Og(e)||e.parent:(iR(e)||aR(e))&&Mg(e)||e.parent}if(!a||!f||h&&f===h.symbol||(f.isReferenced|=t),!f){if(m&&(Nt.assertNode(m,Aw),m.commonJsModuleIndicator&&"exports"===n&&t&m.symbol.flags))return m.symbol;o||(f=c(le,n,t))}if(!f&&p&&Ah(p)&&p.parent&&wh(p.parent,!1))return ge;function L(){return!(!g||w&&BT(x)>=9||(_a(b,b&&g.type&&ac(g.type,b.pos)?Vo.Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:Vo.Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor,Ff(g.name),ja(i)),0))}if(f){if(!r||!L())return r&&l((()=>{if(b&&(2&t||(32&t||384&t)&&111551==(111551&t))){const e=is(f);(2&e.flags||32&e.flags||384&e.flags)&&function(e,n){var t;if(Nt.assert(!!(2&e.flags||32&e.flags||384&e.flags)),67108881&e.flags&&32&e.flags)return;const r=null==(t=e.declarations)?void 0:t.find((e=>_f(e)||Dd(e)||263===e.kind));if(void 0===r)return Nt.fail("checkResolvedBlockScopedVariable could not find block-scoped declaration");if(!(16777216&r.flags||Oa(r,n))){let t;const i=Ff(Wc(r));2&e.flags?t=_a(n,Vo.Block_scoped_variable_0_used_before_its_declaration,i):32&e.flags?t=_a(n,Vo.Class_0_used_before_its_declaration,i):256&e.flags?t=_a(n,Vo.Enum_0_used_before_its_declaration,i):(Nt.assert(!!(128&e.flags)),rx(x)&&(t=_a(n,Vo.Enum_0_used_before_its_declaration,i))),t&&iS(t,Hf(r,Vo._0_is_declared_here,i))}}(e,b)}if(f&&A&&111551==(111551&t)&&!(8388608&p.flags)){const e=Yo(f);S(e.declarations)&&N(e.declarations,(e=>GI(e)||Aw(e)&&!!e.symbol.globalExports))&&fa(!x.allowUmdGlobalAccess,b,Vo._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead,Mc(n))}if(f&&y&&!v&&111551==(111551&t)){const e=Yo(Yd(f)),n=Wy(y);e===$o(y)?_a(b,Vo.Parameter_0_cannot_reference_itself,Ff(y.name)):e.valueDeclaration&&e.valueDeclaration.pos>y.pos&&n.parent.locals&&c(n.parent.locals,e.escapedName,t)===e&&_a(b,Vo.Parameter_0_cannot_reference_identifier_1_declared_after_it,Ff(y.name),Ff(b))}if(f&&b&&111551&t&&2097152&f.flags&&!(111551&f.flags)&&!mS(b)){const e=Lo(f,111551);if(e){const t=278===e.kind||275===e.kind||277===e.kind?Vo._0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:Vo._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type,r=Mc(n);Ba(_a(b,t,r),e,r)}}})),f}else r&&l((()=>{if(!b||!(function(e,n,t){if(!AC(e)||e.escapedText!==n||$P(e)||IA(e))return!1;const r=Jm(e,!1,!1);let i=r;for(;i;){if(Dd(i.parent)){const a=$o(i.parent);if(!a)break;if(V_(bl(a),n))return _a(e,Vo.Cannot_find_name_0_Did_you_mean_the_static_member_1_0,ja(t),Fs(a)),!0;if(i===r&&!ub(i)&&V_(_d(a).thisType,n))return _a(e,Vo.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0,ja(t)),!0}i=i.parent}return!1}(b,n,i)||L()||Ka(b)||function(e,n,t){const r=1920|(Ah(e)?111551:0);if(t===r){const t=Eo(Fa(e,n,788968&~r,void 0,void 0,!1)),i=e.parent;if(t){if(UC(i)){Nt.assert(i.left===e,"Should only be resolving left side of qualified name as a namespace");const r=i.right.escapedText;if(V_(_d(t),r))return _a(i,Vo.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,Mc(n),Mc(r)),!0}return _a(e,Vo._0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here,Mc(n)),!0}}return!1}(b,n,t)||function(e,n){return!(!qa(n)||278!==e.parent.kind)&&(_a(e,Vo.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,n),!0)}(b,n)||function(e,n,t){if(111127&t){if(Eo(Fa(e,n,1024,void 0,void 0,!1)))return _a(e,Vo.Cannot_use_namespace_0_as_a_value,Mc(n)),!0}else if(788544&t&&Eo(Fa(e,n,1536,void 0,void 0,!1)))return _a(e,Vo.Cannot_use_namespace_0_as_a_type,Mc(n)),!0;return!1}(b,n,t)||function(e,n,t){if(111551&t){if(qa(n))return function(e){const n=e.parent.parent,t=n.parent;if(n&&t){const e=yw(n)&&94===n.token,r=NI(t);return e&&r}return!1}(e)?_a(e,Vo.An_interface_cannot_extend_a_primitive_type_like_0_an_interface_can_only_extend_named_types_and_classes,Mc(n)):_a(e,Vo._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,Mc(n)),!0;const t=Eo(Fa(e,n,788544,void 0,void 0,!1)),r=t&&xo(t);if(t&&void 0!==r&&!(111551&r)){const r=Mc(n);return function(e){switch(e){case"Promise":case"Symbol":case"Map":case"WeakMap":case"Set":case"WeakSet":return!0}return!1}(n)?_a(e,Vo._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){const t=Rc(e.parent,(e=>!VC(e)&&!WC(e)&&(sk(e)||"quit")));if(t&&1===t.members.length){const e=_d(n);return!!(1048576&e.flags)&&DD(e,384,!0)}return!1}(e,t)?_a(e,Vo._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"):_a(e,Vo._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,r),!0}}return!1}(b,n,t)||function(e,n,t){if(788584&t){const t=Eo(Fa(e,n,111127,void 0,void 0,!1));if(t&&!(1920&t.flags))return _a(e,Vo._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,Mc(n)),!0}return!1}(b,n,t))){let e,a;if(i&&(a=function(e){const n=ja(e),t=cf().get(n);return t&&Pe(t.keys())}(i),a&&_a(b,r,ja(i),a)),!a&&s&&ki<Ii&&(e=tR(p,n,t),(null==e?void 0:e.valueDeclaration)&&ff(e.valueDeclaration)&&bf(e.valueDeclaration)&&(e=void 0),e)){const n=Fs(e),r=Vw(p,e,!1),a=1920===t||i&&"string"!=typeof i&&zy(i)?Vo.Cannot_find_namespace_0_Did_you_mean_1:r?Vo.Could_not_find_name_0_Did_you_mean_1:Vo.Cannot_find_name_0_Did_you_mean_1,o=ua(b,a,ja(i),n);pa(!r,o),e.valueDeclaration&&iS(o,Hf(e.valueDeclaration,Vo._0_is_declared_here,n))}e||a||!i||_a(b,r,ja(i)),ki++}}))}function Ba(e,n,t){return n?iS(e,Hf(n,278===n.kind||275===n.kind||277===n.kind?Vo._0_was_exported_here:Vo._0_was_imported_here,t)):e}function Ua(e,n){return 216!==e.kind&&215!==e.kind?ok(e)||(Cd(e)||169===e.kind&&!ub(e))&&(!n||n!==e.name):!(n&&n===e.name||!e.asteriskToken&&!db(e,512)&&Zm(e))}function Va(e){switch(e.kind){case 259:case 260:case 261:case 263:case 262:case 264:return!0;default:return!1}}function ja(e){return vn(e)?Mc(e):Ff(e)}function Ha(e,n){if(e.declarations)for(const t of e.declarations)if(165===t.kind&&(cR(t.parent)?Fg(t.parent):t.parent)===n)return!(cR(t.parent)&&D(t.parent.parent.tags,Eg));return!1}function Ka(e){const n=Wa(e);return!(!n||!No(n,64,!0)||(_a(e,Vo.Cannot_extend_an_interface_0_Did_you_mean_implements,tf(n)),0))}function Wa(e){switch(e.kind){case 79:case 208:return e.parent?Wa(e.parent):void 0;case 230:if(Hb(e.expression))return e.expression;default:return}}function qa(e){return"any"===e||"string"===e||"number"===e||"boolean"===e||"never"===e||"unknown"===e}function za(e,n,t){return!!n&&!!Rc(e,(e=>e===n||!(e!==t&&(!Ad(e)||Zm(e)&&!Ay(e)))&&"quit"))}function Ja(e){switch(e.kind){case 268:return e;case 270:return e.parent;case 271:return e.parent.parent;case 273:return e.parent.parent.parent;default:return}}function Xa(e){return e.declarations&&O(e.declarations,Ya)}function Ya(e){return 268===e.kind||267===e.kind||270===e.kind&&!!e.name||271===e.kind||277===e.kind||273===e.kind||278===e.kind||274===e.kind&&oy(e)||qk(e)&&2===Yh(e)&&oy(e)||eT(e)&&qk(e.parent)&&e.parent.left===e&&63===e.parent.operatorToken.kind&&$a(e.parent.right)||300===e.kind||299===e.kind&&$a(e.initializer)||257===e.kind&&Nh(e)||205===e.kind&&Nh(e.parent.parent)}function $a(e){return ay(e)||Gk(e)&&gN(e)}function Qa(e,n,t,r){const i=e.exports.get("export="),a=i?V_(bl(i),n,!0):e.exports.get(n),o=Eo(a,r);return So(t,a,o,!1),o}function eo(e){return XI(e)&&!e.isExportEquals||db(e,1024)||QI(e)}function io(e){return t_(e)?gH(Ip(e),e):void 0}function ao(e,n){return 99===e&&1===n}function oo(e){return 99===io(e)&&et(e.text,".json")}function so(e,n,t,r){const i=e&&io(r);if(e&&void 0!==i){const n=ao(i,e.impliedNodeFormat);if(99===i||n)return n}if(!R)return!1;if(!e||e.isDeclarationFile){const e=Qa(n,"default",void 0,!0);return!(e&&ce(e.declarations,eo)||Qa(n,Oc("__esModule"),void 0,t))}return xh(e)?"object"!=typeof e.externalModuleIndicator&&!Qa(n,Oc("__esModule"),void 0,t):jo(n)}function lo(e,n,t){var r;let i;i=yf(e)?e:Qa(e,"default",n,t);const a=null==(r=e.declarations)?void 0:r.find(Aw),o=uo(n);if(!o)return i;const s=oo(o),c=so(a,e,t,o);if(i||c||s){if(c||s){const r=Go(e,t)||Eo(e,t);return So(n,e,r,!1),r}}else if(!jo(e)||$T(x)||YT(x))VI(n)?function(e,n){var t,r,i;if(null==(t=e.exports)?void 0:t.has(n.symbol.escapedName))_a(n.name,Vo.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead,Fs(e),Fs(n.symbol));else{const t=_a(n.name,Vo.Module_0_has_no_default_export,Fs(e)),a=null==(r=e.exports)?void 0:r.get("__export");if(a){const e=null==(i=a.declarations)?void 0:i.find((e=>{var n,t;return!!(YI(e)&&e.moduleSpecifier&&(null==(t=null==(n=Oo(e,e.moduleSpecifier))?void 0:n.exports)?void 0:t.has("default")))}));e&&iS(t,Hf(e,Vo.export_Asterisk_does_not_re_export_a_default))}}}(e,n):po(e,e,n,cd(n)&&n.propertyName||n.name);else{const t=k>=5?"allowSyntheticDefaultImports":"esModuleInterop",r=e.exports.get("export=").valueDeclaration,i=_a(n.name,Vo.Module_0_can_only_be_default_imported_using_the_1_flag,Fs(e),t);r&&iS(i,Hf(r,Vo.This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,t))}return So(n,i,void 0,!1),i}function uo(e){switch(e.kind){case 270:return e.parent.moduleSpecifier;case 268:return iw(e.moduleReference)?e.moduleReference.expression:void 0;case 271:case 278:return e.parent.parent.moduleSpecifier;case 273:return e.parent.parent.parent.moduleSpecifier;default:return Nt.assertNever(e)}}function _o(e,n,t=!1){var r;const i=Eh(e)||e.moduleSpecifier,a=Oo(e,i),o=!Rk(n)&&n.propertyName||n.name;if(!AC(o))return;const s=Bo(a,i,!1,"default"===o.escapedText&&!(!x.allowSyntheticDefaultImports&&!YT(x)));if(s&&o.escapedText){if(yf(a))return a;let c;c=a&&a.exports&&a.exports.get("export=")?V_(bl(s),o.escapedText,!0):function(e,n){if(3&e.flags){const t=e.valueDeclaration.type;if(t)return Eo(V_(Lb(t),n))}}(s,o.escapedText),c=Eo(c,t);let l=function(e,n,t,r){var i;if(1536&e.flags){const a=qo(e).get(n.escapedText),o=Eo(a,r);return So(t,a,o,!1,null==(i=wa(e).typeOnlyExportStarMap)?void 0:i.get(n.escapedText),n.escapedText),o}}(s,o,n,t);if(void 0===l&&"default"===o.escapedText){const e=null==(r=a.declarations)?void 0:r.find(Aw);(oo(i)||so(e,a,t,i))&&(l=Go(a,t)||Eo(a,t))}const d=l&&c&&l!==c?function(e,n){if(e===on&&n===on)return on;if(790504&e.flags)return e;const t=va(e.flags|n.flags,e.escapedName);return Nt.assert(e.declarations||n.declarations),t.declarations=pe(de(e.declarations,n.declarations),Pn),t.parent=e.parent||n.parent,e.valueDeclaration&&(t.valueDeclaration=e.valueDeclaration),n.members&&(t.members=new Map(n.members)),e.exports&&(t.exports=new Map(e.exports)),t}(c,l):l||c;return d||po(a,s,e,o),d}}function po(e,n,t,r){var i;const a=wo(e,t),o=Ff(r),s=rR(r,n);if(void 0!==s){const e=Fs(s),n=_a(r,Vo._0_has_no_exported_member_named_1_Did_you_mean_2,a,o,e);s.valueDeclaration&&iS(n,Hf(s.valueDeclaration,Vo._0_is_declared_here,e))}else(null==(i=e.exports)?void 0:i.has("default"))?_a(r,Vo.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead,a,o):function(e,n,t,r,i){var a,o;const s=null==(o=null==(a=En(r.valueDeclaration,Iu))?void 0:a.locals)?void 0:o.get(n.escapedText),c=r.exports;if(s){const r=null==c?void 0:c.get("export=");if(r)rs(r,s)?function(e,n,t,r){k>=5?_a(n,YT(x)?Vo._0_can_only_be_imported_by_using_a_default_import:Vo._0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import,t):Ah(e)?_a(n,YT(x)?Vo._0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:Vo._0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import,t):_a(n,YT(x)?Vo._0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:Vo._0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import,t,t,r)}(e,n,t,i):_a(n,Vo.Module_0_has_no_exported_member_1,i,t);else{const e=c?D(np(c),(e=>!!rs(e,s))):void 0,r=e?_a(n,Vo.Module_0_declares_1_locally_but_it_is_exported_as_2,i,t,Fs(e)):_a(n,Vo.Module_0_declares_1_locally_but_it_is_not_exported,i,t);s.declarations&&iS(r,...W(s.declarations,((e,n)=>Hf(e,0===n?Vo._0_is_declared_here:Vo.and_here,t))))}}else _a(n,Vo.Module_0_has_no_exported_member_1,i,t)}(t,r,o,e,a)}function fo(e){if(kI(e)&&e.initializer&&Rk(e.initializer))return e.initializer}function mo(e,n,t){if("default"===Pc(e.propertyName||e.name)){const n=uo(e),r=n&&Oo(e,n);if(r)return lo(r,e,!!t)}const r=e.parent.parent.moduleSpecifier?_o(e.parent.parent,e,t):No(e.propertyName||e.name,n,!1,t);return So(e,void 0,r,!1),r}function ho(e,n){if($k(e))return qD(e).symbol;if(!Td(e)&&!Hb(e))return;return No(e,901119,!0,n)||(qD(e),Ra(e).resolvedSymbol)}function yo(e,n=!1){switch(e.kind){case 268:case 257:return function(e,n){const t=fo(e);if(t){const e=iT(t.expression).arguments[0];return AC(t.name)?Eo(V_(bp(e),t.name.escapedText)):void 0}if(kI(e)||280===e.moduleReference.kind){const n=Oo(e,Eh(e)||bh(e)),t=Go(n);return So(e,n,t,!1),t}const r=Io(e.moduleReference,n);return function(e,n){if(So(e,void 0,n,!1)&&!e.isTypeOnly){const n=Lo($o(e)),t=278===n.kind||275===n.kind,r=t?Vo.An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:Vo.An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type,i=t?Vo._0_was_exported_here:Vo._0_was_imported_here,a=275===n.kind?"*":Mc(n.name.escapedText);iS(_a(e.moduleReference,r),Hf(n,i,a))}}(e,r),r}(e,n);case 270:return function(e,n){const t=Oo(e,e.parent.moduleSpecifier);if(t)return lo(t,e,n)}(e,n);case 271:return function(e,n){const t=e.parent.parent.moduleSpecifier,r=Oo(e,t),i=Bo(r,t,n,!1);return So(e,r,i,!1),i}(e,n);case 277:return function(e,n){const t=e.parent.moduleSpecifier,r=t&&Oo(e,t),i=t&&Bo(r,t,n,!1);return So(e,r,i,!1),i}(e,n);case 273:case 205:return function(e,n){if(JI(e)&&"default"===Pc(e.propertyName||e.name)){const t=uo(e),r=t&&Oo(e,t);if(r)return lo(r,e,n)}const t=kk(e)?Wy(e):e.parent.parent.parent,r=fo(t),i=_o(t,r||e,n),a=e.propertyName||e.name;return r&&i&&AC(a)?Eo(V_(bl(i),a.escapedText),n):(So(e,void 0,i,!1),i)}(e,n);case 278:return mo(e,901119,n);case 274:case 223:return function(e,n){const t=ho(XI(e)?e.expression:e.right,n);return So(e,void 0,t,!1),t}(e,n);case 267:return function(e,n){if(ku(e.parent)){const t=Go(e.parent.symbol,n);return So(e,void 0,t,!1),t}}(e,n);case 300:return No(e.name,901119,!0,n);case 299:return ho(e.initializer,n);case 209:case 208:return function(e,n){if(qk(e.parent)&&e.parent.left===e&&63===e.parent.operatorToken.kind)return ho(e.parent.right,n)}(e,n);default:return Nt.fail()}}function vo(e,n=901119){return!(!e||2097152!=(e.flags&(2097152|n))&&!(2097152&e.flags&&67108864&e.flags))}function Eo(e,n){return!n&&vo(e)?To(e):e}function To(e){Nt.assert(0!=(2097152&e.flags),"Should only get Alias here.");const n=wa(e);if(n.aliasTarget)n.aliasTarget===sn&&(n.aliasTarget=on);else{n.aliasTarget=sn;const t=Xa(e);if(!t)return Nt.fail();const r=yo(t);n.aliasTarget===sn?n.aliasTarget=r||on:_a(t,Vo.Circular_definition_of_import_alias_0,Fs(e))}return n.aliasTarget}function xo(e){let n,t=e.flags;for(;2097152&e.flags;){const r=To(e);if(r===on)return 67108863;if(r===e||(null==n?void 0:n.has(r)))break;2097152&r.flags&&(n?n.add(r):n=new Set([e,r])),t|=r.flags,e=r}return t}function So(e,n,t,r,i,a){if(!e||Rk(e))return!1;const o=$o(e);if(ud(e))return wa(o).typeOnlyDeclaration=e,!0;if(i){const e=wa(o);return e.typeOnlyDeclaration=i,o.escapedName!==a&&(e.typeOnlyExportStarName=a),!0}const s=wa(o);return Ao(s,n,r)||Ao(s,t,r)}function Ao(e,n,t){var r,i,a;if(n&&(void 0===e.typeOnlyDeclaration||t&&!1===e.typeOnlyDeclaration)){const t=null!=(i=null==(r=n.exports)?void 0:r.get("export="))?i:n,o=t.declarations&&D(t.declarations,ud);e.typeOnlyDeclaration=null!=(a=null!=o?o:wa(t).typeOnlyDeclaration)&&a}return!!e.typeOnlyDeclaration}function Lo(e,n){if(!(2097152&e.flags))return;const t=wa(e);return void 0===n?t.typeOnlyDeclaration||void 0:t.typeOnlyDeclaration&&xo(275===t.typeOnlyDeclaration.kind?Eo(zo(t.typeOnlyDeclaration.symbol.parent).get(t.typeOnlyExportStarName||e.escapedName)):To(t.typeOnlyDeclaration.symbol))&n?t.typeOnlyDeclaration:void 0}function Co(e){if(x.verbatimModuleSyntax)return;const n=$o(e),t=To(n);t&&(t===on||111551&xo(t)&&!EF(t)&&!Lo(n,111551))&&ko(n)}function ko(e){Nt.assert(!x.verbatimModuleSyntax);const n=wa(e);if(!n.referenced){n.referenced=!0;const t=Xa(e);if(!t)return Nt.fail();Th(t)&&111551&xo(Eo(e))&&qD(t.moduleReference)}}function Io(e,n){return 79===e.kind&&Xb(e)&&(e=e.parent),79===e.kind||163===e.parent.kind?No(e,1920,!1,n):(Nt.assert(268===e.parent.kind),No(e,901119,!1,n))}function wo(e,n){return e.parent?wo(e.parent,n)+"."+Fs(e):Fs(e,n,void 0,36)}function No(e,n,t,r,i){if(Fp(e))return;const a=1920|(Ah(e)?111551&n:0);let o;if(79===e.kind){const r=n===a||zy(e)?Vo.Cannot_find_namespace_0:CA(Kb(e)),s=Ah(e)&&!zy(e)?function(e,n){if(Rf(e.parent)){const t=function(e){if(Rc(e,(e=>Ku(e)||8388608&e.flags?Eg(e):"quit")))return;const n=Fg(e);if(n&&_I(n)&&cg(n.expression)){const e=$o(n.expression.left);if(e)return Do(e)}if(n&&Gk(n)&&cg(n.parent)&&_I(n.parent.parent)){const e=$o(n.parent.left);if(e)return Do(e)}if(n&&(Om(n)||bw(n))&&qk(n.parent.parent)&&6===Yh(n.parent.parent)){const e=$o(n.parent.parent.left);if(e)return Do(e)}const t=Pg(e);if(t&&Ad(t)){const e=$o(t);return e&&e.valueDeclaration}}(e.parent);if(t)return Fa(t,e.escapedText,n,void 0,e,!0)}}(e,n):void 0;if(o=Yo(Fa(i||e,e.escapedText,n,t||s?void 0:r,e,!0,!1)),!o)return Yo(s)}else{if(163!==e.kind&&208!==e.kind)throw Nt.assertNever(e,"Unknown entity name kind.");{const r=163===e.kind?e.left:e.expression,s=163===e.kind?e.right:e.name;let c=No(r,a,t,!1,i);if(!c||Fp(s))return;if(c===on)return c;if(c.valueDeclaration&&Ah(c.valueDeclaration)&&100!==jT(x)&&kI(c.valueDeclaration)&&c.valueDeclaration.initializer&&CN(c.valueDeclaration.initializer)){const e=c.valueDeclaration.initializer.arguments[0],n=Oo(e,e);if(n){const e=Go(n);e&&(c=e)}}if(o=Yo(Da(qo(c),s.escapedText,n)),!o){if(!t){const t=wo(c),r=Ff(s),i=rR(s,c);if(i)return void _a(s,Vo._0_has_no_exported_member_named_1_Did_you_mean_2,t,r,Fs(i));const a=UC(e)&&function(e){for(;UC(e.parent);)e=e.parent;return e}(e),o=Ht&&788968&n&&a&&!Vk(a.parent)&&function(e){let n=Kb(e),t=Fa(n,n.escapedText,111551,void 0,n,!0);if(t){for(;UC(n.parent);){if(t=V_(bl(t),n.parent.right.escapedText),!t)return;n=n.parent}return t}}(a);if(o)return void _a(a,Vo._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,jf(a));if(1920&n&&UC(e.parent)){const n=Yo(Da(qo(c),s.escapedText,788968));if(n)return void _a(e.parent.right,Vo.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,Fs(n),Mc(e.parent.right.escapedText))}_a(s,Vo.Namespace_0_has_no_exported_member_1,t,r)}return}}}return Nt.assert(0==(1&DE(o)),"Should never get an instantiated symbol here."),!zy(e)&&Td(e)&&(2097152&o.flags||274===e.parent.kind)&&So(iy(e),o,void 0,!0),o.flags&n||r?o:To(o)}function Do(e){const n=e.parent.valueDeclaration;if(n)return(Gh(n)?Vh(n):Qu(n)?Uh(n):void 0)||n}function Oo(e,n,t){const r=1===jT(x)?Vo.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option:Vo.Cannot_find_module_0_or_its_corresponding_type_declarations;return Mo(e,n,t?void 0:r)}function Mo(e,n,t,r=!1){return t_(n)?Po(e,n.text,t,n,r):void 0}function Po(n,t,r,i,a=!1){var o,s,c,l,d,u,_,p,f;pt(t,"@types/")&&_a(i,Vo.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1,ft(t,"@types/"),t);const m=tp(t,!0);if(m)return m;const h=Ip(n),g=t_(n)?n:(null==(o=Rc(n,lm))?void 0:o.arguments[0])||(null==(s=Rc(n,UI))?void 0:s.moduleSpecifier)||(null==(c=Rc(n,vh))?void 0:c.moduleReference.expression)||(null==(l=Rc(n,YI))?void 0:l.moduleSpecifier)||(null==(d=MI(n)?n:n.parent&&MI(n.parent)&&n.parent.name===n?n.parent:void 0)?void 0:d.name)||(null==(u=um(n)?n:void 0)?void 0:u.argument.literal),y=g&&t_(g)?gH(h,g):h.impliedNodeFormat,v=jT(x),b=yp(h,t,y),E=b&&BH(x,b,h),T=b&&(!E||E===Vo.Module_0_was_resolved_to_1_but_jsx_is_not_set)&&e.getSourceFile(b.resolvedFileName);if(T){if(E&&_a(i,E,t,b.resolvedFileName),b.resolvedUsingTsExtension&&ND(t)){const e=(null==(_=Rc(n,UI))?void 0:_.importClause)||Rc(n,yt(BI,YI));(e&&!e.isTypeOnly||Rc(n,lm))&&_a(i,Vo.A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_file_0_instead,function(e){const n=Wx(t,e);if(VT(k)||99===y){const r=ND(t)&&NF(x);return n+(".mts"===e||".d.mts"===e?r?".mts":".mjs":".cts"===e||".d.mts"===e?r?".cts":".cjs":r?".ts":".js")}return n}(Nt.checkDefined(nE(t))))}else if(b.resolvedUsingTsExtension&&!NF(x,h.fileName)){const e=Nt.checkDefined(nE(t));_a(i,Vo.An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled,e)}if(T.symbol){if(b.isExternalLibraryImport&&!$x(b.extension)&&Fo(!1,i,h,y,b,t),3===v||99===v){const e=1===h.impliedNodeFormat&&!Rc(n,lm)||!!Rc(n,BI),r=Rc(n,(e=>xk(e)||YI(e)||UI(e))),a=r&&xk(r)?null==(p=r.assertions)?void 0:p.assertClause:null==r?void 0:r.assertClause;if(e&&99===T.impliedNodeFormat&&!yH(a))if(Rc(n,BI))_a(i,Vo.Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_with_require_Use_an_ECMAScript_import_instead,t);else{let e;const n=eS(h.fileName);if(".ts"===n||".js"===n||".tsx"===n||".jsx"===n){const t=h.packageJsonScope,r=".ts"===n?".mts":".js"===n?".mjs":void 0;e=t&&!t.contents.packageJsonContent.type?r?kT(void 0,Vo.To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Colon_module_to_1,r,go(t.packageDirectory,"package.json")):kT(void 0,Vo.To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0,go(t.packageDirectory,"package.json")):r?kT(void 0,Vo.To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_package_json_file_with_type_Colon_module,r):kT(void 0,Vo.To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module)}Ji.add(qf(Ip(i),i,kT(e,Vo.The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_referenced_file_is_an_ECMAScript_module_and_cannot_be_imported_with_require_Consider_writing_a_dynamic_import_0_call_instead,t)))}}return Yo(T.symbol)}r&&_a(i,Vo.File_0_is_not_a_module,T.fileName)}else{if(Vt){const e=_t(Vt,(e=>e.pattern),t);if(e){const n=jt&&jt.get(t);return Yo(n||e.symbol)}}if((!b||$x(b.extension)||void 0!==E)&&E!==Vo.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type){if(r){if(b){const n=e.getProjectReferenceRedirect(b.resolvedFileName);if(n)return void _a(i,Vo.Output_file_0_has_not_been_built_from_source_file_1,n,b.resolvedFileName)}if(E)_a(i,E,t,b.resolvedFileName);else{const n=Za(t)&&!no(t),a=3===v||99===v;if(!nx(x)&&to(t,".json")&&1!==v&&KT(x))_a(i,Vo.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension,t);else if(99===y&&a&&n){const n=bo(t,co(h.path)),r=null==(f=ia.find((([t,r])=>e.fileExists(n+t))))?void 0:f[1];r?_a(i,Vo.Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node16_or_nodenext_Did_you_mean_0,t+r):_a(i,Vo.Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node16_or_nodenext_Consider_adding_an_extension_to_the_import_path)}else _a(i,r,t)}}return}a?_a(i,Vo.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented,t,b.resolvedFileName):Fo(Y&&!!r,i,h,y,b,t)}}function Fo(e,n,t,r,{packageId:i,resolvedFileName:a},o){var c,l;let d;if(!Zs(o)&&i){const e=null==(l=null==(c=t.resolvedModules)?void 0:c.get(o,r))?void 0:l.node10Result;d=e?kT(void 0,Vo.There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The_1_library_may_need_to_update_its_package_json_or_typings,e,e.indexOf(rP+"@types/")>-1?`@types/${CF(i.name)}`:i.name):(u=i.name,s().has(LF(u))?kT(void 0,Vo.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,i.name,CF(i.name)):function(e){return!!s().get(e)}(i.name)?kT(void 0,Vo.If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1,i.name,o):kT(void 0,Vo.Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,o,CF(i.name)))}var u;fa(e,n,kT(d,Vo.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,o,a))}function Go(e,n){if(null==e?void 0:e.exports){const t=function(e,n){if(!e||e===on||e===n||1===n.exports.size||2097152&e.flags)return e;const t=wa(e);if(t.cjsExportMerged)return t.cjsExportMerged;const r=33554432&e.flags?e:Sa(e);return r.flags=512|r.flags,void 0===r.exports&&(r.exports=op()),n.exports.forEach(((e,n)=>{"export="!==n&&r.exports.set(n,r.exports.has(n)?Aa(r.exports.get(n),e):e)})),wa(r).cjsExportMerged=r,t.cjsExportMerged=r}(Yo(Eo(e.exports.get("export="),n)),Yo(e));return Yo(t)||e}}function Bo(e,n,t,r){var i;const a=Go(e,t);if(!t&&a){if(!(r||1539&a.flags||ip(a,308))){const e=k>=5?"allowSyntheticDefaultImports":"esModuleInterop";return _a(n,Vo.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export,e),a}const t=n.parent;if(UI(t)&&hg(t)||lm(t)){const n=lm(t)?t.arguments[0]:t.moduleSpecifier,r=bl(a),o=AN(r,a,e,n);if(o)return Uo(a,o,t);const s=null==(i=null==e?void 0:e.declarations)?void 0:i.find(Aw),c=s&&ao(io(n),s.impliedNodeFormat);if(YT(x)||c){let i=j_(r,0);if(i&&i.length||(i=j_(r,1)),i&&i.length||V_(r,"default",!0)||c)return Uo(a,LN(r,a,e,n),t)}}}return a}function Uo(e,n,t){const r=va(e.flags,e.escapedName);r.declarations=e.declarations?e.declarations.slice():[],r.parent=e.parent,r.links.target=e,r.links.originatingImport=t,e.valueDeclaration&&(r.valueDeclaration=e.valueDeclaration),e.constEnumOnlyModule&&(r.constEnumOnlyModule=!0),e.members&&(r.members=new Map(e.members)),e.exports&&(r.exports=new Map(e.exports));const a=d_(n);return r.links.type=ys(r,a.members,i,i,a.indexInfos),r}function jo(e){return void 0!==e.exports.get("export=")}function Ho(e){return np(zo(e))}function Ko(e,n){const t=zo(n);if(t)return t.get(e)}function Wo(e){return!(134348796&e.flags||1&qE(e)||cx(e)||Nx(e))}function qo(e){return 6256&e.flags?Jd(e,"resolvedExports"):1536&e.flags?zo(e):e.exports||E}function zo(e){const n=wa(e);if(!n.resolvedExports){const{exports:t,typeOnlyExportStarMap:r}=Xo(e);n.resolvedExports=t,n.typeOnlyExportStarMap=r}return n.resolvedExports}function Jo(e,n,t,r){n&&n.forEach(((n,i)=>{if("default"===i)return;const a=e.get(i);if(a){if(t&&r&&a&&Eo(a)!==Eo(n)){const e=t.get(i);e.exportsWithDuplicate?e.exportsWithDuplicate.push(r):e.exportsWithDuplicate=[r]}}else e.set(i,n),t&&r&&t.set(i,{specifierText:tf(r.moduleSpecifier)})}))}function Xo(e){const n=[];let t;const r=new Set,i=function e(i,a,o){if(!o&&(null==i?void 0:i.exports)&&i.exports.forEach(((e,n)=>r.add(n))),!(i&&i.exports&&Le(n,i)))return;const s=new Map(i.exports),c=i.exports.get("__export");if(c){const n=op(),t=new Map;if(c.declarations)for(const r of c.declarations){Jo(n,e(Oo(r,r.moduleSpecifier),r,o||r.isTypeOnly),t,r)}t.forEach((({exportsWithDuplicate:e},n)=>{if("export="!==n&&e&&e.length&&!s.has(n))for(const r of e)Ji.add(Hf(r,Vo.Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity,t.get(n).specifierText,Mc(n)))})),Jo(s,n)}return(null==a?void 0:a.isTypeOnly)&&(null!=t||(t=new Map),s.forEach(((e,n)=>t.set(n,a)))),s}(e=Go(e))||E;return t&&r.forEach((e=>t.delete(e))),{exports:i,typeOnlyExportStarMap:t}}function Yo(e){let n;return e&&e.mergeId&&(n=wi[e.mergeId])?n:e}function $o(e){return Yo(e.symbol&&Yd(e.symbol))}function Qo(e){return ku(e)?$o(e):void 0}function Zo(e){return Yo(e.parent&&Yd(e.parent))}function es(n,t,r){const a=Zo(n);if(a&&!(262144&n.flags)){const o=ee(a.declarations,(function(e){return a&&ns(e,a)})),s=t&&function(n,t){const r=Ip(t),a=KG(r),o=wa(n);let s;if(o.extendedContainersByFile&&(s=o.extendedContainersByFile.get(a)))return s;if(r&&r.imports){for(const e of r.imports){if(zy(e))continue;const r=Oo(t,e,!0);r&&ts(r,n)&&(s=Te(s,r))}if(S(s))return(o.extendedContainersByFile||(o.extendedContainersByFile=new Map)).set(a,s),s}if(o.extendedContainers)return o.extendedContainers;const c=e.getSourceFiles();for(const e of c){if(!kD(e))continue;const t=$o(e);ts(t,n)&&(s=Te(s,t))}return o.extendedContainers=s||i}(n,t),c=function(e,n){const t=!!S(e.declarations)&&Me(e.declarations);if(111551&n&&t&&t.parent&&kI(t.parent)&&(wk(t)&&t===t.parent.initializer||sk(t)&&t===t.parent.type))return $o(t.parent)}(a,r);if(t&&a.flags&Es(r)&&Ts(a,t,1920,!1))return Te(de(de([a],o),s),c);const l=!(a.flags&Es(r))&&788968&a.flags&&524288&_d(a).flags&&111551===r?vs(t,(e=>pp(e,(e=>{if(e.flags&Es(r)&&bl(e)===_d(a))return e})))):void 0;let d=l?[l,...o,a]:[...o,a];return d=Te(d,c),d=Ae(d,s),d}const o=ee(n.declarations,(e=>{if(!ff(e)&&e.parent){if(Os(e.parent))return $o(e.parent);if(PI(e.parent)&&e.parent.parent&&Go($o(e.parent.parent))===n)return $o(e.parent.parent)}if($k(e)&&qk(e.parent)&&63===e.parent.operatorToken.kind&&eT(e.parent.left)&&Hb(e.parent.left.expression))return Xh(e.parent.left)||zh(e.parent.left.expression)?$o(Ip(e)):(qD(e.parent.left.expression),Ra(e.parent.left.expression).resolvedSymbol)}));if(S(o))return ee(o,(e=>ts(e,n)?e:void 0))}function ns(e,n){const t=Ns(e),r=t&&t.exports&&t.exports.get("export=");return r&&rs(r,n)?t:void 0}function ts(e,n){if(e===Zo(n))return n;const t=e.exports&&e.exports.get("export=");if(t&&rs(t,n))return e;const r=qo(e),i=r.get(n.escapedName);return i&&rs(i,n)?i:pp(r,(e=>{if(rs(e,n))return e}))}function rs(e,n){if(Yo(Eo(Yo(e)))===Yo(Eo(Yo(n))))return e}function is(e){return Yo(e&&0!=(1048576&e.flags)&&e.exportSymbol||e)}function as(e,n){return!!(111551&e.flags||2097152&e.flags&&111551&xo(e)&&(n||!Lo(e)))}function os(e){const n=e.members;for(const e of n)if(173===e.kind&&Gp(e.body))return e}function ss(e){var n;const t=new _(ve,e);return f++,t.id=f,null==(n=Vr)||n.recordType(t),t}function cs(e,n){const t=ss(e);return t.symbol=n,t}function ls(e){return new _(ve,e)}function ds(e,n,t=0){const r=ss(e);return r.intrinsicName=n,r.objectFlags=t,r}function _s(e,n){const t=cs(524288,n);return t.objectFlags=e,t.members=void 0,t.properties=void 0,t.callSignatures=void 0,t.constructSignatures=void 0,t.indexInfos=void 0,t}function ps(e){return cs(262144,e)}function fs(e){return 95===e.charCodeAt(0)&&95===e.charCodeAt(1)&&95!==e.charCodeAt(2)&&64!==e.charCodeAt(2)&&35!==e.charCodeAt(2)}function ms(e){let n;return e.forEach(((e,t)=>{hs(e,t)&&(n||(n=[])).push(e)})),n||i}function hs(e,n){return!fs(n)&&as(e)}function gs(e,n,t,r,a){const o=e;return o.members=n,o.properties=i,o.callSignatures=t,o.constructSignatures=r,o.indexInfos=a,n!==E&&(o.properties=ms(n)),o}function ys(e,n,t,r,i){return gs(_s(16,e),n,t,r,i)}function vs(e,n){let t;for(let r=e;r;r=r.parent){if(Iu(r)&&r.locals&&!Na(r)&&(t=n(r.locals,void 0,!0,r)))return t;switch(r.kind){case 308:if(!tm(r))break;case 264:const e=$o(r);if(t=n((null==e?void 0:e.exports)||E,void 0,!0,r))return t;break;case 260:case 228:case 261:let i;if(($o(r).members||E).forEach(((e,n)=>{788968&e.flags&&(i||(i=op())).set(n,e)})),i&&(t=n(i,void 0,!1,r)))return t}}return n(le,void 0,!0)}function Es(e){return 111551===e?111551:1920}function Ts(e,n,t,r,i=new Map){if(!e||function(e){if(e.declarations&&e.declarations.length){for(const n of e.declarations)switch(n.kind){case 169:case 171:case 174:case 175:continue;default:return!1}return!0}return!1}(e))return;const a=wa(e),o=a.accessibleChainCache||(a.accessibleChainCache=new Map),s=vs(n,((e,n,t,r)=>r)),c=`${r?0:1}|${s&&KG(s)}|${t}`;if(o.has(c))return o.get(c);const l=WG(e);let d=i.get(l);d||i.set(l,d=[]);const u=vs(n,_);return o.set(c,u),u;function _(t,i,a){if(!Le(d,t))return;const o=function(t,i,a){if(f(t.get(e.escapedName),void 0,i))return[e];return pp(t,(t=>{if(2097152&t.flags&&"export="!==t.escapedName&&"default"!==t.escapedName&&!(JE(t)&&n&&kD(Ip(n)))&&(!r||ce(t.declarations,vh))&&(!a||!ce(t.declarations,yh))&&(i||!ip(t,278))){const e=m(t,To(t),i);if(e)return e}if(t.escapedName===e.escapedName&&t.exportSymbol&&f(Yo(t.exportSymbol),void 0,i))return[e]}))||(t===le?m(fe,fe,i):void 0)}(t,i,a);return d.pop(),o}function p(e,t){return!Ss(e,n,t)||!!Ts(e.parent,n,Es(t),r,i)}function f(n,r,i){return(e===(r||n)||Yo(e)===Yo(r||n))&&!ce(n.declarations,Os)&&(i||p(Yo(n),t))}function m(e,n,r){if(f(e,n,r))return[e];const i=qo(n),a=i&&_(i,!0);return a&&p(e,Es(t))?[e].concat(a):void 0}}function Ss(e,n,t){let r=!1;return vs(n,(n=>{let i=Yo(n.get(e.escapedName));if(!i)return!1;if(i===e)return!0;const a=2097152&i.flags&&!ip(i,278);return i=a?To(i):i,!!((a?xo(i):i.flags)&t)&&(r=!0,!0)})),r}function As(e,n){return 0===Rs(e,n,788968,!1,!0).accessibility}function Ls(e,n){return 0===Rs(e,n,111551,!1,!0).accessibility}function Cs(e,n,t){return 0===Rs(e,n,t,!1,!1).accessibility}function Is(e,n,t,r,i,a){if(!S(e))return;let o,s=!1;for(const c of e){const e=Ts(c,n,r,!1);if(e){o=c;const n=Ms(e[0],i);if(n)return n}if(a&&ce(c.declarations,Os)){if(i){s=!0;continue}return{accessibility:0}}const l=Is(es(c,n,r),n,t,t===c?Es(r):r,i,a);if(l)return l}return s?{accessibility:0}:o?{accessibility:1,errorSymbolName:Fs(t,n,r),errorModuleName:o!==t?Fs(o,n,1920):void 0}:void 0}function ws(e,n,t,r){return Rs(e,n,t,r,!0)}function Rs(e,n,t,r,i){if(e&&n){const a=Is([e],n,e,t,r,i);if(a)return a;const o=A(e.declarations,Ns);return o&&o!==Ns(n)?{accessibility:2,errorSymbolName:Fs(e,n,t),errorModuleName:Fs(o),errorNode:Ah(n)?n:void 0}:{accessibility:1,errorSymbolName:Fs(e,n,t)}}return{accessibility:0}}function Ns(e){const n=Rc(e,Ds);return n&&$o(n)}function Ds(e){return ff(e)||308===e.kind&&tm(e)}function Os(e){return mf(e)||308===e.kind&&tm(e)}function Ms(e,n){let t;if(N(j(e.declarations,(e=>79!==e.kind)),(function(n){var t,i;if(!Qs(n)){const a=Ja(n);if(a&&!db(a,1)&&Qs(a.parent))return r(n,a);if(kI(n)&&dI(n.parent.parent)&&!db(n.parent.parent,1)&&Qs(n.parent.parent.parent))return r(n,n.parent.parent);if(Nf(n)&&!db(n,1)&&Qs(n.parent))return r(n,n);if(kk(n)){if(2097152&e.flags&&Ah(n)&&(null==(t=n.parent)?void 0:t.parent)&&kI(n.parent.parent)&&(null==(i=n.parent.parent.parent)?void 0:i.parent)&&dI(n.parent.parent.parent.parent)&&!db(n.parent.parent.parent.parent,1)&&n.parent.parent.parent.parent.parent&&Qs(n.parent.parent.parent.parent.parent))return r(n,n.parent.parent.parent.parent);if(2&e.flags){const e=Rc(n,dI);return!!db(e,1)||!!Qs(e.parent)&&r(n,e)}}return!1}return!0})))return{accessibility:0,aliasesToMakeVisible:t};function r(e,r){return n&&(Ra(e).isVisible=!0,t=Ce(t,r)),!0}}function Ps(e,n){let t;t=183===e.parent.kind||230===e.parent.kind&&!vm(e.parent)||164===e.parent.kind?1160127:163===e.kind||208===e.kind||268===e.parent.kind?1920:788968;const r=Kb(e),i=Fa(n,r.escapedText,t,void 0,void 0,!1);return i&&262144&i.flags&&788968&t||!i&&Kv(r)&&0===ws($o(Jm(r,!1,!1)),r,t,!1).accessibility?{accessibility:0}:i&&Ms(i,!0)||{accessibility:1,errorSymbolName:tf(r),errorNode:r}}function Fs(e,n,t,r=4,i){let a=70221824;2&r&&(a|=128),1&r&&(a|=512),8&r&&(a|=16384),32&r&&(a|=134217728),16&r&&(a|=1073741824);const o=4&r?se.symbolToNode:se.symbolToEntityName;return i?s(i).getText():hp(s);function s(r){const i=o(e,t,n,a),s=308===(null==n?void 0:n.kind)?qV():WV(),c=n&&Ip(n);return s.writeNode(4,i,c,r),r}}function Gs(e,n,t=0,r,i){return i?a(i).getText():hp(a);function a(i){let a;a=262144&t?1===r?182:181:1===r?177:176;const o=se.signatureToSignatureDeclaration(e,a,n,70222336|Hs(t)),s=zV(),c=n&&Ip(n);return s.writeNode(4,o,c,hv(i)),i}}function Bs(e,n,t=1064960,r=mv("")){const i=x.noErrorTruncation||1&t,a=se.typeToTypeNode(e,n,70221824|Hs(t)|(i?1:0));if(void 0===a)return Nt.fail("should always get typenode");const o=e!==hn?WV():KV(),s=n&&Ip(n);o.writeNode(4,a,s,r);const c=r.getText(),l=i?2*l_:2*c_;return l&&c&&c.length>=l?c.substr(0,l-3)+"...":c}function Us(e,n){let t=js(e.symbol)?Bs(e,e.symbol.valueDeclaration):Bs(e),r=js(n.symbol)?Bs(n,n.symbol.valueDeclaration):Bs(n);return t===r&&(t=Vs(e),r=Vs(n)),[t,r]}function Vs(e){return Bs(e,void 0,64)}function js(e){return e&&!!e.valueDeclaration&&uu(e.valueDeclaration)&&!EE(e.valueDeclaration)}function Hs(e=0){return 848330091&e}function Ws(e){return!!(e.symbol&&32&e.symbol.flags&&(e===nd(e.symbol)||524288&e.flags&&16777216&qE(e)))}function qs(e,n,t=16384,r){return r?i(r).getText():hp(i);function i(r){const i=pA.createTypePredicateNode(2===e.kind||3===e.kind?pA.createToken(129):void 0,1===e.kind||3===e.kind?pA.createIdentifier(e.parameterName):pA.createThisTypeNode(),e.type&&se.typeToTypeNode(e.type,n,70222336|Hs(t))),a=WV(),o=n&&Ip(n);return a.writeNode(4,i,o,r),r}}function zs(e){return 8===e?"private":16===e?"protected":"public"}function Js(e){return e&&e.parent&&265===e.parent.kind&&Ef(e.parent.parent)}function Xs(e){return 308===e.kind||ff(e)}function Ys(e,n){const t=wa(e).nameType;if(t){if(384&t.flags){const e=""+t.value;return Ks(e,BT(x))||FS(e)?FS(e)&&pt(e,"-")?`[${e}]`:e:`"${ov(e,34)}"`}if(8192&t.flags)return`[${$s(t.symbol,n)}]`}}function $s(e,n){if(n&&"default"===e.escapedName&&!(16384&n.flags)&&(!(16777216&n.flags)||!e.declarations||n.enclosingDeclaration&&Rc(e.declarations[0],Xs)!==Rc(n.enclosingDeclaration,Xs)))return"default";if(e.declarations&&e.declarations.length){let t=C(e.declarations,(e=>Wc(e)?e:void 0));const r=t&&Wc(t);if(t&&r){if(Dk(t)&&$h(t))return Gc(e);if(VC(r)&&!(4096&DE(e))){const t=wa(e).nameType;if(t&&384&t.flags){const t=Ys(e,n);if(void 0!==t)return t}}return Ff(r)}if(t||(t=e.declarations[0]),t.parent&&257===t.parent.kind)return Ff(t.parent.name);switch(t.kind){case 228:case 215:case 216:return!n||n.encounteredError||131072&n.flags||(n.encounteredError=!0),228===t.kind?"(Anonymous class)":"(Anonymous function)"}}const t=Ys(e,n);return void 0!==t?t:Gc(e)}function Qs(e){if(e){const n=Ra(e);return void 0===n.isVisible&&(n.isVisible=!!function(){switch(e.kind){case 341:case 349:case 343:return!!(e.parent&&e.parent.parent&&e.parent.parent.parent&&Aw(e.parent.parent.parent));case 205:return Qs(e.parent.parent);case 257:if(Kd(e.name)&&!e.name.elements.length)return!1;case 264:case 260:case 261:case 262:case 259:case 263:case 268:if(Ef(e))return!0;const n=cc(e);return 1&Lc(e)||268!==e.kind&&308!==n.kind&&16777216&n.flags?Qs(n):Na(n);case 169:case 168:case 174:case 175:case 171:case 170:if(lb(e,24))return!1;case 173:case 177:case 176:case 178:case 166:case 265:case 181:case 182:case 184:case 180:case 185:case 186:case 189:case 190:case 193:case 199:return Qs(e.parent);case 270:case 271:case 273:return!1;case 165:case 308:case 267:return!0;default:return!1}}()),n.isVisible}return!1}function ec(e,n){let t,r,i;return e.parent&&274===e.parent.kind?t=Fa(e,e.escapedText,2998271,void 0,e,!1):278===e.parent.kind&&(t=mo(e.parent,2998271)),t&&(i=new Set,i.add(WG(t)),function e(t){A(t,(t=>{const a=Ja(t)||t;if(n?Ra(t).isVisible=!0:(r=r||[],Le(r,a)),Th(t)){const n=Fa(t,Kb(t.moduleReference).escapedText,901119,void 0,void 0,!1);n&&i&&ie(i,WG(n))&&e(n.declarations)}}))}(t.declarations)),r}function nc(e,n){const t=rc(e,n);if(t>=0){const{length:e}=Ai;for(let n=t;n<e;n++)Li[n]=!1;return!1}return Ai.push(e),Li.push(!0),Ci.push(n),!0}function rc(e,n){for(let t=Ai.length-1;t>=0;t--){if(oc(Ai[t],Ci[t]))return-1;if(Ai[t]===e&&Ci[t]===n)return t}return-1}function oc(e,n){switch(n){case 0:return!!wa(e).type;case 5:return!!Ra(e).resolvedEnumType;case 2:return!!wa(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;case 8:return!!wa(e).writeType;case 9:return void 0!==Ra(e).parameterInitializerContainsUndefined}return Nt.assertNever(n)}function sc(){return Ai.pop(),Ci.pop(),Li.pop()}function cc(e){return Rc(Wy(e),(e=>{switch(e.kind){case 257:case 258:case 273:case 272:case 271:case 270:return!1;default:return!0}})).parent}function lc(e,n){const t=V_(e,n);return t?bl(t):void 0}function dc(e){return e&&0!=(1&e.flags)}function uc(e){return e===mn||!!(1&e.flags&&e.aliasSymbol)}function _c(e,n){if(0!==n)return Cc(e,!1,n);const t=$o(e);return t&&wa(t).type||Cc(e,!1,n)}function pc(e,n,t){if(131072&(e=xL(e,(e=>!(98304&e.flags)))).flags)return bt;if(1048576&e.flags)return LL(e,(e=>pc(e,n,t)));let r=Sg(W(n,hy));const a=[],o=[];for(const n of f_(e)){const e=gy(n,8576);RE(e,r)||24&OE(n)||!Xv(n)?o.push(e):a.push(n)}if(rv(e)||iv(r)){if(o.length&&(r=Sg([r,...o])),131072&r.flags)return e;const n=(Cr||(Cr=pm("Omit",2,!0)||on),Cr===on?void 0:Cr);return n?uf(n,[e,r]):mn}const s=op();for(const e of a)s.set(e.escapedName,Zv(e,!1));const c=ys(t,s,i,i,J_(e));return c.objectFlags|=4194304,c}function fc(e){return!!(465829888&e.flags)&&wD(T_(e)||xn,32768)}function mc(e){return YA(EL(e,fc)?LL(e,(e=>465829888&e.flags?x_(e):e)):e,524288)}function hc(e,n){const t=gc(e);return t?zL(t,n):n}function gc(e){const n=function(e){const n=e.parent.parent;switch(n.kind){case 205:case 299:return gc(n);case 206:return gc(e.parent);case 257:return n.initializer;case 223:return n.right}}(e);if(n&&Cg(n)&&n.flowNode){const t=yc(e);if(t){const r=MN(KN.createStringLiteral(t),e),i=au(n)?n:KN.createParenthesizedExpression(n),a=MN(KN.createElementAccessExpression(i,r),e);return xS(r,a),xS(a,e),i!==n&&xS(i,a),a.flowNode=n.flowNode,a}}}function yc(e){const n=e.parent;return 205===e.kind&&203===n.kind?vc(e.propertyName||e.name):299===e.kind||300===e.kind?vc(e.name):""+n.elements.indexOf(e)}function vc(e){const n=hy(e);return 384&n.flags?""+n.value:void 0}function bc(e,n){if(dc(n))return n;const t=e.parent;let r;if(F&&16777216&e.flags&&Ky(e)?n=jx(n):!F||!t.parent.initializer||65536&JA(lL(t.parent.initializer))||(n=YA(n,524288)),203===t.kind)if(e.dotDotDotToken){if(2&(n=P_(n)).flags||!eI(n))return _a(e,Vo.Rest_types_may_only_be_created_from_object_types),mn;const i=[];for(const e of t.elements)e.dotDotDotToken||i.push(e.propertyName||e.name);r=pc(n,i,e.symbol)}else{const t=e.propertyName||e.name;r=hc(e,pv(n,hy(t),32,t))}else{const i=DM(65|(e.dotDotDotToken?0:128),n,An,t),a=t.elements.indexOf(e);if(e.dotDotDotToken){const e=x_(n);r=TL(e,Nx)?LL(e,(e=>Zh(e,a))):dh(i)}else r=hx(n)?hc(e,yv(n,ab(a),32|(Pk(e)?16:0),e.name)||mn):i}return e.initializer?Jv(Sc(e))?!F||16777216&JA(JD(e,0))?r:mc(r):XD(e,Sg([mc(r),JD(e,0)],2)):r}function Tc(e){const n=Tl(e);if(n)return Lb(n)}function xc(e){const n=Yg(e,!0);return 206===n.kind&&0===n.elements.length}function Ac(e,n=!1,t=!0){return F&&t?Vx(e,n):e}function Cc(e,n,t){if(kI(e)&&246===e.parent.parent.kind){const n=xy(tw(uO(e.parent.parent.expression,t)));return 4456448&n.flags?Cy(n):Dn}if(kI(e)&&247===e.parent.parent.kind)return NM(e.parent.parent)||un;if(Kd(e.parent))return function(e){const n=e.dotDotDotToken?64:0,t=_c(e.parent.parent,n);return t&&bc(e,t)}(e);const r=qC(e)&&!hb(e)||WC(e)||uR(e),i=n&&JS(e),a=ol(e);if(pf(e))return a?dc(a)||a===xn?a:mn:Q?xn:un;if(a)return Ac(a,r,i);if((Y||Ah(e))&&kI(e)&&!Kd(e.name)&&!(1&Lc(e))&&!(16777216&e.flags)){if(!(2&kc(e))&&(!e.initializer||function(e){const n=Yg(e,!0);return 104===n.kind||79===n.kind&&kA(n)===ue}(e.initializer)))return _n;if(e.initializer&&xc(e.initializer))return nr}if(HC(e)){const n=e.parent;if(175===n.kind&&Hd(n)){const t=ip($o(e.parent),174);if(t){const r=up(t),i=fG(n);return i&&e===i?(Nt.assert(!i.type),bl(r.thisParameter)):Sp(r)}}const t=function(e,n){const t=_p(e);if(!t)return;const r=e.parameters.indexOf(n);return n.dotDotDotToken?zN(t,r):WN(t,r)}(n,e);if(t)return t;const r="this"===e.symbol.escapedName?gC(n):yC(e);if(r)return Ac(r,!1,i)}if(Qu(e)&&e.initializer){if(Ah(e)&&!HC(e)){const n=qc(e,$o(e),Uh(e));if(n)return n}return Ac(XD(e,JD(e,t)),r,i)}if(qC(e)&&(Y||Ah(e))){if(_b(e)){const n=j(e.parent.members,XC),t=n.length?function(e,n){const t=pt(e.escapedName,"__#")?pA.createPrivateIdentifier(e.escapedName.split("@")[1]):Mc(e.escapedName);for(const r of n){const n=pA.createPropertyAccessExpression(pA.createThis(),t);xS(n.expression,n),xS(n,r),n.flowNode=r.returnFlowNode;const i=jc(n,e);if(!Y||i!==_n&&i!==nr||_a(e.valueDeclaration,Vo.Member_0_implicitly_has_an_1_type,Fs(e),Bs(i)),!TL(i,nw))return TM(i)}}(e.symbol,n):2&Tb(e)?zT(e.symbol):void 0;return t&&Ac(t,!0,i)}{const n=os(e.parent),t=n?Uc(e.symbol,n):2&Tb(e)?zT(e.symbol):void 0;return t&&Ac(t,!0,i)}}return _w(e)?Bn:Kd(e.name)?el(e.name,!1,!0):void 0}function Ic(e){if(e.valueDeclaration&&qk(e.valueDeclaration)){const n=wa(e);return void 0===n.isConstructorDeclaredProperty&&(n.isConstructorDeclaredProperty=!1,n.isConstructorDeclaredProperty=!!Bc(e)&&N(e.declarations,(n=>qk(n)&&CC(n)&&(209!==n.left.kind||Ly(n.left.argumentExpression))&&!Xc(void 0,n,e,n)))),n.isConstructorDeclaredProperty}return!1}function Nc(e){const n=e.valueDeclaration;return n&&qC(n)&&!Jv(n)&&!n.initializer&&(Y||Ah(n))}function Bc(e){if(e.declarations)for(const n of e.declarations){const e=Jm(n,!1,!1);if(e&&(173===e.kind||gN(e)))return e}}function Uc(e,n){const t=pt(e.escapedName,"__#")?pA.createPrivateIdentifier(e.escapedName.split("@")[1]):Mc(e.escapedName),r=pA.createPropertyAccessExpression(pA.createThis(),t);xS(r.expression,r),xS(r,n),r.flowNode=n.returnFlowNode;const i=jc(r,e);return!Y||i!==_n&&i!==nr||_a(e.valueDeclaration,Vo.Member_0_implicitly_has_an_1_type,Fs(e),Bs(i)),TL(i,nw)?void 0:TM(i)}function jc(e,n){const t=(null==n?void 0:n.valueDeclaration)&&(!Nc(n)||2&Tb(n.valueDeclaration))&&zT(n)||An;return zL(e,_n,t)}function Kc(e,n){const t=Vh(e.valueDeclaration);if(t){const n=Ah(t)?El(t):void 0;return n&&n.typeExpression?Lb(n.typeExpression):e.valueDeclaration&&qc(e.valueDeclaration,e,t)||kx(qD(t))}let r,i=!1,a=!1;if(Ic(e)&&(r=Uc(e,Bc(e))),!r){let t;if(e.declarations){let o;for(const r of e.declarations){const s=qk(r)||Dk(r)?r:eT(r)?qk(r.parent)?r.parent:r:void 0;if(!s)continue;const c=eT(s)?og(s):Yh(s);(4===c||qk(s)&&CC(s,c))&&(Qc(s)?i=!0:a=!0),Dk(s)||(o=Xc(o,s,e,r)),o||(t||(t=[])).push(qk(s)||Dk(s)?$c(e,n,s,c):qn)}r=o}if(!r){if(!S(t))return mn;let n=i&&e.declarations?function(e,n){return Nt.assert(e.length===n.length),e.filter(((e,t)=>{const r=n[t],i=qk(r)?r:qk(r.parent)?r.parent:void 0;return i&&Qc(i)}))}(t,e.declarations):void 0;if(a){const t=zT(e);t&&((n||(n=[])).push(t),i=!0)}r=Sg(ce(n,(e=>!!(-98305&e.flags)))?n:t)}}const o=ES(Ac(r,!1,a&&!i));return e.valueDeclaration&&xL(o,(e=>!!(-98305&e.flags)))===qn?(LS(e.valueDeclaration,un),un):o}function qc(e,n,t){var r,a;if(!Ah(e)||!t||!wk(t)||t.properties.length)return;const o=op();for(;qk(e)||Rk(e);){const n=Qo(e);(null==(r=null==n?void 0:n.exports)?void 0:r.size)&&ka(o,n.exports),e=qk(e)?e.parent:e.parent.parent}const s=Qo(e);(null==(a=null==s?void 0:s.exports)?void 0:a.size)&&ka(o,s.exports);const c=ys(n,o,i,i,i);return c.objectFlags|=4096,c}function Xc(e,n,t,r){var i;const a=Jv(n.parent);if(a){const n=ES(Lb(a));if(!e)return n;uc(e)||uc(n)||AE(e,n)||SM(void 0,e,r,n)}if(null==(i=t.parent)?void 0:i.valueDeclaration){const e=Jv(t.parent.valueDeclaration);if(e){const n=V_(Lb(e),t.escapedName);if(n)return xl(n)}}return e}function $c(e,n,t,r){if(Dk(t)){if(n)return bl(n);const e=qD(t.arguments[2]),r=lc(e,"value");if(r)return r;const i=lc(e,"get");if(i){const e=IR(i);if(e)return Sp(e)}const a=lc(e,"set");if(a){const e=IR(a);if(e)return ZN(e)}return un}if(function(e,n){return Rk(e)&&108===e.expression.kind&&TD(n,(n=>NA(e,n)))}(t.left,t.right))return un;const i=1===r&&(Rk(t.left)||Nk(t.left))&&(Xh(t.left.expression)||AC(t.left.expression)&&zh(t.left.expression)),a=n?bl(n):i?tb(qD(t.right)):kx(qD(t.right));if(524288&a.flags&&2===r&&"export="===e.escapedName){const t=d_(a),r=op();mp(t.members,r);const i=r.size;n&&!n.exports&&(n.exports=op()),(n||e).exports.forEach(((e,n)=>{var t;const i=r.get(n);if(!i||i===e||2097152&e.flags)r.set(n,e);else if(111551&e.flags&&111551&i.flags){if(e.valueDeclaration&&i.valueDeclaration&&Ip(e.valueDeclaration)!==Ip(i.valueDeclaration)){const n=Mc(e.escapedName),r=(null==(t=En(i.valueDeclaration,Hc))?void 0:t.name)||i.valueDeclaration;iS(_a(e.valueDeclaration,Vo.Duplicate_identifier_0,n),Hf(r,Vo._0_was_also_declared_here,n)),iS(_a(r,Vo.Duplicate_identifier_0,n),Hf(e.valueDeclaration,Vo._0_was_also_declared_here,n))}const a=va(e.flags|i.flags,n);a.links.type=Sg([bl(e),bl(i)]),a.valueDeclaration=i.valueDeclaration,a.declarations=de(i.declarations,e.declarations),r.set(n,a)}else r.set(n,Aa(e,i))}));const o=ys(i!==r.size?void 0:t.symbol,r,t.callSignatures,t.constructSignatures,t.indexInfos);if(i===r.size&&(a.aliasSymbol&&(o.aliasSymbol=a.aliasSymbol,o.aliasTypeArguments=a.aliasTypeArguments),4&qE(a))){o.aliasSymbol=a.symbol;const e=sf(a);o.aliasTypeArguments=S(e)?e:void 0}return o.objectFlags|=4096&qE(a),o.symbol&&32&o.symbol.flags&&a===nd(o.symbol)&&(o.objectFlags|=16777216),o}return vx(a)?(LS(t,er),er):a}function Qc(e){const n=Jm(e,!1,!1);return 173===n.kind||259===n.kind||215===n.kind&&!cg(n.parent)}function Zc(e,n,t){return e.initializer?Ac(XD(e,JD(e,0,Kd(e.name)?el(e.name,!0,!1):xn))):Kd(e.name)?el(e.name,n,t):(t&&!al(e)&&LS(e,un),n?yn:un)}function el(e,n=!1,t=!1){return 203===e.kind?function(e,n,t){const r=op();let a,o=131200;A(e.elements,(e=>{const i=e.propertyName||e.name;if(e.dotDotDotToken)return void(a=Hp(Dn,un,!1));const s=hy(i);if(!Fd(s))return void(o|=512);const c=qd(s),l=va(4|(e.initializer?16777216:0),c);l.links.type=Zc(e,n,t),l.links.bindingElement=e,r.set(l.escapedName,l)}));const s=ys(void 0,r,i,i,a?[a]:i);return s.objectFlags|=o,n&&(s.pattern=e,s.objectFlags|=131072),s}(e,n,t):function(e,n,t){const r=e.elements,i=Fe(r),a=i&&205===i.kind&&i.dotDotDotToken?i:void 0;if(0===r.length||1===r.length&&a)return L>=2?lh(un):er;const o=W(r,(e=>Qk(e)?un:Zc(e,n,t))),s=P(r,(e=>!(e===a||Qk(e)||Pk(e))),r.length-1)+1;let c=Mh(o,W(r,((e,n)=>e===a?4:n>=s?2:1)));return n&&(c=rf(c),c.pattern=e,c.objectFlags|=131072),c}(e,n,t)}function tl(e,n){return rl(Cc(e,!0,0),e,n)}function rl(e,n,t){return e?(4096&e.flags&&function(e){const n=Qo(e),t=ar||(ar=_m("SymbolConstructor",!1));return t&&n&&n===t}(n.parent)&&(e=Eb(n)),t&&CS(n,e),8192&e.flags&&(kk(n)||!n.type)&&e.symbol!==$o(n)&&(e=Kn),ES(e)):(e=HC(n)&&n.dotDotDotToken?er:un,t&&(al(n)||LS(n,e)),e)}function al(e){const n=Wy(e);return IO(166===n.kind?n.parent:n)}function ol(e){const n=Jv(e);if(n)return Lb(n)}function sl(e){if(e)switch(e.kind){case 174:return Yv(e);case 175:return Qv(e);case 169:return Nt.assert(hb(e)),Jv(e)}}function cl(e){const n=sl(e);return n&&Lb(n)}function ll(e){const n=wa(e);if(!n.type){if(!nc(e,0))return mn;const t=ip(e,174),r=ip(e,175),i=En(ip(e,169),Md);let a=t&&Ah(t)&&Tc(t)||cl(t)||cl(r)||cl(i)||t&&t.body&&dD(t)||i&&i.initializer&&tl(i,!0);a||(r&&!IO(r)?fa(Y,r,Vo.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,Fs(e)):t&&!IO(t)?fa(Y,t,Vo.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,Fs(e)):i&&!IO(i)&&fa(Y,i,Vo.Member_0_implicitly_has_an_1_type,Fs(e),"any"),a=un),sc()||(sl(t)?_a(t,Vo._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Fs(e)):sl(r)||sl(i)?_a(r,Vo._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Fs(e)):t&&Y&&_a(t,Vo._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,Fs(e)),a=un),n.type=a}return n.type}function dl(e){var n;const t=wa(e);if(!t.writeType){if(!nc(e,8))return mn;const r=null!=(n=ip(e,175))?n:En(ip(e,169),Md);let i=cl(r);sc()||(sl(r)&&_a(r,Vo._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Fs(e)),i=un),t.writeType=i||ll(e)}return t.writeType}function ul(e){const n=Xl(nd(e));return 8650752&n.flags?n:2097152&n.flags?D(n.types,(e=>!!(8650752&e.flags))):void 0}function _l(e){let n=wa(e);const t=n;if(!n.type){const r=e.valueDeclaration&&bN(e.valueDeclaration,!1);if(r){const t=yN(e,r);t&&(e=t,n=t.links)}t.type=n.type=function(e){const n=e.valueDeclaration;if(1536&e.flags&&yf(e))return un;if(n&&(223===n.kind||eT(n)&&223===n.parent.kind))return Kc(e);if(512&e.flags&&n&&Aw(n)&&n.commonJsModuleIndicator){const n=Go(e);if(n!==e){if(!nc(e,0))return mn;const t=Yo(e.exports.get("export=")),r=Kc(t,t===n?void 0:n);return sc()?r:ml(e)}}const t=_s(16,e);if(32&e.flags){const n=ul(e);return n?Wg([t,n]):t}return F&&16777216&e.flags?Vx(t):t}(e)}return n.type}function pl(e){const n=wa(e);return n.type||(n.type=ld(e))}function ml(e){const n=e.valueDeclaration;return Jv(n)?(_a(e.valueDeclaration,Vo._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Fs(e)),mn):(Y&&(166!==n.kind||n.initializer)&&_a(e.valueDeclaration,Vo._0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer,Fs(e)),un)}function yl(e){const n=wa(e);return n.type||(Nt.assertIsDefined(n.deferralParent),Nt.assertIsDefined(n.deferralConstituents),n.type=1048576&n.deferralParent.flags?Sg(n.deferralConstituents):Wg(n.deferralConstituents)),n.type}function vl(e){const n=DE(e);return 4&e.flags?2&n?65536&n?function(e){const n=wa(e);return!n.writeType&&n.deferralWriteConstituents&&(Nt.assertIsDefined(n.deferralParent),Nt.assertIsDefined(n.deferralConstituents),n.writeType=1048576&n.deferralParent.flags?Sg(n.deferralWriteConstituents):Wg(n.deferralWriteConstituents)),n.writeType}(e)||yl(e):e.links.writeType||e.links.type:bl(e):98304&e.flags?1&n?function(e){const n=wa(e);return n.writeType||(n.writeType=hE(vl(n.target),n.mapper))}(e):dl(e):bl(e)}function bl(e){const n=DE(e);return 65536&n?yl(e):1&n?function(e){const n=wa(e);return n.type||(n.type=hE(bl(n.target),n.mapper))}(e):262144&n?function(e){if(!e.links.type){const n=e.links.mappedType;if(!nc(e,0))return n.containsError=!0,mn;const t=hE(Gu(n.target||n),aE(n.mapper,Ou(n),e.links.keyType));let r=F&&16777216&e.flags&&!wD(t,49152)?Vx(t,!0):524288&e.links.checkFlags?Yx(t):t;sc()||(_a(a,Vo.Type_of_property_0_circularly_references_itself_in_mapped_type_1,Fs(e),Bs(n)),r=mn),e.links.type=r}return e.links.type}(e):8192&n?function(e){const n=wa(e);return n.type||(n.type=oA(e.links.propertyType,e.links.mappedType,e.links.constraintType)),n.type}(e):7&e.flags?function(e){const n=wa(e);if(!n.type){const t=function(e){if(4194304&e.flags)return function(e){const n=_d(Zo(e));return n.typeParameters?nf(n,W(n.typeParameters,(e=>un))):n}(e);if(e===ge)return un;if(134217728&e.flags&&e.valueDeclaration){const n=$o(Ip(e.valueDeclaration)),t=va(n.flags,"exports");t.declarations=n.declarations?n.declarations.slice():[],t.parent=e,t.links.target=n,n.valueDeclaration&&(t.valueDeclaration=n.valueDeclaration),n.members&&(t.members=new Map(n.members)),n.exports&&(t.exports=new Map(n.exports));const r=op();return r.set("exports",t),ys(e,r,i,i,i)}Nt.assertIsDefined(e.valueDeclaration);const n=e.valueDeclaration;if(Aw(n)&&rm(n))return n.statements.length?ES(kx(uO(n.statements[0].expression))):bt;if(Od(n))return ll(e);if(!nc(e,0))return 512&e.flags&&!(67108864&e.flags)?_l(e):ml(e);let t;if(274===n.kind)t=rl(ol(n)||qD(n.expression),n);else if(qk(n)||Ah(n)&&(Dk(n)||(Rk(n)||ng(n))&&qk(n.parent)))t=Kc(e);else if(Rk(n)||Nk(n)||AC(n)||t_(n)||oC(n)||RI(n)||wI(n)||JC(n)&&!Om(n)||zC(n)||Aw(n)){if(9136&e.flags)return _l(e);t=qk(n.parent)?Kc(e):ol(n)||un}else if(bw(n))t=ol(n)||ZD(n);else if(_w(n))t=ol(n)||iI(n);else if(Ew(n))t=ol(n)||QD(n.name,0);else if(Om(n))t=ol(n)||eO(n,0);else if(HC(n)||qC(n)||WC(n)||kI(n)||kk(n)||Yl(n))t=tl(n,!0);else if(OI(n))t=_l(e);else{if(!xw(n))return Nt.fail("Unhandled declaration kind! "+Nt.formatSyntaxKind(n.kind)+" for "+Nt.formatSymbol(e));t=pl(e)}return sc()?t:512&e.flags&&!(67108864&e.flags)?_l(e):ml(e)}(e);return n.type||function(e){let n=e.valueDeclaration;return!!n&&(kk(n)&&(n=Sc(n)),!!HC(n)&&xE(n.parent))}(e)||(n.type=t),t}return n.type}(e):9136&e.flags?_l(e):8&e.flags?pl(e):98304&e.flags?ll(e):2097152&e.flags?function(e){const n=wa(e);if(!n.type){const t=To(e),r=e.declarations&&yo(Xa(e),!0),i=C(null==r?void 0:r.declarations,(e=>XI(e)?ol(e):void 0));n.type=(null==r?void 0:r.declarations)&&UP(r.declarations)&&e.declarations.length?function(e){const n=Ip(e.declarations[0]),t=Mc(e.escapedName),r=e.declarations.every((e=>Ah(e)&&eT(e)&&Xh(e.expression))),i=r?pA.createPropertyAccessExpression(pA.createPropertyAccessExpression(pA.createIdentifier("module"),pA.createIdentifier("exports")),t):pA.createPropertyAccessExpression(pA.createIdentifier("exports"),t);return r&&xS(i.expression.expression,i.expression),xS(i.expression,i),xS(i,n),i.flowNode=n.endFlowNode,zL(i,_n,An)}(r):UP(e.declarations)?_n:i||(111551&xo(t)?bl(t):mn)}return n.type}(e):mn}function xl(e){return Jx(bl(e),!!(16777216&e.flags))}function Sl(e,n){return void 0!==e&&void 0!==n&&0!=(4&qE(e))&&e.target===n}function Ll(e){return 4&qE(e)?e.target:e}function Cl(e,n){return function e(t){if(7&qE(t)){const r=Ll(t);return r===n||ce(Ql(r),e)}return!!(2097152&t.flags)&&ce(t.types,e)}(e)}function Il(e,n){for(const t of n)e=Ce(e,dd($o(t)));return e}function Dl(e,n){for(;;){if((e=e.parent)&&qk(e)){const n=Yh(e);if(6===n||3===n){const n=$o(e.left);n&&n.parent&&!Rc(n.parent.valueDeclaration,(n=>e===n))&&(e=n.parent.valueDeclaration)}}if(!e)return;switch(e.kind){case 260:case 228:case 261:case 176:case 177:case 170:case 181:case 182:case 320:case 259:case 171:case 215:case 216:case 262:case 348:case 349:case 343:case 341:case 197:case 191:{const t=Dl(e,n);if(197===e.kind)return Te(t,dd($o(e.typeParameter)));if(191===e.kind)return de(t,wv(e));const r=Il(t,Rl(e)),i=n&&(260===e.kind||228===e.kind||261===e.kind||gN(e))&&nd($o(e)).thisType;return i?Te(r,i):r}case 344:const t=Dg(e);t&&(e=t.valueDeclaration);break;case 323:{const t=Dl(e,n);return e.tags?Il(t,X(e.tags,(e=>cR(e)?e.typeParameters:void 0))):t}}}}function Ml(e){var n;const t=32&e.flags||16&e.flags?e.valueDeclaration:null==(n=e.declarations)?void 0:n.find((e=>{if(261===e.kind)return!0;if(257!==e.kind)return!1;const n=e.initializer;return!!n&&(215===n.kind||216===n.kind)}));return Nt.assert(!!t,"Class was missing valueDeclaration -OR- non-class had no interface declarations"),Dl(t)}function Pl(e){if(!e.declarations)return;let n;for(const t of e.declarations)(261===t.kind||260===t.kind||228===t.kind||gN(t)||Tg(t))&&(n=Il(n,Rl(t)));return n}function Kl(e){const n=H_(e,1);if(1===n.length){const e=n[0];if(!e.typeParameters&&1===e.parameters.length&&QG(e)){const n=GN(e.parameters[0]);return dc(n)||mx(n)===un}}return!1}function Wl(e){if(H_(e,1).length>0)return!0;if(8650752&e.flags){const n=T_(e);return!!n&&Kl(n)}return!1}function ql(e){const n=WE(e.symbol);return n&&ly(n)}function zl(e,n,t){const r=S(n),i=Ah(t);return j(H_(e,1),(e=>(i||r>=lp(e.typeParameters))&&r<=S(e.typeParameters)))}function Jl(e,n,t){const r=zl(e,n,t),i=W(n,Lb);return z(r,(e=>ce(e.typeParameters)?Dp(e,i,Ah(t)):e))}function Xl(e){if(!e.resolvedBaseConstructorType){const n=WE(e.symbol),t=n&&ly(n),r=ql(e);if(!r)return e.resolvedBaseConstructorType=An;if(!nc(e,1))return mn;const i=uO(r.expression);if(t&&r!==t&&(Nt.assert(!t.typeArguments),uO(t.expression)),2621440&i.flags&&d_(i),!sc())return _a(e.symbol.valueDeclaration,Vo._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,Fs(e.symbol)),e.resolvedBaseConstructorType=mn;if(!(1&i.flags||i===Nn||Wl(i))){const n=_a(r.expression,Vo.Type_0_is_not_a_constructor_function_type,Bs(i));if(262144&i.flags){const e=Xp(i);let t=xn;if(e){const n=H_(e,1);n[0]&&(t=Sp(n[0]))}i.symbol.declarations&&iS(n,Hf(i.symbol.declarations[0],Vo.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1,Fs(i.symbol),Bs(t)))}return e.resolvedBaseConstructorType=mn}e.resolvedBaseConstructorType=i}return e.resolvedBaseConstructorType}function $l(e,n){_a(e,Vo.Type_0_recursively_references_itself_as_a_base_type,Bs(n,void 0,2))}function Ql(e){if(!e.baseTypesResolved){if(nc(e,7)&&(8&e.objectFlags?e.resolvedBaseTypes=[Zl(e)]:96&e.symbol.flags?(32&e.symbol.flags&&function(e){e.resolvedBaseTypes=o_;const n=w_(Xl(e));if(!(2621441&n.flags))return e.resolvedBaseTypes=i;const t=ql(e);let r;const a=n.symbol?_d(n.symbol):void 0;if(n.symbol&&32&n.symbol.flags&&function(e){const n=e.outerTypeParameters;if(n){const t=n.length-1,r=sf(e);return n[t].symbol!==r[t].symbol}return!0}(a))r=df(t,n.symbol);else if(1&n.flags)r=n;else{const a=Jl(n,t.typeArguments,t);if(!a.length)return _a(t.expression,Vo.No_base_constructor_has_the_specified_number_of_type_arguments),e.resolvedBaseTypes=i;r=Sp(a[0])}if(uc(r))return e.resolvedBaseTypes=i;const o=P_(r);if(!ed(o)){const n=kT(U_(void 0,r),Vo.Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members,Bs(o));return Ji.add(qf(Ip(t.expression),t.expression,n)),e.resolvedBaseTypes=i}if(e===o||Cl(o,e))return _a(e.symbol.valueDeclaration,Vo.Type_0_recursively_references_itself_as_a_base_type,Bs(e,void 0,2)),e.resolvedBaseTypes=i;e.resolvedBaseTypes===o_&&(e.members=void 0),e.resolvedBaseTypes=[o]}(e),64&e.symbol.flags&&function(e){if(e.resolvedBaseTypes=e.resolvedBaseTypes||i,e.symbol.declarations)for(const n of e.symbol.declarations)if(261===n.kind&&py(n))for(const t of py(n)){const r=P_(Lb(t));uc(r)||(ed(r)?e===r||Cl(r,e)?$l(n,e):e.resolvedBaseTypes===i?e.resolvedBaseTypes=[r]:e.resolvedBaseTypes.push(r):_a(t,Vo.An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members))}}(e)):Nt.fail("type must be class or interface"),!sc()&&e.symbol.declarations))for(const n of e.symbol.declarations)260!==n.kind&&261!==n.kind||$l(n,e);e.baseTypesResolved=!0}return e.resolvedBaseTypes}function Zl(e){return dh(Sg(z(e.typeParameters,((n,t)=>8&e.elementFlags[t]?pv(n,On):n))||i),e.readonly)}function ed(e){if(262144&e.flags){const n=T_(e);if(n)return ed(n)}return!!(67633153&e.flags&&!n_(e)||2097152&e.flags&&N(e.types,ed))}function nd(e){let n=wa(e);const t=n;if(!n.declaredType){const r=32&e.flags?1:2,i=yN(e,e.valueDeclaration&&function(e){var n;const t=e&&bN(e,!0),r=null==(n=null==t?void 0:t.exports)?void 0:n.get("prototype"),i=(null==r?void 0:r.valueDeclaration)&&function(e){if(!e.parent)return!1;let n=e.parent;for(;n&&208===n.kind;)n=n.parent;if(n&&qk(n)&&Jb(n.left)&&63===n.operatorToken.kind){const e=sg(n);return wk(e)&&e}}(r.valueDeclaration);return i?$o(i):void 0}(e.valueDeclaration));i&&(e=i,n=i.links);const a=t.declaredType=n.declaredType=_s(r,e),o=Ml(e),s=Pl(e);(o||s||1===r||!function(e){if(!e.declarations)return!0;for(const n of e.declarations)if(261===n.kind){if(128&n.flags)return!1;const e=py(n);if(e)for(const n of e)if(Hb(n.expression)){const e=No(n.expression,788968,!0);if(!e||!(64&e.flags)||nd(e).thisType)return!1}}return!0}(e))&&(a.objectFlags|=4,a.typeParameters=de(o,s),a.outerTypeParameters=o,a.localTypeParameters=s,a.instantiations=new Map,a.instantiations.set($p(a.typeParameters),a),a.target=a,a.resolvedTypeArguments=a.typeParameters,a.thisType=ps(e),a.thisType.isThisType=!0,a.thisType.constraint=a)}return n.declaredType}function td(e){var n;const t=wa(e);if(!t.declaredType){if(!nc(e,2))return mn;const r=Nt.checkDefined(null==(n=e.declarations)?void 0:n.find(Tg),"Type alias symbol with no valid declaration found"),i=Eg(r)?r.typeExpression:r.type;let a=i?Lb(i):mn;if(sc()){const n=Pl(e);n&&(t.typeParameters=n,t.instantiations=new Map,t.instantiations.set($p(n),a))}else a=mn,343===r.kind?_a(r.typeExpression.type,Vo.Type_alias_0_circularly_references_itself,Fs(e)):_a(Hc(r)&&r.name||r,Vo.Type_alias_0_circularly_references_itself,Fs(e));t.declaredType=a}return t.declaredType}function ad(e){return 1056&e.flags&&8&e.symbol.flags?_d(Zo(e.symbol)):e}function od(e){const n=wa(e);if(!n.declaredType){const t=[];if(e.declarations)for(const n of e.declarations)if(263===n.kind)for(const r of n.members)if(Hd(r)){const n=$o(r),i=RF(r),a=nb(void 0!==i?bb(i,WG(e),n):sd(n));wa(n).declaredType=a,t.push(tb(a))}const r=t.length?Sg(t,1,e,void 0):sd(e);1048576&r.flags&&(r.flags|=1024,r.symbol=e),n.declaredType=r}return n.declaredType}function sd(e){const n=cs(32,e),t=cs(32,e);return n.regularType=n,n.freshType=t,t.regularType=n,t.freshType=t,n}function ld(e){const n=wa(e);if(!n.declaredType){const t=od(Zo(e));n.declaredType||(n.declaredType=t)}return n.declaredType}function dd(e){const n=wa(e);return n.declaredType||(n.declaredType=ps(e))}function _d(e){return pd(e)||mn}function pd(e){return 96&e.flags?nd(e):524288&e.flags?td(e):262144&e.flags?dd(e):384&e.flags?od(e):8&e.flags?ld(e):2097152&e.flags?function(e){const n=wa(e);return n.declaredType||(n.declaredType=_d(To(e)))}(e):void 0}function md(e){switch(e.kind){case 131:case 157:case 152:case 148:case 160:case 134:case 153:case 149:case 114:case 155:case 144:case 198:return!0;case 185:return md(e.elementType);case 180:return!e.typeArguments||e.typeArguments.every(md)}return!1}function yd(e){const n=Nl(e);return!n||md(n)}function vd(e){const n=Jv(e);return n?md(n):!$u(e)}function bd(e){if(e.declarations&&1===e.declarations.length){const n=e.declarations[0];if(n)switch(n.kind){case 169:case 168:return vd(n);case 171:case 170:case 173:case 174:case 175:return function(e){const n=Yv(e),t=Rl(e);return(173===e.kind||!!n&&md(n))&&e.parameters.every(vd)&&t.every(yd)}(n)}}return!1}function Sd(e,n,t){const r=op();for(const i of e)r.set(i.escapedName,t&&bd(i)?i:cE(i,n));return r}function Id(e,n){for(const t of n)e.has(t.escapedName)||wd(t)||e.set(t.escapedName,t)}function wd(e){return!!e.valueDeclaration&&hd(e.valueDeclaration)&&ub(e.valueDeclaration)}function Pd(e){if(!e.declaredProperties){const n=e.symbol,t=Xd(n);e.declaredProperties=ms(t),e.declaredCallSignatures=i,e.declaredConstructSignatures=i,e.declaredIndexInfos=i,e.declaredCallSignatures=vp(t.get("__call")),e.declaredConstructSignatures=vp(t.get("__new")),e.declaredIndexInfos=Kp(n)}return e}function Fd(e){return!!(8576&e.flags)}function Gd(e){if(!VC(e)&&!Nk(e))return!1;const n=VC(e)?e.expression:e.argumentExpression;return Hb(n)&&Fd(VC(e)?jk(e):qD(n))}function Bd(e){return 95===e.charCodeAt(0)&&95===e.charCodeAt(1)&&64===e.charCodeAt(2)}function Ud(e){const n=Wc(e);return!!n&&Gd(n)}function Hd(e){return!ky(e)||Ud(e)}function qd(e){return 8192&e.flags?e.escapedName:384&e.flags?Oc(""+e.value):Nt.fail()}function zd(e,n,t,r){Nt.assert(!!r.symbol,"The member is expected to have a symbol.");const i=Ra(r);if(!i.resolvedSymbol){i.resolvedSymbol=r.symbol;const a=qk(r)?r.left:r.name,o=Nk(a)?qD(a.argumentExpression):jk(a);if(Fd(o)){const s=qd(o),c=r.symbol.flags;let l=t.get(s);l||t.set(s,l=va(0,s,4096));const d=n&&n.get(s);if(l.flags&Ta(c)||d){const e=d?de(d.declarations,l.declarations):l.declarations,n=!(8192&o.flags)&&Mc(s)||Ff(a);A(e,(e=>_a(Wc(e)||e,Vo.Property_0_was_also_declared_here,n))),_a(a||r,Vo.Duplicate_property_0,n),l=va(0,s,4096)}return l.links.nameType=o,function(e,n,t){Nt.assert(!!(4096&DE(e)),"Expected a late-bound symbol."),e.flags|=t,wa(n.symbol).lateSymbol=e,e.declarations?n.symbol.isReplaceableByMethod||e.declarations.push(n):e.declarations=[n],111551&t&&(e.valueDeclaration&&e.valueDeclaration.kind===n.kind||(e.valueDeclaration=n))}(l,r,c),l.parent?Nt.assert(l.parent===e,"Existing symbol parent should match new one"):l.parent=e,i.resolvedSymbol=l}}return i.resolvedSymbol}function Jd(e,n){const t=wa(e);if(!t[n]){const r="resolvedExports"===n,a=r?1536&e.flags?Xo(e).exports:e.exports:e.members;t[n]=a||E;const o=op();for(const n of e.declarations||i){const t=Sm(n);if(t)for(const n of t)r===_b(n)&&Ud(n)&&zd(e,a,o,n)}const s=e.assignmentDeclarationMembers;if(s){const n=Qe(s.values());for(const t of n){const n=Yh(t);r===!(3===n||qk(t)&&CC(t,n)||9===n||6===n)&&Ud(t)&&zd(e,a,o,t)}}t[n]=function(e,n){if(!(null==e?void 0:e.size))return n;if(!(null==n?void 0:n.size))return e;const t=op();return ka(t,e),ka(t,n),t}(a,o)||E}return t[n]}function Xd(e){return 6256&e.flags?Jd(e,"resolvedMembers"):e.members||E}function Yd(e){if(106500&e.flags&&"__computed"===e.escapedName){const n=wa(e);if(!n.lateSymbol&&ce(e.declarations,Ud)){const n=Yo(e.parent);ce(e.declarations,_b)?qo(n):Xd(n)}return n.lateSymbol||(n.lateSymbol=e)}return e}function $d(e,n,t){if(4&qE(e)){const r=e.target,i=sf(e);if(S(r.typeParameters)===S(i)){const e=nf(r,de(i,[n||r.thisType]));return t?w_(e):e}}else if(2097152&e.flags){const r=z(e.types,(e=>$d(e,n,t)));return r!==e.types?Wg(r):e}return t?w_(e):e}function Qd(e,n,t,r){let i,a,o,s,c;Ne(t,r,0,t.length)?(a=n.symbol?Xd(n.symbol):op(n.declaredProperties),o=n.declaredCallSignatures,s=n.declaredConstructSignatures,c=n.declaredIndexInfos):(i=Fb(t,r),a=Sd(n.declaredProperties,i,1===t.length),o=Nb(n.declaredCallSignatures,i),s=Nb(n.declaredConstructSignatures,i),c=Db(n.declaredIndexInfos,i));const l=Ql(n);if(l.length){n.symbol&&a===Xd(n.symbol)&&(a=op(n.declaredProperties)),gs(e,a,o,s,c);const t=Fe(r);for(const e of l){const n=t?$d(hE(e,i),t):e;Id(a,f_(n)),o=de(o,H_(n,0)),s=de(s,H_(n,1));const r=n!==un?J_(n):[Hp(Dn,un,!1)];c=de(c,j(r,(e=>!K_(c,e.keyType))))}}gs(e,a,o,s,c)}function Zd(e,n,t,r,i,a,o,s){const c=new p(ve,s);return c.declaration=e,c.typeParameters=n,c.parameters=r,c.thisParameter=t,c.resolvedReturnType=i,c.resolvedTypePredicate=a,c.minArgumentCount=o,c.resolvedMinArgumentCount=void 0,c.target=void 0,c.mapper=void 0,c.compositeSignatures=void 0,c.compositeKind=void 0,c}function nu(e){const n=Zd(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 iu(e,n){const t=nu(e);return t.compositeSignatures=n,t.compositeKind=1048576,t.target=void 0,t.mapper=void 0,t}function ou(e,n){if((24&e.flags)===n)return e;e.optionalCallSignatureCache||(e.optionalCallSignatureCache={});const t=8===n?"inner":"outer";return e.optionalCallSignatureCache[t]||(e.optionalCallSignatureCache[t]=function(e,n){Nt.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.");const t=nu(e);return t.flags|=n,t}(e,n))}function su(e,n){if(QG(e)){const r=e.parameters.length-1,i=bl(e.parameters[r]);if(Nx(i))return[t(i,r)];if(!n&&1048576&i.flags&&N(i.types,Nx))return W(i.types,(e=>t(e,r)))}return[e.parameters];function t(n,t){const r=sf(n),i=n.target.labeledElementDeclarations,a=W(r,((r,a)=>{const o=!!i&&BN(i[a])||UN(e,t+a,n),s=n.target.elementFlags[a],c=va(1,o,12&s?32768:2&s?16384:0);return c.links.type=4&s?dh(r):r,c}));return de(e.parameters.slice(0,t),a)}}function cu(e,n,t,r,i){for(const a of e)if(ex(a,n,t,r,i,t?kE:LE))return a}function lu(e,n,t){if(n.typeParameters){if(t>0)return;for(let t=1;t<e.length;t++)if(!cu(e[t],n,!1,!1,!1))return;return[n]}let r;for(let i=0;i<e.length;i++){const a=i===t?n:cu(e[i],n,!0,!1,!0);if(!a)return;r=Ce(r,a)}return r}function du(e){let n,t;for(let r=0;r<e.length;r++){if(0===e[r].length)return i;e[r].length>1&&(t=void 0===t?r:-1);for(const t of e[r])if(!n||!cu(n,t,!1,!1,!0)){const i=lu(e,t,r);if(i){let e=t;if(i.length>1){let n=t.thisParameter;const r=A(i,(e=>e.thisParameter));r&&(n=Zx(r,Wg(ee(i,(e=>e.thisParameter&&bl(e.thisParameter)))))),e=iu(t,i),e.thisParameter=n}(n||(n=[])).push(e)}}}if(!S(n)&&-1!==t){const r=e[void 0!==t?t:0];let i=r.slice();for(const n of e)if(n!==r){const e=n[0];if(Nt.assert(!!e,"getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass"),i=e.typeParameters&&ce(i,(n=>!!n.typeParameters&&!pu(e.typeParameters,n.typeParameters)))?void 0:W(i,(n=>mu(n,e))),!i)break}n=i}return n||i}function pu(e,n){if(S(e)!==S(n))return!1;if(!e||!n)return!0;const t=Fb(n,e);for(let r=0;r<e.length;r++){const i=e[r],a=n[r];if(i!==a&&!AE(Xp(i)||xn,hE(Xp(a)||xn,t)))return!1}return!0}function mu(e,n){const t=e.typeParameters||n.typeParameters;let r;e.typeParameters&&n.typeParameters&&(r=Fb(n.typeParameters,e.typeParameters));const i=e.declaration,a=function(e,n,t){const r=JN(e),i=JN(n),a=r>=i?e:n,o=a===e?n:e,s=a===e?r:i,c=YN(e)||YN(n),l=c&&!YN(a),d=new Array(s+(l?1:0));for(let u=0;u<s;u++){let _=qN(a,u);a===n&&(_=hE(_,t));let p=qN(o,u)||xn;o===n&&(p=hE(p,t));const f=Wg([_,p]),m=c&&!l&&u===s-1,h=u>=XN(a)&&u>=XN(o),g=u>=r?void 0:UN(e,u),y=u>=i?void 0:UN(n,u),v=va(1|(h&&!m?16777216:0),(g===y?g:g?y?void 0:g:y)||`arg${u}`);v.links.type=m?dh(f):f,d[u]=v}if(l){const e=va(1,"args");e.links.type=dh(WN(o,s)),o===n&&(e.links.type=hE(e.links.type,t)),d[s]=e}return d}(e,n,r),o=function(e,n,t){return e&&n?Zx(e,Wg([bl(e),hE(bl(n),t)])):e||n}(e.thisParameter,n.thisParameter,r),s=Zd(i,t,o,a,void 0,void 0,Math.max(e.minArgumentCount,n.minArgumentCount),39&(e.flags|n.flags));return s.compositeKind=1048576,s.compositeSignatures=de(2097152!==e.compositeKind&&e.compositeSignatures||[e],[n]),r&&(s.mapper=2097152!==e.compositeKind&&e.mapper&&e.compositeSignatures?rE(e.mapper,r):r),s}function bu(e){const n=J_(e[0]);if(n){const t=[];for(const r of n){const n=r.keyType;N(e,(e=>!!X_(e,n)))&&t.push(Hp(n,Sg(W(e,(e=>Y_(e,n)))),ce(e,(e=>X_(e,n).isReadonly))))}return t}return i}function Eu(e,n){return e?n?Wg([e,n]):e:n}function Tu(e){const n=V(e,(e=>H_(e,1).length>0)),t=W(e,Kl);if(n>0&&n===V(t,(e=>e))){const e=t.indexOf(!0);t[e]=!1}return t}function xu(e,n,t,r){const i=[];for(let a=0;a<n.length;a++)a===r?i.push(e):t[a]&&i.push(Sp(H_(n[a],1)[0]));return Wg(i)}function Su(e,n){for(const t of n)e&&!N(e,(e=>!ex(e,t,!1,!1,!1,LE)))||(e=Te(e,t));return e}function Au(e,n,t){if(e)for(let r=0;r<e.length;r++){const i=e[r];if(i.keyType===n.keyType)return e[r]=Hp(i.keyType,t?Sg([i.type,n.type]):Wg([i.type,n.type]),t?i.isReadonly||n.isReadonly:i.isReadonly&&n.isReadonly),e}return Te(e,n)}function Lu(e,n,t){return hE(e,Fb([n.indexType,n.objectType],[ab(0),Mh([t])]))}function wu(e){if(4194304&e.flags){const n=w_(e.type);return Dx(n)?eg(n):xy(n)}if(16777216&e.flags){if(e.root.isDistributive){const n=e.checkType,t=wu(n);if(t!==n)return mE(e,iE(e.root.checkType,t,e.mapper))}return e}if(1048576&e.flags)return LL(e,wu,!0);if(2097152&e.flags){const n=e.types;return 2===n.length&&76&n[0].flags&&n[1]===At?e:Wg(z(e.types,wu))}return e}function Ru(e){return 4096&DE(e)}function Du(e,n,t,r){for(const t of f_(e))r(gy(t,n));if(1&e.flags)r(Dn);else for(const n of J_(e))(!t||134217732&n.keyType.flags)&&r(n.keyType)}function Ou(e){return e.typeParameter||(e.typeParameter=dd($o(e.declaration.typeParameter)))}function Pu(e){return e.constraintType||(e.constraintType=h_(Ou(e))||mn)}function Fu(e){return e.declaration.nameType?e.nameType||(e.nameType=hE(Lb(e.declaration.nameType),e.mapper)):void 0}function Gu(e){return e.templateType||(e.templateType=e.declaration.type?hE(Ac(Lb(e.declaration.type),!0,!!(4&Wu(e))),e.mapper):mn)}function Bu(e){return Nl(e.declaration.typeParameter)}function Vu(e){const n=Bu(e);return 195===n.kind&&141===n.operator}function Hu(e){if(!e.modifiersType)if(Vu(e))e.modifiersType=hE(Lb(Bu(e).type),e.mapper);else{const n=Pu(Ev(e.declaration)),t=n&&262144&n.flags?h_(n):n;e.modifiersType=t&&4194304&t.flags?hE(t.type,e.mapper):xn}return e.modifiersType}function Wu(e){const n=e.declaration;return(n.readonlyToken?40===n.readonlyToken.kind?2:1:0)|(n.questionToken?40===n.questionToken.kind?8:4:0)}function qu(e){const n=Wu(e);return 8&n?-1:4&n?1:0}function Zu(e){const n=qu(e),t=Hu(e);return n||(n_(t)?qu(t):0)}function n_(e){if(32&qE(e)){const n=Pu(e);if(iv(n))return!0;const t=Fu(e);if(t&&iv(hE(t,Vb(Ou(e),n))))return!0}return!1}function d_(e){return e.members||(524288&e.flags?4&e.objectFlags?function(e){const n=Pd(e.target),t=de(n.typeParameters,[n.thisType]),r=sf(e);Qd(e,n,t,r.length===t.length?r:de(r,[e]))}(e):3&e.objectFlags?function(e){Qd(e,Pd(e),i,i)}(e):1024&e.objectFlags?function(e){const n=X_(e.source,Dn),t=Wu(e.mappedType),r=!(1&t),a=4&t?0:16777216,o=n?[Hp(Dn,oA(n.type,e.mappedType,e.constraintType),r&&n.isReadonly)]:i,s=op();for(const n of f_(e.source)){const t=8192|(r&&xD(n)?8:0),i=va(4|n.flags&a,n.escapedName,t);if(i.declarations=n.declarations,i.links.nameType=wa(n).nameType,i.links.propertyType=bl(n),8388608&e.constraintType.type.flags&&262144&e.constraintType.type.objectType.flags&&262144&e.constraintType.type.indexType.flags){const n=e.constraintType.type.objectType,t=Lu(e.mappedType,e.constraintType.type,n);i.links.mappedType=t,i.links.constraintType=xy(n)}else i.links.mappedType=e.mappedType,i.links.constraintType=e.constraintType;s.set(n.escapedName,i)}gs(e,s,i,i,o)}(e):16&e.objectFlags?function(e){if(e.target)return gs(e,E,i,i,i),void gs(e,Sd(u_(e.target),e.mapper,!1),Nb(H_(e.target,0),e.mapper),Nb(H_(e.target,1),e.mapper),Db(J_(e.target),e.mapper));const n=Yo(e.symbol);if(2048&n.flags){gs(e,E,i,i,i);const t=Xd(n),r=vp(t.get("__call")),a=vp(t.get("__new"));return void gs(e,t,r,a,Kp(n))}let t,r,a=E;if(n.exports&&(a=qo(n),n===fe)){const e=new Map;a.forEach((n=>{var t;418&n.flags||512&n.flags&&(null==(t=n.declarations)?void 0:t.length)&&N(n.declarations,ff)||e.set(n.escapedName,n)})),a=e}if(gs(e,a,i,i,i),32&n.flags){const e=Xl(nd(n));11272192&e.flags?(a=op(function(e){const n=ms(e),t=jp(e);return t?de(n,[t]):n}(a)),Id(a,f_(e))):e===un&&(r=Hp(Dn,un,!1))}const o=jp(a);if(o?t=Wp(o):(r&&(t=Te(t,r)),384&n.flags&&(32&_d(n).flags||ce(e.properties,(e=>!!(296&bl(e).flags))))&&(t=Te(t,Zr))),gs(e,a,i,i,t||i),8208&n.flags&&(e.callSignatures=vp(n)),32&n.flags){const t=nd(n);let r=n.members?vp(n.members.get("__constructor")):i;16&n.flags&&(r=Ae(r.slice(),ee(e.callSignatures,(e=>gN(e.declaration)?Zd(e.declaration,e.typeParameters,e.thisParameter,e.parameters,t,void 0,e.minArgumentCount,39&e.flags):void 0)))),r.length||(r=function(e){const n=H_(Xl(e),1),t=WE(e.symbol),r=!!t&&db(t,256);if(0===n.length)return[Zd(void 0,e.localTypeParameters,void 0,i,e,void 0,0,r?4:0)];const a=ql(e),o=Ah(a),s=Jf(a),c=S(s),l=[];for(const t of n){const n=lp(t.typeParameters),i=S(t.typeParameters);if(o||c>=n&&c<=i){const a=i?Mp(t,dp(s,t.typeParameters,n,o)):nu(t);a.typeParameters=e.localTypeParameters,a.resolvedReturnType=e,a.flags=r?4|a.flags:-5&a.flags,l.push(a)}}return l}(t)),e.constructSignatures=r}}(e):32&e.objectFlags?function(e){const n=op();let t;gs(e,E,i,i,i);const r=Ou(e),a=Pu(e),o=Fu(e.target||e),s=o&&RE(o,r),c=Gu(e.target||e),l=w_(Hu(e)),d=Wu(e),u=Z?128:8576;function _(i){vL(o?hE(o,aE(e.mapper,r,i)):i,(a=>function(i,a){if(Fd(a)){const t=qd(a),r=n.get(t);if(r)r.links.nameType=Sg([r.links.nameType,a]),r.links.keyType=Sg([r.links.keyType,i]);else{const r=Fd(i)?V_(l,qd(i)):void 0,c=!!(4&d||!(8&d)&&r&&16777216&r.flags),u=!!(1&d||!(2&d)&&r&&xD(r)),_=F&&!c&&r&&16777216&r.flags,p=va(4|(c?16777216:0),t,262144|(r?Ru(r):0)|(u?8:0)|(_?524288:0));p.links.mappedType=e,p.links.nameType=a,p.links.keyType=i,r&&(p.links.syntheticOrigin=r,p.declarations=!o||s?r.declarations:void 0),n.set(t,p)}}else if(qp(a)||33&a.flags){const n=Hp(5&a.flags?Dn:40&a.flags?On:a,hE(c,aE(e.mapper,r,i)),!!(1&d));t=Au(t,n,!0)}}(i,a)))}Vu(e)?Du(l,u,Z,_):vL(wu(a),_),gs(e,n,i,i,t||i)}(e):Nt.fail("Unhandled object type "+Nt.formatObjectFlags(e.objectFlags)):1048576&e.flags?function(e){const n=du(W(e.types,(e=>e===Kt?[Yr]:H_(e,0)))),t=du(W(e.types,(e=>H_(e,1)))),r=bu(e.types);gs(e,E,n,t,r)}(e):2097152&e.flags?function(e){let n,t,r;const a=e.types,o=Tu(a),s=V(o,(e=>e));for(let i=0;i<a.length;i++){const c=e.types[i];if(!o[i]){let e=H_(c,1);e.length&&s>0&&(e=W(e,(e=>{const n=nu(e);return n.resolvedReturnType=xu(Sp(e),a,o,i),n}))),t=Su(t,e)}n=Su(n,H_(c,0)),r=We(J_(c),((e,n)=>Au(e,n,!1)),r)}gs(e,E,n||i,t||i,r||i)}(e):Nt.fail("Unhandled type "+Nt.formatTypeFlags(e.flags))),e}function u_(e){return 524288&e.flags?d_(e).properties:i}function __(e,n){if(524288&e.flags){const t=d_(e).members.get(n);if(t&&as(t))return t}}function p_(e){if(!e.resolvedProperties){const n=op();for(const t of e.types){for(const r of f_(t))if(!n.has(r.escapedName)){const t=M_(e,r.escapedName);t&&n.set(r.escapedName,t)}if(1048576&e.flags&&0===J_(t).length)break}e.resolvedProperties=ms(n)}return e.resolvedProperties}function f_(e){return 3145728&(e=R_(e)).flags?p_(e):u_(e)}function m_(e){return 262144&e.flags?h_(e):8388608&e.flags?function(e){return S_(e)?function(e){if(I_(e))return _v(e.objectType,e.indexType);const n=y_(e.indexType);if(n&&n!==e.indexType){const t=yv(e.objectType,n,e.accessFlags);if(t)return t}const t=y_(e.objectType);return t&&t!==e.objectType?yv(t,e.indexType,e.accessFlags):void 0}(e):void 0}(e):16777216&e.flags?function(e){return S_(e)?E_(e):void 0}(e):T_(e)}function h_(e){return S_(e)?Xp(e):void 0}function g_(e){var n;return!!(262144&e.flags&&ce(null==(n=e.symbol)?void 0:n.declarations,(e=>db(e,2048)))||Dx(e)&&M(sf(e),((n,t)=>!!(8&e.target.elementFlags[t])&&g_(n)))>=0||8388608&e.flags&&g_(e.objectType))}function y_(e){const n=sv(e,!1);return n!==e?n:m_(e)}function v_(e){if(!e.resolvedDefaultConstraint){const n=function(e){return e.resolvedInferredTrueType||(e.resolvedInferredTrueType=e.combinedMapper?hE(Lb(e.root.node.trueType),e.combinedMapper):Cv(e))}(e),t=Iv(e);e.resolvedDefaultConstraint=dc(n)?t:dc(t)?n:Sg([n,t])}return e.resolvedDefaultConstraint}function b_(e){if(e.root.isDistributive&&e.restrictiveInstantiation!==e){const n=sv(e.checkType,!1),t=n===e.checkType?m_(n):n;if(t&&t!==e.checkType){const n=mE(e,iE(e.root.checkType,t,e.mapper));if(!(131072&n.flags))return n}}}function E_(e){return b_(e)||v_(e)}function T_(e){if(464781312&e.flags){const n=A_(e);return n!==wt&&n!==Rt?n:void 0}return 4194304&e.flags?nt:void 0}function x_(e){return T_(e)||e}function S_(e){return A_(e)!==Rt}function A_(e){if(e.resolvedBaseConstraint)return e.resolvedBaseConstraint;const n=[];return e.resolvedBaseConstraint=$d(t(e),e);function t(e){if(!e.immediateBaseConstraint){if(!nc(e,4))return Rt;let t;const i=QT(e);if((n.length<10||n.length<50&&!G(n,i))&&(n.push(i),t=function(e){if(262144&e.flags){const n=Xp(e);return e.isThisType||!n?n:r(n)}if(3145728&e.flags){const n=e.types,t=[];let i=!1;for(const e of n){const n=r(e);n?(n!==e&&(i=!0),t.push(n)):i=!0}return i?1048576&e.flags&&t.length===n.length?Sg(t):2097152&e.flags&&t.length?Wg(t):void 0:e}if(4194304&e.flags)return nt;if(134217728&e.flags){const n=e.types,t=ee(n,r);return t.length===n.length?Oy(e.texts,t):Dn}if(268435456&e.flags){const n=r(e.type);return n&&n!==e.type?Gy(e.symbol,n):Dn}if(8388608&e.flags){if(I_(e))return r(_v(e.objectType,e.indexType));const n=r(e.objectType),t=r(e.indexType),i=n&&t&&yv(n,t,e.accessFlags);return i&&r(i)}if(16777216&e.flags){const n=E_(e);return n&&r(n)}return 33554432&e.flags?r(kf(e)):e}(sv(e,!1)),n.pop()),!sc()){if(262144&e.flags){const n=zp(e);if(n){const t=_a(n,Vo.Type_parameter_0_has_a_circular_constraint,Bs(e));!a||Qg(n,a)||Qg(a,n)||iS(t,Hf(a,Vo.Circularity_originates_in_type_at_this_location))}}t=Rt}e.immediateBaseConstraint=t||wt}return e.immediateBaseConstraint}function r(e){const n=t(e);return n!==wt&&n!==Rt?n:void 0}}function L_(e){if(e.default)e.default===Dt&&(e.default=Rt);else if(e.target){const n=L_(e.target);e.default=n?hE(n,e.mapper):wt}else{e.default=Dt;const n=e.symbol&&A(e.symbol.declarations,(e=>jC(e)&&e.default)),t=n?Lb(n):wt;e.default===Dt&&(e.default=t)}return e.default}function C_(e){const n=L_(e);return n!==wt&&n!==Rt?n:void 0}function k_(e){return!(!e.symbol||!A(e.symbol.declarations,(e=>jC(e)&&e.default)))}function I_(e){let n;return!(!(8388608&e.flags&&32&qE(n=e.objectType)&&!n_(n)&&iv(e.indexType))||8&Wu(n)||n.declaration.nameType)}function w_(e){const n=465829888&e.flags?T_(e)||xn:e;return 32&qE(n)?function(e){return e.resolvedApparentType||(e.resolvedApparentType=function(e){const n=dE(e);if(n&&!e.declaration.nameType){const t=h_(n);if(t&&dx(t))return hE(e,iE(n,t,e.mapper))}return e}(e))}(n):2097152&n.flags?function(e){return e.resolvedApparentType||(e.resolvedApparentType=$d(e,e,!0))}(n):402653316&n.flags?Xt:296&n.flags?Yt:2112&n.flags?Rr||(Rr=mm("BigInt",0,!1))||bt:528&n.flags?$t:12288&n.flags?Dm():67108864&n.flags?bt:4194304&n.flags?nt:2&n.flags&&!F?bt:n}function R_(e){return P_(w_(P_(e)))}function N_(e,n,t){var r,i,a;let o,s,c;const l=1048576&e.flags;let d,u=4,_=l?0:8,p=!1;for(const r of e.types){const e=w_(r);if(!(uc(e)||131072&e.flags)){const r=V_(e,n,t),i=r?OE(r):0;if(r){if(106500&r.flags&&(null!=d||(d=l?0:16777216),l?d|=16777216&r.flags:d&=r.flags),o){if(r!==o)if((yP(r)||r)===(yP(o)||o)&&-1===ZT(o,r,((e,n)=>e===n?-1:0)))p=!!o.parent&&!!S(Pl(o.parent));else{s||(s=new Map,s.set(WG(o),o));const e=WG(r);s.has(e)||s.set(e,r)}}else o=r;l&&xD(r)?_|=8:l||xD(r)||(_&=-9),_|=(24&i?0:256)|(16&i?512:0)|(8&i?1024:0)|(32&i?2048:0),KI(r)||(u=2)}else if(l){const t=!Bd(n)&&Z_(e,n);t?(_|=32|(t.isReadonly?8:0),c=Te(c,Nx(e)?Mx(e)||An:t.type)):!TA(e)||2097152&qE(e)?_|=16:(_|=32,c=Te(c,An))}}}if(!o||l&&(s||48&_)&&1536&_&&(!s||!function(e){let n;for(const t of e){if(!t.declarations)return;if(n){if(n.forEach((e=>{G(t.declarations,e)||n.delete(e)})),0===n.size)return}else n=new Set(t.declarations)}return n}(s.values())))return;if(!(s||16&_||c)){if(p){const n=null==(r=En(o,sp))?void 0:r.links,t=Zx(o,null==n?void 0:n.type);return t.parent=null==(a=null==(i=o.valueDeclaration)?void 0:i.symbol)?void 0:a.parent,t.links.containingType=e,t.links.mapper=null==n?void 0:n.mapper,t}return o}const f=s?Qe(s.values()):[o];let m,h,g;const y=[];let v,b,E=!1;for(const e of f){b?e.valueDeclaration&&e.valueDeclaration!==b&&(E=!0):b=e.valueDeclaration,m=Ae(m,e.declarations);const n=bl(e);h||(h=n,g=wa(e).nameType);const t=vl(e);v||t!==n?v=Te(v||y.slice(),t):n!==h&&(_|=64),(Ax(n)||Zy(n)||n===dt)&&(_|=128),131072&n.flags&&n!==dt&&(_|=131072),y.push(n)}Ae(y,c);const T=va(4|(null!=d?d:0),n,u|_);return T.links.containingType=e,!E&&b&&(T.valueDeclaration=b,b.symbol.parent&&(T.parent=b.symbol.parent)),T.declarations=m,T.links.nameType=g,y.length>2?(T.links.checkFlags|=65536,T.links.deferralParent=e,T.links.deferralConstituents=y,T.links.deferralWriteConstituents=v):(T.links.type=l?Sg(y):Wg(y),v&&(T.links.writeType=l?Sg(v):Wg(v))),T}function O_(e,n,t){var r,i;let a=(null==(r=e.propertyCacheWithoutObjectFunctionPropertyAugment)?void 0:r.get(n))||!t?null==(i=e.propertyCache)?void 0:i.get(n):void 0;return!a&&(a=N_(e,n,t),a)&&(t?e.propertyCacheWithoutObjectFunctionPropertyAugment||(e.propertyCacheWithoutObjectFunctionPropertyAugment=op()):e.propertyCache||(e.propertyCache=op())).set(n,a),a}function M_(e,n,t){const r=O_(e,n,t);return!r||16&DE(r)?void 0:r}function P_(e){return 1048576&e.flags&&16777216&e.objectFlags?e.resolvedReducedType||(e.resolvedReducedType=function(e){const n=z(e.types,P_);if(n===e.types)return e;const t=Sg(n);return 1048576&t.flags&&(t.resolvedReducedType=t),t}(e)):2097152&e.flags?(16777216&e.objectFlags||(e.objectFlags|=16777216|(ce(p_(e),F_)?33554432:0)),33554432&e.objectFlags?qn:e):e}function F_(e){return G_(e)||B_(e)}function G_(e){return!(16777216&e.flags||192!=(131264&DE(e))||!(131072&bl(e).flags))}function B_(e){return!e.valueDeclaration&&!!(1024&DE(e))}function U_(e,n){if(2097152&n.flags&&33554432&qE(n)){const t=D(p_(n),G_);if(t)return kT(e,Vo.The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents,Bs(n,void 0,536870912),Fs(t));const r=D(p_(n),B_);if(r)return kT(e,Vo.The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some,Bs(n,void 0,536870912),Fs(r))}return e}function V_(e,n,t,r){if(524288&(e=R_(e)).flags){const i=d_(e),a=i.members.get(n);if(a&&as(a,r))return a;if(t)return;const o=i===It?Kt:i.callSignatures.length?Wt:i.constructSignatures.length?qt:void 0;if(o){const e=__(o,n);if(e)return e}return __(Ht,n)}if(3145728&e.flags)return M_(e,n,t)}function j_(e,n){if(3670016&e.flags){const t=d_(e);return 0===n?t.callSignatures:t.constructSignatures}return i}function H_(e,n){return j_(R_(e),n)}function K_(e,n){return D(e,(e=>e.keyType===n))}function W_(e,n){let t,r,i;for(const a of e)a.keyType===Dn?t=a:q_(n,a.keyType)&&(r?(i||(i=[r])).push(a):r=a);return i?Hp(xn,Wg(W(i,(e=>e.type))),We(i,((e,n)=>e&&n.isReadonly),!0)):r||(t&&q_(n,Dn)?t:void 0)}function q_(e,n){return RE(e,n)||n===Dn&&RE(e,On)||n===On&&(e===at||!!(128&e.flags)&&FS(e.value))}function z_(e){return 3670016&e.flags?d_(e).indexInfos:i}function J_(e){return z_(R_(e))}function X_(e,n){return K_(J_(e),n)}function Y_(e,n){var t;return null==(t=X_(e,n))?void 0:t.type}function $_(e,n){return J_(e).filter((e=>q_(n,e.keyType)))}function Q_(e,n){return W_(J_(e),n)}function Z_(e,n){return Q_(e,Bd(n)?Kn:ib(Mc(n)))}function ep(e){var n;let t;for(const n of Rl(e))t=Ce(t,dd(n.symbol));return(null==t?void 0:t.length)?t:wI(e)?null==(n=_p(e))?void 0:n.typeParameters:void 0}function np(e){const n=[];return e.forEach(((e,t)=>{fs(t)||n.push(e)})),n}function tp(e,n){if(Zs(e))return;const t=Da(le,'"'+e+'"',512);return t&&n?Yo(t):t}function rp(e){if(vg(e)||KS(e)||zS(e))return!0;if(e.initializer){const n=up(e.parent),t=e.parent.parameters.indexOf(e);return Nt.assert(t>=0),t>=XN(n,3)}const n=Zm(e.parent);return!!n&&!e.type&&!e.dotDotDotToken&&e.parent.parameters.indexOf(e)>=n.arguments.length}function cp(e,n,t,r){return{kind:e,parameterName:n,parameterIndex:t,type:r}}function lp(e){let n=0;if(e)for(let t=0;t<e.length;t++)k_(e[t])||(n=t+1);return n}function dp(e,n,t,r){const i=S(n);if(!i)return[];const a=S(e);if(r||a>=t&&a<=i){const t=e?e.slice():[];for(let e=a;e<i;e++)t[e]=mn;const o=AA(r);for(let e=a;e<i;e++){let i=C_(n[e]);r&&i&&(AE(i,xn)||AE(i,bt))&&(i=un),t[e]=i?hE(i,Fb(n,t)):o}return t.length=n.length,t}return e&&e.slice()}function up(e){const n=Ra(e);if(!n.resolvedSignature){const t=[];let r,i=0,a=0,o=!1;const s=Zm(e),c=bg(e);!s&&Ah(e)&&Kg(e)&&!nl(e)&&!Tl(e)&&(i|=32);for(let n=c?1:0;n<e.parameters.length;n++){const c=e.parameters[n];let l=c.symbol;const d=iR(c)?c.typeExpression&&c.typeExpression.type:c.type;l&&4&l.flags&&!Kd(c.name)&&(l=Fa(c,l.escapedName,111551,void 0,void 0,!1)),0===n&&"this"===l.escapedName?(o=!0,r=c.symbol):t.push(l),d&&198===d.kind&&(i|=2),KS(c)||c.initializer||c.questionToken||a_(c)||s&&t.length>s.arguments.length&&!d||zS(c)||(a=t.length)}if((174===e.kind||175===e.kind)&&Hd(e)&&(!o||!r)){const n=174===e.kind?175:174,t=ip($o(e),n);t&&(r=function(e){const n=fG(e);return n&&n.symbol}(t))}if(Ah(e)){const n=gl(e);n&&n.typeExpression&&(r=Zx(va(1,"this"),Lb(n.typeExpression)))}const l=173===e.kind?nd(Yo(e.parent.symbol)):void 0,d=l?l.localTypeParameters:ep(e);(i_(e)||Ah(e)&&function(e,n){if(Kw(e)||!gp(e))return!1;const t=Fe(e.parameters),r=C(t?Yc(t):Al(e).filter(iR),(e=>e.typeExpression&&Uw(e.typeExpression.type)?e.typeExpression.type:void 0)),i=va(3,"args",32768);return r?i.links.type=dh(Lb(r.type)):(i.links.checkFlags|=65536,i.links.deferralParent=qn,i.links.deferralConstituents=[er],i.links.deferralWriteConstituents=[er]),r&&n.pop(),n.push(i),!0}(e,t))&&(i|=1),(ak(e)&&db(e,256)||YC(e)&&db(e.parent,256))&&(i|=4),n.resolvedSignature=Zd(e,d,r,t,void 0,void 0,a,i)}return n.resolvedSignature}function _p(e){if(!Ah(e)||!Cd(e))return;const n=El(e);return(null==n?void 0:n.typeExpression)&&IR(Lb(n.typeExpression))}function gp(e){const n=Ra(e);return void 0===n.containsArgumentsReference&&(512&n.flags?n.containsArgumentsReference=!0:n.containsArgumentsReference=function e(n){if(!n)return!1;switch(n.kind){case 79:return n.escapedText===he.escapedName&&jF(n)===he;case 169:case 171:case 174:case 175:return 164===n.name.kind&&e(n.name);case 208:case 209:return e(n.expression);case 299:return e(n.initializer);default:return!qy(n)&&!vm(n)&&!!ED(n,e)}}(e.body)),n.containsArgumentsReference}function vp(e){if(!e||!e.declarations)return i;const n=[];for(let t=0;t<e.declarations.length;t++){const r=e.declarations[t];if(Ad(r)){if(t>0&&r.body){const n=e.declarations[t-1];if(r.parent===n.parent&&r.kind===n.kind&&r.pos===n.end)continue}if(Ah(r)&&r.jsDoc){let e=!1;for(const t of r.jsDoc)if(t.tags)for(const i of t.tags)if(eR(i)){const t=i.typeExpression;void 0!==t.type||YC(r)||LS(t,un),n.push(up(t)),e=!0}if(e)continue}n.push(!MS(r)&&!Om(r)&&_p(r)||up(r))}}return n}function bp(e){const n=Oo(e,e);if(n){const e=Go(n);if(e)return bl(e)}return un}function Ep(e){if(e.thisParameter)return bl(e.thisParameter)}function Tp(e){if(!e.resolvedTypePredicate){if(e.target){const r=Tp(e.target);e.resolvedTypePredicate=r?(n=r,t=e.mapper,cp(n.kind,n.parameterName,n.parameterIndex,hE(n.type,t))):Jr}else if(e.compositeSignatures)e.resolvedTypePredicate=function(e,n){let t;const r=[];for(const i of e){const e=Tp(i);if(!e||2===e.kind||3===e.kind){if(2097152!==n)continue;return}if(t){if(!Lg(t,e))return}else t=e;r.push(e.type)}if(!t)return;const i=xp(r,n);return cp(t.kind,t.parameterName,t.parameterIndex,i)}(e.compositeSignatures,e.compositeKind)||Jr;else{const n=e.declaration&&Yv(e.declaration);let t;if(!n){const n=_p(e.declaration);n&&e!==n&&(t=Tp(n))}e.resolvedTypePredicate=n&&tk(n)?function(e,n){const t=e.parameterName,r=e.type&&Lb(e.type);return 194===t.kind?cp(e.assertsModifier?2:0,void 0,void 0,r):cp(e.assertsModifier?3:1,t.escapedText,M(n.parameters,(e=>e.escapedName===t.escapedText)),r)}(n,e):t||Jr}Nt.assert(!!e.resolvedTypePredicate)}var n,t;return e.resolvedTypePredicate===Jr?void 0:e.resolvedTypePredicate}function xp(e,n,t){return 2097152!==n?Sg(e,t):Wg(e)}function Sp(e){if(!e.resolvedReturnType){if(!nc(e,3))return mn;let n=e.target?hE(Sp(e.target),e.mapper):e.compositeSignatures?hE(xp(W(e.compositeSignatures,Sp),e.compositeKind,2),e.mapper):Ap(e.declaration)||(Fp(e.declaration.body)?un:dD(e.declaration));if(8&e.flags?n=Hx(n):16&e.flags&&(n=Vx(n)),!sc()){if(e.declaration){const n=Yv(e.declaration);if(n)_a(n,Vo.Return_type_annotation_circularly_references_itself);else if(Y){const n=e.declaration,t=Wc(n);t?_a(t,Vo._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,Ff(t)):_a(n,Vo.Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions)}}n=un}e.resolvedReturnType=n}return e.resolvedReturnType}function Ap(e){if(173===e.kind)return nd(Yo(e.parent.symbol));if(Kw(e)){const n=Gg(e);if(n&&YC(n.parent))return nd(Yo(n.parent.parent.symbol))}if(bg(e))return Lb(e.parameters[0].type);const n=Yv(e);if(n)return Lb(n);if(174===e.kind&&Hd(e)){const n=Ah(e)&&Tc(e);if(n)return n;const t=cl(ip($o(e),175));if(t)return t}return function(e){const n=_p(e);return n&&Sp(n)}(e)}function Lp(e){return!e.resolvedReturnType&&rc(e,3)>=0}function Cp(e){if(QG(e)){const n=bl(e.parameters[e.parameters.length-1]),t=Nx(n)?Mx(n):n;return t&&Y_(t,On)}}function Dp(e,n,t,r){const i=Op(e,dp(n,e.typeParameters,lp(e.typeParameters),t));if(r){const e=wR(Sp(i));if(e){const n=nu(e);n.typeParameters=r;const t=nu(i);return t.resolvedReturnType=Up(n),t}}return i}function Op(e,n){const t=e.instantiations||(e.instantiations=new Map),r=$p(n);let i=t.get(r);return i||t.set(r,i=Mp(e,n)),i}function Mp(e,n){return sE(e,function(e,n){return Fb(e.typeParameters,n)}(e,n),!0)}function Pp(e){return e.typeParameters?e.erasedSignatureCache||(e.erasedSignatureCache=function(e){return sE(e,tE(e.typeParameters),!0)}(e)):e}function Bp(e){const n=e.typeParameters;if(n){if(e.baseSignatureCache)return e.baseSignatureCache;const t=tE(n),r=Fb(n,W(n,(e=>h_(e)||xn)));let i=W(n,(e=>hE(e,r)||xn));for(let e=0;e<n.length-1;e++)i=Rb(i,r);return i=Rb(i,t),e.baseSignatureCache=sE(e,Fb(n,i),!0)}return e}function Up(e){var n;if(!e.isolatedSignatureType){const t=null==(n=e.declaration)?void 0:n.kind,r=void 0===t||173===t||177===t||182===t,a=_s(16);a.members=E,a.properties=i,a.callSignatures=r?i:[e],a.constructSignatures=r?[e]:i,a.indexInfos=i,e.isolatedSignatureType=a}return e.isolatedSignatureType}function Vp(e){return e.members?jp(e.members):void 0}function jp(e){return e.get("__index")}function Hp(e,n,t,r){return{keyType:e,type:n,isReadonly:t,declaration:r}}function Kp(e){const n=Vp(e);return n?Wp(n):i}function Wp(e){if(e.declarations){const n=[];for(const t of e.declarations)if(1===t.parameters.length){const e=t.parameters[0];e.type&&vL(Lb(e.type),(e=>{qp(e)&&!K_(n,e)&&n.push(Hp(e,t.type?Lb(t.type):un,lb(t,64),t))}))}return n}return i}function qp(e){return!!(4108&e.flags)||Zy(e)||!!(2097152&e.flags)&&!ev(e)&&ce(e.types,qp)}function zp(e){return ee(j(e.symbol&&e.symbol.declarations,jC),Nl)[0]}function Jp(e,n){var t;let r;if(null==(t=e.symbol)?void 0:t.declarations)for(const t of e.symbol.declarations)if(192===t.parent.kind){const[i=t.parent,a]=Jg(t.parent.parent);if(180!==a.kind||n){if(166===a.kind&&a.dotDotDotToken||188===a.kind||199===a.kind&&a.dotDotDotToken)r=Te(r,dh(xn));else if(201===a.kind)r=Te(r,Dn);else if(165===a.kind&&197===a.parent.kind)r=Te(r,nt);else if(197===a.kind&&a.type&&Yg(a.type)===t.parent&&191===a.parent.kind&&a.parent.extendsType===a&&197===a.parent.checkType.kind&&a.parent.checkType.type){const e=a.parent.checkType;r=Te(r,hE(Lb(e.type),Vb(dd($o(e.typeParameter)),e.typeParameter.constraint?Lb(e.typeParameter.constraint):nt)))}}else{const n=a,t=AO(n);if(t){const a=n.typeArguments.indexOf(i);if(a<t.length){const i=h_(t[a]);if(i){const a=hE(i,Qb(t,t.map(((e,r)=>()=>TO(n,t,r)))));a!==e&&(r=Te(r,a))}}}}}return r&&Wg(r)}function Xp(e){if(!e.constraint)if(e.target){const n=h_(e.target);e.constraint=n?hE(n,e.mapper):wt}else{const n=zp(e);if(n){let t=Lb(n);1&t.flags&&!uc(t)&&(t=197===n.parent.parent.kind?nt:xn),e.constraint=t}else e.constraint=Jp(e)||wt}return e.constraint===wt?void 0:e.constraint}function Yp(e){const n=ip(e.symbol,165),t=cR(n.parent)?Og(n.parent):n.parent;return t&&Qo(t)}function $p(e){let n="";if(e){const t=e.length;let r=0;for(;r<t;){const i=e[r].id;let a=1;for(;r+a<t&&e[r+a].id===i+a;)a++;n.length&&(n+=","),n+=i,a>1&&(n+=":"+a),r+=a}}return n}function Qp(e,n){return e?`@${WG(e)}`+(n?`:${$p(n)}`:""):""}function Zp(e,n){let t=0;for(const r of e)void 0!==n&&r.flags&n||(t|=qE(r));return 458752&t}function ef(e,n){return ce(n)&&e===kt?xn:nf(e,n)}function nf(e,n){const t=$p(n);let r=e.instantiations.get(t);return r||(r=_s(4,e.symbol),e.instantiations.set(t,r),r.objectFlags|=n?Zp(n):0,r.target=e,r.resolvedTypeArguments=n),r}function rf(e){const n=cs(e.flags,e.symbol);return n.objectFlags=e.objectFlags,n.target=e.target,n.resolvedTypeArguments=e.resolvedTypeArguments,n}function of(e,n,t,r,i){if(!r){const e=Pv(r=Mv(n));i=t?Rb(e,t):e}const a=_s(4,e.symbol);return a.target=e,a.node=n,a.mapper=t,a.aliasSymbol=r,a.aliasTypeArguments=i,a}function sf(e){var n,t;if(!e.resolvedTypeArguments){if(!nc(e,6))return(null==(n=e.target.localTypeParameters)?void 0:n.map((()=>mn)))||i;const r=e.node,o=r?180===r.kind?de(e.target.outerTypeParameters,xO(r,e.target.localTypeParameters)):185===r.kind?[Lb(r.elementType)]:W(r.elements,Lb):i;sc()?e.resolvedTypeArguments=e.mapper?Rb(o,e.mapper):o:(e.resolvedTypeArguments=(null==(t=e.target.localTypeParameters)?void 0:t.map((()=>mn)))||i,_a(e.node||a,e.target.symbol?Vo.Type_arguments_for_0_circularly_reference_themselves:Vo.Tuple_type_arguments_circularly_reference_themselves,e.target.symbol&&Fs(e.target.symbol)))}return e.resolvedTypeArguments}function lf(e){return S(e.target.typeParameters)}function df(e,n){const t=_d(Yo(n)),r=t.localTypeParameters;if(r){const n=S(e.typeArguments),i=lp(r),a=Ah(e);if((Y||!a)&&(n<i||n>r.length)){const n=a&&Zk(e)&&!Ww(e.parent);if(_a(e,i===r.length?n?Vo.Expected_0_type_arguments_provide_these_with_an_extends_tag:Vo.Generic_type_0_requires_1_type_argument_s:n?Vo.Expected_0_1_type_arguments_provide_these_with_an_extends_tag:Vo.Generic_type_0_requires_between_1_and_2_type_arguments,Bs(t,void 0,2),i,r.length),!a)return mn}return 180===e.kind&&Ch(e,S(e.typeArguments)!==r.length)?of(t,e,void 0):nf(t,de(t.outerTypeParameters,dp(Jf(e),r,i,a)))}return Of(e,n)?t:mn}function uf(e,n,t,r){const i=_d(e);if(i===bn&&GG.has(e.escapedName)&&n&&1===n.length)return Gy(e,n[0]);const a=wa(e),o=a.typeParameters,s=$p(n)+Qp(t,r);let c=a.instantiations.get(s);return c||a.instantiations.set(s,c=gE(i,Fb(o,dp(n,o,lp(o),Ah(e.valueDeclaration))),t,r)),c}function hf(e){var n;const t=null==(n=e.declarations)?void 0:n.find(Tg);return!(!t||!Hm(t))}function gf(e){return e.parent?`${gf(e.parent)}.${e.escapedName}`:e.escapedName}function Tf(e){const n=(163===e.kind?e.right:208===e.kind?e.name:e).escapedText;if(n){const t=163===e.kind?Tf(e.left):208===e.kind?Tf(e.expression):void 0,r=t?`${gf(t)}.${n}`:n;let i=cn.get(r);return i||(cn.set(r,i=va(524288,n,1048576)),i.parent=t,i.links.declaredType=hn),i}return on}function Af(e,n,t){const r=function(e){switch(e.kind){case 180:return e.typeName;case 230:const n=e.expression;if(Hb(n))return n}}(e);if(!r)return on;const i=No(r,n,t);return i&&i!==on?i:t?on:Tf(r)}function Lf(e,n){if(n===on)return mn;if(96&(n=function(e){const n=e.valueDeclaration;if(!n||!Ah(n)||524288&e.flags||jh(n,!1))return;const t=kI(n)?Uh(n):Vh(n);if(t){const n=Qo(t);if(n)return yN(n,e)}}(n)||n).flags)return df(e,n);if(524288&n.flags)return function(e,n){if(1048576&DE(n)){const t=Jf(e),r=Qp(n,t);let i=ln.get(r);return i||(i=ds(1,"error"),i.aliasSymbol=n,i.aliasTypeArguments=t,ln.set(r,i)),i}const t=_d(n),r=wa(n).typeParameters;if(r){const t=S(e.typeArguments),i=lp(r);if(t<i||t>r.length)return _a(e,i===r.length?Vo.Generic_type_0_requires_1_type_argument_s:Vo.Generic_type_0_requires_between_1_and_2_type_arguments,Fs(n),i,r.length),mn;const a=Mv(e);let o,s=!a||!hf(n)&&hf(a)?void 0:a;if(s)o=Pv(s);else if(e_(e)){const n=Af(e,2097152,!0);if(n&&n!==on){const t=To(n);t&&524288&t.flags&&(s=t,o=Jf(e)||(r?[]:void 0))}}return uf(n,Jf(e),s,o)}return Of(e,n)?t:mn}(e,n);const t=pd(n);if(t)return Of(e,n)?tb(t):mn;if(111551&n.flags&&Rf(e)){const t=function(e,n){const t=Ra(e);if(!t.resolvedJSDocType){const r=bl(n);let i=r;if(n.valueDeclaration){const t=202===e.kind&&e.qualifier;r.symbol&&r.symbol!==n&&t&&(i=Lf(e,r.symbol))}t.resolvedJSDocType=i}return t.resolvedJSDocType}(e,n);return t||(Af(e,788968),bl(n))}return mn}function Cf(e,n){if(3&n.flags||n===e||1&e.flags)return e;const t=`${ig(e)}>${ig(n)}`,r=Je.get(t);if(r)return r;const i=ss(33554432);return i.baseType=e,i.constraint=n,Je.set(t,i),i}function kf(e){return Wg([e.constraint,e.baseType])}function If(e){return 186===e.kind&&1===e.elements.length}function wf(e,n,t){return If(n)&&If(t)?wf(e,n.elements[0],t.elements[0]):Tv(Lb(n))===Tv(e)?Lb(t):void 0}function Rf(e){return!!(8388608&e.flags)&&(180===e.kind||202===e.kind)}function Of(e,n){return!e.typeArguments||(_a(e,Vo.Type_0_is_not_generic,n?Fs(n):e.typeName?Ff(e.typeName):kG),!1)}function Uf(e){if(AC(e.typeName)){const n=e.typeArguments;switch(e.typeName.escapedText){case"String":return Of(e),Dn;case"Number":return Of(e),On;case"Boolean":return Of(e),Hn;case"Void":return Of(e),Wn;case"Undefined":return Of(e),An;case"Null":return Of(e),wn;case"Function":case"function":return Of(e),Kt;case"array":return n&&n.length||Y?void 0:er;case"promise":return n&&n.length||Y?void 0:sD(un);case"Object":if(n&&2===n.length){if(Ih(e)){const e=Lb(n[0]),t=Lb(n[1]),r=e===Dn||e===On?[Hp(e,t,!1)]:i;return ys(void 0,E,i,i,r)}return un}return Of(e),Y?void 0:un}}}function Wf(e){const n=Ra(e);if(!n.resolvedType){if(Hl(e)&&_u(e.parent))return n.resolvedSymbol=on,n.resolvedType=qD(e.parent.expression);let t,r;const i=788968;Rf(e)&&(r=Uf(e),r||(t=Af(e,i,!0),t===on?t=Af(e,111551|i):Af(e,i),r=Lf(e,t))),r||(t=Af(e,i),r=Lf(e,t)),n.resolvedSymbol=t,n.resolvedType=r}return n.resolvedType}function Jf(e){return W(e.typeArguments,Lb)}function Xf(e){const n=Ra(e);if(!n.resolvedType){const t=wN(e);n.resolvedType=tb(ES(t))}return n.resolvedType}function Qf(e,n){function t(e){const n=e.declarations;if(n)for(const e of n)switch(e.kind){case 260:case 261:case 263:return e}}if(!e)return n?kt:bt;const r=_d(e);return 524288&r.flags?S(r.typeParameters)!==n?(_a(t(e),Vo.Global_type_0_must_have_1_type_parameter_s,Gc(e),n),n?kt:bt):r:(_a(t(e),Vo.Global_type_0_must_be_a_class_or_interface_type,Gc(e)),n?kt:bt)}function dm(e,n){return fm(e,111551,n?Vo.Cannot_find_global_value_0:void 0)}function _m(e,n){return fm(e,788968,n?Vo.Cannot_find_global_type_0:void 0)}function pm(e,n,t){const r=fm(e,788968,t?Vo.Cannot_find_global_type_0:void 0);if(!r||(_d(r),S(wa(r).typeParameters)===n))return r;_a(r.declarations&&D(r.declarations,DI),Vo.Global_type_0_must_have_1_type_parameter_s,Gc(r),n)}function fm(e,n,t){return Fa(void 0,e,n,t,e,!1,!1,!1)}function mm(e,n,t){const r=_m(e,t);return r||t?Qf(r,n):void 0}function hm(){return xr||(xr=mm("ImportMeta",0,!0)||bt)}function gm(){if(!Sr){const e=va(0,"ImportMetaExpression"),n=hm(),t=va(4,"meta",8);t.parent=e,t.links.type=n;const r=op([t]);e.members=r,Sr=ys(e,r,i,i,i)}return Sr}function ym(e){return Ar||(Ar=mm("ImportCallOptions",0,e))||bt}function Nm(e){return ir||(ir=dm("Symbol",e))}function Dm(){return or||(or=mm("Symbol",0,!1))||bt}function Fm(e){return cr||(cr=mm("Promise",1,e))||kt}function Gm(e){return lr||(lr=mm("PromiseLike",1,e))||kt}function Bm(e){return dr||(dr=dm("Promise",e))}function Um(e){return yr||(yr=mm("AsyncIterable",1,e))||kt}function Vm(e){return _r||(_r=mm("Iterable",1,e))||kt}function jm(e,n=0){const t=fm(e,788968,void 0);return t&&Qf(t,n)}function Km(e){return wr||(wr=pm("Awaited",1,e)||(e?on:void 0)),wr===on?void 0:wr}function qm(e,n){return e!==kt?nf(e,n):bt}function eh(e){return qm(sr||(sr=mm("TypedPropertyDescriptor",1,!0)||kt),[e])}function lh(e){return qm(Vm(!0),[e])}function dh(e,n){return qm(n?Jt:zt,[e])}function ph(e){switch(e.kind){case 187:return 2;case 188:return Sh(e);case 199:return e.questionToken?2:e.dotDotDotToken?Sh(e):1;default:return 1}}function Sh(e){return Ab(e.type)?4:8}function Ch(e,n){return!!Mv(e)||Rh(e)&&(185===e.kind?Oh(e.elementType):186===e.kind?ce(e.elements,Oh):n||ce(e.typeArguments,Oh))}function Rh(e){const n=e.parent;switch(n.kind){case 193:case 199:case 180:case 189:case 190:case 196:case 191:case 195:case 185:case 186:return Rh(n);case 262:return!0}return!1}function Oh(e){switch(e.kind){case 180:return Rf(e)||!!(524288&Af(e,788968).flags);case 183:return!0;case 195:return 156!==e.operator&&Oh(e.type);case 193:case 187:case 199:case 319:case 317:case 318:case 312:return Oh(e.type);case 188:return 185!==e.type.kind||Oh(e.type.elementType);case 189:case 190:return ce(e.types,Oh);case 196:return Oh(e.objectType)||Oh(e.indexType);case 191:return Oh(e.checkType)||Oh(e.extendsType)||Oh(e.trueType)||Oh(e.falseType)}return!1}function Mh(e,n,t=!1,r){const i=Fh(n||W(e,(e=>1)),t,r);return i===kt?bt:e.length?qh(i,e):i}function Fh(e,n,t){if(1===e.length&&4&e[0])return n?Jt:zt;const r=W(e,(e=>1&e?"#":2&e?"?":4&e?".":"*")).join()+(n?"R":"")+(t&&t.length?","+W(t,KG).join(","):"");let a=ke.get(r);return a||ke.set(r,a=function(e,n,t){const r=e.length,a=V(e,(e=>!!(9&e)));let o;const s=[];let c=0;if(r){o=new Array(r);for(let i=0;i<r;i++){const r=o[i]=ps(),a=e[i];if(c|=a,!(12&c)){const e=va(4|(2&a?16777216:0),""+i,n?8:0);e.links.tupleLabelDeclaration=null==t?void 0:t[i],e.links.type=r,s.push(e)}}}const l=s.length,d=va(4,"length",n?8:0);if(12&c)d.links.type=On;else{const e=[];for(let n=a;n<=r;n++)e.push(ab(n));d.links.type=Sg(e)}s.push(d);const u=_s(12);return u.typeParameters=o,u.outerTypeParameters=void 0,u.localTypeParameters=o,u.instantiations=new Map,u.instantiations.set($p(u.typeParameters),u),u.target=u,u.resolvedTypeArguments=u.typeParameters,u.thisType=ps(),u.thisType.isThisType=!0,u.thisType.constraint=u,u.declaredProperties=s,u.declaredCallSignatures=i,u.declaredConstructSignatures=i,u.declaredIndexInfos=i,u.elementFlags=e,u.minLength=a,u.fixedLength=l,u.hasRestElement=!!(12&c),u.combinedFlags=c,u.readonly=n,u.labeledElementDeclarations=t,u}(e,n,t)),a}function qh(e,n){return 8&e.objectFlags?Qh(e,n):nf(e,n)}function Qh(e,n){var t,r,i;if(!(14&e.combinedFlags))return nf(e,n);if(8&e.combinedFlags){const t=M(n,((n,t)=>!!(8&e.elementFlags[t]&&1179648&n.flags)));if(t>=0)return ey(W(n,((n,t)=>8&e.elementFlags[t]?n:xn)))?LL(n[t],(r=>Qh(e,je(n,t,r)))):mn}const o=[],s=[];let c=[],l=-1,d=-1,u=-1;for(let s=0;s<n.length;s++){const c=n[s],l=e.elementFlags[s];if(8&l)if(58982400&c.flags||n_(c))p(c,8,null==(t=e.labeledElementDeclarations)?void 0:t[s]);else if(Nx(c)){const e=sf(c);if(e.length+o.length>=1e4)return _a(a,vm(a)?Vo.Type_produces_a_tuple_type_that_is_too_large_to_represent:Vo.Expression_produces_a_tuple_type_that_is_too_large_to_represent),mn;A(e,((e,n)=>{var t;return p(e,c.target.elementFlags[n],null==(t=c.target.labeledElementDeclarations)?void 0:t[n])}))}else p(hx(c)&&Y_(c,On)||mn,4,null==(r=e.labeledElementDeclarations)?void 0:r[s]);else p(c,l,null==(i=e.labeledElementDeclarations)?void 0:i[s])}for(let e=0;e<l;e++)2&s[e]&&(s[e]=1);d>=0&&d<u&&(o[d]=Sg(z(o.slice(d,u+1),((e,n)=>8&s[d+n]?pv(e,On):e))),o.splice(d+1,u-d),s.splice(d+1,u-d),null==c||c.splice(d+1,u-d));const _=Fh(s,e.readonly,c);return _===kt?bt:s.length?nf(_,o):_;function p(e,n,t){1&n&&(l=s.length),4&n&&d<0&&(d=s.length),6&n&&(u=s.length),o.push(2&n?Ac(e,!0):e),s.push(n),c&&t?c.push(t):c=void 0}}function Zh(e,n,t=0){const r=e.target,a=lf(e)-t;return n>r.fixedLength?function(e){const n=Mx(e);return n&&dh(n)}(e)||Mh(i):Mh(sf(e).slice(n,a),r.elementFlags.slice(n,a),!1,r.labeledElementDeclarations&&r.labeledElementDeclarations.slice(n,a))}function eg(e){return Sg(Te($e(e.target.fixedLength,(e=>ib(""+e))),xy(e.target.readonly?Jt:zt)))}function rg(e,n){return e.elementFlags.length-P(e.elementFlags,(e=>!(e&n)))-1}function ig(e){return e.id}function lg(e,n){return He(e,n,ig,Un)>=0}function ug(e,n){const t=He(e,n,ig,Un);return t<0&&(e.splice(~t,0,n),!0)}function pg(e,n,t){const r=t.flags;if(1048576&r)return fg(e,n|(function(e){return!!(1048576&e.flags&&(e.aliasSymbol||e.origin))}(t)?1048576:0),t.types);if(!(131072&r))if(n|=205258751&r,465829888&r&&(n|=33554432),t===pn&&(n|=8388608),!F&&98304&r)65536&qE(t)||(n|=4194304);else{const n=e.length,r=n&&t.id>e[n-1].id?~n:He(e,t,ig,Un);r<0&&e.splice(~r,0,t)}return n}function fg(e,n,t){for(const r of t)n=pg(e,n,r);return n}function gg(e,n){for(const t of n)if(1048576&t.flags){const n=t.origin;t.aliasSymbol||n&&!(1048576&n.flags)?Le(e,t):n&&1048576&n.flags&&gg(e,n.types)}}function xg(e,n){const t=ls(e);return t.types=n,t}function Sg(e,n=1,t,r,i){if(0===e.length)return qn;if(1===e.length)return e[0];let o=[];const s=fg(o,0,e);if(0!==n){if(3&s)return 1&s?8388608&s?pn:un:65536&s||lg(o,xn)?xn:Sn;if(32768&s&&o.length>=2&&o[0]===An&&o[1]===Cn&&ot(o,1),(402664352&s||16384&s&&32768&s)&&function(e,n,t){let r=e.length;for(;r>0;){r--;const i=e[r],a=i.flags;(402653312&a&&4&n||256&a&&8&n||2048&a&&64&n||8192&a&&4096&n||t&&32768&a&&16384&n||rb(i)&&lg(e,i.regularType))&&ot(e,r)}}(o,s,!!(2&n)),128&s&&134217728&s&&function(e){const n=j(e,(e=>!!(134217728&e.flags)&&Zy(e)));if(n.length){let t=e.length;for(;t>0;){t--;const r=e[t];128&r.flags&&ce(n,(e=>hA(r,e)))&&ot(e,t)}}}(o),2===n&&(o=function(e,n){var t;if(e.length<2)return e;const r=$p(e),i=Xe.get(r);if(i)return i;const o=n&&ce(e,(e=>!!(524288&e.flags)&&!n_(e)&&oT(d_(e)))),s=e.length;let c=s,l=0;for(;c>0;){c--;const n=e[c];if(o||469499904&n.flags){const r=61603840&n.flags?D(f_(n),(e=>xx(bl(e)))):void 0,i=r&&tb(bl(r));for(const o of e)if(n!==o){if(1e5===l&&l/(s-c)*s>1e6)return null==(t=Vr)||t.instant(Vr.Phase.CheckTypes,"removeSubtypes_DepthLimit",{typeIds:e.map((e=>e.id))}),void _a(a,Vo.Expression_produces_a_union_type_that_is_too_complex_to_represent);if(l++,r&&61603840&o.flags){const e=lc(o,r.escapedName);if(e&&xx(e)&&tb(e)!==i)continue}if(pT(n,o,Qi)&&(!(1&qE(Ll(n)))||!(1&qE(Ll(o)))||NE(n,o))){ot(e,c);break}}}}return Xe.set(r,e),e}(o,!!(524288&s)),!o))return mn;if(0===o.length)return 65536&s?4194304&s?wn:Nn:32768&s?4194304&s?An:Ln:qn}if(!i&&1048576&s){const n=[];gg(n,e);const r=[];for(const e of o)ce(n,(n=>lg(n.types,e)))||r.push(e);if(!t&&1===n.length&&0===r.length)return n[0];if(We(n,((e,n)=>e+n.types.length),0)+r.length===o.length){for(const e of n)ug(r,e);i=xg(1048576,r)}}return Ig(o,(36323363&s?0:32768)|(2097152&s?16777216:0),t,r,i)}function Lg(e,n){return e.kind===n.kind&&e.parameterIndex===n.parameterIndex}function Ig(e,n,t,r,i){if(0===e.length)return qn;if(1===e.length)return e[0];const a=(i?1048576&i.flags?`|${$p(i.types)}`:2097152&i.flags?`&${$p(i.types)}`:`#${i.type.id}|${$p(e)}`:$p(e))+Qp(t,r);let o=Ie.get(a);return o||(o=ss(1048576),o.objectFlags=n|Zp(e,98304),o.types=e,o.origin=i,o.aliasSymbol=t,o.aliasTypeArguments=r,2===e.length&&512&e[0].flags&&512&e[1].flags&&(o.flags|=16,o.intrinsicName="boolean"),Ie.set(a,o)),o}function wg(e,n,t){const r=t.flags;return 2097152&r?Rg(e,n,t.types):(cT(t)?16777216&n||(n|=16777216,e.set(t.id.toString(),t)):(3&r?t===pn&&(n|=8388608):!F&&98304&r||(t===Cn&&(n|=262144,t=An),e.has(t.id.toString())||(109472&t.flags&&109472&n&&(n|=67108864),e.set(t.id.toString(),t))),n|=205258751&r),n)}function Rg(e,n,t){for(const r of t)n=wg(e,n,tb(r));return n}function Ng(e,n){for(const t of e)if(!lg(t.types,n)){const e=128&n.flags?Dn:256&n.flags?On:2048&n.flags?Mn:8192&n.flags?Kn:void 0;if(!e||!lg(t.types,e))return!1}return!0}function Ug(e,n){return N(e,(e=>!!(1048576&e.flags)&&ce(e.types,(e=>!!(e.flags&n)))))}function Hg(e,n){for(let t=0;t<e.length;t++)e[t]=xL(e[t],(e=>!(e.flags&n)))}function Wg(e,n,t,r){const i=new Map,a=Rg(i,0,e),o=Qe(i.values());if(131072&a)return G(o,zn)?zn:qn;if(F&&98304&a&&84410368&a||67108864&a&&402783228&a||402653316&a&&67238776&a||296&a&&469891796&a||2112&a&&469889980&a||12288&a&&469879804&a||49152&a&&469842940&a)return qn;if(134217728&a&&128&a&&function(e){let n=e.length;const t=j(e,(e=>!!(128&e.flags)));for(;n>0;){n--;const r=e[n];if(134217728&r.flags)for(const i of t){if(IE(i,r)){ot(e,n);break}if(Zy(r))return!0}}return!1}(o))return qn;if(1&a)return 8388608&a?pn:un;if(!F&&98304&a)return 16777216&a?qn:32768&a?An:wn;if((4&a&&402653312&a||8&a&&256&a||64&a&&2048&a||4096&a&&8192&a||16384&a&&32768&a||16777216&a&&470302716&a)&&(r||function(e,n){let t=e.length;for(;t>0;){t--;const r=e[t];(4&r.flags&&402653312&n||8&r.flags&&256&n||64&r.flags&&2048&n||4096&r.flags&&8192&n||16384&r.flags&&32768&n||cT(r)&&470302716&n)&&ot(e,t)}}(o,a)),262144&a&&(o[o.indexOf(An)]=Cn),0===o.length)return xn;if(1===o.length)return o[0];const s=$p(o)+Qp(n,t);let c=we.get(s);if(!c){if(1048576&a)if(function(e){let n;const t=M(e,(e=>!!(32768&qE(e))));if(t<0)return!1;let r=t+1;for(;r<e.length;){const i=e[r];32768&qE(i)?((n||(n=[e[t]])).push(i),ot(e,r)):r++}if(!n)return!1;const i=[],a=[];for(const e of n)for(const t of e.types)ug(i,t)&&Ng(n,t)&&ug(a,t);return e[t]=Ig(a,32768),!0}(o))c=Wg(o,n,t);else if(Ug(o,32768)){const e=ce(o,Xx)?Cn:An;Hg(o,32768),c=Sg([Wg(o),e],1,n,t)}else if(Ug(o,65536))Hg(o,65536),c=Sg([Wg(o),wn],1,n,t);else{if(!ey(o))return mn;const e=function(e){const n=Xg(e),t=[];for(let r=0;r<n;r++){const n=e.slice();let i=r;for(let t=e.length-1;t>=0;t--)if(1048576&e[t].flags){const r=e[t].types,a=r.length;n[t]=r[i%a],i=Math.floor(i/a)}const a=Wg(n);131072&a.flags||t.push(a)}return t}(o);c=Sg(e,1,n,t,ce(e,(e=>!!(2097152&e.flags)))&&ry(e)>ry(o)?xg(2097152,o):void 0)}else c=function(e,n,t){const r=ss(2097152);return r.objectFlags=Zp(e,98304),r.types=e,r.aliasSymbol=n,r.aliasTypeArguments=t,r}(o,n,t);we.set(s,c)}return c}function Xg(e){return We(e,((e,n)=>1048576&n.flags?e*n.types.length:131072&n.flags?0:e),1)}function ey(e){var n;const t=Xg(e);return!(t>=1e5&&(null==(n=Vr)||n.instant(Vr.Phase.CheckTypes,"checkCrossProductUnion_DepthLimit",{typeIds:e.map((e=>e.id)),size:t}),_a(a,Vo.Expression_produces_a_union_type_that_is_too_complex_to_represent),1))}function ty(e){return 3145728&e.flags&&!e.aliasSymbol?1048576&e.flags&&e.origin?ty(e.origin):ry(e.types):1}function ry(e){return We(e,((e,n)=>e+ty(n)),0)}function _y(e,n){const t=ss(4194304);return t.type=e,t.stringsOnly=n,t}function fy(e,n){return n?e.resolvedStringIndexType||(e.resolvedStringIndexType=_y(e,!0)):e.resolvedIndexType||(e.resolvedIndexType=_y(e,!1))}function hy(e){return LC(e)?qn:AC(e)?ib(Mc(e.escapedText)):tb(VC(e)?jk(e):uO(e))}function gy(e,n,t){if(t||!(24&OE(e))){let t=wa(Yd(e)).nameType;if(!t){const n=Wc(e.valueDeclaration);t="default"===e.escapedName?ib("default"):n&&hy(n)||(Py(e)?void 0:ib(Gc(e)))}if(t&&t.flags&n)return t}return qn}function yy(e,n){return!!(e.flags&n||2097152&e.flags&&ce(e.types,(e=>yy(e,n))))}function vy(e,n,t){const r=t&&(7&qE(e)||e.aliasSymbol)?function(e){const n=ls(4194304);return n.type=e,n}(e):void 0;return Sg(de(W(f_(e),(e=>gy(e,n))),W(J_(e),(e=>e!==Zr&&yy(e.keyType,n)?e.keyType===Dn&&8&n?$n:e.keyType:qn))),1,void 0,void 0,r)}function Ey(e){const n=function(e){return 134479871&e.flags?e:e.uniqueLiteralFilledInstantiation||(e.uniqueLiteralFilledInstantiation=hE(e,ut))}(e);return P_(n)!==n}function Ty(e){return!!(58982400&e.flags||Dx(e)||n_(e)&&!function(e){const n=Ou(e);return function e(t){return!!(202375167&t.flags)||(16777216&t.flags?t.root.isDistributive&&t.checkType===n:137363456&t.flags?N(t.types,e):8388608&t.flags?e(t.objectType)&&e(t.indexType):33554432&t.flags?e(t.baseType)&&e(t.constraint):!!(268435456&t.flags)&&e(t.type))}(Fu(e)||n)}(e)||1048576&e.flags&&ce(e.types,Ey)||2097152&e.flags&&wD(e,465829888)&&ce(e.types,cT))}function xy(e,n=Z,t){return Ty(e=P_(e))?fy(e,n):1048576&e.flags?Wg(W(e.types,(e=>xy(e,n,t)))):2097152&e.flags?Sg(W(e.types,(e=>xy(e,n,t)))):32&qE(e)?function(e,n,t){const r=Ou(e),i=Pu(e),a=Fu(e.target||e);if(!a&&!t)return i;const o=[];if(Vu(e)){if(iv(i))return fy(e,n);Du(w_(Hu(e)),8576,n,c)}else vL(wu(i),c);iv(i)&&vL(i,c);const s=t?xL(Sg(o),(e=>!(5&e.flags))):Sg(o);return 1048576&s.flags&&1048576&i.flags&&$p(s.types)===$p(i.types)?i:s;function c(n){const t=a?hE(a,aE(e.mapper,r,n)):n;o.push(t===Dn?$n:t)}}(e,n,t):e===pn?pn:2&e.flags?qn:131073&e.flags?nt:vy(e,(t?128:402653316)|(n?0:12584),n===Z&&!t)}function Cy(e){if(Z)return e;const n=(Lr||(Lr=pm("Extract",2,!0)||on),Lr===on?void 0:Lr);return n?uf(n,[e,Dn]):Dn}function Oy(e,n){const t=M(n,(e=>!!(1179648&e.flags)));if(t>=0)return ey(n)?LL(n[t],(r=>Oy(e,je(n,t,r)))):mn;if(G(n,pn))return pn;const r=[],i=[];let a=e[0];if(!function e(n,t){const o=gn(n);for(let s=0;s<t.length;s++){const c=t[s],l=o?n[s+1]:n;if(101248&c.flags){if(a+=Fy(c)||"",a+=l,!o)return!0}else if(134217728&c.flags){if(a+=c.texts[0],!e(c.texts,c.types))return!1;if(a+=l,!o)return!0}else if(iv(c)||Qy(c))r.push(c),i.push(a),a=l;else if(2097152&c.flags){if(!e(n[s+1],c.types))return!1}else if(o)return!1}return!0}(e,n))return Dn;if(0===r.length)return ib(a);if(i.push(a),N(i,(e=>""===e))){if(N(r,(e=>!!(4&e.flags))))return Dn;if(1===r.length&&Zy(r[0]))return r[0]}const o=`${$p(r)}|${W(i,(e=>e.length)).join(",")}|${i.join("")}`;let s=qe.get(o);return s||qe.set(o,s=function(e,n){const t=ss(134217728);return t.texts=e,t.types=n,t}(i,r)),s}function Fy(e){return 128&e.flags?e.value:256&e.flags?""+e.value:2048&e.flags?uS(e.value):98816&e.flags?e.intrinsicName:void 0}function Gy(e,n){return 1179648&n.flags?LL(n,(n=>Gy(e,n))):128&n.flags?ib(By(e,n.value)):134217728&n.flags?Oy(...function(e,n,t){switch(GG.get(e.escapedName)){case 0:return[n.map((e=>e.toUpperCase())),t.map((n=>Gy(e,n)))];case 1:return[n.map((e=>e.toLowerCase())),t.map((n=>Gy(e,n)))];case 2:return[""===n[0]?n:[n[0].charAt(0).toUpperCase()+n[0].slice(1),...n.slice(1)],""===n[0]?[Gy(e,t[0]),...t.slice(1)]:t];case 3:return[""===n[0]?n:[n[0].charAt(0).toLowerCase()+n[0].slice(1),...n.slice(1)],""===n[0]?[Gy(e,t[0]),...t.slice(1)]:t]}return[n,t]}(e,n.texts,n.types)):268435456&n.flags&&e===n.symbol?n:268435461&n.flags||iv(n)?Uy(e,n):Qy(n)?Uy(e,Oy(["",""],[n])):n}function By(e,n){switch(GG.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}function Uy(e,n){const t=`${WG(e)},${ig(n)}`;let r=ze.get(t);return r||ze.set(t,r=function(e,n){const t=cs(268435456,e);return t.type=n,t}(e,n)),r}function jy(e){if(Y)return!1;if(4096&qE(e))return!0;if(1048576&e.flags)return N(e.types,jy);if(2097152&e.flags)return ce(e.types,jy);if(465829888&e.flags){const n=A_(e);return n!==e&&jy(n)}return!1}function Jy(e,n){return Fd(e)?qd(e):n&&xd(n)?wy(n):void 0}function Xy(e,n){if(8208&n.flags){const t=Rc(e.parent,(e=>!eT(e)))||e.parent;return tu(t)?ru(t)&&AC(e)&&WA(t,e):N(n.declarations,(e=>!Ad(e)||!!(268435456&kc(e))))}return!0}function Yy(e,n,t,r,i,a){var o;const s=i&&209===i.kind?i:void 0,c=i&&LC(i)?void 0:Jy(t,i);if(void 0!==c){if(256&a)return IC(n,c)||un;const e=V_(n,c);if(e){if(64&a&&i&&e.declarations&&ga(e)&&Xy(i,e)&&ya(null!=(o=null==s?void 0:s.argumentExpression)?o:bk(i)?i.indexType:i,e.declarations,c),s){if(dR(e,s,_R(s.expression,n.symbol)),SD(s,e,Vg(s)))return void _a(s.argumentExpression,Vo.Cannot_assign_to_0_because_it_is_a_read_only_property,Fs(e));if(8&a&&(Ra(i).resolvedSymbol=e),Nw(s,e))return _n}const t=bl(e);return s&&1!==Vg(s)?zL(s,t):i&&bk(i)&&Xx(t)?Sg([t,An]):t}if(TL(n,Nx)&&FS(c)){const e=+c;if(i&&TL(n,(e=>!e.target.hasRestElement))&&!(16&a)){const t=$y(i);if(Nx(n)){if(e<0)return _a(t,Vo.A_tuple_type_cannot_be_indexed_with_a_negative_value),An;_a(t,Vo.Tuple_type_0_of_length_1_has_no_element_at_index_2,Bs(n),lf(n),Mc(c))}else _a(t,Vo.Property_0_does_not_exist_on_type_1,Mc(c),Bs(n))}if(e>=0)return l(X_(n,On)),LL(n,(e=>{const n=Mx(e)||An;return 1&a?Sg([n,Cn]):n}))}}if(!(98304&t.flags)&&RD(t,402665900)){if(131073&n.flags)return n;const o=Q_(n,t)||X_(n,Dn);if(o)return 2&a&&o.keyType!==On?void(s&&_a(s,Vo.Type_0_cannot_be_used_to_index_type_1,Bs(t),Bs(e))):i&&o.keyType===Dn&&!RD(t,12)?(_a($y(i),Vo.Type_0_cannot_be_used_as_an_index_type,Bs(t)),1&a?Sg([o.type,Cn]):o.type):(l(o),1&a&&!(n.symbol&&384&n.symbol.flags&&t.symbol&&1024&t.flags&&Zo(t.symbol)===n.symbol)?Sg([o.type,Cn]):o.type);if(131072&t.flags)return qn;if(jy(n))return un;if(s&&!OD(n)){if(TA(n)){if(Y&&384&t.flags)return Ji.add(Hf(s,Vo.Property_0_does_not_exist_on_type_1,t.value,Bs(n))),An;if(12&t.flags)return Sg(Te(W(n.properties,(e=>bl(e))),An))}if(n.symbol===fe&&void 0!==c&&fe.exports.has(c)&&418&fe.exports.get(c).flags)_a(s,Vo.Property_0_does_not_exist_on_type_1,Mc(c),Bs(n));else if(Y&&!x.suppressImplicitAnyIndexErrors&&!(128&a))if(void 0!==c&&Yw(c,n)){const e=Bs(n);_a(s,Vo.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,c,e,e+"["+tf(s.argumentExpression)+"]")}else if(Y_(n,On))_a(s.argumentExpression,Vo.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number);else{let e;if(void 0!==c&&(e=nR(c,n)))void 0!==e&&_a(s.argumentExpression,Vo.Property_0_does_not_exist_on_type_1_Did_you_mean_2,c,Bs(n),e);else{const e=function(e,n,t){const r=jg(n)?"set":"get";if(!function(n){const r=__(e,n);if(r){const e=IR(bl(r));return!!e&&XN(e)>=1&&RE(t,WN(e,0))}return!1}(r))return;let i=zb(n.expression);return void 0===i?i=r:i+="."+r,i}(n,s,t);if(void 0!==e)_a(s,Vo.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1,Bs(n),e);else{let e;if(1024&t.flags)e=kT(void 0,Vo.Property_0_does_not_exist_on_type_1,"["+Bs(t)+"]",Bs(n));else if(8192&t.flags){const r=wo(t.symbol,s);e=kT(void 0,Vo.Property_0_does_not_exist_on_type_1,"["+r+"]",Bs(n))}else 128&t.flags||256&t.flags?e=kT(void 0,Vo.Property_0_does_not_exist_on_type_1,t.value,Bs(n)):12&t.flags&&(e=kT(void 0,Vo.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,Bs(t),Bs(n)));e=kT(e,Vo.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,Bs(r),Bs(n)),Ji.add(qf(Ip(s),s,e))}}}return}}if(jy(n))return un;if(i){const e=$y(i);384&t.flags?_a(e,Vo.Property_0_does_not_exist_on_type_1,""+t.value,Bs(n)):12&t.flags?_a(e,Vo.Type_0_has_no_matching_index_signature_for_type_1,Bs(n),Bs(t)):_a(e,Vo.Type_0_cannot_be_used_as_an_index_type,Bs(t))}return dc(t)?t:void 0;function l(e){e&&e.isReadonly&&s&&(jg(s)||$g(s))&&_a(s,Vo.Index_signature_in_type_0_only_permits_reading,Bs(n))}}function $y(e){return 209===e.kind?e.argumentExpression:196===e.kind?e.indexType:164===e.kind?e.expression:e}function Qy(e){return!!(77&e.flags)||Zy(e)}function Zy(e){return!!(134217728&e.flags)&&N(e.types,Qy)||!!(268435456&e.flags)&&Qy(e.type)}function ev(e){return!!av(e)}function rv(e){return!!(4194304&av(e))}function iv(e){return!!(8388608&av(e))}function av(e){return 3145728&e.flags?(2097152&e.objectFlags||(e.objectFlags|=2097152|We(e.types,((e,n)=>e|av(n)),0)),12582912&e.objectFlags):33554432&e.flags?(2097152&e.objectFlags||(e.objectFlags|=2097152|av(e.baseType)|av(e.constraint)),12582912&e.objectFlags):(58982400&e.flags||n_(e)||Dx(e)?4194304:0)|(465829888&e.flags&&!Zy(e)?8388608:0)}function sv(e,n){return 8388608&e.flags?function(e,n){const t=n?"simplifiedForWriting":"simplifiedForReading";if(e[t])return e[t]===Rt?e:e[t];e[t]=Rt;const r=sv(e.objectType,n),i=sv(e.indexType,n),a=function(e,n,t){if(1048576&n.flags){const r=W(n.types,(n=>sv(pv(e,n),t)));return t?Wg(r):Sg(r)}}(r,i,n);if(a)return e[t]=a;if(!(465829888&i.flags)){const a=cv(r,i,n);if(a)return e[t]=a}if(Dx(r)&&296&i.flags){const a=Px(r,8&i.flags?0:r.target.fixedLength,0,n);if(a)return e[t]=a}if(n_(r)){const i=Fu(r);if(!i||RE(i,Ou(r)))return e[t]=LL(_v(r,e.indexType),(e=>sv(e,n)))}return e[t]=e}(e,n):16777216&e.flags?function(e,n){const t=e.checkType,r=e.extendsType,i=Cv(e),a=Iv(e);if(131072&a.flags&&Tv(i)===Tv(t)){if(1&t.flags||RE(vE(t),vE(r)))return sv(i,n);if(lv(t,r))return qn}else if(131072&i.flags&&Tv(a)===Tv(t)){if(!(1&t.flags)&&RE(vE(t),vE(r)))return qn;if(1&t.flags||lv(t,r))return sv(a,n)}return e}(e,n):e}function cv(e,n,t){if(1048576&e.flags||2097152&e.flags&&!Ty(e)){const r=W(e.types,(e=>sv(pv(e,n),t)));return 2097152&e.flags||t?Wg(r):Sg(r)}}function lv(e,n){return!!(131072&Sg([Eu(e,n),qn]).flags)}function _v(e,n){const t=Fb([Ou(e)],[n]),r=rE(e.mapper,t);return hE(Gu(e.target||e),r)}function pv(e,n,t=0,r,i,a){return yv(e,n,t,r,i,a)||(r?mn:xn)}function gv(e,n){return TL(e,(e=>{if(384&e.flags){const t=qd(e);if(FS(t)){const e=+t;return e>=0&&e<n}}return!1}))}function yv(e,n,t=0,r,i,a){if(e===pn||n===pn)return pn;if(!dT(e)||98304&n.flags||!RD(n,12)||(n=Dn),x.noUncheckedIndexedAccess&&32&t&&(t|=1),iv(n)||(r&&196!==r.kind?Dx(e)&&!gv(n,e.target.fixedLength):rv(e)&&(!Nx(e)||!gv(n,e.target.fixedLength)))){if(3&e.flags)return e;const r=1&t,o=e.id+","+n.id+","+r+Qp(i,a);let s=Ke.get(o);return s||Ke.set(o,s=function(e,n,t,r,i){const a=ss(8388608);return a.objectType=e,a.indexType=n,a.accessFlags=t,a.aliasSymbol=r,a.aliasTypeArguments=i,a}(e,n,r,i,a)),s}const o=R_(e);if(1048576&n.flags&&!(16&n.flags)){const s=[];let c=!1;for(const i of n.types){const a=Yy(e,o,i,n,r,t|(c?128:0));if(a)s.push(a);else{if(!r)return;c=!0}}if(c)return;return 4&t?Wg(s,i,a):Sg(s,1,i,a)}return Yy(e,o,n,n,r,72|t)}function bv(e){const n=Ra(e);if(!n.resolvedType){const t=Lb(e.objectType),r=Lb(e.indexType),i=Mv(e);n.resolvedType=pv(t,r,0,e,i,Pv(i))}return n.resolvedType}function Ev(e){const n=Ra(e);if(!n.resolvedType){const t=_s(32,e.symbol);t.declaration=e,t.aliasSymbol=Mv(e),t.aliasTypeArguments=Pv(t.aliasSymbol),n.resolvedType=t,Pu(t)}return n.resolvedType}function Tv(e){return 33554432&e.flags?Tv(e.baseType):8388608&e.flags&&(33554432&e.objectType.flags||33554432&e.indexType.flags)?pv(Tv(e.objectType),Tv(e.indexType)):e}function xv(e){const n=h_(e);return n&&(rv(n)||iv(n))?oE(e):e}function Sv(e){return lk(e)&&S(e.elements)>0&&!ce(e.elements,(e=>uk(e)||_k(e)||dk(e)&&!(!e.questionToken&&!e.dotDotDotToken)))}function Av(e,n){return ev(e)||n&&Nx(e)&&ce(sf(e),ev)}function Lv(e,n,t,r){let i,o,s=0;for(;;){if(1e3===s){_a(a,Vo.Type_instantiation_is_excessively_deep_and_possibly_infinite),i=mn;break}const l=Sv(e.node.checkType)&&Sv(e.node.extendsType)&&S(e.node.checkType.elements)===S(e.node.extendsType.elements),d=hE(Tv(e.checkType),n),u=Av(d,l),_=hE(e.extendsType,n);if(d===pn||_===pn)return pn;let p;if(e.inferTypeParameters){const t=z(e.inferTypeParameters,xv),r=t!==e.inferTypeParameters?Fb(e.inferTypeParameters,t):void 0,i=DS(t,void 0,0);if(r){const i=rE(n,r);for(const n of t)-1===e.inferTypeParameters.indexOf(n)&&(n.mapper=i)}u||vA(i.inferences,d,hE(_,r),1536);const a=rE(r,i.mapper);p=n?rE(a,n):a}const f=p?hE(e.extendsType,p):_;if(!u&&!Av(f,l)){if(!(3&f.flags)&&(1&d.flags||!RE(yE(d),yE(f)))){1&d.flags&&(o||(o=[])).push(hE(Lb(e.node.trueType),p||n));const t=Lb(e.node.falseType);if(16777216&t.flags){const r=t.root;if(r.node.parent===e.node&&(!r.isDistributive||r.checkType===e.checkType)){e=r;continue}if(c(t,n))continue}i=hE(t,n);break}if(3&f.flags||RE(vE(d),vE(f))){const t=Lb(e.node.trueType),r=p||n;if(c(t,r))continue;i=hE(t,r);break}}i=ss(16777216),i.root=e,i.checkType=hE(e.checkType,n),i.extendsType=hE(e.extendsType,n),i.mapper=n,i.combinedMapper=p,i.aliasSymbol=t||e.aliasSymbol,i.aliasTypeArguments=t?r:Rb(e.aliasTypeArguments,n);break}return o?Sg(Te(o,i)):i;function c(i,a){if(16777216&i.flags&&a){const o=i.root;if(o.outerTypeParameters){const c=rE(i.mapper,a),l=W(o.outerTypeParameters,(e=>Ub(e,c))),d=Fb(o.outerTypeParameters,l),u=o.isDistributive?Ub(o.checkType,d):void 0;if(!(u&&u!==o.checkType&&1179648&u.flags))return e=o,n=d,t=void 0,r=void 0,o.aliasSymbol&&s++,!0}}return!1}}function Cv(e){return e.resolvedTrueType||(e.resolvedTrueType=hE(Lb(e.root.node.trueType),e.mapper))}function Iv(e){return e.resolvedFalseType||(e.resolvedFalseType=hE(Lb(e.root.node.falseType),e.mapper))}function wv(e){let n;return e.locals&&e.locals.forEach((e=>{262144&e.flags&&(n=Te(n,_d(e)))})),n}function Rv(e){return AC(e)?[e]:Te(Rv(e.left),e.right)}function Nv(e){var n;const t=Ra(e);if(!t.resolvedType){if(!um(e))return _a(e.argument,Vo.String_literal_expected),t.resolvedSymbol=on,t.resolvedType=mn;const r=e.isTypeOf?111551:8388608&e.flags?900095:788968,i=Oo(e,e.argument.literal);if(!i)return t.resolvedSymbol=on,t.resolvedType=mn;const a=!!(null==(n=i.exports)?void 0:n.get("export=")),o=Go(i,!1);if(Fp(e.qualifier))o.flags&r?t.resolvedType=Dv(e,t,o,r):(_a(e,111551===r?Vo.Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:Vo.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),t.resolvedSymbol=on,t.resolvedType=mn);else{const n=Rv(e.qualifier);let i,s=o;for(;i=n.shift();){const o=n.length?1920:r,c=Yo(Eo(s)),l=e.isTypeOf||Ah(e)&&a?V_(bl(c),i.escapedText,!1,!0):void 0,d=e.isTypeOf?void 0:Da(qo(c),i.escapedText,o),u=null!=d?d:l;if(!u)return _a(i,Vo.Namespace_0_has_no_exported_member_1,wo(s),Ff(i)),t.resolvedType=mn;Ra(i).resolvedSymbol=u,Ra(i.parent).resolvedSymbol=u,s=u}t.resolvedType=Dv(e,t,s,r)}}return t.resolvedType}function Dv(e,n,t,r){const i=Eo(t);return n.resolvedSymbol=i,111551===r?RN(bl(t),e):Lf(e,i)}function Ov(e){const n=Ra(e);if(!n.resolvedType){const t=Mv(e);if(0!==Xd(e.symbol).size||t){let r=_s(16,e.symbol);r.aliasSymbol=t,r.aliasTypeArguments=Pv(t),Hw(e)&&e.isArrayType&&(r=dh(r)),n.resolvedType=r}else n.resolvedType=At}return n.resolvedType}function Mv(e){let n=e.parent;for(;gk(n)||kw(n)||vk(n)&&146===n.operator;)n=n.parent;return Tg(n)?$o(n):void 0}function Pv(e){return e?Pl(e):void 0}function Fv(e){return!!(524288&e.flags)&&!n_(e)}function Gv(e){return sT(e)||!!(474058748&e.flags)}function Vv(e,n){if(!(1048576&e.flags))return e;if(N(e.types,Gv))return D(e.types,sT)||bt;const t=D(e.types,(e=>!Gv(e)));return t?D(e.types,(e=>e!==t&&!Gv(e)))?e:function(e){const t=op();for(const r of f_(e))if(24&OE(r));else if(Xv(r)){const e=65536&r.flags&&!(32768&r.flags),i=va(16777220,r.escapedName,Ru(r)|(n?8:0));i.links.type=e?An:Ac(bl(r),!0),i.declarations=r.declarations,i.links.nameType=wa(r).nameType,i.links.syntheticOrigin=r,t.set(r.escapedName,i)}const r=ys(e.symbol,t,i,i,J_(e));return r.objectFlags|=131200,r}(t):e}function qv(e,n,t,r,a){if(1&e.flags||1&n.flags)return un;if(2&e.flags||2&n.flags)return xn;if(131072&e.flags)return n;if(131072&n.flags)return e;if(1048576&(e=Vv(e,a)).flags)return ey([e,n])?LL(e,(e=>qv(e,n,t,r,a))):mn;if(1048576&(n=Vv(n,a)).flags)return ey([e,n])?LL(n,(n=>qv(e,n,t,r,a))):mn;if(473960444&n.flags)return e;if(rv(e)||rv(n)){if(sT(e))return n;if(2097152&e.flags){const i=e.types,o=i[i.length-1];if(Fv(o)&&Fv(n))return Wg(de(i.slice(0,i.length-1),[qv(o,n,t,r,a)]))}return Wg([e,n])}const o=op(),s=new Set,c=e===bt?J_(n):bu([e,n]);for(const e of f_(n))24&OE(e)?s.add(e.escapedName):Xv(e)&&o.set(e.escapedName,Zv(e,a));for(const n of f_(e))if(!s.has(n.escapedName)&&Xv(n))if(o.has(n.escapedName)){const e=o.get(n.escapedName),t=bl(e);if(16777216&e.flags){const r=de(n.declarations,e.declarations),i=va(4|16777216&n.flags,n.escapedName);i.links.type=Sg([bl(n),Yx(t)],2),i.links.leftSpread=n,i.links.rightSpread=e,i.declarations=r,i.links.nameType=wa(n).nameType,o.set(n.escapedName,i)}}else o.set(n.escapedName,Zv(n,a));const l=ys(t,o,i,i,z(c,(e=>function(e,n){return e.isReadonly!==n?Hp(e.keyType,e.type,n,e.declaration):e}(e,a))));return l.objectFlags|=2228352|r,l}function Xv(e){var n;return!(ce(e.declarations,hd)||106496&e.flags&&(null==(n=e.declarations)?void 0:n.some((e=>Dd(e.parent)))))}function Zv(e,n){const t=65536&e.flags&&!(32768&e.flags);if(!t&&n===xD(e))return e;const r=va(4|16777216&e.flags,e.escapedName,Ru(e)|(n?8:0));return r.links.type=t?An:bl(e),r.declarations=e.declarations,r.links.nameType=wa(e).nameType,r.links.syntheticOrigin=e,r}function eb(e,n,t,r){const i=cs(e,t);return i.value=n,i.regularType=r||i,i}function nb(e){if(2976&e.flags){if(!e.freshType){const n=eb(e.flags,e.value,e.symbol,e);n.freshType=n,e.freshType=n}return e.freshType}return e}function tb(e){return 2976&e.flags?e.regularType:1048576&e.flags?e.regularType||(e.regularType=LL(e,tb)):e}function rb(e){return!!(2976&e.flags)&&e.freshType===e}function ib(e){let n;return Re.get(e)||(Re.set(e,n=eb(128,e)),n)}function ab(e){let n;return Be.get(e)||(Be.set(e,n=eb(256,e)),n)}function ob(e){let n;const t=uS(e);return Ue.get(t)||(Ue.set(t,n=eb(2048,e)),n)}function bb(e,n,t){let r;const i=`${n}${"string"==typeof e?"@":"#"}${e}`,a=1024|("string"==typeof e?128:256);return Ve.get(i)||(Ve.set(i,r=eb(a,e,t)),r)}function Eb(e){if(wm(e)){const n=Im(e)?Qo(e.left):Qo(e);if(n){const e=wa(n);return e.uniqueESSymbolType||(e.uniqueESSymbolType=function(e){const n=cs(8192,e);return n.escapedName=`__@${n.symbol.escapedName}@${WG(n.symbol)}`,n}(n))}}return Kn}function xb(e){const n=Ra(e);return n.resolvedType||(n.resolvedType=function(e){const n=Jm(e,!1,!1),t=n&&n.parent;if(t&&(Dd(t)||261===t.kind)&&!ub(n)&&(!YC(n)||Qg(e,n.body)))return nd($o(t)).thisType;if(t&&wk(t)&&qk(t.parent)&&6===Yh(t.parent))return nd(Qo(t.parent.left).parent).thisType;const r=8388608&e.flags?Mg(e):void 0;return r&&Gk(r)&&qk(r.parent)&&3===Yh(r.parent)?nd(Qo(r.parent.left).parent).thisType:gN(n)&&Qg(e,n.body)?nd($o(n)).thisType:(_a(e,Vo.A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface),mn)}(e)),n.resolvedType}function Sb(e){return Lb(Ab(e.type)||e.type)}function Ab(e){switch(e.kind){case 193:return Ab(e.type);case 186:if(1===e.elements.length&&(188===(e=e.elements[0]).kind||199===e.kind&&e.dotDotDotToken))return Ab(e.type);break;case 185:return e.elementType}}function Lb(e){return function(e,n){let t,r=!0;for(;n&&!Mu(n)&&323!==n.kind;){const i=n.parent;if(166===i.kind&&(r=!r),(r||8650752&e.flags)&&191===i.kind&&n===i.trueType){const n=wf(e,i.checkType,i.extendsType);n&&(t=Te(t,n))}else if(262144&e.flags&&197===i.kind&&n===i.type){const n=Lb(i);if(Ou(n)===Tv(e)){const e=dE(n);if(e){const n=h_(e);n&&TL(n,dx)&&(t=Te(t,Sg([On,at])))}}}n=i}return t?Cf(e,Wg(t)):e}(Cb(e),e)}function Cb(e){switch(e.kind){case 131:case 315:case 316:return un;case 157:return xn;case 152:return Dn;case 148:return On;case 160:return Mn;case 134:return Hn;case 153:return Kn;case 114:return Wn;case 155:return An;case 104:return wn;case 144:return qn;case 149:return 262144&e.flags&&!Y?un:Yn;case 139:return bn;case 194:case 108:return xb(e);case 198:return function(e){if(104===e.literal.kind)return wn;const n=Ra(e);return n.resolvedType||(n.resolvedType=tb(uO(e.literal))),n.resolvedType}(e);case 180:case 230:return Wf(e);case 179:return e.assertsModifier?Wn:Hn;case 183:return Xf(e);case 185:case 186:return function(e){const n=Ra(e);if(!n.resolvedType){const t=function(e){const n=function(e){return vk(e)&&146===e.operator}(e.parent);return Ab(e)?n?Jt:zt:Fh(W(e.elements,ph),n,ce(e.elements,(e=>199!==e.kind))?void 0:e.elements)}(e);if(t===kt)n.resolvedType=bt;else if(186===e.kind&&ce(e.elements,(e=>!!(8&ph(e))))||!Ch(e)){const r=185===e.kind?[Lb(e.elementType)]:W(e.elements,Lb);n.resolvedType=qh(t,r)}else n.resolvedType=186===e.kind&&0===e.elements.length?t:of(t,e,void 0)}return n.resolvedType}(e);case 187:return function(e){return Ac(Lb(e.type),!0)}(e);case 189:return function(e){const n=Ra(e);if(!n.resolvedType){const t=Mv(e);n.resolvedType=Sg(W(e.types,Lb),1,t,Pv(t))}return n.resolvedType}(e);case 190:return function(e){const n=Ra(e);if(!n.resolvedType){const t=Mv(e),r=W(e.types,Lb),i=2===r.length&&!!(76&r[0].flags)&&r[1]===At;n.resolvedType=Wg(r,t,Pv(t),i)}return n.resolvedType}(e);case 317:return function(e){const n=Lb(e.type);return F?Ux(n,65536):n}(e);case 319:return Ac(Lb(e.type));case 199:return function(e){const n=Ra(e);return n.resolvedType||(n.resolvedType=e.dotDotDotToken?Sb(e):Ac(Lb(e.type),!0,!!e.questionToken))}(e);case 193:case 318:case 312:return Lb(e.type);case 188:return Sb(e);case 321:return function(e){const n=Lb(e.type),{parent:t}=e,r=e.parent.parent;if(kw(e.parent)&&iR(r)){const e=Mg(r),t=Jw(r.parent.parent);if(e||t){const i=Fe(t?r.parent.parent.typeExpression.parameters:e.parameters),a=Dg(r);if(!i||a&&i.symbol===a&&a_(i))return dh(n)}}return HC(t)&&Bw(t.parent)?dh(n):Ac(n)}(e);case 181:case 182:case 184:case 325:case 320:case 326:return Ov(e);case 195:return function(e){const n=Ra(e);if(!n.resolvedType)switch(e.operator){case 141:n.resolvedType=xy(Lb(e.type));break;case 156:n.resolvedType=153===e.type.kind?Eb(qg(e.parent)):mn;break;case 146:n.resolvedType=Lb(e.type);break;default:throw Nt.assertNever(e.operator)}return n.resolvedType}(e);case 196:return bv(e);case 197:return Ev(e);case 191:return function(e){const n=Ra(e);if(!n.resolvedType){const t=Lb(e.checkType),r=Mv(e),i=Pv(r),a=Dl(e,!0),o=i?a:j(a,(n=>lE(n,e))),s={node:e,checkType:t,extendsType:Lb(e.extendsType),isDistributive:!!(262144&t.flags),inferTypeParameters:wv(e),outerTypeParameters:o,instantiations:void 0,aliasSymbol:r,aliasTypeArguments:i};n.resolvedType=Lv(s,void 0),o&&(s.instantiations=new Map,s.instantiations.set($p(o),n.resolvedType))}return n.resolvedType}(e);case 192:return function(e){const n=Ra(e);return n.resolvedType||(n.resolvedType=dd($o(e.typeParameter))),n.resolvedType}(e);case 200:return function(e){const n=Ra(e);return n.resolvedType||(n.resolvedType=Oy([e.head.text,...W(e.templateSpans,(e=>e.literal.text))],W(e.templateSpans,(e=>Lb(e.type))))),n.resolvedType}(e);case 202:return Nv(e);case 79:case 163:case 208:const n=rF(e);return n?_d(n):mn;default:return mn}}function wb(e,n,t){if(e&&e.length)for(let r=0;r<e.length;r++){const i=e[r],a=t(i,n);if(i!==a){const i=0===r?[]:e.slice(0,r);for(i.push(a),r++;r<e.length;r++)i.push(t(e[r],n));return i}}return e}function Rb(e,n){return wb(e,n,hE)}function Nb(e,n){return wb(e,n,sE)}function Db(e,n){return wb(e,n,bE)}function Fb(e,n){return 1===e.length?Vb(e[0],n?n[0]:un):function(e,n){return Nt.attachDebugPrototypeIfDebug({kind:1,sources:e,targets:n})}(e,n)}function Ub(e,n){switch(n.kind){case 0:return e===n.source?n.target:e;case 1:{const t=n.sources,r=n.targets;for(let n=0;n<t.length;n++)if(e===t[n])return r?r[n]:un;return e}case 2:{const t=n.sources,r=n.targets;for(let n=0;n<t.length;n++)if(e===t[n])return r[n]();return e}case 3:return n.func(e);case 4:case 5:const t=Ub(e,n.mapper1);return t!==e&&4===n.kind?hE(t,n.mapper2):Ub(t,n.mapper2)}}function Vb(e,n){return Nt.attachDebugPrototypeIfDebug({kind:0,source:e,target:n})}function Yb(e,n){return Nt.attachDebugPrototypeIfDebug({kind:3,func:e,debugInfo:Nt.isDebugging?n:void 0})}function Qb(e,n){return Nt.attachDebugPrototypeIfDebug({kind:2,sources:e,targets:n})}function Zb(e,n,t){return Nt.attachDebugPrototypeIfDebug({kind:e,mapper1:n,mapper2:t})}function tE(e){return Fb(e,void 0)}function rE(e,n){return e?Zb(4,e,n):n}function iE(e,n,t){return t?Zb(5,Vb(e,n),t):Vb(e,n)}function aE(e,n,t){return e?Zb(5,e,Vb(n,t)):Vb(n,t)}function oE(e){const n=ps(e.symbol);return n.target=e,n}function sE(e,n,t){let r;if(e.typeParameters&&!t){r=W(e.typeParameters,oE),n=rE(Fb(e.typeParameters,r),n);for(const e of r)e.mapper=n}const i=Zd(e.declaration,r,e.thisParameter&&cE(e.thisParameter,n),wb(e.parameters,n,cE),void 0,void 0,e.minArgumentCount,39&e.flags);return i.target=e,i.mapper=n,i}function cE(e,n){const t=wa(e);if(t.type&&!nA(t.type))return e;1&DE(e)&&(e=t.target,n=rE(t.mapper,n));const r=va(e.flags,e.escapedName,1|53256&DE(e));return r.declarations=e.declarations,r.parent=e.parent,r.links.target=e,r.links.mapper=n,e.valueDeclaration&&(r.valueDeclaration=e.valueDeclaration),t.nameType&&(r.links.nameType=t.nameType),r}function lE(e,n){if(e.symbol&&e.symbol.declarations&&1===e.symbol.declarations.length){const r=e.symbol.declarations[0].parent;for(let e=n;e!==r;e=e.parent)if(!e||238===e.kind||191===e.kind&&ED(e.extendsType,t))return!0;return t(n)}return!0;function t(n){switch(n.kind){case 194:return!!e.isThisType;case 79:return!e.isThisType&&vm(n)&&function(e){return!(180===e.parent.kind&&e.parent.typeArguments&&e===e.parent.typeName||202===e.parent.kind&&e.parent.typeArguments&&e===e.parent.qualifier)}(n)&&Cb(n)===e;case 183:const r=kA(Kb(n.exprName)),i=e.symbol.declarations[0];let a;if(165===i.kind)a=i.parent;else{if(!e.isThisType)return!0;a=i}return!r.declarations||ce(r.declarations,(e=>Qg(e,a)))||ce(n.typeArguments,t);case 171:case 170:return!n.type&&!!n.body||ce(n.typeParameters,t)||ce(n.parameters,t)||!!n.type&&t(n.type)}return!!ED(n,t)}}function dE(e){const n=Pu(e);if(4194304&n.flags){const e=Tv(n.type);if(262144&e.flags)return e}}function uE(e,n,t,r){const i=dE(e);if(i){const a=hE(i,n);if(i!==a)return CL(P_(a),(t=>{if(61603843&t.flags&&t!==pn&&!uc(t)){if(!e.declaration.nameType){let r;if(cx(t)||1&t.flags&&rc(i,4)<0&&(r=h_(i))&&TL(r,dx))return function(e,n,t){const r=pE(n,On,!0,t);return uc(r)?mn:dh(r,_E(lx(e),Wu(n)))}(t,e,iE(i,t,n));if(Dx(t))return function(e,n,t,r){const i=e.target.elementFlags,a=W(sf(e),((e,a)=>{const o=8&i[a]?e:4&i[a]?dh(e):Mh([e],[i[a]]);return uE(n,iE(t,o,r))})),o=_E(e.target.readonly,Wu(n));return Mh(a,W(a,(e=>8)),o)}(t,e,i,n);if(Nx(t))return function(e,n,t){const r=e.target.elementFlags,i=W(sf(e),((e,i)=>pE(n,ib(""+i),!!(2&r[i]),t))),a=Wu(n),o=4&a?W(r,(e=>1&e?2:e)):8&a?W(r,(e=>2&e?1:e)):r,s=_E(e.target.readonly,a);return G(i,mn)?mn:Mh(i,o,s,e.target.labeledElementDeclarations)}(t,e,iE(i,t,n))}return fE(e,iE(i,t,n))}return t}),t,r)}return hE(Pu(e),n)===pn?pn:fE(e,n,t,r)}function _E(e,n){return!!(1&n)||!(2&n)&&e}function pE(e,n,t,r){const i=aE(r,Ou(e),n),a=hE(Gu(e.target||e),i),o=Wu(e);return F&&4&o&&!wD(a,49152)?Vx(a,!0):F&&8&o&&t?YA(a,524288):a}function fE(e,n,t,r){const i=_s(64|e.objectFlags,e.symbol);if(32&e.objectFlags){i.declaration=e.declaration;const t=Ou(e),r=oE(t);i.typeParameter=r,n=rE(Vb(t,r),n),r.mapper=n}return 8388608&e.objectFlags&&(i.node=e.node),i.target=e,i.mapper=n,i.aliasSymbol=t||e.aliasSymbol,i.aliasTypeArguments=t?r:Rb(e.aliasTypeArguments,n),i.objectFlags|=i.aliasTypeArguments?Zp(i.aliasTypeArguments):0,i}function mE(e,n,t,r){const i=e.root;if(i.outerTypeParameters){const e=W(i.outerTypeParameters,(e=>Ub(e,n))),a=$p(e)+Qp(t,r);let o=i.instantiations.get(a);if(!o){const n=Fb(i.outerTypeParameters,e),s=i.checkType,c=i.isDistributive?Ub(s,n):void 0;o=c&&s!==c&&1179648&c.flags?CL(P_(c),(e=>Lv(i,iE(s,e,n))),t,r):Lv(i,n,t,r),i.instantiations.set(a,o)}return o}return e}function hE(e,n){return e&&n?gE(e,n,void 0,void 0):e}function gE(e,n,t,r){var o;if(!nA(e))return e;if(100===y||g>=5e6)return null==(o=Vr)||o.instant(Vr.Phase.CheckTypes,"instantiateType_DepthLimit",{typeId:e.id,instantiationDepth:y,instantiationCount:g}),_a(a,Vo.Type_instantiation_is_excessively_deep_and_possibly_infinite),mn;h++,g++,y++;const s=function(e,n,t,r){const a=e.flags;if(262144&a)return Ub(e,n);if(524288&a){const a=e.objectFlags;if(52&a){if(4&a&&!e.node){const t=e.resolvedTypeArguments,r=Rb(t,n);return r!==t?qh(e.target,r):e}return 1024&a?function(e,n){const t=hE(e.mappedType,n);if(!(32&qE(t)))return e;const r=hE(e.constraintType,n);if(!(4194304&r.flags))return e;const i=iA(hE(e.source,n),t,r);return i||e}(e,n):function(e,n,t,r){const a=4&e.objectFlags||8388608&e.objectFlags?e.node:e.symbol.declarations[0],o=Ra(a),s=4&e.objectFlags?o.resolvedType:64&e.objectFlags?e.target:e;let c=o.outerTypeParameters;if(!c){let n=Dl(a,!0);gN(a)&&(n=Ae(n,ep(a))),c=n||i;const t=8388612&e.objectFlags?[a]:e.symbol.declarations;c=(8388612&s.objectFlags||8192&s.symbol.flags||2048&s.symbol.flags)&&!s.aliasTypeArguments?j(c,(e=>ce(t,(n=>lE(e,n))))):c,o.outerTypeParameters=c}if(c.length){const i=rE(e.mapper,n),a=W(c,(e=>Ub(e,i))),o=t||e.aliasSymbol,l=t?r:Rb(e.aliasTypeArguments,n),d=$p(a)+Qp(o,l);s.instantiations||(s.instantiations=new Map,s.instantiations.set($p(c)+Qp(s.aliasSymbol,s.aliasTypeArguments),s));let u=s.instantiations.get(d);if(!u){const n=Fb(c,a);u=4&s.objectFlags?of(e.target,e.node,n,o,l):32&s.objectFlags?uE(s,n,o,l):fE(s,n,o,l),s.instantiations.set(d,u)}return u}return e}(e,n,t,r)}return e}if(3145728&a){const i=1048576&e.flags?e.origin:void 0,o=i&&3145728&i.flags?i.types:e.types,s=Rb(o,n);if(s===o&&t===e.aliasSymbol)return e;const c=t||e.aliasSymbol,l=t?r:Rb(e.aliasTypeArguments,n);return 2097152&a||i&&2097152&i.flags?Wg(s,c,l):Sg(s,1,c,l)}if(4194304&a)return xy(hE(e.type,n));if(134217728&a)return Oy(e.texts,Rb(e.types,n));if(268435456&a)return Gy(e.symbol,hE(e.type,n));if(8388608&a){const i=t||e.aliasSymbol,a=t?r:Rb(e.aliasTypeArguments,n);return pv(hE(e.objectType,n),hE(e.indexType,n),e.accessFlags,void 0,i,a)}if(16777216&a)return mE(e,rE(e.mapper,n),t,r);if(33554432&a){const t=hE(e.baseType,n),r=hE(e.constraint,n);return 8650752&t.flags&&ev(r)?Cf(t,r):3&r.flags||RE(vE(t),vE(r))?t:8650752&t.flags?Cf(t,r):Wg([r,t])}return e}(e,n,t,r);return y--,s}function yE(e){return 134479871&e.flags?e:e.permissiveInstantiation||(e.permissiveInstantiation=hE(e,ct))}function vE(e){return 134479871&e.flags?e:(e.restrictiveInstantiation||(e.restrictiveInstantiation=hE(e,st),e.restrictiveInstantiation.restrictiveInstantiation=e.restrictiveInstantiation),e.restrictiveInstantiation)}function bE(e,n){return Hp(e.keyType,hE(e.type,n),e.isReadonly,e.declaration)}function EE(e){switch(Nt.assert(171!==e.kind||Om(e)),e.kind){case 215:case 216:case 171:case 259:return TE(e);case 207:return ce(e.properties,EE);case 206:return ce(e.elements,EE);case 224:return EE(e.whenTrue)||EE(e.whenFalse);case 223:return(56===e.operatorToken.kind||60===e.operatorToken.kind)&&(EE(e.left)||EE(e.right));case 299:return EE(e.initializer);case 214:return EE(e.expression);case 289:return ce(e.properties,EE)||sw(e.parent)&&ce(e.parent.parent.children,EE);case 288:{const{initializer:n}=e;return!!n&&EE(n)}case 291:{const{expression:n}=e;return!!n&&EE(n)}}return!1}function TE(e){return RS(e)||function(e){return!e.typeParameters&&!Yv(e)&&!!e.body&&238!==e.body.kind&&EE(e.body)}(e)}function xE(e){return(MS(e)||Om(e))&&TE(e)}function SE(e){if(524288&e.flags){const n=d_(e);if(n.constructSignatures.length||n.callSignatures.length){const t=_s(16,e.symbol);return t.members=n.members,t.properties=n.properties,t.callSignatures=i,t.constructSignatures=i,t.indexInfos=i,t}}else if(2097152&e.flags)return Wg(W(e.types,SE));return e}function AE(e,n){return pT(e,n,na)}function LE(e,n){return pT(e,n,na)?-1:0}function CE(e,n){return pT(e,n,Zi)?-1:0}function kE(e,n){return pT(e,n,$i)?-1:0}function IE(e,n){return pT(e,n,$i)}function wE(e,n){return pT(e,n,Qi)}function RE(e,n){return pT(e,n,Zi)}function NE(e,n){return 1048576&e.flags?N(e.types,(e=>NE(e,n))):1048576&n.flags?ce(n.types,(n=>NE(e,n))):2097152&e.flags?ce(e.types,(e=>NE(e,n))):58982400&e.flags?NE(T_(e)||xn,n):cT(n)?!!(67633152&e.flags):n===Ht?!!(67633152&e.flags)&&!cT(e):n===Kt?!!(524288&e.flags)&&zA(e):Cl(e,Ll(n))||cx(n)&&!lx(n)&&NE(e,Jt)}function ME(e,n){return pT(e,n,ea)}function BE(e,n){return ME(e,n)||ME(n,e)}function UE(e,n,t,r,i,a){return gT(e,n,Zi,t,r,i,a)}function VE(e,n,t,r,i,a){return jE(e,n,Zi,t,r,i,a,void 0)}function jE(e,n,t,r,i,a,o,s){return!!pT(e,n,t)||(!r||!KE(i,e,n,t,a,o,s))&&gT(e,n,t,r,a,o,s)}function HE(e){return!!(16777216&e.flags||2097152&e.flags&&ce(e.types,HE))}function KE(e,n,t,r,i,a,o){if(!e||HE(t))return!1;if(!gT(n,t,r,void 0)&&function(e,n,t,r,i,a,o){const s=H_(n,0),c=H_(n,1);for(const l of[c,s])if(ce(l,(e=>{const n=Sp(e);return!(131073&n.flags)&&gT(n,t,r,void 0)}))){const r=o||{};return UE(n,t,e,i,a,r),iS(r.errors[r.errors.length-1],Hf(e,l===c?Vo.Did_you_mean_to_use_new_with_this_expression:Vo.Did_you_mean_to_call_this_expression)),!0}return!1}(e,n,t,r,i,a,o))return!0;switch(e.kind){case 291:case 214:return KE(e.expression,n,t,r,i,a,o);case 223:switch(e.operatorToken.kind){case 63:case 27:return KE(e.right,n,t,r,i,a,o)}break;case 207:return function(e,n,t,r,i,a){return!(134479868&t.flags)&&YE(function*(e){if(S(e.properties))for(const n of e.properties){if(Tw(n))continue;const e=gy($o(n),8576);if(e&&!(131072&e.flags))switch(n.kind){case 175:case 174:case 171:case 300:yield{errorNode:n.name,innerExpression:void 0,nameType:e};break;case 299:yield{errorNode:n.name,innerExpression:n.initializer,nameType:e,errorMessage:Bf(n.name)?Vo.Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:void 0};break;default:Nt.assertNever(n)}}}(e),n,t,r,i,a)}(e,n,t,r,a,o);case 206:return function(e,n,t,r,i,a){if(134479868&t.flags)return!1;if(bx(n))return YE(QE(e,t),n,t,r,i,a);ck(e,t,!1);const o=Uk(e,1,!0);return pk(),!!bx(o)&&YE(QE(e,t),o,t,r,i,a)}(e,n,t,r,a,o);case 289:return function(e,n,t,r,i,a){let o,s=YE(function*(e){if(S(e.properties))for(const n of e.properties)fw(n)||nI(Pc(n.name))||(yield{errorNode:n.name,innerExpression:n.initializer,nameType:ib(Pc(n.name))})}(e),n,t,r,i,a);if(sw(e.parent)&&aw(e.parent.parent)){const o=e.parent.parent,l=bI(mI(e)),d=void 0===l?"children":Mc(l),u=ib(d),_=pv(t,u),p=nv(o.children);if(!S(p))return s;const f=S(p)>1;let m,h;if(Vm(!1)!==kt){const e=lh(un);m=xL(_,(n=>RE(n,e))),h=xL(_,(n=>!RE(n,e)))}else m=xL(_,Ex),h=xL(_,(e=>!Ex(e)));if(f){if(m!==qn){const e=Mh(aI(o,0)),n=function*(e,n){if(!S(e.children))return;let t=0;for(let r=0;r<e.children.length;r++){const i=$E(e.children[r],ab(r-t),n);i?yield i:t++}}(o,c);s=function(e,n,t,r,i,a){const o=xL(t,Ex),s=xL(t,(e=>!Ex(e))),c=s!==qn?MM(13,0,s,void 0):void 0;let l=!1;for(let t=e.next();!t.done;t=e.next()){const{errorNode:e,innerExpression:s,nameType:d,errorMessage:u}=t.value;let _=c;const p=o!==qn?zE(n,o,d):void 0;if(!p||8388608&p.flags||(_=c?Sg([c,p]):p),!_)continue;let f=yv(n,d);if(!f)continue;const m=Jy(d,void 0);if(!gT(f,_,r,void 0)&&(l=!0,!s||!KE(s,f,_,r,void 0,i,a))){const t=a||{},c=s?XE(s,f):f;if(te&&bT(c,_)){const n=Hf(e,Vo.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target,Bs(c),Bs(_));Ji.add(n),t.errors=[n]}else{const a=!!(m&&16777216&(V_(o,m)||on).flags),s=!!(m&&16777216&(V_(n,m)||on).flags);_=Jx(_,a),f=Jx(f,a&&s),gT(c,_,r,e,u,i,t)&&c!==f&&gT(f,_,r,e,u,i,t)}}}return l}(n,e,m,r,i,a)||s}else if(!pT(pv(n,u),_,r)){s=!0;const e=_a(o.openingElement.tagName,Vo.This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided,d,Bs(_));a&&a.skipLogging&&(a.errors||(a.errors=[])).push(e)}}else if(h!==qn){const e=$E(p[0],u,c);e&&(s=YE(function*(){yield e}(),n,t,r,i,a)||s)}else if(!pT(pv(n,u),_,r)){s=!0;const e=_a(o.openingElement.tagName,Vo.This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided,d,Bs(_));a&&a.skipLogging&&(a.errors||(a.errors=[])).push(e)}}return s;function c(){if(!o){const n=tf(e.parent.tagName),r=bI(mI(e)),i=void 0===r?"children":Mc(r),a=pv(t,ib(i)),s=Vo._0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2;o={...s,key:"!!ALREADY FORMATTED!!",message:AT(void 0,s,n,i,Bs(a))}}return o}}(e,n,t,r,a,o);case 216:return function(e,n,t,r,i,a){if(lI(e.body))return!1;if(ce(e.parameters,Yu))return!1;const o=IR(n);if(!o)return!1;const s=H_(t,0);if(!S(s))return!1;const c=e.body,l=Sp(o),d=Sg(W(s,Sp));if(!gT(l,d,r,void 0)){const n=c&&KE(c,l,d,r,void 0,i,a);if(n)return n;const o=a||{};if(gT(l,d,r,c,void 0,i,o),o.errors)return t.symbol&&S(t.symbol.declarations)&&iS(o.errors[o.errors.length-1],Hf(t.symbol.declarations[0],Vo.The_expected_type_comes_from_the_return_type_of_this_signature)),0==(2&Sy(e))&&!lc(l,"then")&&gT(sD(l),d,r,void 0)&&iS(o.errors[o.errors.length-1],Hf(e,Vo.Did_you_mean_to_mark_this_function_as_async)),!0}return!1}(e,n,t,r,a,o)}return!1}function zE(e,n,t){const r=yv(n,t);if(r)return r;if(1048576&n.flags){const r=ET(e,n);if(r)return yv(r,t)}}function XE(e,n){ck(e,n,!1);const t=QD(e,1);return pk(),t}function YE(e,n,t,r,i,a){let o=!1;for(const s of e){const{errorNode:e,innerExpression:c,nameType:l,errorMessage:d}=s;let u=zE(n,t,l);if(!u||8388608&u.flags)continue;let _=yv(n,l);if(!_)continue;const p=Jy(l,void 0);if(!gT(_,u,r,void 0)&&(o=!0,!c||!KE(c,_,u,r,void 0,i,a))){const o=a||{},s=c?XE(c,_):_;if(te&&bT(s,u)){const n=Hf(e,Vo.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target,Bs(s),Bs(u));Ji.add(n),o.errors=[n]}else{const a=!!(p&&16777216&(V_(t,p)||on).flags),c=!!(p&&16777216&(V_(n,p)||on).flags);u=Jx(u,a),_=Jx(_,a&&c),gT(s,u,r,e,d,i,o)&&s!==_&&gT(_,u,r,e,d,i,o)}if(o.errors){const e=o.errors[o.errors.length-1],n=Fd(l)?qd(l):void 0,r=void 0!==n?V_(t,n):void 0;let i=!1;if(!r){const n=Q_(t,l);n&&n.declaration&&!Ip(n.declaration).hasNoDefaultLib&&(i=!0,iS(e,Hf(n.declaration,Vo.The_expected_type_comes_from_this_index_signature)))}if(!i&&(r&&S(r.declarations)||t.symbol&&S(t.symbol.declarations))){const i=r&&S(r.declarations)?r.declarations[0]:t.symbol.declarations[0];Ip(i).hasNoDefaultLib||iS(e,Hf(i,Vo.The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1,!n||8192&l.flags?Bs(l):Mc(n),Bs(t)))}}}}return o}function $E(e,n,t){switch(e.kind){case 291: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 281:case 282:case 285:return{errorNode:e,innerExpression:e,nameType:n};default:return Nt.assertNever(e,"Found invalid jsx child")}}function*QE(e,n){const t=S(e.elements);if(t)for(let r=0;r<t;r++){if(bx(n)&&!V_(n,""+r))continue;const t=e.elements[r];if(Qk(t))continue;const i=ab(r);yield{errorNode:t,innerExpression:t,nameType:i}}}function nT(e,n,t,r,i){return gT(e,n,ea,t,r,i)}function tT(e){if(!e.typeParameters&&(!e.thisParameter||dc(GN(e.thisParameter)))&&1===e.parameters.length&&QG(e)){const n=GN(e.parameters[0]);return!!(131073&(cx(n)?sf(n)[0]:n).flags&&3&Sp(e).flags)}return!1}function rT(e,n,t,r,i,a,o,s){if(e===n)return-1;if(!(16&t&&tT(e))&&tT(n))return-1;if(16&t&&tT(e)&&!tT(n))return 0;const c=JN(n);if(!YN(n)&&(8&t?YN(e)||JN(e)>c:XN(e)>c))return 0;var l;e.typeParameters&&e.typeParameters!==n.typeParameters&&(e=NR(e,n=(l=n).typeParameters?l.canonicalSignatureCache||(l.canonicalSignatureCache=function(e){return Dp(e,W(e.typeParameters,(e=>e.target&&!h_(e.target)?e.target:e)),Ah(e.declaration))}(l)):l,void 0,o));const d=JN(e),u=QN(e),_=QN(n);(u||_)&&hE(u||_,s);const p=n.declaration?n.declaration.kind:0,f=!(3&t)&&U&&171!==p&&170!==p&&173!==p;let m=-1;const h=Ep(e);if(h&&h!==Wn){const e=Ep(n);if(e){const n=!f&&o(h,e,!1)||o(e,h,r);if(!n)return r&&i(Vo.The_this_types_of_each_signature_are_incompatible),0;m&=n}}const g=u||_?Math.min(d,c):Math.max(d,c),y=u||_?g-1:-1;for(let c=0;c<g;c++){const l=c===y?zN(e,c):qN(e,c),d=c===y?zN(n,c):qN(n,c);if(l&&d){const u=3&t?void 0:IR(jx(l)),_=3&t?void 0:IR(jx(d));let p=u&&_&&!Tp(u)&&!Tp(_)&&(50331648&JA(l))==(50331648&JA(d))?rT(_,u,8&t|(f?2:1),r,i,a,o,s):!(3&t)&&!f&&o(l,d,!1)||o(d,l,r);if(p&&8&t&&c>=XN(e)&&c<XN(n)&&o(l,d,!1)&&(p=0),!p)return r&&i(Vo.Types_of_parameters_0_and_1_are_incompatible,Mc(UN(e,c)),Mc(UN(n,c))),0;m&=p}}if(!(4&t)){const s=Lp(n)?un:n.declaration&&gN(n.declaration)?nd(Yo(n.declaration.symbol)):Sp(n);if(s===Wn||s===un)return m;const c=Lp(e)?un:e.declaration&&gN(e.declaration)?nd(Yo(e.declaration.symbol)):Sp(e),l=Tp(n);if(l){const n=Tp(e);if(n)m&=function(e,n,t,r,i){if(e.kind!==n.kind)return t&&(r(Vo.A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard),r(Vo.Type_predicate_0_is_not_assignable_to_1,qs(e),qs(n))),0;if((1===e.kind||3===e.kind)&&e.parameterIndex!==n.parameterIndex)return t&&(r(Vo.Parameter_0_is_not_in_the_same_position_as_parameter_1,e.parameterName,n.parameterName),r(Vo.Type_predicate_0_is_not_assignable_to_1,qs(e),qs(n))),0;const a=e.type===n.type?-1:e.type&&n.type?i(e.type,n.type,t):0;return 0===a&&t&&r(Vo.Type_predicate_0_is_not_assignable_to_1,qs(e),qs(n)),a}(n,l,r,i,o);else if(Pm(l))return r&&i(Vo.Signature_0_must_be_a_type_predicate,Gs(e)),0}else m&=1&t&&o(s,c,!1)||o(c,s,r),!m&&r&&a&&a(c,s)}return m}function aT(e,n){const t=Pp(e),r=Pp(n),i=Sp(t),a=Sp(r);return!(a!==Wn&&!pT(a,i,Zi)&&!pT(i,a,Zi))&&0!==rT(t,r,4,!1,void 0,void 0,CE,void 0)}function oT(e){return e!==It&&0===e.properties.length&&0===e.callSignatures.length&&0===e.constructSignatures.length&&0===e.indexInfos.length}function sT(e){return 524288&e.flags?!n_(e)&&oT(d_(e)):!!(67108864&e.flags)||(1048576&e.flags?ce(e.types,sT):!!(2097152&e.flags)&&N(e.types,sT))}function cT(e){return!!(16&qE(e)&&(e.members&&oT(e)||e.symbol&&2048&e.symbol.flags&&0===Xd(e.symbol).size))}function lT(e){return!!(32768&(1048576&e.flags?e.types[0]:e).flags)}function dT(e){return 524288&e.flags&&!n_(e)&&0===f_(e).length&&1===J_(e).length&&!!X_(e,Dn)||3145728&e.flags&&N(e.types,dT)||!1}function uT(e,n,t){const r=8&e.flags?Zo(e):e,i=8&n.flags?Zo(n):n;if(r===i)return!0;if(!(r.escapedName===i.escapedName&&256&r.flags&&256&i.flags))return!1;const a=WG(r)+","+WG(i),o=ta.get(a);if(void 0!==o&&(4&o||!(2&o)||!t))return!!(1&o);const s=bl(i);for(const e of f_(bl(r)))if(8&e.flags){const n=V_(s,e.escapedName);if(!(n&&8&n.flags))return t?(t(Vo.Property_0_is_missing_in_type_1,Gc(e),Bs(_d(i),void 0,64)),ta.set(a,6)):ta.set(a,2),!1}return ta.set(a,1),!0}function _T(e,n,t,r){const i=e.flags,a=n.flags;if(1&a||131072&i||e===pn)return!0;if(2&a&&!(t===Qi&&1&i))return!0;if(131072&a)return!1;if(402653316&i&&4&a)return!0;if(128&i&&1024&i&&128&a&&!(1024&a)&&e.value===n.value)return!0;if(296&i&&8&a)return!0;if(256&i&&1024&i&&256&a&&!(1024&a)&&e.value===n.value)return!0;if(2112&i&&64&a)return!0;if(528&i&&16&a)return!0;if(12288&i&&4096&a)return!0;if(32&i&&32&a&&e.symbol.escapedName===n.symbol.escapedName&&uT(e.symbol,n.symbol,r))return!0;if(1024&i&&1024&a){if(1048576&i&&1048576&a&&uT(e.symbol,n.symbol,r))return!0;if(2944&i&&2944&a&&e.value===n.value&&uT(e.symbol,n.symbol,r))return!0}if(32768&i&&(!F&&!(3145728&a)||49152&a))return!0;if(65536&i&&(!F&&!(3145728&a)||65536&a))return!0;if(524288&i&&67108864&a&&(t!==Qi||!cT(e)||8192&qE(e)))return!0;if(t===Zi||t===ea){if(1&i)return!0;if(8&i&&(32&a||256&a&&1024&a))return!0;if(256&i&&!(1024&i)&&(32&a||256&a&&1024&a&&e.value===n.value))return!0;if(function(e){if(F&&1048576&e.flags){if(!(33554432&e.objectFlags)){const n=e.types;e.objectFlags|=33554432|(n.length>=3&&32768&n[0].flags&&65536&n[1].flags&&ce(n,cT)?67108864:0)}return!!(67108864&e.objectFlags)}return!1}(n))return!0}return!1}function pT(e,n,t){if(rb(e)&&(e=e.regularType),rb(n)&&(n=n.regularType),e===n)return!0;if(t!==na){if(t===ea&&!(131072&n.flags)&&_T(n,e,t)||_T(e,n,t))return!0}else if(!(61865984&(e.flags|n.flags))){if(e.flags!==n.flags)return!1;if(67358815&e.flags)return!0}if(524288&e.flags&&524288&n.flags){const r=t.get(GT(e,n,0,t,!1));if(void 0!==r)return!!(1&r)}return!!(469499904&e.flags||469499904&n.flags)&&gT(e,n,t,void 0)}function fT(e,n){return 2048&qE(e)&&nI(n.escapedName)}function mT(e,n){for(;;){const t=rb(e)?e.regularType:4&qE(e)?e.node?nf(e.target,sf(e)):gx(e)||e:3145728&e.flags?hT(e,n):33554432&e.flags?n?e.baseType:kf(e):25165824&e.flags?sv(e,n):e;if(t===e)return t;e=t}}function hT(e,n){const t=P_(e);if(t!==e)return t;if(2097152&e.flags&&ce(e.types,cT)){const t=z(e.types,(e=>mT(e,n)));if(t!==e.types)return Wg(t)}return e}function gT(e,n,t,r,o,s,c){var l;let d,u,_,p,f,m,h,g=0,y=0,v=0,b=0,E=!1,T=0;Nt.assert(t!==na||!r,"no error reporting in identity checking");const A=P(e,n,3,!!r,o);if(h&&I(),E){null==(l=Vr)||l.instant(Vr.Phase.CheckTypes,"checkTypeRelatedTo_DepthLimit",{sourceId:e.id,targetId:n.id,depth:y,targetDepth:v});const t=_a(r||a,Vo.Excessive_stack_depth_comparing_types_0_and_1,Bs(e),Bs(n));c&&(c.errors||(c.errors=[])).push(t)}else if(d){if(s){const e=s();e&&(IT(e,d),d=e)}let i;if(o&&r&&!A&&e.symbol){const r=wa(e.symbol);r.originatingImport&&!lm(r.originatingImport)&&gT(bl(r.target),n,t,void 0)&&(i=Te(i,Hf(r.originatingImport,Vo.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)))}const a=qf(Ip(r),r,d,i);u&&iS(a,...u),c&&(c.errors||(c.errors=[])).push(a),c&&c.skipLogging||Ji.add(a)}return r&&c&&c.skipLogging&&0===A&&Nt.assert(!!c.errors,"missed opportunity to interact with error."),0!==A;function L(e){d=e.errorInfo,m=e.lastSkippedInfo,h=e.incompatibleStack,T=e.overrideNextErrorInfo,u=e.relatedInfo}function C(){return{errorInfo:d,lastSkippedInfo:m,incompatibleStack:null==h?void 0:h.slice(),overrideNextErrorInfo:T,relatedInfo:null==u?void 0:u.slice()}}function k(e,n,t,r,i){T++,m=void 0,(h||(h=[])).push([e,n,t,r,i])}function I(){const e=h||[];h=void 0;const n=m;if(m=void 0,1===e.length)return w(...e[0]),void(n&&N(void 0,...n));let t="";const r=[];for(;e.length;){const[n,...i]=e.pop();switch(n.code){case Vo.Types_of_property_0_are_incompatible.code:{0===t.indexOf("new ")&&(t=`(${t})`);const e=""+i[0];t=0===t.length?`${e}`:Ks(e,BT(x))?`${t}.${e}`:"["===e[0]&&"]"===e[e.length-1]?`${t}${e}`:`${t}[${e}]`;break}case Vo.Call_signature_return_types_0_and_1_are_incompatible.code:case Vo.Construct_signature_return_types_0_and_1_are_incompatible.code:case Vo.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code:case Vo.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code:if(0===t.length){let e=n;n.code===Vo.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?e=Vo.Call_signature_return_types_0_and_1_are_incompatible:n.code===Vo.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code&&(e=Vo.Construct_signature_return_types_0_and_1_are_incompatible),r.unshift([e,i[0],i[1]])}else t=`${n.code===Vo.Construct_signature_return_types_0_and_1_are_incompatible.code||n.code===Vo.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?"new ":""}${t}(${n.code===Vo.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code||n.code===Vo.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?"":"..."})`;break;case Vo.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target.code:r.unshift([Vo.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,i[0],i[1]]);break;case Vo.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target.code:r.unshift([Vo.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,i[0],i[1],i[2]]);break;default:return Nt.fail(`Unhandled Diagnostic: ${n.code}`)}}t?w(")"===t[t.length-1]?Vo.The_types_returned_by_0_are_incompatible_between_these_types:Vo.The_types_of_0_are_incompatible_between_these_types,t):r.shift();for(const[e,...n]of r){const t=e.elidedInCompatabilityPyramid;e.elidedInCompatabilityPyramid=!1,w(e,...n),e.elidedInCompatabilityPyramid=t}n&&N(void 0,...n)}function w(e,n,t,i,a){Nt.assert(!!r),h&&I(),e.elidedInCompatabilityPyramid||(d=kT(d,e,n,t,i,a))}function R(e){Nt.assert(!!d),u?u.push(e):u=[e]}function N(e,n,r){h&&I();const[i,a]=Us(n,r);let o=n,s=i;if(Ax(n)&&!yT(r)&&(o=Lx(n),Nt.assert(!RE(o,r),"generalized source shouldn't be assignable"),s=Vs(o)),262144&(8388608&r.flags&&!(8388608&n.flags)?r.objectType.flags:r.flags)&&r!==Ft&&r!==Gt){const e=T_(r);let t;e&&(RE(o,e)||(t=RE(n,e)))?w(Vo._0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2,t?i:s,a,Bs(e)):(d=void 0,w(Vo._0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1,a,s))}if(e)e===Vo.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1&&te&&vT(n,r).length&&(e=Vo.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties);else if(t===ea)e=Vo.Type_0_is_not_comparable_to_type_1;else if(i===a)e=Vo.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated;else if(te&&vT(n,r).length)e=Vo.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties;else{if(128&n.flags&&1048576&r.flags){const e=function(e,n){const t=n.types.filter((e=>!!(128&e.flags)));return Qn(e.value,t,(e=>e.value))}(n,r);if(e)return void w(Vo.Type_0_is_not_assignable_to_type_1_Did_you_mean_2,s,a,Bs(e))}e=Vo.Type_0_is_not_assignable_to_type_1}w(e,s,a)}function D(e,n,t){return Nx(e)?e.target.readonly&&ux(n)?(t&&w(Vo.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,Bs(e),Bs(n)),!1):dx(n):lx(e)&&ux(n)?(t&&w(Vo.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,Bs(e),Bs(n)),!1):!Nx(n)||cx(e)}function O(e,n,t){return P(e,n,3,t)}function P(e,n,i=3,a=!1,o,s=0){if(524288&e.flags&&134348796&n.flags)return t===ea&&!(131072&n.flags)&&_T(n,e,t)||_T(e,n,t,a?w:void 0)?-1:(a&&B(e,n,e,n,o),0);const c=mT(e,!1);let l=mT(n,!0);if(c===l)return-1;if(t===na)return c.flags!==l.flags?0:67358815&c.flags?-1:(U(c,l),X(c,l,!1,0,i));if(262144&c.flags&&m_(c)===l)return-1;if(470302716&c.flags&&1048576&l.flags){const e=l.types,n=2===e.length&&98304&e[0].flags?e[1]:3===e.length&&98304&e[0].flags&&98304&e[1].flags?e[2]:void 0;if(n&&!(98304&n.flags)&&(l=mT(n,!0),c===l))return-1}if(t===ea&&!(131072&l.flags)&&_T(l,c,t)||_T(c,l,t,a?w:void 0))return-1;if(469499904&c.flags||469499904&l.flags){if(!(2&s)&&TA(c)&&8192&qE(c)&&function(e,n,i){var a;if(!jI(n)||!Y&&4096&qE(n))return!1;const o=!!(2048&qE(e));if((t===Zi||t===ea)&&(yL(Ht,n)||!o&&sT(n)))return!1;let s,c=n;1048576&n.flags&&(c=PG(e,n,P)||function(e){if(wD(e,67108864)){const n=xL(e,(e=>!(134348796&e.flags)));if(!(131072&n.flags))return n}return e}(n),s=1048576&c.flags?c.types:[c]);for(const n of f_(e))if(j(n,e.symbol)&&!fT(e,n)){if(!FI(c,n.escapedName,o)){if(i){const t=xL(c,jI);if(!r)return Nt.fail();if(pw(r)||ju(r)||ju(r.parent)){n.valueDeclaration&&_w(n.valueDeclaration)&&Ip(r)===Ip(n.valueDeclaration.name)&&(r=n.valueDeclaration.name);const e=Fs(n),i=Zw(e,t),a=i?Fs(i):void 0;a?w(Vo.Property_0_does_not_exist_on_type_1_Did_you_mean_2,e,Bs(t),a):w(Vo.Property_0_does_not_exist_on_type_1,e,Bs(t))}else{const i=(null==(a=e.symbol)?void 0:a.declarations)&&De(e.symbol.declarations);let o;if(n.valueDeclaration&&Rc(n.valueDeclaration,(e=>e===i))&&Ip(i)===Ip(r)){const e=n.valueDeclaration;Nt.assertNode(e,Vd),r=e;const i=e.name;AC(i)&&(o=nR(i,t))}void 0!==o?w(Vo.Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2,Fs(n),Bs(t),o):w(Vo.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,Fs(n),Bs(t))}}return!0}if(s&&!P(bl(n),V(s,n.escapedName),3,i))return i&&k(Vo.Types_of_property_0_are_incompatible,Fs(n)),!0}return!1}(c,l,a))return a&&N(o,c,n.aliasSymbol?n:l),0;const d=(t!==ea||xx(c))&&!(2&s)&&136970236&c.flags&&c!==Ht&&2621440&l.flags&&xT(l)&&(f_(c).length>0||dF(c)),u=!!(2048&qE(c));if(d&&!function(e,n,t){for(const r of f_(e))if(FI(n,r.escapedName,t))return!0;return!1}(c,l,u)){if(a){const t=Bs(e.aliasSymbol?e:c),r=Bs(n.aliasSymbol?n:l),i=H_(c,0),a=H_(c,1);i.length>0&&P(Sp(i[0]),l,1,!1)||a.length>0&&P(Sp(a[0]),l,1,!1)?w(Vo.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it,t,r):w(Vo.Type_0_has_no_properties_in_common_with_type_1,t,r)}return 0}U(c,l);const _=1048576&c.flags&&c.types.length<4&&!(1048576&l.flags)||1048576&l.flags&&l.types.length<4&&!(469499904&c.flags)?H(c,l,a,s):X(c,l,a,s,i);if(_)return _}return a&&B(e,n,c,l,o),0}function B(e,n,t,i,a){var o,s;const c=!!gx(e),l=!!gx(n);t=e.aliasSymbol||c?e:t,i=n.aliasSymbol||l?n:i;let u=T>0;if(u&&T--,524288&t.flags&&524288&i.flags){const e=d;D(t,i,!0),d!==e&&(u=!!d)}if(524288&t.flags&&134348796&i.flags)!function(e,n){const t=js(e.symbol)?Bs(e,e.symbol.valueDeclaration):Bs(e),r=js(n.symbol)?Bs(n,n.symbol.valueDeclaration):Bs(n);(Xt===e&&Dn===n||Yt===e&&On===n||$t===e&&Hn===n||Dm()===e&&Kn===n)&&w(Vo._0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible,r,t)}(t,i);else if(t.symbol&&524288&t.flags&&Ht===t)w(Vo.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead);else if(2048&qE(t)&&2097152&i.flags){const e=i.types,n=cI(UG.IntrinsicAttributes,r),t=cI(UG.IntrinsicClassAttributes,r);if(!uc(n)&&!uc(t)&&(G(e,n)||G(e,t)))return}else d=U_(d,n);if(a||!u){if(N(a,t,i),262144&t.flags&&(null==(s=null==(o=t.symbol)?void 0:o.declarations)?void 0:s[0])&&!m_(t)){const e=oE(t);if(e.constraint=hE(i,Vb(t,e)),S_(e)){const e=Bs(i,t.symbol.declarations[0]);R(Hf(t.symbol.declarations[0],Vo.This_type_parameter_might_need_an_extends_0_constraint,e))}}}else m=[t,i]}function U(e,n){if(Vr&&3145728&e.flags&&3145728&n.flags){const t=e,i=n;if(t.objectFlags&i.objectFlags&32768)return;const a=t.types.length,o=i.types.length;a*o>1e6&&Vr.instant(Vr.Phase.CheckTypes,"traceUnionsOrIntersectionsTooLarge_DepthLimit",{sourceId:e.id,sourceSize:a,targetId:n.id,targetSize:o,pos:null==r?void 0:r.pos,end:null==r?void 0:r.end})}}function V(e,n){return Sg(We(e,((e,t)=>{var r;const i=3145728&(t=w_(t)).flags?M_(t,n):__(t,n);return Te(e,i&&bl(i)||(null==(r=Z_(t,n))?void 0:r.type)||An)}),void 0)||i)}function j(e,n){return e.valueDeclaration&&n.valueDeclaration&&e.valueDeclaration.parent===n.valueDeclaration}function H(e,n,r,i){if(1048576&e.flags)return t===ea?J(e,n,r&&!(134348796&e.flags),i):function(e,n,t,r){let i=-1;const a=e.types,o=function(e,n){return 1048576&e.flags&&1048576&n.flags&&!(32768&e.types[0].flags)&&32768&n.types[0].flags?kL(n,-32769):n}(e,n);for(let e=0;e<a.length;e++){const s=a[e];if(1048576&o.flags&&a.length>=o.types.length&&a.length%o.types.length==0){const n=P(s,o.types[e%o.types.length],3,!1,void 0,r);if(n){i&=n;continue}}const c=P(s,n,1,t,void 0,r);if(!c)return 0;i&=c}return i}(e,n,r&&!(134348796&e.flags),i);if(1048576&n.flags)return q(tS(e),n,r&&!(134348796&e.flags)&&!(134348796&n.flags));if(2097152&n.flags)return function(e,n,t,r){let i=-1;const a=n.types;for(const n of a){const r=P(e,n,2,t,void 0,2);if(!r)return 0;i&=r}return i}(e,n,r);if(t===ea&&134348796&n.flags){const t=z(e.types,(e=>465829888&e.flags?T_(e)||xn:e));if(t!==e.types){if(131072&(e=Wg(t)).flags)return 0;if(!(2097152&e.flags))return P(e,n,1,!1)||P(n,e,1,!1)}}return J(e,n,!1,1)}function K(e,n){let t=-1;const r=e.types;for(const e of r){const r=q(e,n,!1);if(!r)return 0;t&=r}return t}function q(e,n,t){const r=n.types;if(1048576&n.flags){if(lg(r,e))return-1;const t=HA(n,e);if(t){const n=P(e,t,2,!1);if(n)return n}}for(const n of r){const t=P(e,n,2,!1);if(t)return t}if(t){const t=ET(e,n,P);t&&P(e,t,2,!0)}return 0}function J(e,n,t,r){const i=e.types;if(1048576&e.flags&&lg(i,n))return-1;const a=i.length;for(let e=0;e<a;e++){const o=P(i[e],n,1,t&&e===a-1,void 0,r);if(o)return o}return 0}function X(e,n,r,a,o){var s,c,l;if(E)return 0;const u=GT(e,n,a,t,!1),m=t.get(u);if(void 0!==m&&(!(r&&2&m)||4&m)){if(jn){const n=24&m;8&n&&hE(e,ht),16&n&&hE(e,mt)}return 1&m?-1:0}if(_){const r=u.startsWith("*")?GT(e,n,a,t,!0):void 0;for(let e=0;e<g;e++)if(u===_[e]||r&&r===_[e])return 3;if(100===y||100===v)return E=!0,0}else _=[],p=[],f=[];const h=g;_[g]=u,g++;const T=b;let x;1&o&&(p[y]=e,y++,1&b||!XT(e,p,y)||(b|=1)),2&o&&(f[v]=n,v++,2&b||!XT(n,f,v)||(b|=2));let S,A=0;if(jn&&(x=jn,jn=e=>(A|=e?16:8,x(e))),3===b?(null==(s=Vr)||s.instant(Vr.Phase.CheckTypes,"recursiveTypeRelatedTo_DepthLimit",{sourceId:e.id,sourceIdStack:p.map((e=>e.id)),targetId:n.id,targetIdStack:f.map((e=>e.id)),depth:y,targetDepth:v}),S=3):(null==(c=Vr)||c.push(Vr.Phase.CheckTypes,"structuredTypeRelatedTo",{sourceId:e.id,targetId:n.id}),S=function(e,n,r,a){const o=C();let s=function(e,n,r,a,o){let s,c,l=!1,u=e.flags;const _=n.flags;if(t===na){if(3145728&u){let t=K(e,n);return t&&(t&=K(n,e)),t}if(4194304&u)return P(e.type,n.type,3,!1);if(8388608&u&&(s=P(e.objectType,n.objectType,3,!1))&&(s&=P(e.indexType,n.indexType,3,!1)))return s;if(16777216&u&&e.root.isDistributive===n.root.isDistributive&&(s=P(e.checkType,n.checkType,3,!1))&&(s&=P(e.extendsType,n.extendsType,3,!1))&&(s&=P(Cv(e),Cv(n),3,!1))&&(s&=P(Iv(e),Iv(n),3,!1)))return s;if(33554432&u&&(s=P(e.baseType,n.baseType,3,!1))&&(s&=P(e.constraint,n.constraint,3,!1)))return s;if(!(524288&u))return 0}else if(3145728&u||3145728&_){if(s=H(e,n,r,a))return s;if(!(465829888&u||524288&u&&1048576&_||2097152&u&&467402752&_))return 0}if(17301504&u&&e.aliasSymbol&&e.aliasTypeArguments&&e.aliasSymbol===n.aliasSymbol&&!OT(e)&&!OT(n)){const t=wT(e.aliasSymbol);if(t===i)return 1;const r=wa(e.aliasSymbol).typeParameters,o=lp(r),s=b(dp(e.aliasTypeArguments,r,o,Ah(e.aliasSymbol.valueDeclaration)),dp(n.aliasTypeArguments,r,o,Ah(e.aliasSymbol.valueDeclaration)),t,a);if(void 0!==s)return s}if(Ox(e)&&!e.target.readonly&&(s=P(sf(e)[0],n,1))||Ox(n)&&(n.target.readonly||ux(T_(e)||e))&&(s=P(e,sf(n)[0],2)))return s;if(262144&_){if(32&qE(e)&&!e.declaration.nameType&&P(xy(n),Pu(e),3)&&!(4&Wu(e))){const t=Gu(e),i=pv(n,Ou(e));if(s=P(t,i,3,r))return s}if(t===ea&&262144&u){let t=h_(e);if(t&&S_(e))for(;t&&EL(t,(e=>!!(262144&e.flags)));){if(s=P(t,n,1,!1))return s;t=h_(t)}return 0}}else if(4194304&_){const t=n.type;if(4194304&u&&(s=P(t,e.type,3,!1)))return s;if(Nx(t)){if(s=P(e,eg(t),2,r))return s}else{const i=y_(t);if(i){if(-1===P(e,xy(i,n.stringsOnly),2,r))return-1}else if(n_(t)){const n=Fu(t),i=Pu(t);let a;if(n&&Vu(t)){const e=w_(Hu(t)),r=[];Du(e,8576,!1,(e=>{r.push(hE(n,aE(t.mapper,Ou(t),e)))})),a=Sg([...r,n])}else a=n||i;if(-1===P(e,a,2,r))return-1}}}else if(8388608&_){if(8388608&u){if((s=P(e.objectType,n.objectType,3,r))&&(s&=P(e.indexType,n.indexType,3,r)),s)return s;r&&(c=d)}if(t===Zi||t===ea){const t=n.objectType,i=n.indexType,l=T_(t)||t,u=T_(i)||i;if(!rv(l)&&!iv(u)){const n=yv(l,u,4|(l!==t?2:0));if(n){if(r&&c&&L(o),s=P(e,n,2,r,void 0,a))return s;r&&c&&d&&(d=g([c])<=g([d])?c:d)}}}r&&(c=void 0)}else if(n_(n)&&t!==na){const t=!!n.declaration.nameType,i=Gu(n),a=Wu(n);if(!(8&a)){if(!t&&8388608&i.flags&&i.objectType===e&&i.indexType===Ou(n))return-1;if(!n_(e)){const i=t?Fu(n):Pu(n),l=xy(e,void 0,!0),u=4&a,_=u?Eu(i,l):void 0;if(u?!(131072&_.flags):P(i,l,3)){const a=Gu(n),o=Ou(n),c=kL(a,-98305);if(!t&&8388608&c.flags&&c.indexType===o){if(s=P(e,c.objectType,2,r))return s}else{const n=pv(e,t?_||i:_?Wg([_,o]):o);if(s=P(n,a,3,r))return s}}c=d,L(o)}}}else if(16777216&_){if(XT(n,f,v,10))return 3;const t=n;if(!(t.root.inferTypeParameters||(m=t.root).isDistributive&&(lE(m.checkType,m.node.trueType)||lE(m.checkType,m.node.falseType)))){const n=!RE(yE(t.checkType),yE(t.extendsType)),r=!n&&RE(vE(t.checkType),vE(t.extendsType));if((s=n?-1:P(e,Cv(t),2,!1,void 0,a))&&(s&=r?-1:P(e,Iv(t),2,!1,void 0,a),s))return s}}else if(134217728&_){if(134217728&u){if(t===ea)return function(e,n){const t=e.texts[0],r=n.texts[0],i=e.texts[e.texts.length-1],a=n.texts[n.texts.length-1],o=Math.min(t.length,r.length),s=Math.min(i.length,a.length);return t.slice(0,o)!==r.slice(0,o)||i.slice(i.length-s)!==a.slice(a.length-s)}(e,n)?0:-1;hE(e,mt)}if(hA(e,n))return-1}else if(268435456&n.flags&&!(268435456&e.flags)&&fA(e,n))return-1;var m,h;if(8650752&u){if(!(8388608&u&&8388608&_)){const t=m_(e)||xn;if(s=P(t,n,1,!1,void 0,a))return s;if(s=P($d(t,e),n,1,r&&t!==xn&&!(_&u&262144),void 0,a))return s;if(I_(e)){const t=m_(e.indexType);if(t&&(s=P(pv(e.objectType,t),n,1,r)))return s}}}else if(4194304&u){if(s=P(nt,n,1,r))return s}else if(134217728&u&&!(524288&_)){if(!(134217728&_)){const t=T_(e);if(t&&t!==e&&(s=P(t,n,1,r)))return s}}else if(268435456&u)if(268435456&_){if(e.symbol!==n.symbol)return 0;if(s=P(e.type,n.type,3,r))return s}else{const t=T_(e);if(t&&(s=P(t,n,1,r)))return s}else if(16777216&u){if(XT(e,p,y,10))return 3;if(16777216&_){const t=e.root.inferTypeParameters;let i,a=e.extendsType;if(t){const e=DS(t,void 0,0,O);vA(e.inferences,n.extendsType,a,1536),a=hE(a,e.mapper),i=e.mapper}if(AE(a,n.extendsType)&&(P(e.checkType,n.checkType,3)||P(n.checkType,e.checkType,3))&&((s=P(hE(Cv(e),i),Cv(n),3,r))&&(s&=P(Iv(e),Iv(n),3,r)),s))return s}else{const t=S_(e)?b_(e):void 0;if(t&&(s=P(t,n,1,r)))return s}const t=v_(e);if(t&&(s=P(t,n,1,r)))return s}else{if(t!==$i&&t!==Qi&&32&qE(h=n)&&4&Wu(h)&&sT(e))return-1;if(n_(n))return n_(e)&&(s=function(e,n,r){if(t===ea||(t===na?Wu(e)===Wu(n):Zu(e)<=Zu(n))){let t;if(t=P(Pu(n),hE(Pu(e),Zu(e)<0?ht:mt),3,r)){const i=Fb([Ou(e)],[Ou(n)]);if(hE(Fu(e),i)===hE(Fu(n),i))return t&P(hE(Gu(e),i),Gu(n),3,r)}}return 0}(e,n,r))?s:0;const p=!!(134348796&u);if(t!==na)u=(e=w_(e)).flags;else if(n_(e))return 0;if(4&qE(e)&&4&qE(n)&&e.target===n.target&&!Nx(e)&&!OT(e)&&!OT(n)){if(vx(e))return-1;const t=CT(e.target);if(t===i)return 1;const r=b(sf(e),sf(n),t,a);if(void 0!==r)return r}else{if(lx(n)?dx(e):cx(n)&&Nx(e)&&!e.target.readonly)return t!==na?P(Y_(e,On)||un,Y_(n,On)||un,3,r):0;if((t===$i||t===Qi)&&sT(n)&&8192&qE(n)&&!sT(e))return 0}if(2621440&u&&524288&_){const t=r&&d===o.errorInfo&&!p;if(s=Z(e,n,t,void 0,!1,a),s&&(s&=ee(e,n,0,t,a),s&&(s&=ee(e,n,1,t,a),s&&(s&=oe(e,n,p,t,a)))),l&&s)d=c||d||o.errorInfo;else if(s)return s}if(2621440&u&&1048576&_){const r=kL(n,36175872);if(1048576&r.flags){const n=function(e,n){var r;const i=UA(f_(e),n);if(!i)return 0;let a=1;for(const t of i)if(a*=AL(xl(t)),a>25)return null==(r=Vr)||r.instant(Vr.Phase.CheckTypes,"typeRelatedToDiscriminatedType_DepthLimit",{sourceId:e.id,targetId:n.id,numCombinations:a}),0;const o=new Array(i.length),s=new Set;for(let e=0;e<i.length;e++){const n=i[e],t=xl(n);o[e]=1048576&t.flags?t.types:[t],s.add(n.escapedName)}const c=xt(o),l=[];for(const r of c){let a=!1;e:for(const o of n.types){for(let a=0;a<i.length;a++){const s=i[a],c=V_(o,s.escapedName);if(!c)continue e;if(s!==c&&!Q(e,n,s,c,(e=>r[a]),!1,0,F||t===ea))continue e}Le(l,o,Pn),a=!0}if(!a)return 0}let d=-1;for(const n of l)if(d&=Z(e,n,!1,s,!1,0),d&&(d&=ee(e,n,0,!1,0),d&&(d&=ee(e,n,1,!1,0),!d||Nx(e)&&Nx(n)||(d&=oe(e,n,!1,!1,0)))),!d)return d;return d}(e,r);if(n)return n}}}return 0;function g(e){return e?We(e,((e,n)=>e+1+g(n.next)),0):0}function b(e,n,a,u){if(s=function(e=i,n=i,r=i,a,o){if(e.length!==n.length&&t===na)return 0;const s=e.length<=n.length?e.length:n.length;let c=-1;for(let i=0;i<s;i++){const s=i<r.length?r[i]:1,l=7&s;if(4!==l){const r=e[i],d=n[i];let u=-1;if(8&s?u=t===na?P(r,d,3,!1):LE(r,d):1===l?u=P(r,d,3,a,void 0,o):2===l?u=P(d,r,3,a,void 0,o):3===l?(u=P(d,r,3,!1),u||(u=P(r,d,3,a,void 0,o))):(u=P(r,d,3,a,void 0,o),u&&(u&=P(d,r,3,a,void 0,o))),!u)return 0;c&=u}}return c}(e,n,a,r,u))return s;if(ce(a,(e=>!!(24&e))))return c=void 0,void L(o);const _=n&&function(e,n){for(let t=0;t<n.length;t++)if(1==(7&n[t])&&16384&e[t].flags)return!0;return!1}(n,a);if(l=!_,a!==i&&!_){if(l&&(!r||!ce(a,(e=>0==(7&e)))))return 0;c=d,L(o)}}}(e,n,r,a,o);if(t!==na){if(!s&&(2097152&e.flags||262144&e.flags&&1048576&n.flags)){const t=function(e,n){let t,r=!1;for(const i of e)if(465829888&i.flags){let e=m_(i);for(;e&&21233664&e.flags;)e=m_(e);e&&(t=Te(t,e),n&&(t=Te(t,i)))}else(469892092&i.flags||cT(i))&&(r=!0);if(t&&(n||r)){if(r)for(const n of e)(469892092&n.flags||cT(n))&&(t=Te(t,n));return mT(Wg(t),!1)}}(2097152&e.flags?e.types:[e],!!(1048576&n.flags));t&&TL(t,(n=>n!==e))&&(s=P(t,n,1,!1,void 0,a))}s&&!(2&a)&&2097152&n.flags&&!rv(n)&&2621440&e.flags?(s&=Z(e,n,r,void 0,!1,0),s&&TA(e)&&8192&qE(e)&&(s&=oe(e,n,!1,r,0))):s&&Fv(n)&&!dx(n)&&2097152&e.flags&&3670016&w_(e).flags&&!ce(e.types,(e=>e===n||!!(262144&qE(e))))&&(s&=Z(e,n,r,void 0,!0,a))}return s&&L(o),s}(e,n,r,a),null==(l=Vr)||l.pop()),jn&&(jn=x),1&o&&y--,2&o&&v--,b=T,S){if(-1===S||0===y&&0===v){if(-1===S||3===S)for(let e=h;e<g;e++)t.set(_[e],1|A);g=h}}else t.set(u,2|(r?4:0)|A),g=h;return S}function $(e,n){if(!n||0===e.length)return e;let t;for(let 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 Q(e,n,r,i,a,o,s,c){const l=OE(r),d=OE(i);if(8&l||8&d){if(r.valueDeclaration!==i.valueDeclaration)return o&&(8&l&&8&d?w(Vo.Types_have_separate_declarations_of_a_private_property_0,Fs(i)):w(Vo.Property_0_is_private_in_type_1_but_not_in_type_2,Fs(i),Bs(8&l?e:n),Bs(8&l?n:e))),0}else if(16&d){if(!function(e,n){return!HT(n,(n=>{return!!(16&OE(n))&&(t=e,r=qT(n),!HT(t,(e=>{const n=qT(e);return!!n&&Cl(n,r)})));var t,r}))}(r,i))return o&&w(Vo.Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2,Fs(i),Bs(qT(r)||e),Bs(qT(i)||n)),0}else if(16&l)return o&&w(Vo.Property_0_is_protected_in_type_1_but_public_in_type_2,Fs(i),Bs(e),Bs(n)),0;if(t===Qi&&xD(r)&&!xD(i))return 0;const u=function(e,n,t,r,i){const a=F&&!!(48&DE(n)),o=Ac(xl(n),!1,a);return P(t(e),o,3,r,void 0,i)}(r,i,a,o,s);return u?!c&&16777216&r.flags&&106500&i.flags&&!(16777216&i.flags)?(o&&w(Vo.Property_0_is_optional_in_type_1_but_required_in_type_2,Fs(i),Bs(e),Bs(n)),0):u:(o&&k(Vo.Types_of_property_0_are_incompatible,Fs(i)),0)}function Z(e,n,r,i,a,s){if(t===na)return function(e,n,t){if(!(524288&e.flags&&524288&n.flags))return 0;const r=$(u_(e),t),i=$(u_(n),t);if(r.length!==i.length)return 0;let a=-1;for(const e of r){const t=__(n,e.escapedName);if(!t)return 0;const r=ZT(e,t,P);if(!r)return 0;a&=r}return a}(e,n,i);let c=-1;if(Nx(n)){if(dx(e)){if(!n.target.readonly&&(lx(e)||Nx(e)&&e.target.readonly))return 0;const t=lf(e),a=lf(n),o=Nx(e)?4&e.target.combinedFlags:4,l=4&n.target.combinedFlags,d=Nx(e)?e.target.minLength:0,u=n.target.minLength;if(!o&&t<u)return r&&w(Vo.Source_has_0_element_s_but_target_requires_1,t,u),0;if(!l&&a<d)return r&&w(Vo.Source_has_0_element_s_but_target_allows_only_1,d,a),0;if(!l&&(o||a<t))return r&&(d<u?w(Vo.Target_requires_0_element_s_but_source_may_have_fewer,u):w(Vo.Target_allows_only_0_element_s_but_source_may_have_more,a)),0;const _=sf(e),p=sf(n),f=function(e,n){const t=M(e.elementFlags,(e=>!(11&e)));return t>=0?t:e.elementFlags.length}(n.target),m=rg(n.target,11),h=n.target.hasRestElement;let g=!!i;for(let o=0;o<t;o++){const l=Nx(e)?e.target.elementFlags[o]:4,d=t-1-o,u=h&&o>=f?a-1-Math.min(d,m):o,y=n.target.elementFlags[u];if(8&y&&!(8&l))return r&&w(Vo.Source_provides_no_match_for_variadic_element_at_position_0_in_target,u),0;if(8&l&&!(12&y))return r&&w(Vo.Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target,o,u),0;if(1&y&&!(1&l))return r&&w(Vo.Source_provides_no_match_for_required_element_at_position_0_in_target,u),0;if(g&&((12&l||12&y)&&(g=!1),g&&(null==i?void 0:i.has(""+o))))continue;const v=Jx(_[o],!!(l&y&2)),b=p[u],E=P(v,8&l&&4&y?dh(b):Jx(b,!!(2&y)),3,r,void 0,s);if(!E)return r&&(a>1||t>1)&&(h&&o>=f&&d>=m&&f!==t-m-1?k(Vo.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,f,t-m-1,u):k(Vo.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,o,u)),0;c&=E}return c}if(12&n.target.combinedFlags)return 0}const l=!(t!==$i&&t!==Qi||TA(e)||vx(e)||Nx(e)),u=cA(e,n,l,!1);if(u)return r&&function(e,n){const t=j_(e,0),r=j_(e,1),i=u_(e);return!((t.length||r.length)&&!i.length)||!!(H_(n,0).length&&t.length||H_(n,1).length&&r.length)}(e,n)&&function(e,n,t,r){let i=!1;if(t.valueDeclaration&&Hc(t.valueDeclaration)&&LC(t.valueDeclaration.name)&&e.symbol&&32&e.symbol.flags){const r=t.valueDeclaration.name.escapedText,i=My(e.symbol,r);if(i&&V_(e,i)){const t=pA.getDeclarationName(e.symbol.valueDeclaration),i=pA.getDeclarationName(n.symbol.valueDeclaration);return void w(Vo.Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2,ja(r),ja(""===t.escapedText?kG:t),ja(""===i.escapedText?kG:i))}}const a=Qe(sA(e,n,r,!1));if((!o||o.code!==Vo.Class_0_incorrectly_implements_interface_1.code&&o.code!==Vo.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code)&&(i=!0),1===a.length){const r=Fs(t,void 0,0,20);w(Vo.Property_0_is_missing_in_type_1_but_required_in_type_2,r,...Us(e,n)),S(t.declarations)&&R(Hf(t.declarations[0],Vo._0_is_declared_here,r)),i&&d&&T++}else D(e,n,!1)&&(a.length>5?w(Vo.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more,Bs(e),Bs(n),W(a.slice(0,4),(e=>Fs(e))).join(", "),a.length-4):w(Vo.Type_0_is_missing_the_following_properties_from_type_1_Colon_2,Bs(e),Bs(n),W(a,(e=>Fs(e))).join(", ")),i&&d&&T++)}(e,n,u,l),0;if(TA(n))for(const t of $(f_(e),i))if(!(__(n,t.escapedName)||32768&bl(t).flags))return r&&w(Vo.Property_0_does_not_exist_on_type_1,Fs(t),Bs(n)),0;const _=f_(n),p=Nx(e)&&Nx(n);for(const o of $(_,i)){const i=o.escapedName;if(!(4194304&o.flags)&&(!p||FS(i)||"length"===i)&&(!a||16777216&o.flags)){const a=V_(e,i);if(a&&a!==o){const i=Q(e,n,a,o,xl,r,s,t===ea);if(!i)return 0;c&=i}}}return c}function ee(e,n,r,i,a){var o,s;if(t===na)return function(e,n,t){const r=H_(e,t),i=H_(n,t);if(r.length!==i.length)return 0;let a=-1;for(let e=0;e<r.length;e++){const n=ex(r[e],i[e],!1,!1,!1,P);if(!n)return 0;a&=n}return a}(e,n,r);if(n===It||e===It)return-1;const c=e.symbol&&gN(e.symbol.valueDeclaration),l=n.symbol&&gN(n.symbol.valueDeclaration),d=H_(e,c&&1===r?0:r),u=H_(n,l&&1===r?0:r);if(1===r&&d.length&&u.length){const e=!!(4&d[0].flags),n=!!(4&u[0].flags);if(e&&!n)return i&&w(Vo.Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type),0;if(!function(e,n,t){if(!e.declaration||!n.declaration)return!0;const r=vb(e.declaration,24),i=vb(n.declaration,24);return 8===i||(16===i&&8!==r||(16!==i&&!r||(t&&w(Vo.Cannot_assign_a_0_constructor_type_to_a_1_constructor_type,zs(r),zs(i)),!1)))}(d[0],u[0],i))return 0}let _=-1;const p=1===r?re:ne,f=qE(e),m=qE(n);if(64&f&&64&m&&e.symbol===n.symbol||4&f&&4&m&&e.target===n.target)for(let e=0;e<u.length;e++){const n=ie(d[e],u[e],!0,i,a,p(d[e],u[e]));if(!n)return 0;_&=n}else if(1===d.length&&1===u.length){const e=t===ea||!!x.noStrictGenericChecks,n=Me(d),c=Me(u);if(_=ie(n,c,e,i,a,p(n,c)),!_&&i&&1===r&&f&m&&(173===(null==(o=c.declaration)?void 0:o.kind)||173===(null==(s=n.declaration)?void 0:s.kind))){const e=e=>Gs(e,void 0,262144,r);return w(Vo.Type_0_is_not_assignable_to_type_1,e(n),e(c)),w(Vo.Types_of_construct_signatures_are_incompatible),_}}else e:for(const n of u){const t=C();let o=i;for(const e of d){const r=ie(e,n,!0,o,a,p(e,n));if(r){_&=r,L(t);continue e}o=!1}return o&&w(Vo.Type_0_provides_no_match_for_the_signature_1,Bs(e),Gs(n,void 0,void 0,r)),0}return _}function ne(e,n){return 0===e.parameters.length&&0===n.parameters.length?(e,n)=>k(Vo.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,Bs(e),Bs(n)):(e,n)=>k(Vo.Call_signature_return_types_0_and_1_are_incompatible,Bs(e),Bs(n))}function re(e,n){return 0===e.parameters.length&&0===n.parameters.length?(e,n)=>k(Vo.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,Bs(e),Bs(n)):(e,n)=>k(Vo.Construct_signature_return_types_0_and_1_are_incompatible,Bs(e),Bs(n))}function ie(e,n,r,i,a,o){const s=t===$i?16:t===Qi?24:0;return rT(r?Pp(e):e,r?Pp(n):n,s,i,w,o,(function(e,n,t){return P(e,n,3,t,void 0,a)}),mt)}function ae(e,n,t,r){const i=P(e.type,n.type,3,t,void 0,r);return!i&&t&&(e.keyType===n.keyType?w(Vo._0_index_signatures_are_incompatible,Bs(e.keyType)):w(Vo._0_and_1_index_signatures_are_incompatible,Bs(e.keyType),Bs(n.keyType))),i}function oe(e,n,r,i,a){if(t===na)return function(e,n){const t=J_(e),r=J_(n);if(t.length!==r.length)return 0;for(const n of r){const t=X_(e,n.keyType);if(!t||!P(t.type,n.type,3)||t.isReadonly!==n.isReadonly)return 0}return-1}(e,n);const o=J_(n),s=ce(o,(e=>e.keyType===Dn));let c=-1;for(const n of o){const t=!r&&s&&1&n.type.flags?-1:n_(e)&&s?P(Gu(e),n.type,3,i):se(e,n,i,a);if(!t)return 0;c&=t}return c}function se(e,n,r,i){const a=Q_(e,n.keyType);return a?ae(a,n,r,i):1&i||!(t!==Qi||8192&qE(e))||!Qx(e)?(r&&w(Vo.Index_signature_for_type_0_is_missing_in_type_1,Bs(n.keyType),Bs(e)),0):function(e,n,t,r){let i=-1;const a=n.keyType,o=2097152&e.flags?p_(e):u_(e);for(const s of o)if(!fT(e,s)&&q_(gy(s,8576),a)){const e=xl(s),o=P(te||32768&e.flags||a===On||!(16777216&s.flags)?e:YA(e,524288),n.type,3,t,void 0,r);if(!o)return t&&w(Vo.Property_0_is_incompatible_with_index_signature,Fs(s)),0;i&=o}for(const o of J_(e))if(q_(o.keyType,a)){const e=ae(o,n,t,r);if(!e)return 0;i&=e}return i}(e,n,r,i)}}function yT(e){if(16&e.flags)return!1;if(3145728&e.flags)return!!A(e.types,yT);if(465829888&e.flags){const n=m_(e);if(n&&n!==e)return yT(n)}return xx(e)||!!(134217728&e.flags)||!!(268435456&e.flags)}function vT(e,n){return Nx(e)&&Nx(n)?i:f_(n).filter((n=>bT(lc(e,n.escapedName),bl(n))))}function bT(e,n){return!!e&&!!n&&wD(e,32768)&&!!Xx(n)}function ET(e,n,t=CE){return PG(e,n,t,!0)||function(e,n){const t=qE(e);if(20&t&&1048576&n.flags)return D(n.types,(n=>{if(524288&n.flags){const r=t&qE(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&qE(e)&&EL(n,hx))return D(n.types,(e=>!hx(e)))}(e,n)||function(e,n){let t=0;if(H_(e,t).length>0||(t=1,H_(e,t).length>0))return D(n.types,(e=>H_(e,t).length>0))}(e,n)||function(e,n){let t;if(!(406978556&e.flags)){let r=0;for(const i of n.types)if(!(406978556&i.flags)){const n=Wg([xy(e),xy(i)]);if(4194304&n.flags)return i;if(xx(n)||1048576&n.flags){const e=1048576&n.flags?V(n.types,xx):1;e>=r&&(t=i,r=e)}}}return t}(e,n)}function TT(e,n,t,r,i){const a=e.types.map((e=>{}));for(const[r,o]of n){const n=O_(e,o);if(i&&n&&16&DE(n))continue;let s=0;for(const n of e.types){const e=lc(n,o);e&&t(r(),e)?a[s]=void 0===a[s]||a[s]:a[s]=!1,s++}}const o=a.indexOf(!0);if(-1===o)return r;let s=a.indexOf(!0,o+1);for(;-1!==s;){if(!AE(e.types[o],e.types[s]))return r;s=a.indexOf(!0,s+1)}return e.types[o]}function xT(e){if(524288&e.flags){const n=d_(e);return 0===n.callSignatures.length&&0===n.constructSignatures.length&&0===n.indexInfos.length&&n.properties.length>0&&N(n.properties,(e=>!!(16777216&e.flags)))}return!!(2097152&e.flags)&&N(e.types,xT)}function CT(e){return e===zt||e===Jt||8&e.objectFlags?T:NT(e.symbol,e.typeParameters)}function wT(e){return NT(e,wa(e).typeParameters)}function NT(e,n=i){var t,r;const a=wa(e);if(!a.variances){null==(t=Vr)||t.push(Vr.Phase.CheckTypes,"getVariancesWorker",{arity:n.length,id:ig(_d(e))}),a.variances=i;const o=[];for(const t of n){const n=MT(t);let r=65536&n?32768&n?0:1:32768&n?2:void 0;if(void 0===r){let n=!1,i=!1;const a=jn;jn=e=>e?i=!0:n=!0;const o=DT(e,t,Ot),s=DT(e,t,Mt);r=(RE(s,o)?1:0)|(RE(o,s)?2:0),3===r&&RE(DT(e,t,Pt),o)&&(r=4),jn=a,(n||i)&&(n&&(r|=8),i&&(r|=16))}o.push(r)}a.variances=o,null==(r=Vr)||r.pop({variances:o.map(Nt.formatVariance)})}return a.variances}function DT(e,n,t){const r=Vb(n,t),i=_d(e);if(uc(i))return i;const a=524288&e.flags?uf(e,Rb(wa(e).typeParameters,r)):nf(i,Rb(i.typeParameters,r));return tn.add(ig(a)),a}function OT(e){return tn.has(ig(e))}function MT(e){var n;return 100352&We(null==(n=e.symbol)?void 0:n.declarations,((e,n)=>e|Tb(n)),0)}function PT(e){return 262144&e.flags&&!h_(e)}function FT(e){return function(e){return!!(4&qE(e))&&!e.node}(e)&&ce(sf(e),(e=>!!(262144&e.flags)||FT(e)))}function GT(e,n,t,r,i){if(r===na&&e.id>n.id){const t=e;e=n,n=t}const a=t?":"+t:"";return FT(e)&&FT(n)?function(e,n,t,r){const i=[];let a="";const o=c(e,0),s=c(n,0);return`${a}${o},${s}${t}`;function c(e,n=0){let t=""+e.target.id;for(const o of sf(e)){if(262144&o.flags){if(r||PT(o)){let e=i.indexOf(o);e<0&&(e=i.length,i.push(o)),t+="="+e;continue}a="*"}else if(n<4&&FT(o)){t+="<"+c(o,n+1)+">";continue}t+="-"+o.id}return t}}(e,n,a,i):`${e.id},${n.id}${a}`}function HT(e,n){if(!(6&DE(e)))return n(e);for(const t of e.links.containingType.types){const r=V_(t,e.escapedName),i=r&&HT(r,n);if(i)return i}}function qT(e){return e.parent&&32&e.parent.flags?_d(Zo(e)):void 0}function zT(e){const n=qT(e),t=n&&Ql(n)[0];return t&&lc(t,e.escapedName)}function JT(e,n,t){return HT(n,(n=>!!(16&OE(n,t))&&!Cl(e,qT(n))))?void 0:e}function XT(e,n,t,r=3){if(t>=r){if(2097152&e.flags)return ce(e.types,(e=>XT(e,n,t,r)));const i=QT(e);let a=0,o=0;for(let e=0;e<t;e++){const t=n[e];if(2097152&t.flags?ce(t.types,(e=>QT(e)===i)):QT(t)===i){if(t.id>=o&&(a++,a>=r))return!0;o=t.id}}}return!1}function QT(e){if(524288&e.flags&&!xA(e)){if(qE(e)&&e.node)return e.node;if(e.symbol&&!(16&qE(e)&&32&e.symbol.flags))return e.symbol;if(Nx(e))return e.target}if(262144&e.flags)return e.symbol;if(8388608&e.flags){do{e=e.objectType}while(8388608&e.flags);return e}return 16777216&e.flags?e.root:e}function ZT(e,n,t){if(e===n)return-1;const r=24&OE(e);if(r!==(24&OE(n)))return 0;if(r){if(yP(e)!==yP(n))return 0}else if((16777216&e.flags)!=(16777216&n.flags))return 0;return xD(e)!==xD(n)?0:t(bl(e),bl(n))}function ex(e,n,t,r,i,a){if(e===n)return-1;if(!function(e,n,t){const r=JN(e),i=JN(n),a=XN(e),o=XN(n),s=YN(e),c=YN(n);return r===i&&a===o&&s===c||!!(t&&a<=o)}(e,n,t))return 0;if(S(e.typeParameters)!==S(n.typeParameters))return 0;if(n.typeParameters){const t=Fb(e.typeParameters,n.typeParameters);for(let r=0;r<n.typeParameters.length;r++){const i=e.typeParameters[r],o=n.typeParameters[r];if(!(i===o||a(hE(Xp(i),t)||xn,Xp(o)||xn)&&a(hE(C_(i),t)||xn,C_(o)||xn)))return 0}e=sE(e,t,!0)}let o=-1;if(!r){const t=Ep(e);if(t){const e=Ep(n);if(e){const n=a(t,e);if(!n)return 0;o&=n}}}const s=JN(n);for(let t=0;t<s;t++){const r=WN(e,t),i=a(WN(n,t),r);if(!i)return 0;o&=i}if(!i){const t=Tp(e),r=Tp(n);o&=t||r?function(e,n,t){return e&&n&&Lg(e,n)?e.type===n.type?-1:e.type&&n.type?t(e.type,n.type):0:0}(t,r,a):a(Sp(e),Sp(n))}return o}function ix(e){return We(e,((e,n)=>e|(1048576&n.flags?ix(n.types):n.flags)),0)}function ox(e){if(1===e.length)return e[0];const n=F?z(e,(e=>xL(e,(e=>!(98304&e.flags))))):e,t=function(e){let n;for(const t of e)if(!(131072&t.flags)){const e=Lx(t);if(null!=n||(n=e),e===t||e!==n)return!1}return!0}(n)?Sg(n):We(n,((e,n)=>IE(e,n)?n:e));return n===e?t:Ux(t,98304&ix(e))}function cx(e){return!!(4&qE(e))&&(e.target===zt||e.target===Jt)}function lx(e){return!!(4&qE(e))&&e.target===Jt}function dx(e){return cx(e)||Nx(e)}function ux(e){return cx(e)&&!lx(e)||Nx(e)&&!e.target.readonly}function mx(e){return cx(e)?sf(e)[0]:void 0}function hx(e){return cx(e)||!(98304&e.flags)&&RE(e,tr)}function gx(e){if(!(4&qE(e)&&3&qE(e.target)))return;if(33554432&qE(e))return 67108864&qE(e)?e.cachedEquivalentBaseType:void 0;e.objectFlags|=33554432;const n=e.target;if(1&qE(n)){const e=ql(n);if(e&&79!==e.expression.kind&&208!==e.expression.kind)return}const t=Ql(n);if(1!==t.length)return;if(Xd(e.symbol).size)return;let r=S(n.typeParameters)?hE(t[0],Fb(n.typeParameters,sf(e).slice(0,n.typeParameters.length))):t[0];return S(sf(e))>S(n.typeParameters)&&(r=$d(r,Ge(sf(e)))),e.objectFlags|=67108864,e.cachedEquivalentBaseType=r}function yx(e){return F?e===Jn:e===Ln}function vx(e){const n=mx(e);return!!n&&yx(n)}function bx(e){return Nx(e)||!!V_(e,"0")}function Ex(e){return hx(e)||bx(e)}function Tx(e){return!(240544&e.flags)}function xx(e){return!!(109472&e.flags)}function Sx(e){const n=x_(e);return 2097152&n.flags?ce(n.types,xx):xx(n)}function Ax(e){return!!(16&e.flags)||(1048576&e.flags?!!(1024&e.flags)||N(e.types,xx):xx(e))}function Lx(e){return 1056&e.flags?ad(e):402653312&e.flags?Dn:256&e.flags?On:2048&e.flags?Mn:512&e.flags?Hn:1048576&e.flags?function(e){var n;const t=`B${ig(e)}`;return null!=(n=aa(t))?n:oa(t,LL(e,Lx))}(e):e}function Cx(e){return 402653312&e.flags?Dn:288&e.flags?On:2048&e.flags?Mn:512&e.flags?Hn:1048576&e.flags?LL(e,Cx):e}function kx(e){return 1056&e.flags&&rb(e)?ad(e):128&e.flags&&rb(e)?Dn:256&e.flags&&rb(e)?On:2048&e.flags&&rb(e)?Mn:512&e.flags&&rb(e)?Hn:1048576&e.flags?LL(e,kx):e}function Ix(e){return 8192&e.flags?Kn:1048576&e.flags?LL(e,Ix):e}function wx(e,n){return YD(e,n)||(e=Ix(kx(e))),tb(e)}function Rx(e,n,t,r){return e&&xx(e)&&(e=wx(e,n?nP(t,n,r):void 0)),e}function Nx(e){return!!(4&qE(e)&&8&e.target.objectFlags)}function Dx(e){return Nx(e)&&!!(8&e.target.combinedFlags)}function Ox(e){return Dx(e)&&1===e.target.elementFlags.length}function Mx(e){return Px(e,e.target.fixedLength)}function Px(e,n,t=0,r=!1,i=!1){const a=lf(e)-t;if(n<a){const t=sf(e),o=[];for(let r=n;r<a;r++){const n=t[r];o.push(8&e.target.elementFlags[r]?pv(n,On):n)}return r?Wg(o):Sg(o,i?0:1)}}function Fx({value:e}){return"0"===e.base10Value}function Gx(e){return xL(e,(e=>!!(4194304&JA(e))))}function Bx(e){return 4&e.flags?Ti:8&e.flags?xi:64&e.flags?Si:e===Gn||e===Fn||114691&e.flags||128&e.flags&&""===e.value||256&e.flags&&0===e.value||2048&e.flags&&Fx(e)?e:qn}function Ux(e,n){const t=n&~e.flags&98304;return 0===t?e:Sg(32768===t?[e,An]:65536===t?[e,wn]:[e,An,wn])}function Vx(e,n=!1){Nt.assert(F);const t=n?kn:An;return e===t||1048576&e.flags&&e.types[0]===t?e:Sg([e,t])}function jx(e){return F?ZA(e,2097152):e}function Hx(e){return F?Sg([e,In]):e}function Kx(e){return F?SL(e,In):e}function qx(e,n,t){return t?Vl(n)?Vx(e):Hx(e):e}function zx(e,n){return Ul(n)?jx(e):Gl(n)?Kx(e):e}function Jx(e,n){return te&&n?SL(e,Cn):e}function Xx(e){return e===Cn||!!(1048576&e.flags)&&e.types[0]===Cn}function Yx(e){return te?SL(e,Cn):YA(e,524288)}function Qx(e){const n=qE(e);return 2097152&e.flags?N(e.types,Qx):!(!e.symbol||0==(7040&e.symbol.flags)||32&e.symbol.flags||dF(e))||!!(4194304&n)||!!(1024&n&&Qx(e.source))}function Zx(e,n){const t=va(e.flags,e.escapedName,8&DE(e));t.declarations=e.declarations,t.parent=e.parent,t.links.type=n,t.links.target=e,e.valueDeclaration&&(t.valueDeclaration=e.valueDeclaration);const r=wa(e).nameType;return r&&(t.links.nameType=r),t}function tS(e){if(!(TA(e)&&8192&qE(e)))return e;const n=e.regularType;if(n)return n;const t=e,r=function(e,n){const t=op();for(const r of u_(e)){const e=bl(r),i=n(e);t.set(r.escapedName,i===e?r:Zx(r,i))}return t}(e,tS),i=ys(t.symbol,r,t.callSignatures,t.constructSignatures,t.indexInfos);return i.flags=t.flags,i.objectFlags|=-8193&t.objectFlags,e.regularType=i,i}function rS(e,n,t){return{parent:e,propertyName:n,siblings:t,resolvedProperties:void 0}}function lS(e){if(!e.siblings){const n=[];for(const t of lS(e.parent))if(TA(t)){const r=__(t,e.propertyName);r&&vL(bl(r),(e=>{n.push(e)}))}e.siblings=n}return e.siblings}function _S(e){if(!e.resolvedProperties){const n=new Map;for(const t of lS(e))if(TA(t)&&!(2097152&qE(t)))for(const e of f_(t))n.set(e.escapedName,e);e.resolvedProperties=Qe(n.values())}return e.resolvedProperties}function yS(e,n){if(!(4&e.flags))return e;const t=bl(e),r=SS(t,n&&rS(n,e.escapedName,void 0));return r===t?e:Zx(e,r)}function vS(e){const n=nn.get(e.escapedName);if(n)return n;const t=Zx(e,kn);return t.flags|=16777216,nn.set(e.escapedName,t),t}function ES(e){return SS(e,void 0)}function SS(e,n){if(196608&qE(e)){if(void 0===n&&e.widened)return e.widened;let t;if(98305&e.flags)t=un;else if(TA(e))t=function(e,n){const t=op();for(const r of u_(e))t.set(r.escapedName,yS(r,n));if(n)for(const e of _S(n))t.has(e.escapedName)||t.set(e.escapedName,vS(e));const r=ys(e.symbol,t,i,i,z(J_(e),(e=>Hp(e.keyType,ES(e.type),e.isReadonly))));return r.objectFlags|=266240&qE(e),r}(e,n);else if(1048576&e.flags){const r=n||rS(void 0,void 0,e.types),i=z(e.types,(e=>98304&e.flags?e:SS(e,r)));t=Sg(i,ce(i,sT)?2:1)}else 2097152&e.flags?t=Wg(z(e.types,ES)):dx(e)&&(t=nf(e.target,z(sf(e),ES)));return t&&void 0===n&&(e.widened=t),t||e}return e}function AS(e){let n=!1;if(65536&qE(e)){if(1048576&e.flags)if(ce(e.types,sT))n=!0;else for(const t of e.types)AS(t)&&(n=!0);if(dx(e))for(const t of sf(e))AS(t)&&(n=!0);if(TA(e))for(const t of u_(e)){const e=bl(t);65536&qE(e)&&(AS(e)||_a(t.valueDeclaration,Vo.Object_literal_s_property_0_implicitly_has_an_1_type,Fs(t),Bs(ES(e))),n=!0)}}return n}function LS(e,n,t){const r=Bs(ES(n));if(Ah(e)&&!nS(Ip(e),x))return;let i;switch(e.kind){case 223:case 169:case 168:i=Y?Vo.Member_0_implicitly_has_an_1_type:Vo.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 166:const n=e;if(AC(n.name)){const t=Fc(n.name);if((ZC(n.parent)||zC(n.parent)||ik(n.parent))&&n.parent.parameters.indexOf(n)>-1&&(Fa(n,n.name.escapedText,788968,void 0,n.name.escapedText,!0)||t&&ZE(t))){const t="arg"+n.parent.parameters.indexOf(n),r=Ff(n.name)+(n.dotDotDotToken?"[]":"");return void fa(Y,e,Vo.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1,t,r)}}i=e.dotDotDotToken?Y?Vo.Rest_parameter_0_implicitly_has_an_any_type:Vo.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:Y?Vo.Parameter_0_implicitly_has_an_1_type:Vo.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 205:if(i=Vo.Binding_element_0_implicitly_has_an_1_type,!Y)return;break;case 320:return void _a(e,Vo.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,r);case 326:return void(Y&&eR(e.parent)&&_a(e.parent.tagName,Vo.This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation,r));case 259:case 171:case 170:case 174:case 175:case 215:case 216:if(Y&&!e.name)return void _a(e,3===t?Vo.Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation:Vo.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,r);i=Y?3===t?Vo._0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:Vo._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:Vo._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage;break;case 197:return void(Y&&_a(e,Vo.Mapped_object_type_implicitly_has_an_any_template_type));default:i=Y?Vo.Variable_0_implicitly_has_an_1_type:Vo.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage}fa(Y,e,i,Ff(Wc(e)),r)}function CS(e,n,t){l((()=>{!(Y&&65536&qE(n))||t&&Sk(e)||AS(n)||LS(e,n,t)}))}function IS(e,n,t){const r=JN(e),i=JN(n),a=$N(e),o=$N(n),s=o?i-1:i,c=a?s:Math.min(r,s),l=Ep(e);if(l){const e=Ep(n);e&&t(l,e)}for(let r=0;r<c;r++)t(WN(e,r),WN(n,r));o&&t(zN(e,c),o)}function wS(e,n,t){const r=Tp(e),i=Tp(n);r&&i&&Lg(r,i)&&r.type&&i.type?t(r.type,i.type):t(Sp(e),Sp(n))}function DS(e,n,t,r){return PS(e.map(qS),n,t,r||CE)}function PS(e,n,t,r){const i={inferences:e,signature:n,flags:t,compareTypes:r,mapper:ht,nonFixingMapper:ht};return i.mapper=function(e){return Qb(W(e.inferences,(e=>e.typeParameter)),W(e.inferences,((n,t)=>()=>(n.isFixed||(function(e){if(e.intraExpressionInferenceSites){for(const{node:n,type:t}of e.intraExpressionInferenceSites){const r=171===n.kind?wC(n,2):BC(n,2);r&&vA(e.inferences,t,r)}e.intraExpressionInferenceSites=void 0}}(e),US(e.inferences),n.isFixed=!0),SA(e,t)))))}(i),i.nonFixingMapper=function(e){return Qb(W(e.inferences,(e=>e.typeParameter)),W(e.inferences,((n,t)=>()=>SA(e,t))))}(i),i}function US(e){for(const n of e)n.isFixed||(n.inferredType=void 0)}function VS(e,n,t){var r;(null!=(r=e.intraExpressionInferenceSites)?r:e.intraExpressionInferenceSites=[]).push({node:n,type:t})}function qS(e){return{typeParameter:e,candidates:void 0,contraCandidates:void 0,inferredType:void 0,priority:void 0,topLevel:!0,isFixed:!1,impliedArity:void 0}}function ZS(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 eA(e){return e&&e.mapper}function nA(e){const n=qE(e);if(524288&n)return!!(1048576&n);const t=!!(465829888&e.flags||524288&e.flags&&!tA(e)&&(4&n&&(e.node||A(sf(e),nA))||16&n&&e.symbol&&14384&e.symbol.flags&&e.symbol.declarations||12583968&n)||3145728&e.flags&&!(1024&e.flags)&&!tA(e)&&ce(e.types,nA));return 3899393&e.flags&&(e.objectFlags|=524288|(t?1048576:0)),t}function tA(e){if(e.aliasSymbol&&!e.aliasTypeArguments){const n=ip(e.aliasSymbol,262);return!(!n||!Rc(n.parent,(e=>308===e.kind||264!==e.kind&&"quit")))}return!1}function rA(e,n,t=0){return!!(e===n||3145728&e.flags&&ce(e.types,(e=>rA(e,n,t)))||t<3&&16777216&e.flags&&(rA(Cv(e),n,t+1)||rA(Iv(e),n,t+1)))}function iA(e,n,t){if(ci)return;const r=e.id+","+n.id+","+t.id;if(si.has(r))return si.get(r);ci=!0;const i=function(e,n,t){if(!(X_(e,Dn)||0!==f_(e).length&&aA(e)))return;if(cx(e))return dh(oA(sf(e)[0],n,t),lx(e));if(Nx(e))return Mh(W(sf(e),(e=>oA(e,n,t))),4&Wu(n)?z(e.target.elementFlags,(e=>2&e?1:e)):e.target.elementFlags,e.target.readonly,e.target.labeledElementDeclarations);const r=_s(1040,void 0);return r.source=e,r.mappedType=n,r.constraintType=t,r}(e,n,t);return ci=!1,si.set(r,i),i}function aA(e){return!(262144&qE(e))||TA(e)&&ce(f_(e),(e=>aA(bl(e))))||Nx(e)&&ce(sf(e),aA)}function oA(e,n,t){const r=pv(t.type,Ou(n)),i=Gu(n),a=qS(r);return vA([a],e,i),lA(a)||xn}function*sA(e,n,t,r){const i=f_(n);for(const n of i)if(!wd(n)&&(t||!(16777216&n.flags||48&DE(n)))){const t=V_(e,n.escapedName);if(t){if(r){const e=bl(n);if(109472&e.flags){const r=bl(t);1&r.flags||tb(r)===tb(e)||(yield n)}}}else yield n}}function cA(e,n,t,r){return Oe(sA(e,n,t,r))}function lA(e){return e.candidates?Sg(e.candidates,2):e.contraCandidates?Wg(e.contraCandidates):void 0}function dA(e){return!!Ra(e).skipDirectInference}function uA(e){return!(!e.symbol||!ce(e.symbol.declarations,dA))}function _A(e,n){if(""===e)return!1;const t=+e;return isFinite(t)&&(!n||""+t===e)}function fA(e,n){if(1&n.flags)return!0;if(134217732&n.flags)return RE(e,n);if(268435456&n.flags){const t=[];for(;268435456&n.flags;)t.unshift(n.symbol),n=n.type;return We(t,((e,n)=>Gy(n,e)),e)===e&&fA(e,n)}return!1}function mA(e,n){return 128&e.flags?yA([e.value],i,n):134217728&e.flags?B(e.texts,n.texts)?W(e.types,gA):yA(e.texts,e.types,n):void 0}function hA(e,n){const t=mA(e,n);return!!t&&N(t,((e,t)=>function(e,n){if(e===n||5&n.flags)return!0;if(128&e.flags){const t=e.value;return!!(8&n.flags&&_A(t,!1)||64&n.flags&&fS(t,!1)||98816&n.flags&&t===n.intrinsicName||268435456&n.flags&&fA(ib(t),n))}if(134217728&e.flags){const t=e.texts;return 2===t.length&&""===t[0]&&""===t[1]&&RE(e.types[0],n)}return RE(e,n)}(e,n.types[t])))}function gA(e){return 402653317&e.flags?e:Oy(["",""],[e])}function yA(e,n,t){const r=e.length-1,i=e[0],a=e[r],o=t.texts,s=o.length-1,c=o[0],l=o[s];if(0===r&&i.length<c.length+l.length||!i.startsWith(c)||!a.endsWith(l))return;const d=a.slice(0,a.length-l.length),u=[];let _=0,p=c.length;for(let n=1;n<s;n++){const t=o[n];if(t.length>0){let n=_,r=p;for(;r=f(n).indexOf(t,r),!(r>=0);){if(n++,n===e.length)return;r=0}m(n,r),p+=t.length}else if(p<f(_).length)m(_,p+1);else{if(!(_<r))return;m(_+1,0)}}return m(r,f(r).length),u;function f(n){return n<r?e[n]:d}function m(t,r){const i=t===_?ib(f(t).slice(p,r)):Oy([e[_].slice(p),...e.slice(_+1,t),f(t).slice(0,r)],n.slice(_,t));u.push(i),_=t,p=r}}function vA(e,n,t,r=0,a=!1){let o,s,c,l,d=!1,u=2048,_=!0,p=0;function f(n,s){if(nA(s)){if(n===pn){const e=o;return o=n,f(s,s),void(o=e)}if(n.aliasSymbol&&n.aliasSymbol===s.aliasSymbol){if(n.aliasTypeArguments){const e=wa(n.aliasSymbol).typeParameters,t=lp(e);y(dp(n.aliasTypeArguments,e,t,Ah(n.aliasSymbol.valueDeclaration)),dp(s.aliasTypeArguments,e,t,Ah(n.aliasSymbol.valueDeclaration)),wT(n.aliasSymbol))}}else if(n===s&&3145728&n.flags)for(const e of n.types)f(e,e);else{if(1048576&s.flags){const[e,t]=g(1048576&n.flags?n.types:[n],s.types,bA),[r,i]=g(e,t,EA);if(0===i.length)return;if(s=Sg(i),0===r.length)return void m(n,s,1);n=Sg(r)}else if(2097152&s.flags&&!N(s.types,Fv)){if(!(1048576&n.flags)){const[e,t]=g(2097152&n.flags?n.types:[n],s.types,AE);if(0===e.length||0===t.length)return;n=Wg(e),s=Wg(t)}}else 41943040&s.flags&&(s=Tv(s));if(8650752&s.flags){if(uA(n))return;const i=E(s);if(i){if(262144&qE(n)||n===yn)return;if(!i.isFixed){if((void 0===i.priority||r<i.priority)&&(i.candidates=void 0,i.contraCandidates=void 0,i.topLevel=!0,i.priority=r),r===i.priority){const t=o||n;a&&!d?G(i.contraCandidates,t)||(i.contraCandidates=Te(i.contraCandidates,t),US(e)):G(i.candidates,t)||(i.candidates=Te(i.candidates,t),US(e))}!(128&r)&&262144&s.flags&&i.topLevel&&!rA(t,s)&&(i.topLevel=!1,US(e))}return void(u=Math.min(u,r))}const c=sv(s,!1);if(c!==s)f(n,c);else if(8388608&s.flags){const e=sv(s.indexType,!1);if(465829888&e.flags){const t=cv(sv(s.objectType,!1),e,!1);t&&t!==s&&f(n,t)}}}if(!(4&qE(n)&&4&qE(s)&&(n.target===s.target||cx(n)&&cx(s)))||n.node&&s.node)if(4194304&n.flags&&4194304&s.flags)v(n.type,s.type);else if((Ax(n)||4&n.flags)&&4194304&s.flags)!function(e,n,t){const i=r;r|=256,v(e,n),r=i}(function(e){const n=op();vL(e,(e=>{if(!(128&e.flags))return;const t=Oc(e.value),r=va(4,t);r.links.type=un,e.symbol&&(r.declarations=e.symbol.declarations,r.valueDeclaration=e.symbol.valueDeclaration),n.set(t,r)}));const t=4&e.flags?[Hp(Dn,bt,!1)]:i;return ys(void 0,n,i,i,t)}(n),s.type);else if(8388608&n.flags&&8388608&s.flags)f(n.objectType,s.objectType),f(n.indexType,s.indexType);else if(268435456&n.flags&&268435456&s.flags)n.symbol===s.symbol&&f(n.type,s.type);else if(33554432&n.flags)f(n.baseType,s),m(kf(n),s,4);else if(16777216&s.flags)h(n,s,S);else if(3145728&s.flags)T(n,s.types,s.flags);else if(1048576&n.flags){const e=n.types;for(const n of e)f(n,s)}else if(134217728&s.flags)!function(e,n){const t=mA(e,n),r=n.types;if(t||N(n.texts,(e=>0===e.length)))for(let e=0;e<r.length;e++){const n=t?t[e]:qn,i=r[e];if(128&n.flags&&8650752&i.flags){const e=E(i),t=e?T_(e.typeParameter):void 0;if(t&&!dc(t)){const e=1048576&t.flags?t.types:[t];let r=We(e,((e,n)=>e|n.flags),0);if(!(4&r)){const t=n.value;296&r&&!_A(t,!0)&&(r&=-297),2112&r&&!fS(t,!0)&&(r&=-2113);const a=We(e,((e,i)=>i.flags&r?4&e.flags?e:4&i.flags?n:134217728&e.flags?e:134217728&i.flags&&hA(n,i)?n:268435456&e.flags?e:268435456&i.flags&&t===By(i.symbol,t)?n:128&e.flags?e:128&i.flags&&i.value===t?i:8&e.flags?e:8&i.flags?ab(+t):32&e.flags?e:32&i.flags?ab(+t):256&e.flags?e:256&i.flags&&i.value===+t?i:64&e.flags?e:64&i.flags?ob(pS(t)):2048&e.flags?e:2048&i.flags&&uS(i.value)===t?i:16&e.flags?e:16&i.flags?"true"===t?Bn:"false"===t?Fn:Hn:512&e.flags?e:512&i.flags&&i.intrinsicName===t?i:32768&e.flags?e:32768&i.flags&&i.intrinsicName===t?i:65536&e.flags?e:65536&i.flags&&i.intrinsicName===t?i:e:e),qn);if(!(131072&a.flags)){f(a,i);continue}}}}f(n,i)}}(n,s);else{if(n=P_(n),!(512&r&&467927040&n.flags)){const e=w_(n);if(e!==n&&_&&!(2621440&e.flags))return _=!1,f(e,s);n=e}2621440&n.flags&&h(n,s,A)}else y(sf(n),sf(s),CT(n.target))}}}function m(e,n,t){const i=r;r|=t,f(e,n),r=i}function h(e,n,t){const r=e.id+","+n.id,i=s&&s.get(r);if(void 0!==i)return void(u=Math.min(u,i));(s||(s=new Map)).set(r,-1);const a=u;u=2048;const o=p,d=QT(e),_=QT(n);G(c,d)&&(p|=1),G(l,_)&&(p|=2),3!==p?((c||(c=[])).push(d),(l||(l=[])).push(_),t(e,n),l.pop(),c.pop()):u=-1,p=o,s.set(r,u),u=Math.min(u,a)}function g(e,n,t){let r,i;for(const a of n)for(const n of e)t(n,a)&&(f(n,a),r=Ce(r,n),i=Ce(i,a));return[r?j(e,(e=>!G(r,e))):e,i?j(n,(e=>!G(i,e))):n]}function y(e,n,t){const r=e.length<n.length?e.length:n.length;for(let i=0;i<r;i++)i<t.length&&2==(7&t[i])?v(e[i],n[i]):f(e[i],n[i])}function v(e,n){a=!a,f(e,n),a=!a}function b(e,n){U||1024&r?v(e,n):f(e,n)}function E(n){if(8650752&n.flags)for(const t of e)if(n===t.typeParameter)return t}function T(e,n,t){let i=0;if(1048576&t){let t;const a=1048576&e.flags?e.types:[e],o=new Array(a.length);let s=!1;for(const e of n)if(E(e))t=e,i++;else for(let n=0;n<a.length;n++){const t=u;u=2048,f(a[n],e),u===r&&(o[n]=!0),s=s||-1===u,u=Math.min(u,t)}if(0===i){const t=function(e){let n;for(const t of e){const e=2097152&t.flags&&D(t.types,(e=>!!E(e)));if(!e||n&&e!==n)return;n=e}return n}(n);return void(t&&m(e,t,1))}if(1===i&&!s){const e=X(a,((e,n)=>o[n]?void 0:e));if(e.length)return void f(Sg(e),t)}}else for(const t of n)E(t)?i++:f(e,t);if(2097152&t?1===i:i>0)for(const t of n)E(t)&&m(e,t,1)}function x(e,n,t){if(1048576&t.flags){let r=!1;for(const i of t.types)r=x(e,n,i)||r;return r}if(4194304&t.flags){const r=E(t.type);if(r&&!r.isFixed&&!uA(e)){const i=iA(e,n,t);i&&m(i,r.typeParameter,262144&qE(e)?16:8)}return!0}if(262144&t.flags){m(xy(e),t,32);const r=m_(t);return r&&x(e,n,r)||f(Sg(de(W(f_(e),bl),W(J_(e),(e=>e!==Zr?e.type:qn)))),Gu(n)),!0}return!1}function S(e,n){16777216&e.flags?(f(e.checkType,n.checkType),f(e.extendsType,n.extendsType),f(Cv(e),Cv(n)),f(Iv(e),Iv(n))):function(e,n,t,i){const a=r;r|=i,T(e,n,t),r=a}(e,[Cv(n),Iv(n)],n.flags,a?64:0)}function A(e,n){var t,r;if(4&qE(e)&&4&qE(n)&&(e.target===n.target||cx(e)&&cx(n)))y(sf(e),sf(n),CT(e.target));else{if(n_(e)&&n_(n)){f(Pu(e),Pu(n)),f(Gu(e),Gu(n));const t=Fu(e),r=Fu(n);t&&r&&f(t,r)}if(32&qE(n)&&!n.declaration.nameType&&x(e,n,Pu(n)))return;if(!function(e,n){return Nx(e)&&Nx(n)?function(e,n){return!(8&n.target.combinedFlags)&&n.target.minLength>e.target.minLength||!n.target.hasRestElement&&(e.target.hasRestElement||n.target.fixedLength<e.target.fixedLength)}(e,n):!!cA(e,n,!1,!0)&&!!cA(n,e,!1,!1)}(e,n)){if(dx(e)){if(Nx(n)){const o=lf(e),s=lf(n),c=sf(n),l=n.target.elementFlags;if(Nx(e)&&(a=n,lf(i=e)===lf(a)&&N(i.target.elementFlags,((e,n)=>(12&e)==(12&a.target.elementFlags[n]))))){for(let n=0;n<s;n++)f(sf(e)[n],c[n]);return}const d=Nx(e)?Math.min(e.target.fixedLength,n.target.fixedLength):0,u=Math.min(Nx(e)?rg(e.target,3):0,n.target.hasRestElement?rg(n.target,3):0);for(let n=0;n<d;n++)f(sf(e)[n],c[n]);if(!Nx(e)||o-d-u==1&&4&e.target.elementFlags[d]){const n=sf(e)[d];for(let e=d;e<s-u;e++)f(8&l[e]?dh(n):n,c[e])}else{const i=s-d-u;if(2===i){if(l[d]&l[d+1]&8){const n=E(c[d]);n&&void 0!==n.impliedArity&&(f(Zh(e,d,u+o-n.impliedArity),c[d]),f(Zh(e,d+n.impliedArity,u),c[d+1]))}else if(8&l[d]&&4&l[d+1]){const n=null==(t=E(c[d]))?void 0:t.typeParameter,r=n&&T_(n);if(r&&Nx(r)&&!r.target.hasRestElement){const n=r.target.fixedLength;f(Zh(e,d,o-(d+n)),c[d]),f(Px(e,d+n,u),c[d+1])}}else if(4&l[d]&&8&l[d+1]){const t=null==(r=E(c[d+1]))?void 0:r.typeParameter,i=t&&T_(t);if(i&&Nx(i)&&!i.target.hasRestElement){const t=i.target.fixedLength,r=o-rg(n.target,3),a=r-t,s=Mh(sf(e).slice(a,r),e.target.elementFlags.slice(a,r),!1,e.target.labeledElementDeclarations&&e.target.labeledElementDeclarations.slice(a,r));f(Px(e,d,u+t),c[d]),f(s,c[d+1])}}}else if(1===i&&8&l[d]){const t=2&n.target.elementFlags[s-1];m(Zh(e,d,u),c[d],t?2:0)}else if(1===i&&4&l[d]){const n=Px(e,d,u);n&&f(n,c[d])}}for(let n=0;n<u;n++)f(sf(e)[o-n-1],c[s-n-1]);return}if(cx(n))return void k(e,n)}!function(e,n){const t=u_(n);for(const n of t){const t=V_(e,n.escapedName);t&&!ce(t.declarations,dA)&&f(bl(t),bl(n))}}(e,n),L(e,n,0),L(e,n,1),k(e,n)}var i,a}}function L(e,n,t){const r=H_(e,t),i=H_(n,t),a=r.length,o=i.length,s=a<o?a:o;for(let e=0;e<s;e++)C(Bp(r[a-s+e]),Pp(i[o-s+e]))}function C(e,n){const t=d,r=n.declaration?n.declaration.kind:0;d=d||171===r||170===r||173===r,IS(e,n,b),d=t,wS(e,n,f)}function k(e,n){const t=qE(e)&qE(n)&32?8:0,r=J_(n);if(Qx(e))for(const n of r){const r=[];for(const t of f_(e))if(q_(gy(t,8576),n.keyType)){const e=bl(t);r.push(16777216&t.flags?Yx(e):e)}for(const t of J_(e))q_(t.keyType,n.keyType)&&r.push(t.type);r.length&&m(Sg(r),n.type,t)}for(const n of r){const r=Q_(e,n.keyType);r&&m(r.type,n.type,t)}}f(n,t)}function bA(e,n){return n===Cn?e===n:AE(e,n)||!!(4&n.flags&&128&e.flags||8&n.flags&&256&e.flags)}function EA(e,n){return!!(524288&e.flags&&524288&n.flags&&e.symbol&&e.symbol===n.symbol||e.aliasSymbol&&e.aliasTypeArguments&&e.aliasSymbol===n.aliasSymbol)}function TA(e){return!!(128&qE(e))}function xA(e){return!!(16512&qE(e))}function SA(e,n){const t=e.inferences[n];if(!t.inferredType){let a;const o=e.signature;if(o){const s=t.candidates?function(e,n){const t=function(e){if(e.length>1){const n=j(e,xA);if(n.length){const t=Sg(n,2);return de(j(e,(e=>!xA(e))),[t])}}return e}(e.candidates),r=function(e){const n=h_(e);return!!n&&wD(16777216&n.flags?v_(n):n,406978556)}(e.typeParameter)||g_(e.typeParameter),i=!r&&e.topLevel&&(e.isFixed||!function(e,n){const t=Tp(e);return t?!!t.type&&rA(t.type,n):rA(Sp(e),n)}(n,e.typeParameter)),a=r?z(t,tb):i?z(t,kx):t;return ES(416&e.priority?Sg(a,2):ox(a))}(t,o):void 0;if(t.contraCandidates)a=s&&!(131072&s.flags)&&ce(t.contraCandidates,(e=>IE(s,e)))&&N(e.inferences,(e=>e!==t&&h_(e.typeParameter)!==t.typeParameter||N(e.candidates,(e=>IE(e,s)))))?s:function(e){return 416&e.priority?Wg(e.contraCandidates):We(e.contraCandidates,((e,n)=>IE(n,e)?n:e))}(t);else if(s)a=s;else if(1&e.flags)a=zn;else{const o=C_(t.typeParameter);o&&(a=hE(o,(r=function(e,n){const t=e.inferences.slice(n);return Fb(W(t,(e=>e.typeParameter)),W(t,(()=>xn)))}(e,n),i=e.nonFixingMapper,r?Zb(5,r,i):i)))}}else a=lA(t);t.inferredType=a||AA(!!(2&e.flags));const s=h_(t.typeParameter);if(s){const n=hE(s,e.nonFixingMapper);a&&e.compareTypes(a,$d(n,a))||(t.inferredType=a=n)}}var r,i;return t.inferredType}function AA(e){return e?un:xn}function LA(e){const n=[];for(let t=0;t<e.inferences.length;t++)n.push(SA(e,t));return n}function CA(e){switch(e.escapedText){case"document":case"console":return Vo.Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom;case"$":return x.types?Vo.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:Vo.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 x.types?Vo.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:Vo.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 x.types?Vo.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:Vo.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 Vo.Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later;case"await":if(Dk(e.parent))return Vo.Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function;default:return 300===e.parent.kind?Vo.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:Vo.Cannot_find_name_0}}function kA(e){const n=Ra(e);return n.resolvedSymbol||(n.resolvedSymbol=!Fp(e)&&Fa(e,e.escapedText,1160127,CA(e),e,!FE(e),!1)||on),n.resolvedSymbol}function IA(e){return!!Rc(e,(e=>183===e.kind||79!==e.kind&&163!==e.kind&&"quit"))}function wA(e){return!!(16777216&e.flags||Rc(e,(e=>NI(e)||sk(e))))}function RA(e,n,t,r){switch(e.kind){case 79:if(!Wv(e)){const i=kA(e);return i!==on?`${r?KG(r):"-1"}|${ig(n)}|${ig(t)}|${WG(i)}`:void 0}case 108:return`0|${r?KG(r):"-1"}|${ig(n)}|${ig(t)}`;case 232:case 214:return RA(e.expression,n,t,r);case 163:const i=RA(e.left,n,t,r);return i&&i+"."+e.right.escapedText;case 208:case 209:const a=OA(e);if(void 0!==a){const i=RA(e.expression,n,t,r);return i&&i+"."+a}break;case 203:case 204:case 259:case 215:case 216:case 171:return`${KG(e)}#${ig(n)}`}}function NA(e,n){switch(n.kind){case 214:case 232:return NA(e,n.expression);case 223:return Bb(n)&&NA(e,n.left)||qk(n)&&27===n.operatorToken.kind&&NA(e,n.right)}switch(e.kind){case 233:return 233===n.kind&&e.keywordToken===n.keywordToken&&e.name.escapedText===n.name.escapedText;case 79:case 80:return Wv(e)?108===n.kind:79===n.kind&&kA(e)===kA(n)||(kI(n)||kk(n))&&is(kA(e))===$o(n);case 108:return 108===n.kind;case 106:return 106===n.kind;case 232:case 214:return NA(e.expression,n);case 208:case 209:const t=OA(e),r=eT(n)?OA(n):void 0;return void 0!==t&&void 0!==r&&r===t&&NA(e.expression,n.expression);case 163:return eT(n)&&e.right.escapedText===OA(n)&&NA(e.left,n.expression);case 223:return qk(e)&&27===e.operatorToken.kind&&NA(e.right,n)}return!1}function OA(e){if(Rk(e))return e.name.escapedText;if(Nk(e))return function(e){if(Ly(e.argumentExpression))return Oc(e.argumentExpression.text);if(Hb(e.argumentExpression)){const n=No(e.argumentExpression,111551,!0);if(!n||!($L(n)||8&n.flags))return;const t=n.valueDeclaration;if(void 0===t)return;const r=ol(t);if(r){const e=MA(r);if(void 0!==e)return e}if(Qu(t)&&Oa(t,e.argumentExpression)){const e=Bh(t);if(e)return MA(cO(e));if(xw(t))return Vf(t.name)}}}(e);if(kk(e)){const n=yc(e);return n?Oc(n):void 0}return HC(e)?""+e.parent.parameters.indexOf(e):void 0}function MA(e){return 8192&e.flags?e.escapedName:384&e.flags?Oc(""+e.value):void 0}function PA(e,n){for(;eT(e);)if(NA(e=e.expression,n))return!0;return!1}function FA(e,n){for(;Gl(e);)if(NA(e=e.expression,n))return!0;return!1}function BA(e,n){if(e&&1048576&e.flags){const t=O_(e,n);if(t&&2&DE(t))return void 0===t.links.isDiscriminantProperty&&(t.links.isDiscriminantProperty=192==(192&t.links.checkFlags)&&!ev(bl(t))),!!t.links.isDiscriminantProperty}return!1}function UA(e,n){let t;for(const r of e)if(BA(n,r.escapedName)){if(t){t.push(r);continue}t=[r]}return t}function VA(e){const n=e.types;if(!(n.length<10||32768&qE(e)||V(n,(e=>!!(59506688&e.flags)))<10)){if(void 0===e.keyPropertyName){const t=A(n,(e=>59506688&e.flags?A(f_(e),(e=>xx(bl(e))?e.escapedName:void 0)):void 0)),r=t&&function(e,n){const t=new Map;let r=0;for(const i of e)if(61603840&i.flags){const e=lc(i,n);if(e){if(!Ax(e))return;let n=!1;vL(e,(e=>{const r=ig(tb(e)),a=t.get(r);a?a!==xn&&(t.set(r,xn),n=!0):t.set(r,i)})),n||r++}}return r>=10&&2*r>=e.length?t:void 0}(n,t);e.keyPropertyName=r?t:"",e.constituentMap=r}return e.keyPropertyName.length?e.keyPropertyName:void 0}}function jA(e,n){var t;const r=null==(t=e.constituentMap)?void 0:t.get(ig(tb(n)));return r!==xn?r:void 0}function HA(e,n){const t=VA(e),r=t&&lc(n,t);return r&&jA(e,r)}function KA(e,n){return NA(e,n)||PA(e,n)}function WA(e,n){if(e.arguments)for(const t of e.arguments)if(KA(n,t))return!0;return!(208!==e.expression.kind||!KA(n,e.expression.expression))}function qA(e){return(!e.id||e.id<0)&&(e.id=NG,NG++),e.id}function zA(e){const n=d_(e);return!!(n.callSignatures.length||n.constructSignatures.length||n.members.get("bind")&&IE(e,Kt))}function JA(e){467927040&e.flags&&(e=T_(e)||xn);const n=e.flags;if(268435460&n)return F?16317953:16776705;if(134217856&n){const t=128&n&&""===e.value;return F?t?12123649:7929345:t?12582401:16776705}if(40&n)return F?16317698:16776450;if(256&n){const n=0===e.value;return F?n?12123394:7929090:n?12582146:16776450}if(64&n)return F?16317188:16775940;if(2048&n){const n=Fx(e);return F?n?12122884:7928580:n?12581636:16775940}return 16&n?F?16316168:16774920:528&n?F?e===Fn||e===Gn?12121864:7927560:e===Fn||e===Gn?12580616:16774920:524288&n?16&qE(e)&&sT(e)?F?83427327:83886079:zA(e)?F?7880640:16728e3:F?7888800:16736160:16384&n?9830144:32768&n?26607360:65536&n?42917664:12288&n?F?7925520:16772880:67108864&n?F?7888800:16736160:131072&n?0:1048576&n?We(e.types,((e,n)=>e|JA(n)),0):2097152&n?function(e){const n=wD(e,134348796);let t=0,r=134217727;for(const i of e.types)if(!(n&&524288&i.flags)){const e=JA(i);t|=e,r&=e}return 8256&t|134209471&r}(e):83886079}function YA(e,n){return xL(e,(e=>0!=(JA(e)&n)))}function ZA(e,n){const t=eL(YA(F&&2&e.flags?Ct:e,n));if(F)switch(n){case 524288:return LL(t,(e=>65536&JA(e)?Wg([e,131072&JA(e)&&!wD(t,65536)?Sg([bt,wn]):bt]):e));case 1048576:return LL(t,(e=>131072&JA(e)?Wg([e,65536&JA(e)&&!wD(t,32768)?Sg([bt,An]):bt]):e));case 2097152:case 4194304:return LL(t,(e=>262144&JA(e)?function(e){return rr||(rr=fm("NonNullable",524288,void 0)||on),rr!==on?uf(rr,[e]):Wg([e,bt])}(e):e))}return t}function eL(e){return e===Ct?xn:e}function nL(e,n){return n?Sg([mc(e),cO(n)]):e}function tL(e,n){var t;const r=hy(n);if(!Fd(r))return mn;const i=qd(r);return lc(e,i)||iL(null==(t=Z_(e,i))?void 0:t.type)||mn}function rL(e,n){return TL(e,bx)&&function(e,n){return lc(e,""+n)||(TL(e,Nx)?LL(e,(e=>{const t=e,r=Mx(t);return r?x.noUncheckedIndexedAccess&&n>=t.target.fixedLength+rg(t.target,3)?Sg([r,An]):r:An})):void 0)}(e,n)||iL(DM(65,e,An,void 0))||mn}function iL(e){return e&&x.noUncheckedIndexedAccess?Sg([e,Cn]):e}function aL(e){return dh(DM(65,e,An,void 0)||mn)}function oL(e){return 223===e.parent.kind&&e.parent.left===e||247===e.parent.kind&&e.parent.initializer===e}function sL(e){return tL(cL(e.parent),e.name)}function cL(e){const{parent:n}=e;switch(n.kind){case 246:return Dn;case 247:return NM(n)||mn;case 223:return function(e){return 206===e.parent.kind&&oL(e.parent)||299===e.parent.kind&&oL(e.parent.parent)?nL(cL(e),e.right):cO(e.right)}(n);case 217:return An;case 206:return function(e,n){return rL(cL(e),e.elements.indexOf(n))}(n,e);case 227:return function(e){return aL(cL(e.parent))}(n);case 299:return sL(n);case 300:return function(e){return nL(sL(e),e.objectAssignmentInitializer)}(n)}return mn}function lL(e){return Ra(e).resolvedType||cO(e)}function dL(e){return 257===e.kind?function(e){return e.initializer?lL(e.initializer):246===e.parent.parent.kind?Dn:247===e.parent.parent.kind&&NM(e.parent.parent)||mn}(e):function(e){const n=e.parent,t=dL(n.parent);return nL(203===n.kind?tL(t,e.propertyName||e.name):e.dotDotDotToken?aL(t):rL(t,n.elements.indexOf(e)),e.initializer)}(e)}function uL(e){switch(e.kind){case 214:return uL(e.expression);case 223:switch(e.operatorToken.kind){case 63:case 75:case 76:case 77:return uL(e.left);case 27:return uL(e.right)}}return e}function _L(e){const{parent:n}=e;return 214===n.kind||223===n.kind&&63===n.operatorToken.kind&&n.left===e||223===n.kind&&27===n.operatorToken.kind&&n.right===e?_L(n):e}function pL(e){return 292===e.kind?tb(cO(e.expression)):qn}function fL(e){const n=Ra(e);if(!n.switchTypes){n.switchTypes=[];for(const t of e.caseBlock.clauses)n.switchTypes.push(pL(t))}return n.switchTypes}function gL(e){if(ce(e.caseBlock.clauses,(e=>292===e.kind&&!t_(e.expression))))return;const n=[];for(const t of e.caseBlock.clauses){const e=292===t.kind?t.expression.text:void 0;n.push(e&&!G(n,e)?e:void 0)}return n}function yL(e,n){return e===n||1048576&n.flags&&function(e,n){if(1048576&e.flags){for(const t of e.types)if(!lg(n.types,t))return!1;return!0}return!!(1056&e.flags&&ad(e)===n)||lg(n.types,e)}(e,n)}function vL(e,n){return 1048576&e.flags?A(e.types,n):n(e)}function EL(e,n){return 1048576&e.flags?ce(e.types,n):n(e)}function TL(e,n){return 1048576&e.flags?N(e.types,n):n(e)}function xL(e,n){if(1048576&e.flags){const t=e.types,r=j(t,n);if(r===t)return e;const i=e.origin;let a;if(i&&1048576&i.flags){const e=i.types,o=j(e,(e=>!!(1048576&e.flags)||n(e)));if(e.length-o.length==t.length-r.length){if(1===o.length)return o[0];a=xg(1048576,o)}}return Ig(r,16809984&e.objectFlags,void 0,void 0,a)}return 131072&e.flags||n(e)?e:qn}function SL(e,n){return xL(e,(e=>e!==n))}function AL(e){return 1048576&e.flags?e.types.length:1}function LL(e,n,t){if(131072&e.flags)return e;if(!(1048576&e.flags))return n(e);const r=e.origin,i=r&&1048576&r.flags?r.types:e.types;let a,o=!1;for(const e of i){const r=1048576&e.flags?LL(e,n,t):n(e);o||(o=e!==r),r&&(a?a.push(r):a=[r])}return o?a&&Sg(a,t?0:1):e}function CL(e,n,t,r){return 1048576&e.flags&&t?Sg(W(e.types,n),1,t,r):LL(e,n)}function kL(e,n){return xL(e,(e=>0!=(e.flags&n)))}function IL(e,n){return wD(e,134217804)&&wD(n,402655616)?LL(e,(e=>4&e.flags?kL(n,402653316):Zy(e)&&!wD(n,402653188)?kL(n,128):8&e.flags?kL(n,264):64&e.flags?kL(n,2112):e)):e}function wL(e){return 0===e.flags}function RL(e){return 0===e.flags?e.type:e}function NL(e,n){return n?{flags:0,type:131072&e.flags?zn:e}:e}function DL(e){return en[e.id]||(en[e.id]=function(e){const n=_s(256);return n.elementType=e,n}(e))}function OL(e,n){const t=tS(Lx(dO(n)));return yL(t,e.elementType)?e:DL(Sg([e.elementType,t]))}function ML(e){return 256&qE(e)?(n=e).finalArrayType||(n.finalArrayType=131072&(t=n.elementType).flags?nr:dh(1048576&t.flags?Sg(t.types,2):t)):e;var n,t}function PL(e){return 256&qE(e)?e.elementType:qn}function FL(e){const n=_L(e),t=n.parent,r=Rk(t)&&("length"===t.name.escapedText||210===t.parent.kind&&AC(t.name)&&Hy(t.name)),i=209===t.kind&&t.expression===n&&223===t.parent.kind&&63===t.parent.operatorToken.kind&&t.parent.left===t&&!jg(t.parent)&&RD(cO(t.argumentExpression),296);return r||i}function GL(e,n){if(8752&(e=Eo(e)).flags)return bl(e);if(7&e.flags){if(262144&DE(e)){const n=e.links.syntheticOrigin;if(n&&GL(n))return bl(e)}const r=e.valueDeclaration;if(r){if((kI(t=r)||qC(t)||WC(t)||HC(t))&&(Jv(t)||Ah(t)&&$u(t)&&t.initializer&&MS(t.initializer)&&Yv(t.initializer)))return bl(e);if(kI(r)&&247===r.parent.parent.kind){const e=r.parent.parent,n=BL(e.expression,void 0);if(n)return DM(e.awaitModifier?15:13,n,An,void 0)}n&&iS(n,Hf(r,Vo._0_needs_an_explicit_type_annotation,Fs(e)))}}var t}function BL(e,n){if(!(33554432&e.flags))switch(e.kind){case 79:return GL(is(kA(e)),n);case 108:return function(e){const n=Jm(e,!1,!1);if(Ad(n)){const e=up(n);if(e.thisParameter)return GL(e.thisParameter)}if(Dd(n.parent)){const e=$o(n.parent);return ub(n)?bl(e):_d(e).thisType}}(e);case 106:return fC(e);case 208:{const t=BL(e.expression,n);if(t){const r=e.name;let i;if(LC(r)){if(!t.symbol)return;i=V_(t,My(t.symbol,r.escapedText))}else i=V_(t,r.escapedText);return i&&GL(i,n)}return}case 214:return BL(e.expression,n)}}function UL(e){const n=Ra(e);let t=n.effectsSignature;if(void 0===t){let r;241===e.parent.kind?r=BL(e.expression,void 0):106!==e.expression.kind&&(r=Gl(e)?uw(zx(uO(e.expression),e.expression),e.expression):ew(e.expression));const i=H_(r&&w_(r)||xn,0),a=1!==i.length||i[0].typeParameters?ce(i,VL)?hN(e):void 0:i[0];t=n.effectsSignature=a&&VL(a)?a:Yr}return t===Yr?void 0:t}function VL(e){return!!(Tp(e)||e.declaration&&131072&(Ap(e.declaration)||xn).flags)}function jL(e){const n=KL(e,!1);return Hr=e,Kr=n,n}function HL(e){const n=Yg(e,!0);return 95===n.kind||223===n.kind&&(55===n.operatorToken.kind&&(HL(n.left)||HL(n.right))||56===n.operatorToken.kind&&HL(n.left)&&HL(n.right))}function KL(e,n){for(;;){if(e===Hr)return Kr;const t=e.flags;if(4096&t){if(!n){const n=qA(e),t=Bi[n];return void 0!==t?t:Bi[n]=KL(e,!0)}n=!1}if(368&t)e=e.antecedent;else if(512&t){const n=UL(e.node);if(n){const t=Tp(n);if(t&&3===t.kind&&!t.type){const n=e.node.arguments[t.parameterIndex];if(n&&HL(n))return!1}if(131072&Sp(n).flags)return!1}e=e.antecedent}else{if(4&t)return ce(e.antecedents,(e=>KL(e,!1)));if(8&t){const n=e.antecedents;if(void 0===n||0===n.length)return!1;e=n[0]}else{if(!(128&t)){if(1024&t){Hr=void 0;const n=e.target,t=n.antecedents;n.antecedents=e.antecedents;const r=KL(e.antecedent,!1);return n.antecedents=t,r}return!(1&t)}if(e.clauseStart===e.clauseEnd&&fD(e.switchStatement))return!1;e=e.antecedent}}}}function WL(e,n){for(;;){const t=e.flags;if(4096&t){if(!n){const n=qA(e),t=Ui[n];return void 0!==t?t:Ui[n]=WL(e,!0)}n=!1}if(496&t)e=e.antecedent;else if(512&t){if(106===e.node.expression.kind)return!0;e=e.antecedent}else{if(4&t)return N(e.antecedents,(e=>WL(e,!1)));if(!(8&t)){if(1024&t){const n=e.target,t=n.antecedents;n.antecedents=e.antecedents;const r=WL(e.antecedent,!1);return n.antecedents=t,r}return!!(1&t)}e=e.antecedents[0]}}}function qL(e){switch(e.kind){case 79:if(!Wv(e)){const n=kA(e);return $L(n)||OS(n)&&!XL(n)}break;case 208:case 209:return qL(e.expression)&&xD(Ra(e).resolvedSymbol||on)}return!1}function zL(e,n,t=n,r,i=(n=>null==(n=En(e,Cg))?void 0:n.flowNode)()){let a,o=!1,s=0;if(pi)return mn;if(!i)return n;fi++;const c=_i,l=RL(_(i));_i=c;const d=256&qE(l)&&FL(e)?nr:ML(l);return d===Xn||e.parent&&232===e.parent.kind&&!(131072&d.flags)&&131072&YA(d,2097152).flags?n:d===Sn?xn:d;function u(){return o?a:(o=!0,a=RA(e,n,t,r))}function _(i){var a;if(2e3===s)return null==(a=Vr)||a.instant(Vr.Phase.CheckTypes,"getTypeAtFlowNode_DepthLimit",{flowId:i.id}),pi=!0,function(e){const n=Rc(e,Rd),t=Ip(e),r=Zf(t,n.statements.pos);Ji.add(ST(t,r.start,r.length,Vo.The_containing_function_or_module_body_is_too_large_for_control_flow_analysis))}(e),mn;let o;for(s++;;){const a=i.flags;if(4096&a){for(let e=c;e<_i;e++)if(Fi[e]===i)return s--,Gi[e];o=i}let l;if(16&a){if(l=f(i),!l){i=i.antecedent;continue}}else if(512&a){if(l=h(i),!l){i=i.antecedent;continue}}else if(96&a)l=y(i);else if(128&a)l=b(i);else if(12&a){if(1===i.antecedents.length){i=i.antecedents[0];continue}l=4&a?E(i):T(i)}else if(256&a){if(l=g(i),!l){i=i.antecedent;continue}}else if(1024&a){const e=i.target,n=e.antecedents;e.antecedents=i.antecedents,l=_(i.antecedent),e.antecedents=n}else if(2&a){const n=i.node;if(n&&n!==r&&208!==e.kind&&209!==e.kind&&108!==e.kind){i=n.flowNode;continue}l=t}else l=TM(n);return o&&(Fi[_i]=o,Gi[_i]=l,_i++),s--,l}}function p(n){const t=n.node;return eC(257===t.kind||205===t.kind?dL(t):cL(t),e)}function f(t){const r=t.node;if(NA(e,r)){if(!jL(t))return Xn;if(2===Vg(r)){const e=_(t.antecedent);return NL(Lx(RL(e)),wL(e))}if(n===_n||n===nr){if(function(e){return 257===e.kind&&e.initializer&&xc(e.initializer)||205!==e.kind&&223===e.parent.kind&&xc(e.parent.right)}(r))return DL(qn);const e=kx(p(t));return RE(e,n)?e:er}return 1048576&n.flags?function(e,n){var t;if(e===n)return e;if(131072&n.flags)return n;const r=`A${ig(e)},${ig(n)}`;return null!=(t=aa(r))?t:oa(r,function(e,n){const t=xL(e,(e=>function(e,n){if(!(1048576&e.flags))return RE(e,n);for(const t of e.types)if(RE(t,n))return!0;return!1}(n,e))),r=512&n.flags&&rb(n)?LL(t,nb):t;return RE(n,r)?r:e}(e,n))}(n,p(t)):n}if(PA(e,r)){if(!jL(t))return Xn;if(kI(r)&&(Ah(r)||om(r))){const e=Uh(r);if(e&&(215===e.kind||216===e.kind))return _(t.antecedent)}return n}if(kI(r)&&246===r.parent.parent.kind&&(NA(e,r.parent.parent.expression)||FA(r.parent.parent.expression,e)))return tw(ML(RL(_(t.antecedent))))}function m(e,n){const t=Yg(n,!0);if(95===t.kind)return Xn;if(223===t.kind){if(55===t.operatorToken.kind)return m(m(e,t.left),t.right);if(56===t.operatorToken.kind)return Sg([m(e,t.left),m(e,t.right)])}return $(e,t,!0)}function h(e){const n=UL(e.node);if(n){const t=Tp(n);if(t&&(2===t.kind||3===t.kind)){const n=_(e.antecedent),r=ML(RL(n)),i=t.type?Y(r,t,e.node,!0):3===t.kind&&t.parameterIndex>=0&&t.parameterIndex<e.node.arguments.length?m(r,e.node.arguments[t.parameterIndex]):r;return i===r?n:NL(i,wL(n))}if(131072&Sp(n).flags)return Xn}}function g(t){if(n===_n||n===nr){const n=t.node,r=210===n.kind?n.expression.expression:n.left.expression;if(NA(e,uL(r))){const e=_(t.antecedent),r=RL(e);if(256&qE(r)){let t=r;if(210===n.kind)for(const e of n.arguments)t=OL(t,e);else RD(dO(n.left.argumentExpression),296)&&(t=OL(t,n.right));return t===r?e:NL(t,wL(e))}return e}}}function y(e){const n=_(e.antecedent),t=RL(n);if(131072&t.flags)return n;const r=0!=(32&e.flags),i=ML(t),a=$(i,e.node,r);return a===i?n:NL(a,wL(n))}function b(n){const t=n.switchStatement.expression,r=_(n.antecedent);let i=RL(r);if(NA(e,t))i=V(i,n.switchStatement,n.clauseStart,n.clauseEnd);else if(218===t.kind&&NA(e,t.expression))i=function(e,n,t,r){const i=gL(n);if(!i)return e;const a=M(n.caseBlock.clauses,(e=>293===e.kind));if(t===r||a>=t&&a<r){const n=pD(t,r,i);return xL(e,(e=>(JA(e)&n)===n))}return Sg(W(i.slice(t,r),(n=>n?j(e,n):qn)))}(i,n.switchStatement,n.clauseStart,n.clauseEnd);else{F&&(FA(t,e)?i=U(i,n.switchStatement,n.clauseStart,n.clauseEnd,(e=>!(163840&e.flags))):218===t.kind&&FA(t.expression,e)&&(i=U(i,n.switchStatement,n.clauseStart,n.clauseEnd,(e=>!(131072&e.flags||128&e.flags&&"undefined"===e.value)))));const r=S(t,i);r&&(i=function(e,n,t,r,i){if(r<i&&1048576&e.flags&&VA(e)===OA(n)){const n=Sg(W(fL(t).slice(r,i),(n=>jA(e,n)||xn)));if(n!==xn)return n}return A(e,n,(e=>V(e,t,r,i)))}(i,r,n.switchStatement,n.clauseStart,n.clauseEnd))}return NL(i,wL(r))}function E(e){const r=[];let i,a=!1,o=!1;for(const s of e.antecedents){if(!i&&128&s.flags&&s.clauseStart===s.clauseEnd){i=s;continue}const e=_(s),c=RL(e);if(c===n&&n===t)return c;Le(r,c),yL(c,n)||(a=!0),wL(e)&&(o=!0)}if(i){const e=_(i),s=RL(e);if(!(131072&s.flags||G(r,s)||fD(i.switchStatement))){if(s===n&&n===t)return s;r.push(s),yL(s,n)||(a=!0),wL(e)&&(o=!0)}}return NL(x(r,a?2:1),o)}function T(e){const t=qA(e),r=Di[t]||(Di[t]=new Map),i=u();if(!i)return n;const a=r.get(i);if(a)return a;for(let n=di;n<ui;n++)if(Oi[n]===e&&Mi[n]===i&&Pi[n].length)return NL(x(Pi[n],1),!0);const o=[];let s,c=!1;for(const t of e.antecedents){let a;if(s){Oi[ui]=e,Mi[ui]=i,Pi[ui]=o,ui++;const n=Wr;Wr=void 0,a=_(t),Wr=n,ui--;const s=r.get(i);if(s)return s}else a=s=_(t);const l=RL(a);if(Le(o,l),yL(l,n)||(c=!0),l===n)break}const l=x(o,c?2:1);return wL(s)?NL(l,!0):(r.set(i,l),l)}function x(e,t){if(function(e){let n=!1;for(const t of e)if(!(131072&t.flags)){if(!(256&qE(t)))return!1;n=!0}return n}(e))return DL(Sg(W(e,PL)));const r=eL(Sg(z(e,ML),t));return r!==n&&r.flags&n.flags&1048576&&B(r.types,n.types)?n:r}function S(t,r){const i=1048576&n.flags?n:r;if(1048576&i.flags){const n=function(n){if(Kd(e)||MS(e)||Om(e)){if(AC(n)){const t=kA(n).valueDeclaration;if(t&&(kk(t)||HC(t))&&e===t.parent&&!t.initializer&&!t.dotDotDotToken)return t}}else if(eT(n)){if(NA(e,n.expression))return n}else if(AC(n)){const t=kA(n);if($L(t)){const n=t.valueDeclaration;if(kI(n)&&!n.type&&n.initializer&&eT(n.initializer)&&NA(e,n.initializer.expression))return n.initializer;if(kk(n)&&!n.initializer){const t=n.parent.parent;if(kI(t)&&!t.type&&t.initializer&&(AC(t.initializer)||eT(t.initializer))&&NA(e,t.initializer))return n}}}}(t);if(n){const e=OA(n);if(e&&BA(i,e))return n}}}function A(e,n,t){const r=OA(n);if(void 0===r)return e;const i=Gl(n),a=F&&(i||XS(n))&&wD(e,98304);let o=lc(a?YA(e,2097152):e,r);if(!o)return e;o=a&&i?Vx(o):o;const s=t(o);return xL(e,(e=>{const n=function(e,n){var t;return lc(e,n)||(null==(t=Z_(e,n))?void 0:t.type)||xn}(e,r);return!(131072&n.flags)&&!(131072&s.flags)&&BE(s,n)}))}function L(e,n,t,r,i){if((36===t||37===t)&&1048576&e.flags){const a=VA(e);if(a&&a===OA(n)){const n=jA(e,cO(r));if(n)return t===(i?36:37)?n:xx(lc(n,a)||xn)?SL(e,n):e}}return A(e,n,(e=>R(e,t,r,i)))}function C(n,t,r){if(NA(e,t))return ZA(n,r?4194304:8388608);F&&r&&FA(t,e)&&(n=ZA(n,2097152));const i=S(t,n);return i?A(n,i,(e=>YA(e,r?4194304:8388608))):n}function k(e,n,t){const r=V_(e,n);return r?!!(16777216&r.flags)||t:!!Z_(e,n)||!t}function I(n,t,r){switch(t.operatorToken.kind){case 63:case 75:case 76:case 77:return C($(n,t.right,r),t.left,r);case 34:case 35:case 36:case 37:const i=t.operatorToken.kind,a=uL(t.left),o=uL(t.right);if(218===a.kind&&t_(o))return O(n,a,i,o,r);if(218===o.kind&&t_(a))return O(n,o,i,a,r);if(NA(e,a))return R(n,i,o,r);if(NA(e,o))return R(n,i,a,r);F&&(FA(a,e)?n=w(n,i,o,r):FA(o,e)&&(n=w(n,i,a,r)));const s=S(a,n);if(s)return L(n,s,i,o,r);const c=S(o,n);if(c)return L(n,c,i,a,r);if(K(a))return q(n,i,o,r);if(K(o))return q(n,i,a,r);break;case 102:return function(n,t,r){const i=uL(t.left);if(!NA(e,i))return r&&F&&FA(i,e)?ZA(n,2097152):n;const a=cO(t.right);if(!NE(a,Kt))return n;const o=LL(a,J);return(!dc(n)||o!==Ht&&o!==Kt)&&(r||524288&o.flags&&!cT(o))?X(n,o,r,!0):n}(n,t,r);case 101:if(LC(t.left))return function(n,t,r){const i=uL(t.right);if(!NA(e,i))return n;Nt.assertNode(t.left,LC);const a=Cw(t.left);if(void 0===a)return n;const o=a.parent;return X(n,_b(Nt.checkDefined(a.valueDeclaration,"should always have a declaration"))?bl(o):_d(o),r,!0)}(n,t,r);const l=uL(t.right),d=cO(t.left);if(8576&d.flags){if(Xx(n)&&eT(e)&&NA(e.expression,l)&&OA(e)===qd(d))return YA(n,r?524288:65536);if(NA(e,l))return function(e,n,t){const r=qd(n);if(EL(e,(e=>k(e,r,!0))))return xL(e,(e=>k(e,r,t)));if(t){const t=(Dr||(Dr=pm("Record",2,!0)||on),Dr===on?void 0:Dr);if(t)return Wg([e,uf(t,[n,xn])])}return e}(n,d,r)}break;case 27:return $(n,t.right,r);case 55:return r?$($(n,t.left,!0),t.right,!0):Sg([$(n,t.left,!1),$(n,t.right,!1)]);case 56:return r?Sg([$(n,t.left,!0),$(n,t.right,!0)]):$($(n,t.left,!1),t.right,!1)}return n}function w(e,n,t,r){const i=34===n||36===n,a=34===n||35===n?98304:32768,o=cO(t);return i!==r&&TL(o,(e=>!!(e.flags&a)))||i===r&&TL(o,(e=>!(e.flags&(3|a))))?ZA(e,2097152):e}function R(e,n,t,r){if(1&e.flags)return e;35!==n&&37!==n||(r=!r);const i=cO(t),a=34===n||35===n;if(98304&i.flags)return F?ZA(e,a?r?262144:2097152:65536&i.flags?r?131072:1048576:r?65536:524288):e;if(r){if(!a&&(2&e.flags||EL(e,cT))){if(201457660&i.flags||cT(i))return i;if(524288&i.flags)return Yn}return IL(xL(e,(e=>{return BE(e,i)||a&&(n=i,0!=(524&e.flags)&&0!=(28&n.flags));var n})),i)}return xx(i)?xL(e,(e=>!(Sx(e)&&BE(e,i)))):e}function O(n,t,r,i,a){35!==r&&37!==r||(a=!a);const o=uL(t.expression);if(!NA(e,o)){F&&FA(o,e)&&a===("undefined"!==i.text)&&(n=ZA(n,2097152));const t=S(o,n);return t?A(n,t,(e=>P(e,i,a))):n}return P(n,i,a)}function P(e,n,t){return t?j(e,n.text):ZA(e,OG.get(n.text)||32768)}function U(e,n,t,r,i){return t!==r&&N(fL(n).slice(t,r),i)?YA(e,2097152):e}function V(e,n,t,r){const i=fL(n);if(!i.length)return e;const a=i.slice(t,r),o=t===r||G(a,qn);if(2&e.flags&&!o){let n;for(let t=0;t<a.length;t+=1){const r=a[t];if(201457660&r.flags)void 0!==n&&n.push(r);else{if(!(524288&r.flags))return e;void 0===n&&(n=a.slice(0,t)),n.push(Yn)}}return Sg(void 0===n?a:n)}const s=Sg(a),c=131072&s.flags?qn:IL(xL(e,(e=>BE(s,e))),s);if(!o)return c;const l=xL(e,(e=>!(Sx(e)&&G(i,tb(function(e){return 2097152&e.flags&&D(e.types,xx)||e}(e))))));return 131072&c.flags?l:Sg([c,l])}function j(e,n){switch(n){case"string":return H(e,Dn,1);case"number":return H(e,On,2);case"bigint":return H(e,Mn,4);case"boolean":return H(e,Hn,8);case"symbol":return H(e,Kn,16);case"object":return 1&e.flags?e:Sg([H(e,Yn,32),H(e,wn,131072)]);case"function":return 1&e.flags?e:H(e,Kt,64);case"undefined":return H(e,An,65536)}return H(e,Yn,128)}function H(e,n,t){return LL(e,(e=>pT(e,n,Qi)?JA(e)&t?e:qn:IE(n,e)?n:JA(e)&t?Wg([e,n]):qn))}function K(n){return(Rk(n)&&"constructor"===Pc(n.name)||Nk(n)&&t_(n.argumentExpression)&&"constructor"===n.argumentExpression.text)&&NA(e,n.expression)}function q(e,n,t,r){if(r?34!==n&&36!==n:35!==n&&37!==n)return e;const i=cO(t);if(!MF(i)&&!Wl(i))return e;const a=V_(i,"prototype");if(!a)return e;const o=bl(a),s=dc(o)?void 0:o;return s&&s!==Ht&&s!==Kt?dc(e)?s:xL(e,(e=>{return t=s,524288&(n=e).flags&&1&qE(n)||524288&t.flags&&1&qE(t)?n.symbol===t.symbol:IE(n,t);var n,t})):e}function J(e){const n=lc(e,"prototype");if(n&&!dc(n))return n;const t=H_(e,1);return t.length?Sg(W(t,(e=>Sp(Pp(e))))):bt}function X(e,n,t,r){var i;const a=1048576&e.flags?`N${ig(e)},${ig(n)},${(t?1:0)|(r?2:0)}`:void 0;return null!=(i=aa(a))?i:oa(a,function(e,n,t,r){if(!t){if(r)return xL(e,(e=>!NE(e,n)));const t=X(e,n,!0,!1);return xL(e,(e=>!yL(e,t)))}if(3&e.flags)return n;const i=r?NE:IE,a=1048576&e.flags?VA(e):void 0,o=LL(n,(n=>{const t=a&&lc(n,a),o=LL(t&&jA(e,t)||e,r?e=>NE(e,n)?e:NE(n,e)?n:qn:e=>wE(e,n)?e:wE(n,e)?n:IE(e,n)?e:IE(n,e)?n:qn);return 131072&o.flags?LL(e,(e=>wD(e,465829888)&&i(n,T_(e)||xn)?Wg([e,n]):qn)):o}));return 131072&o.flags?IE(n,e)?n:RE(e,n)?e:RE(n,e)?n:Wg([e,n]):o}(e,n,t,r))}function Y(n,t,r,i){if(t.type&&(!dc(n)||t.type!==Ht&&t.type!==Kt)){const a=function(e,n){if(1===e.kind||3===e.kind)return n.arguments[e.parameterIndex];const t=Yg(n.expression);return eT(t)?Yg(t.expression):void 0}(t,r);if(a){if(NA(e,a))return X(n,t.type,i,!1);F&&i&&FA(a,e)&&!(65536&JA(t.type))&&(n=ZA(n,2097152));const r=S(a,n);if(r)return A(n,r,(e=>X(e,t.type,i,!1)))}}return n}function $(n,t,r){if(Ul(t)||qk(t.parent)&&(60===t.parent.operatorToken.kind||77===t.parent.operatorToken.kind)&&t.parent.left===t)return function(n,t,r){if(NA(e,t))return ZA(n,r?2097152:262144);const i=S(t,n);return i?A(n,i,(e=>YA(e,r?2097152:262144))):n}(n,t,r);switch(t.kind){case 79:if(!NA(e,t)&&v<5){const i=kA(t);if($L(i)){const t=i.valueDeclaration;if(t&&kI(t)&&!t.type&&t.initializer&&qL(e)){v++;const e=$(n,t.initializer,r);return v--,e}}}case 108:case 106:case 208:case 209:return C(n,t,r);case 210:return function(n,t,r){if(WA(t,e)){const e=r||!Fl(t)?UL(t):void 0,i=e&&Tp(e);if(i&&(0===i.kind||1===i.kind))return Y(n,i,t,r)}if(Xx(n)&&eT(e)&&Rk(t.expression)){const i=t.expression;if(NA(e.expression,uL(i.expression))&&AC(i.name)&&"hasOwnProperty"===i.name.escapedText&&1===t.arguments.length){const i=t.arguments[0];if(t_(i)&&OA(e)===Oc(i.text))return YA(n,r?524288:65536)}}return n}(n,t,r);case 214:case 232:return $(n,t.expression,r);case 223:return I(n,t,r);case 221:if(53===t.operator)return $(n,t.operand,!r)}return n}}function JL(e){return Rc(e.parent,(e=>Ad(e)&&!Zm(e)||265===e.kind||308===e.kind||169===e.kind))}function XL(e){if(!e.valueDeclaration)return!1;const n=Wy(e.valueDeclaration).parent,t=Ra(n);return 524288&t.flags||(t.flags|=524288,Rc(n.parent,(e=>(Ad(e)||vw(e))&&!!(524288&Ra(e).flags)))||YL(n)),e.isAssigned||!1}function YL(e){if(79===e.kind){if(jg(e)){const n=kA(e);OS(n)&&(n.isAssigned=!0)}}else ED(e,YL)}function $L(e){return 3&e.flags&&0!=(2&HI(e))}function QL(e){return 2097152&e.flags?ce(e.types,QL):!!(465829888&e.flags&&1146880&x_(e).flags)}function ZL(e){return 2097152&e.flags?ce(e.types,ZL):!(!(465829888&e.flags)||wD(x_(e),98304))}function eC(e,n,t){const r=!(t&&2&t)&&EL(e,QL)&&(function(e,n){const t=n.parent;return 208===t.kind||163===t.kind||210===t.kind&&t.expression===n||209===t.kind&&t.expression===n&&!(EL(e,ZL)&&iv(cO(t.argumentExpression)))}(e,n)||function(e,n){const t=(AC(e)||Rk(e)||Nk(e))&&!((sw(e.parent)||ow(e.parent))&&e.parent.tagName===e)&&BC(e,n&&64&n?8:void 0);return t&&!ev(t)}(n,t));return r?LL(e,x_):e}function nC(e){return!!Rc(e,(e=>{const n=e.parent;return void 0===n?"quit":XI(n)?n.expression===e&&Hb(e):!!QI(n)&&(n.name===e||n.propertyName===e)}))}function tC(e,n){if(!x.verbatimModuleSyntax&&vo(e,111551)&&!IA(n)&&!Lo(e,111551)){const t=To(e);1160127&xo(t)&&(WT(x)||rx(x)&&nC(n)||!EF(is(t))?ko(e):function(e){const n=wa(e);n.constEnumReferenced||(n.constEnumReferenced=!0)}(e))}}function rC(e,n){if(Wv(e))return uC(e);const t=kA(e);if(t===on)return mn;if(t===he){if(qw(e))return _a(e,Vo.arguments_cannot_be_referenced_in_property_initializers),mn;const n=Hm(e);return L<2&&(216===n.kind?_a(e,Vo.The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression):db(n,512)&&_a(e,Vo.The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method)),Ra(n).flags|=512,bl(t)}(function(e){var n;const t=e.parent;if(t){if(Rk(t)&&t.expression===e)return!1;if(QI(t)&&t.isTypeOnly)return!1;const r=null==(n=t.parent)?void 0:n.parent;if(r&&YI(r)&&r.isTypeOnly)return!1}return!0})(e)&&tC(t,e);const r=is(t),i=NP(r,e);ga(i)&&Xy(e,i)&&i.declarations&&ya(e,i.declarations,e.escapedText);let a=r.valueDeclaration;if(a&&32&r.flags)if(260===a.kind&&ch(I,a)){let n=Wm(e);for(;void 0!==n;){if(n===a&&n.name!==e){Ra(a).flags|=1048576,Ra(e).flags|=2097152;break}n=Wm(n)}}else if(228===a.kind){let n=Jm(e,!1,!1);for(;308!==n.kind;){if(n.parent===a){(qC(n)&&ub(n)||XC(n))&&(Ra(a).flags|=1048576,Ra(e).flags|=2097152);break}n=Jm(n,!1,!1)}}!function(e,n){if(L>=2||0==(34&n.flags)||!n.valueDeclaration||Aw(n.valueDeclaration)||295===n.valueDeclaration.parent.kind)return;const t=Mf(n.valueDeclaration),r=function(e,n){return!!Rc(e,(e=>e===n?"quit":Ad(e)||e.parent&&qC(e.parent)&&!_b(e.parent)&&e.parent.initializer===e))}(e,t),i=iC(t);if(i){if(r){let r=!0;if(hI(t)){const i=my(n.valueDeclaration,258);if(i&&i.parent===t){const i=function(e,n){return Rc(e,(e=>e===n?"quit":e===n.initializer||e===n.condition||e===n.incrementor||e===n.statement))}(e.parent,t);if(i){const e=Ra(i);e.flags|=8192,Le(e.capturedBlockScopeBindings||(e.capturedBlockScopeBindings=[]),n),i===t.initializer&&(r=!1)}}}r&&(Ra(i).flags|=4096)}if(hI(t)){const r=my(n.valueDeclaration,258);r&&r.parent===t&&function(e,n){let t=e;for(;214===t.parent.kind;)t=t.parent;let r=!1;if(jg(t))r=!0;else if(221===t.parent.kind||222===t.parent.kind){const e=t.parent;r=45===e.operator||46===e.operator}return!!r&&!!Rc(t,(e=>e===n?"quit":e===n.statement))}(e,t)&&(Ra(n.valueDeclaration).flags|=262144)}Ra(n.valueDeclaration).flags|=32768}r&&(Ra(n.valueDeclaration).flags|=16384)}(e,t);let o=function(e,n){var t;const r=bl(e),i=e.valueDeclaration;if(i){if(kk(i)&&!i.initializer&&!i.dotDotDotToken&&i.parent.elements.length>=2){const t=i.parent.parent;if(257===t.kind&&2&kc(i)||166===t.kind){const r=Ra(t);if(!(16777216&r.flags)){r.flags|=16777216;const a=_c(t,0),o=a&&LL(a,x_);if(r.flags&=-16777217,o&&1048576&o.flags&&(166!==t.kind||!XL(e))){const e=zL(i.parent,o,o,void 0,n.flowNode);return 131072&e.flags?qn:bc(i,e)}}}}if(HC(i)&&!i.type&&!i.initializer&&!i.dotDotDotToken){const r=i.parent;if(r.parameters.length>=2&&xE(r)){const a=Ak(r);if(a&&1===a.parameters.length&&QG(a)){const o=R_(hE(bl(a.parameters[0]),null==(t=mk(r))?void 0:t.nonFixingMapper));if(1048576&o.flags&&TL(o,Nx)&&!XL(e))return pv(zL(r,o,o,void 0,n.flowNode),ab(r.parameters.indexOf(i)-(jv(r)?1:0)))}}}}return r}(r,e);const s=Vg(e);if(s){if(!(3&r.flags||Ah(e)&&512&r.flags))return _a(e,384&r.flags?Vo.Cannot_assign_to_0_because_it_is_an_enum:32&r.flags?Vo.Cannot_assign_to_0_because_it_is_a_class:1536&r.flags?Vo.Cannot_assign_to_0_because_it_is_a_namespace:16&r.flags?Vo.Cannot_assign_to_0_because_it_is_a_function:2097152&r.flags?Vo.Cannot_assign_to_0_because_it_is_an_import:Vo.Cannot_assign_to_0_because_it_is_not_a_variable,Fs(t)),mn;if(xD(r))return 3&r.flags?_a(e,Vo.Cannot_assign_to_0_because_it_is_a_constant,Fs(t)):_a(e,Vo.Cannot_assign_to_0_because_it_is_a_read_only_property,Fs(t)),mn}const c=2097152&r.flags;if(3&r.flags){if(1===s)return o}else{if(!c)return o;a=Xa(t)}if(!a)return o;o=eC(o,e,n);const l=166===Wy(a).kind,d=JL(a);let u=JL(e);const _=u!==d,p=e.parent&&e.parent.parent&&Tw(e.parent)&&oL(e.parent.parent),f=134217728&t.flags;for(;u!==d&&(215===u.kind||216===u.kind||Mm(u))&&($L(r)&&o!==nr||l&&!XL(r));)u=JL(u);const m=l||c||_||p||f||function(e,n){if(kk(n)){const t=Rc(e,kk);return t&&Wy(t)===Wy(n)}}(e,a)||o!==_n&&o!==nr&&(!F||0!=(16387&o.flags)||IA(e)||wA(e)||278===e.parent.kind)||232===e.parent.kind||257===a.kind&&a.exclamationToken||16777216&a.flags,h=zL(e,o,m?l?function(e,n){const t=F&&166===n.kind&&n.initializer&&16777216&JA(e)&&!function(e){const n=Ra(e);if(void 0===n.parameterInitializerContainsUndefined){if(!nc(e,9))return ml(e.symbol),!0;const t=!!(16777216&JA(JD(e,0)));if(!sc())return ml(e.symbol),!0;n.parameterInitializerContainsUndefined=t}return n.parameterInitializerContainsUndefined}(n);return t?YA(e,524288):e}(o,a):o:o===_n||o===nr?An:Vx(o),u);if(FL(e)||o!==_n&&o!==nr){if(!m&&!lT(o)&&lT(h))return _a(e,Vo.Variable_0_is_used_before_being_assigned,Fs(t)),o}else if(h===_n||h===nr)return Y&&(_a(Wc(a),Vo.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined,Fs(t),Bs(h)),_a(e,Vo.Variable_0_implicitly_has_an_1_type,Fs(t),Bs(h))),TM(h);return s?Lx(h):h}function iC(e){return Rc(e,(e=>!e||qy(e)?"quit":fu(e,!1)))}function aC(e,n){Ra(e).flags|=2,169===n.kind||173===n.kind?Ra(n.parent).flags|=4:Ra(n).flags|=4}function sC(e){return cm(e)?e:Ad(e)?void 0:ED(e,sC)}function lC(e){return Xl(_d($o(e)))===Nn}function dC(e,n,t){const r=n.parent;dy(r)&&!lC(r)&&Cg(e)&&e.flowNode&&!WL(e.flowNode,!1)&&_a(e,t)}function uC(e){const n=IA(e);let t=Jm(e,!0,!0),r=!1,i=!1;for(173===t.kind&&dC(e,t,Vo.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class);216===t.kind&&(t=Jm(t,!1,!i),r=!0),164===t.kind;)t=Jm(t,!r,!1),i=!0;if(function(e,n){qC(n)&&_b(n)&&I&&n.initializer&&ac(n.initializer,e.pos)&&yb(n.parent)&&_a(e,Vo.Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class)}(e,t),i)_a(e,Vo.this_cannot_be_referenced_in_a_computed_property_name);else switch(t.kind){case 264:_a(e,Vo.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 263:_a(e,Vo.this_cannot_be_referenced_in_current_location);break;case 173:pC(e,t)&&_a(e,Vo.this_cannot_be_referenced_in_constructor_arguments)}!n&&r&&L<2&&aC(e,t);const a=_C(e,!0,t);if($){const n=bl(fe);if(a===n&&r)_a(e,Vo.The_containing_arrow_function_captures_the_global_value_of_this);else if(!a){const r=_a(e,Vo.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);if(!Aw(t)){const e=_C(t);e&&e!==n&&iS(r,Hf(t,Vo.An_outer_value_of_this_is_shadowed_by_this_container))}}}return a||un}function _C(e,n=!0,t=Jm(e,!1,!1)){const r=Ah(e);if(Ad(t)&&(!bC(e)||jv(t))){let n=Ep(up(t))||r&&function(e){const n=Tl(e);if(n&&320===n.kind){const e=n;if(e.parameters.length>0&&e.parameters[0].name&&"this"===e.parameters[0].name.escapedText)return Lb(e.parameters[0].type)}const t=gl(e);if(t&&t.typeExpression)return Lb(t.typeExpression)}(t);if(!n){const e=function(e){return 215===e.kind&&qk(e.parent)&&3===Yh(e.parent)?e.parent.left.expression.expression:171===e.kind&&207===e.parent.kind&&qk(e.parent.parent)&&6===Yh(e.parent.parent)?e.parent.parent.left.expression:215===e.kind&&299===e.parent.kind&&207===e.parent.parent.kind&&qk(e.parent.parent.parent)&&6===Yh(e.parent.parent.parent)?e.parent.parent.parent.left.expression:215===e.kind&&bw(e.parent)&&AC(e.parent.name)&&("value"===e.parent.name.escapedText||"get"===e.parent.name.escapedText||"set"===e.parent.name.escapedText)&&wk(e.parent.parent)&&Dk(e.parent.parent.parent)&&e.parent.parent.parent.arguments[2]===e.parent.parent&&9===Yh(e.parent.parent.parent)?e.parent.parent.parent.arguments[0].expression:JC(e)&&AC(e.name)&&("value"===e.name.escapedText||"get"===e.name.escapedText||"set"===e.name.escapedText)&&wk(e.parent)&&Dk(e.parent.parent)&&e.parent.parent.arguments[2]===e.parent&&9===Yh(e.parent.parent)?e.parent.parent.arguments[0].expression:void 0}(t);if(r&&e){const t=uO(e).symbol;t&&t.members&&16&t.flags&&(n=_d(t).thisType)}else gN(t)&&(n=_d(Yo(t.symbol)).thisType);n||(n=gC(t))}if(n)return zL(e,n)}if(Dd(t.parent)){const n=$o(t.parent);return zL(e,ub(t)?bl(n):_d(n).thisType)}if(Aw(t)){if(t.commonJsModuleIndicator){const e=$o(t);return e&&bl(e)}if(t.externalModuleIndicator)return An;if(n)return bl(fe)}}function pC(e,n){return!!Rc(e,(e=>Cd(e)?"quit":166===e.kind&&e.parent===n))}function fC(e){const n=210===e.parent.kind&&e.parent.expression===e,t=Qm(e,!0);let r=t,i=!1,a=!1;if(!n){for(;r&&216===r.kind;)db(r,512)&&(a=!0),r=Qm(r,!0),i=L<2;r&&db(r,512)&&(a=!0)}let o=0;if(!r||(s=r,!(n?173===s.kind:(Dd(s.parent)||207===s.parent.kind)&&(ub(s)?171===s.kind||170===s.kind||174===s.kind||175===s.kind||169===s.kind||172===s.kind:171===s.kind||170===s.kind||174===s.kind||175===s.kind||169===s.kind||168===s.kind||173===s.kind)))){const t=Rc(e,(e=>e===r?"quit":164===e.kind));return t&&164===t.kind?_a(e,Vo.super_cannot_be_referenced_in_a_computed_property_name):n?_a(e,Vo.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors):r&&r.parent&&(Dd(r.parent)||207===r.parent.kind)?_a(e,Vo.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class):_a(e,Vo.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions),mn}var s;if(n||173!==t.kind||dC(e,r,Vo.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class),ub(r)||n?(o=32,!n&&L>=2&&L<=8&&(qC(r)||XC(r))&&Pf(e.parent,(e=>{Aw(e)&&!tm(e)||(Ra(e).flags|=8388608)}))):o=16,Ra(e).flags|=o,171===r.kind&&a&&(nh(e.parent)&&jg(e.parent)?Ra(r).flags|=256:Ra(r).flags|=128),i&&aC(e.parent,r),207===r.parent.kind)return L<2?(_a(e,Vo.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher),mn):un;const c=r.parent;if(!dy(c))return _a(e,Vo.super_can_only_be_referenced_in_a_derived_class),mn;const l=_d($o(c)),d=l&&Ql(l)[0];return d?173===r.kind&&pC(e,r)?(_a(e,Vo.super_cannot_be_referenced_in_constructor_arguments),mn):32===o?Xl(l):$d(d,l.thisType):mn}function mC(e){return 4&qE(e)&&e.target===Zt?sf(e)[0]:void 0}function hC(e){return LL(e,(e=>2097152&e.flags?A(e.types,mC):mC(e)))}function gC(e){if(216===e.kind)return;if(xE(e)){const n=Ak(e);if(n){const e=n.thisParameter;if(e)return bl(e)}}const n=Ah(e);if($||n){const t=function(e){return 171!==e.kind&&174!==e.kind&&175!==e.kind||207!==e.parent.kind?215===e.kind&&299===e.parent.kind?e.parent.parent:void 0:e.parent}(e);if(t){const e=MC(t,void 0);let n=t,r=e;for(;r;){const e=hC(r);if(e)return hE(e,eA(mk(t)));if(299!==n.parent.kind)break;n=n.parent.parent,r=MC(n,void 0)}return ES(e?jx(e):qD(t))}const r=zg(e.parent);if(223===r.kind&&63===r.operatorToken.kind){const e=r.left;if(eT(e)){const{expression:t}=e;if(n&&AC(t)){const e=Ip(r);if(e.commonJsModuleIndicator&&kA(t)===e.symbol)return}return ES(qD(t))}}}}function yC(e){const n=e.parent;if(!xE(n))return;const t=Zm(n);if(t&&t.arguments){const r=JR(t),i=n.parameters.indexOf(e);if(e.dotDotDotToken)return FR(r,i,r.length,un,void 0,0);const a=Ra(t),o=a.resolvedSignature;a.resolvedSignature=Xr;const s=i<r.length?kx(uO(r[i])):e.initializer?void 0:Ln;return a.resolvedSignature=o,s}const r=Ak(n);if(r){const t=n.parameters.indexOf(e)-(jv(n)?1:0);return e.dotDotDotToken&&Fe(n.parameters)===e?zN(r,t):qN(r,t)}}function vC(e,n){const t=Jv(e)||(Ah(e)?QS(e):void 0);if(t)return Lb(t);switch(e.kind){case 166:return yC(e);case 205:return function(e,n){const t=e.parent.parent,r=e.propertyName||e.name,i=vC(t,n)||205!==t.kind&&t.initializer&&JD(t,e.dotDotDotToken?64:0);if(!i||Kd(r)||Bf(r))return;if(204===t.name.kind){const n=af(e.parent.elements,e);if(n<0)return;return NC(i,n)}const a=hy(r);return Fd(a)?lc(i,qd(a)):void 0}(e,n);case 169:if(ub(e))return function(e,n){const t=uu(e.parent)&&BC(e.parent,n);return t?IC(t,$o(e).escapedName):void 0}(e,n)}}function bC(e){let n=!1;for(;e.parent&&!Ad(e.parent);){if(HC(e.parent)&&(n||e.parent.initializer===e))return!0;kk(e.parent)&&e.parent.initializer===e&&(n=!0),e=e.parent}return!1}function EC(e,n){const t=!!(2&Sy(n)),r=TC(n,void 0);if(r)return nP(e,r,t)||void 0}function TC(e,n){const t=Ap(e);if(t)return t;const r=Sk(e);if(r&&!Lp(r))return Sp(r);const i=Zm(e);return i?BC(i,n):void 0}function xC(e,n){const t=JR(e).indexOf(n);return-1===t?void 0:SC(e,t)}function SC(e,n){if(lm(e))return 0===n?Dn:1===n?ym(!1):un;const t=Ra(e).resolvedSignature===$r?$r:hN(e);if(ju(e)&&0===n)return hk(t,e);const r=t.parameters.length-1;return QG(t)&&n>=r?pv(bl(t.parameters[r]),ab(n-r),256):WN(t,n)}function CC(e,n=Yh(e)){if(4===n)return!0;if(!Ah(e)||5!==n||!AC(e.left.expression))return!1;const t=e.left.expression.escapedText,r=Fa(e.left,t,111551,void 0,void 0,!0,!0);return rh(null==r?void 0:r.valueDeclaration)}function kC(e){if(!e.symbol)return cO(e.left);if(e.symbol.valueDeclaration){const n=Jv(e.symbol.valueDeclaration);if(n){const e=Lb(n);if(e)return e}}const n=Tn(e.left,eT);if(!Om(Jm(n.expression,!1,!1)))return;const t=uC(n.expression),r=ag(n);return void 0!==r&&IC(t,r)||void 0}function IC(e,n,t){return LL(e,(e=>{var r,i;if(n_(e)&&!e.declaration.nameType){const r=Pu(e),i=T_(r)||r,a=t||ib(Mc(n));if(RE(a,i))return _v(e,a)}else if(3670016&e.flags){const a=V_(e,n);if(a)return 262144&DE(i=a)&&!i.links.type&&rc(i,0)>=0?void 0:bl(a);if(Nx(e)&&FS(n)&&+n>=0){const n=Px(e,e.target.fixedLength,0,!1,!0);if(n)return n}return null==(r=W_(z_(e),t||ib(Mc(n))))?void 0:r.type}}),!0)}function wC(e,n){if(Nt.assert(Om(e)),!(33554432&e.flags))return RC(e,n)}function RC(e,n){const t=e.parent,r=bw(e)&&vC(e,n);if(r)return r;const i=MC(t,n);if(i){if(Hd(e)){const n=$o(e);return IC(i,n.escapedName,wa(n).nameType)}if(e.name){const n=hy(e.name);return LL(i,(e=>{var t;return null==(t=W_(z_(e),n))?void 0:t.type}),!0)}}}function NC(e,n){return e&&(n>=0&&IC(e,""+n)||LL(e,(e=>Nx(e)?Px(e,0,0,!1,!0):OM(1,e,An,void 0,!1)),!0))}function DC(e,n){if(_w(e)){const t=MC(e.parent,n);if(!t||dc(t))return;return IC(t,e.name.escapedText)}return BC(e.parent,n)}function OC(e){switch(e.kind){case 10:case 8:case 9:case 14:case 110:case 95:case 104:case 79:case 155:return!0;case 208:case 214:return OC(e.expression);case 291:return!e.expression||OC(e.expression)}return!1}function MC(e,n){const t=PC(Om(e)?wC(e,n):BC(e,n),e,n);if(t&&!(n&&2&n&&8650752&t.flags)){const n=LL(t,w_,!0);return 1048576&n.flags&&wk(e)?function(e,n){return function(e,n){const t=VA(e),r=t&&D(n.properties,(e=>e.symbol&&299===e.kind&&e.symbol.escapedName===t&&OC(e.initializer))),i=r&&dO(r.initializer);return i&&jA(e,i)}(n,e)||TT(n,de(W(j(e.properties,(e=>!!e.symbol&&299===e.kind&&OC(e.initializer)&&BA(n,e.symbol.escapedName))),(e=>[()=>dO(e.initializer),e.symbol.escapedName])),W(j(f_(n),(t=>{var r;return!!(16777216&t.flags)&&!!(null==(r=null==e?void 0:e.symbol)?void 0:r.members)&&!e.symbol.members.has(t.escapedName)&&BA(n,t.escapedName)})),(e=>[()=>An,e.escapedName]))),RE,n)}(e,n):1048576&n.flags&&pw(e)?function(e,n){return TT(n,de(W(j(e.properties,(e=>!!e.symbol&&288===e.kind&&BA(n,e.symbol.escapedName)&&(!e.initializer||OC(e.initializer)))),(e=>[e.initializer?()=>dO(e.initializer):()=>Bn,e.symbol.escapedName])),W(j(f_(n),(t=>{var r;return!!(16777216&t.flags)&&!!(null==(r=null==e?void 0:e.symbol)?void 0:r.members)&&!e.symbol.members.has(t.escapedName)&&BA(n,t.escapedName)})),(e=>[()=>An,e.escapedName]))),RE,n)}(e,n):n}}function PC(e,n,t){if(e&&wD(e,465829888)){const r=mk(n);if(r&&1&t&&ce(r.inferences,iO))return FC(e,r.nonFixingMapper);if(null==r?void 0:r.returnMapper){const n=FC(e,r.returnMapper);return 1048576&n.flags&&lg(n.types,Gn)&&lg(n.types,Vn)?xL(n,(e=>e!==Gn&&e!==Vn)):n}}return e}function FC(e,n){return 465829888&e.flags?hE(e,n):1048576&e.flags?Sg(W(e.types,(e=>FC(e,n))),0):2097152&e.flags?Wg(W(e.types,(e=>FC(e,n)))):e}function BC(e,n){var t,r;if(33554432&e.flags)return;const i=fk(e,!n);if(i>=0)return hi[i];const{parent:a}=e;switch(a.kind){case 257:case 166:case 169:case 168:case 205:return function(e,n){const t=e.parent;if($u(t)&&e===t.initializer){const e=vC(t,n);if(e)return e;if(!(8&n)&&Kd(t.name)&&t.name.elements.length>0)return el(t.name,!0,!1)}}(e,n);case 216:case 250:return function(e,n){const t=Hm(e);if(t){let e=TC(t,n);if(e){const n=Sy(t);if(1&n){const t=0!=(2&n);1048576&e.flags&&(e=xL(e,(e=>!!nP(1,e,t))));const r=nP(1,e,0!=(2&n));if(!r)return;e=r}if(2&n){const n=LL(e,VO);return n&&Sg([n,cD(n)])}return e}}}(e,n);case 226:return function(e,n){const t=Hm(e);if(t){const r=Sy(t);let i=TC(t,n);if(i){const n=0!=(2&r);return!e.asteriskToken&&1048576&i.flags&&(i=xL(i,(e=>!!nP(1,e,n)))),e.asteriskToken?i:nP(0,i,n)}}}(a,n);case 220:return function(e,n){const t=BC(e,n);if(t){const e=VO(t);return e&&Sg([e,cD(e)])}}(a,n);case 210:case 211:return xC(a,e);case 167:return function(e){const n=oD(e);return n?Up(n):void 0}(a);case 213:case 231:return Hl(a.type)?BC(a,n):Lb(a.type);case 223:return function(e,n){const t=e.parent,{left:r,operatorToken:i,right:a}=t;switch(i.kind){case 63:case 76:case 75:case 77:return e===a?function(e){var n,t;const r=Yh(e);switch(r){case 0:case 4:const i=function(e){if(ku(e)&&e.symbol)return e.symbol;if(AC(e))return kA(e);if(Rk(e)){const n=cO(e.expression);return LC(e.name)?function(e,n){const t=Lw(n.escapedText,n);return t&&Rw(e,t)}(n,e.name):V_(n,e.name.escapedText)}if(Nk(e)){const n=qD(e.argumentExpression);if(!Fd(n))return;return V_(cO(e.expression),qd(n))}}(e.left),a=i&&i.valueDeclaration;if(a&&(qC(a)||WC(a))){const n=Jv(a);return n&&hE(Lb(n),wa(i).mapper)||(qC(a)?a.initializer&&cO(e.left):void 0)}return 0===r?cO(e.left):kC(e);case 5:if(CC(e,r))return kC(e);if(ku(e.left)&&e.left.symbol){const n=e.left.symbol.valueDeclaration;if(!n)return;const t=Tn(e.left,eT),r=Jv(n);if(r)return Lb(r);if(AC(t.expression)){const e=t.expression,n=Fa(e,e.escapedText,111551,void 0,e.escapedText,!0);if(n){const e=n.valueDeclaration&&Jv(n.valueDeclaration);if(e){const n=ag(t);if(void 0!==n)return IC(Lb(e),n)}return}}return Ah(n)?void 0:cO(e.left)}return cO(e.left);case 1:case 6:case 3:case 2:let o;2!==r&&(o=ku(e.left)?null==(n=e.left.symbol)?void 0:n.valueDeclaration:void 0),o||(o=null==(t=e.symbol)?void 0:t.valueDeclaration);const s=o&&Jv(o);return s?Lb(s):void 0;case 7:case 8:case 9:return Nt.fail("Does not apply");default:return Nt.assertNever(r)}}(t):void 0;case 56:case 60:const i=BC(t,n);return e===a&&(i&&i.pattern||!i&&!Hh(t))?cO(r):i;case 55:case 27:return e===a?BC(t,n):void 0;default:return}}(e,n);case 299:case 300:return RC(a,n);case 301:return BC(a.parent,n);case 206:{const i=a,o=MC(i,n),s=null!=(r=(t=Ra(i)).firstSpreadIndex)?r:t.firstSpreadIndex=M(i.elements,Yk),c=af(i.elements,e);return NC(o,s<0||c<s?c:-1)}case 224:return function(e,n){const t=e.parent;return e===t.whenTrue||e===t.whenFalse?BC(t,n):void 0}(e,n);case 236:return Nt.assert(225===a.parent.kind),function(e,n){if(212===e.parent.kind)return xC(e.parent,n)}(a.parent,e);case 214:if(Ah(a)){if(YS(a))return Lb($S(a));const e=El(a);if(e&&!Hl(e.typeExpression.type))return Lb(e.typeExpression.type)}return BC(a,n);case 232:return BC(a,n);case 235:return Lb(a.type);case 274:return ol(a);case 291:return function(e,n){const t=e.parent;return Uu(t)?BC(e,n):aw(t)?function(e,n,t){const r=MC(e.openingElement.tagName,t),i=bI(mI(e));if(!r||dc(r)||!i||""===i)return;const a=nv(e.children),o=a.indexOf(n),s=IC(r,i);return s&&(1===a.length?s:LL(s,(e=>hx(e)?pv(e,ab(o)):e),!0))}(t,e,n):void 0}(a,n);case 288:case 290:return DC(a,n);case 283:case 282:return function(e,n){if(sw(e)&&4!==n){const t=fk(e.parent,!n);if(t>=0)return hi[t]}return SC(e,0)}(a,n)}}function nk(e){ck(e,BC(e,void 0),!0)}function ck(e,n,t){mi[yi]=e,hi[yi]=n,gi[yi]=t,yi++}function pk(){yi--}function fk(e,n){for(let t=yi-1;t>=0;t--)if(e===mi[t]&&(n||!gi[t]))return t;return-1}function mk(e){for(let n=Ei-1;n>=0;n--)if(Qg(e,vi[n]))return bi[n]}function hk(e,n){return 0!==jR(n)?function(e,n){let t=eD(e,xn);t=yk(n,mI(n),t);const r=cI(UG.IntrinsicAttributes,n);return uc(r)||(t=Eu(r,t)),t}(e,n):function(e,n){const t=mI(n),r=(i=t,vI(UG.ElementAttributesPropertyNameContainer,i));var i;let a=void 0===r?eD(e,xn):""===r?Sp(e):function(e,n){if(e.compositeSignatures){const t=[];for(const r of e.compositeSignatures){const e=Sp(r);if(dc(e))return e;const i=lc(e,n);if(!i)return;t.push(i)}return Wg(t)}const t=Sp(e);return dc(t)?t:lc(t,n)}(e,r);if(!a)return r&&S(n.attributes.properties)&&_a(n,Vo.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property,Mc(r)),xn;if(a=yk(n,t,a),dc(a))return a;{let t=a;const r=cI(UG.IntrinsicClassAttributes,n);if(!uc(r)){const i=Pl(r.symbol),a=Sp(e);let o;o=i?hE(r,Fb(i,dp([a],i,lp(i),Ah(n)))):r,t=Eu(o,t)}const i=cI(UG.IntrinsicAttributes,n);return uc(i)||(t=Eu(i,t)),t}}(e,n)}function yk(e,n,t){const r=(i=n)&&Da(i.exports,UG.LibraryManagedAttributes,788968);var i;if(r){const n=_d(r),i=function(e){if(tI(e.tagName))return Up(pN(e,xI(e)));const n=qD(e.tagName);if(128&n.flags){const t=TI(n,e);return t?Up(pN(e,t)):mn}return n}(e);if(524288&r.flags){const n=wa(r).typeParameters;if(S(n)>=2)return uf(r,dp([i,t],n,2,Ah(e)))}if(S(n.typeParameters)>=2)return nf(n,dp([i,t],n.typeParameters,2,Ah(e)))}return t}function Ek(e,n){const t=j(H_(e,0),(e=>!function(e,n){let t=0;for(;t<n.parameters.length;t++){const e=n.parameters[t];if(e.initializer||e.questionToken||e.dotDotDotToken||zS(e))break}return n.parameters.length&&Hv(n.parameters[0])&&t--,!YN(e)&&JN(e)<t}(e,n)));return 1===t.length?t[0]:(r=t,ax(x,"noImplicitAny")?We(r,((e,n)=>e!==n&&e?pu(e.typeParameters,n.typeParameters)?function(e,n){const t=e.typeParameters||n.typeParameters;let r;e.typeParameters&&n.typeParameters&&(r=Fb(n.typeParameters,e.typeParameters));const i=e.declaration,a=function(e,n,t){const r=JN(e),i=JN(n),a=r>=i?e:n,o=a===e?n:e,s=a===e?r:i,c=YN(e)||YN(n),l=c&&!YN(a),d=new Array(s+(l?1:0));for(let u=0;u<s;u++){let _=qN(a,u);a===n&&(_=hE(_,t));let p=qN(o,u)||xn;o===n&&(p=hE(p,t));const f=Sg([_,p]),m=c&&!l&&u===s-1,h=u>=XN(a)&&u>=XN(o),g=u>=r?void 0:UN(e,u),y=u>=i?void 0:UN(n,u),v=va(1|(h&&!m?16777216:0),(g===y?g:g?y?void 0:g:y)||`arg${u}`);v.links.type=m?dh(f):f,d[u]=v}if(l){const e=va(1,"args");e.links.type=dh(WN(o,s)),o===n&&(e.links.type=hE(e.links.type,t)),d[s]=e}return d}(e,n,r),o=function(e,n,t){return e&&n?Zx(e,Sg([bl(e),hE(bl(n),t)])):e||n}(e.thisParameter,n.thisParameter,r),s=Zd(i,t,o,a,void 0,void 0,Math.max(e.minArgumentCount,n.minArgumentCount),39&(e.flags|n.flags));return s.compositeKind=2097152,s.compositeSignatures=de(2097152===e.compositeKind&&e.compositeSignatures||[e],[n]),r&&(s.mapper=2097152===e.compositeKind&&e.mapper&&e.compositeSignatures?rE(e.mapper,r):r),s}(e,n):void 0:e)):void 0);var r}function Sk(e){return MS(e)||Om(e)?Ak(e):void 0}function Ak(e){Nt.assert(171!==e.kind||Om(e));const n=_p(e);if(n)return n;const t=MC(e,1);if(!t)return;if(!(1048576&t.flags))return Ek(t,e);let r;const i=t.types;for(const n of i){const t=Ek(n,e);if(t)if(r){if(!ex(r[0],t,!1,!0,!0,LE))return;r.push(t)}else r=[t]}return r?1===r.length?r[0]:iu(r[0],r):void 0}function Pk(e){return 205===e.kind&&!!e.initializer||223===e.kind&&63===e.operatorToken.kind}function Uk(e,n,t){const r=e.elements,i=r.length,a=[],o=[];nk(e);const s=jg(e),c=$D(e),l=MC(e,void 0),d=!!l&&EL(l,bx);let u=!1;for(let c=0;c<i;c++){const i=r[c];if(227===i.kind){L<2&&$F(i,x.downlevelIteration?1536:1024);const e=uO(i.expression,n,t);if(hx(e))a.push(e),o.push(8);else if(s){const n=Y_(e,On)||OM(65,e,An,void 0,!1)||xn;a.push(n),o.push(4)}else a.push(DM(33,e,An,i.expression)),o.push(4)}else if(te&&229===i.kind)u=!0,a.push(kn),o.push(2);else{const r=QD(i,n,t);if(a.push(Ac(r,!0,u)),o.push(u?2:1),d&&n&&2&n&&!(4&n)&&EE(i)){const n=mk(e);Nt.assert(n),VS(n,i,r)}}}return pk(),s?Mh(a,o):function(e){if(!(4&qE(e)))return e;let n=e.literalType;return n||(n=e.literalType=rf(e),n.objectFlags|=147456),n}(t||c||d?Mh(a,o,c):dh(a.length?Sg(z(a,((e,n)=>8&o[n]?yv(e,On)||un:e)),2):F?Jn:Ln,c))}function jk(e){const n=Ra(e.expression);if(!n.resolvedType){if((sk(e.parent.parent)||Dd(e.parent.parent)||NI(e.parent.parent))&&qk(e.expression)&&101===e.expression.operatorToken.kind&&174!==e.parent.kind&&175!==e.parent.kind)return n.resolvedType=mn;if(n.resolvedType=uO(e.expression),qC(e.parent)&&!_b(e.parent)&&$k(e.parent.parent)){const n=iC(Mf(e.parent.parent));n&&(Ra(n).flags|=4096,Ra(e).flags|=32768,Ra(e.parent.parent).flags|=32768)}(98304&n.resolvedType.flags||!RD(n.resolvedType,402665900)&&!RE(n.resolvedType,Zn))&&_a(e,Vo.A_computed_property_name_must_be_of_type_string_number_symbol_or_any)}return n.resolvedType}function Wk(e){var n;const t=null==(n=e.declarations)?void 0:n[0];return FS(e.escapedName)||t&&Hc(t)&&function(e){switch(e.kind){case 164:return function(e){return RD(jk(e),296)}(e);case 79:return FS(e.escapedText);case 8:case 10:return FS(e.text);default:return!1}}(t.name)}function zk(e){var n;const t=null==(n=e.declarations)?void 0:n[0];return Py(e)||t&&Hc(t)&&VC(t.name)&&RD(jk(t.name),4096)}function Jk(e,n,t,r){const i=[];for(let e=n;e<t.length;e++){const n=t[e];(r===Dn&&!zk(n)||r===On&&Wk(n)||r===Kn&&zk(n))&&i.push(bl(t[e]))}return Hp(r,i.length?Sg(i,2):An,$D(e))}function Xk(e){Nt.assert(0!=(2097152&e.flags),"Should only get Alias here.");const n=wa(e);if(!n.immediateTarget){const t=Xa(e);if(!t)return Nt.fail();n.immediateTarget=yo(t,!0)}return n.immediateTarget}function eI(e){const n=Gx(LL(e,x_));return!!(126615553&n.flags||3145728&n.flags&&N(n.types,eI))}function nI(e){return rt(e,"-")}function tI(e){return 79===e.kind&&uv(e.escapedText)}function iI(e,n){return e.initializer?QD(e.initializer,n):Bn}function aI(e,n){const t=[];for(const r of e.children)if(11===r.kind)r.containsOnlyTriviaWhiteSpaces||t.push(Dn);else{if(291===r.kind&&!r.expression)continue;t.push(QD(r,n))}return t}function oI(e,n,t){for(const r of f_(e))if(!(16777216&r.flags)){const e=n.get(r.escapedName);e&&iS(_a(e.valueDeclaration,Vo._0_is_specified_more_than_once_so_this_usage_will_be_overwritten,Mc(e.escapedName)),Hf(t,Vo.This_spread_always_overwrites_this_property))}}function cI(e,n){const t=mI(n),r=t&&qo(t),i=r&&Da(r,e,788968);return i?_d(i):mn}function uI(e){const n=Ra(e);if(!n.resolvedSymbol){const t=cI(UG.IntrinsicElements,e);if(uc(t))return Y&&_a(e,Vo.JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists,Mc(UG.IntrinsicElements)),n.resolvedSymbol=on;{if(!AC(e.tagName))return Nt.fail();const r=V_(t,e.tagName.escapedText);return r?(n.jsxFlags|=1,n.resolvedSymbol=r):Y_(t,Dn)?(n.jsxFlags|=2,n.resolvedSymbol=t.symbol):(_a(e,Vo.Property_0_does_not_exist_on_type_1,Pc(e.tagName),"JSX."+UG.IntrinsicElements),n.resolvedSymbol=on)}}return n.resolvedSymbol}function fI(e){const n=e&&Ip(e),t=n&&Ra(n);if(t&&!1===t.jsxImplicitImportContainer)return;if(t&&t.jsxImplicitImportContainer)return t.jsxImplicitImportContainer;const r=fx(px(x,n),x);if(!r)return;const i=Po(e,r,1===jT(x)?Vo.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option:Vo.Cannot_find_module_0_or_its_corresponding_type_declarations,e),a=i&&i!==on?Yo(Eo(i)):void 0;return t&&(t.jsxImplicitImportContainer=a||!1),a}function mI(e){const n=e&&Ra(e);if(n&&n.jsxNamespace)return n.jsxNamespace;if(!n||!1!==n.jsxNamespace){let t=fI(e);if(!t||t===on){const n=sa(e);t=Fa(e,n,1920,void 0,n,!1)}if(t){const e=Eo(Da(qo(Eo(t)),UG.JSX,1920));if(e&&e!==on)return n&&(n.jsxNamespace=e),e}n&&(n.jsxNamespace=!1)}const t=Eo(fm(UG.JSX,1920,void 0));return t!==on?t:void 0}function vI(e,n){const t=n&&Da(n.exports,e,788968),r=t&&_d(t),i=r&&f_(r);if(i){if(0===i.length)return"";if(1===i.length)return i[0].escapedName;i.length>1&&t.declarations&&_a(t.declarations[0],Vo.The_global_type_JSX_0_may_not_have_more_than_one_property,Mc(e))}}function bI(e){return vI(UG.ElementChildrenAttributeNameContainer,e)}function EI(e,n){if(4&e.flags)return[Xr];if(128&e.flags){const t=TI(e,n);return t?[pN(n,t)]:(_a(n,Vo.Property_0_does_not_exist_on_type_1,e.value,"JSX."+UG.IntrinsicElements),i)}const t=w_(e);let r=H_(t,1);return 0===r.length&&(r=H_(t,0)),0===r.length&&1048576&t.flags&&(r=du(W(t.types,(e=>EI(e,n))))),r}function TI(e,n){const t=cI(UG.IntrinsicElements,n);if(!uc(t)){const n=V_(t,Oc(e.value));if(n)return bl(n);return Y_(t,Dn)||void 0}return un}function xI(e){Nt.assert(tI(e.tagName));const n=Ra(e);if(!n.resolvedJsxElementAttributesType){const t=uI(e);return 1&n.jsxFlags?n.resolvedJsxElementAttributesType=bl(t)||mn:2&n.jsxFlags?n.resolvedJsxElementAttributesType=Y_(cI(UG.IntrinsicElements,e),Dn)||mn:n.resolvedJsxElementAttributesType=mn}return n.resolvedJsxElementAttributesType}function SI(e){const n=cI(UG.ElementClass,e);if(!uc(n))return n}function AI(e){return cI(UG.Element,e)}function LI(e){const n=AI(e);if(n)return Sg([n,wn])}function CI(e){const n=ju(e);var t;if(n&&function(e){(function(e){if(Rk(e)){let t=e;do{const e=n(t.name);if(e)return e;t=t.expression}while(Rk(t));const r=n(t);if(r)return r}function n(e){if(AC(e)&&-1!==Pc(e).indexOf(":"))return LG(e,Vo.JSX_property_access_expressions_cannot_include_JSX_namespace_names)}})(e.tagName),iG(e,e.typeArguments);const n=new Map;for(const t of e.attributes.properties){if(290===t.kind)continue;const{name:e,initializer:r}=t;if(n.get(e.escapedText))return LG(e,Vo.JSX_elements_cannot_have_multiple_attributes_with_the_same_name);if(n.set(e.escapedText,!0),r&&291===r.kind&&!r.expression)return LG(r,Vo.JSX_attributes_must_only_be_assigned_a_non_empty_expression)}}(e),t=e,0===(x.jsx||0)&&_a(t,Vo.Cannot_use_JSX_unless_the_jsx_flag_is_provided),void 0===AI(t)&&Y&&_a(t,Vo.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist),!fI(e)){const t=Ji&&2===x.jsx?Vo.Cannot_find_name_0:void 0,r=sa(e),i=n?e.tagName:e;let a;if(dw(e)&&"null"===r||(a=Fa(i,r,111551,t,r,!0)),a&&(a.isReferenced=67108863,!x.verbatimModuleSyntax&&2097152&a.flags&&!Lo(a)&&ko(a)),dw(e)){const n=ca(Ip(e));n&&Fa(i,n,111551,t,n,!0)}}if(n){const n=e,t=hN(n);EN(t,e),function(e,n,t){if(1===e){const e=LI(t);e&&gT(n,e,Zi,t.tagName,Vo.Its_return_type_0_is_not_a_valid_JSX_element,r)}else if(0===e){const e=SI(t);e&&gT(n,e,Zi,t.tagName,Vo.Its_instance_type_0_is_not_a_valid_JSX_element,r)}else{const e=LI(t),i=SI(t);if(!e||!i)return;gT(n,Sg([e,i]),Zi,t.tagName,Vo.Its_element_type_0_is_not_a_valid_JSX_element,r)}function r(){const e=tf(t.tagName);return kT(void 0,Vo._0_cannot_be_used_as_a_JSX_component,e)}}(jR(n),Sp(t),n)}}function FI(e,n,t){if(524288&e.flags){if(__(e,n)||Z_(e,n)||Bd(n)&&X_(e,Dn)||t&&nI(n))return!0}else if(3145728&e.flags&&jI(e))for(const r of e.types)if(FI(r,n,t))return!0;return!1}function jI(e){return!!(524288&e.flags&&!(512&qE(e))||67108864&e.flags||1048576&e.flags&&ce(e.types,jI)||2097152&e.flags&&N(e.types,jI))}function HI(e){return e.valueDeclaration?kc(e.valueDeclaration):0}function KI(e){if(8192&e.flags||4&DE(e))return!0;if(Ah(e.valueDeclaration)){const n=e.valueDeclaration.parent;return n&&qk(n)&&3===Yh(n)}}function WI(e,n,t,r,i,a=!0){return zI(e,n,t,r,i,a?163===e.kind?e.right:202===e.kind?e:205===e.kind&&e.propertyName?e.propertyName:e.name:void 0)}function zI(e,n,t,r,i,a){const o=OE(i,t);if(n){if(L<2&&ZI(i))return a&&_a(a,Vo.Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword),!1;if(256&o)return a&&_a(a,Vo.Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression,Fs(i),Bs(qT(i))),!1}if(256&o&&ZI(i)&&(th(e)||ih(e)||Lk(e.parent)&&rh(e.parent.parent))){const n=WE(Zo(i));if(n&&Rc(e,(e=>!!(YC(e)&&Gp(e.body)||qC(e))||!(!Dd(e)&&!Cd(e))&&"quit")))return a&&_a(a,Vo.Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor,Fs(i),Ny(n.name)),!1}if(!(24&o))return!0;if(8&o)return!!ZP(e,WE(Zo(i)))||(a&&_a(a,Vo.Property_0_is_private_and_only_accessible_within_class_1,Fs(i),Bs(qT(i))),!1);if(n)return!0;let s=QP(e,(e=>JT(_d($o(e)),i,t)));return!s&&(s=function(e){const n=function(e){const n=Jm(e,!1,!1);return n&&Ad(n)?jv(n):void 0}(e);let t=(null==n?void 0:n.type)&&Lb(n.type);if(t&&262144&t.flags&&(t=h_(t)),t&&7&qE(t))return Ll(t)}(e),s=s&&JT(s,i,t),32&o||!s)?(a&&_a(a,Vo.Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses,Fs(i),Bs(qT(i)||r)),!1):!!(32&o)||(262144&r.flags&&(r=r.isThisType?h_(r):T_(r)),!(!r||!Cl(r,s))||(a&&_a(a,Vo.Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2,Fs(i),Bs(s),Bs(r)),!1))}function ZI(e){return!!HT(e,(e=>!(8192&e.flags)))}function ew(e){return uw(uO(e),e)}function nw(e){return!!(50331648&JA(e))}function tw(e){return nw(e)?jx(e):e}function rw(e,n){const t=Hb(e)?jf(e):void 0;if(104!==e.kind)if(void 0!==t&&t.length<100){if(AC(e)&&"undefined"===t)return void _a(e,Vo.The_value_0_cannot_be_used_here,"undefined");_a(e,16777216&n?33554432&n?Vo._0_is_possibly_null_or_undefined:Vo._0_is_possibly_undefined:Vo._0_is_possibly_null,t)}else _a(e,16777216&n?33554432&n?Vo.Object_is_possibly_null_or_undefined:Vo.Object_is_possibly_undefined:Vo.Object_is_possibly_null);else _a(e,Vo.The_value_0_cannot_be_used_here,"null")}function cw(e,n){_a(e,16777216&n?33554432&n?Vo.Cannot_invoke_an_object_which_is_possibly_null_or_undefined:Vo.Cannot_invoke_an_object_which_is_possibly_undefined:Vo.Cannot_invoke_an_object_which_is_possibly_null)}function lw(e,n,t){if(F&&2&e.flags){if(Hb(n)){const e=jf(n);if(e.length<100)return _a(n,Vo._0_is_of_type_unknown,e),mn}return _a(n,Vo.Object_is_of_type_unknown),mn}const r=JA(e);if(50331648&r){t(n,r);const i=jx(e);return 229376&i.flags?mn:i}return e}function uw(e,n){return lw(e,n,rw)}function mw(e,n){const t=uw(e,n);if(16384&t.flags){if(Hb(n)){const e=jf(n);if(AC(n)&&"undefined"===e)return _a(n,Vo.The_value_0_cannot_be_used_here,e),t;if(e.length<100)return _a(n,Vo._0_is_possibly_undefined,e),t}_a(n,Vo.Object_is_possibly_undefined)}return t}function hw(e,n){return 32&e.flags?function(e,n){const t=uO(e.expression),r=zx(t,e.expression);return qx(Dw(e,e.expression,uw(r,e.expression),e.name,n),e,r!==t)}(e,n):Dw(e,e.expression,ew(e.expression),e.name,n)}function gw(e,n){const t=gh(e)&&Kv(e.left)?uw(uC(e.left),e.left):ew(e.left);return Dw(e,e.left,t,e.right,n)}function Sw(e){for(;214===e.parent.kind;)e=e.parent;return ru(e.parent)&&e.parent.expression===e}function Lw(e,n){for(let t=Wm(n);t;t=Wm(t)){const{symbol:n}=t,r=My(n,e),i=n.members&&n.members.get(r)||n.exports&&n.exports.get(r);if(i)return i}}function Cw(e){if(!mh(e))return;const n=Ra(e);return void 0===n.resolvedSymbol&&(n.resolvedSymbol=Lw(e.escapedText,e)),n.resolvedSymbol}function Rw(e,n){return V_(e,n.escapedName)}function Nw(e,n){return(Ic(n)||th(e)&&Nc(n))&&Jm(e,!0,!1)===Bc(n)}function Dw(e,n,t,r,i){const a=Ra(n).resolvedSymbol,o=Vg(e),s=w_(0!==o||Sw(e)?ES(t):t),c=dc(s)||s===zn;let l,d;if(LC(r)){L<99&&(0!==o&&$F(e,1048576),1!==o&&$F(e,524288));const n=Lw(r.escapedText,r);if(o&&n&&n.valueDeclaration&&JC(n.valueDeclaration)&&LG(r,Vo.Cannot_assign_to_private_method_0_Private_methods_are_not_writable,Pc(r)),c){if(n)return uc(s)?mn:s;if(!Wm(r))return LG(r,Vo.Private_identifiers_are_not_allowed_outside_class_bodies),un}if(l=n?Rw(t,n):void 0,!l&&function(e,n,t){let r;const i=f_(e);i&&A(i,(e=>{const t=e.valueDeclaration;if(t&&Hc(t)&&LC(t.name)&&t.name.escapedText===n.escapedText)return r=e,!0}));const a=ja(n);if(r){const i=Nt.checkDefined(r.valueDeclaration),o=Nt.checkDefined(Wm(i));if(null==t?void 0:t.valueDeclaration){const r=t.valueDeclaration,s=Wm(r);if(Nt.assert(!!s),Rc(s,(e=>o===e)))return iS(_a(n,Vo.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,Bs(e)),Hf(r,Vo.The_shadowing_declaration_of_0_is_defined_here,a),Hf(i,Vo.The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here,a)),!0}return _a(n,Vo.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier,a,ja(o.name||kG)),!0}return!1}(t,r,n))return mn;l&&65536&l.flags&&!(32768&l.flags)&&1!==o&&_a(e,Vo.Private_accessor_was_defined_without_a_getter)}else{if(c)return AC(n)&&a&&tC(a,e),uc(s)?mn:s;l=V_(s,r.escapedText,!1,163===e.kind)}if(AC(n)&&a&&(WT(x)||!l||!(EF(l)||8&l.flags&&302===e.parent.kind)||rx(x)&&nC(e))&&tC(a,e),l){ga(l)&&Xy(e,l)&&l.declarations&&ya(r,l.declarations,r.escapedText),function(e,n,t){const{valueDeclaration:r}=e;if(!r||Ip(n).isDeclarationFile)return;let i;const a=Pc(t);!qw(n)||function(e){return qC(e)&&!hb(e)&&e.questionToken}(r)||eT(n)&&eT(n.expression)||Oa(r,t)||JC(r)&&32&Lc(r)||!x.useDefineForClassFields&&function(e){if(!(32&e.parent.flags))return!1;let n=bl(e.parent);for(;;){if(n=n.symbol&&zw(n),!n)return!1;const t=V_(n,e.escapedName);if(t&&t.valueDeclaration)return!0}}(e)?260!==r.kind||180===n.parent.kind||16777216&r.flags||Oa(r,t)||(i=_a(t,Vo.Class_0_used_before_its_declaration,a)):i=_a(t,Vo.Property_0_is_used_before_its_initialization,a),i&&iS(i,Hf(r,Vo._0_is_declared_here,a))}(l,e,r),dR(l,e,_R(n,a)),Ra(e).resolvedSymbol=l;const t=GE(e);if(WI(e,106===n.kind,t,s,l),SD(e,l,o))return _a(r,Vo.Cannot_assign_to_0_because_it_is_a_read_only_property,Pc(r)),mn;d=Nw(e,l)?_n:t?vl(l):bl(l)}else{const n=LC(r)||0!==o&&rv(t)&&!BS(t)?void 0:Z_(s,r.escapedText);if(!n||!n.type){const n=Vw(e,t.symbol,!0);return!n&&jy(t)?un:t.symbol===fe?(fe.exports.has(r.escapedText)&&418&fe.exports.get(r.escapedText).flags?_a(r,Vo.Property_0_does_not_exist_on_type_1,Mc(r.escapedText),Bs(t)):Y&&_a(r,Vo.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature,Bs(t)),un):(r.escapedText&&!Ka(e)&&Xw(r,BS(t)?s:t,n),mn)}n.isReadonly&&(jg(e)||$g(e))&&_a(e,Vo.Index_signature_in_type_0_only_permits_reading,Bs(s)),d=x.noUncheckedIndexedAccess&&!jg(e)?Sg([n.type,Cn]):n.type,x.noPropertyAccessFromIndexSignature&&Rk(e)&&_a(r,Vo.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0,Mc(r.escapedText)),n.declaration&&268435456&kc(n.declaration)&&ya(r,[n.declaration],r.escapedText)}return jw(e,l,d,r,i)}function Vw(e,n,t){const r=Ip(e);if(r&&void 0===x.checkJs&&void 0===r.checkJsDirective&&(1===r.scriptKind||2===r.scriptKind)){const i=A(null==n?void 0:n.declarations,Ip);return!(r!==i&&i&&Na(i)||t&&n&&32&n.flags||e&&t&&Rk(e)&&108===e.expression.kind)}return!1}function jw(e,n,t,r,i){const a=Vg(e);if(1===a)return Jx(t,!!(n&&16777216&n.flags));if(n&&!(98311&n.flags)&&!(8192&n.flags&&1048576&t.flags)&&!UP(n.declarations))return t;if(t===_n)return jc(e,n);t=eC(t,e,i);let o=!1;if(F&&q&&eT(e)&&108===e.expression.kind){const t=n&&n.valueDeclaration;if(t&&bP(t)&&!ub(t)){const n=JL(e);173!==n.kind||n.parent!==t.parent||16777216&t.flags||(o=!0)}}else F&&n&&n.valueDeclaration&&Rk(n.valueDeclaration)&&og(n.valueDeclaration)&&JL(e)===JL(n.valueDeclaration)&&(o=!0);const s=zL(e,t,o?Vx(t):t);return o&&!lT(t)&&lT(s)?(_a(r,Vo.Property_0_is_used_before_being_assigned,Fs(n)),t):a?Lx(s):s}function qw(e){return!!Rc(e,(e=>{switch(e.kind){case 169:return!0;case 299:case 171:case 174:case 175:case 301:case 164:case 236:case 291:case 288:case 289:case 290:case 283:case 230:case 294:return!1;case 216:case 241:return!(!lI(e.parent)||!XC(e.parent.parent))||"quit";default:return!mh(e)&&"quit"}}))}function zw(e){const n=Ql(e);if(0!==n.length)return Wg(n)}function Xw(e,n,t){let r,i;if(!LC(e)&&1048576&n.flags&&!(134348796&n.flags))for(const t of n.types)if(!V_(t,e.escapedText)&&!Z_(t,e.escapedText)){r=kT(r,Vo.Property_0_does_not_exist_on_type_1,Ff(e),Bs(t));break}if(Yw(e.escapedText,n)){const t=Ff(e),i=Bs(n);r=kT(r,Vo.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,t,i,i+"."+t)}else{const a=OO(n);if(a&&V_(a,e.escapedText))r=kT(r,Vo.Property_0_does_not_exist_on_type_1,Ff(e),Bs(n)),i=Hf(e,Vo.Did_you_forget_to_use_await);else{const a=Ff(e),o=Bs(n),s=function(e,n){const t=w_(n).symbol;if(!t)return;const r=Gc(t),i=cf().get(r);if(i)for(const[n,t]of i)if(G(t,e))return n}(a,n);if(void 0!==s)r=kT(r,Vo.Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2_or_later,a,o,s);else{const s=Qw(e,n);if(void 0!==s){const e=Gc(s);r=kT(r,t?Vo.Property_0_may_not_exist_on_type_1_Did_you_mean_2:Vo.Property_0_does_not_exist_on_type_1_Did_you_mean_2,a,o,e),i=s.valueDeclaration&&Hf(s.valueDeclaration,Vo._0_is_declared_here,e)}else{const e=function(e){return x.lib&&!x.lib.includes("dom")&&(t=e=>e.symbol&&/^(EventTarget|Node|((HTML[a-zA-Z]*)?Element))$/.test(Mc(e.symbol.escapedName)),3145728&(n=e).flags?N(n.types,t):t(n))&&sT(e);var n,t}(n)?Vo.Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom:Vo.Property_0_does_not_exist_on_type_1;r=kT(U_(r,n),e,a,o)}}}}const a=qf(Ip(e),e,r);i&&iS(a,i),pa(!t||r.code!==Vo.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,a)}function Yw(e,n){const t=n.symbol&&V_(bl(n.symbol),e);return void 0!==t&&!!t.valueDeclaration&&ub(t.valueDeclaration)}function $w(e,n){return oR(e,f_(n),106500)}function Qw(e,n){let t=f_(n);if("string"!=typeof e){const r=e.parent;Rk(r)&&(t=j(t,(e=>fR(r,n,e)))),e=Pc(e)}return oR(e,t,111551)}function Zw(e,n){const t=vn(e)?e:Pc(e),r=f_(n),i="for"===t?D(r,(e=>"htmlFor"===Gc(e))):"class"===t?D(r,(e=>"className"===Gc(e))):void 0;return null!=i?i:oR(t,r,111551)}function nR(e,n){const t=Qw(e,n);return t&&Gc(t)}function tR(e,n,t){return Nt.assert(void 0!==n,"outername should always be defined"),Ga(e,n,t,void 0,n,!1,!1,!0,((e,t,r)=>{Nt.assertEqual(n,t,"name should equal outerName");const i=Da(e,t,r);if(i)return i;let a;return a=e===le?ee(["string","number","boolean","object","bigint","symbol"],(n=>e.has(n.charAt(0).toUpperCase()+n.slice(1))?va(524288,n):void 0)).concat(Qe(e.values())):Qe(e.values()),oR(Mc(t),a,r)}))}function rR(e,n){return n.exports&&oR(Pc(e),Ho(n),2623475)}function oR(e,n,t){return Qn(e,n,(function(e){const n=Gc(e);if(!pt(n,'"')){if(e.flags&t)return n;if(2097152&e.flags){const r=function(e){if(wa(e).aliasTarget!==sn)return To(e)}(e);if(r&&r.flags&t)return n}}}))}function dR(e,n,t){const r=e&&106500&e.flags&&e.valueDeclaration;if(!r)return;const i=lb(r,8),a=e.valueDeclaration&&Hc(e.valueDeclaration)&&LC(e.valueDeclaration.name);if((i||a)&&(!n||!FE(n)||65536&e.flags)){if(t){const t=Rc(n,Cd);if(t&&t.symbol===e)return}(1&DE(e)?wa(e).target:e).isReferenced=67108863}}function _R(e,n){return 108===e.kind||!!n&&Hb(e)&&n===kA(Kb(e))}function fR(e,n,t){return hR(e,208===e.kind&&106===e.expression.kind,!1,n,t)}function mR(e,n,t,r){if(dc(r))return!0;const i=V_(r,t);return!!i&&hR(e,n,!1,r,i)}function hR(e,n,t,r,i){if(dc(r))return!0;if(i.valueDeclaration&&hd(i.valueDeclaration)){const n=Wm(i.valueDeclaration);return!Gl(e)&&!!Rc(e,(e=>e===n))}return zI(e,n,t,r,i)}function gR(e){const n=e.initializer;if(258===n.kind){const e=n.declarations[0];if(e&&!Kd(e.name))return $o(e)}else if(79===n.kind)return kA(n)}function yR(e,n,t){const r=0!==Vg(e)||Sw(e)?ES(n):n,i=e.argumentExpression,a=uO(i);if(uc(r)||r===zn)return r;if(OD(r)&&!t_(i))return _a(i,Vo.A_const_enum_member_can_only_be_accessed_using_a_string_literal),mn;const o=function(e){const n=Yg(e);if(79===n.kind){const r=kA(n);if(3&r.flags){let n=e,i=e.parent;for(;i;){if(246===i.kind&&n===i.statement&&gR(i)===r&&1===J_(t=cO(i.expression)).length&&X_(t,On))return!0;n=i,i=i.parent}}}var t;return!1}(i)?On:a,s=yv(r,o,jg(e)?4|(rv(r)&&!BS(r)?2:0):32,e)||mn;return kO(jw(e,Ra(e).resolvedSymbol,s,i,t),e)}function bR(e){return ru(e)||Mk(e)||ju(e)}function ER(e){return bR(e)&&A(e.typeArguments,VP),212===e.kind?uO(e.template):ju(e)?uO(e.attributes):167!==e.kind&&A(e.arguments,(e=>{uO(e)})),Xr}function TR(e){return ER(e),Yr}function xR(e){return!!e&&(227===e.kind||234===e.kind&&e.isSpread)}function SR(e){return M(e,xR)}function AR(e){return!!(16384&e.flags)}function LR(e){return!!(49155&e.flags)}function CR(e,n,t,r=!1){let i,a=!1,o=JN(t),s=XN(t);if(212===e.kind)if(i=n.length,225===e.template.kind){const n=Ge(e.template.templateSpans);a=Fp(n.literal)||!!n.literal.isUnterminated}else{const n=e.template;Nt.assert(14===n.kind),a=!!n.isUnterminated}else if(167===e.kind)i=XR(e,t);else if(ju(e)){if(a=e.attributes.end===e.end,a)return!0;i=0===s?n.length:1,o=0===n.length?o:1,s=Math.min(s,1)}else{if(!e.arguments)return Nt.assert(211===e.kind),0===XN(t);{i=r?n.length+1:n.length,a=e.arguments.end===e.end;const o=SR(n);if(o>=0)return o>=XN(t)&&(YN(t)||o<JN(t))}}if(!YN(t)&&i>o)return!1;if(a||i>=s)return!0;for(let n=i;n<s;n++)if(131072&xL(WN(t,n),Ah(e)&&!F?LR:AR).flags)return!1;return!0}function kR(e,n){const t=S(e.typeParameters),r=lp(e.typeParameters);return!ce(n)||n.length>=r&&n.length<=t}function IR(e){return RR(e,0,!1)}function wR(e){return RR(e,0,!1)||RR(e,1,!1)}function RR(e,n,t){if(524288&e.flags){const r=d_(e);if(t||0===r.properties.length&&0===r.indexInfos.length){if(0===n&&1===r.callSignatures.length&&0===r.constructSignatures.length)return r.callSignatures[0];if(1===n&&1===r.constructSignatures.length&&0===r.callSignatures.length)return r.constructSignatures[0]}}}function NR(e,n,t,r){const i=DS(e.typeParameters,e,0,r),a=$N(n),o=t&&(a&&262144&a.flags?t.nonFixingMapper:t.mapper);return IS(o?sE(n,o):n,e,((e,n)=>{vA(i.inferences,e,n)})),t||wS(n,e,((e,n)=>{vA(i.inferences,e,n,128)})),Dp(e,LA(i),Ah(n.declaration))}function DR(e){if(!e)return Wn;const n=uO(e);return Bl(e.parent)?jx(n):Gl(e.parent)?Kx(n):n}function OR(e,n,t,r,i){if(ju(e))return function(e,n,t,r){const i=hk(n,e),a=WD(e.attributes,i,r,t);return vA(r.inferences,a,i),LA(r)}(e,n,r,i);if(167!==e.kind){const t=N(n.typeParameters,(e=>!!C_(e))),r=BC(e,t?8:0);if(r){const a=Sp(n);if(nA(a)){const o=mk(e);if(t||BC(e,8)===r){const e=eA(function(e,n=0){return e&&PS(W(e.inferences,ZS),e.signature,e.flags|n,e.compareTypes)}(o,1)),n=hE(r,e),t=IR(n),s=t&&t.typeParameters?Up(Op(t,t.typeParameters)):n;vA(i.inferences,s,a,128)}const s=DS(n.typeParameters,n,i.flags),c=hE(r,o&&o.returnMapper);vA(s.inferences,c,a),i.returnMapper=ce(s.inferences,rO)?eA(function(e){const n=j(e.inferences,rO);return n.length?PS(W(n,ZS),e.signature,e.flags,e.compareTypes):void 0}(s)):void 0}}}const a=QN(n),o=a?Math.min(JN(n)-1,t.length):t.length;if(a&&262144&a.flags){const e=D(i.inferences,(e=>e.typeParameter===a));e&&(e.impliedArity=M(t,xR,o)<0?t.length-o:void 0)}const s=Ep(n);if(s&&nA(s)){const n=qR(e);vA(i.inferences,DR(n),s)}for(let e=0;e<o;e++){const a=t[e];if(229!==a.kind&&!(32&r&&dA(a))){const t=WN(n,e);if(nA(t)){const e=WD(a,t,i,r);vA(i.inferences,e,t)}}}if(a&&nA(a)){const e=FR(t,o,t.length,a,i,r);vA(i.inferences,e,a)}return LA(i)}function MR(e){return 1048576&e.flags?LL(e,MR):1&e.flags||ux(T_(e)||e)?e:Nx(e)?Mh(sf(e),e.target.elementFlags,!1,e.target.labeledElementDeclarations):Mh([e],[8])}function FR(e,n,t,r,i,a){if(n>=t-1){const n=e[t-1];if(xR(n))return MR(234===n.kind?n.type:WD(n.expression,r,i,a))}const o=[],s=[],c=[],l=g_(r);for(let d=n;d<t;d++){const t=e[d];if(xR(t)){const e=234===t.kind?t.type:uO(t.expression);hx(e)?(o.push(e),s.push(8)):(o.push(DM(33,e,An,227===t.kind?t.expression:t)),s.push(4))}else{const e=pv(r,ab(d-n),256),c=WD(t,e,i,a),u=l||wD(e,406978556);o.push(u?tb(c):kx(c)),s.push(1)}234===t.kind&&t.tupleNameSource&&c.push(t.tupleNameSource)}return Mh(o,s,l,S(c)===S(o)?c:void 0)}function GR(e,n,t,r){const i=Ah(e.declaration),a=e.typeParameters,o=dp(W(n,Lb),a,lp(a),i);let s;for(let e=0;e<n.length;e++){Nt.assert(void 0!==a[e],"Should not call checkTypeArguments with too many type arguments");const i=h_(a[e]);if(i){const c=t&&r?()=>kT(void 0,Vo.Type_0_does_not_satisfy_the_constraint_1):void 0,l=r||Vo.Type_0_does_not_satisfy_the_constraint_1;s||(s=Fb(a,o));const d=o[e];if(!UE(d,$d(hE(i,s),d),t?n[e]:void 0,l,c))return}}return o}function jR(e){if(tI(e.tagName))return 2;const n=w_(uO(e.tagName));return S(H_(n,1))?0:S(H_(n,0))?1:2}function WR(e,n,t,r,a,o,s){const c={errors:void 0,skipLogging:!0};if(ju(e))return function(e,n,t,r,i,a,o){const s=hk(n,e),c=WD(e.attributes,s,void 0,r);return function(){var n;if(fI(e))return!0;const t=sw(e)||ow(e)&&!tI(e.tagName)?uO(e.tagName):void 0;if(!t)return!0;const r=H_(t,0);if(!S(r))return!0;const a=zF(e);if(!a)return!0;const s=No(a,111551,!0,!1,e);if(!s)return!0;const c=H_(bl(s),0);if(!S(c))return!0;let l=!1,d=0;for(const e of c){const n=H_(WN(e,0),0);if(S(n))for(const e of n){if(l=!0,YN(e))return!0;const n=JN(e);n>d&&(d=n)}}if(!l)return!0;let u=1/0;for(const e of r){const n=XN(e);n<u&&(u=n)}if(u<=d)return!0;if(i){const t=Hf(e.tagName,Vo.Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3,jf(e.tagName),u,jf(a),d),r=null==(n=rF(e.tagName))?void 0:n.valueDeclaration;r&&iS(t,Hf(r,Vo._0_is_declared_here,jf(e.tagName))),o&&o.skipLogging&&(o.errors||(o.errors=[])).push(t),o.skipLogging||Ji.add(t)}return!1}()&&jE(c,s,t,i?e.tagName:void 0,e.attributes,void 0,a,o)}(e,t,r,a,o,s,c)?void 0:(Nt.assert(!o||!!c.errors,"jsx should have errors when reporting errors"),c.errors||i);const l=Ep(t);if(l&&l!==Wn&&!(Ok(e)||Dk(e)&&nh(e.expression))){const n=qR(e),t=DR(n),a=o?n||e:void 0,d=Vo.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1;if(!gT(t,l,r,a,d,s,c))return Nt.assert(!o||!!c.errors,"this parameter should have errors when reporting errors"),c.errors||i}const d=Vo.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1,u=QN(t),_=u?Math.min(JN(t)-1,n.length):n.length;for(let e=0;e<_;e++){const l=n[e];if(229!==l.kind){const n=WN(t,e),u=WD(l,n,void 0,a),_=4&a?tS(u):u;if(!jE(_,n,r,o?l:void 0,l,d,s,c))return Nt.assert(!o||!!c.errors,"parameter should have errors when reporting errors"),p(l,_,n),c.errors||i}}if(u){const t=FR(n,_,n.length,u,void 0,a),s=n.length-_,l=o?0===s?e:1===s?n[_]:bS(zR(e,t),n[_].pos,n[n.length-1].end):void 0;if(!gT(t,u,r,l,d,void 0,c))return Nt.assert(!o||!!c.errors,"rest parameter should have errors when reporting errors"),p(l,t,u),c.errors||i}return;function p(e,n,t){if(e&&o&&c.errors&&c.errors.length){if(DO(t))return;const i=DO(n);i&&pT(i,t,r)&&iS(c.errors[0],Hf(e,Vo.Did_you_forget_to_use_await))}}}function qR(e){const n=210===e.kind?e.expression:212===e.kind?e.tag:void 0;if(n){const e=HR(n);if(eT(e))return e.expression}}function zR(e,n,t,r){const i=KN.createSyntheticExpression(n,t,r);return MN(i,e),xS(i,e),i}function JR(e){if(212===e.kind){const n=e.template,t=[zR(n,Tr||(Tr=mm("TemplateStringsArray",0,!0)||bt))];return 225===n.kind&&A(n.templateSpans,(e=>{t.push(e.expression)})),t}if(167===e.kind)return function(e){const n=e.expression,t=oD(e);if(t){const e=[];for(const r of t.parameters){const t=bl(r);e.push(zR(n,t))}return e}return Nt.fail()}(e);if(ju(e))return e.attributes.properties.length>0||sw(e)&&e.parent.children.length>0?[e.attributes]:i;const n=e.arguments||i,t=SR(n);if(t>=0){const e=n.slice(0,t);for(let r=t;r<n.length;r++){const t=n[r],i=227===t.kind&&(ui?uO(t.expression):qD(t.expression));i&&Nx(i)?A(sf(i),((n,r)=>{var a;const o=i.target.elementFlags[r],s=zR(t,4&o?dh(n):n,!!(12&o),null==(a=i.target.labeledElementDeclarations)?void 0:a[r]);e.push(s)})):e.push(t)}return e}return n}function XR(e,n){return x.experimentalDecorators?function(e,n){switch(e.parent.kind){case 260:case 228:return 1;case 169:return hb(e.parent)?3:2;case 171:case 174:case 175:return 0===L||n.parameters.length<=2?2:3;case 166:return 3;default:return Nt.fail()}}(e,n):2}function YR(e,n){let t,r;const i=Ip(e);if(Rk(e.expression)){const a=nm(i,e.expression.name);t=a.start,r=n?a.length:e.end-t}else{const a=nm(i,e.expression);t=a.start,r=n?a.length:e.end-t}return{start:t,length:r,sourceFile:i}}function $R(e,n,t,r,i,a){if(Dk(e)){const{sourceFile:o,start:s,length:c}=YR(e);return"message"in n?ST(o,s,c,n,t,r,i,a):Yf(o,n)}return"message"in n?Hf(e,n,t,r,i,a):qf(Ip(e),e,n)}function QR(e,n,t,r){var i;const a=SR(t);if(a>-1)return Hf(t[a],Vo.A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter);let o,s=Number.POSITIVE_INFINITY,c=Number.NEGATIVE_INFINITY,l=Number.NEGATIVE_INFINITY,d=Number.POSITIVE_INFINITY;for(const e of n){const n=XN(e),r=JN(e);n<s&&(s=n,o=e),c=Math.max(c,r),n<t.length&&n>l&&(l=n),t.length<r&&r<d&&(d=r)}const u=ce(n,YN),_=u?s:s<c?s+"-"+c:s,p=!u&&1===_&&0===t.length&&function(e){if(!Dk(e)||!AC(e.expression))return!1;const n=Fa(e.expression,e.expression.escapedText,111551,void 0,void 0,!1),t=null==n?void 0:n.valueDeclaration;if(!(t&&HC(t)&&MS(t.parent)&&Ok(t.parent.parent)&&AC(t.parent.parent.expression)))return!1;const r=Bm(!1);return!!r&&rF(t.parent.parent.expression,!0)===r}(e);if(p&&Ah(e))return $R(e,Vo.Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments);const f=KC(e)?u?Vo.The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0:Vo.The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0:u?Vo.Expected_at_least_0_arguments_but_got_1:p?Vo.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise:Vo.Expected_0_arguments_but_got_1;if(s<t.length&&t.length<c){if(r){let n=kT(void 0,Vo.No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments,t.length,l,d);return n=kT(n,r),$R(e,n)}return $R(e,Vo.No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments,t.length,l,d)}if(t.length<s){let n;if(r){let i=kT(void 0,f,_,t.length);i=kT(i,r),n=$R(e,i)}else n=$R(e,f,_,t.length);const a=null==(i=null==o?void 0:o.declaration)?void 0:i.parameters[o.thisParameter?t.length+1:t.length];return a?iS(n,Hf(a,Kd(a.name)?Vo.An_argument_matching_this_binding_pattern_was_not_provided:a_(a)?Vo.Arguments_for_the_rest_parameter_0_were_not_provided:Vo.An_argument_for_0_was_not_provided,a.name?Kd(a.name)?void 0:Pc(Kb(a.name)):t.length)):n}{const n=pA.createNodeArray(t.slice(c)),i=Me(n).pos;let a=Ge(n).end;if(a===i&&a++,bS(n,i,a),r){let i=kT(void 0,f,_,t.length);return i=kT(i,r),zf(Ip(e),n,i)}return Kf(Ip(e),n,f,_,t.length)}}function ZR(e,n,t,r,a,o){const s=212===e.kind,c=167===e.kind,l=ju(e),d=!b&&!t;let u;c||cm(e)||(u=e.typeArguments,(s||l||106!==e.expression.kind)&&A(u,VP));const _=t||[];if(function(e,n,t){let r,i,a,o,s=0,c=-1;Nt.assert(!n.length);for(const l of e){const e=l.declaration&&$o(l.declaration),d=l.declaration&&l.declaration.parent;i&&e!==i?(a=s=n.length,r=d):r&&d===r?a+=1:(r=d,a=s),i=e,ZG(l)?(c++,o=c,s++):o=a,n.splice(o,0,t?ou(l,t):l)}}(n,_,a),!_.length)return d&&Ji.add($R(e,Vo.Call_target_does_not_contain_any_signatures)),TR(e);const p=JR(e),f=1===_.length&&!_[0].typeParameters;let m,h,g,y,v=c||f||!ce(p,EE)?0:4;v|=32&r;const E=!!(16&r)&&210===e.kind&&e.arguments.hasTrailingComma;if(_.length>1&&(y=x(_,$i,f,E)),y||(y=x(_,Zi,f,E)),y)return y;if(y=function(e,n,t,r,i){return Nt.assert(n.length>0),KP(e),r||1===n.length||n.some((e=>!!e.typeParameters))?function(e,n,t,r){const i=function(e,n){let t=-1,r=-1;for(let i=0;i<e.length;i++){const a=e[i],o=JN(a);if(YN(a)||o>=n)return i;o>r&&(r=o,t=i)}return t}(n,void 0===me?t.length:me),a=n[i],{typeParameters:o}=a;if(!o)return a;const s=bR(e)?e.typeArguments:void 0,c=s?Mp(a,function(e,n,t){const r=e.map(iF);for(;r.length>n.length;)r.pop();for(;r.length<n.length;)r.push(C_(n[r.length])||h_(n[r.length])||AA(t));return r}(s,o,Ah(e))):function(e,n,t,r,i){return Mp(t,OR(e,t,r,12|i,DS(n,t,Ah(e)?2:0)))}(e,o,a,t,r);return n[i]=c,c}(e,n,t,i):function(e){const n=ee(e,(e=>e.thisParameter));let t;n.length&&(t=nN(n,n.map(GN)));const{min:r,max:i}=aS(e,eN),a=[];for(let n=0;n<i;n++){const t=ee(e,(e=>QG(e)?n<e.parameters.length-1?e.parameters[n]:Ge(e.parameters):n<e.parameters.length?e.parameters[n]:void 0));Nt.assert(0!==t.length),a.push(nN(t,ee(e,(e=>qN(e,n)))))}const o=ee(e,(e=>QG(e)?Ge(e.parameters):void 0));let s=0;if(0!==o.length){const n=dh(Sg(ee(e,Cp),2));a.push(tN(o,n)),s|=1}return e.some(ZG)&&(s|=2),Zd(e[0].declaration,void 0,t,a,Wg(e.map(Sp)),void 0,r,s)}(n)}(e,_,p,!!t,r),Ra(e).resolvedSignature=y,d)if(m)if(1===m.length||m.length>3){const n=m[m.length-1];let t;m.length>3&&(t=kT(t,Vo.The_last_overload_gave_the_following_error),t=kT(t,Vo.No_overload_matches_this_call)),o&&(t=kT(t,o));const r=WR(e,p,n,Zi,0,!0,(()=>t));if(r)for(const e of r)n.declaration&&m.length>3&&iS(e,Hf(n.declaration,Vo.The_last_overload_is_declared_here)),T(n,e),Ji.add(e);else Nt.fail("No error for last overload signature")}else{const n=[];let t=0,r=Number.MAX_VALUE,i=0,a=0;for(const o of m){const s=WR(e,p,o,Zi,0,!0,(()=>kT(void 0,Vo.Overload_0_of_1_2_gave_the_following_error,a+1,_.length,Gs(o))));s?(s.length<=r&&(r=s.length,i=a),t=Math.max(t,s.length),n.push(s)):Nt.fail("No error for 3 or fewer overload signatures"),a++}const s=t>1?n[i]:J(n);Nt.assert(s.length>0,"No errors reported for 3 or fewer overload signatures");let c=kT(W(s,$f),Vo.No_overload_matches_this_call);o&&(c=kT(c,o));const l=[...X(s,(e=>e.relatedInformation))];let d;if(N(s,(e=>e.start===s[0].start&&e.length===s[0].length&&e.file===s[0].file))){const{file:e,start:n,length:t}=s[0];d={file:e,start:n,length:t,code:c.code,category:c.category,messageText:c,relatedInformation:l}}else d=qf(Ip(e),e,c,l);T(m[0],d),Ji.add(d)}else if(h)Ji.add(QR(e,[h],p,o));else if(g)GR(g,e.typeArguments,!0,o);else{const t=j(n,(e=>kR(e,u)));0===t.length?Ji.add(function(e,n,t,r){const i=t.length;if(1===n.length){const a=n[0],o=lp(a.typeParameters),s=S(a.typeParameters);if(r){let n=kT(void 0,Vo.Expected_0_type_arguments_but_got_1,o<s?o+"-"+s:o,i);return n=kT(n,r),zf(Ip(e),t,n)}return Kf(Ip(e),t,Vo.Expected_0_type_arguments_but_got_1,o<s?o+"-"+s:o,i)}let a=-1/0,o=1/0;for(const e of n){const n=lp(e.typeParameters),t=S(e.typeParameters);n>i?o=Math.min(o,n):t<i&&(a=Math.max(a,t))}if(a!==-1/0&&o!==1/0){if(r){let n=kT(void 0,Vo.No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments,i,a,o);return n=kT(n,r),zf(Ip(e),t,n)}return Kf(Ip(e),t,Vo.No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments,i,a,o)}if(r){let n=kT(void 0,Vo.Expected_0_type_arguments_but_got_1,a===-1/0?o:a,i);return n=kT(n,r),zf(Ip(e),t,n)}return Kf(Ip(e),t,Vo.Expected_0_type_arguments_but_got_1,a===-1/0?o:a,i)}(e,n,u,o)):Ji.add(QR(e,t,p,o))}return y;function T(e,n){var t,r;const a=m,o=h,s=g,c=(null==(r=null==(t=e.declaration)?void 0:t.symbol)?void 0:r.declarations)||i,l=c.length>1?D(c,(e=>Cd(e)&&Gp(e.body))):void 0;if(l){const e=up(l),t=!e.typeParameters;x([e],Zi,t)&&iS(n,Hf(l,Vo.The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible))}m=a,h=o,g=s}function x(n,t,i,a=!1){if(m=void 0,h=void 0,g=void 0,i){const r=n[0];if(ce(u)||!CR(e,p,r,a))return;return WR(e,p,r,t,0,!1,void 0)?void(m=[r]):r}for(let i=0;i<n.length;i++){const o=n[i];if(!kR(o,u)||!CR(e,p,o,a))continue;let s,c;if(o.typeParameters){let n;if(ce(u)){if(n=GR(o,u,!1),!n){g=o;continue}}else c=DS(o.typeParameters,o,Ah(e)?2:0),n=OR(e,o,p,8|v,c),v|=4&c.flags?8:0;if(s=Dp(o,n,Ah(o.declaration),c&&c.inferredTypeParameters),QN(o)&&!CR(e,p,s,a)){h=s;continue}}else s=o;if(!WR(e,p,s,t,v,!1,void 0)){if(v){if(v=32&r,c&&(s=Dp(o,OR(e,o,p,v,c),Ah(o.declaration),c.inferredTypeParameters),QN(o)&&!CR(e,p,s,a))){h=s;continue}if(WR(e,p,s,t,v,!1,void 0)){(m||(m=[])).push(s);continue}}return n[i]=s,s}(m||(m=[])).push(s)}}}function eN(e){const n=e.parameters.length;return QG(e)?n-1:n}function nN(e,n){return tN(e,Sg(n,2))}function tN(e,n){return Zx(Me(e),n)}function rN(e){return!(!e.typeParameters||!MF(Sp(e)))}function iN(e,n,t,r){return dc(e)||dc(n)&&!!(262144&e.flags)||!t&&!r&&!(1048576&n.flags)&&!(131072&P_(n).flags)&&RE(e,Kt)}function aN(e,n,t){if(e.arguments&&L<1){const n=SR(e.arguments);n>=0&&_a(e.arguments[n],Vo.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher)}let r=ew(e.expression);if(r===zn)return Qr;if(r=w_(r),uc(r))return TR(e);if(dc(r))return e.typeArguments&&_a(e,Vo.Untyped_function_calls_may_not_accept_type_arguments),ER(e);const i=H_(r,1);if(i.length){if(!function(e,n){if(!n||!n.declaration)return!0;const t=n.declaration,r=vb(t,24);if(!r||173!==t.kind)return!0;const i=WE(t.parent.symbol),a=_d(t.parent.symbol);if(!ZP(e,i)){const n=Wm(e);if(n&&16&r){const e=iF(n);if(sN(t.parent.symbol,e))return!0}return 8&r&&_a(e,Vo.Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration,Bs(a)),16&r&&_a(e,Vo.Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration,Bs(a)),!1}return!0}(e,i[0]))return TR(e);if(oN(i,(e=>!!(4&e.flags))))return _a(e,Vo.Cannot_create_an_instance_of_an_abstract_class),TR(e);const a=r.symbol&&WE(r.symbol);return a&&db(a,256)?(_a(e,Vo.Cannot_create_an_instance_of_an_abstract_class),TR(e)):ZR(e,i,n,t,0)}const a=H_(r,0);if(a.length){const r=ZR(e,a,n,t,0);return Y||(r.declaration&&!gN(r.declaration)&&Sp(r)!==Wn&&_a(e,Vo.Only_a_void_function_can_be_called_with_the_new_keyword),Ep(r)===Wn&&_a(e,Vo.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void)),r}return lN(e.expression,r,1),TR(e)}function oN(e,n){return gn(e)?ce(e,(e=>oN(e,n))):1048576===e.compositeKind?ce(e.compositeSignatures,n):n(e)}function sN(e,n){const t=Ql(n);if(!S(t))return!1;const r=t[0];if(2097152&r.flags){const n=Tu(r.types);let t=0;for(const i of r.types){if(!n[t]&&3&qE(i)){if(i.symbol===e)return!0;if(sN(e,i))return!0}t++}return!1}return r.symbol===e||sN(e,r)}function cN(e,n,t){let r;const i=0===t,a=UO(n),o=a&&H_(a,t).length>0;if(1048576&n.flags){const e=n.types;let a=!1;for(const o of e)if(0!==H_(o,t).length){if(a=!0,r)break}else if(r||(r=kT(r,i?Vo.Type_0_has_no_call_signatures:Vo.Type_0_has_no_construct_signatures,Bs(o)),r=kT(r,i?Vo.Not_all_constituents_of_type_0_are_callable:Vo.Not_all_constituents_of_type_0_are_constructable,Bs(n))),a)break;a||(r=kT(void 0,i?Vo.No_constituent_of_type_0_is_callable:Vo.No_constituent_of_type_0_is_constructable,Bs(n))),r||(r=kT(r,i?Vo.Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:Vo.Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other,Bs(n)))}else r=kT(r,i?Vo.Type_0_has_no_call_signatures:Vo.Type_0_has_no_construct_signatures,Bs(n));let s=i?Vo.This_expression_is_not_callable:Vo.This_expression_is_not_constructable;if(Dk(e.parent)&&0===e.parent.arguments.length){const{resolvedSymbol:n}=Ra(e);n&&32768&n.flags&&(s=Vo.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without)}return{messageChain:kT(r,s),relatedMessage:o?Vo.Did_you_forget_to_use_await:void 0}}function lN(e,n,t,r){const{messageChain:i,relatedMessage:a}=cN(e,n,t),o=qf(Ip(e),e,i);if(a&&iS(o,Hf(e,a)),Dk(e.parent)){const{start:n,length:t}=YR(e.parent,!0);o.start=n,o.length=t}Ji.add(o),_N(n,t,r?iS(o,r):o)}function _N(e,n,t){if(!e.symbol)return;const r=wa(e.symbol).originatingImport;if(r&&!lm(r)){const i=H_(bl(wa(e.symbol).target),n);if(!i||!i.length)return;iS(t,Hf(r,Vo.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 pN(e,n){const t=mI(e),r=t&&qo(t),i=r&&Da(r,UG.Element,788968),a=i&&se.symbolToEntityName(i,788968,e),o=pA.createFunctionTypeNode(void 0,[pA.createParameterDeclaration(void 0,void 0,"props",void 0,se.typeToTypeNode(n,e))],a?pA.createTypeReferenceNode(a,void 0):pA.createKeywordTypeNode(131)),s=va(1,"props");return s.links.type=n,Zd(o,void 0,void 0,[s],i?_d(i):mn,void 0,1,0)}function fN(e,n,t){if(tI(e.tagName)){const n=xI(e),t=pN(e,n);return VE(WD(e.attributes,hk(t,e),void 0,0),n,e.tagName,e.attributes),S(e.typeArguments)&&(A(e.typeArguments,VP),Ji.add(Kf(Ip(e),e.typeArguments,Vo.Expected_0_type_arguments_but_got_1,0,S(e.typeArguments)))),t}const r=uO(e.tagName),i=w_(r);if(uc(i))return TR(e);const a=EI(r,e);return iN(r,i,a.length,0)?ER(e):0===a.length?(_a(e.tagName,Vo.JSX_element_type_0_does_not_have_any_construct_or_call_signatures,tf(e.tagName)),TR(e)):ZR(e,a,n,t,0)}function mN(e,n,t){switch(e.kind){case 210:return function(e,n,t){if(106===e.expression.kind){const r=fC(e.expression);if(dc(r)){for(const n of e.arguments)uO(n);return Xr}if(!uc(r)){const i=ly(Wm(e));if(i)return ZR(e,Jl(r,i.typeArguments,i),n,t,0)}return ER(e)}let r,i=uO(e.expression);if(Fl(e)){const n=zx(i,e.expression);r=n===i?0:Vl(e)?16:8,i=n}else r=0;if(i=lw(i,e.expression,cw),i===zn)return Qr;const a=w_(i);if(uc(a))return TR(e);const o=H_(a,0),s=H_(a,1).length;if(iN(i,a,o.length,s))return!uc(i)&&e.typeArguments&&_a(e,Vo.Untyped_function_calls_may_not_accept_type_arguments),ER(e);if(!o.length){if(s)_a(e,Vo.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,Bs(i));else{let n;if(1===e.arguments.length){const t=Ip(e).text;xs(t.charCodeAt(ks(t,e.expression.end,!0)-1))&&(n=Hf(e.expression,Vo.Are_you_missing_a_semicolon))}lN(e.expression,a,0,n)}return TR(e)}return 8&t&&!e.typeArguments&&o.some(rN)?(tO(e,t),$r):o.some((e=>Ah(e.declaration)&&!!il(e.declaration)))?(_a(e,Vo.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,Bs(i)),TR(e)):ZR(e,o,n,t,r)}(e,n,t);case 211:return aN(e,n,t);case 212:return function(e,n,t){const r=uO(e.tag),i=w_(r);if(uc(i))return TR(e);const a=H_(i,0),o=H_(i,1).length;if(iN(r,i,a.length,o))return ER(e);if(!a.length){if(Ik(e.parent)){const n=Hf(e.tag,Vo.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);return Ji.add(n),TR(e)}return lN(e.tag,i,0),TR(e)}return ZR(e,a,n,t,0)}(e,n,t);case 167:return function(e,n,t){const r=uO(e.expression),i=w_(r);if(uc(i))return TR(e);const a=H_(i,0),o=H_(i,1).length;if(iN(r,i,a.length,o))return ER(e);if(s=e,(c=a).length&&N(c,(e=>0===e.minArgumentCount&&!QG(e)&&e.parameters.length<XR(s,e)))&&!Fk(e.expression)){const n=tf(e.expression,!1);return _a(e,Vo._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0,n),TR(e)}var s,c;const l=function(e){switch(e.parent.kind){case 260:case 228:return Vo.Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression;case 166:return Vo.Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression;case 169:return Vo.Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression;case 171:case 174:case 175:return Vo.Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression;default:return Nt.fail()}}(e);if(!a.length){const n=cN(e.expression,i,0),t=kT(n.messageChain,l),r=qf(Ip(e.expression),e.expression,t);return n.relatedMessage&&iS(r,Hf(e.expression,n.relatedMessage)),Ji.add(r),_N(i,0,r),TR(e)}return ZR(e,a,n,t,0,l)}(e,n,t);case 283:case 282:return fN(e,n,t)}throw Nt.assertNever(e,"Branch in 'resolveSignature' should be unreachable.")}function hN(e,n,t){const r=Ra(e),i=r.resolvedSignature;if(i&&i!==$r&&!n)return i;r.resolvedSignature=$r;const a=mN(e,n,t||0);return a!==$r&&(r.resolvedSignature=di===ui?a:i),a}function gN(e){var n;if(!e||!Ah(e))return!1;const t=wI(e)||Gk(e)?e:(kI(e)||bw(e))&&e.initializer&&Gk(e.initializer)?e.initializer:void 0;if(t){if(il(e))return!0;if(bw(zg(t.parent)))return!1;const r=$o(t);return!!(null==(n=null==r?void 0:r.members)?void 0:n.size)}return!1}function yN(e,n){var t,r;if(n){const i=wa(n);if(!i.inferredClassSymbol||!i.inferredClassSymbol.has(WG(e))){const a=sp(e)?e:Sa(e);return a.exports=a.exports||op(),a.members=a.members||op(),a.flags|=32&n.flags,(null==(t=n.exports)?void 0:t.size)&&ka(a.exports,n.exports),(null==(r=n.members)?void 0:r.size)&&ka(a.members,n.members),(i.inferredClassSymbol||(i.inferredClassSymbol=new Map)).set(WG(a),a),a}return i.inferredClassSymbol.get(WG(e))}}function bN(e,n){if(!e.parent)return;let t,r;if(kI(e.parent)&&e.parent.initializer===e){if(!(Ah(e)||om(e.parent)&&Cd(e)))return;t=e.parent.name,r=e.parent}else if(qk(e.parent)){const i=e.parent,a=e.parent.operatorToken.kind;if(63!==a||!n&&i.right!==e){if(!(56!==a&&60!==a||(kI(i.parent)&&i.parent.initializer===i?(t=i.parent.name,r=i.parent):qk(i.parent)&&63===i.parent.operatorToken.kind&&(n||i.parent.right===i)&&(t=i.parent.left,r=t),t&&tg(t)&&Wh(t,i.left))))return}else t=i.left,r=t}else n&&wI(e)&&(t=e.name,r=e);return r&&t&&(n||jh(e,Jb(t)))?Qo(r):void 0}function EN(e,n){if(e.declaration&&268435456&e.declaration.flags){const o=TN(n),s=zb(oh(n));t=o,r=e.declaration,i=s,a=Gs(e),ha(r,i?Hf(t,Vo.The_signature_0_of_1_is_deprecated,a,i):Hf(t,Vo._0_is_deprecated,a))}var t,r,i,a}function TN(e){switch((e=Yg(e)).kind){case 210:case 167:case 211:return TN(e.expression);case 212:return TN(e.tag);case 283:case 282:return TN(e.tagName);case 209:return e.argumentExpression;case 208:return e.name;case 180:const n=e;return UC(n.typeName)?n.typeName.right:n;default:return e}}function xN(e){if(!Dk(e))return!1;let n=e.expression;if(Rk(n)&&"for"===n.name.escapedText&&(n=n.expression),!AC(n)||"Symbol"!==n.escapedText)return!1;const t=Nm(!1);return!!t&&t===Fa(n,"Symbol",111551,void 0,void 0,!1)}function SN(e,n,t){const r=op(),a=va(2097152,"default");return a.parent=n,a.links.nameType=ib("default"),a.links.aliasTarget=Eo(e),r.set("default",a),ys(t,r,i,i,i)}function AN(e,n,t,r){if(oo(r)&&e&&!uc(e)){const r=e;if(!r.defaultOnlyType){const e=SN(n,t);r.defaultOnlyType=e}return r.defaultOnlyType}}function LN(e,n,t,r){var i;if(R&&e&&!uc(e)){const a=e;if(!a.syntheticType)if(so(null==(i=t.declarations)?void 0:i.find(Aw),t,!1,r)){const r=va(2048,"__type"),i=SN(n,t,r);r.links.type=i,a.syntheticType=eI(e)?qv(e,i,r,0,!1):i}else a.syntheticType=e;return a.syntheticType}return e}function CN(e){if(!wh(e,!0))return!1;if(!AC(e.expression))return Nt.fail();const n=Fa(e.expression,e.expression.escapedText,111551,void 0,void 0,!0);if(n===ge)return!0;if(2097152&n.flags)return!1;const t=16&n.flags?259:3&n.flags?257:0;if(0!==t){const e=ip(n,t);return!!e&&!!(16777216&e.flags)}return!1}function kN(e){switch(e.kind){case 10:case 14:case 8:case 9:case 110:case 95:case 206:case 207:case 225:return!0;case 214:return kN(e.expression);case 221:const n=e.operator,t=e.operand;return 40===n&&(8===t.kind||9===t.kind)||39===n&&8===t.kind;case 208:case 209:const r=Yg(e.expression),i=Hb(r)?No(r,111551,!0):void 0;return!!(i&&384&i.flags)}return!1}function IN(e,n,t,r){let i=uO(t,r);if(Hl(n))return kN(t)||_a(t,Vo.A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals),tb(i);VP(n),i=tS(Lx(i));const a=Lb(n);return uc(a)||l((()=>{const n=ES(i);ME(a,n)||nT(i,a,e,Vo.Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first)})),a}function wN(e){return sG(e),A(e.typeArguments,VP),RN(230===e.kind?uO(e.expression):Kv(e.exprName)?uC(e.exprName):uO(e.exprName),e)}function RN(e,n){const t=n.typeArguments;if(e===zn||uc(e)||!ce(t))return e;let r,i=!1;const a=function e(t){let a=!1,o=!1;const c=function t(r){if(524288&r.flags){const e=d_(r),t=s(e.callSignatures),i=s(e.constructSignatures);if(a||(a=0!==e.callSignatures.length||0!==e.constructSignatures.length),o||(o=0!==t.length||0!==i.length),t!==e.callSignatures||i!==e.constructSignatures){const r=ys(void 0,e.members,t,i,e.indexInfos);return r.objectFlags|=8388608,r.node=n,r}}else if(58982400&r.flags){const e=T_(r);if(e){const n=t(e);if(n!==e)return n}}else{if(1048576&r.flags)return LL(r,e);if(2097152&r.flags)return Wg(z(r.types,t))}return r}(t);return i||(i=o),a&&!o&&(null!=r||(r=t)),c}(e),o=i?r:e;return o&&Ji.add(Kf(Ip(n),t,Vo.Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable,Bs(o))),a;function s(e){return z(j(e,(e=>!!e.typeParameters&&kR(e,t))),(e=>{const n=GR(e,t,!0);return n?Dp(e,n,Ah(e.declaration)):e}))}}function NN(e,n,t){const r=uO(e,t),i=Lb(n);return uc(i)?i:(VE(r,i,n,e,Vo.Type_0_does_not_satisfy_the_expected_type_1),r)}function DN(e){switch(e.keywordToken){case 100:return gm();case 103:const n=ON(e);return uc(n)?mn:function(e){const n=va(0,"NewTargetExpression"),t=va(4,"target",8);t.parent=n,t.links.type=e;const r=op([t]);return n.members=r,ys(n,r,i,i,i)}(n);default:Nt.assertNever(e.keywordToken)}}function ON(e){const n=$m(e);return n?173===n.kind?bl($o(n.parent)):bl($o(n)):(_a(e,Vo.Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor,"new.target"),mn)}function GN(e){const n=bl(e);if(F){const t=e.valueDeclaration;if(t&&$u(t))return Vx(n)}return n}function BN(e){return Nt.assert(AC(e.name)),e.name.escapedText}function UN(e,n,t){const r=e.parameters.length-(QG(e)?1:0);if(n<r)return e.parameters[n].escapedName;const i=e.parameters[r]||on,a=t||bl(i);if(Nx(a)){const e=a.target.labeledElementDeclarations,t=n-r;return e&&BN(e[t])||i.escapedName+"_"+t}return i.escapedName}function VN(e){return e.valueDeclaration&&HC(e.valueDeclaration)&&AC(e.valueDeclaration.name)}function jN(e){return 199===e.kind||HC(e)&&e.name&&AC(e.name)}function HN(e,n){const t=e.parameters.length-(QG(e)?1:0);if(n<t){const t=e.parameters[n].valueDeclaration;return t&&jN(t)?t:void 0}const r=e.parameters[t]||on,i=bl(r);if(Nx(i)){const e=i.target.labeledElementDeclarations;return e&&e[n-t]}return r.valueDeclaration&&jN(r.valueDeclaration)?r.valueDeclaration:void 0}function WN(e,n){return qN(e,n)||un}function qN(e,n){const t=e.parameters.length-(QG(e)?1:0);if(n<t)return GN(e.parameters[n]);if(QG(e)){const r=bl(e.parameters[t]),i=n-t;if(!Nx(r)||r.target.hasRestElement||i<r.target.fixedLength)return pv(r,ab(i))}}function zN(e,n){const t=JN(e),r=XN(e),i=$N(e);if(i&&n>=t-1)return n===t-1?i:dh(pv(i,On));const a=[],o=[],s=[];for(let c=n;c<t;c++){!i||c<t-1?(a.push(WN(e,c)),o.push(c<r?1:2)):(a.push(i),o.push(8));const n=HN(e,c);n&&s.push(n)}return Mh(a,o,!1,S(s)===S(a)?s:void 0)}function JN(e){const n=e.parameters.length;if(QG(e)){const t=bl(e.parameters[n-1]);if(Nx(t))return n+t.target.fixedLength-(t.target.hasRestElement?0:1)}return n}function XN(e,n){const t=1&n,r=2&n;if(r||void 0===e.resolvedMinArgumentCount){let n;if(QG(e)){const t=bl(e.parameters[e.parameters.length-1]);if(Nx(t)){const r=M(t.target.elementFlags,(e=>!(1&e))),i=r<0?t.target.fixedLength:r;i>0&&(n=e.parameters.length-1+i)}}if(void 0===n){if(!t&&32&e.flags)return 0;n=e.minArgumentCount}if(r)return n;for(let t=n-1;t>=0&&!(131072&xL(WN(e,t),AR).flags);t--)n=t;e.resolvedMinArgumentCount=n}return e.resolvedMinArgumentCount}function YN(e){if(QG(e)){const n=bl(e.parameters[e.parameters.length-1]);return!Nx(n)||n.target.hasRestElement}return!1}function $N(e){if(QG(e)){const n=bl(e.parameters[e.parameters.length-1]);if(!Nx(n))return n;if(n.target.hasRestElement)return Zh(n,n.target.fixedLength)}}function QN(e){const n=$N(e);return!n||cx(n)||dc(n)||0!=(131072&P_(n).flags)?void 0:n}function ZN(e){return eD(e,qn)}function eD(e,n){return e.parameters.length>0?WN(e,0):n}function nD(e,n){const t=wa(e);if(t.type)n&&Nt.assertEqual(t.type,n,"Parameter symbol already has a cached type which differs from newly assigned type");else{const r=e.valueDeclaration;t.type=n||(r?tl(r,!0):bl(e)),r&&79!==r.name.kind&&(t.type===xn&&(t.type=el(r.name)),tD(r.name,t.type))}}function tD(e,n){for(const t of e.elements)if(!Qk(t)){const e=bc(t,n);79===t.name.kind?wa($o(t)).type=e:tD(t.name,e)}}function rD(e,n,t){const r=_b(e),a=LC(e.name),o=a?ib(Pc(e.name)):hy(e.name),s=JC(e)?function(e,n){return ef(null!=(t=null!=Mr?Mr:Mr=mm("ClassMethodDecoratorContext",2,!0))?t:kt,[e,n]);var t}(n,t):$C(e)?function(e,n){return ef(null!=(t=null!=Pr?Pr:Pr=mm("ClassGetterDecoratorContext",2,!0))?t:kt,[e,n]);var t}(n,t):QC(e)?function(e,n){return ef(null!=(t=null!=Fr?Fr:Fr=mm("ClassSetterDecoratorContext",2,!0))?t:kt,[e,n]);var t}(n,t):Md(e)?function(e,n){return ef(null!=(t=null!=Gr?Gr:Gr=mm("ClassAccessorDecoratorContext",2,!0))?t:kt,[e,n]);var t}(n,t):qC(e)?function(e,n){return ef(null!=(t=null!=jr?jr:jr=mm("ClassFieldDecoratorContext",2,!0))?t:kt,[e,n]);var t}(n,t):Nt.failBadSyntaxKind(e),c=function(e,n,t){const r=`${n?"p":"P"}${t?"s":"S"}${e.id}`;let a=Ye.get(r);if(!a){const o=op();o.set("name",Ea("name",e)),o.set("private",Ea("private",n?Bn:Fn)),o.set("static",Ea("static",t?Bn:Fn)),a=ys(void 0,o,i,i,i),Ye.set(r,a)}return a}(o,a,r);return Wg([s,c])}function iD(e,n,t){return HO(void 0,void 0,[ba("target",e),ba("context",n)],Sg([t,Wn]))}function aD(e){const{parent:n}=e,t=Ra(n);if(!t.decoratorSignature)switch(t.decoratorSignature=Xr,n.kind){case 260:case 228:{const e=bl($o(n)),a=(r=e,ef(null!=(i=null!=Or?Or:Or=mm("ClassDecoratorContext",1,!0))?i:kt,[r]));t.decoratorSignature=iD(e,a,e);break}case 171:case 174:case 175:{const e=n;if(!Dd(e.parent))break;const r=JC(e)?Up(up(e)):iF(e),i=_b(e)?bl($o(e.parent)):nd($o(e.parent)),a=$C(e)?WO(r):QC(e)?qO(r):r,o=rD(e,i,r),s=$C(e)?WO(r):QC(e)?qO(r):r;t.decoratorSignature=iD(a,o,s);break}case 169:{const e=n;if(!Dd(e.parent))break;const r=iF(e),i=_b(e)?bl($o(e.parent)):nd($o(e.parent)),a=hb(e)?function(e,n){return ef(null!=(t=null!=Br?Br:Br=mm("ClassAccessorDecoratorTarget",2,!0))?t:kt,[e,n]);var t}(i,r):An,o=rD(e,i,r),s=hb(e)?function(e,n){return ef(null!=(t=null!=Ur?Ur:Ur=mm("ClassAccessorDecoratorResult",2,!0))?t:kt,[e,n]);var t}(i,r):function(e,n){return KO(void 0,ba("this",e),[ba("value",n)],n,void 0,1)}(i,r);t.decoratorSignature=iD(a,o,s);break}}var r,i;return t.decoratorSignature===Xr?void 0:t.decoratorSignature}function oD(e){return I?function(e){const{parent:n}=e,t=Ra(n);if(!t.decoratorSignature)switch(t.decoratorSignature=Xr,n.kind){case 260:case 228:{const e=bl($o(n)),r=ba("target",e);t.decoratorSignature=HO(void 0,void 0,[r],Sg([e,Wn]));break}case 166:{const e=n;if(!YC(e.parent)&&!(JC(e.parent)||QC(e.parent)&&Dd(e.parent.parent)))break;if(jv(e.parent)===e)break;const r=jv(e.parent)?e.parent.parameters.indexOf(e)-1:e.parent.parameters.indexOf(e);Nt.assert(r>=0);const i=YC(e.parent)?bl($o(e.parent.parent)):sF(e.parent),a=YC(e.parent)?An:cF(e.parent),o=ab(r),s=ba("target",i),c=ba("propertyKey",a),l=ba("parameterIndex",o);t.decoratorSignature=HO(void 0,void 0,[s,c,l],Wn);break}case 171:case 174:case 175:case 169:{const e=n;if(!Dd(e.parent))break;const r=ba("target",sF(e)),i=ba("propertyKey",cF(e)),a=qC(e)?Wn:eh(iF(e));if(0===L||qC(n)&&!hb(n))t.decoratorSignature=HO(void 0,void 0,[r,i],Sg([a,Wn]));else{const n=ba("descriptor",eh(iF(e)));t.decoratorSignature=HO(void 0,void 0,[r,i,n],Sg([a,Wn]))}break}}return t.decoratorSignature===Xr?void 0:t.decoratorSignature}(e):aD(e)}function sD(e){const n=Fm(!0);return n!==kt?nf(n,[e=VO(GO(e))||xn]):xn}function cD(e){const n=Gm(!0);return n!==kt?nf(n,[e=VO(GO(e))||xn]):xn}function lD(e,n){const t=sD(n);return t===xn?(_a(e,lm(e)?Vo.A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:Vo.An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option),mn):(Bm(!0)||_a(e,lm(e)?Vo.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:Vo.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),t)}function dD(e,n){if(!e.body)return mn;const t=Sy(e),r=0!=(2&t),i=0!=(1&t);let a,o,s,c=Wn;if(238!==e.body.kind)a=qD(e.body,n&&-9&n),r&&(a=GO(MO(a,!1,e,Vo.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)));else if(i){const t=hD(e,n);t?t.length>0&&(a=Sg(t,2)):c=qn;const{yieldTypes:r,nextTypes:i}=function(e,n){const t=[],r=[],i=0!=(2&Sy(e));return Tm(e.body,(e=>{const a=e.expression?uO(e.expression,n):Ln;let o;if(Le(t,_D(e,a,un,i)),e.asteriskToken){const n=UM(a,i?19:17,e.expression);o=n&&n.nextType}else o=BC(e,void 0);o&&Le(r,o)})),{yieldTypes:t,nextTypes:r}}(e,n);o=ce(r)?Sg(r,2):void 0,s=ce(i)?Wg(i):void 0}else{const r=hD(e,n);if(!r)return 2&t?lD(e,qn):qn;if(0===r.length)return 2&t?lD(e,Wn):Wn;a=Sg(r,2)}if(a||o||s){if(o&&CS(e,o,3),a&&CS(e,a,1),s&&CS(e,s,2),a&&xx(a)||o&&xx(o)||s&&xx(s)){const n=Sk(e),t=n?n===up(e)?i?void 0:a:PC(Sp(n),e,void 0):void 0;i?(o=Rx(o,t,0,r),a=Rx(a,t,1,r),s=Rx(s,t,2,r)):a=function(e,n,t){return e&&xx(e)&&(e=wx(e,n?t?OO(n):n:void 0)),e}(a,t,r)}o&&(o=ES(o)),a&&(a=ES(a)),s&&(s=ES(s))}return i?uD(o||qn,a||c,s||EC(2,e)||xn,r):r?sD(a||c):a||c}function uD(e,n,t,r){const i=r?ai:oi,a=i.getGlobalGeneratorType(!1);if(e=i.resolveIterationType(e,void 0)||xn,n=i.resolveIterationType(n,void 0)||xn,t=i.resolveIterationType(t,void 0)||xn,a===kt){const r=i.getGlobalIterableIteratorType(!1),a=r!==kt?KM(r,i):void 0,o=a?a.returnType:un,s=a?a.nextType:An;return RE(n,o)&&RE(s,t)?r!==kt?qm(r,[e]):(i.getGlobalIterableIteratorType(!0),bt):(i.getGlobalGeneratorType(!0),bt)}return qm(a,[e,n,t])}function _D(e,n,t,r){const i=e.expression||e,a=e.asteriskToken?DM(r?19:17,n,t,i):n;return r?UO(a,i,e.asteriskToken?Vo.Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:Vo.Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):a}function pD(e,n,t){let r=0;for(let i=0;i<t.length;i++){const a=i<e||i>=n?t[i]:void 0;r|=void 0!==a?OG.get(a)||32768:0}return r}function fD(e){const n=Ra(e);if(void 0===n.isExhaustive){n.isExhaustive=0;const t=function(e){if(218===e.expression.kind){const n=gL(e);if(!n)return!1;const t=x_(qD(e.expression.expression)),r=pD(0,0,n);return 3&t.flags?556800==(556800&r):!EL(t,(e=>(JA(e)&r)===r))}const n=qD(e.expression);if(!Ax(n))return!1;const t=fL(e);return!(!t.length||ce(t,Tx))&&(r=LL(n,tb),i=t,1048576&r.flags?!A(r.types,(e=>!G(i,e))):G(i,r));var r,i}(e);0===n.isExhaustive&&(n.isExhaustive=t)}else 0===n.isExhaustive&&(n.isExhaustive=!1);return n.isExhaustive}function mD(e){return e.endFlowNode&&jL(e.endFlowNode)}function hD(e,n){const t=Sy(e),r=[];let i=mD(e),a=!1;if(Em(e.body,(o=>{const s=o.expression;if(s){let i=qD(s,n&&-9&n);2&t&&(i=GO(MO(i,!1,e,Vo.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member))),131072&i.flags&&(a=!0),Le(r,i)}else i=!0})),0!==r.length||i||!a&&!function(e){switch(e.kind){case 215:case 216:return!0;case 171:return 207===e.parent.kind;default:return!1}}(e))return!(F&&r.length&&i)||gN(e)&&r.some((n=>n.symbol===e.symbol))||Le(r,An),r}function gD(e,n){l((function(){const t=Sy(e),r=n&&iP(n,t);if(r&&wD(r,16385))return;if(170===e.kind||Fp(e.body)||238!==e.body.kind||!mD(e))return;const i=512&e.flags,a=Yv(e)||e;if(r&&131072&r.flags)_a(a,Vo.A_function_returning_never_cannot_have_a_reachable_end_point);else if(r&&!i)_a(a,Vo.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value);else if(r&&F&&!RE(An,r))_a(a,Vo.Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined);else if(x.noImplicitReturns){if(!r){if(!i)return;const n=Sp(up(e));if(aP(e,n))return}_a(a,Vo.Not_all_code_paths_return_a_value)}}))}function yD(e,n){if(Nt.assert(171!==e.kind||Om(e)),KP(e),Gk(e)&&EM(e,e.name),n&&4&n&&EE(e)){if(!Yv(e)&&!RS(e)){const t=Ak(e);if(t&&nA(Sp(t))){const t=Ra(e);if(t.contextFreeType)return t.contextFreeType;const r=dD(e,n),a=Zd(void 0,void 0,void 0,i,r,void 0,0,0),o=ys(e.symbol,E,[a],i,i);return o.objectFlags|=262144,t.contextFreeType=o}}return It}return rG(e)||215!==e.kind||dG(e),function(e,n){const t=Ra(e);if(!(64&t.flags)){const r=Ak(e);if(!(64&t.flags)){t.flags|=64;const i=De(H_(bl($o(e)),0));if(!i)return;if(EE(e))if(r){const t=mk(e);let a;if(n&&2&n){!function(e,n,t){const r=e.parameters.length-(QG(e)?1:0);for(let i=0;i<r;i++){const r=e.parameters[i].valueDeclaration;if(r.type){const e=Jv(r);e&&vA(t.inferences,Lb(e),WN(n,i))}}}(i,r,t);const e=$N(r);e&&262144&e.flags&&(a=sE(r,t.nonFixingMapper))}a||(a=t?sE(r,t.mapper):r),function(e,n){if(n.typeParameters){if(e.typeParameters)return;e.typeParameters=n.typeParameters}if(n.thisParameter){const t=e.thisParameter;(!t||t.valueDeclaration&&!t.valueDeclaration.type)&&(t||(e.thisParameter=Zx(n.thisParameter,void 0)),nD(e.thisParameter,bl(n.thisParameter)))}const t=e.parameters.length-(QG(e)?1:0);for(let r=0;r<t;r++){const t=e.parameters[r];Jv(t.valueDeclaration)||nD(t,qN(n,r))}if(QG(e)){const r=Ge(e.parameters);(r.valueDeclaration?!Jv(r.valueDeclaration):65536&DE(r))&&nD(r,zN(n,t))}}(i,a)}else!function(e){e.thisParameter&&nD(e.thisParameter);for(const n of e.parameters)nD(n)}(i);if(r&&!Ap(e)&&!i.resolvedReturnType){const t=dD(e,n);i.resolvedReturnType||(i.resolvedReturnType=t)}mO(e)}}}(e,n),bl($o(e))}function vD(e,n,t,r=!1){if(!RE(n,tt)){const i=r&&DO(n);return ma(e,!!i&&RE(i,tt),t),!1}return!0}function bD(e){if(!Dk(e))return!1;if(!$h(e))return!1;const n=qD(e.arguments[2]);if(lc(n,"value")){const e=V_(n,"writable"),t=e&&bl(e);if(!t||t===Fn||t===Gn)return!0;if(e&&e.valueDeclaration&&bw(e.valueDeclaration)){const n=uO(e.valueDeclaration.initializer);if(n===Fn||n===Gn)return!0}return!1}return!V_(n,"set")}function xD(e){return!!(8&DE(e)||4&e.flags&&64&OE(e)||3&e.flags&&2&HI(e)||98304&e.flags&&!(65536&e.flags)||8&e.flags||ce(e.declarations,bD))}function SD(e,n,t){var r,i;if(0===t)return!1;if(xD(n)){if(4&n.flags&&eT(e)&&108===e.expression.kind){const t=Hm(e);if(!t||173!==t.kind&&!gN(t))return!0;if(n.valueDeclaration){const e=qk(n.valueDeclaration),a=t.parent===n.valueDeclaration.parent,o=t===n.valueDeclaration.parent,s=e&&(null==(r=n.parent)?void 0:r.valueDeclaration)===t.parent,c=e&&(null==(i=n.parent)?void 0:i.valueDeclaration)===t;return!(a||o||s||c)}}return!0}if(eT(e)){const n=Yg(e.expression);if(79===n.kind){const e=Ra(n).resolvedSymbol;if(2097152&e.flags){const n=Xa(e);return!!n&&271===n.kind}}}return!1}function AD(e,n,t){const r=HR(e,7);return 79===r.kind||eT(r)?!(32&r.flags&&(_a(e,t),1)):(_a(e,n),!1)}function CD(e){return wD(e,2112)?RD(e,3)||wD(e,296)?tt:Mn:On}function ID(e,n){if(wD(e,n))return!0;const t=x_(e);return!!t&&wD(t,n)}function wD(e,n){if(e.flags&n)return!0;if(3145728&e.flags){const t=e.types;for(const e of t)if(wD(e,n))return!0}return!1}function RD(e,n,t){return!!(e.flags&n)||!(t&&114691&e.flags)&&(!!(296&n)&&RE(e,On)||!!(2112&n)&&RE(e,Mn)||!!(402653316&n)&&RE(e,Dn)||!!(528&n)&&RE(e,Hn)||!!(16384&n)&&RE(e,Wn)||!!(131072&n)&&RE(e,qn)||!!(65536&n)&&RE(e,wn)||!!(32768&n)&&RE(e,An)||!!(4096&n)&&RE(e,Kn)||!!(67108864&n)&&RE(e,Yn))}function DD(e,n,t){return 1048576&e.flags?N(e.types,(e=>DD(e,n,t))):RD(e,n,t)}function OD(e){return!!(16&qE(e))&&!!e.symbol&&MD(e.symbol)}function MD(e){return 0!=(128&e.flags)}function PD(e,n,t,r,i=!1){const a=e.properties,o=a[t];if(299===o.kind||300===o.kind){const e=o.name,t=hy(e);if(Fd(t)){const e=V_(n,qd(t));e&&(dR(e,o,i),WI(o,!1,!0,n,e))}const r=hc(o,pv(n,t,32,e));return GD(300===o.kind?o:o.initializer,r)}if(301===o.kind){if(!(t<a.length-1)){L<99&&$F(o,4);const e=[];if(r)for(const n of r)Tw(n)||e.push(n.name);const t=pc(n,e,n.symbol);return nG(r,Vo.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),GD(o.expression,t)}_a(o,Vo.A_rest_element_must_be_last_in_a_destructuring_pattern)}else _a(o,Vo.Property_assignment_expected)}function FD(e,n,t,r,i){const a=e.elements,o=a[t];if(229!==o.kind){if(227!==o.kind){const e=ab(t);if(hx(n)){const t=yv(n,e,32|(Pk(o)?16:0),zR(o,e))||mn;return GD(o,hc(o,Pk(o)?YA(t,524288):t),i)}return GD(o,r,i)}if(t<a.length-1)_a(o,Vo.A_rest_element_must_be_last_in_a_destructuring_pattern);else{const a=o.expression;if(223!==a.kind||63!==a.operatorToken.kind)return nG(e.elements,Vo.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),GD(a,TL(n,Nx)?LL(n,(e=>Zh(e,t))):dh(r),i);_a(a.operatorToken,Vo.A_rest_element_cannot_have_an_initializer)}}}function GD(e,n,t,r){let i;if(300===e.kind){const r=e;r.objectAssignmentInitializer&&(!F||16777216&JA(uO(r.objectAssignmentInitializer))||(n=YA(n,524288)),function(e,n,t,r,i){const a=n.kind;if(63===a&&(207===e.kind||206===e.kind))return GD(e,uO(t,r),r,108===t.kind);let o;o=Ob(a)?wM(e,r):uO(e,r);VD(e,n,t,o,uO(t,r),void 0)}(r.name,r.equalsToken,r.objectAssignmentInitializer,t)),i=e.name}else i=e;return 223===i.kind&&63===i.operatorToken.kind&&(ae(i,t),i=i.left,F&&(n=YA(n,524288))),207===i.kind?function(e,n,t){const r=e.properties;if(F&&0===r.length)return uw(n,e);for(let i=0;i<r.length;i++)PD(e,n,i,r,t);return n}(i,n,r):206===i.kind?function(e,n,t){const r=e.elements;L<2&&x.downlevelIteration&&$F(e,512);const i=DM(193,n,An,e)||mn;let a=x.noUncheckedIndexedAccess?void 0:i;for(let o=0;o<r.length;o++){let r=i;227===e.elements[o].kind&&(r=a=null!=a?a:DM(65,n,An,e)||mn),FD(e,n,o,r,t)}return n}(i,n,t):function(e,n,t){const r=uO(e,t);return AD(e,301===e.parent.kind?Vo.The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:Vo.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access,301===e.parent.kind?Vo.The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:Vo.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access)&&VE(n,r,e,e),gd(e)&&$F(e.parent,1048576),n}(i,n,t)}function BD(e){switch((e=Yg(e)).kind){case 79:case 10:case 13:case 212:case 225:case 14:case 8:case 9:case 110:case 95:case 104:case 155:case 215:case 228:case 216:case 206:case 207:case 218:case 232:case 282:case 281:return!0;case 224:return BD(e.whenTrue)&&BD(e.whenFalse);case 223:return!Pb(e.operatorToken.kind)&&BD(e.left)&&BD(e.right);case 221:case 222:switch(e.operator){case 53:case 39:case 40:case 54:return!0}return!1;default:return!1}}function UD(e,n){return 0!=(98304&n.flags)||ME(e,n)}function VD(e,n,t,r,i,a){const o=n.kind;switch(o){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(r===zn||i===zn)return zn;let l;if(r=uw(r,e),i=uw(i,t),528&r.flags&&528&i.flags&&void 0!==(l=function(e){switch(e){case 51:case 74:return 56;case 52:case 78:return 37;case 50:case 73:return 55;default:return}}(n.kind)))return _a(a||n,Vo.The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead,us(n.kind),us(l)),On;{const n=vD(e,r,Vo.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,!0),s=vD(t,i,Vo.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,!0);let c;if(RD(r,3)&&RD(i,3)||!wD(r,2112)&&!wD(i,2112))c=On;else if(d(r,i)){switch(o){case 49:case 72:f();break;case 42:case 67:L<3&&_a(a,Vo.Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later)}c=Mn}else f(d),c=mn;return n&&s&&_(c),c}case 39:case 64:if(r===zn||i===zn)return zn;let h;if(RD(r,402653316)||RD(i,402653316)||(r=uw(r,e),i=uw(i,t)),RD(r,296,!0)&&RD(i,296,!0)?h=On:RD(r,2112,!0)&&RD(i,2112,!0)?h=Mn:RD(r,402653316,!0)||RD(i,402653316,!0)?h=Dn:(dc(r)||dc(i))&&(h=uc(r)||uc(i)?mn:un),h&&!u(o))return h;if(!h){const e=402655727;return f(((n,t)=>RD(n,e)&&RD(t,e))),un}return 64===o&&_(h),h;case 29:case 31:case 32:case 33:return u(o)&&(r=Cx(uw(r,e)),i=Cx(uw(i,t)),p(((e,n)=>{if(dc(e)||dc(n))return!0;const t=RE(e,tt),r=RE(n,tt);return t&&r||!t&&!r&&BE(e,n)}))),Hn;case 34:case 35:case 36:case 37:if(id(e)||id(t)){const e=34===o||36===o;_a(a,Vo.This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value,e?"false":"true")}return function(e,n,t,r){const i=m(Yg(t)),a=m(Yg(r));if(i||a){const o=_a(e,Vo.This_condition_will_always_return_0,us(36===n||34===n?95:110));if(i&&a)return;const s=37===n||35===n?us(53):"",c=i?r:t,l=Yg(c);iS(o,Hf(c,Vo.Did_you_mean_0,`${s}Number.isNaN(${Hb(l)?jf(l):"..."})`))}}(a,o,e,t),p(((e,n)=>UD(e,n)||UD(n,e))),Hn;case 102:return function(e,n,t,r){return t===zn||r===zn?zn:(!dc(t)&&DD(t,134348796)&&_a(e,Vo.The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter),dc(r)||dF(r)||IE(r,Kt)||_a(n,Vo.The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type),Hn)}(e,t,r,i);case 101:return function(e,n,t,r){return t===zn||r===zn?zn:(LC(e)?(L<99&&$F(e,2097152),!Ra(e).resolvedSymbol&&Wm(e)&&Xw(e,r,Vw(e,r.symbol,!0))):UE(uw(t,e),Zn,e),UE(uw(r,n),Yn,n)&&EL(r,(e=>e===Lt||!!(2097152&e.flags)&&cT(x_(e))))&&_a(n,Vo.Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operator,Bs(r)),Hn)}(e,t,r,i);case 55:case 76:{const e=4194304&JA(r)?Sg([(c=F?r:Lx(i),LL(c,Bx)),i]):r;return 76===o&&_(i),e}case 56:case 75:{const e=8388608&JA(r)?Sg([jx(Gx(r)),i],2):r;return 75===o&&_(i),e}case 60:case 77:{const e=262144&JA(r)?Sg([jx(r),i],2):r;return 77===o&&_(i),e}case 63:const g=qk(e.parent)?Yh(e.parent):0;return function(e,n){if(2===e)for(const e of u_(n)){const n=bl(e);if(n.symbol&&32&n.symbol.flags){const n=e.escapedName,t=Fa(e.valueDeclaration,n,788968,void 0,n,!1);(null==t?void 0:t.declarations)&&t.declarations.some(lR)&&(La(t,Vo.Duplicate_identifier_0,Mc(n),e),La(e,Vo.Duplicate_identifier_0,Mc(n),t))}}}(g,i),function(n){var r;switch(n){case 2:return!0;case 1:case 5:case 6:case 3:case 4:const n=Qo(e),i=Vh(t);return!!i&&wk(i)&&!!(null==(r=null==n?void 0:n.exports)?void 0:r.size);default:return!1}}(g)?(524288&i.flags&&(2===g||6===g||sT(i)||zA(i)||1&qE(i))||_(i),r):(_(i),i);case 27:if(!x.allowUnreachableCode&&BD(e)&&!(214===(s=e.parent).parent.kind&&oC(s.left)&&"0"===s.left.text&&(Dk(s.parent.parent)&&s.parent.parent.expression===s.parent||212===s.parent.parent.kind)&&(eT(s.right)||AC(s.right)&&"eval"===s.right.escapedText))){const n=Ip(e),t=ks(n.text,e.pos);n.parseDiagnostics.some((e=>e.code===Vo.JSX_expressions_must_have_one_parent_element.code&&ic(e,t)))||_a(e,Vo.Left_side_of_comma_operator_is_unused_and_has_no_side_effects)}return i;default:return Nt.fail()}var s,c;function d(e,n){return RD(e,2112)&&RD(n,2112)}function u(n){const a=ID(r,12288)?e:ID(i,12288)?t:void 0;return!a||(_a(a,Vo.The_0_operator_cannot_be_applied_to_type_symbol,us(n)),!1)}function _(n){Pb(o)&&l((function(){if(AD(e,Vo.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access,Vo.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access)){let i;if(te&&Rk(e)&&wD(n,32768)){const t=lc(cO(e.expression),e.name.escapedText);bT(n,t)&&(i=Vo.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target)}VE(n,r,e,t,i)}}))}function p(e){return!e(r,i)&&(f(e),!0)}function f(e){let t=!1;const o=a||n;if(e){const n=VO(r),a=VO(i);t=!(n===r&&a===i)&&!(!n||!a)&&e(n,a)}let s=r,c=i;!t&&e&&([s,c]=function(e,n,t){let r=e,i=n;const a=Lx(e),o=Lx(n);return t(a,o)||(r=a,i=o),[r,i]}(r,i,e));const[l,d]=Us(s,c);(function(e,t,r,i){switch(n.kind){case 36:case 34:case 37:case 35:return ma(e,t,Vo.This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap,r,i);default:return}})(o,t,l,d)||ma(o,t,Vo.Operator_0_cannot_be_applied_to_types_1_and_2,us(n.kind),l,d)}function m(e){if(AC(e)&&"NaN"===e.escapedText){const n=Nr||(Nr=dm("NaN",!1));return!!n&&n===kA(e)}return!1}}function jD(e){const n=e.parent;return Fk(n)&&jD(n)||Nk(n)&&n.argumentExpression===e}function HD(e){const n=[e.head.text],t=[];for(const r of e.templateSpans){const e=uO(r.expression);ID(e,12288)&&_a(r.expression,Vo.Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String),n.push(r.literal.text),t.push(RE(e,it)?e:Dn)}return $D(e)||jD(e)||EL(BC(e,void 0)||xn,KD)?Oy(n,t):Dn}function KD(e){return!!(134217856&e.flags||58982400&e.flags&&wD(T_(e)||xn,402653316))}function WD(e,n,t,r){const i=function(e){return pw(e)&&!ow(e.parent)?e.parent.parent:e}(e);ck(i,n,!1),function(e,n){vi[Ei]=e,bi[Ei]=n,Ei++}(i,t);const a=uO(e,1|r|(t?2:0));t&&t.intraExpressionInferenceSites&&(t.intraExpressionInferenceSites=void 0);const o=wD(a,2944)&&YD(a,PC(n,e,void 0))?tb(a):a;return Ei--,pk(),o}function qD(e,n){if(n)return uO(e,n);const t=Ra(e);if(!t.resolvedType){const r=di,i=Wr;di=ui,Wr=void 0,t.resolvedType=uO(e,n),Wr=i,di=r}return t.resolvedType}function zD(e){return 213===(e=Yg(e,!0)).kind||231===e.kind||UR(e)}function JD(e,n,t){const r=Bh(e);if(Ah(e)){const t=QS(e);if(t)return NN(r,t,n)}const i=lO(r)||(t?WD(r,t,void 0,n||0):qD(r,n));return HC(e)&&204===e.name.kind&&Nx(i)&&!i.target.hasRestElement&&lf(i)<e.name.elements.length?function(e,n){const t=n.elements,r=sf(e).slice(),i=e.target.elementFlags.slice();for(let n=lf(e);n<t.length;n++){const e=t[n];(n<t.length-1||205!==e.kind||!e.dotDotDotToken)&&(r.push(!Qk(e)&&Pk(e)?Zc(e,!1,!1):un),i.push(2),Qk(e)||Pk(e)||LS(e,un))}return Mh(r,i,e.target.readonly)}(i,e.name):i}function XD(e,n){const t=2&kc(e)||am(e)?n:kx(n);if(Ah(e)){if(yx(t))return LS(e,un),un;if(vx(t))return LS(e,er),er}return t}function YD(e,n){if(n){if(3145728&n.flags)return ce(n.types,(n=>YD(e,n)));if(58982400&n.flags){const t=T_(n)||xn;return wD(t,4)&&wD(e,128)||wD(t,8)&&wD(e,256)||wD(t,64)&&wD(e,2048)||wD(t,4096)&&wD(e,8192)||YD(e,t)}return!!(406847616&n.flags&&wD(e,128)||256&n.flags&&wD(e,256)||2048&n.flags&&wD(e,2048)||512&n.flags&&wD(e,512)||8192&n.flags&&wD(e,8192))}return!1}function $D(e){const n=e.parent;return _u(n)&&Hl(n.type)||UR(n)&&Hl(VR(n))||kN(e)&&function(e){const n=BC(e,0);return!!n&&EL(n,g_)}(e)||(Fk(n)||Ik(n)||Yk(n))&&$D(n)||(bw(n)||Ew(n)||sI(n))&&$D(n.parent)}function QD(e,n,t){const r=uO(e,n,t);return $D(e)||km(e)?tb(r):zD(e)?r:wx(r,PC(BC(e,void 0),e,void 0))}function ZD(e,n){return 164===e.name.kind&&jk(e.name),QD(e.initializer,n)}function eO(e,n){return hG(e),164===e.name.kind&&jk(e.name),nO(e,yD(e,n),n)}function nO(e,n,t){if(t&&10&t){const r=RR(n,0,!0),i=RR(n,1,!0),a=r||i;if(a&&a.typeParameters){const n=MC(e,2);if(n){const i=RR(jx(n),r?0:1,!1);if(i&&!i.typeParameters){if(8&t)return tO(e,t),It;const n=mk(e),r=n.signature&&Sp(n.signature),o=r&&wR(r);if(o&&!o.typeParameters&&!N(n.inferences,rO)){const e=function(e,n){const t=[];let r,i;for(const a of n){const n=a.symbol.escapedName;if(aO(e.inferredTypeParameters,n)||aO(t,n)){const o=ps(va(262144,oO(de(e.inferredTypeParameters,t),n)));o.target=a,r=Te(r,a),i=Te(i,o),t.push(o)}else t.push(a)}if(i){const e=Fb(r,i);for(const n of i)n.mapper=e}return t}(n,a.typeParameters),t=Op(a,e),r=W(n.inferences,(e=>qS(e.typeParameter)));if(IS(t,i,((e,n)=>{vA(r,e,n,0,!0)})),ce(r,rO)&&(wS(t,i,((e,n)=>{vA(r,e,n)})),!function(e,n){for(let t=0;t<e.length;t++)if(rO(e[t])&&rO(n[t]))return!0;return!1}(n.inferences,r)))return function(e,n){for(let t=0;t<e.length;t++)!rO(e[t])&&rO(n[t])&&(e[t]=n[t])}(n.inferences,r),n.inferredTypeParameters=de(n.inferredTypeParameters,e),Up(t)}return Up(NR(a,i,n))}}}}return n}function tO(e,n){2&n&&(mk(e).flags|=4)}function rO(e){return!(!e.candidates&&!e.contraCandidates)}function iO(e){return!!(e.candidates||e.contraCandidates||k_(e.typeParameter))}function aO(e,n){return ce(e,(e=>e.symbol.escapedName===n))}function oO(e,n){let t=n.length;for(;t>1&&n.charCodeAt(t-1)>=48&&n.charCodeAt(t-1)<=57;)t--;const r=n.slice(0,t);for(let n=1;;n++){const t=r+n;if(!aO(e,t))return t}}function sO(e){const n=IR(e);if(n&&!n.typeParameters)return Sp(n)}function cO(e){const n=lO(e);if(n)return n;if(134217728&e.flags&&Wr){const n=Wr[KG(e)];if(n)return n}const t=fi,r=uO(e);return fi!==t&&((Wr||(Wr=[]))[KG(e)]=r,TS(e,134217728|e.flags)),r}function lO(e){let n=Yg(e,!0);if(UR(n)){const e=VR(n);if(!Hl(e))return Lb(e)}if(n=Yg(e),Hk(n)){const e=lO(n.expression);return e?UO(e):void 0}return!Dk(n)||106===n.expression.kind||wh(n,!0)||xN(n)?_u(n)&&!Hl(n.type)?Lb(n.type):rd(e)||kd(e)?uO(e):void 0:Fl(n)?function(e){const n=uO(e.expression),t=zx(n,e.expression),r=sO(n);return r&&qx(r,e,t!==n)}(n):sO(ew(n.expression))}function dO(e){const n=Ra(e);if(n.contextFreeType)return n.contextFreeType;ck(e,un,!1);const t=n.contextFreeType=uO(e,4);return pk(),t}function uO(e,t,r){var o,s;null==(o=Vr)||o.push(Vr.Phase.Check,"checkExpression",{kind:e.kind,pos:e.pos,end:e.end,path:e.tracingPath});const c=a;a=e,g=0;const d=function(e,t,r){const a=e.kind;if(n)switch(a){case 228:case 215:case 216:n.throwIfCancellationRequested()}switch(a){case 79:return rC(e,t);case 80:return function(e){!function(e){if(!Wm(e))return LG(e,Vo.Private_identifiers_are_not_allowed_outside_class_bodies);if(!gI(e.parent)){if(!mh(e))return LG(e,Vo.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression);const n=qk(e.parent)&&101===e.parent.operatorToken.kind;Cw(e)||n||LG(e,Vo.Cannot_find_name_0,Pc(e))}}(e);const n=Cw(e);return n&&dR(n,void 0,!1),un}(e);case 108:return uC(e);case 106:return fC(e);case 104:return Nn;case 14:case 10:return nb(ib(e.text));case 8:return DG(e),nb(ab(+e.text));case 9:return function(e){if(!(Tk(e.parent)||Kk(e.parent)&&Tk(e.parent.parent))&&L<7&&LG(e,Vo.BigInt_literals_are_not_available_when_targeting_lower_than_ES2020));}(e),nb(ob({negative:!1,base10Value:dS(e.text)}));case 110:return Bn;case 95:return Fn;case 225:return HD(e);case 13:return Qt;case 206:return Uk(e,t,r);case 207:return function(e,n){var t;const r=jg(e);!function(e,n){const t=new Map;for(const r of e.properties){if(301===r.kind){if(n){const e=Yg(r.expression);if(Ik(e)||wk(e))return LG(r.expression,Vo.A_rest_element_cannot_contain_a_binding_pattern)}continue}const e=r.name;if(164===e.kind&&cG(e),300===r.kind&&!n&&r.objectAssignmentInitializer&&LG(r.equalsToken,Vo.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),80===e.kind&&LG(e,Vo.Private_identifiers_are_not_allowed_outside_class_bodies),PN(r)&&r.modifiers)for(const e of r.modifiers)!Ed(e)||132===e.kind&&171===r.kind||LG(e,Vo._0_modifier_cannot_be_used_here,tf(e));else if(uN(r)&&r.modifiers)for(const e of r.modifiers)Ed(e)&&LG(e,Vo._0_modifier_cannot_be_used_here,tf(e));let i;switch(r.kind){case 300:case 299:_G(r.exclamationToken,Vo.A_definite_assignment_assertion_is_not_permitted_in_this_context),uG(r.questionToken,Vo.An_object_member_cannot_be_declared_optional),8===e.kind&&DG(e),i=4;break;case 171:i=8;break;case 174:i=1;break;case 175:i=2;break;default:throw Nt.assertNever(r,"Unexpected syntax kind:"+r.kind)}if(!n){const n=wy(e);if(void 0===n)continue;const r=t.get(n);if(r)if(8&i&&8&r)LG(e,Vo.Duplicate_identifier_0,tf(e));else if(4&i&&4&r)LG(e,Vo.An_object_literal_cannot_have_multiple_properties_with_the_same_name,tf(e));else{if(!(3&i&&3&r))return LG(e,Vo.An_object_literal_cannot_have_property_and_accessor_with_the_same_name);if(3===r||i===r)return LG(e,Vo.An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name);t.set(n,i|r)}else t.set(n,i)}}}(e,r);const a=F?op():void 0;let o=op(),s=[],c=bt;nk(e);const l=MC(e,void 0),d=l&&l.pattern&&(203===l.pattern.kind||207===l.pattern.kind),u=$D(e),_=u?8:0,p=Ah(e)&&!Lh(e),f=hl(e),m=!l&&p&&!f;let h=ne,g=!1,y=!1,v=!1,b=!1;for(const n of e.properties)n.name&&VC(n.name)&&jk(n.name);let E=0;for(const t of e.properties){let i=$o(t);const m=t.name&&164===t.name.kind?jk(t.name):void 0;if(299===t.kind||300===t.kind||Om(t)){let o=299===t.kind?ZD(t,n):300===t.kind?QD(!r&&t.objectAssignmentInitializer?t.objectAssignmentInitializer:t.name,n):eO(t,n);if(p){const e=Tc(t);e?(UE(o,e,t),o=e):f&&f.typeExpression&&UE(o,Lb(f.typeExpression),t)}h|=458752&qE(o);const s=m&&Fd(m)?m:void 0,c=s?va(4|i.flags,qd(s),4096|_):va(4|i.flags,i.escapedName,_);if(s&&(c.links.nameType=s),r)(299===t.kind&&Pk(t.initializer)||300===t.kind&&t.objectAssignmentInitializer)&&(c.flags|=16777216);else if(d&&!(512&qE(l))){const e=V_(l,i.escapedName);e?c.flags|=16777216&e.flags:x.suppressExcessPropertyErrors||X_(l,Dn)||_a(t.name,Vo.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,Fs(i),Bs(l))}if(c.declarations=i.declarations,c.parent=i.parent,i.valueDeclaration&&(c.valueDeclaration=i.valueDeclaration),c.links.type=o,c.links.target=i,i=c,null==a||a.set(c.escapedName,c),l&&n&&2&n&&!(4&n)&&(299===t.kind||171===t.kind)&&EE(t)){const n=mk(e);Nt.assert(n),VS(n,299===t.kind?t.initializer:t,o)}}else{if(301===t.kind){L<2&&$F(t,2),s.length>0&&(c=qv(c,T(),e.symbol,h,u),s=[],o=op(),y=!1,v=!1,b=!1);const n=P_(uO(t.expression));if(eI(n)){const r=Vv(n,u);if(a&&oI(r,a,t),E=s.length,uc(c))continue;c=qv(c,r,e.symbol,h,u)}else _a(t,Vo.Spread_types_may_only_be_created_from_object_types),c=mn;continue}Nt.assert(174===t.kind||175===t.kind),KP(t)}!m||8576&m.flags?o.set(i.escapedName,i):RE(m,Zn)&&(RE(m,On)?v=!0:RE(m,Kn)?b=!0:y=!0,r&&(g=!0)),s.push(i)}if(pk(),d){const n=Rc(l.pattern.parent,(e=>257===e.kind||223===e.kind||166===e.kind));if(301!==Rc(e,(e=>e===n||301===e.kind)).kind)for(const e of f_(l))o.get(e.escapedName)||V_(c,e.escapedName)||(16777216&e.flags||_a(e.valueDeclaration||(null==(t=En(e,sp))?void 0:t.links.bindingElement),Vo.Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value),o.set(e.escapedName,e),s.push(e))}return uc(c)?mn:c!==bt?(s.length>0&&(c=qv(c,T(),e.symbol,h,u),s=[],o=op(),y=!1,v=!1),LL(c,(e=>e===bt?T():e))):T();function T(){const n=[];y&&n.push(Jk(e,E,s,Dn)),v&&n.push(Jk(e,E,s,On)),b&&n.push(Jk(e,E,s,Kn));const t=ys(e.symbol,o,i,i,n);return t.objectFlags|=131200|h,m&&(t.objectFlags|=4096),g&&(t.objectFlags|=512),r&&(t.pattern=e),t}}(e,t);case 208:return hw(e,t);case 163:return gw(e,t);case 209:return function(e,n){return 32&e.flags?function(e,n){const t=uO(e.expression),r=zx(t,e.expression);return qx(yR(e,uw(r,e.expression),n),e,r!==t)}(e,n):yR(e,ew(e.expression),n)}(e,t);case 210:if(100===e.expression.kind)return function(e){if(function(e){if(x.verbatimModuleSyntax&&1===k)return LG(e,Vo.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled);if(5===k)return LG(e,Vo.Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node16_or_nodenext);if(e.typeArguments)return LG(e,Vo.This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments);const n=e.arguments;if(99!==k&&199!==k&&100!==k&&(nG(n),n.length>1))return LG(n[1],Vo.Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_or_nodenext);if(0===n.length||n.length>2)return LG(e,Vo.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments);const t=D(n,Yk);t&&LG(t,Vo.Argument_of_dynamic_import_cannot_be_spread_element)}(e),0===e.arguments.length)return lD(e,un);const n=e.arguments[0],t=qD(n),r=e.arguments.length>1?qD(e.arguments[1]):void 0;for(let n=2;n<e.arguments.length;++n)qD(e.arguments[n]);if((32768&t.flags||65536&t.flags||!RE(t,Dn))&&_a(n,Vo.Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0,Bs(t)),r){const n=ym(!0);n!==bt&&UE(r,Ux(n,32768),e.arguments[1])}const i=Oo(e,n);if(i){const t=Bo(i,n,!0,!1);if(t)return lD(e,AN(bl(t),t,i,n)||LN(bl(t),t,i,n))}return lD(e,un)}(e);case 211:return function(e,n){var t,r,a;iG(e,e.typeArguments);const o=hN(e,void 0,n);if(o===$r)return zn;if(EN(o,e),106===e.expression.kind)return Wn;if(211===e.kind){const n=o.declaration;if(n&&173!==n.kind&&177!==n.kind&&182!==n.kind&&(!Kw(n)||173!==(null==(r=null==(t=Gg(n))?void 0:t.parent)?void 0:r.kind))&&!bg(n)&&!gN(n))return Y&&_a(e,Vo.new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type),un}if(Ah(e)&&100!==jT(x)&&CN(e))return bp(e.arguments[0]);const s=Sp(o);if(12288&s.flags&&xN(e))return Eb(zg(e.parent));if(210===e.kind&&!e.questionDotToken&&241===e.parent.kind&&16384&s.flags&&Tp(o))if(Wb(e.expression)){if(!UL(e)){const n=_a(e.expression,Vo.Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation);BL(e.expression,n)}}else _a(e.expression,Vo.Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name);if(Ah(e)){const n=bN(e,!1);if(null==(a=null==n?void 0:n.exports)?void 0:a.size){const e=ys(n,n.exports,i,i,i);return e.objectFlags|=4096,Wg([s,e])}}return s}(e,t);case 212:return function(e){(function(e){return!!(e.questionDotToken||32&e.flags)&&LG(e.template,Vo.Tagged_template_expressions_are_not_permitted_in_an_optional_chain)})(e)||iG(e,e.typeArguments),L<2&&$F(e,262144);const n=hN(e);return EN(n,e),Sp(n)}(e);case 214:return function(e,n){if(Xu(e)){if(YS(e))return NN(e.expression,$S(e),n);if(UR(e)){const t=VR(e);return IN(t,t,e.expression,n)}}return uO(e.expression,n)}(e,t);case 228:return function(e){return fP(e),KP(e),function(e){var n;if(e.name)return;const t=KR(e);if(!Vy(t))return;let r;r=!I&&L<99&&uh(!1,e)?null!=(n=De(zc(e)))?n:e:pP(e),r&&($F(r,8388608),(bw(t)||qC(t)||kk(t))&&VC(t.name)&&$F(r,16777216))}(e),bl($o(e))}(e);case 215:case 216:return yD(e,t);case 218:return function(e){return uO(e.expression),Yi}(e);case 213:case 231:return function(e){if(213===e.kind){const n=Ip(e);n&&ro(n.fileName,[".cts",".mts"])&&LG(e,Vo.This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead)}return IN(e,e.type,e.expression)}(e);case 232:return function(e){return 32&e.flags?function(e){const n=uO(e.expression),t=zx(n,e.expression);return qx(jx(t),e,t!==n)}(e):jx(uO(e.expression))}(e);case 230:return wN(e);case 235:return function(e){return VP(e.type),NN(e.expression,e.type)}(e);case 233:return function(e){return function(e){const n=e.name.escapedText;switch(e.keywordToken){case 103:if("target"!==n)return LG(e.name,Vo._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2,e.name.escapedText,us(e.keywordToken),"target");break;case 100:"meta"!==n&&LG(e.name,Vo._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2,e.name.escapedText,us(e.keywordToken),"meta")}}(e),103===e.keywordToken?ON(e):100===e.keywordToken?function(e){100===k||199===k?99!==Ip(e).impliedNodeFormat&&_a(e,Vo.The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output):k<6&&4!==k&&_a(e,Vo.The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_or_nodenext);const n=Ip(e);return Nt.assert(!!(4194304&n.flags),"Containing file is missing import meta node flag."),"meta"===e.name.escapedText?hm():mn}(e):Nt.assertNever(e.keywordToken)}(e);case 217:return function(e){uO(e.expression);const n=Yg(e.expression);if(!eT(n))return _a(n,Vo.The_operand_of_a_delete_operator_must_be_a_property_reference),Hn;Rk(n)&&LC(n.name)&&_a(n,Vo.The_operand_of_a_delete_operator_cannot_be_a_private_identifier);const t=is(Ra(n).resolvedSymbol);return t&&(xD(t)&&_a(n,Vo.The_operand_of_a_delete_operator_cannot_be_a_read_only_property),function(e,n){const t=bl(n);!F||131075&t.flags||(te?16777216&n.flags:16777216&JA(t))||_a(e,Vo.The_operand_of_a_delete_operator_must_be_optional)}(n,t)),Hn}(e);case 219:return function(e){return uO(e.expression),Ln}(e);case 220:return function(e){l((()=>function(e){const n=zm(e);if(n&&XC(n))_a(e,Vo.Await_expression_cannot_be_used_inside_a_class_static_block);else if(!(32768&e.flags))if(Ym(e)){const n=Ip(e);if(!xG(n)){let t;if(!Sf(n,x)){null!=t||(t=Zf(n,e.pos));const r=ST(n,t.start,t.length,Vo.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);Ji.add(r)}switch(k){case 100:case 199:if(1===n.impliedNodeFormat){null!=t||(t=Zf(n,e.pos)),Ji.add(ST(n,t.start,t.length,Vo.The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level));break}case 7:case 99:case 4:if(L>=4)break;default:null!=t||(t=Zf(n,e.pos)),Ji.add(ST(n,t.start,t.length,Vo.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher))}}}else{const t=Ip(e);if(!xG(t)){const r=Zf(t,e.pos),i=ST(t,r.start,r.length,Vo.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules);n&&173!==n.kind&&0==(2&Sy(n))&&iS(i,Hf(n,Vo.Did_you_mean_to_mark_this_function_as_async)),Ji.add(i)}}bC(e)&&_a(e,Vo.await_expressions_cannot_be_used_in_a_parameter_initializer)}(e)));const n=uO(e.expression),t=MO(n,!0,e,Vo.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);return t!==n||uc(t)||3&n.flags||pa(!1,Hf(e,Vo.await_has_no_effect_on_the_type_of_this_expression)),t}(e);case 221:return function(e){const n=uO(e.operand);if(n===zn)return zn;switch(e.operand.kind){case 8:switch(e.operator){case 40:return nb(ab(-e.operand.text));case 39:return nb(ab(+e.operand.text))}break;case 9:if(40===e.operator)return nb(ob({negative:!0,base10Value:dS(e.operand.text)}))}switch(e.operator){case 39:case 40:case 54:return uw(n,e.operand),ID(n,12288)&&_a(e.operand,Vo.The_0_operator_cannot_be_applied_to_type_symbol,us(e.operator)),39===e.operator?(ID(n,2112)&&_a(e.operand,Vo.Operator_0_cannot_be_applied_to_type_1,us(e.operator),Bs(Lx(n))),On):CD(n);case 53:wM(e.operand);const t=12582912&JA(n);return 4194304===t?Fn:8388608===t?Bn:Hn;case 45:case 46:return vD(e.operand,uw(n,e.operand),Vo.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&AD(e.operand,Vo.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,Vo.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),CD(n)}return mn}(e);case 222:return function(e){const n=uO(e.operand);return n===zn?zn:(vD(e.operand,uw(n,e.operand),Vo.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&AD(e.operand,Vo.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,Vo.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),CD(n))}(e);case 223:return ae(e,t);case 224:return function(e,n){const t=wM(e.condition);return kM(e.condition,t,e.whenTrue),Sg([uO(e.whenTrue,n),uO(e.whenFalse,n)],2)}(e,t);case 227:return function(e,n){return L<2&&$F(e,x.downlevelIteration?1536:1024),DM(33,uO(e.expression,n),An,e.expression)}(e,t);case 229:return Ln;case 226:return function(e){l((function(){8192&e.flags||SG(e,Vo.A_yield_expression_is_only_allowed_in_a_generator_body),bC(e)&&_a(e,Vo.yield_expressions_cannot_be_used_in_a_parameter_initializer)}));const n=Hm(e);if(!n)return un;const t=Sy(n);if(!(1&t))return un;const r=0!=(2&t);e.asteriskToken&&(r&&L<99&&$F(e,26624),!r&&L<2&&x.downlevelIteration&&$F(e,256));const i=Ap(n),a=i&&tP(i,r),o=a&&a.yieldType||un,s=a&&a.nextType||un,c=r?UO(s)||un:s,d=e.expression?uO(e.expression):Ln,u=_D(e,d,c,r);if(i&&u&&VE(u,o,e.expression||e,e.expression),e.asteriskToken)return MM(r?19:17,1,d,e.expression)||un;if(i)return nP(2,i,r)||un;let _=EC(2,n);return _||(_=un,l((()=>{if(Y&&!kS(e)){const n=BC(e,void 0);n&&!dc(n)||_a(e,Vo.yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation)}}))),_}(e);case 234:return function(e){return e.isSpread?pv(e.type,On):e.type}(e);case 291:return function(e,n){if(function(e){e.expression&&BR(e.expression)&&LG(e.expression,Vo.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array)}(e),e.expression){const t=uO(e.expression,n);return e.dotDotDotToken&&t!==un&&!cx(t)&&_a(e,Vo.JSX_spread_child_must_be_an_array_type),t}return mn}(e,t);case 281:case 282:return function(e,n){return KP(e),AI(e)||un}(e);case 285:return function(e){CI(e.openingFragment);const n=Ip(e);return!_x(x)||!x.jsxFactory&&!n.pragmas.has("jsx")||x.jsxFragmentFactory||n.pragmas.has("jsxfrag")||_a(e,x.jsxFactory?Vo.The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:Vo.An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments),aI(e),AI(e)||un}(e);case 289:return function(e,n){return function(e,n){const t=e.attributes,r=BC(t,0),a=F?op():void 0;let o,s=op(),c=Tt,l=!1,d=!1,u=2048;const _=bI(mI(e));for(const e of t.properties){const i=e.symbol;if(_w(e)){const t=iI(e,n);u|=458752&qE(t);const o=va(4|i.flags,i.escapedName);if(o.declarations=i.declarations,o.parent=i.parent,i.valueDeclaration&&(o.valueDeclaration=i.valueDeclaration),o.links.type=t,o.links.target=i,s.set(o.escapedName,o),null==a||a.set(o.escapedName,o),e.name.escapedText===_&&(d=!0),r){const n=V_(r,i.escapedName);n&&n.declarations&&ga(n)&&ya(e.name,n.declarations,e.name.escapedText)}}else{Nt.assert(290===e.kind),s.size>0&&(c=qv(c,f(),t.symbol,u,!1),s=op());const r=P_(qD(e.expression,n));dc(r)&&(l=!0),eI(r)?(c=qv(c,r,t.symbol,u,!1),a&&oI(r,a,e)):(_a(e.expression,Vo.Spread_types_may_only_be_created_from_object_types),o=o?Wg([o,r]):r)}}l||s.size>0&&(c=qv(c,f(),t.symbol,u,!1));const p=281===e.parent.kind?e.parent:void 0;if(p&&p.openingElement===e&&p.children.length>0){const r=aI(p,n);if(!l&&_&&""!==_){d&&_a(t,Vo._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,Mc(_));const n=MC(e.attributes,void 0),a=n&&IC(n,_),o=va(4,_);o.links.type=1===r.length?r[0]:a&&EL(a,bx)?Mh(r):dh(Sg(r)),o.valueDeclaration=pA.createPropertySignature(void 0,Mc(_),void 0,void 0),xS(o.valueDeclaration,t),o.valueDeclaration.symbol=o;const s=op();s.set(_,o),c=qv(c,ys(t.symbol,s,i,i,i),t.symbol,u,!1)}}return l?un:o&&c!==Tt?Wg([o,c]):o||(c===Tt?f():c);function f(){u|=ne;const e=ys(t.symbol,s,i,i,i);return e.objectFlags|=131200|u,e}}(e.parent,n)}(e,t);case 283:Nt.fail("Shouldn't ever directly check a JsxOpeningElement")}return mn}(e,t,r),u=nO(e,d,t);return OD(u)&&function(e,n){208===e.parent.kind&&e.parent.expression===e||209===e.parent.kind&&e.parent.expression===e||(79===e.kind||163===e.kind)&&eF(e)||183===e.parent.kind&&e.parent.exprName===e||278===e.parent.kind||_a(e,Vo.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),WT(x)&&(Nt.assert(!!(128&n.symbol.flags)),16777216&n.symbol.valueDeclaration.flags&&_a(e,Vo.Cannot_access_ambient_const_enums_when_0_is_enabled,ye))}(e,u),a=c,null==(s=Vr)||s.pop(),u}function _O(e){ZF(e),e.expression&&SG(e.expression,Vo.Type_expected),VP(e.constraint),VP(e.default);const n=dd($o(e));T_(n),function(e){return L_(e)!==Rt}(n)||_a(e.default,Vo.Type_parameter_0_has_a_circular_default,Bs(n));const t=h_(n),r=C_(n);t&&r&&UE(r,$d(hE(t,Vb(n,r)),r),e.default,Vo.Type_0_does_not_satisfy_the_constraint_1),KP(e),l((()=>lP(e.name,Vo.Type_parameter_name_cannot_be_0)))}function pO(e){ZF(e),xM(e);const n=Hm(e);db(e,16476)&&(173===n.kind&&Gp(n.body)||_a(e,Vo.A_parameter_property_is_only_allowed_in_a_constructor_implementation),173===n.kind&&AC(e.name)&&"constructor"===e.name.escapedText&&_a(e.name,Vo.constructor_cannot_be_used_as_a_parameter_property_name)),!e.initializer&&JS(e)&&Kd(e.name)&&n.body&&_a(e,Vo.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature),e.name&&AC(e.name)&&("this"===e.name.escapedText||"new"===e.name.escapedText)&&(0!==n.parameters.indexOf(e)&&_a(e,Vo.A_0_parameter_must_be_the_first_parameter,e.name.escapedText),173!==n.kind&&177!==n.kind&&182!==n.kind||_a(e,Vo.A_constructor_cannot_have_a_this_parameter),216===n.kind&&_a(e,Vo.An_arrow_function_cannot_have_a_this_parameter),174!==n.kind&&175!==n.kind||_a(e,Vo.get_and_set_accessors_cannot_declare_this_parameters)),!e.dotDotDotToken||Kd(e.name)||RE(P_(bl(e.symbol)),tr)||_a(e,Vo.A_rest_parameter_must_be_of_an_array_type)}function fO(e,n,t){for(const r of e.elements){if(Qk(r))continue;const e=r.name;if(79===e.kind&&e.escapedText===t)return _a(n,Vo.A_type_predicate_cannot_reference_element_0_in_a_binding_pattern,t),!0;if((204===e.kind||203===e.kind)&&fO(e,n,t))return!0}}function mO(e){178===e.kind?function(e){ZF(e)||function(e){const n=e.parameters[0];if(1!==e.parameters.length)return LG(n?n.name:e,Vo.An_index_signature_must_have_exactly_one_parameter);if(nG(e.parameters,Vo.An_index_signature_cannot_have_a_trailing_comma),n.dotDotDotToken)return LG(n.dotDotDotToken,Vo.An_index_signature_cannot_have_a_rest_parameter);if(sb(n))return LG(n.name,Vo.An_index_signature_parameter_cannot_have_an_accessibility_modifier);if(n.questionToken)return LG(n.questionToken,Vo.An_index_signature_parameter_cannot_have_a_question_mark);if(n.initializer)return LG(n.name,Vo.An_index_signature_parameter_cannot_have_an_initializer);if(!n.type)return LG(n.name,Vo.An_index_signature_parameter_must_have_a_type_annotation);const t=Lb(n.type);EL(t,(e=>!!(8576&e.flags)))||ev(t)?LG(n.name,Vo.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead):TL(t,qp)?e.type||LG(e,Vo.An_index_signature_must_have_a_type_annotation):LG(n.name,Vo.An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type)}(e)}(e):181!==e.kind&&259!==e.kind&&182!==e.kind&&176!==e.kind&&173!==e.kind&&177!==e.kind||rG(e);const n=Sy(e);4&n||(3==(3&n)&&L<99&&$F(e,6144),2==(3&n)&&L<4&&$F(e,64),0!=(3&n)&&L<2&&$F(e,128)),dP(Rl(e)),function(e){const n=j(Al(e),iR);if(!S(n))return;const t=Ah(e),r=new Set,i=new Set;A(e.parameters,(({name:e},n)=>{AC(e)&&r.add(e.escapedText),Kd(e)&&i.add(n)}));if(gp(e)){const e=n.length-1,a=n[e];t&&a&&AC(a.name)&&a.typeExpression&&a.typeExpression.type&&!r.has(a.name.escapedText)&&!i.has(e)&&!cx(Lb(a.typeExpression.type))&&_a(a.name,Vo.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type,Pc(a.name))}else A(n,(({name:e,isNameFirst:n},a)=>{i.has(a)||AC(e)&&r.has(e.escapedText)||(UC(e)?t&&_a(e,Vo.Qualified_name_0_is_not_allowed_without_a_leading_param_object_1,jf(e),jf(e.left)):n||fa(t,e,Vo.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name,Pc(e)))}))}(e),A(e.parameters,pO),e.type&&VP(e.type),l((function(){!function(e){L>=2||!i_(e)||16777216&e.flags||Fp(e.body)||A(e.parameters,(e=>{e.name&&!Kd(e.name)&&e.name.escapedText===he.escapedName&&da("noEmit",e,Vo.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters)}))}(e);const n=Yv(e);if(Y&&!n)switch(e.kind){case 177:_a(e,Vo.Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);break;case 176:_a(e,Vo.Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type)}if(n){const t=Sy(e);if(1==(5&t)){const e=Lb(n);if(e===Wn)_a(n,Vo.A_generator_cannot_have_a_void_type_annotation);else{const r=nP(0,e,0!=(2&t))||un;UE(uD(r,nP(1,e,0!=(2&t))||r,nP(2,e,0!=(2&t))||xn,!!(2&t)),e,n)}}else 2==(3&t)&&function(e,n){const t=Lb(n);if(L>=2){if(uc(t))return;const e=Fm(!0);if(e!==kt&&!Sl(t,e))return void _a(n,Vo.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0,Bs(VO(t)||Wn))}else{if(function(e){zO(e&&ah(e),!1)}(n),uc(t))return;const r=ah(n);if(void 0===r)return void _a(n,Vo.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,Bs(t));const i=No(r,111551,!0),a=i?bl(i):mn;if(uc(a))return void(79===r.kind&&"Promise"===r.escapedText&&Ll(t)===Fm(!1)?_a(n,Vo.An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option):_a(n,Vo.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,jf(r)));const o=(!0,ur||(ur=mm("PromiseConstructorLike",0,true))||bt);if(o===bt)return void _a(n,Vo.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,jf(r));if(!UE(a,o,n,Vo.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;const s=r&&Kb(r),c=Da(e.locals,s.escapedText,111551);if(c)return void _a(c.valueDeclaration,Vo.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,Pc(s),jf(r))}MO(t,!1,e,Vo.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}(e,n)}178!==e.kind&&320!==e.kind&&nM(e)}))}function hO(e){const n=new Map;for(const t of e.members)if(168===t.kind){let e;const r=t.name;switch(r.kind){case 10:case 8:e=r.text;break;case 79:e=Pc(r);break;default:continue}n.get(e)?(_a(Wc(t.symbol.valueDeclaration),Vo.Duplicate_identifier_0,e),_a(t.name,Vo.Duplicate_identifier_0,e)):n.set(e,!0)}}function gO(e){if(261===e.kind){const n=$o(e);if(n.declarations&&n.declarations.length>0&&n.declarations[0]!==e)return}const n=Vp($o(e));if(null==n?void 0:n.declarations){const e=new Map;for(const t of n.declarations)1===t.parameters.length&&t.parameters[0].type&&vL(Lb(t.parameters[0].type),(n=>{const r=e.get(ig(n));r?r.declarations.push(t):e.set(ig(n),{type:n,declarations:[t]})}));e.forEach((e=>{if(e.declarations.length>1)for(const n of e.declarations)_a(n,Vo.Duplicate_index_signature_for_type_0,Bs(e.type))}))}}function yO(e){ZF(e)||function(e){if(VC(e.name)&&qk(e.name.expression)&&101===e.name.expression.operatorToken.kind)return LG(e.parent.members[0],Vo.A_mapped_type_may_not_declare_properties_or_methods);if(Dd(e.parent)){if(cC(e.name)&&"constructor"===e.name.text)return LG(e.name,Vo.Classes_may_not_have_a_field_named_constructor);if(mG(e.name,Vo.A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type))return!0;if(L<2&&LC(e.name))return LG(e.name,Vo.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(L<2&&Md(e))return LG(e.name,Vo.Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(Md(e)&&uG(e.questionToken,Vo.An_accessor_property_cannot_be_declared_optional))return!0}else if(261===e.parent.kind){if(mG(e.name,Vo.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type))return!0;if(Nt.assertNode(e,WC),e.initializer)return LG(e.initializer,Vo.An_interface_property_cannot_have_an_initializer)}else if(sk(e.parent)){if(mG(e.name,Vo.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type))return!0;if(Nt.assertNode(e,WC),e.initializer)return LG(e.initializer,Vo.A_type_literal_property_cannot_have_an_initializer)}if(16777216&e.flags&&yG(e),qC(e)&&e.exclamationToken&&(!Dd(e.parent)||!e.type||e.initializer||16777216&e.flags||ub(e)||fb(e))){const n=e.initializer?Vo.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:e.type?Vo.A_definite_assignment_assertion_is_not_permitted_in_this_context:Vo.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations;return LG(e.exclamationToken,n)}}(e)||cG(e.name),xM(e),vO(e),db(e,256)&&169===e.kind&&e.initializer&&_a(e,Vo.Property_0_cannot_have_an_initializer_because_it_is_marked_abstract,Ff(e.name))}function vO(e){if(LC(e.name)&&L<99){for(let n=Mf(e);n;n=Mf(n))Ra(n).flags|=4194304;if($k(e.parent)){const n=iC(e.parent);n&&(Ra(e.name).flags|=32768,Ra(n).flags|=4096)}}}function bO(e){return 106===e.kind||108===e.kind||!Xm(e)&&!!ED(e,bO)}function EO(e){AC(e.name)&&"constructor"===Pc(e.name)&&_a(e.name,Vo.Class_constructor_may_not_be_an_accessor),l((function(){if(rG(e)||function(e){if(!(16777216&e.flags)&&184!==e.parent.kind&&261!==e.parent.kind){if(L<1)return LG(e.name,Vo.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher);if(L<2&&LC(e.name))return LG(e.name,Vo.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(void 0===e.body&&!db(e,256))return AG(e,e.end-1,1,Vo._0_expected,"{")}if(e.body){if(db(e,256))return LG(e,Vo.An_abstract_accessor_cannot_have_an_implementation);if(184===e.parent.kind||261===e.parent.kind)return LG(e.body,Vo.An_implementation_cannot_be_declared_in_ambient_contexts)}if(e.typeParameters)return LG(e.name,Vo.An_accessor_cannot_have_type_parameters);if(!function(e){return fG(e)||e.parameters.length===(174===e.kind?0:1)}(e))return LG(e.name,174===e.kind?Vo.A_get_accessor_cannot_have_parameters:Vo.A_set_accessor_must_have_exactly_one_parameter);if(175===e.kind){if(e.type)return LG(e.name,Vo.A_set_accessor_cannot_have_a_return_type_annotation);const n=Nt.checkDefined(Uv(e),"Return value does not match parameter count assertion.");if(n.dotDotDotToken)return LG(n.dotDotDotToken,Vo.A_set_accessor_cannot_have_rest_parameter);if(n.questionToken)return LG(n.questionToken,Vo.A_set_accessor_cannot_have_an_optional_parameter);if(n.initializer)return LG(e.name,Vo.A_set_accessor_parameter_cannot_have_an_initializer)}return!1}(e)||cG(e.name),QO(e),mO(e),174===e.kind&&!(16777216&e.flags)&&Gp(e.body)&&256&e.flags&&(512&e.flags||_a(e.name,Vo.A_get_accessor_must_return_a_value)),164===e.name.kind&&jk(e.name),Hd(e)){const n=$o(e),t=ip(n,174),r=ip(n,175);if(t&&r&&!(1&wF(t))){Ra(t).flags|=1;const e=Tb(t),n=Tb(r);(256&e)!=(256&n)&&(_a(t.name,Vo.Accessors_must_both_be_abstract_or_non_abstract),_a(r.name,Vo.Accessors_must_both_be_abstract_or_non_abstract)),(16&e&&!(24&n)||8&e&&!(8&n))&&(_a(t.name,Vo.A_get_accessor_must_be_at_least_as_accessible_as_the_setter),_a(r.name,Vo.A_get_accessor_must_be_at_least_as_accessible_as_the_setter));const i=cl(t),a=cl(r);i&&a&&UE(i,a,t,Vo.The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type)}}const n=ll($o(e));174===e.kind&&gD(e,n)})),VP(e.body),vO(e)}function TO(e,n,t){return e.typeArguments&&t<e.typeArguments.length?Lb(e.typeArguments[t]):xO(e,n)[t]}function xO(e,n){return dp(W(e.typeArguments,Lb),n,lp(n),Ah(e))}function SO(e,n){let t,r,i=!0;for(let a=0;a<n.length;a++){const o=h_(n[a]);o&&(t||(t=xO(e,n),r=Fb(n,t)),i=i&&UE(t[a],hE(o,r),e.typeArguments[a],Vo.Type_0_does_not_satisfy_the_constraint_1))}return i}function AO(e){const n=Lb(e);if(!uc(n)){const t=Ra(e).resolvedSymbol;if(t)return function(e,n){if(!uc(e))return 524288&n.flags&&wa(n).typeParameters||(4&qE(e)?e.target.localTypeParameters:void 0)}(n,t)}}function LO(e){if(iG(e,e.typeArguments),180===e.kind&&!Ah(e)&&!kh(e)&&e.typeArguments&&e.typeName.end!==e.typeArguments.pos){const n=Ip(e);24===em(n,e.typeName.end)&&AG(e,ks(n.text,e.typeName.end),1,Vo.JSDoc_types_can_only_be_used_inside_documentation_comments)}A(e.typeArguments,VP),CO(e)}function CO(e){if(!uc(Lb(e))){e.typeArguments&&l((()=>{const n=AO(e);n&&SO(e,n)}));const n=Ra(e).resolvedSymbol;n&&ce(n.declarations,(e=>jS(e)&&!!(268435456&e.flags)))&&ya(TN(e),n.declarations,n.escapedName)}}function kO(e,n){if(!(8388608&e.flags))return e;const t=e.objectType,r=e.indexType;if(RE(r,xy(t,!1)))return 209===n.kind&&jg(n)&&32&qE(t)&&1&Wu(t)&&_a(n,Vo.Index_signature_in_type_0_only_permits_reading,Bs(t)),e;const i=w_(t);if(X_(i,On)&&RD(r,296))return e;if(rv(t)){const e=Jy(r,n);if(e){const t=vL(i,(n=>V_(n,e)));if(t&&24&OE(t))return _a(n,Vo.Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter,Mc(e)),mn}}return _a(n,Vo.Type_0_cannot_be_used_to_index_type_1,Bs(r),Bs(t)),mn}function IO(e){return(lb(e,8)||hd(e))&&!!(16777216&e.flags)}function wO(e,n){let t=Lc(e);return 261!==e.parent.kind&&260!==e.parent.kind&&228!==e.parent.kind&&16777216&e.flags&&(2&t||PI(e.parent)&&MI(e.parent.parent)&&bf(e.parent.parent)||(t|=1),t|=2),t&n}function RO(e){l((()=>function(e){function n(e,n){return void 0!==n&&n.parent===e[0].parent?n:e[0]}let t,r,i,a=0,o=283,s=!1,c=!0,l=!1;const d=e.declarations,u=0!=(16384&e.flags);function _(e){if(e.name&&Fp(e.name))return;let n=!1;const t=ED(e.parent,(t=>{if(n)return t;n=t===e}));if(t&&t.pos===e.end&&t.kind===e.kind){const n=t.name||t,r=t.name;if(e.name&&r&&(LC(e.name)&&LC(r)&&e.name.escapedText===r.escapedText||VC(e.name)&&VC(r)||Ry(e.name)&&Ry(r)&&Dy(e.name)===Dy(r)))return void(171!==e.kind&&170!==e.kind||ub(e)===ub(t)||_a(n,ub(e)?Vo.Function_overload_must_be_static:Vo.Function_overload_must_not_be_static));if(Gp(t.body))return void _a(n,Vo.Function_implementation_name_must_be_0,Ff(e.name))}const r=e.name||e;u?_a(r,Vo.Constructor_implementation_is_missing):db(e,256)?_a(r,Vo.All_declarations_of_an_abstract_method_must_be_consecutive):_a(r,Vo.Function_implementation_is_missing_or_not_immediately_following_the_declaration)}let p=!1,f=!1,m=!1;const h=[];if(d)for(const e of d){const n=e,d=16777216&n.flags,g=n.parent&&(261===n.parent.kind||184===n.parent.kind)||d;if(g&&(i=void 0),260!==n.kind&&228!==n.kind||d||(m=!0),259===n.kind||171===n.kind||170===n.kind||173===n.kind){h.push(n);const e=wO(n,283);a|=e,o&=e,s=s||vg(n),c=c&&vg(n);const d=Gp(n.body);d&&t?u?f=!0:p=!0:(null==i?void 0:i.parent)===n.parent&&i.end!==n.pos&&_(i),d?t||(t=n):l=!0,i=n,g||(r=n)}if(Ah(e)&&Ad(e)&&e.jsDoc)for(const n of e.jsDoc)if(n.tags)for(const e of n.tags)eR(e)&&(l=!0)}if(f&&A(h,(e=>{_a(e,Vo.Multiple_constructor_implementations_are_not_allowed)})),p&&A(h,(e=>{_a(Wc(e)||e,Vo.Duplicate_function_implementation)})),m&&!u&&16&e.flags&&d){const n=j(d,(e=>260===e.kind)).map((e=>Hf(e,Vo.Consider_adding_a_declare_modifier_to_this_class)));A(d,(t=>{const r=260===t.kind?Vo.Class_declaration_cannot_implement_overload_list_for_0:259===t.kind?Vo.Function_with_bodies_can_only_merge_with_classes_that_are_ambient:void 0;r&&iS(_a(Wc(t)||t,r,Gc(e)),...n)}))}if(!r||r.body||db(r,256)||r.questionToken||_(r),l&&(d&&(function(e,t,r,i,a){if(0!=(i^a)){const i=wO(n(e,t),r);A(e,(e=>{const n=wO(e,r)^i;1&n?_a(Wc(e),Vo.Overload_signatures_must_all_be_exported_or_non_exported):2&n?_a(Wc(e),Vo.Overload_signatures_must_all_be_ambient_or_non_ambient):24&n?_a(Wc(e)||e,Vo.Overload_signatures_must_all_be_public_private_or_protected):256&n&&_a(Wc(e),Vo.Overload_signatures_must_all_be_abstract_or_non_abstract)}))}}(d,t,283,a,o),function(e,t,r,i){if(r!==i){const r=vg(n(e,t));A(e,(e=>{vg(e)!==r&&_a(Wc(e),Vo.Overload_signatures_must_all_be_optional_or_required)}))}}(d,t,s,c)),t)){const n=vp(e),r=up(t);for(const e of n)if(!aT(r,e)){iS(_a(e.declaration&&Kw(e.declaration)?e.declaration.parent.tagName:e.declaration,Vo.This_overload_signature_is_not_compatible_with_its_implementation_signature),Hf(t,Vo.The_implementation_signature_is_declared_here));break}}}(e)))}function NO(e){l((()=>function(e){let n=e.localSymbol;if(!n&&(n=$o(e),!n.exportSymbol))return;if(ip(n,e.kind)!==e)return;let t=0,r=0,i=0;for(const e of n.declarations){const n=s(e),a=wO(e,1025);1&a?1024&a?i|=n:t|=n:r|=n}const a=t&r,o=i&(t|r);if(a||o)for(const e of n.declarations){const n=s(e),t=Wc(e);n&o?_a(t,Vo.Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead,Ff(t)):n&a&&_a(t,Vo.Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local,Ff(t))}function s(e){let n=e;switch(n.kind){case 261:case 262:case 349:case 341:case 343:return 2;case 264:return ff(n)||0!==BF(n)?5:4;case 260:case 263:case 302:return 3;case 308:return 7;case 274:case 223:const e=n,t=XI(e)?e.expression:e.right;if(!Hb(t))return 1;n=t;case 268:case 271:case 270:let r=0;return A(To($o(n)).declarations,(e=>{r|=s(e)})),r;case 257:case 205:case 259:case 273:case 79:return 1;case 170:case 168:return 2;default:return Nt.failBadSyntaxKind(n)}}}(e)))}function DO(e,n,t,r){const i=OO(e,n);return i&&UO(i,n,t,r)}function OO(e,n,t){if(dc(e))return;const r=e;if(r.promisedTypeOfPromise)return r.promisedTypeOfPromise;if(Sl(e,Fm(!1)))return r.promisedTypeOfPromise=sf(e)[0];if(DD(x_(e),134479868))return;const a=lc(e,"then");if(dc(a))return;const o=a?H_(a,0):i;if(0===o.length)return void(n&&_a(n,Vo.A_promise_must_have_a_then_method));let s,c;for(const n of o){const t=Ep(n);t&&t!==Wn&&!pT(e,t,$i)?s=t:c=Te(c,n)}if(!c)return Nt.assertIsDefined(s),t&&(t.value=s),void(n&&_a(n,Vo.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1,Bs(e),Bs(s)));const l=YA(Sg(W(c,ZN)),2097152);if(dc(l))return;const d=H_(l,0);if(0!==d.length)return r.promisedTypeOfPromise=Sg(W(d,ZN),2);n&&_a(n,Vo.The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback)}function MO(e,n,t,r,i){return(n?UO(e,t,r,i):VO(e,t,r,i))||mn}function PO(e){if(DD(x_(e),134479868))return!1;const n=lc(e,"then");return!!n&&H_(YA(n,2097152),0).length>0}function FO(e){var n;if(16777216&e.flags){const t=Km(!1);return!!t&&e.aliasSymbol===t&&1===(null==(n=e.aliasTypeArguments)?void 0:n.length)}return!1}function GO(e){return 1048576&e.flags?LL(e,GO):FO(e)?e.aliasTypeArguments[0]:e}function BO(e){if(dc(e)||FO(e))return!1;if(rv(e)){const n=T_(e);if(n?3&n.flags||sT(n)||EL(n,PO):wD(e,8650752))return!0}return!1}function UO(e,n,t,r){const i=VO(e,n,t,r);return i&&function(e){if(BO(e)){const n=function(e){const n=Km(!0);if(n)return uf(n,[GO(e)])}(e);if(n)return n}return Nt.assert(FO(e)||void 0===OO(e),"type provided should not be a non-generic 'promise'-like."),e}(i)}function VO(e,n,t,r){if(dc(e))return e;if(FO(e))return e;const i=e;if(i.awaitedTypeOfType)return i.awaitedTypeOfType;if(1048576&e.flags){if(zi.lastIndexOf(e.id)>=0)return void(n&&_a(n,Vo.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method));const a=n?e=>VO(e,n,t,r):VO;zi.push(e.id);const o=LL(e,a);return zi.pop(),i.awaitedTypeOfType=o}if(BO(e))return i.awaitedTypeOfType=e;const a={value:void 0},o=OO(e,void 0,a);if(o){if(e.id===o.id||zi.lastIndexOf(o.id)>=0)return void(n&&_a(n,Vo.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method));zi.push(e.id);const a=VO(o,n,t,r);if(zi.pop(),!a)return;return i.awaitedTypeOfType=a}if(!PO(e))return i.awaitedTypeOfType=e;if(n){let i;Nt.assertIsDefined(t),a.value&&(i=kT(i,Vo.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1,Bs(e),Bs(a.value))),i=kT(i,t,r),Ji.add(qf(Ip(n),n,i))}}function jO(e){const n=hN(e);EN(n,e);const t=Sp(n);if(1&t.flags)return;const r=oD(e);if(!(null==r?void 0:r.resolvedReturnType))return;let i;const a=r.resolvedReturnType;switch(e.parent.kind){case 260:case 228:i=Vo.Decorator_function_return_type_0_is_not_assignable_to_type_1;break;case 169:if(!I){i=Vo.Decorator_function_return_type_0_is_not_assignable_to_type_1;break}case 166:i=Vo.Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any;break;case 171:case 174:case 175:i=Vo.Decorator_function_return_type_0_is_not_assignable_to_type_1;break;default:return Nt.failBadSyntaxKind(e.parent)}UE(t,a,e.expression,i)}function HO(e,n,t,r,a,o=t.length,s=0){return Zd(pA.createFunctionTypeNode(void 0,i,pA.createKeywordTypeNode(131)),e,n,t,r,a,o,s)}function KO(e,n,t,r,i,a,o){return Up(HO(e,n,t,r,i,a,o))}function WO(e){return KO(void 0,void 0,i,e)}function qO(e){return KO(void 0,void 0,[ba("value",e)],Wn)}function zO(e,n){if(!e)return;const t=Kb(e),r=2097152|(79===e.kind?788968:1920),a=Fa(t,t.escapedText,r,void 0,void 0,!0);if(a&&2097152&a.flags)if(x.verbatimModuleSyntax||!as(a)||EF(To(a))||Lo(a)){if(n&&WT(x)&&UT(x)>=5&&!as(a)&&!ce(a.declarations,ud)){const n=_a(e,Vo.A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled),r=D(a.declarations||i,Ya);r&&iS(n,Hf(r,Vo._0_was_imported_here,Pc(t)))}}else ko(a)}function JO(e){const n=XO(e);n&&Td(n)&&zO(n,!0)}function XO(e){if(e)switch(e.kind){case 190:case 189:return YO(e.types);case 191:return YO([e.trueType,e.falseType]);case 193:case 199:return XO(e.type);case 180:return e.typeName}}function YO(e){let n;for(let t of e){for(;193===t.kind||199===t.kind;)t=t.type;if(144===t.kind)continue;if(!F&&(198===t.kind&&104===t.literal.kind||155===t.kind))continue;const e=XO(t);if(!e)return;if(n){if(!AC(n)||!AC(e)||n.escapedText!==e.escapedText)return}else n=e}return n}function $O(e){const n=Jv(e);return a_(e)?xm(n):n}function QO(e){if(!(FN(e)&&yb(e)&&e.modifiers&&sh(I,e,e.parent,e.parent.parent)))return;const n=D(e.modifiers,KC);if(n){if(I?($F(n,8),166===e.kind&&$F(n,32)):L<99&&($F(n,8),RI(e)?e.name?pP(e)&&$F(n,8388608):$F(n,8388608):$k(e)||(LC(e.name)&&(JC(e)||Od(e)||Md(e))&&$F(n,8388608),VC(e.name)&&$F(n,16777216))),x.emitDecoratorMetadata)switch($F(n,16),e.kind){case 260:const n=Bv(e);if(n)for(const e of n.parameters)JO($O(e));break;case 174:case 175:const t=174===e.kind?175:174,r=ip($o(e),t);JO(sl(e)||r&&sl(r));break;case 171:for(const n of e.parameters)JO($O(n));JO(Yv(e));break;case 169:JO(Jv(e));break;case 166:JO($O(e));const i=e.parent;for(const e of i.parameters)JO($O(e))}for(const n of e.modifiers)KC(n)&&jO(n)}}function ZO(e){switch(e.kind){case 79:return e;case 208:return e.name;default:return}}function eM(e){var n;QO(e),mO(e);const t=Sy(e);if(e.name&&164===e.name.kind&&jk(e.name),Hd(e)){const t=$o(e),r=e.localSymbol||t,i=null==(n=r.declarations)?void 0:n.find((n=>n.kind===e.kind&&!(262144&n.flags)));e===i&&RO(r),t.parent&&RO(t)}const r=170===e.kind?void 0:e.body;if(VP(r),gD(e,Ap(e)),l((function(){Yv(e)||(Fp(r)&&!IO(e)&&LS(e,un),1&t&&Gp(r)&&Sp(up(e)))})),Ah(e)){const n=El(e);n&&n.typeExpression&&!Ek(Lb(n.typeExpression),e)&&_a(n.typeExpression.type,Vo.The_type_of_a_function_declaration_must_match_the_function_s_signature)}}function nM(e){l((function(){const n=Ip(e);let t=li.get(n.path);t||(t=[],li.set(n.path,t)),t.push(e)}))}function tM(e,n){for(const t of e)switch(t.kind){case 260:case 228:aM(t,n),sM(t,n);break;case 308:case 264:case 238:case 266:case 245:case 246:case 247:_M(t,n);break;case 173:case 215:case 259:case 216:case 171:case 174:case 175:t.body&&_M(t,n),sM(t,n);break;case 170:case 176:case 177:case 181:case 182:case 262:case 261:sM(t,n);break;case 192:oM(t,n);break;default:Nt.assertNever(t,"Node should not have been registered for unused identifiers check")}}function rM(e,n,t){t(e,0,Hf(Wc(e)||e,jS(e)?Vo._0_is_declared_but_never_used:Vo._0_is_declared_but_its_value_is_never_read,n))}function iM(e){return AC(e)&&95===Pc(e).charCodeAt(0)}function aM(e,n){for(const t of e.members)switch(t.kind){case 171:case 169:case 174:case 175:if(175===t.kind&&32768&t.symbol.flags)break;const e=$o(t);e.isReferenced||!(lb(t,8)||Hc(t)&&LC(t.name))||16777216&t.flags||n(t,0,Hf(t.name,Vo._0_is_declared_but_its_value_is_never_read,Fs(e)));break;case 173:for(const e of t.parameters)!e.symbol.isReferenced&&db(e,8)&&n(e,0,Hf(e.name,Vo.Property_0_is_declared_but_its_value_is_never_read,Gc(e.symbol)));break;case 178:case 237:case 172:break;default:Nt.fail("Unexpected class member")}}function oM(e,n){const{typeParameter:t}=e;cM(t)&&n(e,1,Hf(e,Vo._0_is_declared_but_its_value_is_never_read,Pc(t.name)))}function sM(e,n){const t=$o(e).declarations;if(!t||Ge(t)!==e)return;const r=Rl(e),i=new Set;for(const e of r){if(!cM(e))continue;const t=Pc(e.name),{parent:r}=e;if(192!==r.kind&&r.typeParameters.every(cM)){if(ie(i,r)){const i=Ip(r),a=cR(r)?oS(r):sS(i,r.typeParameters),o=1===r.typeParameters.length,s=o?Vo._0_is_declared_but_its_value_is_never_read:Vo.All_type_parameters_are_unused,c=o?t:void 0;n(e,1,ST(i,a.pos,a.end-a.pos,s,c))}}else n(e,1,Hf(e,Vo._0_is_declared_but_its_value_is_never_read,t))}}function cM(e){return!(262144&Yo(e.symbol).isReferenced||iM(e.name))}function lM(e,n,t,r){const i=String(r(n)),a=e.get(i);a?a[1].push(t):e.set(i,[n,[t]])}function dM(e){return En(Wy(e),HC)}function uM(e){return kk(e)?Lk(e.parent)?!(!e.propertyName||!iM(e.name)):iM(e.name):ff(e)||(kI(e)&&vu(e.parent.parent)||fM(e))&&iM(e.name)}function _M(e,n){const t=new Map,r=new Map,i=new Map;e.locals.forEach((e=>{var a;if(!(262144&e.flags?!(3&e.flags)||3&e.isReferenced:e.isReferenced||e.exportSymbol)&&e.declarations)for(const o of e.declarations)if(!uM(o))if(fM(o))lM(t,270===(a=o).kind?a:271===a.kind?a.parent:a.parent.parent,o,KG);else if(kk(o)&&Lk(o.parent))o!==Ge(o.parent.elements)&&Ge(o.parent.elements).dotDotDotToken||lM(r,o.parent,o,KG);else if(kI(o))lM(i,o.parent,o,KG);else{const t=e.valueDeclaration&&dM(e.valueDeclaration),i=e.valueDeclaration&&Wc(e.valueDeclaration);t&&i?Ec(t,t.parent)||Hv(t)||iM(i)||(kk(o)&&Ck(o.parent)?lM(r,o.parent,o,KG):n(t,1,Hf(i,Vo._0_is_declared_but_its_value_is_never_read,Gc(e)))):rM(o,Gc(e),n)}})),t.forEach((([e,t])=>{const r=e.parent;if((e.name?1:0)+(e.namedBindings?271===e.namedBindings.kind?1:e.namedBindings.elements.length:0)===t.length)n(r,0,1===t.length?Hf(r,Vo._0_is_declared_but_its_value_is_never_read,Pc(Me(t).name)):Hf(r,Vo.All_imports_in_import_declaration_are_unused));else for(const e of t)rM(e,Pc(e.name),n)})),r.forEach((([e,t])=>{const r=dM(e.parent)?1:0;if(e.elements.length===t.length)1===t.length&&257===e.parent.kind&&258===e.parent.parent.kind?lM(i,e.parent.parent,e.parent,KG):n(e,r,1===t.length?Hf(e,Vo._0_is_declared_but_its_value_is_never_read,pM(Me(t).name)):Hf(e,Vo.All_destructured_elements_are_unused));else for(const e of t)n(e,r,Hf(e,Vo._0_is_declared_but_its_value_is_never_read,pM(e.name)))})),i.forEach((([e,t])=>{if(e.declarations.length===t.length)n(e,0,1===t.length?Hf(Me(t).name,Vo._0_is_declared_but_its_value_is_never_read,pM(Me(t).name)):Hf(240===e.parent.kind?e.parent:e,Vo.All_variables_are_unused));else for(const e of t)n(e,0,Hf(e,Vo._0_is_declared_but_its_value_is_never_read,pM(e.name)))}))}function pM(e){switch(e.kind){case 79:return Pc(e);case 204:case 203:return pM(Tn(Me(e.elements),kk).name);default:return Nt.assertNever(e)}}function fM(e){return 270===e.kind||273===e.kind||271===e.kind}function mM(e){if(238===e.kind&&wG(e),Rd(e)){const n=pi;A(e.statements,VP),pi=n}else A(e.statements,VP);e.locals&&nM(e)}function hM(e,n,t){if((null==n?void 0:n.escapedText)!==t)return!1;if(169===e.kind||168===e.kind||171===e.kind||170===e.kind||174===e.kind||175===e.kind||299===e.kind)return!1;if(16777216&e.flags)return!1;if((VI(e)||BI(e)||JI(e))&&ud(e))return!1;const r=Wy(e);return!HC(r)||!Fp(r.parent.body)}function gM(e){Rc(e,(n=>!!(4&wF(n))&&(79!==e.kind?_a(Wc(e),Vo.Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference):_a(e,Vo.Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference),!0)))}function yM(e){Rc(e,(n=>!!(8&wF(n))&&(79!==e.kind?_a(Wc(e),Vo.Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference):_a(e,Vo.Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference),!0)))}function vM(e){4194304&wF(Mf(e))&&(Nt.assert(Hc(e)&&AC(e.name)&&"string"==typeof e.name.escapedText,"The target of a WeakMap/WeakSet collision check should be an identifier"),da("noEmit",e,Vo.Compiler_reserves_name_0_when_emitting_private_identifier_downlevel,e.name.escapedText))}function bM(e){let n=!1;if($k(e)){for(const t of e.members)if(8388608&wF(t)){n=!0;break}}else if(Gk(e))8388608&wF(e)&&(n=!0);else{const t=Mf(e);t&&8388608&wF(t)&&(n=!0)}n&&(Nt.assert(Hc(e)&&AC(e.name),"The target of a Reflect collision check should be an identifier"),da("noEmit",e,Vo.Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers,Ff(e.name),"Reflect"))}function EM(e,n){n&&(function(e,n){if(k>=5&&!(k>=100&&1===Ip(e).impliedNodeFormat))return;if(!n||!hM(e,n,"require")&&!hM(e,n,"exports"))return;if(MI(e)&&1!==BF(e))return;const t=cc(e);308===t.kind&&tm(t)&&da("noEmit",n,Vo.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,Ff(n),Ff(n))}(e,n),function(e,n){if(!n||L>=4||!hM(e,n,"Promise"))return;if(MI(e)&&1!==BF(e))return;const t=cc(e);308===t.kind&&tm(t)&&2048&t.flags&&da("noEmit",n,Vo.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,Ff(n),Ff(n))}(e,n),function(e,n){L<=8&&(hM(e,n,"WeakMap")||hM(e,n,"WeakSet"))&&Hi.push(e)}(e,n),function(e,n){n&&L>=2&&L<=8&&hM(e,n,"Reflect")&&Wi.push(e)}(e,n),Dd(e)?(lP(n,Vo.Class_name_cannot_be_0),16777216&e.flags||function(e){L>=1&&"Object"===e.escapedText&&(k<5||1===Ip(e).impliedNodeFormat)&&_a(e,Vo.Class_name_cannot_be_Object_when_targeting_ES5_with_module_0,Ki[k])}(n)):OI(e)&&lP(n,Vo.Enum_name_cannot_be_0))}function TM(e){return e===_n?un:e===nr?er:e}function xM(e){var n;if(QO(e),kk(e)||VP(e.type),!e.name)return;if(164===e.name.kind&&(jk(e.name),Qu(e)&&e.initializer&&qD(e.initializer)),kk(e)){if(e.propertyName&&AC(e.name)&&Ky(e)&&Fp(Hm(e).body))return void qi.push(e);Lk(e.parent)&&e.dotDotDotToken&&L<5&&$F(e,4),e.propertyName&&164===e.propertyName.kind&&jk(e.propertyName);const n=e.parent.parent,t=_c(n,e.dotDotDotToken?64:0),r=e.propertyName||e.name;if(t&&!Kd(r)){const i=hy(r);if(Fd(i)){const r=V_(t,qd(i));r&&(dR(r,void 0,!1),WI(e,!!n.initializer&&106===n.initializer.kind,!1,t,r))}}}if(Kd(e.name)&&(204===e.name.kind&&L<2&&x.downlevelIteration&&$F(e,512),A(e.name.elements,VP)),HC(e)&&e.initializer&&Fp(Hm(e).body))return void _a(e,Vo.A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation);if(Kd(e.name)){const n=Qu(e)&&e.initializer&&246!==e.parent.parent.kind,t=!ce(e.name.elements,vt(Qk));if(n||t){const r=tl(e);if(n){const n=qD(e.initializer);F&&t?mw(n,e):VE(n,tl(e),e,e.initializer)}t&&(Ck(e.name)?DM(65,r,An,e):F&&mw(r,e))}return}const t=$o(e);if(2097152&t.flags&&(Nh(e)||Dh(e)))return void IP(e);const r=TM(bl(t));if(e===t.valueDeclaration){const i=Qu(e)&&Bh(e);i&&(Ah(e)&&wk(i)&&(0===i.properties.length||Jb(e.name))&&(null==(n=t.exports)?void 0:n.size)||246===e.parent.parent.kind||VE(qD(i),r,e,i,void 0)),t.declarations&&t.declarations.length>1&&ce(t.declarations,(n=>n!==e&&Am(n)&&!AM(n,e)))&&_a(e.name,Vo.All_declarations_of_0_must_have_identical_modifiers,Ff(e.name))}else{const n=TM(tl(e));uc(r)||uc(n)||AE(r,n)||67108864&t.flags||SM(t.valueDeclaration,r,e,n),Qu(e)&&e.initializer&&VE(qD(e.initializer),n,e,e.initializer,void 0),t.valueDeclaration&&!AM(e,t.valueDeclaration)&&_a(e.name,Vo.All_declarations_of_0_must_have_identical_modifiers,Ff(e.name))}169!==e.kind&&168!==e.kind&&(NO(e),257!==e.kind&&205!==e.kind||function(e){if(0!=(3&kc(e))||Ky(e))return;if(257===e.kind&&!e.initializer)return;const n=$o(e);if(1&n.flags){if(!AC(e.name))return Nt.fail();const t=Fa(e,e.name.escapedText,3,void 0,void 0,!1);if(t&&t!==n&&2&t.flags&&3&HI(t)){const n=my(t.valueDeclaration,258),r=240===n.parent.kind&&n.parent.parent?n.parent.parent:void 0;if(!r||!(238===r.kind&&Ad(r.parent)||265===r.kind||264===r.kind||308===r.kind)){const n=Fs(t);_a(e,Vo.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1,n,n)}}}}(e),EM(e,e.name))}function SM(e,n,t,r){const i=Wc(t),a=169===t.kind||168===t.kind?Vo.Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:Vo.Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2,o=Ff(i),s=_a(i,a,o,Bs(n),Bs(r));e&&iS(s,Hf(e,Vo._0_was_also_declared_here,o))}function AM(e,n){return 166===e.kind&&257===n.kind||257===e.kind&&166===n.kind||vg(e)===vg(n)&&vb(e,888)===vb(n,888)}function LM(e){var n,t;null==(n=Vr)||n.push(Vr.Phase.Check,"checkVariableDeclaration",{kind:e.kind,pos:e.pos,end:e.end,path:e.tracingPath}),function(e){if(246!==e.parent.parent.kind&&247!==e.parent.parent.kind)if(16777216&e.flags)yG(e);else if(!e.initializer){if(Kd(e.name)&&!Kd(e.parent))return LG(e,Vo.A_destructuring_declaration_must_have_an_initializer);if(om(e))return LG(e,Vo.const_declarations_must_be_initialized)}if(e.exclamationToken&&(240!==e.parent.parent.kind||!e.type||e.initializer||16777216&e.flags)){const n=e.initializer?Vo.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:e.type?Vo.A_definite_assignment_assertion_is_not_permitted_in_this_context:Vo.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations;return LG(e.exclamationToken,n)}!(k<5||1===Ip(e).impliedNodeFormat)||4===k||16777216&e.parent.parent.flags||!db(e.parent.parent,1)||vG(e.name);(sm(e)||om(e))&&bG(e.name)}(e),xM(e),null==(t=Vr)||t.pop()}function CM(e){ZF(e)||EG(e.declarationList)||function(e){if(!TG(e.parent)){if(sm(e.declarationList))return LG(e,Vo.let_declarations_can_only_be_declared_inside_a_block);om(e.declarationList)&&LG(e,Vo.const_declarations_can_only_be_declared_inside_a_block)}}(e),A(e.declarationList.declarations,VP)}function kM(e,n,t){function r(e,n){for(i(e=Yg(e),n);qk(e)&&(56===e.operatorToken.kind||60===e.operatorToken.kind);)i(e=Yg(e.left),n)}function i(e,t){const i=Mb(e)?Yg(e.right):e;if(Xh(i))return;if(Mb(i))return void r(i,t);const a=i===e?n:wM(i),o=Rk(i)&&zD(i.expression);if(!(4194304&JA(a))||o)return;const s=H_(a,0),c=!!DO(a);if(0===s.length&&!c)return;const l=AC(i)?i:Rk(i)?i.name:void 0,d=l&&rF(l);if(!d&&!c)return;const u=d&&qk(e.parent)&&function(e,n){for(;qk(e)&&55===e.operatorToken.kind;){if(ED(e.right,(function e(t){if(AC(t)){const e=rF(t);if(e&&e===n)return!0}return ED(t,e)})))return!0;e=e.parent}return!1}(e.parent,d)||d&&t&&function(e,n,t,r){return!!ED(n,(function n(i){if(AC(i)){const n=rF(i);if(n&&n===r){if(AC(e)||AC(t)&&qk(t.parent))return!0;let n=t.parent,r=i.parent;for(;n&&r;){if(AC(n)&&AC(r)||108===n.kind&&108===r.kind)return rF(n)===rF(r);if(Rk(n)&&Rk(r)){if(rF(n.name)!==rF(r.name))return!1;r=r.expression,n=n.expression}else{if(!Dk(n)||!Dk(r))return!1;r=r.expression,n=n.expression}}}}return ED(i,n)}))}(e,t,l,d);u||(c?ma(i,!0,Vo.This_condition_will_always_return_true_since_this_0_is_always_defined,Vs(a)):_a(i,Vo.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead))}F&&r(e,t)}function IM(e,n){return 16384&e.flags&&_a(n,Vo.An_expression_of_type_void_cannot_be_tested_for_truthiness),e}function wM(e,n){return IM(uO(e,n),e)}function RM(e){const n=e.initializer;n.declarations.length>=1&&LM(n.declarations[0])}function NM(e){return DM(e.awaitModifier?15:13,ew(e.expression),An,e.expression)}function DM(e,n,t,r){return dc(n)?n:OM(e,n,t,r,!0)||un}function OM(e,n,t,r,i){const a=0!=(2&e);if(n===qn)return void zM(r,n,a);const o=L>=2,s=!o&&x.downlevelIteration,c=x.noUncheckedIndexedAccess&&!!(128&e);if(o||s||a){const a=UM(n,e,o?r:void 0);if(i&&a){const n=8&e?Vo.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:32&e?Vo.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:64&e?Vo.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:16&e?Vo.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;n&&UE(t,a.nextType,r,n)}if(a||o)return c?iL(a&&a.yieldType):a&&a.yieldType}let l=n,d=!1,u=!1;if(4&e){if(1048576&l.flags){const e=n.types,t=j(e,(e=>!(402653316&e.flags)));t!==e&&(l=Sg(t,2))}else 402653316&l.flags&&(l=qn);if(u=l!==n,u&&(L<1&&r&&(_a(r,Vo.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher),d=!0),131072&l.flags))return c?iL(Dn):Dn}if(!hx(l)){if(r&&!d){const t=!!(4&e)&&!u,[i,a]=function(t,r){var i;return r?t?[Vo.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0]:[Vo.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0]:MM(e,0,n,void 0)?[Vo.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher,!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!0}return!1}(null==(i=n.symbol)?void 0:i.escapedName)?[Vo.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher,!0]:t?[Vo.Type_0_is_not_an_array_type_or_a_string_type,!0]:[Vo.Type_0_is_not_an_array_type,!0]}(t,s);ma(r,a&&!!DO(l),i,Bs(l))}return u?c?iL(Dn):Dn:void 0}const _=Y_(l,On);return u&&_?402653316&_.flags&&!x.noUncheckedIndexedAccess?Dn:Sg(c?[_,Dn,An]:[_,Dn],2):128&e?iL(_):_}function MM(e,n,t,r){if(dc(t))return;const i=UM(t,e,r);return i&&i[$G(n)]}function PM(e=qn,n=qn,t=xn){if(67359327&e.flags&&180227&n.flags&&180227&t.flags){const r=$p([e,n,t]);let i=ei.get(r);return i||(i={yieldType:e,returnType:n,nextType:t},ei.set(r,i)),i}return{yieldType:e,returnType:n,nextType:t}}function FM(e){let n,t,r;for(const i of e)if(void 0!==i&&i!==ni){if(i===ti)return ti;n=Te(n,i.yieldType),t=Te(t,i.returnType),r=Te(r,i.nextType)}return n||t||r?PM(n&&Sg(n),t&&Sg(t),r&&Wg(r)):ni}function GM(e,n){return e[n]}function BM(e,n,t){return e[n]=t}function UM(e,n,t){var r,i;if(dc(e))return ti;if(!(1048576&e.flags)){const i=t?{errors:void 0}:void 0,a=jM(e,n,t,i);if(a===ni){if(t){const r=zM(t,e,!!(2&n));(null==i?void 0:i.errors)&&iS(r,...i.errors)}return}if(null==(r=null==i?void 0:i.errors)?void 0:r.length)for(const e of i.errors)Ji.add(e);return a}const a=2&n?"iterationTypesOfAsyncIterable":"iterationTypesOfIterable",o=GM(e,a);if(o)return o===ni?void 0:o;let s;for(const r of e.types){const o=t?{errors:void 0}:void 0,c=jM(r,n,t,o);if(c===ni){if(t){const r=zM(t,e,!!(2&n));(null==o?void 0:o.errors)&&iS(r,...o.errors)}return void BM(e,a,ni)}if(null==(i=null==o?void 0:o.errors)?void 0:i.length)for(const e of o.errors)Ji.add(e);s=Te(s,c)}const c=s?FM(s):ni;return BM(e,a,c),c===ni?void 0:c}function VM(e,n){if(e===ni)return ni;if(e===ti)return ti;const{yieldType:t,returnType:r,nextType:i}=e;return n&&Km(!0),PM(UO(t,n)||un,UO(r,n)||un,i)}function jM(e,n,t,r){if(dc(e))return ti;let i=!1;if(2&n){const r=HM(e,ai)||WM(e,ai);if(r){if(r!==ni||!t)return 8&n?VM(r,t):r;i=!0}}if(1&n){let r=HM(e,oi)||WM(e,oi);if(r)if(r===ni&&t)i=!0;else{if(!(2&n))return r;if(r!==ni)return r=VM(r,t),i?r:BM(e,"iterationTypesOfAsyncIterable",r)}}if(2&n){const n=qM(e,ai,t,r,i);if(n!==ni)return n}if(1&n){let a=qM(e,oi,t,r,i);if(a!==ni)return 2&n?(a=VM(a,t),i?a:BM(e,"iterationTypesOfAsyncIterable",a)):a}return ni}function HM(e,n){return GM(e,n.iterableCacheKey)}function KM(e,n){const t=HM(e,n)||qM(e,n,void 0,void 0,!1);return t===ni?ii:t}function WM(e,n){let t;if(Sl(e,t=n.getGlobalIterableType(!1))||Sl(e,t=n.getGlobalIterableIteratorType(!1))){const[r]=sf(e),{returnType:i,nextType:a}=KM(t,n);return BM(e,n.iterableCacheKey,PM(n.resolveIterationType(r,void 0)||r,n.resolveIterationType(i,void 0)||i,a))}if(Sl(e,n.getGlobalGeneratorType(!1))){const[t,r,i]=sf(e);return BM(e,n.iterableCacheKey,PM(n.resolveIterationType(t,void 0)||t,n.resolveIterationType(r,void 0)||r,i))}}function qM(e,n,t,r,i){var a;const o=V_(e,function(e){const n=Nm(!1),t=n&&lc(bl(n),Oc(e));return t&&Fd(t)?qd(t):`__@${e}`}(n.iteratorSymbolName)),s=!o||16777216&o.flags?void 0:bl(o);if(dc(s))return i?ti:BM(e,n.iterableCacheKey,ti);const c=s?H_(s,0):void 0;if(!ce(c))return i?ni:BM(e,n.iterableCacheKey,ni);const l=null!=(a=JM(Wg(W(c,Sp)),n,t,r,i))?a:ni;return i?l:BM(e,n.iterableCacheKey,l)}function zM(e,n,t){const r=t?Vo.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:Vo.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator;return ma(e,!!DO(n)||!t&&yI(e.parent)&&e.parent.expression===e&&Um(!1)!==kt&&RE(n,Um(!1)),r,Bs(n))}function JM(e,n,t,r,i){if(dc(e))return ti;let a=XM(e,n)||function(e,n){const t=n.getGlobalIterableIteratorType(!1);if(Sl(e,t)){const[r]=sf(e),i=XM(t,n)||eP(t,n,void 0,void 0,!1),{returnType:a,nextType:o}=i===ni?ii:i;return BM(e,n.iteratorCacheKey,PM(r,a,o))}if(Sl(e,n.getGlobalIteratorType(!1))||Sl(e,n.getGlobalGeneratorType(!1))){const[t,r,i]=sf(e);return BM(e,n.iteratorCacheKey,PM(t,r,i))}}(e,n);return a===ni&&t&&(a=void 0,i=!0),null!=a||(a=eP(e,n,t,r,i)),a===ni?void 0:a}function XM(e,n){return GM(e,n.iteratorCacheKey)}function YM(e,n){const t=lc(e,"done")||Fn;return RE(0===n?Fn:Bn,t)}function $M(e){return YM(e,0)}function QM(e){return YM(e,1)}function ZM(e,n,t,r,a){var o,s,c,l;const d=V_(e,t);if(!d&&"next"!==t)return;const u=!d||"next"===t&&16777216&d.flags?void 0:"next"===t?bl(d):YA(bl(d),2097152);if(dc(u))return"next"===t?ti:ri;const _=u?H_(u,0):i;if(0===_.length){if(r){const e="next"===t?n.mustHaveANextMethodDiagnostic:n.mustBeAMethodDiagnostic;a?(null!=a.errors||(a.errors=[]),a.errors.push(Hf(r,e,t))):_a(r,e,t)}return"next"===t?ni:void 0}if((null==u?void 0:u.symbol)&&1===_.length){const e=n.getGlobalGeneratorType(!1),r=n.getGlobalIteratorType(!1),i=(null==(s=null==(o=e.symbol)?void 0:o.members)?void 0:s.get(t))===u.symbol,a=!i&&(null==(l=null==(c=r.symbol)?void 0:c.members)?void 0:l.get(t))===u.symbol;if(i||a){const n=i?e:r,{mapper:a}=u;return PM(Ub(n.typeParameters[0],a),Ub(n.typeParameters[1],a),"next"===t?Ub(n.typeParameters[2],a):void 0)}}let p,f,m,h,g;for(const e of _)"throw"!==t&&ce(e.parameters)&&(p=Te(p,WN(e,0))),f=Te(f,Sp(e));if("throw"!==t){const e=p?Sg(p):xn;"next"===t?h=e:"return"===t&&(m=Te(m,n.resolveIterationType(e,r)||un))}const y=f?Wg(f):qn,v=function(e){if(dc(e))return ti;const n=GM(e,"iterationTypesOfIteratorResult");if(n)return n;if(Sl(e,hr||(hr=mm("IteratorYieldResult",1,!1))||kt))return BM(e,"iterationTypesOfIteratorResult",PM(sf(e)[0],void 0,void 0));if(Sl(e,gr||(gr=mm("IteratorReturnResult",1,!1))||kt))return BM(e,"iterationTypesOfIteratorResult",PM(void 0,sf(e)[0],void 0));const t=xL(e,$M),r=t!==qn?lc(t,"value"):void 0,i=xL(e,QM),a=i!==qn?lc(i,"value"):void 0;return BM(e,"iterationTypesOfIteratorResult",r||a?PM(r,a||Wn,void 0):ni)}(n.resolveIterationType(y,r)||un);return v===ni?(r&&(a?(null!=a.errors||(a.errors=[]),a.errors.push(Hf(r,n.mustHaveAValueDiagnostic,t))):_a(r,n.mustHaveAValueDiagnostic,t)),g=un,m=Te(m,un)):(g=v.yieldType,m=Te(m,v.returnType)),PM(g,Sg(m),h)}function eP(e,n,t,r,i){const a=FM([ZM(e,n,"next",t,r),ZM(e,n,"return",t,r),ZM(e,n,"throw",t,r)]);return i?a:BM(e,n.iteratorCacheKey,a)}function nP(e,n,t){if(dc(n))return;const r=tP(n,t);return r&&r[$G(e)]}function tP(e,n){if(dc(e))return ti;const t=n?ai:oi;return UM(e,n?2:1,void 0)||function(e,n,t,r){return JM(e,n,void 0,void 0,!1)}(e,t)}function iP(e,n){const t=!!(2&n);if(1&n){const n=nP(1,e,t);return n?t?VO(GO(n)):n:mn}return t?VO(e)||mn:e}function aP(e,n){const t=iP(n,Sy(e));return!!t&&wD(t,16387)}function oP(e,n,t){const r=J_(e);if(0===r.length)return;for(const n of u_(e))t&&4194304&n.flags||sP(e,n,gy(n,8576,!0),xl(n));const i=n.valueDeclaration;if(i&&Dd(i))for(const n of i.members)if(!ub(n)&&!Hd(n)){const t=$o(n);sP(e,t,cO(n.name.expression),xl(t))}if(r.length>1)for(const n of r)cP(e,n)}function sP(e,n,t,r){const i=n.valueDeclaration,a=Wc(i);if(a&&LC(a))return;const o=$_(e,t),s=2&qE(e)?ip(e.symbol,261):void 0,c=i&&223===i.kind||a&&164===a.kind?i:void 0,l=Zo(n)===e.symbol?i:void 0;for(const t of o){const i=t.declaration&&Zo($o(t.declaration))===e.symbol?t.declaration:void 0,a=l||i||(s&&!ce(Ql(e),(e=>!!__(e,n.escapedName)&&!!Y_(e,t.keyType)))?s:void 0);if(a&&!RE(r,t.type)){const e=ua(a,Vo.Property_0_of_type_1_is_not_assignable_to_2_index_type_3,Fs(n),Bs(r),Bs(t.keyType),Bs(t.type));c&&a!==c&&iS(e,Hf(c,Vo._0_is_declared_here,Fs(n))),Ji.add(e)}}}function cP(e,n){const t=n.declaration,r=$_(e,n.keyType),i=2&qE(e)?ip(e.symbol,261):void 0,a=t&&Zo($o(t))===e.symbol?t:void 0;for(const t of r){if(t===n)continue;const r=t.declaration&&Zo($o(t.declaration))===e.symbol?t.declaration:void 0,o=a||r||(i&&!ce(Ql(e),(e=>!!X_(e,n.keyType)&&!!Y_(e,t.keyType)))?i:void 0);o&&!RE(n.type,t.type)&&_a(o,Vo._0_index_type_1_is_not_assignable_to_2_index_type_3,Bs(n.keyType),Bs(n.type),Bs(t.keyType),Bs(t.type))}}function lP(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":_a(e,n,e.escapedText)}}function dP(e){let n=!1;if(e)for(let n=0;n<e.length;n++){const r=e[n];_O(r),l(t(r,n))}function t(t,r){return()=>{var i,a,o;t.default?(n=!0,i=t.default,a=e,o=r,function e(n){if(180===n.kind){const e=Wf(n);if(262144&e.flags)for(let t=o;t<a.length;t++)e.symbol===$o(a[t])&&_a(n,Vo.Type_parameter_defaults_can_only_reference_previously_declared_type_parameters)}ED(n,e)}(i)):n&&_a(t,Vo.Required_type_parameters_may_not_follow_optional_type_parameters);for(let n=0;n<r;n++)e[n].symbol===t.symbol&&_a(t.name,Vo.Duplicate_identifier_0,Ff(t.name))}}}function uP(e){if(e.declarations&&1===e.declarations.length)return;const n=wa(e);if(!n.typeParametersChecked){n.typeParametersChecked=!0;const t=function(e){return j(e.declarations,(e=>260===e.kind||261===e.kind))}(e);if(!t||t.length<=1)return;if(!_P(t,_d(e).localTypeParameters,Rl)){const n=Fs(e);for(const e of t)_a(e.name,Vo.All_declarations_of_0_must_have_identical_type_parameters,n)}}}function _P(e,n,t){const r=S(n),i=lp(n);for(const a of e){const e=t(a),o=e.length;if(o<i||o>r)return!1;for(let t=0;t<o;t++){const r=e[t],i=n[t];if(r.name.escapedText!==i.symbol.escapedName)return!1;const a=Nl(r),o=a&&Lb(a),s=h_(i);if(o&&s&&!AE(o,s))return!1;const c=r.default&&Lb(r.default),l=C_(i);if(c&&l&&!AE(c,l))return!1}}return!0}function pP(e){var n;const t=!I&&L<99&&uh(!1,e),r=L<=9,i=!w||L<9;if(t||r)for(const a of e.members){if(t&&_h(!1,a,e))return null!=(n=De(zc(e)))?n:e;if(r){if(XC(a))return a;if(ub(a)&&(hd(a)||i&&eU(a)))return a}}}function fP(e){!function(e){const n=Ip(e);(function(e){let n=!1,t=!1;if(!ZF(e)&&e.heritageClauses)for(const r of e.heritageClauses){if(94===r.token){if(n)return SG(r,Vo.extends_clause_already_seen);if(t)return SG(r,Vo.extends_clause_must_precede_implements_clause);if(r.types.length>1)return SG(r.types[1],Vo.Classes_can_only_extend_a_single_class);n=!0}else{if(Nt.assert(117===r.token),t)return SG(r,Vo.implements_clause_already_seen);t=!0}oG(r)}})(e)||tG(e.typeParameters,n)}(e),QO(e),EM(e,e.name),dP(Rl(e)),NO(e);const n=$o(e),t=_d(n),r=$d(t),i=bl(n);uP(n),RO(n),function(e){const n=new Map,t=new Map,r=new Map;for(const a of e.members)if(173===a.kind)for(const e of a.parameters)Ec(e,a)&&!Kd(e.name)&&i(n,e.name,e.name.escapedText,3);else{const e=ub(a),o=a.name;if(!o)continue;const s=LC(o),c=s&&e?16:0,l=s?r:e?t:n,d=o&&wy(o);if(d)switch(a.kind){case 174:i(l,o,d,1|c);break;case 175:i(l,o,d,2|c);break;case 169:i(l,o,d,3|c);break;case 171:i(l,o,d,8|c)}}function i(e,n,t,r){const i=e.get(t);if(i)if((16&i)!=(16&r))_a(n,Vo.Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name,tf(n));else{const a=!!(8&i),o=!!(8&r);a||o?a!==o&&_a(n,Vo.Duplicate_identifier_0,tf(n)):i&r&-17?_a(n,Vo.Duplicate_identifier_0,tf(n)):e.set(t,i|r)}else e.set(t,r)}}(e),16777216&e.flags||function(e){for(const n of e.members){const t=n.name;if(ub(n)&&t){const n=wy(t);switch(n){case"name":case"length":case"caller":case"arguments":case"prototype":_a(t,Vo.Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1,n,$s($o(e)))}}}}(e);const a=ly(e);if(a){A(a.typeArguments,VP),L<2&&$F(a.parent,1);const n=dy(e);n&&n!==a&&uO(n.expression);const o=Ql(t);o.length&&l((()=>{const n=o[0],s=Xl(t),c=w_(s);if(function(e,n){const t=H_(e,1);if(t.length){const r=t[0].declaration;r&&lb(r,8)&&(ZP(n,WE(e.symbol))||_a(n,Vo.Cannot_extend_a_class_0_Class_constructor_is_marked_as_private,wo(e.symbol)))}}(c,a),VP(a.expression),ce(a.typeArguments)){A(a.typeArguments,VP);for(const e of zl(c,a.typeArguments,a))if(!SO(a,e.typeParameters))break}const l=$d(n,t.thisType);UE(r,l,void 0)?UE(i,SE(c),e.name||e,Vo.Class_static_side_0_incorrectly_extends_base_class_static_side_1):gP(e,r,l,Vo.Class_0_incorrectly_extends_base_class_1),8650752&s.flags&&(Kl(i)?H_(s,1).some((e=>4&e.flags))&&!db(e,256)&&_a(e.name||e,Vo.A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract):_a(e.name||e,Vo.A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any)),c.symbol&&32&c.symbol.flags||8650752&s.flags||A(Jl(c,a.typeArguments,a),(e=>!gN(e.declaration)&&!AE(Sp(e),n)))&&_a(a.expression,Vo.Base_constructors_must_all_have_the_same_return_type),function(e,n){var t,r,i,a;const o=f_(n);e:for(const s of o){const o=yP(s);if(4194304&o.flags)continue;const c=__(e,o.escapedName);if(!c)continue;const l=yP(c),d=OE(o);if(Nt.assert(!!l,"derived should point to something, even if it is the base class' declaration."),l===o){const t=WE(e.symbol);if(256&d&&(!t||!db(t,256))){for(const t of Ql(e)){if(t===n)continue;const e=__(t,o.escapedName),r=e&&yP(e);if(r&&r!==o)continue e}228===t.kind?_a(t,Vo.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1,Fs(s),Bs(n)):_a(t,Vo.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2,Bs(e),Fs(s),Bs(n))}}else{const s=OE(l);if(8&d||8&s)continue;let c;const u=98308&o.flags,_=98308&l.flags;if(u&&_){if((6&DE(o)?null==(t=o.declarations)?void 0:t.some((e=>vP(e,d))):null==(r=o.declarations)?void 0:r.every((e=>vP(e,d))))||262144&DE(o)||l.valueDeclaration&&qk(l.valueDeclaration))continue;const c=4!==u&&4===_;if(c||4===u&&4!==_){const t=c?Vo._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:Vo._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor;_a(Wc(l.valueDeclaration)||l.valueDeclaration,t,Fs(o),Bs(n),Bs(e))}else if(w){const t=null==(i=l.declarations)?void 0:i.find((e=>169===e.kind&&!e.initializer));if(t&&!(33554432&l.flags)&&!(256&d)&&!(256&s)&&!(null==(a=l.declarations)?void 0:a.some((e=>!!(16777216&e.flags))))){const r=os(WE(e.symbol)),i=t.name;if(t.exclamationToken||!r||!AC(i)||!F||!EP(i,e,r)){const e=Vo.Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration;_a(Wc(l.valueDeclaration)||l.valueDeclaration,e,Fs(o),Bs(n))}}}continue}if(KI(o)){if(KI(l)||4&l.flags)continue;Nt.assert(!!(98304&l.flags)),c=Vo.Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor}else c=98304&o.flags?Vo.Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:Vo.Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function;_a(Wc(l.valueDeclaration)||l.valueDeclaration,c,Bs(n),Fs(o),Bs(e))}}}(t,n)}))}!function(e,n,t,r){const i=ly(e)&&Ql(n),a=(null==i?void 0:i.length)?$d(Me(i),n.thisType):void 0,o=Xl(n);for(const i of e.members)mb(i)||(YC(i)&&A(i.parameters,(s=>{Ec(s,i)&&mP(e,r,o,a,n,t,s,!0)})),mP(e,r,o,a,n,t,i,!1))}(e,t,r,i);const o=uy(e);if(o)for(const e of o)Hb(e.expression)&&!Gl(e.expression)||_a(e.expression,Vo.A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments),LO(e),l(s(e));function s(n){return()=>{const i=P_(Lb(n));if(!uc(i))if(ed(i)){const n=i.symbol&&32&i.symbol.flags?Vo.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:Vo.Class_0_incorrectly_implements_interface_1,a=$d(i,t.thisType);UE(r,a,void 0)||gP(e,r,a,n)}else _a(n,Vo.A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members)}}l((()=>{oP(t,n),oP(i,n,!0),gO(e),function(e){if(!F||!q||16777216&e.flags)return;const n=os(e);for(const t of e.members)if(!(2&Tb(t))&&!ub(t)&&bP(t)){const e=t.name;if(AC(e)||LC(e)||VC(e)){const r=bl($o(t));3&r.flags||lT(r)||n&&EP(e,r,n)||_a(t.name,Vo.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor,Ff(e))}}}(e)}))}function mP(e,n,t,r,i,a,o,s,c=!0){const l=o.name&&rF(o.name)||rF(o);return l?hP(e,n,t,r,i,a,pb(o),fb(o),ub(o),s,Gc(l),c?o:void 0):0}function hP(e,n,t,r,i,a,o,s,c,l,d,u){const _=Ah(e),p=!!(16777216&e.flags);if(r&&(o||x.noImplicitOverride)){const e=Oc(d),i=c?t:r,f=V_(c?n:a,e),m=V_(i,e),h=Bs(r);if(f&&!m&&o){if(u){const e=$w(d,i);e?_a(u,_?Vo.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:Vo.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1,h,Fs(e)):_a(u,_?Vo.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0:Vo.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0,h)}return 2}if(f&&(null==m?void 0:m.declarations)&&x.noImplicitOverride&&!p){const e=ce(m.declarations,fb);if(o)return 0;if(!e)return u&&_a(u,l?_?Vo.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:Vo.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0:_?Vo.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:Vo.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0,h),1;if(s&&e)return u&&_a(u,Vo.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0,h),1}}else if(o){if(u){const e=Bs(i);_a(u,_?Vo.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class:Vo.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class,e)}return 2}return 0}function gP(e,n,t,r){let i=!1;for(const r of e.members){if(ub(r))continue;const e=r.name&&rF(r.name)||rF(r);if(e){const a=V_(n,e.escapedName),o=V_(t,e.escapedName);if(a&&o){const s=()=>kT(void 0,Vo.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2,Fs(e),Bs(n),Bs(t));UE(bl(a),bl(o),r.name||r,void 0,s)||(i=!0)}}}i||UE(n,t,e.name||e,r)}function yP(e){return 1&DE(e)?e.links.target:e}function vP(e,n){return 256&n&&(!qC(e)||!e.initializer)||NI(e.parent)}function bP(e){return 169===e.kind&&!fb(e)&&!e.exclamationToken&&!e.initializer}function EP(e,n,t){const r=VC(e)?pA.createElementAccessExpression(pA.createThis(),e.expression):pA.createPropertyAccessExpression(pA.createThis(),e);return xS(r.expression,r),xS(r,t),r.flowNode=t.returnFlowNode,!lT(zL(r,n,Vx(n)))}function TP(e){const n=Ra(e);if(!(1024&n.flags)){n.flags|=1024;let t=0;for(const n of e.members){const e=xP(n,t);Ra(n).enumMemberValue=e,t="number"==typeof e?e+1:void 0}}}function xP(e,n){if(Bf(e.name))_a(e.name,Vo.Computed_property_names_are_not_allowed_in_enums);else{const n=Vf(e.name);FS(n)&&!NS(n)&&_a(e.name,Vo.An_enum_member_cannot_have_a_numeric_name)}return e.initializer?function(e){const n=im(e.parent),t=e.initializer,r=SP(t,e);return void 0!==r?n&&"number"==typeof r&&!isFinite(r)&&_a(t,isNaN(r)?Vo.const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:Vo.const_enum_member_initializer_was_evaluated_to_a_non_finite_value):n?_a(t,Vo.const_enum_member_initializers_must_be_constant_expressions):16777216&e.parent.flags?_a(t,Vo.In_ambient_enum_declarations_member_initializer_must_be_constant_expression):UE(uO(t),On,t,Vo.Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values),r}(e):16777216&e.parent.flags&&!im(e.parent)?void 0:void 0!==n?n:void _a(e.name,Vo.Enum_member_must_have_initializer)}function SP(e,n){switch(e.kind){case 221:const t=SP(e.operand,n);if("number"==typeof t)switch(e.operator){case 39:return t;case 40:return-t;case 54:return~t}break;case 223:const r=SP(e.left,n),i=SP(e.right,n);if("number"==typeof r&&"number"==typeof i)switch(e.operatorToken.kind){case 51:return r|i;case 50:return r&i;case 48:return r>>i;case 49:return r>>>i;case 47:return r<<i;case 52:return r^i;case 41:return r*i;case 43:return r/i;case 39:return r+i;case 40:return r-i;case 44:return r%i;case 42:return r**i}else if(!("string"!=typeof r&&"number"!=typeof r||"string"!=typeof i&&"number"!=typeof i||39!==e.operatorToken.kind))return""+r+i;break;case 10:case 14:return e.text;case 225:return function(e,n){let t=e.head.text;for(const r of e.templateSpans){const e=SP(r.expression,n);if(void 0===e)return;t+=e,t+=r.literal.text}return t}(e,n);case 8:return DG(e),+e.text;case 214:return SP(e.expression,n);case 79:if(NS(e.escapedText))return+e.escapedText;case 208:if(Hb(e)){const t=No(e,111551,!0);if(t){if(8&t.flags)return AP(e,t,n);if($L(t)){const e=t.valueDeclaration;if(e&&!e.type&&e.initializer&&e!==n&&Oa(e,n))return SP(e.initializer,e)}}}break;case 209:const a=e.expression;if(Hb(a)&&t_(e.argumentExpression)){const t=No(a,111551,!0);if(t&&384&t.flags){const r=Oc(e.argumentExpression.text),i=t.exports.get(r);if(i)return AP(e,i,n)}}}}function AP(e,n,t){const r=n.valueDeclaration;if(r&&r!==t)return Oa(r,t)?RF(r):(_a(e,Vo.A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums),0);_a(e,Vo.Property_0_is_used_before_being_assigned,Fs(n))}function LP(e){LC(e.name)&&_a(e,Vo.An_enum_member_cannot_be_named_with_a_private_identifier),e.initializer&&uO(e.initializer)}function CP(e,n){switch(e.kind){case 240:for(const t of e.declarationList.declarations)CP(t,n);break;case 274:case 275:SG(e,Vo.Exports_and_export_assignments_are_not_permitted_in_module_augmentations);break;case 268:case 269:SG(e,Vo.Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module);break;case 205:case 257:const t=e.name;if(Kd(t)){for(const e of t.elements)CP(e,n);break}case 260:case 263:case 259:case 261:case 264:case 262:if(n)return}}function kP(e){const n=mg(e);if(!n||Fp(n))return!1;if(!cC(n))return _a(n,Vo.String_literal_expected),!1;const t=265===e.parent.kind&&ff(e.parent.parent);if(308!==e.parent.kind&&!t)return _a(n,275===e.kind?Vo.Export_declarations_are_not_permitted_in_a_namespace:Vo.Import_declarations_in_a_namespace_cannot_reference_a_module),!1;if(t&&Zs(n.text)&&!Js(e))return _a(e,Vo.Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name),!1;if(!BI(e)&&e.assertClause){let n=!1;for(const t of e.assertClause.elements)cC(t.value)||(n=!0,_a(t.value,Vo.Import_assertion_values_must_be_string_literal_expressions));return!n}return!0}function IP(e){var n,t,r,i,a;let o=$o(e);const s=To(o);if(s!==on){if(o=Yo(o.exportSymbol||o),Ah(e)&&!(111551&s.flags)&&!ud(e)){const c=cd(e)?e.propertyName||e.name:Hc(e)?e.name:e;if(Nt.assert(277!==e.kind),278===e.kind){const i=_a(c,Vo.Types_cannot_appear_in_export_declarations_in_JavaScript_files),a=null==(t=null==(n=Ip(e).symbol)?void 0:n.exports)?void 0:t.get((e.propertyName||e.name).escapedText);if(a===s){const e=null==(r=a.declarations)?void 0:r.find(Ku);e&&iS(i,Hf(e,Vo._0_is_automatically_exported_here,Mc(a.escapedName)))}}else{Nt.assert(257!==e.kind);const n=Rc(e,yt(UI,BI)),t=null!=(a=n&&(null==(i=_g(n))?void 0:i.text))?a:"...",r=Mc(AC(c)?c.escapedText:o.escapedName);_a(c,Vo._0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation,r,`import("${t}").${r}`)}return}const c=xo(s);if(c&((1160127&o.flags?111551:0)|(788968&o.flags?788968:0)|(1920&o.flags?1920:0))&&_a(e,278===e.kind?Vo.Export_declaration_conflicts_with_exported_declaration_of_0:Vo.Import_declaration_conflicts_with_local_declaration_of_0,Fs(o)),WT(x)&&!ud(e)&&!(16777216&e.flags)){const n=Lo(o),t=!(111551&c);if(t||n)switch(e.kind){case 270:case 273:case 268:if(x.preserveValueImports||x.verbatimModuleSyntax){Nt.assertIsDefined(e.name,"An ImportClause with a symbol should have a name");const r=x.verbatimModuleSyntax&&Th(e)?Vo.An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabled:t?x.verbatimModuleSyntax?Vo._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:Vo._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:x.verbatimModuleSyntax?Vo._0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:Vo._0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled,i=Pc(273===e.kind&&e.propertyName||e.name);Ba(_a(e,r,i),t?void 0:n,i)}t&&268===e.kind&&lb(e,1)&&_a(e,Vo.Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled,ye);break;case 278:if(x.verbatimModuleSyntax||Ip(n)!==Ip(e)){const r=Pc(e.propertyName||e.name);Ba(t?_a(e,Vo.Re_exporting_a_type_when_0_is_enabled_requires_using_export_type,ye):_a(e,Vo._0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_enabled,r,ye),t?void 0:n,r);break}}!x.verbatimModuleSyntax||268===e.kind||Ah(e)||1!==k&&1!==Ip(e).impliedNodeFormat||_a(e,Vo.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled)}if(JI(e)){const n=NP(o,e);wP(n)&&n.declarations&&ya(e,n.declarations,n.escapedName)}}}function wP(e){return!!e.declarations&&N(e.declarations,(e=>!!(268435456&kc(e))))}function NP(e,n){if(!(2097152&e.flags))return e;const t=To(e);if(t===on)return t;for(;2097152&e.flags;){const r=Xk(e);if(!r)break;if(r===t)break;if(r.declarations&&S(r.declarations)){if(wP(r)){ya(n,r.declarations,r.escapedName);break}if(e===t)break;e=r}}return t}function DP(e){EM(e,e.name),IP(e),273===e.kind&&"default"===Pc(e.propertyName||e.name)&&YT(x)&&4!==k&&(k<5||1===Ip(e).impliedNodeFormat)&&$F(e,131072)}function OP(e){var n;if(e.assertClause){const t=hH(e),r=yH(e.assertClause,t?LG:void 0);if(t&&r)return fv()||LG(e.assertClause,Vo.resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next),3!==jT(x)&&99!==jT(x)?LG(e.assertClause,Vo.resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext):void 0;if(99!==(199===k&&e.moduleSpecifier&&io(e.moduleSpecifier))&&99!==k)return LG(e.assertClause,199===k?Vo.Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls:Vo.Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext);if(UI(e)?null==(n=e.importClause)?void 0:n.isTypeOnly:e.isTypeOnly)return LG(e.assertClause,Vo.Import_assertions_cannot_be_used_with_type_only_imports_or_exports);if(r)return LG(e.assertClause,Vo.resolution_mode_can_only_be_set_for_type_only_imports)}}function MP(e,n){const t=308===e.parent.kind||265===e.parent.kind||264===e.parent.kind;return t||SG(e,n),!t}function PP(e){return UI(e)&&e.importClause&&!e.importClause.isTypeOnly&&yg(e.importClause,(e=>!!$o(e).isReferenced))&&!TF(e.importClause,!0)&&!yg(e.importClause,(e=>!!wa($o(e)).constEnumReferenced))}function FP(e){return BI(e)&&iw(e.moduleReference)&&!e.isTypeOnly&&$o(e).isReferenced&&!TF(e,!1)&&!wa($o(e)).constEnumReferenced}function GP(e){if(IP(e),tx(x)&&ec(e.propertyName||e.name,!0),e.parent.parent.moduleSpecifier)YT(x)&&4!==k&&(k<5||1===Ip(e).impliedNodeFormat)&&"default"===Pc(e.propertyName||e.name)&&$F(e,131072);else{const n=e.propertyName||e.name,t=Fa(n,n.escapedText,2998271,void 0,void 0,!0);if(t&&(t===ue||t===fe||t.declarations&&Na(cc(t.declarations[0]))))_a(n,Vo.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,Pc(n));else{e.isTypeOnly||e.parent.parent.isTypeOnly||Co(e);const n=t&&(2097152&t.flags?To(t):t);(!n||111551&xo(n))&&qD(e.propertyName||e.name)}}}function BP(e){const n=$o(e),t=wa(n);if(!t.exportsChecked){const e=n.exports.get("export=");if(e&&function(e){return pp(e.exports,((e,n)=>"export="!==n))}(n)){const n=Xa(e)||e.valueDeclaration;!n||Js(n)||Ah(n)||_a(n,Vo.An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements)}const r=zo(n);r&&r.forEach((({declarations:e,flags:n},t)=>{if("__export"===t)return;if(1920&n)return;const r=V(e,gt(FG,vt(NI)));if(!(524288&n&&r<=2)&&r>1&&!UP(e))for(const n of e)XG(n)&&Ji.add(Hf(n,Vo.Cannot_redeclare_exported_variable_0,Mc(t)))})),t.exportsChecked=!0}}function UP(e){return e&&e.length>1&&e.every((e=>Ah(e)&&eT(e)&&(zh(e.expression)||Xh(e.expression))))}function VP(e){if(e){const t=a;a=e,g=0,function(e){kg(e)&&A(e.jsDoc,(({comment:n,tags:t})=>{jP(n),A(t,(n=>{jP(n.comment),Ah(e)&&VP(n)}))}));const t=e.kind;if(n)switch(t){case 264:case 260:case 261:case 259:n.throwIfCancellationRequested()}switch(t>=240&&t<=256&&Cg(e)&&e.flowNode&&!jL(e.flowNode)&&fa(!1===x.allowUnreachableCode,e,Vo.Unreachable_code_detected),t){case 165:return _O(e);case 166:return pO(e);case 169:return yO(e);case 168:return function(e){return LC(e.name)&&_a(e,Vo.Private_identifiers_are_not_allowed_outside_class_bodies),yO(e)}(e);case 182:case 181:case 176:case 177:case 178:return mO(e);case 171:case 170:return function(e){hG(e)||cG(e.name),JC(e)&&e.asteriskToken&&AC(e.name)&&"constructor"===Pc(e.name)&&_a(e.name,Vo.Class_constructor_may_not_be_a_generator),eM(e),db(e,256)&&171===e.kind&&e.body&&_a(e,Vo.Method_0_cannot_have_an_implementation_because_it_is_marked_abstract,Ff(e.name)),LC(e.name)&&!Wm(e)&&_a(e,Vo.Private_identifiers_are_not_allowed_outside_class_bodies),vO(e)}(e);case 172:return function(e){ZF(e),ED(e,VP)}(e);case 173:return function(e){mO(e),function(e){const n=Ah(e)?$v(e):void 0,t=e.typeParameters||n&&De(n);if(t){const n=t.pos===t.end?t.pos:ks(Ip(e).text,t.pos);return AG(e,n,t.end-n,Vo.Type_parameters_cannot_appear_on_a_constructor_declaration)}}(e)||function(e){const n=e.type||Yv(e);n&&LG(n,Vo.Type_annotation_cannot_appear_on_a_constructor_declaration)}(e),VP(e.body);const n=$o(e),t=ip(n,e.kind);function r(e){return!!hd(e)||169===e.kind&&!ub(e)&&!!e.initializer}e===t&&RO(n),Fp(e.body)||l((function(){const n=e.parent;if(dy(n)){aC(e.parent,n);const t=lC(n),i=sC(e.body);if(i){if(t&&_a(i,Vo.A_constructor_cannot_contain_a_super_call_when_its_class_extends_null),(99!==BT(x)||!w)&&(ce(e.parent.members,r)||ce(e.parameters,(e=>db(e,16476)))))if(function(e,n){const t=zg(e.parent);return _I(t)&&t.parent===n}(i,e.body)){let n;for(const t of e.body.statements){if(_I(t)&&cm(HR(t.expression))){n=t;break}if(bO(t))break}void 0===n&&_a(e,Vo.A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_class_contains_initialized_properties_parameter_properties_or_private_identifiers)}else _a(i,Vo.A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_initialized_properties_parameter_properties_or_private_identifiers)}else t||_a(e,Vo.Constructors_for_derived_classes_must_contain_a_super_call)}}))}(e);case 174:case 175:return EO(e);case 180:return LO(e);case 179:return function(e){const n=function(e){switch(e.parent.kind){case 216:case 176:case 259:case 215:case 181:case 171:case 170:const n=e.parent;if(e===n.type)return n}}(e);if(!n)return void _a(e,Vo.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);const t=up(n),r=Tp(t);if(!r)return;VP(e.type);const{parameterName:i}=e;if(0===r.kind||2===r.kind)xb(i);else if(r.parameterIndex>=0){if(QG(t)&&r.parameterIndex===t.parameters.length-1)_a(i,Vo.A_type_predicate_cannot_reference_a_rest_parameter);else if(r.type){const n=()=>kT(void 0,Vo.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type);UE(r.type,bl(t.parameters[r.parameterIndex]),e.type,void 0,n)}}else if(i){let t=!1;for(const{name:e}of n.parameters)if(Kd(e)&&fO(e,i,r.parameterName)){t=!0;break}t||_a(e.parameterName,Vo.Cannot_find_parameter_0,r.parameterName)}}(e);case 183:return function(e){Xf(e)}(e);case 184:return function(e){A(e.members,VP),l((function(){const n=Ov(e);oP(n,n.symbol),gO(e),hO(e)}))}(e);case 185:return function(e){VP(e.elementType)}(e);case 186:return function(e){const n=e.elements;let t=!1,r=!1;const i=ce(n,dk);for(const e of n){if(199!==e.kind&&i){LG(e,Vo.Tuple_members_must_all_have_names_or_all_not_have_names);break}const n=ph(e);if(8&n){const n=Lb(e.type);if(!hx(n)){_a(e,Vo.A_rest_element_type_must_be_an_array_type);break}(cx(n)||Nx(n)&&4&n.target.combinedFlags)&&(r=!0)}else if(4&n){if(r){LG(e,Vo.A_rest_element_cannot_follow_another_rest_element);break}r=!0}else if(2&n){if(r){LG(e,Vo.An_optional_element_cannot_follow_a_rest_element);break}t=!0}else if(t){LG(e,Vo.A_required_element_cannot_follow_an_optional_element);break}}A(e.elements,VP),Lb(e)}(e);case 189:case 190:return function(e){A(e.types,VP),Lb(e)}(e);case 193:case 187:case 188:return VP(e.type);case 194:return function(e){xb(e)}(e);case 195:return function(e){!function(e){if(156===e.operator){if(153!==e.type.kind)return LG(e.type,Vo._0_expected,us(153));let n=qg(e.parent);if(Ah(n)&&kw(n)){const e=Fg(n);e&&(n=Ag(e)||e)}switch(n.kind){case 257:const t=n;if(79!==t.name.kind)return LG(e,Vo.unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name);if(!Cm(t))return LG(e,Vo.unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement);if(!(2&t.parent.flags))return LG(n.name,Vo.A_variable_whose_type_is_a_unique_symbol_type_must_be_const);break;case 169:if(!ub(n)||!gb(n))return LG(n.name,Vo.A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly);break;case 168:if(!db(n,64))return LG(n.name,Vo.A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly);break;default:LG(e,Vo.unique_symbol_types_are_not_allowed_here)}}else 146===e.operator&&185!==e.type.kind&&186!==e.type.kind&&SG(e,Vo.readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types,us(153))}(e),VP(e.type)}(e);case 191:return function(e){ED(e,VP)}(e);case 192:return function(e){Rc(e,(e=>e.parent&&191===e.parent.kind&&e.parent.extendsType===e))||LG(e,Vo.infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type),VP(e.typeParameter);const n=$o(e.typeParameter);if(n.declarations&&n.declarations.length>1){const e=wa(n);if(!e.typeParametersChecked){e.typeParametersChecked=!0;const t=dd(n),r=ap(n,165);if(!_P(r,[t],(e=>[e]))){const e=Fs(n);for(const n of r)_a(n.name,Vo.All_declarations_of_0_must_have_identical_constraints,e)}}}nM(e)}(e);case 200:return function(e){for(const n of e.templateSpans)VP(n.type),UE(Lb(n.type),it,n.type);Lb(e)}(e);case 202:return function(e){VP(e.argument),e.assertions&&yH(e.assertions.assertClause,LG)&&(fv()||LG(e.assertions.assertClause,Vo.resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next),3!==jT(x)&&99!==jT(x)&&LG(e.assertions.assertClause,Vo.resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext)),CO(e)}(e);case 199:return function(e){e.dotDotDotToken&&e.questionToken&&LG(e,Vo.A_tuple_member_cannot_be_both_optional_and_rest),187===e.type.kind&&LG(e.type,Vo.A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type),188===e.type.kind&&LG(e.type,Vo.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type),VP(e.type),Lb(e)}(e);case 331:return function(e){const n=Pg(e);if(!n||!RI(n)&&!$k(n))return void _a(n,Vo.JSDoc_0_is_not_attached_to_a_class,Pc(e.tagName));const t=Al(n).filter(Ww);Nt.assert(t.length>0),t.length>1&&_a(t[1],Vo.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag);const r=ZO(e.class.expression),i=dy(n);if(i){const n=ZO(i.expression);n&&r.escapedText!==n.escapedText&&_a(r,Vo.JSDoc_0_1_does_not_match_the_extends_2_clause,Pc(e.tagName),Pc(r),Pc(n))}}(e);case 332:return function(e){const n=Pg(e);n&&(RI(n)||$k(n))||_a(n,Vo.JSDoc_0_is_not_attached_to_a_class,Pc(e.tagName))}(e);case 349:case 341:case 343:return function(e){e.typeExpression||_a(e.name,Vo.JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags),e.name&&lP(e.name,Vo.Type_alias_name_cannot_be_0),VP(e.typeExpression),dP(Rl(e))}(e);case 348:return function(e){VP(e.constraint);for(const n of e.typeParameters)VP(n)}(e);case 347:return function(e){VP(e.typeExpression)}(e);case 327:case 328:case 329:return function(e){e.name&&tF(e.name,!0)}(e);case 344:case 351:return function(e){VP(e.typeExpression)}(e);case 320:!function(e){l((function(){e.type||bg(e)||LS(e,un)})),mO(e)}(e);case 318:case 317:case 315:case 316:case 325:return HP(e),void ED(e,VP);case 321:return void function(e){HP(e),VP(e.type);const{parent:n}=e;if(HC(n)&&Bw(n.parent))return void(Ge(n.parent.parameters)!==n&&_a(e,Vo.A_rest_parameter_must_be_last_in_a_parameter_list));kw(n)||_a(e,Vo.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);const t=e.parent.parent;if(!iR(t))return void _a(e,Vo.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);const r=Dg(t);if(!r)return;const i=Mg(t);i&&Ge(i.parameters).symbol===r||_a(e,Vo.A_rest_parameter_must_be_last_in_a_parameter_list)}(e);case 312:return VP(e.type);case 336:case 338:case 337:return function(e){const n=Fg(e);n&&hd(n)&&_a(e,Vo.An_accessibility_modifier_cannot_be_used_with_a_private_identifier)}(e);case 353:return function(e){VP(e.typeExpression);const n=Pg(e);if(n){const e=kl(n,pR);if(S(e)>1)for(let n=1;n<S(e);n++){const t=e[n].tagName;_a(t,Vo._0_tag_already_specified,Pc(t))}}}(e);case 196:return function(e){VP(e.objectType),VP(e.indexType),kO(bv(e),e)}(e);case 197:return function(e){!function(e){var n;(null==(n=e.members)?void 0:n.length)&&LG(e.members[0],Vo.A_mapped_type_may_not_declare_properties_or_methods)}(e),VP(e.typeParameter),VP(e.nameType),VP(e.type),e.type||LS(e,un);const n=Ev(e),t=Fu(n);t?UE(t,nt,e.nameType):UE(Pu(n),nt,Nl(e.typeParameter))}(e);case 259:return function(e){l((function(){eM(e),dG(e),EM(e,e.name)}))}(e);case 238:case 265:return mM(e);case 240:return CM(e);case 241:return function(e){wG(e),uO(e.expression)}(e);case 242:return function(e){wG(e);const n=wM(e.expression);kM(e.expression,n,e.thenStatement),VP(e.thenStatement),239===e.thenStatement.kind&&_a(e.thenStatement,Vo.The_body_of_an_if_statement_cannot_be_the_empty_statement),VP(e.elseStatement)}(e);case 243:return function(e){wG(e),VP(e.statement),wM(e.expression)}(e);case 244:return function(e){wG(e),wM(e.expression),VP(e.statement)}(e);case 245:return function(e){wG(e)||e.initializer&&258===e.initializer.kind&&EG(e.initializer),e.initializer&&(258===e.initializer.kind?A(e.initializer.declarations,LM):uO(e.initializer)),e.condition&&wM(e.condition),e.incrementor&&uO(e.incrementor),VP(e.statement),e.locals&&nM(e)}(e);case 246:return function(e){pG(e);const n=tw(uO(e.expression));if(258===e.initializer.kind){const n=e.initializer.declarations[0];n&&Kd(n.name)&&_a(n.name,Vo.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern),RM(e)}else{const t=e.initializer,r=uO(t);206===t.kind||207===t.kind?_a(t,Vo.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern):RE(function(e){const n=Cy(xy(e));return 131072&n.flags?Dn:n}(n),r)?AD(t,Vo.The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access,Vo.The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access):_a(t,Vo.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any)}n!==qn&&RD(n,126091264)||_a(e.expression,Vo.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,Bs(n)),VP(e.statement),e.locals&&nM(e)}(e);case 247:return function(e){pG(e);const n=zm(e);if(e.awaitModifier?n&&XC(n)?LG(e.awaitModifier,Vo.For_await_loops_cannot_be_used_inside_a_class_static_block):2==(6&Sy(n))&&L<99&&$F(e,16384):x.downlevelIteration&&L<2&&$F(e,256),258===e.initializer.kind)RM(e);else{const n=e.initializer,t=NM(e);if(206===n.kind||207===n.kind)GD(n,t||mn);else{const r=uO(n);AD(n,Vo.The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access,Vo.The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access),t&&VE(t,r,n,e.expression)}}VP(e.statement),e.locals&&nM(e)}(e);case 248:case 249:return function(e){wG(e)||function(e){let n=e;for(;n;){if(Ld(n))return LG(e,Vo.Jump_target_cannot_cross_function_boundary);switch(n.kind){case 253:if(e.label&&n.label.escapedText===e.label.escapedText)return!(248!==e.kind||fu(n.statement,!0))&&LG(e,Vo.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement);break;case 252:if(249===e.kind&&!e.label)return!1;break;default:if(fu(n,!1)&&!e.label)return!1}n=n.parent}if(e.label)return LG(e,249===e.kind?Vo.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:Vo.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement);LG(e,249===e.kind?Vo.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:Vo.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement)}(e)}(e);case 250:return function(e){var n;if(wG(e))return;const t=zm(e);if(t&&XC(t))return void SG(e,Vo.A_return_statement_cannot_be_used_inside_a_class_static_block);if(!t)return void SG(e,Vo.A_return_statement_can_only_be_used_within_a_function_body);const r=Sp(up(t)),i=Sy(t);if(F||e.expression||131072&r.flags){const a=e.expression?qD(e.expression):An;if(175===t.kind)e.expression&&_a(e,Vo.Setters_cannot_return_a_value);else if(173===t.kind)e.expression&&!VE(a,r,e,e.expression)&&_a(e,Vo.Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class);else if(Ap(t)){const t=null!=(n=iP(r,i))?n:r,o=2&i?MO(a,!1,e,Vo.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):a;t&&VE(o,t,e,e.expression)}}else 173!==t.kind&&x.noImplicitReturns&&!aP(t,r)&&_a(e,Vo.Not_all_code_paths_return_a_value)}(e);case 251:return function(e){wG(e)||32768&e.flags&&SG(e,Vo.with_statements_are_not_allowed_in_an_async_function_block),uO(e.expression);const n=Ip(e);if(!xG(n)){const t=Zf(n,e.pos).start;AG(n,t,e.statement.pos-t,Vo.The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any)}}(e);case 252:return function(e){let n;wG(e);let t=!1;const r=uO(e.expression);A(e.caseBlock.clauses,(e=>{var i;293!==e.kind||t||(void 0===n?n=e:(LG(e,Vo.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement),t=!0)),292===e.kind&&l((i=e,()=>{const e=uO(i.expression);UD(r,e)||nT(e,r,i.expression,void 0)})),A(e.statements,VP),x.noFallthroughCasesInSwitch&&e.fallthroughFlowNode&&jL(e.fallthroughFlowNode)&&_a(e,Vo.Fallthrough_case_in_switch)})),e.caseBlock.locals&&nM(e.caseBlock)}(e);case 253:return function(e){wG(e)||Rc(e.parent,(n=>Ad(n)?"quit":253===n.kind&&n.label.escapedText===e.label.escapedText&&(LG(e.label,Vo.Duplicate_label_0,tf(e.label)),!0))),VP(e.statement)}(e);case 254:return function(e){wG(e)||AC(e.expression)&&!e.expression.escapedText&&function(e,n,t,r,i){const a=Ip(e);if(!xG(a)){const t=Zf(a,e.pos);Ji.add(ST(a,tc(t),0,n,void 0,void 0,void 0))}}(e,Vo.Line_break_not_permitted_here),e.expression&&uO(e.expression)}(e);case 255:return function(e){wG(e),mM(e.tryBlock);const n=e.catchClause;if(n){if(n.variableDeclaration){const e=n.variableDeclaration;xM(e);const t=Jv(e);if(t){const e=Lb(t);!e||3&e.flags||SG(t,Vo.Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified)}else if(e.initializer)SG(e.initializer,Vo.Catch_clause_variable_cannot_have_an_initializer);else{const e=n.block.locals;e&&fp(n.locals,(n=>{const t=e.get(n);(null==t?void 0:t.valueDeclaration)&&0!=(2&t.flags)&&LG(t.valueDeclaration,Vo.Cannot_redeclare_identifier_0_in_catch_clause,n)}))}}mM(n.block)}e.finallyBlock&&mM(e.finallyBlock)}(e);case 257:return LM(e);case 205:return function(e){return function(e){if(e.dotDotDotToken){const n=e.parent.elements;if(e!==Ge(n))return LG(e,Vo.A_rest_element_must_be_last_in_a_destructuring_pattern);if(nG(n,Vo.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),e.propertyName)return LG(e.name,Vo.A_rest_element_cannot_have_a_property_name)}e.dotDotDotToken&&e.initializer&&AG(e,e.initializer.pos-1,1,Vo.A_rest_element_cannot_have_an_initializer)}(e),xM(e)}(e);case 260:return function(e){const n=D(e.modifiers,KC);I&&n&&ce(e.members,(e=>_b(e)&&hd(e)))&&LG(n,Vo.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator),e.name||db(e,1024)||SG(e,Vo.A_class_declaration_without_the_default_modifier_must_have_a_name),fP(e),A(e.members,VP),nM(e)}(e);case 261:return function(e){ZF(e)||function(e){let n=!1;if(e.heritageClauses)for(const t of e.heritageClauses){if(94!==t.token)return Nt.assert(117===t.token),SG(t,Vo.Interface_declaration_cannot_have_implements_clause);if(n)return SG(t,Vo.extends_clause_already_seen);n=!0,oG(t)}}(e),dP(e.typeParameters),l((()=>{lP(e.name,Vo.Interface_name_cannot_be_0),NO(e);const n=$o(e);uP(n);const t=ip(n,261);if(e===t){const t=_d(n),r=$d(t);if(function(e,n){const t=Ql(e);if(t.length<2)return!0;const r=new Map;A(Pd(e).declaredProperties,(n=>{r.set(n.escapedName,{prop:n,containingType:e})}));let i=!0;for(const a of t){const t=f_($d(a,e.thisType));for(const o of t){const t=r.get(o.escapedName);if(t){if(t.containingType!==e&&0===ZT(t.prop,o,LE)){i=!1;const r=Bs(t.containingType),s=Bs(a);let c=kT(void 0,Vo.Named_property_0_of_types_1_and_2_are_not_identical,Fs(o),r,s);c=kT(c,Vo.Interface_0_cannot_simultaneously_extend_types_1_and_2,Bs(e),r,s),Ji.add(qf(Ip(n),n,c))}}else r.set(o.escapedName,{prop:o,containingType:a})}}return i}(t,e.name)){for(const n of Ql(t))UE(r,$d(n,t.thisType),e.name,Vo.Interface_0_incorrectly_extends_interface_1);oP(t,n)}}hO(e)})),A(py(e),(e=>{Hb(e.expression)&&!Gl(e.expression)||_a(e.expression,Vo.An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments),LO(e)})),A(e.members,VP),l((()=>{gO(e),nM(e)}))}(e);case 262:return function(e){ZF(e),lP(e.name,Vo.Type_alias_name_cannot_be_0),NO(e),dP(e.typeParameters),139===e.type.kind?GG.has(e.name.escapedText)&&1===S(e.typeParameters)||_a(e.type,Vo.The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types):(VP(e.type),nM(e))}(e);case 263:return function(e){l((()=>function(e){ZF(e),EM(e,e.name),NO(e),e.members.forEach(LP),TP(e);const n=$o(e);if(e===ip(n,e.kind)){if(n.declarations&&n.declarations.length>1){const t=im(e);A(n.declarations,(e=>{OI(e)&&im(e)!==t&&_a(Wc(e),Vo.Enum_declarations_must_all_be_const_or_non_const)}))}let t=!1;A(n.declarations,(e=>{if(263!==e.kind)return!1;const n=e;if(!n.members.length)return!1;const r=n.members[0];r.initializer||(t?_a(r.name,Vo.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element):t=!0)}))}}(e)))}(e);case 264:return function(e){e.body&&(VP(e.body),bf(e)||nM(e)),l((function(){var n,t;const r=bf(e),i=16777216&e.flags;r&&!i&&_a(e.name,Vo.Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context);const a=ff(e),o=a?Vo.An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:Vo.A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module;if(MP(e,o))return;ZF(e)||i||10!==e.name.kind||LG(e.name,Vo.Only_ambient_modules_can_use_quoted_names),AC(e.name)&&EM(e,e.name),NO(e);const s=$o(e);if(512&s.flags&&!i&&qG(e,rx(x))){if(WT(x)&&!Ip(e).externalModuleIndicator&&_a(e.name,Vo.Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to_be_a_global_script_set_moduleDetection_to_force_or_add_an_empty_export_statement,ye),(null==(n=s.declarations)?void 0:n.length)>1){const n=function(e){const n=e.declarations;if(n)for(const e of n)if((260===e.kind||259===e.kind&&Gp(e.body))&&!(16777216&e.flags))return e}(s);n&&(Ip(e)!==Ip(n)?_a(e.name,Vo.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged):e.pos<n.pos&&_a(e.name,Vo.A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged));const t=ip(s,260);t&&function(e,n){const t=Mf(e),r=Mf(n);return Na(t)?Na(r):!Na(r)&&t===r}(e,t)&&(Ra(e).flags|=2048)}if(x.verbatimModuleSyntax&&308===e.parent.kind&&(1===k||1===e.parent.impliedNodeFormat)){const n=null==(t=e.modifiers)?void 0:t.find((e=>93===e.kind));n&&_a(n,Vo.A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled)}}if(a)if(Ef(e)){if((r||33554432&$o(e).flags)&&e.body)for(const n of e.body.statements)CP(n,r)}else Na(e.parent)?r?_a(e.name,Vo.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations):Zs(Ny(e.name))&&_a(e.name,Vo.Ambient_module_declaration_cannot_specify_relative_module_name):_a(e.name,r?Vo.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations:Vo.Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces)}))}(e);case 269:return function(e){if(!MP(e,Ah(e)?Vo.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:Vo.An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)){if(!ZF(e)&&sb(e)&&SG(e,Vo.An_import_declaration_cannot_have_modifiers),kP(e)){const n=e.importClause;n&&!function(e){var n;return e.isTypeOnly&&e.name&&e.namedBindings?LG(e,Vo.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both):!(!e.isTypeOnly||272!==(null==(n=e.namedBindings)?void 0:n.kind))&&MG(e.namedBindings)}(n)&&(n.name&&DP(n),n.namedBindings)&&(271===n.namedBindings.kind?(DP(n.namedBindings),4!==k&&(k<5||1===Ip(e).impliedNodeFormat)&&YT(x)&&$F(e,65536)):Oo(e,e.moduleSpecifier)&&A(n.namedBindings.elements,DP))}OP(e)}}(e);case 268:return function(e){if(!MP(e,Ah(e)?Vo.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:Vo.An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)&&(ZF(e),Th(e)||kP(e)))if(DP(e),db(e,1)&&Co(e),280!==e.moduleReference.kind){const n=To($o(e));if(n!==on){const t=xo(n);if(111551&t){const n=Kb(e.moduleReference);1920&No(n,112575).flags||_a(n,Vo.Module_0_is_hidden_by_a_local_declaration_with_the_same_name,Ff(n))}788968&t&&lP(e.name,Vo.Import_name_cannot_be_0)}e.isTypeOnly&&LG(e,Vo.An_import_alias_cannot_use_import_type)}else!(k>=5&&void 0===Ip(e).impliedNodeFormat)||e.isTypeOnly||16777216&e.flags||LG(e,Vo.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 275:return function(e){if(!MP(e,Ah(e)?Vo.An_export_declaration_can_only_be_used_at_the_top_level_of_a_module:Vo.An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)){if(!ZF(e)&&cb(e)&&SG(e,Vo.An_export_declaration_cannot_have_modifiers),e.moduleSpecifier&&e.exportClause&&$I(e.exportClause)&&S(e.exportClause.elements)&&0===L&&$F(e,4194304),function(e){var n;e.isTypeOnly&&276===(null==(n=e.exportClause)?void 0:n.kind)&&MG(e.exportClause)}(e),!e.moduleSpecifier||kP(e))if(e.exportClause&&!qI(e.exportClause)){A(e.exportClause.elements,GP);const n=265===e.parent.kind&&ff(e.parent.parent),t=!n&&265===e.parent.kind&&!e.moduleSpecifier&&16777216&e.flags;308===e.parent.kind||n||t||_a(e,Vo.Export_declarations_are_not_permitted_in_a_namespace)}else{const n=Oo(e,e.moduleSpecifier);n&&jo(n)?_a(e.moduleSpecifier,Vo.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk,Fs(n)):e.exportClause&&IP(e.exportClause),4!==k&&(k<5||1===Ip(e).impliedNodeFormat)&&(e.exportClause?YT(x)&&$F(e,65536):$F(e,32768))}OP(e)}}(e);case 274:return function(e){if(MP(e,e.isExportEquals?Vo.An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration:Vo.A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration))return;const n=308===e.parent.kind?e.parent:e.parent.parent;if(264===n.kind&&!ff(n))return void(e.isExportEquals?_a(e,Vo.An_export_assignment_cannot_be_used_in_a_namespace):_a(e,Vo.A_default_export_can_only_be_used_in_an_ECMAScript_style_module));!ZF(e)&&sb(e)&&SG(e,Vo.An_export_assignment_cannot_have_modifiers);const t=Jv(e);t&&UE(qD(e.expression),Lb(t),e.expression);const r=!e.isExportEquals&&!(16777216&e.flags)&&x.verbatimModuleSyntax&&(1===k||1===Ip(e).impliedNodeFormat);if(79===e.expression.kind){const n=e.expression,t=is(No(n,67108863,!0,!0,e));t?(tC(t,n),111551&xo(t)?(qD(n),!r&&x.verbatimModuleSyntax&&Lo(t,111551)&&_a(n,e.isExportEquals?Vo.An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration:Vo.An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration,Pc(n))):!r&&x.verbatimModuleSyntax&&_a(n,e.isExportEquals?Vo.An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type:Vo.An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type,Pc(n))):qD(n),tx(x)&&ec(n,!0)}else qD(e.expression);r&&_a(e,Vo.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled),BP(n),16777216&e.flags&&!Hb(e.expression)&&LG(e.expression,Vo.The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context),e.isExportEquals&&(k>=5&&(16777216&e.flags&&99===Ip(e).impliedNodeFormat||!(16777216&e.flags)&&1!==Ip(e).impliedNodeFormat)?LG(e,Vo.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead):4!==k||16777216&e.flags||LG(e,Vo.Export_assignment_is_not_supported_when_module_flag_is_system))}(e);case 239:case 256:return void wG(e);case 279:!function(e){QO(e)}(e)}}(e),a=t}}function jP(e){gn(e)&&A(e,(e=>{r_(e)&&VP(e)}))}function HP(e){if(!Ah(e))if(Fw(e)||Pw(e)){const n=us(Fw(e)?53:57),t=e.postfix?Vo._0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1:Vo._0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1,r=Lb(e.type);LG(e,t,n,Bs(Pw(e)&&r!==qn&&r!==Wn?Sg(Te([r,An],e.postfix?void 0:wn)):r))}else LG(e,Vo.JSDoc_types_can_only_be_used_inside_documentation_comments)}function KP(e){const n=Ra(Ip(e));1&n.flags?Nt.assert(!n.deferredNodes,"A type-checked file should have no deferred nodes."):(n.deferredNodes||(n.deferredNodes=new Set),n.deferredNodes.add(e))}function WP(e){var n,t;null==(n=Vr)||n.push(Vr.Phase.Check,"checkDeferredNode",{kind:e.kind,pos:e.pos,end:e.end,path:e.tracingPath});const r=a;switch(a=e,g=0,e.kind){case 210:case 211:case 212:case 167:case 283:ER(e);break;case 215:case 216:case 171:case 170:!function(e){Nt.assert(171!==e.kind||Om(e));const n=Sy(e),t=Ap(e);if(gD(e,t),e.body)if(Yv(e)||Sp(up(e)),238===e.body.kind)VP(e.body);else{const r=uO(e.body),i=t&&iP(t,n);i&&VE(2==(3&n)?MO(r,!1,e.body,Vo.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):r,i,e.body,e.body)}}(e);break;case 174:case 175:EO(e);break;case 228:!function(e){A(e.members,VP),nM(e)}(e);break;case 165:!function(e){var n,t;if(NI(e.parent)||Dd(e.parent)||DI(e.parent)){const r=dd($o(e)),i=98304&MT(r);if(i){const a=$o(e.parent);if(!DI(e.parent)||48&qE(_d(a))){if(32768===i||65536===i){null==(n=Vr)||n.push(Vr.Phase.CheckTypes,"checkTypeParameterDeferred",{parent:ig(_d(a)),id:ig(r)});const s=DT(a,r,65536===i?Gt:Ft),c=DT(a,r,65536===i?Ft:Gt),l=r;o=r,UE(s,c,e,Vo.Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation),o=l,null==(t=Vr)||t.pop()}}else _a(e,Vo.Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_types)}}}(e);break;case 282:!function(e){CI(e)}(e);break;case 281:!function(e){CI(e.openingElement),tI(e.closingElement.tagName)?uI(e.closingElement):uO(e.closingElement.tagName),aI(e)}(e)}a=r,null==(t=Vr)||t.pop()}function qP(e,n){if(n)return!1;switch(e){case 0:return!!x.noUnusedLocals;case 1:return!!x.noUnusedParameters;default:return Nt.assertNever(e)}}function zP(e){return li.get(e.path)||i}function JP(t,r){try{return n=r,function(n){if(n){XP();const e=Ji.getGlobalDiagnostics(),t=e.length;YP(n);const r=Ji.getDiagnostics(n.fileName),i=Ji.getGlobalDiagnostics();return i!==e?de(Ee(e,i,RT),r):0===t&&i.length>0?de(i,r):r}return A(e.getSourceFiles(),YP),Ji.getDiagnostics()}(t)}finally{n=void 0}}function XP(){for(const e of c)e();c=[]}function YP(n){XP();const t=l;var r,i,a;l=e=>e(),r=n,null==(i=Vr)||i.push(Vr.Phase.Check,"checkSourceFile",{path:r.path},!0),kr("beforeCheck"),function(n){const t=Ra(n);if(!(1&t.flags)){if(cS(n,x,e))return;!function(e){16777216&e.flags&&function(e){for(const n of e.statements)if((Nu(n)||240===n.kind)&&IG(n))return!0}(e)}(n),K(Vi),K(ji),K(Hi),K(Wi),K(qi),A(n.statements,VP),VP(n.endOfFileToken),function(e){const n=Ra(e);n.deferredNodes&&n.deferredNodes.forEach(WP),n.deferredNodes=void 0}(n),tm(n)&&nM(n),l((()=>{n.isDeclarationFile||!x.noUnusedLocals&&!x.noUnusedParameters||tM(zP(n),((e,n,t)=>{!kp(e)&&qP(n,!!(16777216&e.flags))&&Ji.add(t)})),n.isDeclarationFile||function(){var e;for(const n of qi)if(!(null==(e=$o(n))?void 0:e.isReferenced)){const e=Sc(n);Nt.assert(Ky(e),"Only parameter declaration should be checked here");const t=Hf(n.name,Vo._0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation,Ff(n.name),Ff(n.propertyName));e.type||iS(t,ST(Ip(e),e.end,1,Vo.We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here,Ff(n.propertyName))),Ji.add(t)}}()})),2===x.importsNotUsedAsValues&&!n.isDeclarationFile&&kD(n)&&function(e){for(const n of e.statements)(PP(n)||FP(n))&&_a(n,Vo.This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error)}(n),tm(n)&&BP(n),Vi.length&&(A(Vi,gM),K(Vi)),ji.length&&(A(ji,yM),K(ji)),Hi.length&&(A(Hi,vM),K(Hi)),Wi.length&&(A(Wi,bM),K(Wi)),t.flags|=1}}(r),kr("afterCheck"),Ir("Check","beforeCheck","afterCheck"),null==(a=Vr)||a.pop(),l=t}function $P(e){for(;163===e.parent.kind;)e=e.parent;return 180===e.parent.kind}function QP(e,n){let t,r=Wm(e);for(;r&&!(t=n(r));)r=Wm(r);return t}function ZP(e,n){return!!QP(e,(e=>e===n))}function eF(e){return void 0!==function(e){for(;163===e.parent.kind;)e=e.parent;return 268===e.parent.kind?e.parent.moduleReference===e?e.parent:void 0:274===e.parent.kind&&e.parent.expression===e?e.parent:void 0}(e)}function nF(e){if(Zg(e))return Qo(e.parent);if(Ah(e)&&208===e.parent.kind&&e.parent===e.parent.parent.left&&!LC(e)&&!ww(e)){const n=function(e){switch(Yh(e.parent.parent)){case 1:case 3:return Qo(e.parent);case 4:case 2:case 5:return $o(e.parent.parent)}}(e);if(n)return n}if(274===e.parent.kind&&Hb(e)){const n=No(e,2998271,!0);if(n&&n!==on)return n}else if(Td(e)&&eF(e)){const n=my(e,268);return Nt.assert(void 0!==n),Io(e,!0)}if(Td(e)){const n=function(e){let n=e.parent;for(;UC(n);)e=n,n=n.parent;if(n&&202===n.kind&&n.qualifier===e)return n}(e);if(n){Lb(n);const t=Ra(e).resolvedSymbol;return t===on?void 0:t}}for(;$b(e);)e=e.parent;if(function(e){for(;208===e.parent.kind;)e=e.parent;return 230===e.parent.kind}(e)){let n=0;230===e.parent.kind?(n=vm(e)?788968:111551,jb(e.parent)&&(n|=111551)):n=1920,n|=2097152;const t=Hb(e)?No(e,n):void 0;if(t)return t}if(344===e.parent.kind)return Dg(e.parent);if(165===e.parent.kind&&348===e.parent.parent.kind){Nt.assert(!Ah(e));const n=Bg(e.parent);return n&&n.symbol}if(mh(e)){if(Fp(e))return;const n=Rc(e,yt(r_,Iw,ww)),t=n?901119:111551;if(79===e.kind){if(fh(e)&&tI(e)){const n=uI(e.parent);return n===on?void 0:n}const r=No(e,t,!1,!0,Mg(e));if(!r&&n){const n=Rc(e,yt(Dd,NI));if(n)return tF(e,!1,$o(n))}if(r&&n){const n=Fg(e);if(n&&xw(n)&&n===r.valueDeclaration)return No(e,t,!0,!0,Ip(n))||r}return r}if(LC(e))return Cw(e);if(208===e.kind||163===e.kind){const t=Ra(e);if(t.resolvedSymbol)return t.resolvedSymbol;if(208===e.kind){if(hw(e,0),!t.resolvedSymbol){const n=qD(e.expression),r=$_(n,hy(e.name));if(r.length&&n.members){const e=d_(n).members.get("__index");if(r===J_(n))t.resolvedSymbol=e;else if(e){const i=wa(e),a=W(ee(r,(e=>e.declaration)),KG).join(",");if(i.filteredIndexSymbolCache||(i.filteredIndexSymbolCache=new Map),i.filteredIndexSymbolCache.has(a))t.resolvedSymbol=i.filteredIndexSymbolCache.get(a);else{const e=va(131072,"__index");e.declarations=ee(r,(e=>e.declaration)),e.parent=n.aliasSymbol?n.aliasSymbol:n.symbol?n.symbol:rF(e.declarations[0].parent),i.filteredIndexSymbolCache.set(a,e),t.resolvedSymbol=i.filteredIndexSymbolCache.get(a)}}}}}else gw(e,0);return!t.resolvedSymbol&&n&&UC(e)?tF(e):t.resolvedSymbol}if(ww(e))return tF(e)}else if($P(e)){const n=No(e,180===e.parent.kind?788968:1920,!1,!0);return n&&n!==on?n:Tf(e)}return 179===e.parent.kind?No(e,1):void 0}function tF(e,n,t){if(Td(e)){const r=901119;let i=No(e,r,n,!0,Mg(e));if(!i&&AC(e)&&t&&(i=Yo(Da(qo(t),e.escapedText,r))),i)return i}const r=AC(e)?t:tF(e.left,n,t),i=AC(e)?e.escapedText:e.right.escapedText;if(r){const e=111551&r.flags&&V_(bl(r),"prototype");return V_(e?bl(e):_d(r),i)}}function rF(e,n){if(Aw(e))return kD(e)?Yo(e.symbol):void 0;const{parent:t}=e,r=t.parent;if(!(33554432&e.flags)){if(YG(e)){const n=$o(t);return cd(e.parent)&&e.parent.propertyName===e?Xk(n):n}if(ny(e))return $o(t.parent);if(79===e.kind){if(eF(e))return nF(e);if(205===t.kind&&203===r.kind&&e===t.propertyName){const n=V_(iF(r),e.escapedText);if(n)return n}else if(rI(t)&&t.name===e)return 103===t.keywordToken&&"target"===Pc(e)?ON(t).symbol:100===t.keywordToken&&"meta"===Pc(e)?gm().members.get("meta"):void 0}switch(e.kind){case 79:case 80:case 208:case 163:if(!Wv(e))return nF(e);case 108:const i=Jm(e,!1,!1);if(Ad(i)){const e=up(i);if(e.thisParameter)return e.thisParameter}if(hh(e))return uO(e).symbol;case 194:return xb(e).symbol;case 106:return uO(e).symbol;case 135:const a=e.parent;return a&&173===a.kind?a.parent.symbol:void 0;case 10:case 14:if(vh(e.parent.parent)&&bh(e.parent.parent)===e||(269===e.parent.kind||275===e.parent.kind)&&e.parent.moduleSpecifier===e||Ah(e)&&100!==jT(x)&&wh(e.parent,!1)||lm(e.parent)||Tk(e.parent)&&um(e.parent.parent)&&e.parent.parent.argument===e.parent)return Oo(e,e,n);if(Dk(t)&&$h(t)&&t.arguments[1]===e)return $o(t);case 8:const o=Nk(t)?t.argumentExpression===e?cO(t.expression):void 0:Tk(t)&&bk(r)?Lb(r.objectType):void 0;return o&&V_(o,Oc(e.text));case 88:case 98:case 38:case 84:return Qo(e.parent);case 202:return um(e)?rF(e.argument.literal,n):void 0;case 93:return XI(e.parent)?Nt.checkDefined(e.parent.symbol):void 0;case 100:case 103:return rI(e.parent)?DN(e.parent).symbol:void 0;case 233:return uO(e).symbol;default:return}}}function iF(e){if(Aw(e)&&!kD(e))return mn;if(33554432&e.flags)return mn;const n=Gb(e),t=n&&nd($o(n.class));if(vm(e)){const n=Lb(e);return t?$d(n,t.thisType):n}if(mh(e))return oF(e);if(t&&!n.isImplements){const e=De(Ql(t));return e?$d(e,t.thisType):mn}if(jS(e))return _d($o(e));if(79===(r=e).kind&&jS(r.parent)&&Wc(r.parent)===r){const n=rF(e);return n?_d(n):mn}var r;if(Nu(e)){const n=$o(e);return n?bl(n):mn}if(YG(e)){const n=rF(e);return n?bl(n):mn}if(Kd(e))return Cc(e.parent,!0,0)||mn;if(eF(e)){const n=rF(e);if(n){const e=_d(n);return uc(e)?bl(n):e}}return rI(e.parent)&&e.parent.keywordToken===e.kind?DN(e.parent):mn}function aF(e){if(Nt.assert(207===e.kind||206===e.kind),247===e.parent.kind)return GD(e,NM(e.parent)||mn);if(223===e.parent.kind)return GD(e,cO(e.parent.right)||mn);if(299===e.parent.kind){const n=Tn(e.parent.parent,wk);return PD(n,aF(n)||mn,af(n.properties,e.parent))}const n=Tn(e.parent,Ik),t=aF(n)||mn,r=DM(65,t,An,e.parent)||mn;return FD(n,t,n.elements.indexOf(e),r)}function oF(e){return Xb(e)&&(e=e.parent),tb(cO(e))}function sF(e){const n=Qo(e.parent);return ub(e)?bl(n):_d(n)}function cF(e){const n=e.name;switch(n.kind){case 79:return ib(Pc(n));case 8:case 10:return ib(n.text);case 164:const e=jk(n);return RD(e,12288)?e:Dn;default:return Nt.fail("Unsupported property name.")}}function lF(e){const n=op(f_(e=w_(e))),t=H_(e,0).length?Wt:H_(e,1).length?qt:void 0;return t&&A(f_(t),(e=>{n.has(e.escapedName)||n.set(e.escapedName,e)})),ms(n)}function dF(e){return 0!==H_(e,0).length||0!==H_(e,1).length}function uF(e){if(fd(e))return!1;const n=Dc(e,AC);if(!n)return!1;const t=n.parent;return!!t&&(!((Rk(t)||bw(t))&&t.name===n)&&jF(n)===he)}function _F(e){let n=Oo(e.parent,e);if(!n||yf(n))return!0;const t=jo(n);n=Go(n);const r=wa(n);return void 0===r.exportsSomeValue&&(r.exportsSomeValue=t?!!(111551&n.flags):pp(zo(n),(function(e){return(e=Eo(e))&&!!(111551&xo(e))}))),r.exportsSomeValue}function pF(e,n){var t;const r=Dc(e,AC);if(r){let e=jF(r,function(e){return Cu(e.parent)&&e===e.parent.name}(r));if(e){if(1048576&e.flags){const t=Yo(e.exportSymbol);if(!n&&944&t.flags&&!(3&t.flags))return;e=t}const i=Zo(e);if(i){if(512&i.flags&&308===(null==(t=i.valueDeclaration)?void 0:t.kind)){const e=i.valueDeclaration;return e!==Ip(r)?void 0:e}return Rc(r.parent,(e=>Cu(e)&&$o(e)===i))}}}}function fF(e){const n=bL(e);if(n)return n;const t=Dc(e,AC);if(t){const e=function(e){const n=Ra(e).resolvedSymbol;return n&&n!==on?n:Fa(e,e.escapedText,3257279,void 0,void 0,!0,void 0,void 0)}(t);if(vo(e,111551)&&!Lo(e,111551))return Xa(e)}}function mF(e){if(418&e.flags&&e.valueDeclaration&&!Aw(e.valueDeclaration)){const n=wa(e);if(void 0===n.isDeclarationWithCollidingName){const t=Mf(e.valueDeclaration);if(Np(t)||function(e){return e.valueDeclaration&&kk(e.valueDeclaration)&&295===Sc(e.valueDeclaration).parent.kind}(e)){const r=Ra(e.valueDeclaration);if(Fa(t.parent,e.escapedName,111551,void 0,void 0,!1))n.isDeclarationWithCollidingName=!0;else if(16384&r.flags){const e=32768&r.flags,i=fu(t,!1),a=238===t.kind&&fu(t.parent,!1);n.isDeclarationWithCollidingName=!(vf(t)||e&&(i||a))}else n.isDeclarationWithCollidingName=!1}}return n.isDeclarationWithCollidingName}return!1}function hF(e){if(!fd(e)){const n=Dc(e,AC);if(n){const e=jF(n);if(e&&mF(e))return e.valueDeclaration}}}function gF(e){const n=Dc(e,Nu);if(n){const e=$o(n);if(e)return mF(e)}return!1}function yF(e){switch(Nt.assert(!x.verbatimModuleSyntax),e.kind){case 268:return bF($o(e));case 270:case 271:case 273:case 278:const n=$o(e);return!!n&&bF(n)&&!Lo(n,111551);case 275:const t=e.exportClause;return!!t&&(qI(t)||ce(t.elements,yF));case 274:return!e.expression||79!==e.expression.kind||bF($o(e))}return!1}function vF(e){const n=Dc(e,BI);return!(void 0===n||308!==n.parent.kind||!Th(n))&&(bF($o(n))&&n.moduleReference&&!Fp(n.moduleReference))}function bF(e){var n;if(!e)return!1;const t=is(To(e));return t===on||!!(111551&(null!=(n=xo(t))?n:-1))&&(rx(x)||!EF(t))}function EF(e){return MD(e)||!!e.constEnumOnlyModule}function TF(e,n){if(Nt.assert(!x.verbatimModuleSyntax),Ya(e)){const n=$o(e),t=n&&wa(n);if(null==t?void 0:t.referenced)return!0;const r=wa(n).aliasTarget;if(r&&1&Tb(e)&&111551&xo(r)&&(rx(x)||!EF(r)))return!0}return!!n&&!!ED(e,(e=>TF(e,n)))}function xF(e){if(Gp(e.body)){if(Ju(e)||zu(e))return!1;const n=vp($o(e));return n.length>1||1===n.length&&n[0].declaration!==e}return!1}function SF(e){return!(!F||rp(e)||iR(e)||!e.initializer||db(e,16476))}function AF(e){return F&&rp(e)&&!e.initializer&&db(e,16476)}function kF(e){const n=Dc(e,wI);if(!n)return!1;const t=$o(n);return!!(t&&16&t.flags)&&!!pp(qo(t),(e=>111551&e.flags&&e.valueDeclaration&&Rk(e.valueDeclaration)))}function IF(e){const n=Dc(e,wI);if(!n)return i;const t=$o(n);return t&&f_(bl(t))||i}function wF(e){var n;const t=e.id||0;return t<0||t>=Ni.length?0:(null==(n=Ni[t])?void 0:n.flags)||0}function RF(e){return TP(e.parent),Ra(e).enumMemberValue}function DF(e){switch(e.kind){case 302:case 208:case 209:return!0}return!1}function OF(e){if(302===e.kind)return RF(e);const n=Ra(e).resolvedSymbol;if(n&&8&n.flags){const e=n.valueDeclaration;if(im(e.parent))return RF(e)}}function MF(e){return!!(524288&e.flags)&&H_(e,0).length>0}function PF(e,n){var t;const r=Dc(e,Td);if(!r)return 0;if(n&&!(n=Dc(n)))return 0;let i=!1;if(UC(r)){const e=No(Kb(r),111551,!0,!0,n);i=!!(null==(t=null==e?void 0:e.declarations)?void 0:t.every(ud))}const a=No(r,111551,!0,!0,n),o=a&&2097152&a.flags?To(a):a;i||(i=!(!a||!Lo(a,111551)));const s=No(r,788968,!0,!1,n);if(o&&o===s){const e=Bm(!1);if(e&&o===e)return 9;const n=bl(o);if(n&&Wl(n))return i?10:1}if(!s)return i?11:0;const c=_d(s);return uc(c)?i?11:0:3&c.flags?11:RD(c,245760)?2:RD(c,528)?6:RD(c,296)?3:RD(c,2112)?4:RD(c,402653316)?5:Nx(c)?7:RD(c,12288)?8:MF(c)?10:cx(c)?7:11}function FF(e,n,t,r,i){const a=Dc(e,Lm);if(!a)return pA.createToken(131);const o=$o(a);let s=!o||133120&o.flags?mn:kx(bl(o));return 8192&s.flags&&s.symbol===o&&(t|=1048576),i&&(s=Vx(s)),se.typeToTypeNode(s,n,1024|t,r)}function GF(e,n,t,r){const i=Dc(e,Ad);if(!i)return pA.createToken(131);const a=up(i);return se.typeToTypeNode(Sp(a),n,1024|t,r)}function UF(e,n,t,r){const i=Dc(e,uu);if(!i)return pA.createToken(131);const a=ES(oF(i));return se.typeToTypeNode(a,n,1024|t,r)}function VF(e){return le.has(Oc(e))}function jF(e,n){const t=Ra(e).resolvedSymbol;if(t)return t;let r=e;if(n){const n=e.parent;Nu(n)&&e===n.name&&(r=cc(n))}return Fa(r,e.escapedText,3257279,void 0,void 0,!0)}function KF(e){if(!fd(e)){const n=Dc(e,AC);if(n){const e=jF(n);if(e)return is(e).valueDeclaration}}}function WF(e){return!!(am(e)||kI(e)&&om(e))&&rb(bl($o(e)))}function qF(e,n){return function(e,n,t){const r=1056&e.flags?se.symbolToExpression(e.symbol,111551,n,void 0,t):e===Bn?pA.createTrue():e===Fn&&pA.createFalse();if(r)return r;const i=e.value;return"object"==typeof i?pA.createBigIntLiteral(i):"number"==typeof i?pA.createNumericLiteral(i):pA.createStringLiteral(i)}(bl($o(e)),e,n)}function zF(e){return e?(sa(e),Ip(e).localJsxFactory||zr):zr}function JF(e){if(e){const n=Ip(e);if(n){if(n.localJsxFragmentFactory)return n.localJsxFragmentFactory;const e=n.pragmas.get("jsxfrag"),t=gn(e)?e[0]:e;if(t)return n.localJsxFragmentFactory=LD(t.arguments.factory,L),n.localJsxFragmentFactory}}if(x.jsxFragmentFactory)return LD(x.jsxFragmentFactory,L)}function XF(e){const n=264===e.kind?En(e.name,cC):mg(e),t=Mo(n,n,void 0);if(t)return ip(t,308)}function $F(e,n){if((t&n)!==n&&x.importHelpers){const o=Ip(e);if(Sf(o,x)&&!(16777216&e.flags)){const s=(i=o,a=e,r||(r=Po(i,s_,Vo.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,a)||on),r);if(s!==on){const r=n&~t;for(let n=1;n<=16777216;n<<=1)if(r&n)for(const t of QF(n)){if(d.has(t))continue;d.add(t);const r=Da(s.exports,Oc(t),111551);r?524288&n?ce(vp(r),(e=>JN(e)>3))||_a(e,Vo.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,s_,t,4):1048576&n?ce(vp(r),(e=>JN(e)>4))||_a(e,Vo.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,s_,t,5):1024&n&&(ce(vp(r),(e=>JN(e)>2))||_a(e,Vo.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,s_,t,3)):_a(e,Vo.This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0,s_,t)}}t|=n}}var i,a}function QF(e){switch(e){case 1:return["__extends"];case 2:return["__assign"];case 4:return["__rest"];case 8:return I?["__decorate"]:["__esDecorate","__runInitializers"];case 16:return["__metadata"];case 32:return["__param"];case 64:return["__awaiter"];case 128:return["__generator"];case 256:return["__values"];case 512:return["__read"];case 1024:return["__spreadArray"];case 2048:return["__await"];case 4096:return["__asyncGenerator"];case 8192:return["__asyncDelegator"];case 16384:return["__asyncValues"];case 32768:return["__exportStar"];case 65536:return["__importStar"];case 131072:return["__importDefault"];case 262144:return["__makeTemplateObject"];case 524288:return["__classPrivateFieldGet"];case 1048576:return["__classPrivateFieldSet"];case 2097152:return["__classPrivateFieldIn"];case 4194304:return["__createBinding"];case 8388608:return["__setFunctionName"];case 16777216:return["__propKey"];default:return Nt.fail("Unrecognized helper")}}function ZF(e){const n=function(e){const n=function(e){return dN(e)?D(e.modifiers,KC):void 0}(e);return n&&SG(n,Vo.Decorators_are_not_valid_here)}(e)||function(e){if(!e.modifiers)return!1;const n=function(e){switch(e.kind){case 174:case 175:case 173:case 169:case 168:case 171:case 170:case 178:case 264:case 269:case 268:case 275:case 274:case 215:case 216:case 166:case 165:return;case 172:case 299:case 300:case 267:case 279:return D(e.modifiers,Ed);default:if(265===e.parent.kind||308===e.parent.kind)return;switch(e.kind){case 259:return eG(e,132);case 260:case 182:return eG(e,126);case 228:case 261:case 240:case 262:return D(e.modifiers,Ed);case 263:return eG(e,85);default:Nt.assertNever(e)}}}(e);return n&&SG(n,Vo.Modifiers_cannot_appear_here)}(e);if(void 0!==n)return n;if(HC(e)&&Hv(e))return SG(e,Vo.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters);let t,r,i,a,o,s=0,c=!1,l=!1;for(const n of e.modifiers)if(KC(n)){if(!sh(I,e,e.parent,e.parent.parent))return 171!==e.kind||Gp(e.body)?SG(e,Vo.Decorators_are_not_valid_here):SG(e,Vo.A_decorator_can_only_decorate_a_method_implementation_not_an_overload);if(I&&(174===e.kind||175===e.kind)){const n=zv(e.parent.members,e);if(yb(n.firstAccessor)&&e===n.secondAccessor)return SG(e,Vo.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name)}if(-132098&s)return LG(n,Vo.Decorators_are_not_valid_here);if(l&&126975&s)return Nt.assertIsDefined(o),!xG(Ip(n))&&(iS(_a(n,Vo.Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export),Hf(o,Vo.Decorator_used_before_export_here)),!0);s|=131072,126975&s?1&s&&(c=!0):l=!0,null!=o||(o=n)}else{if(146!==n.kind){if(168===e.kind||170===e.kind)return LG(n,Vo._0_modifier_cannot_appear_on_a_type_member,us(n.kind));if(178===e.kind&&(124!==n.kind||!Dd(e.parent)))return LG(n,Vo._0_modifier_cannot_appear_on_an_index_signature,us(n.kind))}if(101!==n.kind&&145!==n.kind&&85!==n.kind&&165===e.kind)return LG(n,Vo._0_modifier_cannot_appear_on_a_type_parameter,us(n.kind));switch(n.kind){case 85:if(263!==e.kind&&165!==e.kind)return LG(e,Vo.A_class_member_cannot_have_the_0_keyword,us(85));const l=e.parent;if(165===e.kind&&!(Cd(l)||Dd(l)||ik(l)||ak(l)||ZC(l)||ek(l)||zC(l)))return LG(n,Vo._0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class,us(n.kind));break;case 161:if(16384&s)return LG(n,Vo._0_modifier_already_seen,"override");if(2&s)return LG(n,Vo._0_modifier_cannot_be_used_with_1_modifier,"override","declare");if(64&s)return LG(n,Vo._0_modifier_must_precede_1_modifier,"override","readonly");if(128&s)return LG(n,Vo._0_modifier_must_precede_1_modifier,"override","accessor");if(512&s)return LG(n,Vo._0_modifier_must_precede_1_modifier,"override","async");s|=16384,a=n;break;case 123:case 122:case 121:const d=zs(Ib(n.kind));if(28&s)return LG(n,Vo.Accessibility_modifier_already_seen);if(16384&s)return LG(n,Vo._0_modifier_must_precede_1_modifier,d,"override");if(32&s)return LG(n,Vo._0_modifier_must_precede_1_modifier,d,"static");if(128&s)return LG(n,Vo._0_modifier_must_precede_1_modifier,d,"accessor");if(64&s)return LG(n,Vo._0_modifier_must_precede_1_modifier,d,"readonly");if(512&s)return LG(n,Vo._0_modifier_must_precede_1_modifier,d,"async");if(265===e.parent.kind||308===e.parent.kind)return LG(n,Vo._0_modifier_cannot_appear_on_a_module_or_namespace_element,d);if(256&s)return 121===n.kind?LG(n,Vo._0_modifier_cannot_be_used_with_1_modifier,d,"abstract"):LG(n,Vo._0_modifier_must_precede_1_modifier,d,"abstract");if(hd(e))return LG(n,Vo.An_accessibility_modifier_cannot_be_used_with_a_private_identifier);s|=Ib(n.kind);break;case 124:if(32&s)return LG(n,Vo._0_modifier_already_seen,"static");if(64&s)return LG(n,Vo._0_modifier_must_precede_1_modifier,"static","readonly");if(512&s)return LG(n,Vo._0_modifier_must_precede_1_modifier,"static","async");if(128&s)return LG(n,Vo._0_modifier_must_precede_1_modifier,"static","accessor");if(265===e.parent.kind||308===e.parent.kind)return LG(n,Vo._0_modifier_cannot_appear_on_a_module_or_namespace_element,"static");if(166===e.kind)return LG(n,Vo._0_modifier_cannot_appear_on_a_parameter,"static");if(256&s)return LG(n,Vo._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(16384&s)return LG(n,Vo._0_modifier_must_precede_1_modifier,"static","override");s|=32,t=n;break;case 127:if(128&s)return LG(n,Vo._0_modifier_already_seen,"accessor");if(64&s)return LG(n,Vo._0_modifier_cannot_be_used_with_1_modifier,"accessor","readonly");if(2&s)return LG(n,Vo._0_modifier_cannot_be_used_with_1_modifier,"accessor","declare");if(169!==e.kind)return LG(n,Vo.accessor_modifier_can_only_appear_on_a_property_declaration);s|=128;break;case 146:if(64&s)return LG(n,Vo._0_modifier_already_seen,"readonly");if(169!==e.kind&&168!==e.kind&&178!==e.kind&&166!==e.kind)return LG(n,Vo.readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature);if(128&s)return LG(n,Vo._0_modifier_cannot_be_used_with_1_modifier,"readonly","accessor");s|=64;break;case 93:if(x.verbatimModuleSyntax&&!(16777216&e.flags)&&262!==e.kind&&261!==e.kind&&264!==e.kind&&308===e.parent.kind&&(1===k||1===Ip(e).impliedNodeFormat))return LG(n,Vo.A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled);if(1&s)return LG(n,Vo._0_modifier_already_seen,"export");if(2&s)return LG(n,Vo._0_modifier_must_precede_1_modifier,"export","declare");if(256&s)return LG(n,Vo._0_modifier_must_precede_1_modifier,"export","abstract");if(512&s)return LG(n,Vo._0_modifier_must_precede_1_modifier,"export","async");if(Dd(e.parent))return LG(n,Vo._0_modifier_cannot_appear_on_class_elements_of_this_kind,"export");if(166===e.kind)return LG(n,Vo._0_modifier_cannot_appear_on_a_parameter,"export");s|=1;break;case 88:const u=308===e.parent.kind?e.parent:e.parent.parent;if(264===u.kind&&!ff(u))return LG(n,Vo.A_default_export_can_only_be_used_in_an_ECMAScript_style_module);if(!(1&s))return LG(n,Vo._0_modifier_must_precede_1_modifier,"export","default");if(c)return LG(o,Vo.Decorators_are_not_valid_here);s|=1024;break;case 136:if(2&s)return LG(n,Vo._0_modifier_already_seen,"declare");if(512&s)return LG(n,Vo._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(16384&s)return LG(n,Vo._0_modifier_cannot_be_used_in_an_ambient_context,"override");if(Dd(e.parent)&&!qC(e))return LG(n,Vo._0_modifier_cannot_appear_on_class_elements_of_this_kind,"declare");if(166===e.kind)return LG(n,Vo._0_modifier_cannot_appear_on_a_parameter,"declare");if(16777216&e.parent.flags&&265===e.parent.kind)return LG(n,Vo.A_declare_modifier_cannot_be_used_in_an_already_ambient_context);if(hd(e))return LG(n,Vo._0_modifier_cannot_be_used_with_a_private_identifier,"declare");if(128&s)return LG(n,Vo._0_modifier_cannot_be_used_with_1_modifier,"declare","accessor");s|=2,r=n;break;case 126:if(256&s)return LG(n,Vo._0_modifier_already_seen,"abstract");if(260!==e.kind&&182!==e.kind){if(171!==e.kind&&169!==e.kind&&174!==e.kind&&175!==e.kind)return LG(n,Vo.abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration);if(260!==e.parent.kind||!db(e.parent,256))return LG(n,Vo.Abstract_methods_can_only_appear_within_an_abstract_class);if(32&s)return LG(n,Vo._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(8&s)return LG(n,Vo._0_modifier_cannot_be_used_with_1_modifier,"private","abstract");if(512&s&&i)return LG(i,Vo._0_modifier_cannot_be_used_with_1_modifier,"async","abstract");if(16384&s)return LG(n,Vo._0_modifier_must_precede_1_modifier,"abstract","override");if(128&s)return LG(n,Vo._0_modifier_must_precede_1_modifier,"abstract","accessor")}if(Hc(e)&&80===e.name.kind)return LG(n,Vo._0_modifier_cannot_be_used_with_a_private_identifier,"abstract");s|=256;break;case 132:if(512&s)return LG(n,Vo._0_modifier_already_seen,"async");if(2&s||16777216&e.parent.flags)return LG(n,Vo._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(166===e.kind)return LG(n,Vo._0_modifier_cannot_appear_on_a_parameter,"async");if(256&s)return LG(n,Vo._0_modifier_cannot_be_used_with_1_modifier,"async","abstract");s|=512,i=n;break;case 101:case 145:const _=101===n.kind?32768:65536,p=101===n.kind?"in":"out";if(165!==e.kind||!(NI(e.parent)||Dd(e.parent)||DI(e.parent)))return LG(n,Vo._0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias,p);if(s&_)return LG(n,Vo._0_modifier_already_seen,p);if(32768&_&&65536&s)return LG(n,Vo._0_modifier_must_precede_1_modifier,"in","out");s|=_}}return 173===e.kind?32&s?LG(t,Vo._0_modifier_cannot_appear_on_a_constructor_declaration,"static"):16384&s?LG(a,Vo._0_modifier_cannot_appear_on_a_constructor_declaration,"override"):!!(512&s)&&LG(i,Vo._0_modifier_cannot_appear_on_a_constructor_declaration,"async"):(269===e.kind||268===e.kind)&&2&s?LG(r,Vo.A_0_modifier_cannot_be_used_with_an_import_declaration,"declare"):166===e.kind&&16476&s&&Kd(e.name)?LG(e,Vo.A_parameter_property_may_not_be_declared_using_a_binding_pattern):166===e.kind&&16476&s&&e.dotDotDotToken?LG(e,Vo.A_parameter_property_cannot_be_declared_using_a_rest_parameter):!!(512&s)&&function(e,n){switch(e.kind){case 171:case 259:case 215:case 216:return!1}return LG(n,Vo._0_modifier_cannot_be_used_here,"async")}(e,i)}function eG(e,n){const t=D(e.modifiers,Ed);return t&&t.kind!==n?t:void 0}function nG(e,n=Vo.Trailing_comma_not_allowed){return!(!e||!e.hasTrailingComma)&&AG(e[0],e.end-1,1,n)}function tG(e,n){if(e&&0===e.length){const t=e.pos-1;return AG(n,t,ks(n.text,e.end)+1-t,Vo.Type_parameter_list_cannot_be_empty)}return!1}function rG(e){const n=Ip(e);return ZF(e)||tG(e.typeParameters,n)||function(e){let n=!1;const t=e.length;for(let r=0;r<t;r++){const i=e[r];if(i.dotDotDotToken){if(r!==t-1)return LG(i.dotDotDotToken,Vo.A_rest_parameter_must_be_last_in_a_parameter_list);if(16777216&i.flags||nG(e,Vo.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),i.questionToken)return LG(i.questionToken,Vo.A_rest_parameter_cannot_be_optional);if(i.initializer)return LG(i.name,Vo.A_rest_parameter_cannot_have_an_initializer)}else if(rp(i)){if(n=!0,i.questionToken&&i.initializer)return LG(i.name,Vo.Parameter_cannot_have_question_mark_and_initializer)}else if(n&&!i.initializer)return LG(i.name,Vo.A_required_parameter_cannot_follow_an_optional_parameter)}}(e.parameters)||function(e,n){if(!Bk(e))return!1;e.typeParameters&&!(S(e.typeParameters)>1||e.typeParameters.hasTrailingComma||e.typeParameters[0].constraint)&&n&&ro(n.fileName,[".mts",".cts"])&&LG(e.typeParameters[0],Vo.This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint);const{equalsGreaterThanToken:t}=e;return bs(n,t.pos).line!==bs(n,t.end).line&&LG(t,Vo.Line_terminator_not_permitted_before_arrow)}(e,n)||Cd(e)&&function(e){if(L>=3){const n=e.body&&lI(e.body)&&PR(e.body.statements);if(n){const t=j(e.parameters,(e=>!!e.initializer||Kd(e.name)||a_(e)));if(S(t)){A(t,(e=>{iS(_a(e,Vo.This_parameter_is_not_allowed_with_use_strict_directive),Hf(n,Vo.use_strict_directive_used_here))}));const e=t.map(((e,n)=>Hf(e,0===n?Vo.Non_simple_parameter_declared_here:Vo.and_here)));return iS(_a(n,Vo.use_strict_directive_cannot_be_used_with_non_simple_parameter_list),...e),!0}}}return!1}(e)}function iG(e,n){return nG(n)||function(e,n){if(n&&0===n.length){const t=Ip(e),r=n.pos-1;return AG(t,r,ks(t.text,n.end)+1-r,Vo.Type_argument_list_cannot_be_empty)}return!1}(e,n)}function oG(e){const n=e.types;if(nG(n))return!0;if(n&&0===n.length){const t=us(e.token);return AG(e,n.pos,0,Vo._0_list_cannot_be_empty,t)}return ce(n,sG)}function sG(e){return Zk(e)&&GC(e.expression)&&e.typeArguments?LG(e,Vo.This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments):iG(e,e.typeArguments)}function cG(e){if(164!==e.kind)return!1;const n=e;return 223===n.expression.kind&&27===n.expression.operatorToken.kind&&LG(n.expression,Vo.A_comma_expression_is_not_allowed_in_a_computed_property_name)}function dG(e){if(e.asteriskToken){if(Nt.assert(259===e.kind||215===e.kind||171===e.kind),16777216&e.flags)return LG(e.asteriskToken,Vo.Generators_are_not_allowed_in_an_ambient_context);if(!e.body)return LG(e.asteriskToken,Vo.An_overload_signature_cannot_be_declared_as_a_generator)}}function uG(e,n){return!!e&&LG(e,n)}function _G(e,n){return!!e&&LG(e,n)}function pG(e){if(wG(e))return!0;if(247===e.kind&&e.awaitModifier&&!(32768&e.flags)){const n=Ip(e);if(Ym(e)){if(!xG(n))switch(Sf(n,x)||Ji.add(Hf(e.awaitModifier,Vo.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)),k){case 100:case 199:if(1===n.impliedNodeFormat){Ji.add(Hf(e.awaitModifier,Vo.The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level));break}case 7:case 99:case 4:if(L>=4)break;default:Ji.add(Hf(e.awaitModifier,Vo.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher))}}else if(!xG(n)){const n=Hf(e.awaitModifier,Vo.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules),t=Hm(e);return t&&173!==t.kind&&(Nt.assert(0==(2&Sy(t)),"Enclosing function should never be an async function."),iS(n,Hf(t,Vo.Did_you_mean_to_mark_this_function_as_async))),Ji.add(n),!0}return!1}if(yI(e)&&!(32768&e.flags)&&AC(e.initializer)&&"async"===e.initializer.escapedText)return LG(e.initializer,Vo.The_left_hand_side_of_a_for_of_statement_may_not_be_async),!1;if(258===e.initializer.kind){const n=e.initializer;if(!EG(n)){const t=n.declarations;if(!t.length)return!1;if(t.length>1){const t=246===e.kind?Vo.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:Vo.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement;return SG(n.declarations[1],t)}const r=t[0];if(r.initializer){const n=246===e.kind?Vo.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:Vo.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer;return LG(r.name,n)}if(r.type)return LG(r,246===e.kind?Vo.The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:Vo.The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation)}}return!1}function fG(e){if(e.parameters.length===(174===e.kind?1:2))return jv(e)}function mG(e,n){if(function(e){return Iy(e)&&!Gd(e)}(e))return LG(e,n)}function hG(e){if(rG(e))return!0;if(171===e.kind){if(207===e.parent.kind){if(e.modifiers&&(1!==e.modifiers.length||132!==Me(e.modifiers).kind))return SG(e,Vo.Modifiers_cannot_appear_here);if(uG(e.questionToken,Vo.An_object_member_cannot_be_declared_optional))return!0;if(_G(e.exclamationToken,Vo.A_definite_assignment_assertion_is_not_permitted_in_this_context))return!0;if(void 0===e.body)return AG(e,e.end-1,1,Vo._0_expected,"{")}if(dG(e))return!0}if(Dd(e.parent)){if(L<2&&LC(e.name))return LG(e.name,Vo.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(16777216&e.flags)return mG(e.name,Vo.A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);if(171===e.kind&&!e.body)return mG(e.name,Vo.A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}else{if(261===e.parent.kind)return mG(e.name,Vo.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);if(184===e.parent.kind)return mG(e.name,Vo.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 gG(e){return Ly(e)||221===e.kind&&40===e.operator&&8===e.operand.kind}function yG(e){const n=e.initializer;if(n){const r=!(gG(n)||function(e){if((Rk(e)||Nk(e)&&gG(e.argumentExpression))&&Hb(e.expression))return!!(1056&qD(e).flags)}(n)||110===n.kind||95===n.kind||(t=n,9===t.kind||221===t.kind&&40===t.operator&&9===t.operand.kind));if(!(am(e)||kI(e)&&om(e))||e.type)return LG(n,Vo.Initializers_are_not_allowed_in_ambient_contexts);if(r)return LG(n,Vo.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference)}var t}function vG(e){if(79===e.kind){if("__esModule"===Pc(e))return n=e,t=Vo.Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules,!xG(Ip(n))&&(da("noEmit",n,t,void 0,void 0,void 0),!0)}else{const n=e.elements;for(const e of n)if(!Qk(e))return vG(e.name)}var n,t;return!1}function bG(e){if(79===e.kind){if("let"===e.escapedText)return LG(e,Vo.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations)}else{const n=e.elements;for(const e of n)Qk(e)||bG(e.name)}return!1}function EG(e){const n=e.declarations;return!!nG(e.declarations)||!e.declarations.length&&AG(e,n.pos,n.end-n.pos,Vo.Variable_declaration_list_cannot_be_empty)}function TG(e){switch(e.kind){case 242:case 243:case 244:case 251:case 245:case 246:case 247:return!1;case 253:return TG(e.parent)}return!0}function xG(e){return e.parseDiagnostics.length>0}function SG(e,n,t,r,i){const a=Ip(e);if(!xG(a)){const o=Zf(a,e.pos);return Ji.add(ST(a,o.start,o.length,n,t,r,i)),!0}return!1}function AG(e,n,t,r,i,a,o){const s=Ip(e);return!xG(s)&&(Ji.add(ST(s,n,t,r,i,a,o)),!0)}function LG(e,n,t,r,i){return!xG(Ip(e))&&(Ji.add(Hf(e,n,t,r,i)),!0)}function IG(e){return 261!==e.kind&&262!==e.kind&&269!==e.kind&&268!==e.kind&&275!==e.kind&&274!==e.kind&&267!==e.kind&&!db(e,1027)&&SG(e,Vo.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier)}function wG(e){if(16777216&e.flags){if(!Ra(e).hasReportedStatementInAmbientContext&&(Ad(e.parent)||Od(e.parent)))return Ra(e).hasReportedStatementInAmbientContext=SG(e,Vo.An_implementation_cannot_be_declared_in_ambient_contexts);if(238===e.parent.kind||265===e.parent.kind||308===e.parent.kind){const n=Ra(e.parent);if(!n.hasReportedStatementInAmbientContext)return n.hasReportedStatementInAmbientContext=SG(e,Vo.Statements_are_not_allowed_in_ambient_contexts)}}return!1}function DG(e){if(32&e.numericLiteralFlags){let n;if(L>=1?n=Vo.Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:bm(e,198)?n=Vo.Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:bm(e,302)&&(n=Vo.Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0),n){const t=Kk(e.parent)&&40===e.parent.operator,r=(t?"-":"")+"0o"+e.text;return LG(t?e.parent:e,n,r)}}return function(e){const n=-1!==tf(e).indexOf("."),t=16&e.numericLiteralFlags;if(n||t)return;+e.text<=2**53-1||pa(!1,Hf(e,Vo.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers))}(e),!1}function MG(e){return!!A(e.elements,(e=>{if(e.isTypeOnly)return SG(e,273===e.kind?Vo.The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement:Vo.The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement)}))}function PG(e,n,t,r){if(1048576&n.flags&&2621440&e.flags){const i=HA(n,e);if(i)return i;const a=f_(e);if(a){const e=UA(a,n);if(e)return TT(n,W(e,(e=>[()=>bl(e),e.escapedName])),t,void 0,r)}}}}function JG(e){return!Od(e)}function XG(e){return 259!==e.kind&&171!==e.kind||!!e.body}function YG(e){switch(e.parent.kind){case 273:case 278:return AC(e);default:return Zg(e)}}function $G(e){switch(e){case 0:return"yieldType";case 1:return"returnType";case 2:return"nextType"}}function QG(e){return!!(1&e.flags)}function ZG(e){return!!(2&e.flags)}var eB,nB=E({"src/compiler/checker.ts"(){var e;Qq(),jG(),_a(),CG=/^".+"$/,kG="(anonymous)",IG=1,wG=1,RG=1,NG=1,DG=(e=>(e[e.None=0]="None",e[e.TypeofEQString=1]="TypeofEQString",e[e.TypeofEQNumber=2]="TypeofEQNumber",e[e.TypeofEQBigInt=4]="TypeofEQBigInt",e[e.TypeofEQBoolean=8]="TypeofEQBoolean",e[e.TypeofEQSymbol=16]="TypeofEQSymbol",e[e.TypeofEQObject=32]="TypeofEQObject",e[e.TypeofEQFunction=64]="TypeofEQFunction",e[e.TypeofEQHostObject=128]="TypeofEQHostObject",e[e.TypeofNEString=256]="TypeofNEString",e[e.TypeofNENumber=512]="TypeofNENumber",e[e.TypeofNEBigInt=1024]="TypeofNEBigInt",e[e.TypeofNEBoolean=2048]="TypeofNEBoolean",e[e.TypeofNESymbol=4096]="TypeofNESymbol",e[e.TypeofNEObject=8192]="TypeofNEObject",e[e.TypeofNEFunction=16384]="TypeofNEFunction",e[e.TypeofNEHostObject=32768]="TypeofNEHostObject",e[e.EQUndefined=65536]="EQUndefined",e[e.EQNull=131072]="EQNull",e[e.EQUndefinedOrNull=262144]="EQUndefinedOrNull",e[e.NEUndefined=524288]="NEUndefined",e[e.NENull=1048576]="NENull",e[e.NEUndefinedOrNull=2097152]="NEUndefinedOrNull",e[e.Truthy=4194304]="Truthy",e[e.Falsy=8388608]="Falsy",e[e.IsUndefined=16777216]="IsUndefined",e[e.IsNull=33554432]="IsNull",e[e.IsUndefinedOrNull=50331648]="IsUndefinedOrNull",e[e.All=134217727]="All",e[e.BaseStringStrictFacts=3735041]="BaseStringStrictFacts",e[e.BaseStringFacts=12582401]="BaseStringFacts",e[e.StringStrictFacts=16317953]="StringStrictFacts",e[e.StringFacts=16776705]="StringFacts",e[e.EmptyStringStrictFacts=12123649]="EmptyStringStrictFacts",e[e.EmptyStringFacts=12582401]="EmptyStringFacts",e[e.NonEmptyStringStrictFacts=7929345]="NonEmptyStringStrictFacts",e[e.NonEmptyStringFacts=16776705]="NonEmptyStringFacts",e[e.BaseNumberStrictFacts=3734786]="BaseNumberStrictFacts",e[e.BaseNumberFacts=12582146]="BaseNumberFacts",e[e.NumberStrictFacts=16317698]="NumberStrictFacts",e[e.NumberFacts=16776450]="NumberFacts",e[e.ZeroNumberStrictFacts=12123394]="ZeroNumberStrictFacts",e[e.ZeroNumberFacts=12582146]="ZeroNumberFacts",e[e.NonZeroNumberStrictFacts=7929090]="NonZeroNumberStrictFacts",e[e.NonZeroNumberFacts=16776450]="NonZeroNumberFacts",e[e.BaseBigIntStrictFacts=3734276]="BaseBigIntStrictFacts",e[e.BaseBigIntFacts=12581636]="BaseBigIntFacts",e[e.BigIntStrictFacts=16317188]="BigIntStrictFacts",e[e.BigIntFacts=16775940]="BigIntFacts",e[e.ZeroBigIntStrictFacts=12122884]="ZeroBigIntStrictFacts",e[e.ZeroBigIntFacts=12581636]="ZeroBigIntFacts",e[e.NonZeroBigIntStrictFacts=7928580]="NonZeroBigIntStrictFacts",e[e.NonZeroBigIntFacts=16775940]="NonZeroBigIntFacts",e[e.BaseBooleanStrictFacts=3733256]="BaseBooleanStrictFacts",e[e.BaseBooleanFacts=12580616]="BaseBooleanFacts",e[e.BooleanStrictFacts=16316168]="BooleanStrictFacts",e[e.BooleanFacts=16774920]="BooleanFacts",e[e.FalseStrictFacts=12121864]="FalseStrictFacts",e[e.FalseFacts=12580616]="FalseFacts",e[e.TrueStrictFacts=7927560]="TrueStrictFacts",e[e.TrueFacts=16774920]="TrueFacts",e[e.SymbolStrictFacts=7925520]="SymbolStrictFacts",e[e.SymbolFacts=16772880]="SymbolFacts",e[e.ObjectStrictFacts=7888800]="ObjectStrictFacts",e[e.ObjectFacts=16736160]="ObjectFacts",e[e.FunctionStrictFacts=7880640]="FunctionStrictFacts",e[e.FunctionFacts=16728e3]="FunctionFacts",e[e.VoidFacts=9830144]="VoidFacts",e[e.UndefinedFacts=26607360]="UndefinedFacts",e[e.NullFacts=42917664]="NullFacts",e[e.EmptyObjectStrictFacts=83427327]="EmptyObjectStrictFacts",e[e.EmptyObjectFacts=83886079]="EmptyObjectFacts",e[e.UnknownFacts=83886079]="UnknownFacts",e[e.AllTypeofNE=556800]="AllTypeofNE",e[e.OrFactsMask=8256]="OrFactsMask",e[e.AndFactsMask=134209471]="AndFactsMask",e))(DG||{}),OG=new Map(Object.entries({string:256,number:512,bigint:1024,boolean:2048,symbol:4096,undefined:524288,object:8192,function:16384})),MG=(e=>(e[e.Normal=0]="Normal",e[e.Contextual=1]="Contextual",e[e.Inferential=2]="Inferential",e[e.SkipContextSensitive=4]="SkipContextSensitive",e[e.SkipGenericFunctions=8]="SkipGenericFunctions",e[e.IsForSignatureHelp=16]="IsForSignatureHelp",e[e.IsForStringLiteralArgumentCompletions=32]="IsForStringLiteralArgumentCompletions",e[e.RestBindingElement=64]="RestBindingElement",e))(MG||{}),PG=(e=>(e[e.None=0]="None",e[e.BivariantCallback=1]="BivariantCallback",e[e.StrictCallback=2]="StrictCallback",e[e.IgnoreReturnTypes=4]="IgnoreReturnTypes",e[e.StrictArity=8]="StrictArity",e[e.StrictTopSignature=16]="StrictTopSignature",e[e.Callback=3]="Callback",e))(PG||{}),FG=gt(XG,JG),GG=new Map(Object.entries({Uppercase:0,Lowercase:1,Capitalize:2,Uncapitalize:3})),BG=class{},(e=UG||(UG={})).JSX="JSX",e.IntrinsicElements="IntrinsicElements",e.ElementClass="ElementClass",e.ElementAttributesPropertyNameContainer="ElementAttributesProperty",e.ElementChildrenAttributeNameContainer="ElementChildrenAttribute",e.Element="Element",e.IntrinsicAttributes="IntrinsicAttributes",e.IntrinsicClassAttributes="IntrinsicClassAttributes",e.LibraryManagedAttributes="LibraryManagedAttributes",VG=class{constructor(e,n,t){var r;for(this.moduleResolverHost=void 0,this.inner=void 0,this.disableTrackSymbol=!1;n instanceof VG;)n=n.inner;this.inner=n,this.moduleResolverHost=t,this.context=e,this.canTrackSymbol=!!(null==(r=this.inner)?void 0:r.trackSymbol)}trackSymbol(e,n,t){var r;return!(!(null==(r=this.inner)?void 0:r.trackSymbol)||this.disableTrackSymbol||!this.inner.trackSymbol(e,n,t)||(this.onDiagnosticReported(),0))}reportInaccessibleThisError(){var e;(null==(e=this.inner)?void 0:e.reportInaccessibleThisError)&&(this.onDiagnosticReported(),this.inner.reportInaccessibleThisError())}reportPrivateInBaseOfClassExpression(e){var n;(null==(n=this.inner)?void 0:n.reportPrivateInBaseOfClassExpression)&&(this.onDiagnosticReported(),this.inner.reportPrivateInBaseOfClassExpression(e))}reportInaccessibleUniqueSymbolError(){var e;(null==(e=this.inner)?void 0:e.reportInaccessibleUniqueSymbolError)&&(this.onDiagnosticReported(),this.inner.reportInaccessibleUniqueSymbolError())}reportCyclicStructureError(){var e;(null==(e=this.inner)?void 0:e.reportCyclicStructureError)&&(this.onDiagnosticReported(),this.inner.reportCyclicStructureError())}reportLikelyUnsafeImportRequiredError(e){var n;(null==(n=this.inner)?void 0:n.reportLikelyUnsafeImportRequiredError)&&(this.onDiagnosticReported(),this.inner.reportLikelyUnsafeImportRequiredError(e))}reportTruncationError(){var e;(null==(e=this.inner)?void 0:e.reportTruncationError)&&(this.onDiagnosticReported(),this.inner.reportTruncationError())}trackReferencedAmbientModule(e,n){var t;(null==(t=this.inner)?void 0:t.trackReferencedAmbientModule)&&(this.onDiagnosticReported(),this.inner.trackReferencedAmbientModule(e,n))}trackExternalModuleSymbolOfImportTypeNode(e){var n;(null==(n=this.inner)?void 0:n.trackExternalModuleSymbolOfImportTypeNode)&&(this.onDiagnosticReported(),this.inner.trackExternalModuleSymbolOfImportTypeNode(e))}reportNonlocalAugmentation(e,n,t){var r;(null==(r=this.inner)?void 0:r.reportNonlocalAugmentation)&&(this.onDiagnosticReported(),this.inner.reportNonlocalAugmentation(e,n,t))}reportNonSerializableProperty(e){var n;(null==(n=this.inner)?void 0:n.reportNonSerializableProperty)&&(this.onDiagnosticReported(),this.inner.reportNonSerializableProperty(e))}reportImportTypeNodeResolutionModeOverride(){var e;(null==(e=this.inner)?void 0:e.reportImportTypeNodeResolutionModeOverride)&&(this.onDiagnosticReported(),this.inner.reportImportTypeNodeResolutionModeOverride())}onDiagnosticReported(){this.context.reportedDiagnostic=!0}}}});function tB(e,n,t,r){if(void 0===e)return e;const i=n(e);let a;return void 0!==i?(a=gn(i)?(r||pB)(i):i,Nt.assertNode(a,t),a):void 0}function rB(e,n,t,r,i){if(void 0===e)return e;const a=e.length;let o;(void 0===r||r<0)&&(r=0),(void 0===i||i>a-r)&&(i=a-r);let s=-1,c=-1;r>0||i<a?o=e.hasTrailingComma&&r+i===a:(s=e.pos,c=e.end,o=e.hasTrailingComma);const l=aB(e,n,t,r,i);if(l!==e){const e=pA.createNodeArray(l,o);return bS(e,s,c),e}return e}function iB(e,n,t,r,i){if(void 0===e)return e;const a=e.length;return(void 0===r||r<0)&&(r=0),(void 0===i||i>a-r)&&(i=a-r),aB(e,n,t,r,i)}function aB(e,n,t,r,i){let a;const o=e.length;(r>0||i<o)&&(a=[]);for(let o=0;o<i;o++){const i=e[o+r],s=void 0!==i?n?n(i):i:void 0;if((void 0!==a||void 0===s||s!==i)&&(void 0===a&&(a=e.slice(0,o),Nt.assertEachNode(a,t)),s))if(gn(s))for(const e of s)Nt.assertNode(e,t),a.push(e);else Nt.assertNode(s,t),a.push(s)}return a||(Nt.assertEachNode(e,t),e)}function oB(e,n,t,r,i,a=rB){return t.startLexicalEnvironment(),e=a(e,n,Mu,r),i&&(e=t.factory.ensureUseStrict(e)),pA.mergeLexicalEnvironment(e,t.endLexicalEnvironment())}function sB(e,n,t,r=rB){let i;return t.startLexicalEnvironment(),e&&(t.setLexicalEnvironmentFlags(1,!0),i=r(e,n,HC),2&t.getLexicalEnvironmentFlags()&&BT(t.getCompilerOptions())>=2&&(i=function(e,n){let t;for(let r=0;r<e.length;r++){const i=e[r],a=cB(i,n);(t||a!==i)&&(t||(t=e.slice(0,r)),t[r]=a)}return t?MN(n.factory.createNodeArray(t,e.hasTrailingComma),e):e}(i,t)),t.setLexicalEnvironmentFlags(1,!1)),t.suspendLexicalEnvironment(),i}function cB(e,n){return e.dotDotDotToken?e:Kd(e.name)?function(e,n){const{factory:t}=n;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.modifiers,e.dotDotDotToken,t.getGeneratedNameForNode(e),e.questionToken,e.type,void 0)}(e,n):e.initializer?function(e,n,t,r){const i=r.factory;return r.addInitializationStatement(i.createIfStatement(i.createTypeCheck(i.cloneNode(n),"undefined"),GA(MN(i.createBlock([i.createExpressionStatement(GA(MN(i.createAssignment(GA(i.cloneNode(n),96),GA(t,3168|of(t))),e),3072))]),e),3905))),i.updateParameterDeclaration(e,e.modifiers,e.dotDotDotToken,e.name,e.questionToken,e.type,void 0)}(e,e.name,e.initializer,n):e}function lB(e,n,t,r=tB){t.resumeLexicalEnvironment();const i=r(e,n,bu),a=t.endLexicalEnvironment();if(ce(a)){if(!i)return t.factory.createBlock(a);const e=t.factory.converters.convertToFunctionBlock(i),n=pA.mergeLexicalEnvironment(e.statements,a);return t.factory.updateBlock(e,n)}return i}function dB(e,n,t,r=tB){t.startBlockScope();const i=r(e,n,Mu,t.factory.liftToBlock);Nt.assert(i);const a=t.endBlockScope();return ce(a)?lI(i)?(a.push(...i.statements),t.factory.updateBlock(i,a)):(a.push(i),t.factory.createBlock(a)):i}function uB(e,n,t=n){if(t===n||e.length<=1)return rB(e,n,uu);let r=0;const i=e.length;return rB(e,(e=>{const a=r<i-1;return r++,a?t(e):n(e)}),uu)}function _B(e,n,t,r=rB,i,a=tB){if(void 0===e)return;const o=eB[e.kind];return void 0===o?e:o(e,n,t,r,a,i)}function pB(e){return Nt.assert(e.length<=1,"Too many nodes written to output."),Be(e)}var fB,mB,hB,gB,yB=E({"src/compiler/visitorPublic.ts"(){Qq(),eB={163:function(e,n,t,r,i,a){return t.factory.updateQualifiedName(e,Nt.checkDefined(i(e.left,n,Td)),Nt.checkDefined(i(e.right,n,AC)))},164:function(e,n,t,r,i,a){return t.factory.updateComputedPropertyName(e,Nt.checkDefined(i(e.expression,n,uu)))},165:function(e,n,t,r,i,a){return t.factory.updateTypeParameterDeclaration(e,r(e.modifiers,n,Ed),Nt.checkDefined(i(e.name,n,AC)),i(e.constraint,n,jd),i(e.default,n,jd))},166:function(e,n,t,r,i,a){return t.factory.updateParameterDeclaration(e,r(e.modifiers,n,Gd),a?i(e.dotDotDotToken,a,mC):e.dotDotDotToken,Nt.checkDefined(i(e.name,n,Sd)),a?i(e.questionToken,a,EC):e.questionToken,i(e.type,n,jd),i(e.initializer,n,uu))},167:function(e,n,t,r,i,a){return t.factory.updateDecorator(e,Nt.checkDefined(i(e.expression,n,uu)))},168:function(e,n,t,r,i,a){return t.factory.updatePropertySignature(e,r(e.modifiers,n,Ed),Nt.checkDefined(i(e.name,n,xd)),a?i(e.questionToken,a,EC):e.questionToken,i(e.type,n,jd))},169:function(e,n,t,r,i,a){var o,s;return t.factory.updatePropertyDeclaration(e,r(e.modifiers,n,Gd),Nt.checkDefined(i(e.name,n,xd)),a?i(null!=(o=e.questionToken)?o:e.exclamationToken,a,_N):null!=(s=e.questionToken)?s:e.exclamationToken,i(e.type,n,jd),i(e.initializer,n,uu))},170:function(e,n,t,r,i,a){return t.factory.updateMethodSignature(e,r(e.modifiers,n,Ed),Nt.checkDefined(i(e.name,n,xd)),a?i(e.questionToken,a,EC):e.questionToken,r(e.typeParameters,n,jC),r(e.parameters,n,HC),i(e.type,n,jd))},171:function(e,n,t,r,i,a){return t.factory.updateMethodDeclaration(e,r(e.modifiers,n,Gd),a?i(e.asteriskToken,a,vC):e.asteriskToken,Nt.checkDefined(i(e.name,n,xd)),a?i(e.questionToken,a,EC):e.questionToken,r(e.typeParameters,n,jC),sB(e.parameters,n,t,r),i(e.type,n,jd),lB(e.body,n,t,i))},173:function(e,n,t,r,i,a){return t.factory.updateConstructorDeclaration(e,r(e.modifiers,n,Gd),sB(e.parameters,n,t,r),lB(e.body,n,t,i))},174:function(e,n,t,r,i,a){return t.factory.updateGetAccessorDeclaration(e,r(e.modifiers,n,Gd),Nt.checkDefined(i(e.name,n,xd)),sB(e.parameters,n,t,r),i(e.type,n,jd),lB(e.body,n,t,i))},175:function(e,n,t,r,i,a){return t.factory.updateSetAccessorDeclaration(e,r(e.modifiers,n,Gd),Nt.checkDefined(i(e.name,n,xd)),sB(e.parameters,n,t,r),lB(e.body,n,t,i))},172:function(e,n,t,r,i,a){return t.startLexicalEnvironment(),t.suspendLexicalEnvironment(),t.factory.updateClassStaticBlockDeclaration(e,lB(e.body,n,t,i))},176:function(e,n,t,r,i,a){return t.factory.updateCallSignature(e,r(e.typeParameters,n,jC),r(e.parameters,n,HC),i(e.type,n,jd))},177:function(e,n,t,r,i,a){return t.factory.updateConstructSignature(e,r(e.typeParameters,n,jC),r(e.parameters,n,HC),i(e.type,n,jd))},178:function(e,n,t,r,i,a){return t.factory.updateIndexSignature(e,r(e.modifiers,n,Gd),r(e.parameters,n,HC),Nt.checkDefined(i(e.type,n,jd)))},179:function(e,n,t,r,i,a){return t.factory.updateTypePredicateNode(e,i(e.assertsModifier,n,wC),Nt.checkDefined(i(e.parameterName,n,pN)),i(e.type,n,jd))},180:function(e,n,t,r,i,a){return t.factory.updateTypeReferenceNode(e,Nt.checkDefined(i(e.typeName,n,Td)),r(e.typeArguments,n,jd))},181:function(e,n,t,r,i,a){return t.factory.updateFunctionTypeNode(e,r(e.typeParameters,n,jC),r(e.parameters,n,HC),Nt.checkDefined(i(e.type,n,jd)))},182:function(e,n,t,r,i,a){return t.factory.updateConstructorTypeNode(e,r(e.modifiers,n,Ed),r(e.typeParameters,n,jC),r(e.parameters,n,HC),Nt.checkDefined(i(e.type,n,jd)))},183:function(e,n,t,r,i,a){return t.factory.updateTypeQueryNode(e,Nt.checkDefined(i(e.exprName,n,Td)),r(e.typeArguments,n,jd))},184:function(e,n,t,r,i,a){return t.factory.updateTypeLiteralNode(e,r(e.members,n,Bd))},185:function(e,n,t,r,i,a){return t.factory.updateArrayTypeNode(e,Nt.checkDefined(i(e.elementType,n,jd)))},186:function(e,n,t,r,i,a){return t.factory.updateTupleTypeNode(e,r(e.elements,n,jd))},187:function(e,n,t,r,i,a){return t.factory.updateOptionalTypeNode(e,Nt.checkDefined(i(e.type,n,jd)))},188:function(e,n,t,r,i,a){return t.factory.updateRestTypeNode(e,Nt.checkDefined(i(e.type,n,jd)))},189:function(e,n,t,r,i,a){return t.factory.updateUnionTypeNode(e,r(e.types,n,jd))},190:function(e,n,t,r,i,a){return t.factory.updateIntersectionTypeNode(e,r(e.types,n,jd))},191:function(e,n,t,r,i,a){return t.factory.updateConditionalTypeNode(e,Nt.checkDefined(i(e.checkType,n,jd)),Nt.checkDefined(i(e.extendsType,n,jd)),Nt.checkDefined(i(e.trueType,n,jd)),Nt.checkDefined(i(e.falseType,n,jd)))},192:function(e,n,t,r,i,a){return t.factory.updateInferTypeNode(e,Nt.checkDefined(i(e.typeParameter,n,jC)))},202:function(e,n,t,r,i,a){return t.factory.updateImportTypeNode(e,Nt.checkDefined(i(e.argument,n,jd)),i(e.assertions,n,jI),i(e.qualifier,n,Td),r(e.typeArguments,n,jd),e.isTypeOf)},298:function(e,n,t,r,i,a){return t.factory.updateImportTypeAssertionContainer(e,Nt.checkDefined(i(e.assertClause,n,HI)),e.multiLine)},199:function(e,n,t,r,i,a){return t.factory.updateNamedTupleMember(e,a?i(e.dotDotDotToken,a,mC):e.dotDotDotToken,Nt.checkDefined(i(e.name,n,AC)),a?i(e.questionToken,a,EC):e.questionToken,Nt.checkDefined(i(e.type,n,jd)))},193:function(e,n,t,r,i,a){return t.factory.updateParenthesizedType(e,Nt.checkDefined(i(e.type,n,jd)))},195:function(e,n,t,r,i,a){return t.factory.updateTypeOperatorNode(e,Nt.checkDefined(i(e.type,n,jd)))},196:function(e,n,t,r,i,a){return t.factory.updateIndexedAccessTypeNode(e,Nt.checkDefined(i(e.objectType,n,jd)),Nt.checkDefined(i(e.indexType,n,jd)))},197:function(e,n,t,r,i,a){return t.factory.updateMappedTypeNode(e,a?i(e.readonlyToken,a,fN):e.readonlyToken,Nt.checkDefined(i(e.typeParameter,n,jC)),i(e.nameType,n,jd),a?i(e.questionToken,a,mN):e.questionToken,i(e.type,n,jd),r(e.members,n,Bd))},198:function(e,n,t,r,i,a){return t.factory.updateLiteralTypeNode(e,Nt.checkDefined(i(e.literal,n,du)))},200:function(e,n,t,r,i,a){return t.factory.updateTemplateLiteralType(e,Nt.checkDefined(i(e.head,n,_C)),r(e.templateSpans,n,Sk))},201:function(e,n,t,r,i,a){return t.factory.updateTemplateLiteralTypeSpan(e,Nt.checkDefined(i(e.type,n,jd)),Nt.checkDefined(i(e.literal,n,sd)))},203:function(e,n,t,r,i,a){return t.factory.updateObjectBindingPattern(e,r(e.elements,n,kk))},204:function(e,n,t,r,i,a){return t.factory.updateArrayBindingPattern(e,r(e.elements,n,qd))},205:function(e,n,t,r,i,a){return t.factory.updateBindingElement(e,a?i(e.dotDotDotToken,a,mC):e.dotDotDotToken,i(e.propertyName,n,xd),Nt.checkDefined(i(e.name,n,Sd)),i(e.initializer,n,uu))},206:function(e,n,t,r,i,a){return t.factory.updateArrayLiteralExpression(e,r(e.elements,n,uu))},207:function(e,n,t,r,i,a){return t.factory.updateObjectLiteralExpression(e,r(e.properties,n,Vd))},208:function(e,n,t,r,i,a){return Ml(e)?t.factory.updatePropertyAccessChain(e,Nt.checkDefined(i(e.expression,n,uu)),a?i(e.questionDotToken,a,xC):e.questionDotToken,Nt.checkDefined(i(e.name,n,Dl))):t.factory.updatePropertyAccessExpression(e,Nt.checkDefined(i(e.expression,n,uu)),Nt.checkDefined(i(e.name,n,Dl)))},209:function(e,n,t,r,i,a){return Pl(e)?t.factory.updateElementAccessChain(e,Nt.checkDefined(i(e.expression,n,uu)),a?i(e.questionDotToken,a,xC):e.questionDotToken,Nt.checkDefined(i(e.argumentExpression,n,uu))):t.factory.updateElementAccessExpression(e,Nt.checkDefined(i(e.expression,n,uu)),Nt.checkDefined(i(e.argumentExpression,n,uu)))},210:function(e,n,t,r,i,a){return Fl(e)?t.factory.updateCallChain(e,Nt.checkDefined(i(e.expression,n,uu)),a?i(e.questionDotToken,a,xC):e.questionDotToken,r(e.typeArguments,n,jd),r(e.arguments,n,uu)):t.factory.updateCallExpression(e,Nt.checkDefined(i(e.expression,n,uu)),r(e.typeArguments,n,jd),r(e.arguments,n,uu))},211:function(e,n,t,r,i,a){return t.factory.updateNewExpression(e,Nt.checkDefined(i(e.expression,n,uu)),r(e.typeArguments,n,jd),r(e.arguments,n,uu))},212:function(e,n,t,r,i,a){return t.factory.updateTaggedTemplateExpression(e,Nt.checkDefined(i(e.tag,n,uu)),r(e.typeArguments,n,jd),Nt.checkDefined(i(e.template,n,iu)))},213:function(e,n,t,r,i,a){return t.factory.updateTypeAssertion(e,Nt.checkDefined(i(e.type,n,jd)),Nt.checkDefined(i(e.expression,n,uu)))},214:function(e,n,t,r,i,a){return t.factory.updateParenthesizedExpression(e,Nt.checkDefined(i(e.expression,n,uu)))},215:function(e,n,t,r,i,a){return t.factory.updateFunctionExpression(e,r(e.modifiers,n,Ed),a?i(e.asteriskToken,a,vC):e.asteriskToken,i(e.name,n,AC),r(e.typeParameters,n,jC),sB(e.parameters,n,t,r),i(e.type,n,jd),lB(e.body,n,t,i))},216:function(e,n,t,r,i,a){return t.factory.updateArrowFunction(e,r(e.modifiers,n,Ed),r(e.typeParameters,n,jC),sB(e.parameters,n,t,r),i(e.type,n,jd),a?Nt.checkDefined(i(e.equalsGreaterThanToken,a,SC)):e.equalsGreaterThanToken,lB(e.body,n,t,i))},217:function(e,n,t,r,i,a){return t.factory.updateDeleteExpression(e,Nt.checkDefined(i(e.expression,n,uu)))},218:function(e,n,t,r,i,a){return t.factory.updateTypeOfExpression(e,Nt.checkDefined(i(e.expression,n,uu)))},219:function(e,n,t,r,i,a){return t.factory.updateVoidExpression(e,Nt.checkDefined(i(e.expression,n,uu)))},220:function(e,n,t,r,i,a){return t.factory.updateAwaitExpression(e,Nt.checkDefined(i(e.expression,n,uu)))},221:function(e,n,t,r,i,a){return t.factory.updatePrefixUnaryExpression(e,Nt.checkDefined(i(e.operand,n,uu)))},222:function(e,n,t,r,i,a){return t.factory.updatePostfixUnaryExpression(e,Nt.checkDefined(i(e.operand,n,uu)))},223:function(e,n,t,r,i,a){return t.factory.updateBinaryExpression(e,Nt.checkDefined(i(e.left,n,uu)),a?Nt.checkDefined(i(e.operatorToken,a,yN)):e.operatorToken,Nt.checkDefined(i(e.right,n,uu)))},224:function(e,n,t,r,i,a){return t.factory.updateConditionalExpression(e,Nt.checkDefined(i(e.condition,n,uu)),a?Nt.checkDefined(i(e.questionToken,a,EC)):e.questionToken,Nt.checkDefined(i(e.whenTrue,n,uu)),a?Nt.checkDefined(i(e.colonToken,a,TC)):e.colonToken,Nt.checkDefined(i(e.whenFalse,n,uu)))},225:function(e,n,t,r,i,a){return t.factory.updateTemplateExpression(e,Nt.checkDefined(i(e.head,n,_C)),r(e.templateSpans,n,sI))},226:function(e,n,t,r,i,a){return t.factory.updateYieldExpression(e,a?i(e.asteriskToken,a,vC):e.asteriskToken,i(e.expression,n,uu))},227:function(e,n,t,r,i,a){return t.factory.updateSpreadElement(e,Nt.checkDefined(i(e.expression,n,uu)))},228:function(e,n,t,r,i,a){return t.factory.updateClassExpression(e,r(e.modifiers,n,Gd),i(e.name,n,AC),r(e.typeParameters,n,jC),r(e.heritageClauses,n,yw),r(e.members,n,Nd))},230:function(e,n,t,r,i,a){return t.factory.updateExpressionWithTypeArguments(e,Nt.checkDefined(i(e.expression,n,uu)),r(e.typeArguments,n,jd))},231:function(e,n,t,r,i,a){return t.factory.updateAsExpression(e,Nt.checkDefined(i(e.expression,n,uu)),Nt.checkDefined(i(e.type,n,jd)))},235:function(e,n,t,r,i,a){return t.factory.updateSatisfiesExpression(e,Nt.checkDefined(i(e.expression,n,uu)),Nt.checkDefined(i(e.type,n,jd)))},232:function(e,n,t,r,i,a){return Gl(e)?t.factory.updateNonNullChain(e,Nt.checkDefined(i(e.expression,n,uu))):t.factory.updateNonNullExpression(e,Nt.checkDefined(i(e.expression,n,uu)))},233:function(e,n,t,r,i,a){return t.factory.updateMetaProperty(e,Nt.checkDefined(i(e.name,n,AC)))},236:function(e,n,t,r,i,a){return t.factory.updateTemplateSpan(e,Nt.checkDefined(i(e.expression,n,uu)),Nt.checkDefined(i(e.literal,n,sd)))},238:function(e,n,t,r,i,a){return t.factory.updateBlock(e,r(e.statements,n,Mu))},240:function(e,n,t,r,i,a){return t.factory.updateVariableStatement(e,r(e.modifiers,n,Gd),Nt.checkDefined(i(e.declarationList,n,II)))},241:function(e,n,t,r,i,a){return t.factory.updateExpressionStatement(e,Nt.checkDefined(i(e.expression,n,uu)))},242:function(e,n,t,r,i,a){return t.factory.updateIfStatement(e,Nt.checkDefined(i(e.expression,n,uu)),Nt.checkDefined(i(e.thenStatement,n,Mu,t.factory.liftToBlock)),i(e.elseStatement,n,Mu,t.factory.liftToBlock))},243:function(e,n,t,r,i,a){return t.factory.updateDoStatement(e,dB(e.statement,n,t,i),Nt.checkDefined(i(e.expression,n,uu)))},244:function(e,n,t,r,i,a){return t.factory.updateWhileStatement(e,Nt.checkDefined(i(e.expression,n,uu)),dB(e.statement,n,t,i))},245:function(e,n,t,r,i,a){return t.factory.updateForStatement(e,i(e.initializer,n,Tu),i(e.condition,n,uu),i(e.incrementor,n,uu),dB(e.statement,n,t,i))},246:function(e,n,t,r,i,a){return t.factory.updateForInStatement(e,Nt.checkDefined(i(e.initializer,n,Tu)),Nt.checkDefined(i(e.expression,n,uu)),dB(e.statement,n,t,i))},247:function(e,n,t,r,i,a){return t.factory.updateForOfStatement(e,a?i(e.awaitModifier,a,RC):e.awaitModifier,Nt.checkDefined(i(e.initializer,n,Tu)),Nt.checkDefined(i(e.expression,n,uu)),dB(e.statement,n,t,i))},248:function(e,n,t,r,i,a){return t.factory.updateContinueStatement(e,i(e.label,n,AC))},249:function(e,n,t,r,i,a){return t.factory.updateBreakStatement(e,i(e.label,n,AC))},250:function(e,n,t,r,i,a){return t.factory.updateReturnStatement(e,i(e.expression,n,uu))},251:function(e,n,t,r,i,a){return t.factory.updateWithStatement(e,Nt.checkDefined(i(e.expression,n,uu)),Nt.checkDefined(i(e.statement,n,Mu,t.factory.liftToBlock)))},252:function(e,n,t,r,i,a){return t.factory.updateSwitchStatement(e,Nt.checkDefined(i(e.expression,n,uu)),Nt.checkDefined(i(e.caseBlock,n,FI)))},253:function(e,n,t,r,i,a){return t.factory.updateLabeledStatement(e,Nt.checkDefined(i(e.label,n,AC)),Nt.checkDefined(i(e.statement,n,Mu,t.factory.liftToBlock)))},254:function(e,n,t,r,i,a){return t.factory.updateThrowStatement(e,Nt.checkDefined(i(e.expression,n,uu)))},255:function(e,n,t,r,i,a){return t.factory.updateTryStatement(e,Nt.checkDefined(i(e.tryBlock,n,lI)),i(e.catchClause,n,vw),i(e.finallyBlock,n,lI))},257:function(e,n,t,r,i,a){return t.factory.updateVariableDeclaration(e,Nt.checkDefined(i(e.name,n,Sd)),a?i(e.exclamationToken,a,bC):e.exclamationToken,i(e.type,n,jd),i(e.initializer,n,uu))},258:function(e,n,t,r,i,a){return t.factory.updateVariableDeclarationList(e,r(e.declarations,n,kI))},259:function(e,n,t,r,i,a){return t.factory.updateFunctionDeclaration(e,r(e.modifiers,n,Ed),a?i(e.asteriskToken,a,vC):e.asteriskToken,i(e.name,n,AC),r(e.typeParameters,n,jC),sB(e.parameters,n,t,r),i(e.type,n,jd),lB(e.body,n,t,i))},260:function(e,n,t,r,i,a){return t.factory.updateClassDeclaration(e,r(e.modifiers,n,Gd),i(e.name,n,AC),r(e.typeParameters,n,jC),r(e.heritageClauses,n,yw),r(e.members,n,Nd))},261:function(e,n,t,r,i,a){return t.factory.updateInterfaceDeclaration(e,r(e.modifiers,n,Gd),Nt.checkDefined(i(e.name,n,AC)),r(e.typeParameters,n,jC),r(e.heritageClauses,n,yw),r(e.members,n,Bd))},262:function(e,n,t,r,i,a){return t.factory.updateTypeAliasDeclaration(e,r(e.modifiers,n,Gd),Nt.checkDefined(i(e.name,n,AC)),r(e.typeParameters,n,jC),Nt.checkDefined(i(e.type,n,jd)))},263:function(e,n,t,r,i,a){return t.factory.updateEnumDeclaration(e,r(e.modifiers,n,Gd),Nt.checkDefined(i(e.name,n,AC)),r(e.members,n,xw))},264:function(e,n,t,r,i,a){return t.factory.updateModuleDeclaration(e,r(e.modifiers,n,Gd),Nt.checkDefined(i(e.name,n,hN)),i(e.body,n,xu))},265:function(e,n,t,r,i,a){return t.factory.updateModuleBlock(e,r(e.statements,n,Mu))},266:function(e,n,t,r,i,a){return t.factory.updateCaseBlock(e,r(e.clauses,n,Hu))},267:function(e,n,t,r,i,a){return t.factory.updateNamespaceExportDeclaration(e,Nt.checkDefined(i(e.name,n,AC)))},268:function(e,n,t,r,i,a){return t.factory.updateImportEqualsDeclaration(e,r(e.modifiers,n,Gd),e.isTypeOnly,Nt.checkDefined(i(e.name,n,AC)),Nt.checkDefined(i(e.moduleReference,n,Fu)))},269:function(e,n,t,r,i,a){return t.factory.updateImportDeclaration(e,r(e.modifiers,n,Gd),i(e.importClause,n,VI),Nt.checkDefined(i(e.moduleSpecifier,n,uu)),i(e.assertClause,n,HI))},296:function(e,n,t,r,i,a){return t.factory.updateAssertClause(e,r(e.elements,n,KI),e.multiLine)},297:function(e,n,t,r,i,a){return t.factory.updateAssertEntry(e,Nt.checkDefined(i(e.name,n,_d)),Nt.checkDefined(i(e.value,n,uu)))},270:function(e,n,t,r,i,a){return t.factory.updateImportClause(e,e.isTypeOnly,i(e.name,n,AC),i(e.namedBindings,n,Lu))},271:function(e,n,t,r,i,a){return t.factory.updateNamespaceImport(e,Nt.checkDefined(i(e.name,n,AC)))},277:function(e,n,t,r,i,a){return t.factory.updateNamespaceExport(e,Nt.checkDefined(i(e.name,n,AC)))},272:function(e,n,t,r,i,a){return t.factory.updateNamedImports(e,r(e.elements,n,JI))},273:function(e,n,t,r,i,a){return t.factory.updateImportSpecifier(e,e.isTypeOnly,i(e.propertyName,n,AC),Nt.checkDefined(i(e.name,n,AC)))},274:function(e,n,t,r,i,a){return t.factory.updateExportAssignment(e,r(e.modifiers,n,Gd),Nt.checkDefined(i(e.expression,n,uu)))},275:function(e,n,t,r,i,a){return t.factory.updateExportDeclaration(e,r(e.modifiers,n,Gd),e.isTypeOnly,i(e.exportClause,n,zl),i(e.moduleSpecifier,n,uu),i(e.assertClause,n,HI))},276:function(e,n,t,r,i,a){return t.factory.updateNamedExports(e,r(e.elements,n,QI))},278:function(e,n,t,r,i,a){return t.factory.updateExportSpecifier(e,e.isTypeOnly,i(e.propertyName,n,AC),Nt.checkDefined(i(e.name,n,AC)))},280:function(e,n,t,r,i,a){return t.factory.updateExternalModuleReference(e,Nt.checkDefined(i(e.expression,n,uu)))},281:function(e,n,t,r,i,a){return t.factory.updateJsxElement(e,Nt.checkDefined(i(e.openingElement,n,sw)),r(e.children,n,Bu),Nt.checkDefined(i(e.closingElement,n,cw)))},282:function(e,n,t,r,i,a){return t.factory.updateJsxSelfClosingElement(e,Nt.checkDefined(i(e.tagName,n,Gu)),r(e.typeArguments,n,jd),Nt.checkDefined(i(e.attributes,n,pw)))},283:function(e,n,t,r,i,a){return t.factory.updateJsxOpeningElement(e,Nt.checkDefined(i(e.tagName,n,Gu)),r(e.typeArguments,n,jd),Nt.checkDefined(i(e.attributes,n,pw)))},284:function(e,n,t,r,i,a){return t.factory.updateJsxClosingElement(e,Nt.checkDefined(i(e.tagName,n,Gu)))},285:function(e,n,t,r,i,a){return t.factory.updateJsxFragment(e,Nt.checkDefined(i(e.openingFragment,n,dw)),r(e.children,n,Bu),Nt.checkDefined(i(e.closingFragment,n,uw)))},288:function(e,n,t,r,i,a){return t.factory.updateJsxAttribute(e,Nt.checkDefined(i(e.name,n,AC)),i(e.initializer,n,Vu))},289:function(e,n,t,r,i,a){return t.factory.updateJsxAttributes(e,r(e.properties,n,Uu))},290:function(e,n,t,r,i,a){return t.factory.updateJsxSpreadAttribute(e,Nt.checkDefined(i(e.expression,n,uu)))},291:function(e,n,t,r,i,a){return t.factory.updateJsxExpression(e,i(e.expression,n,uu))},292:function(e,n,t,r,i,a){return t.factory.updateCaseClause(e,Nt.checkDefined(i(e.expression,n,uu)),r(e.statements,n,Mu))},293:function(e,n,t,r,i,a){return t.factory.updateDefaultClause(e,r(e.statements,n,Mu))},294:function(e,n,t,r,i,a){return t.factory.updateHeritageClause(e,r(e.types,n,Zk))},295:function(e,n,t,r,i,a){return t.factory.updateCatchClause(e,i(e.variableDeclaration,n,kI),Nt.checkDefined(i(e.block,n,lI)))},299:function(e,n,t,r,i,a){return t.factory.updatePropertyAssignment(e,Nt.checkDefined(i(e.name,n,xd)),Nt.checkDefined(i(e.initializer,n,uu)))},300:function(e,n,t,r,i,a){return t.factory.updateShorthandPropertyAssignment(e,Nt.checkDefined(i(e.name,n,AC)),i(e.objectAssignmentInitializer,n,uu))},301:function(e,n,t,r,i,a){return t.factory.updateSpreadAssignment(e,Nt.checkDefined(i(e.expression,n,uu)))},302:function(e,n,t,r,i,a){return t.factory.updateEnumMember(e,Nt.checkDefined(i(e.name,n,xd)),i(e.initializer,n,uu))},308:function(e,n,t,r,i,a){return t.factory.updateSourceFile(e,oB(e.statements,n,t))},356:function(e,n,t,r,i,a){return t.factory.updatePartiallyEmittedExpression(e,Nt.checkDefined(i(e.expression,n,uu)))},357:function(e,n,t,r,i,a){return t.factory.updateCommaListExpression(e,r(e.elements,n,uu))}}}});function vB(e,n,t,r,i){var a,o,{enter:s,exit:c}=i.extendedDiagnostics?Cr("Source Map","beforeSourcemap","afterSourcemap"):yr,l=[],d=[],u=new Map,_=[],p=[],f="",m=0,h=0,g=0,y=0,v=0,b=0,E=!1,T=0,x=0,S=0,A=0,L=0,C=0,k=!1,I=!1,w=!1;return{getSources:()=>l,addSource:R,setSourceContent:N,addName:D,addMapping:O,appendSourceMap:function(e,n,t,r,i,a){Nt.assert(e>=T,"generatedLine cannot backtrack"),Nt.assert(n>=0,"generatedCharacter cannot be negative"),s();const o=[];let l;const d=AB(t.mappings);for(const s of d){if(a&&(s.generatedLine>a.line||s.generatedLine===a.line&&s.generatedCharacter>a.character))break;if(i&&(s.generatedLine<i.line||i.line===s.generatedLine&&s.generatedCharacter<i.character))continue;let c,d,u,_;if(void 0!==s.sourceIndex){if(c=o[s.sourceIndex],void 0===c){const e=t.sources[s.sourceIndex],n=t.sourceRoot?go(t.sourceRoot,e):e,i=go(co(r),n);o[s.sourceIndex]=c=R(i),t.sourcesContent&&"string"==typeof t.sourcesContent[s.sourceIndex]&&N(c,t.sourcesContent[s.sourceIndex])}d=s.sourceLine,u=s.sourceCharacter,t.names&&void 0!==s.nameIndex&&(l||(l=[]),_=l[s.nameIndex],void 0===_&&(l[s.nameIndex]=_=D(t.names[s.nameIndex])))}const p=s.generatedLine-(i?i.line:0),f=p+e,m=i&&i.line===s.generatedLine?s.generatedCharacter-i.character:s.generatedCharacter;O(f,0===p?m+n:m,c,d,u,_)}c()},toJSON:G,toString:()=>JSON.stringify(G())};function R(n){s();const t=Go(r,n,e.getCurrentDirectory(),e.getCanonicalFileName,!0);let i=u.get(t);return void 0===i&&(i=d.length,d.push(t),l.push(n),u.set(t,i)),c(),i}function N(e,n){if(s(),null!==n){for(a||(a=[]);a.length<e;)a.push(null);a[e]=n}c()}function D(e){s(),o||(o=new Map);let n=o.get(e);return void 0===n&&(n=_.length,_.push(e),o.set(e,n)),c(),n}function O(e,n,t,r,i,a){Nt.assert(e>=T,"generatedLine cannot backtrack"),Nt.assert(n>=0,"generatedCharacter cannot be negative"),Nt.assert(void 0===t||t>=0,"sourceIndex cannot be negative"),Nt.assert(void 0===r||r>=0,"sourceLine cannot be negative"),Nt.assert(void 0===i||i>=0,"sourceCharacter cannot be negative"),s(),(function(e,n){return!k||T!==e||x!==n}(e,n)||function(e,n,t){return void 0!==e&&void 0!==n&&void 0!==t&&S===e&&(A>n||A===n&&L>t)}(t,r,i))&&(P(),T=e,x=n,I=!1,w=!1,k=!0),void 0!==t&&void 0!==r&&void 0!==i&&(S=t,A=r,L=i,I=!0,void 0!==a&&(C=a,w=!0)),c()}function M(e){p.push(e),p.length>=1024&&F()}function P(){if(k&&(!E||m!==T||h!==x||g!==S||y!==A||v!==L||b!==C)){if(s(),m<T){do{M(59),m++}while(m<T);h=0}else Nt.assertEqual(m,T,"generatedLine cannot backtrack"),E&&M(44);B(x-h),h=x,I&&(B(S-g),g=S,B(A-y),y=A,B(L-v),v=L,w&&(B(C-b),b=C)),E=!0,c()}}function F(){p.length>0&&(f+=String.fromCharCode.apply(void 0,p),p.length=0)}function G(){return P(),F(),{version:3,file:n,sourceRoot:t,sources:d,names:_,mappings:f,sourcesContent:a}}function B(e){e<0?e=1+(-e<<1):e<<=1;do{let t=31&e;(e>>=5)>0&&(t|=32),M((n=t)>=0&&n<26?65+n:n>=26&&n<52?97+n-26:n>=52&&n<62?48+n-52:62===n?43:63===n?47:Nt.fail(`${n}: not a base64 value`))}while(e>0);var n}}function bB(e,n){return{getLineCount:()=>n.length,getLineText:t=>e.substring(n[t],n[t+1])}}function EB(e){for(let n=e.getLineCount()-1;n>=0;n--){const t=e.getLineText(n),r=mB.exec(t);if(r)return g(r[1]);if(!t.match(hB))break}}function TB(e){return"string"==typeof e||null===e}function xB(e){return null!==e&&"object"==typeof e&&3===e.version&&"string"==typeof e.file&&"string"==typeof e.mappings&&gn(e.sources)&&N(e.sources,vn)&&(void 0===e.sourceRoot||null===e.sourceRoot||"string"==typeof e.sourceRoot)&&(void 0===e.sourcesContent||null===e.sourcesContent||gn(e.sourcesContent)&&N(e.sourcesContent,TB))&&(void 0===e.names||null===e.names||gn(e.names)&&N(e.names,vn))}function SB(e){try{const n=JSON.parse(e);if(xB(n))return n}catch(e){}}function AB(e){let n,t=!1,r=0,i=0,a=0,o=0,s=0,c=0,l=0;return{get pos(){return r},get error(){return n},get state(){return d(!0,!0)},next(){for(;!t&&r<e.length;){const n=e.charCodeAt(r);if(59===n){i++,a=0,r++;continue}if(44===n){r++;continue}let _=!1,g=!1;if(a+=h(),f())return u();if(a<0)return p("Invalid generatedCharacter found");if(!m()){if(_=!0,o+=h(),f())return u();if(o<0)return p("Invalid sourceIndex found");if(m())return p("Unsupported Format: No entries after sourceIndex");if(s+=h(),f())return u();if(s<0)return p("Invalid sourceLine found");if(m())return p("Unsupported Format: No entries after sourceLine");if(c+=h(),f())return u();if(c<0)return p("Invalid sourceCharacter found");if(!m()){if(g=!0,l+=h(),f())return u();if(l<0)return p("Invalid nameIndex found");if(!m())return p("Unsupported Error Format: Entries after nameIndex")}}return{value:d(_,g),done:t}}return u()},[Symbol.iterator](){return this}};function d(e,n){return{generatedLine:i,generatedCharacter:a,sourceIndex:e?o:void 0,sourceLine:e?s:void 0,sourceCharacter:e?c:void 0,nameIndex:n?l:void 0}}function u(){return t=!0,{value:void 0,done:!0}}function _(e){void 0===n&&(n=e)}function p(e){return _(e),u()}function f(){return void 0!==n}function m(){return r===e.length||44===e.charCodeAt(r)||59===e.charCodeAt(r)}function h(){let n=!0,t=0,i=0;for(;n;r++){if(r>=e.length)return _("Error in decoding base64VLQFormatDecode, past the mapping string"),-1;const o=(a=e.charCodeAt(r))>=65&&a<=90?a-65:a>=97&&a<=122?a-97+26:a>=48&&a<=57?a-48+52:43===a?62:47===a?63:-1;if(-1===o)return _("Invalid character in VLQ"),-1;n=0!=(32&o),i|=(31&o)<<t,t+=5}var a;return 0==(1&i)?i>>=1:(i>>=1,i=-i),i}}function LB(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}function CB(e){return void 0!==e.sourceIndex&&void 0!==e.sourceLine&&void 0!==e.sourceCharacter}function kB(e){return void 0!==e.sourceIndex&&void 0!==e.sourcePosition}function IB(e,n){return e.generatedPosition===n.generatedPosition&&e.sourceIndex===n.sourceIndex&&e.sourcePosition===n.sourcePosition}function wB(e,n){return Nt.assert(e.sourceIndex===n.sourceIndex),Un(e.sourcePosition,n.sourcePosition)}function RB(e,n){return Un(e.generatedPosition,n.generatedPosition)}function NB(e){return e.sourcePosition}function DB(e){return e.generatedPosition}function OB(e,n,t){const r=co(t),a=n.sourceRoot?bo(n.sourceRoot,r):r,o=bo(n.file,r),s=e.getSourceFileLike(o),c=n.sources.map((e=>bo(e,a))),l=new Map(c.map(((n,t)=>[e.getCanonicalFileName(n),t])));let d,u,_;return{getSourcePosition:function(e){const n=function(){if(void 0===u){const e=[];for(const n of f())e.push(n);u=he(e,RB,IB)}return u}();if(!ce(n))return e;let t=Ke(n,e.pos,DB,Un);t<0&&(t=~t);const r=n[t];return void 0!==r&&kB(r)?{fileName:c[r.sourceIndex],pos:r.sourcePosition}:e},getGeneratedPosition:function(n){const t=l.get(e.getCanonicalFileName(n.fileName));if(void 0===t)return n;const r=function(e){if(void 0===_){const e=[];for(const n of f()){if(!kB(n))continue;let t=e[n.sourceIndex];t||(e[n.sourceIndex]=t=[]),t.push(n)}_=e.map((e=>he(e,wB,IB)))}return _[e]}(t);if(!ce(r))return n;let i=Ke(r,n.pos,NB,Un);i<0&&(i=~i);const a=r[i];return void 0===a||a.sourceIndex!==t?n:{fileName:o,pos:a.generatedPosition}}};function p(t){const r=void 0!==s?fs(s,t.generatedLine,t.generatedCharacter,!0):-1;let i,a;if(CB(t)){const r=e.getSourceFileLike(c[t.sourceIndex]);i=n.sources[t.sourceIndex],a=void 0!==r?fs(r,t.sourceLine,t.sourceCharacter,!0):-1}return{generatedPosition:r,source:i,sourceIndex:t.sourceIndex,sourcePosition:a,nameIndex:t.nameIndex}}function f(){if(void 0===d){const t=AB(n.mappings),r=Qe(t,p);void 0!==t.error?(e.log&&e.log(`Encountered error while decoding sourcemap: ${t.error}`),d=i):d=r}return d}}var MB=E({"src/compiler/sourcemap.ts"(){Qq(),_a(),fB=/\/\/[@#] source[M]appingURL=(.+)\r?\n?$/,mB=/^\/\/[@#] source[M]appingURL=(.+)\r?\n?$/,hB=/^\s*(\/\/[@#] .*)?$/,gB={getSourcePosition:Cn,getGeneratedPosition:Cn}}});function PB(e){return(e=wc(e))?KG(e):0}function FB(e){return void 0!==e.propertyName&&"default"===e.propertyName.escapedText}function GB(e,n){return function(t){return 308===t.kind?n(t):function(t){return e.factory.createBundle(W(t.sourceFiles,n),t.prepends)}(t)}}function BB(e){return!!hg(e)}function UB(e){if(hg(e))return!0;const n=e.importClause&&e.importClause.namedBindings;if(!n)return!1;if(!zI(n))return!1;let t=0;for(const e of n.elements)FB(e)&&t++;return t>0&&t!==n.elements.length||!!(n.elements.length-t)&&gg(e)}function VB(e){return!UB(e)&&(gg(e)||!!e.importClause&&zI(e.importClause.namedBindings)&&function(e){return!!e&&!!zI(e)&&ce(e.elements,FB)}(e.importClause.namedBindings))}function jB(e,n,t,r){const i=[],a=un(),o=[],s=new Map;let c,l,d=!1,u=!1,_=!1,p=!1;for(const t of n.statements)switch(t.kind){case 269:i.push(t),!_&&UB(t)&&(_=!0),!p&&VB(t)&&(p=!0);break;case 268:280===t.moduleReference.kind&&i.push(t);break;case 275:if(t.moduleSpecifier)if(t.exportClause)if(i.push(t),$I(t.exportClause))m(t);else{const e=t.exportClause.name;s.get(Pc(e))||(KB(o,PB(t),e),s.set(Pc(e),!0),c=Te(c,e)),_=!0}else i.push(t),u=!0;else m(t);break;case 274:t.isExportEquals&&!l&&(l=t);break;case 240:if(db(t,1))for(const e of t.declarationList.declarations)c=HB(e,s,c);break;case 259:if(db(t,1))if(db(t,1024))d||(KB(o,PB(t),e.factory.getDeclarationName(t)),d=!0);else{const e=t.name;s.get(Pc(e))||(KB(o,PB(t),e),s.set(Pc(e),!0),c=Te(c,e))}break;case 260:if(db(t,1))if(db(t,1024))d||(KB(o,PB(t),e.factory.getDeclarationName(t)),d=!0);else{const e=t.name;e&&!s.get(Pc(e))&&(KB(o,PB(t),e),s.set(Pc(e),!0),c=Te(c,e))}}const f=XR(e.factory,e.getEmitHelperFactory(),n,r,u,_,p);return f&&i.unshift(f),{externalImports:i,exportSpecifiers:a,exportEquals:l,hasExportStarsToExportValues:u,exportedBindings:o,exportedNames:c,externalHelpersImportDeclaration:f};function m(e){for(const n of Tn(e.exportClause,$I).elements)if(!s.get(Pc(n.name))){const r=n.propertyName||n.name;e.moduleSpecifier||a.add(Pc(r),n);const i=t.getReferencedImportDeclaration(r)||t.getReferencedValueDeclaration(r);i&&KB(o,PB(i),n.name),s.set(Pc(n.name),!0),c=Te(c,n.name)}}}function HB(e,n,t){if(Kd(e.name))for(const r of e.name.elements)Qk(r)||(t=HB(r,n,t));else if(!fd(e.name)){const r=Pc(e.name);n.get(r)||(n.set(r,!0),t=Te(t,e.name))}return t}function KB(e,n,t){let r=e[n];return r?r.push(t):e[n]=r=[t],r}function WB(e){return t_(e)||8===e.kind||hy(e.kind)||AC(e)}function qB(e){return!AC(e)&&WB(e)}function zB(e){return e>=64&&e<=78}function JB(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}}function XB(e){if(!_I(e))return;const n=Yg(e.expression);return cm(n)?n:void 0}function YB(e,n){for(let t=n;t<e.length;t+=1)if(XB(e[t]))return t;return-1}function $B(e,n,t){return j(e.members,(e=>function(e,n,t){return qC(e)&&(!!e.initializer||!n)&&_b(e)===t}(e,n,t)))}function QB(e){return qC(n=e)&&_b(n)||XC(e);var n}function ZB(e){return j(e.members,QB)}function eU(e){return 169===e.kind&&void 0!==e.initializer}function nU(e){return!ub(e)&&(Pd(e)||Md(e))&&LC(e.name)}function tU(e){let n;if(e){const t=e.parameters,r=t.length>0&&Hv(t[0]),i=r?1:0,a=r?t.length-1:t.length;for(let e=0;e<a;e++){const r=t[e+i];(n||yb(r))&&(n||(n=new Array(a)),n[e]=zc(r))}}return n}function rU(e){const n=zc(e),t=tU(Bv(e));if(ce(n)||ce(t))return{decorators:n,parameters:t}}function iU(e,n,t){switch(e.kind){case 174:case 175:return t?function(e,n){if(!e.body)return;const{firstAccessor:t,secondAccessor:r,getAccessor:i,setAccessor:a}=zv(n.members,e),o=yb(t)?t:r&&yb(r)?r:void 0;if(!o||e!==o)return;const s=zc(o),c=tU(a);return ce(s)||ce(c)?{decorators:s,parameters:c,getDecorators:i&&zc(i),setDecorators:a&&zc(a)}:void 0}(e,n):aU(e);case 171:return aU(e);case 169:return function(e){const n=zc(e);if(ce(n))return{decorators:n}}(e);default:return}}function aU(e){if(!e.body)return;const n=zc(e),t=tU(e);return ce(n)||ce(t)?{decorators:n,parameters:t}:void 0}function oU(e,n){for(;e;){const t=n(e);if(void 0!==t)return t;e=e.previous}}function sU(e){return{data:e}}function cU(e,n){var t,r;return md(n)?null==(t=null==e?void 0:e.generatedIdentifiers)?void 0:t.get(SN(n)):null==(r=null==e?void 0:e.identifiers)?void 0:r.get(n.escapedText)}function lU(e,n,t){md(n)?(null!=e.generatedIdentifiers||(e.generatedIdentifiers=new Map),e.generatedIdentifiers.set(SN(n),t)):(null!=e.identifiers||(e.identifiers=new Map),e.identifiers.set(n.escapedText,t))}function dU(e,n){return oU(e,(e=>cU(e.privateEnv,n)))}var uU,_U=E({"src/compiler/transformers/utilities.ts"(){Qq()}});function pU(e,n,t,r,i,a){let o,s,c=e;if(Vb(e))for(o=e.right;Zb(e.left)||Qb(e.left);){if(!Vb(o))return Nt.checkDefined(tB(o,n,uu));c=e=o,o=e.right}const l={context:t,level:r,downlevelIteration:!!t.getCompilerOptions().downlevelIteration,hoistTempVariables:!0,emitExpression:d,emitBindingOrAssignment:function(e,r,i,o){Nt.assertNode(e,a?AC:uu);const s=a?a(e,r,i):MN(t.factory.createAssignment(Nt.checkDefined(tB(e,n,uu)),r),i);s.original=o,d(s)},createArrayBindingOrAssignmentPattern:e=>function(e,n){return Nt.assertEachNode(n,Zd),e.createArrayLiteralExpression(W(n,e.converters.convertToArrayAssignmentElement))}(t.factory,e),createObjectBindingOrAssignmentPattern:e=>function(e,n){return Nt.assertEachNode(n,$d),e.createObjectLiteralExpression(W(n,e.converters.convertToObjectAssignmentElement))}(t.factory,e),createArrayBindingOrAssignmentElement:EU,visitor:n};if(o&&(o=tB(o,n,uu),Nt.assert(o),AC(o)&&fU(e,o.escapedText)||mU(e)?o=bU(l,o,!1,c):i?o=bU(l,o,!0,c):zy(e)&&(c=o)),gU(l,e,o,c,Vb(e)),o&&i){if(!ce(s))return o;s.push(o)}return t.factory.inlineExpressions(s)||t.factory.createOmittedExpression();function d(e){s=Te(s,e)}}function fU(e,n){const t=nN(e);return Xd(t)?function(e,n){const t=oN(e);for(const e of t)if(fU(e,n))return!0;return!1}(t,n):!!AC(t)&&t.escapedText===n}function mU(e){const n=iN(e);if(n&&VC(n)&&!rd(n.expression))return!0;const t=nN(e);return!!t&&Xd(t)&&!!A(oN(t),mU)}function hU(e,n,t,r,i,a=!1,o){let s;const c=[],l=[],d={context:t,level:r,downlevelIteration:!!t.getCompilerOptions().downlevelIteration,hoistTempVariables:a,emitExpression:function(e){s=Te(s,e)},emitBindingOrAssignment:u,createArrayBindingOrAssignmentPattern:e=>function(e,n){return Nt.assertEachNode(n,qd),e.createArrayBindingPattern(n)}(t.factory,e),createObjectBindingOrAssignmentPattern:e=>function(e,n){return Nt.assertEachNode(n,kk),e.createObjectBindingPattern(n)}(t.factory,e),createArrayBindingOrAssignmentElement:e=>function(e,n){return e.createBindingElement(void 0,void 0,n)}(t.factory,e),visitor:n};if(kI(e)){let n=eN(e);n&&(AC(n)&&fU(e,n.escapedText)||mU(e))&&(n=bU(d,Nt.checkDefined(tB(n,d.visitor,uu)),!1,n),e=t.factory.updateVariableDeclaration(e,e.name,void 0,void 0,n))}if(gU(d,e,i,e,o),s){const e=t.factory.createTempVariable(void 0);if(a){const n=t.factory.inlineExpressions(s);s=void 0,u(e,n,void 0,void 0)}else{t.hoistVariableDeclaration(e);const n=Ge(c);n.pendingExpressions=Te(n.pendingExpressions,t.factory.createAssignment(e,n.value)),Ae(n.pendingExpressions,s),n.value=e}}for(const{pendingExpressions:e,name:n,value:r,location:i,original:a}of c){const o=t.factory.createVariableDeclaration(n,void 0,void 0,e?t.factory.inlineExpressions(Te(e,r)):r);o.original=a,MN(o,i),l.push(o)}return l;function u(e,n,r,i){Nt.assertNode(e,Sd),s&&(n=t.factory.inlineExpressions(Te(s,n)),s=void 0),c.push({pendingExpressions:s,name:e,value:n,location:r,original:i})}}function gU(e,n,t,r,i){const a=nN(n);if(!i){const i=tB(eN(n),e.visitor,uu);i?t?(t=function(e,n,t,r){return n=bU(e,n,!0,r),e.context.factory.createConditionalExpression(e.context.factory.createTypeCheck(n,"undefined"),void 0,t,void 0,n)}(e,t,i,r),!qB(i)&&Xd(a)&&(t=bU(e,t,!0,r))):t=i:t||(t=e.context.factory.createVoidZero())}Yd(a)?function(e,n,t,r,i){const a=oN(t),o=a.length;let s,c;1!==o&&(r=bU(e,r,!zd(n)||0!==o,i));for(let n=0;n<o;n++){const l=a[n];if(tN(l)){if(n===o-1){s&&(e.emitBindingOrAssignment(e.createObjectBindingOrAssignmentPattern(s),r,i,t),s=void 0);const n=e.context.getEmitHelperFactory().createRestHelper(r,a,c,t);gU(e,l,n,l)}}else{const n=rN(l);if(!(e.level>=1)||98304&l.transformFlags||98304&nN(l).transformFlags||VC(n)){s&&(e.emitBindingOrAssignment(e.createObjectBindingOrAssignmentPattern(s),r,i,t),s=void 0);const a=vU(e,r,n);VC(n)&&(c=Te(c,a.argumentExpression)),gU(e,l,a,l)}else s=Te(s,tB(l,e.visitor,Jd))}}s&&e.emitBindingOrAssignment(e.createObjectBindingOrAssignmentPattern(s),r,i,t)}(e,n,a,t,r):Qd(a)?function(e,n,t,r,i){const a=oN(t),o=a.length;let s,c;e.level<1&&e.downlevelIteration?r=bU(e,MN(e.context.getEmitHelperFactory().createReadHelper(r,o>0&&tN(a[o-1])?void 0:o),i),!1,i):(1!==o&&(e.level<1||0===o)||N(a,Qk))&&(r=bU(e,r,!zd(n)||0!==o,i));for(let n=0;n<o;n++){const t=a[n];if(e.level>=1)if(65536&t.transformFlags||e.hasTransformedPriorElement&&!yU(t)){e.hasTransformedPriorElement=!0;const n=e.context.factory.createTempVariable(void 0);e.hoistTempVariables&&e.context.hoistVariableDeclaration(n),c=Te(c,[n,t]),s=Te(s,e.createArrayBindingOrAssignmentElement(n))}else s=Te(s,t);else{if(Qk(t))continue;if(tN(t)){if(n===o-1){const i=e.context.factory.createArraySliceCall(r,n);gU(e,t,i,t)}}else{const i=e.context.factory.createElementAccessExpression(r,n);gU(e,t,i,t)}}}if(s&&e.emitBindingOrAssignment(e.createArrayBindingOrAssignmentPattern(s),r,i,t),c)for(const[n,t]of c)gU(e,t,n,t)}(e,n,a,t,r):e.emitBindingOrAssignment(a,t,r,n)}function yU(e){const n=nN(e);if(!n||Qk(n))return!0;const t=iN(e);if(t&&!Ry(t))return!1;const r=eN(e);return!(r&&!qB(r))&&(Xd(n)?N(oN(n),yU):AC(n))}function vU(e,n,t){if(VC(t)){const r=bU(e,Nt.checkDefined(tB(t.expression,e.visitor,uu)),!1,t);return e.context.factory.createElementAccessExpression(n,r)}if(Ly(t)){const r=pA.cloneNode(t);return e.context.factory.createElementAccessExpression(n,r)}{const r=e.context.factory.createIdentifier(Pc(t));return e.context.factory.createPropertyAccessExpression(n,r)}}function bU(e,n,t,r){if(AC(n)&&t)return n;{const t=e.context.factory.createTempVariable(void 0);return e.hoistTempVariables?(e.context.hoistVariableDeclaration(t),e.emitExpression(MN(e.context.factory.createAssignment(t,n),r))):e.emitBindingOrAssignment(t,n,r,void 0),t}}function EU(e){return e}var TU,xU=E({"src/compiler/transformers/destructuring.ts"(){Qq(),uU=(e=>(e[e.All=0]="All",e[e.ObjectRest=1]="ObjectRest",e))(uU||{})}});function SU(e,n,t,r,i,a){const o=tB(n.tag,t,uu);Nt.assert(o);const s=[void 0],c=[],l=[],d=n.template;if(0===a&&!rv(d))return _B(n,t,e);if(uC(d))c.push(AU(d)),l.push(LU(d,r));else{c.push(AU(d.head)),l.push(LU(d.head,r));for(const e of d.templateSpans)c.push(AU(e.literal)),l.push(LU(e.literal,r)),s.push(Nt.checkDefined(tB(e.expression,t,uu)))}const u=e.getEmitHelperFactory().createTemplateObjectHelper(pA.createArrayLiteralExpression(c),pA.createArrayLiteralExpression(l));if(kD(r)){const e=pA.createUniqueName("templateObject");i(e),s[0]=pA.createLogicalOr(e,pA.createAssignment(e,u))}else s[0]=u;return pA.createCallExpression(o,void 0,s)}function AU(e){return e.templateFlags?pA.createVoidZero():pA.createStringLiteral(e.text)}function LU(e,n){let t=e.rawText;if(void 0===t){Nt.assertIsDefined(n,"Template literal node is missing 'rawText' and does not have a source file. Possibly bad transform."),t=Zp(n,e);const r=14===e.kind||17===e.kind;t=t.substring(1,t.length-(r?1:2))}return t=t.replace(/\r\n?/g,"\n"),MN(pA.createStringLiteral(t),e)}var CU,kU=E({"src/compiler/transformers/taggedTemplate.ts"(){Qq(),TU=(e=>(e[e.LiftRestriction=0]="LiftRestriction",e[e.All=1]="All",e))(TU||{})}});function IU(e){const{factory:n,getEmitHelperFactory:t,startLexicalEnvironment:r,resumeLexicalEnvironment:i,endLexicalEnvironment:a,hoistVariableDeclaration:o}=e,s=e.getEmitResolver(),c=e.getCompilerOptions(),l=BT(c),d=UT(c),u=!!c.experimentalDecorators,_=c.emitDecoratorMetadata?DU(e):void 0,p=e.onEmitNode,f=e.onSubstituteNode;let m,h,g,y,v,b,E,T;return e.onEmitNode=function(e,n,t){const r=T,i=m;Aw(n)&&(m=n),2&E&&function(e){return 264===wc(e).kind}(n)&&(T|=2),8&E&&function(e){return 263===wc(e).kind}(n)&&(T|=8),p(e,n,t),T=r,m=i},e.onSubstituteNode=function(e,t){return t=f(e,t),1===e?function(e){switch(e.kind){case 79:return function(e){return Ce(e)||e}(e);case 208:case 209:return function(e){return function(e){const t=function(e){if(!WT(c))return Rk(e)||Nk(e)?s.getConstantValue(e):void 0}(e);if(void 0!==t){iL(e,t);const i="string"==typeof t?n.createStringLiteral(t):n.createNumericLiteral(t);if(!c.removeComments){nL(i,3,` ${r=tf(wc(e,eT)),r.replace(/\*\//g,"*_/")} `)}return i}var r;return e}(e)}(e)}return e}(t):Ew(t)?function(e){if(2&E){const t=e.name,r=Ce(t);if(r){if(e.objectAssignmentInitializer){const i=n.createAssignment(r,e.objectAssignmentInitializer);return MN(n.createPropertyAssignment(t,i),e)}return MN(n.createPropertyAssignment(t,r),e)}}return e}(t):t},e.enableSubstitution(208),e.enableSubstitution(209),function(e){return 309===e.kind?function(e){return n.createBundle(e.sourceFiles.map(x),ee(e.prepends,(e=>311===e.kind?kA(e,"js"):e)))}(e):x(e)};function x(n){if(n.isDeclarationFile)return n;m=n;const t=S(n,P);return oL(t,e.readEmitHelpers()),m=void 0,t}function S(e,n){const t=y,r=v,i=b;!function(e){switch(e.kind){case 308:case 266:case 265:case 238:y=e,v=void 0;break;case 260:case 259:if(db(e,2))break;e.name?ae(e):Nt.assert(260===e.kind||db(e,1024))}}(e);const a=n(e);return y!==t&&(v=r),y=t,b=i,a}function A(e){return S(e,L)}function L(e){return 1&e.transformFlags?M(e):e}function C(e){return S(e,k)}function k(t){switch(t.kind){case 269:case 268:case 274:case 275:return function(t){if(Dc(t)!==t)return 1&t.transformFlags?_B(t,A,e):t;switch(t.kind){case 269:return function(e){if(!e.importClause)return e;if(e.importClause.isTypeOnly)return;const t=tB(e.importClause,_e,VI);return t||1===c.importsNotUsedAsValues||2===c.importsNotUsedAsValues?n.updateImportDeclaration(e,void 0,t,e.moduleSpecifier,e.assertClause):void 0}(t);case 268:return he(t);case 274:return function(n){return c.verbatimModuleSyntax||s.isValueAliasDeclaration(n)?_B(n,A,e):void 0}(t);case 275:return function(e){if(e.isTypeOnly)return;if(!e.exportClause||qI(e.exportClause))return e;const t=c.verbatimModuleSyntax||!!e.moduleSpecifier&&(1===c.importsNotUsedAsValues||2===c.importsNotUsedAsValues),r=tB(e.exportClause,(e=>function(e,t){return qI(e)?function(e){return n.updateNamespaceExport(e,Nt.checkDefined(tB(e.name,A,AC)))}(e):function(e,t){const r=rB(e.elements,me,QI);return t||ce(r)?n.updateNamedExports(e,r):void 0}(e,t)}(e,t)),zl);return r?n.updateExportDeclaration(e,void 0,e.isTypeOnly,r,e.moduleSpecifier,e.assertClause):void 0}(t);default:Nt.fail("Unhandled ellided statement")}}(t);default:return L(t)}}function I(e){return S(e,w)}function w(e){if(275!==e.kind&&269!==e.kind&&270!==e.kind&&(268!==e.kind||280!==e.moduleReference.kind))return 1&e.transformFlags||db(e,1)?M(e):e}function R(t){return r=>S(r,(r=>function(t,r){switch(t.kind){case 173:return function(t){if(X(t))return n.updateConstructorDeclaration(t,void 0,sB(t.parameters,A,e),function(t,r){const o=r&&j(r.parameters,(e=>Ec(e,r)));if(!ce(o))return lB(t,A,e);let s=[];i();const c=n.copyPrologue(t.statements,s,!1,A),l=YB(t.statements,c);l>=0&&Ae(s,rB(t.statements,A,Mu,c,l+1-c));const d=ee(o,Y);l>=0?Ae(s,d):s=[...s.slice(0,c),...d,...s.slice(c)];const u=l>=0?l+1:c;Ae(s,rB(t.statements,A,Mu,u)),s=n.mergeLexicalEnvironment(s,a());const _=n.createBlock(MN(n.createNodeArray(s),t.statements),!0);return MN(_,t),DA(_,t),_}(t.body,t))}(t);case 169:return function(e,t){const r=16777216&e.flags||db(e,256);if(r&&(!u||!yb(e)))return;let i=Dd(t)?rB(e.modifiers,r?D:A,Gd):rB(e.modifiers,N,Gd);return i=V(i,e,t),r?n.updatePropertyDeclaration(e,de(i,n.createModifiersFromModifierFlags(2)),Nt.checkDefined(tB(e.name,A,xd)),void 0,void 0,void 0):n.updatePropertyDeclaration(e,i,J(e),void 0,void 0,tB(e.initializer,A,uu))}(t,r);case 174:return Z(t,r);case 175:return ne(t,r);case 171:return $(t,r);case 172:return _B(t,A,e);case 237:return t;case 178:return;default:return Nt.failBadSyntaxKind(t)}}(r,t)))}function N(e){return KC(e)?void 0:A(e)}function D(e){return Ed(e)?void 0:A(e)}function O(e){if(!KC(e)&&!(117086&Ib(e.kind)||h&&93===e.kind))return e}function M(t){if(Mu(t)&&db(t,2))return n.createNotEmittedStatement(t);switch(t.kind){case 93:case 88:return h?void 0:t;case 123:case 121:case 122:case 126:case 161:case 85:case 136:case 146:case 101:case 145:case 185:case 186:case 187:case 188:case 184:case 179:case 165:case 131:case 157:case 134:case 152:case 148:case 144:case 114:case 153:case 182:case 181:case 183:case 180:case 189:case 190:case 191:case 193:case 194:case 195:case 196:case 197:case 198:case 178:case 267:return;case 262:case 261:return n.createNotEmittedStatement(t);case 260:return function(t){var r;const i=function(e){let n=0;ce($B(e,!0,!0))&&(n|=1);const t=ly(e);return t&&104!==HR(t.expression).kind&&(n|=64),uh(u,e)&&(n|=2),dh(u,e)&&(n|=4),ge(e)?n|=8:function(e){return ye(e)&&db(e,1024)}(e)?n|=32:ve(e)&&(n|=16),n}(t),a=l<=1&&!!(7&i);if(!function(e){return yb(e)||ce(e.typeParameters)||ce(e.heritageClauses,F)||ce(e.members,F)}(t)&&!uh(u,t)&&!ge(t))return n.updateClassDeclaration(t,rB(t.modifiers,O,Ed),t.name,void 0,rB(t.heritageClauses,A,yw),rB(t.members,R(t),Nd));a&&e.startLexicalEnvironment();const o=a||8&i||2&i&&u||1&i;let s=rB(t.modifiers,o?D:A,Gd);2&i&&(s=U(s,t));const c=o&&!t.name||4&i||1&i?null!=(r=t.name)?r:n.getGeneratedNameForNode(t):t.name,d=n.updateClassDeclaration(t,s,c,void 0,rB(t.heritageClauses,A,yw),B(t));let _,p=of(t);if(1&i&&(p|=64),GA(d,p),a){const r=[d],a=mE(ks(m.text,t.members.end),19),o=n.getInternalName(t),s=n.createPartiallyEmittedExpression(o);vS(s,a.end),GA(s,3072);const c=n.createReturnStatement(s);yS(c,a.pos),GA(c,3840),r.push(c),Kp(r,e.endLexicalEnvironment());const l=n.createImmediatelyInvokedArrowFunction(r);UA(l,1);const u=16&i?n.createModifiersFromModifierFlags(1):void 0,p=n.createVariableStatement(u,n.createVariableDeclarationList([n.createVariableDeclaration(n.getLocalName(t,!1,!1),void 0,void 0,l)],1));DA(p,t),XA(p,t),HA(p,_E(t)),qR(p),_=p}else _=d;if(o){if(8&i)return G(_,be(t));if(32&i)return G(_,n.createExportDefault(n.getLocalName(t,!1,!0)));if(16&i&&!a)return G(_,n.createExternalModuleExport(n.getLocalName(t,!1,!0)))}return _}(t);case 228:return function(e){let t=rB(e.modifiers,D,Gd);return uh(u,e)&&(t=U(t,e)),n.updateClassExpression(e,t,e.name,void 0,rB(e.heritageClauses,A,yw),B(e))}(t);case 294:return function(n){if(117!==n.token)return _B(n,A,e)}(t);case 230:return function(e){return n.updateExpressionWithTypeArguments(e,Nt.checkDefined(tB(e.expression,A,au)),void 0)}(t);case 207:return function(e){return n.updateObjectLiteralExpression(e,rB(e.properties,(t=e,e=>S(e,(e=>function(e,n){switch(e.kind){case 299:case 300:case 301:return A(e);case 174:return Z(e,n);case 175:return ne(e,n);case 171:return $(e,n);default:return Nt.failBadSyntaxKind(e)}}(e,t)))),Vd));var t}(t);case 173:case 169:case 171:case 174:case 175:case 172:return Nt.fail("Class and object literal elements must be visited with their respective visitors");case 259:return function(t){if(!X(t))return n.createNotEmittedStatement(t);const r=n.updateFunctionDeclaration(t,rB(t.modifiers,O,Ed),t.asteriskToken,t.name,void 0,sB(t.parameters,A,e),void 0,lB(t.body,A,e)||n.createBlock([]));if(ge(t)){const e=[r];return function(e,n){e.push(be(n))}(e,t),e}return r}(t);case 215:return function(t){if(!X(t))return n.createOmittedExpression();return n.updateFunctionExpression(t,rB(t.modifiers,O,Ed),t.asteriskToken,t.name,void 0,sB(t.parameters,A,e),void 0,lB(t.body,A,e)||n.createBlock([]))}(t);case 216:return function(t){return n.updateArrowFunction(t,rB(t.modifiers,O,Ed),void 0,sB(t.parameters,A,e),void 0,t.equalsGreaterThanToken,lB(t.body,A,e))}(t);case 166:return function(e){if(Hv(e))return;const t=n.updateParameterDeclaration(e,rB(e.modifiers,(e=>KC(e)?A(e):void 0),Gd),e.dotDotDotToken,Nt.checkDefined(tB(e.name,A,Sd)),void 0,void 0,tB(e.initializer,A,uu));return t!==e&&(XA(t,e),MN(t,pE(e)),HA(t,pE(e)),GA(t.name,64)),t}(t);case 214:return function(t){if(_u(HR(t.expression,-7))){const e=tB(t.expression,A,uu);return Nt.assert(e),n.createPartiallyEmittedExpression(e,t)}return _B(t,A,e)}(t);case 213:case 231:return function(e){const t=tB(e.expression,A,uu);return Nt.assert(t),n.createPartiallyEmittedExpression(t,e)}(t);case 235:return function(e){const t=tB(e.expression,A,uu);return Nt.assert(t),n.createPartiallyEmittedExpression(t,e)}(t);case 210:return function(e){return n.updateCallExpression(e,Nt.checkDefined(tB(e.expression,A,uu)),void 0,rB(e.arguments,A,uu))}(t);case 211:return function(e){return n.updateNewExpression(e,Nt.checkDefined(tB(e.expression,A,uu)),void 0,rB(e.arguments,A,uu))}(t);case 212:return function(e){return n.updateTaggedTemplateExpression(e,Nt.checkDefined(tB(e.tag,A,uu)),void 0,Nt.checkDefined(tB(e.template,A,iu)))}(t);case 232:return function(e){const t=tB(e.expression,A,au);return Nt.assert(t),n.createPartiallyEmittedExpression(t,e)}(t);case 263:return function(e){if(!function(e){return!im(e)||rx(c)}(e))return n.createNotEmittedStatement(e);const t=[];let i=4;const o=se(t,e);o&&(4===d&&y===m||(i|=1024));const s=Se(e),l=Le(e),u=db(e,1)?n.getExternalModuleOrNamespaceExportName(g,e,!1,!0):n.getLocalName(e,!1,!0);let _=n.createLogicalOr(u,n.createAssignment(u,n.createObjectLiteralExpression()));if(ie(e)){const t=n.getLocalName(e,!1,!0);_=n.createAssignment(t,_)}const p=n.createExpressionStatement(n.createCallExpression(n.createFunctionExpression(void 0,void 0,void 0,void 0,[n.createParameterDeclaration(void 0,void 0,s)],void 0,function(e,t){const i=g;g=t;const o=[];r();const s=W(e.members,re);return Kp(o,a()),Ae(o,s),g=i,n.createBlock(MN(n.createNodeArray(o),e.members),!0)}(e,l)),void 0,[_]));return DA(p,e),o&&($A(p,void 0),eL(p,void 0)),MN(p,e),BA(p,i),t.push(p),t.push(n.createEndOfDeclarationMarker(e)),t}(t);case 240:return function(t){if(ge(t)){const e=IE(t.declarationList);if(0===e.length)return;return MN(n.createExpressionStatement(n.inlineExpressions(W(e,te))),t)}return _B(t,A,e)}(t);case 257:return function(e){const t=n.updateVariableDeclaration(e,Nt.checkDefined(tB(e.name,A,Sd)),void 0,void 0,tB(e.initializer,A,uu));return e.type&&pL(t.name,e.type),t}(t);case 264:return le(t);case 268:return he(t);case 282:return function(e){return n.updateJsxSelfClosingElement(e,Nt.checkDefined(tB(e.tagName,A,Gu)),void 0,Nt.checkDefined(tB(e.attributes,A,pw)))}(t);case 283:return function(e){return n.updateJsxOpeningElement(e,Nt.checkDefined(tB(e.tagName,A,Gu)),void 0,Nt.checkDefined(tB(e.attributes,A,pw)))}(t);default:return _B(t,A,e)}}function P(t){const r=ax(c,"alwaysStrict")&&!(kD(t)&&d>=5)&&!rm(t);return n.updateSourceFile(t,oB(t.statements,C,e,0,r))}function F(e){return!!(8192&e.transformFlags)}function G(e,t){return BA(e,8388608),[e,t,n.createEndOfDeclarationMarker(e)]}function B(e){const t=rB(e.members,R(e),Nd);let r;const i=Bv(e),a=i&&j(i.parameters,(e=>Ec(e,i)));if(a)for(const e of a){const t=n.createPropertyDeclaration(void 0,e.name,void 0,void 0,void 0);DA(t,e),r=Te(r,t)}return r?(r=Ae(r,t),MN(n.createNodeArray(r),e.members)):t}function U(e,t){const r=H(t,t);if(ce(r)){const t=[];Ae(t,Ct(e,EN)),Ae(t,j(e,KC)),Ae(t,r),Ae(t,j(kt(e,EN),Ed)),e=MN(n.createNodeArray(t),e)}return e}function V(e,t,r){if(Dd(r)&&_h(u,t,r)){const i=H(t,r);if(ce(i)){const t=[];Ae(t,j(e,KC)),Ae(t,i),Ae(t,j(e,Ed)),e=MN(n.createNodeArray(t),e)}}return e}function H(e,r){if(u)return CU?function(e,r){if(_){let i;if(K(e)&&(i=Te(i,n.createPropertyAssignment("type",n.createArrowFunction(void 0,void 0,[],void 0,n.createToken(38),_.serializeTypeOfNode({currentLexicalScope:y,currentNameScope:r},e))))),z(e)&&(i=Te(i,n.createPropertyAssignment("paramTypes",n.createArrowFunction(void 0,void 0,[],void 0,n.createToken(38),_.serializeParameterTypesOfNode({currentLexicalScope:y,currentNameScope:r},e,r))))),q(e)&&(i=Te(i,n.createPropertyAssignment("returnType",n.createArrowFunction(void 0,void 0,[],void 0,n.createToken(38),_.serializeReturnTypeOfNode({currentLexicalScope:y,currentNameScope:r},e))))),i){const e=t().createMetadataHelper("design:typeinfo",n.createObjectLiteralExpression(i,!0));return[n.createDecorator(e)]}}}(e,r):function(e,r){if(_){let i;if(K(e)){const a=t().createMetadataHelper("design:type",_.serializeTypeOfNode({currentLexicalScope:y,currentNameScope:r},e));i=Te(i,n.createDecorator(a))}if(z(e)){const a=t().createMetadataHelper("design:paramtypes",_.serializeParameterTypesOfNode({currentLexicalScope:y,currentNameScope:r},e,r));i=Te(i,n.createDecorator(a))}if(q(e)){const a=t().createMetadataHelper("design:returntype",_.serializeReturnTypeOfNode({currentLexicalScope:y,currentNameScope:r},e));i=Te(i,n.createDecorator(a))}return i}}(e,r)}function K(e){const n=e.kind;return 171===n||174===n||175===n||169===n}function q(e){return 171===e.kind}function z(e){switch(e.kind){case 260:case 228:return void 0!==Bv(e);case 171:case 174:case 175:return!0}return!1}function J(e){const t=e.name;if(VC(t)&&(!_b(e)&&b||yb(e)&&u)){const e=tB(t.expression,A,uu);if(Nt.assert(e),!qB(Kl(e))){const r=n.getGeneratedNameForNode(t);return o(r),n.updateComputedPropertyName(t,n.createAssignment(r,e))}}return Nt.checkDefined(tB(t,A,xd))}function X(e){return!Fp(e.body)}function Y(e){const t=e.name;if(!AC(t))return;const r=xS(MN(n.cloneNode(t),t),t.parent);GA(r,3168);const i=xS(MN(n.cloneNode(t),t),t.parent);return GA(i,3072),qR(FA(MN(DA(n.createExpressionStatement(n.createAssignment(MN(n.createPropertyAccessExpression(n.createThis(),r),e.name),i)),e),uE(e,-1))))}function $(t,r){if(!(1&t.transformFlags))return t;if(!X(t))return;let i=Dd(r)?rB(t.modifiers,A,Gd):rB(t.modifiers,N,Gd);return i=V(i,t,r),n.updateMethodDeclaration(t,i,t.asteriskToken,J(t),void 0,void 0,sB(t.parameters,A,e),void 0,lB(t.body,A,e))}function Q(e){return!(Fp(e.body)&&db(e,256))}function Z(t,r){if(!(1&t.transformFlags))return t;if(!Q(t))return;let i=Dd(r)?rB(t.modifiers,A,Gd):rB(t.modifiers,N,Gd);return i=V(i,t,r),n.updateGetAccessorDeclaration(t,i,J(t),sB(t.parameters,A,e),void 0,lB(t.body,A,e)||n.createBlock([]))}function ne(t,r){if(!(1&t.transformFlags))return t;if(!Q(t))return;let i=Dd(r)?rB(t.modifiers,A,Gd):rB(t.modifiers,N,Gd);return i=V(i,t,r),n.updateSetAccessorDeclaration(t,i,J(t),sB(t.parameters,A,e),lB(t.body,A,e)||n.createBlock([]))}function te(t){const r=t.name;return Kd(r)?pU(t,A,e,0,!1,Ee):MN(n.createAssignment(xe(r),Nt.checkDefined(tB(t.initializer,A,uu))),t)}function re(t){const r=function(e,t){const r=e.name;return LC(r)?n.createIdentifier(""):VC(r)?r.expression:AC(r)?n.createStringLiteral(Pc(r)):n.cloneNode(r)}(t),i=function(t){const r=s.getConstantValue(t);return void 0!==r?"string"==typeof r?n.createStringLiteral(r):n.createNumericLiteral(r):(0==(8&E)&&(E|=8,e.enableSubstitution(79)),t.initializer?Nt.checkDefined(tB(t.initializer,A,uu)):n.createVoidZero())}(t),a=n.createAssignment(n.createElementAccessExpression(g,r),i),o=10===i.kind?a:n.createAssignment(n.createElementAccessExpression(g,a),r);return MN(n.createExpressionStatement(MN(o,t)),t)}function ie(e){return ge(e)||ye(e)&&5!==d&&6!==d&&7!==d&&99!==d&&4!==d}function ae(e){v||(v=new Map);const n=oe(e);v.has(n)||v.set(n,e)}function oe(e){return Nt.assertNode(e.name,AC),e.name.escapedText}function se(e,t){const r=n.createVariableStatement(rB(t.modifiers,O,Ed),n.createVariableDeclarationList([n.createVariableDeclaration(n.getLocalName(t,!1,!0))],308===y.kind?0:1));if(DA(r,t),ae(t),function(e){if(v){const n=oe(e);return v.get(n)===e}return!0}(t))return 263===t.kind?HA(r.declarationList,t):HA(r,t),XA(r,t),BA(r,8390656),e.push(r),!0;{const t=n.createMergeDeclarationMarker(r);return GA(t,8391680),e.push(t),!1}}function le(t){if(!function(e){const n=Dc(e,MI);return!n||qG(n,rx(c))}(t))return n.createNotEmittedStatement(t);Nt.assertNode(t.name,AC,"A TypeScript namespace should have an Identifier name."),0==(2&E)&&(E|=2,e.enableSubstitution(79),e.enableSubstitution(300),e.enableEmitNotification(264));const i=[];let o=4;const s=se(i,t);s&&(4===d&&y===m||(o|=1024));const l=Se(t),u=Le(t),_=db(t,1)?n.getExternalModuleOrNamespaceExportName(g,t,!1,!0):n.getLocalName(t,!1,!0);let p=n.createLogicalOr(_,n.createAssignment(_,n.createObjectLiteralExpression()));if(ie(t)){const e=n.getLocalName(t,!1,!0);p=n.createAssignment(e,p)}const f=n.createExpressionStatement(n.createCallExpression(n.createFunctionExpression(void 0,void 0,void 0,void 0,[n.createParameterDeclaration(void 0,void 0,l)],void 0,function(e,t){const i=g,o=h,s=v;g=t,h=e,v=void 0;const c=[];let l,d;if(r(),e.body)if(265===e.body.kind)S(e.body,(e=>Ae(c,rB(e.statements,I,Mu)))),l=e.body.statements,d=e.body;else{const n=le(e.body);n&&(gn(n)?Ae(c,n):c.push(n)),l=uE(ue(e).body.statements,-1)}Kp(c,a()),g=i,h=o,v=s;const u=n.createBlock(MN(n.createNodeArray(c),l),!0);return MN(u,d),e.body&&265===e.body.kind||GA(u,3072|of(u)),u}(t,u)),void 0,[p]));return DA(f,t),s&&($A(f,void 0),eL(f,void 0)),MN(f,t),BA(f,o),i.push(f),i.push(n.createEndOfDeclarationMarker(t)),i}function ue(e){if(264===e.body.kind)return ue(e.body)||e.body}function _e(e){Nt.assert(!e.isTypeOnly);const t=ke(e)?e.name:void 0,r=tB(e.namedBindings,pe,Lu);return t||r?n.updateImportClause(e,!1,t,r):void 0}function pe(e){if(271===e.kind)return ke(e)?e:void 0;{const t=c.verbatimModuleSyntax||c.preserveValueImports&&(1===c.importsNotUsedAsValues||2===c.importsNotUsedAsValues),r=rB(e.elements,fe,JI);return t||ce(r)?n.updateNamedImports(e,r):void 0}}function fe(e){return!e.isTypeOnly&&ke(e)?e:void 0}function me(e){return e.isTypeOnly||!c.verbatimModuleSyntax&&!s.isValueAliasDeclaration(e)?void 0:e}function he(t){if(t.isTypeOnly)return;if(vh(t)){const r=ke(t);return r||1!==c.importsNotUsedAsValues?r?_B(t,A,e):void 0:DA(MN(n.createImportDeclaration(void 0,void 0,t.moduleReference.expression,void 0),t),t)}if(!function(e){return ke(e)||!kD(m)&&s.isTopLevelValueImportEqualsWithEntityName(e)}(t))return;const r=kR(n,t.moduleReference);return GA(r,7168),ve(t)||!ge(t)?DA(MN(n.createVariableStatement(rB(t.modifiers,O,Ed),n.createVariableDeclarationList([DA(n.createVariableDeclaration(t.name,void 0,void 0,r),t)])),t),t):DA((i=t.name,a=r,o=t,MN(n.createExpressionStatement(n.createAssignment(n.getNamespaceMemberName(g,i,!1,!0),a)),o)),t);var i,a,o}function ge(e){return void 0!==h&&db(e,1)}function ye(e){return void 0===h&&db(e,1)}function ve(e){return ye(e)&&!db(e,1024)}function be(e){const t=n.createAssignment(n.getExternalModuleOrNamespaceExportName(g,e,!1,!0),n.getLocalName(e));HA(t,lE(e.name?e.name.pos:e.pos,e.end));const r=n.createExpressionStatement(t);return HA(r,lE(-1,e.end)),r}function Ee(e,t,r){return MN(n.createAssignment(xe(e),t),r)}function xe(e){return n.getNamespaceMemberName(g,e,!1,!0)}function Se(e){const t=n.getGeneratedNameForNode(e);return HA(t,e.name),t}function Le(e){return n.getGeneratedNameForNode(e)}function Ce(e){if(E&T&&!fd(e)&&!DR(e)){const t=s.getReferencedExportContainer(e,!1);if(t&&308!==t.kind&&(2&T&&264===t.kind||8&T&&263===t.kind))return MN(n.createPropertyAccessExpression(n.getGeneratedNameForNode(t),e),e)}}function ke(e){return c.verbatimModuleSyntax||Ah(e)||(c.preserveValueImports?s.isValueAliasDeclaration(e):s.isReferencedAliasDeclaration(e))}}var wU=E({"src/compiler/transformers/ts.ts"(){Qq(),CU=!1}});function RU(e){const{factory:n,getEmitHelperFactory:t,hoistVariableDeclaration:r,endLexicalEnvironment:i,startLexicalEnvironment:a,resumeLexicalEnvironment:o,addBlockScopedVariable:s}=e,c=e.getEmitResolver(),l=e.getCompilerOptions(),d=BT(l),u=sx(l),_=!!l.experimentalDecorators,p=!u,f=u&&d<9,m=p||f,h=d<9,g=d<99?-1:u?0:3,y=d<9,v=y&&d>=2,b=m||h||-1===g,E=e.onSubstituteNode;e.onSubstituteNode=function(e,t){return t=E(e,t),1===e?function(e){switch(e.kind){case 79:return function(e){return function(e){if(1&x&&2097152&c.getNodeCheckFlags(e)){const t=c.getReferencedValueDeclaration(e);if(t){const r=S[t.id];if(r){const t=n.cloneNode(r);return HA(t,e),XA(t,e),t}}}}(e)||e}(e);case 108:return function(e){if(2&x&&(null==C?void 0:C.data)){const{facts:t,classConstructor:r,classThis:i}=C.data;if(1&t&&_)return n.createParenthesizedExpression(n.createVoidZero());const a=N&&null!=i?i:r;if(a)return MN(DA(n.cloneNode(a),e),e)}return e}(e)}return e}(t):t};const T=e.onEmitNode;e.onEmitNode=function(e,n,t){const r=wc(n),i=I.get(r);if(i){const a=C,o=O;return C=i,O=N,N=!(XC(r)&&32&sf(r)),T(e,n,t),N=O,O=o,void(C=a)}switch(n.kind){case 215:if(Bk(r)||524288&of(n))break;case 259:case 173:case 174:case 175:case 171:case 169:{const r=C,i=O;return C=void 0,O=N,N=!1,T(e,n,t),N=O,O=i,void(C=r)}case 164:{const r=C,i=N;return C=null==C?void 0:C.previous,N=O,T(e,n,t),N=i,void(C=r)}}T(e,n,t)};let x,S,A,L,C,k=!1;const I=new Map;let w,R,N=!1,O=!1;return GB(e,(function(n){if(n.isDeclarationFile)return n;if(C=void 0,k=!!(32&sf(n)),!b&&!k)return n;const t=_B(n,P,e);return oL(t,e.readEmitHelpers()),t}));function M(e){return 127===e.kind?ee()?void 0:e:En(e,Ed)}function P(t){if(!(16777216&t.transformFlags||134234112&t.transformFlags))return t;switch(t.kind){case 127:return Nt.fail("Use `modifierVisitor` instead.");case 260:return function(e){return fe(e,void 0,me)}(t);case 228:return he(t,void 0);case 172:case 169:return Nt.fail("Use `classElementVisitor` instead.");case 299:return function(t){if(jy(t,se)){const{referencedName:e,name:r}=ue(t.name),i=tB(t.initializer,(n=>G(n,e)),uu);return n.updatePropertyAssignment(t,r,i)}return _B(t,P,e)}(t);case 240:return function(n){const t=L;L=[];const r=_B(n,P,e),i=ce(L)?[r,...L]:r;return L=t,i}(t);case 257:return function(t){if(jy(t,se)){const e=z(t.name,t.initializer),r=tB(t.name,P,Sd),i=tB(t.initializer,(n=>G(n,e)),uu);return n.updateVariableDeclaration(t,r,void 0,void 0,i)}return _B(t,P,e)}(t);case 166:return function(t){if(jy(t,se)){const e=z(t.name,t.initializer),r=tB(t.name,P,Sd),i=tB(t.initializer,(n=>G(n,e)),uu);return n.updateParameterDeclaration(t,void 0,void 0,r,void 0,void 0,i)}return _B(t,P,e)}(t);case 205:return function(t){if(jy(t,se)){const e=z(t.name,t.initializer),r=tB(t.propertyName,P,xd),i=tB(t.name,P,Sd),a=tB(t.initializer,(n=>G(n,e)),uu);return n.updateBindingElement(t,void 0,r,i,a)}return _B(t,P,e)}(t);case 274:return function(t){if(jy(t,se)){const e=n.createStringLiteral(t.isExportEquals?"":"default"),r=rB(t.modifiers,M,Ed),i=tB(t.expression,(n=>G(n,e)),uu);return n.updateExportAssignment(t,r,i)}return _B(t,P,e)}(t);case 80:return function(e){return h?Mu(e.parent)?e:DA(n.createIdentifier(""),e):e}(t);case 208:return function(t){if(LC(t.name)){const e=Me(t.name);if(e)return MN(DA(te(e,t.expression),t),t)}if(v&&nh(t)&&AC(t.name)&&R&&(null==C?void 0:C.data)){const{classConstructor:e,superClassReference:r,facts:i}=C.data;if(1&i)return Le(t);if(e&&r){const i=n.createReflectGetCall(r,n.createStringLiteralFromNode(t.name),e);return DA(i,t.expression),MN(i,t.expression),i}}return _B(t,P,e)}(t);case 209:return function(t){if(v&&nh(t)&&R&&(null==C?void 0:C.data)){const{classConstructor:e,superClassReference:r,facts:i}=C.data;if(1&i)return Le(t);if(e&&r){const i=n.createReflectGetCall(r,tB(t.argumentExpression,P,uu),e);return DA(i,t.expression),MN(i,t.expression),i}}return _B(t,P,e)}(t);case 221:case 222:return ie(t,!1);case 223:return le(t,!1);case 214:return de(t,!1,void 0);case 210:return function(t){var i;if(gd(t.expression)&&Me(t.expression.name)){const{thisArg:e,target:i}=n.createCallBinding(t.expression,r,d);return Fl(t)?n.updateCallChain(t,n.createPropertyAccessChain(tB(i,P,uu),t.questionDotToken,"call"),void 0,void 0,[tB(e,P,uu),...rB(t.arguments,P,uu)]):n.updateCallExpression(t,n.createPropertyAccessExpression(tB(i,P,uu),"call"),void 0,[tB(e,P,uu),...rB(t.arguments,P,uu)])}if(v&&nh(t.expression)&&R&&(null==(i=null==C?void 0:C.data)?void 0:i.classConstructor)){const e=n.createFunctionCallCall(tB(t.expression,P,uu),C.data.classConstructor,rB(t.arguments,P,uu));return DA(e,t),MN(e,t),e}return _B(t,P,e)}(t);case 241:return function(e){return n.updateExpressionStatement(e,tB(e.expression,B,uu))}(t);case 212:return function(t){var i;if(gd(t.tag)&&Me(t.tag.name)){const{thisArg:e,target:i}=n.createCallBinding(t.tag,r,d);return n.updateTaggedTemplateExpression(t,n.createCallExpression(n.createPropertyAccessExpression(tB(i,P,uu),"bind"),void 0,[tB(e,P,uu)]),void 0,tB(t.template,P,iu))}if(v&&nh(t.tag)&&R&&(null==(i=null==C?void 0:C.data)?void 0:i.classConstructor)){const e=n.createFunctionBindCall(tB(t.tag,P,uu),C.data.classConstructor,[]);return DA(e,t),MN(e,t),n.updateTaggedTemplateExpression(t,e,void 0,tB(t.template,P,iu))}return _B(t,P,e)}(t);case 245:return function(t){return n.updateForStatement(t,tB(t.initializer,B,Tu),tB(t.condition,P,uu),tB(t.incrementor,B,uu),dB(t.statement,P,e))}(t);case 259:case 215:case 173:case 171:case 174:case 175:return Q(void 0,F,t);default:return F(t)}}function F(n){return _B(n,P,e)}function G(e,t){switch(e.kind){case 356:return function(e,t,r){const i=r?e=>G(e,r):P,a=tB(e.expression,i,uu);return n.updatePartiallyEmittedExpression(e,a)}(e,0,t);case 214:return de(e,!1,t);case 228:return he(e,t);default:return P(e)}}function B(e){switch(e.kind){case 221:case 222:return ie(e,!0);case 223:return le(e,!0);case 357:return function(e,t){const r=uB(e.elements,B);return n.updateCommaListExpression(e,r)}(e);case 214:return de(e,!0,void 0);default:return P(e)}}function U(t){switch(t.kind){case 294:return _B(t,U,e);case 230:return function(t){var i;if(4&((null==(i=null==C?void 0:C.data)?void 0:i.facts)||0)){const e=n.createTempVariable(r,!0);return Ce().superClassReference=e,n.updateExpressionWithTypeArguments(t,n.createAssignment(e,tB(t.expression,P,uu)),void 0)}return _B(t,P,e)}(t);default:return P(t)}}function V(e){switch(e.kind){case 207:case 206:return Ue(e);default:return P(e)}}function H(n){switch(n.kind){case 173:return function(e){return w?ve(e,w):F(e)}(n);case 174:case 175:case 171:return Q(void 0,$,n);case 169:return Q(void 0,ne,n);case 172:return function(n){if(!h)return _B(n,P,e)}(n);case 164:return X(n);case 237:return n;default:return Gd(n)?M(n):P(n)}}function K(e){return 164===e.kind?X(e):P(e)}function q(e){switch(e.kind){case 169:return Z(e);case 174:case 175:return H(e);default:Nt.assertMissingNode(e,"Expected node to either be a PropertyDeclaration, GetAccessorDeclaration, or SetAccessorDeclaration")}}function z(e,t){const r=wc(t,Dd);return r&&!r.name&&db(r,1024)?n.createStringLiteral("default"):n.createStringLiteralFromNode(e)}function J(e){return ce(A)&&(Fk(e)?(A.push(e.expression),e=n.updateParenthesizedExpression(e,n.inlineExpressions(A))):(A.push(e),e=n.inlineExpressions(A)),A=void 0),e}function X(e){const t=tB(e.expression,P,uu);return n.updateComputedPropertyName(e,J(t))}function Y(e){return!!h||!!(_b(e)&&32&sf(e))}function $(t){if(Nt.assert(!yb(t)),!hd(t)||!Y(t))return _B(t,H,e);const r=Me(t.name);if(Nt.assert(r,"Undeclared private name for property declaration."),!r.isValid)return t;const i=function(e){Nt.assert(LC(e.name));const n=Me(e.name);if(Nt.assert(n,"Undeclared private name for property declaration."),"m"===n.kind)return n.methodName;if("a"===n.kind){if(Ju(e))return n.getterName;if(zu(e))return n.setterName}}(t);i&&Ie().push(n.createAssignment(i,n.createFunctionExpression(j(t.modifiers,(e=>Ed(e)&&!DC(e)&&!PC(e))),t.asteriskToken,i,void 0,sB(t.parameters,P,e),void 0,lB(t.body,P,e))))}function Q(e,n,t){const r=R;R=e;const i=n(t);return R=r,i}function Z(e){return Nt.assert(!yb(e),"Decorators should already have been transformed and elided."),hd(e)?function(e){if(!Y(e)){if(p&&!ub(e)&&(null==C?void 0:C.data)&&16&C.data.facts)return n.updatePropertyDeclaration(e,rB(e.modifiers,P,Gd),e.name,void 0,void 0,void 0);if(jy(e,se)){const{referencedName:t,name:r}=ue(e.name);return n.updatePropertyDeclaration(e,rB(e.modifiers,M,Ed),r,void 0,void 0,tB(e.initializer,(e=>G(e,t)),uu))}return n.updatePropertyDeclaration(e,rB(e.modifiers,M,Ed),tB(e.name,K,xd),void 0,void 0,tB(e.initializer,P,uu))}{const t=Me(e.name);if(Nt.assert(t,"Undeclared private name for property declaration."),!t.isValid)return e;if(t.isStatic&&!h){const t=xe(e,n.createThis());if(t)return n.createClassStaticBlockDeclaration(n.createBlock([t],!0))}}}(e):function(e){if(!m||Md(e))return n.updatePropertyDeclaration(e,rB(e.modifiers,M,Ed),tB(e.name,K,xd),void 0,void 0,tB(e.initializer,P,uu));{const i=function(e,i,a){if(VC(e)){const o=wN(e);let l=tB(e.expression,P,uu);const d=Kl(l),u=qB(d);if(!(o||Bb(d)&&fd(d.left))&&!u&&i){const i=n.getGeneratedNameForNode(e);return 32768&c.getNodeCheckFlags(e)?s(i):r(i),a&&(l=t().createPropKeyHelper(l)),n.createAssignment(i,l)}return u||AC(d)?void 0:l}}(e.name,!!e.initializer||u,jy(e,se));if(i&&Ie().push(...NN(i)),ub(e)&&!h){const t=xe(e,n.createThis());if(t){const r=n.createClassStaticBlockDeclaration(n.createBlock([t]));return DA(r,e),XA(r,e),XA(t,{pos:-1,end:-1}),$A(t,void 0),eL(t,void 0),r}}}}(e)}function ee(){return-1===g||3===g&&!!(null==C?void 0:C.data)&&!!(16&C.data.facts)}function ne(e){return Md(e)&&(ee()||_b(e)&&32&sf(e))?function(e){const t=JA(e),i=jA(e),a=e.name;let o=a,s=a;if(VC(a)&&!qB(a.expression)){const e=wN(a);if(e)o=n.updateComputedPropertyName(a,tB(a.expression,P,uu)),s=n.updateComputedPropertyName(a,e.left);else{const e=n.createTempVariable(r);HA(e,a.expression);const t=tB(a.expression,P,uu),i=n.createAssignment(e,t);HA(i,a.expression),o=n.updateComputedPropertyName(a,i),s=n.updateComputedPropertyName(a,e)}}const c=rB(e.modifiers,M,Ed),l=CN(n,e,c,e.initializer);DA(l,e),GA(l,3072),HA(l,i);const d=kN(n,e,c,o);DA(d,e),XA(d,t),HA(d,i);const u=IN(n,e,c,s);return DA(u,e),GA(u,3072),HA(u,i),iB([l,d,u],q,Nd)}(e):Z(e)}function te(e,n){return re(e,tB(n,P,uu))}function re(e,n){switch(XA(n,uE(n,-1)),e.kind){case"a":return t().createClassPrivateFieldGetHelper(n,e.brandCheckIdentifier,e.kind,e.getterName);case"m":return t().createClassPrivateFieldGetHelper(n,e.brandCheckIdentifier,e.kind,e.methodName);case"f":return t().createClassPrivateFieldGetHelper(n,e.brandCheckIdentifier,e.kind,e.isStatic?e.variableName:void 0);case"untransformed":return Nt.fail("Access helpers should not be created for untransformed private elements");default:Nt.assertNever(e,"Unknown private element type")}}function ie(t,i){if(45===t.operator||46===t.operator){const e=Yg(t.operand);if(gd(e)){let a;if(a=Me(e.name)){const o=tB(e.expression,P,uu),{readExpression:s,initializeExpression:c}=ae(o);let l=te(a,s);const d=Kk(t)||i?void 0:n.createTempVariable(r);return l=RR(n,t,l,r,d),l=_e(a,c||s,l,63),DA(l,t),MN(l,t),d&&(l=n.createComma(l,d),MN(l,t)),l}}else if(v&&nh(e)&&R&&(null==C?void 0:C.data)){const{classConstructor:a,superClassReference:o,facts:s}=C.data;if(1&s){const r=Le(e);return Kk(t)?n.updatePrefixUnaryExpression(t,r):n.updatePostfixUnaryExpression(t,r)}if(a&&o){let s,c;if(Rk(e)?AC(e.name)&&(c=s=n.createStringLiteralFromNode(e.name)):qB(e.argumentExpression)?c=s=e.argumentExpression:(c=n.createTempVariable(r),s=n.createAssignment(c,tB(e.argumentExpression,P,uu))),s&&c){let l=n.createReflectGetCall(o,c,a);MN(l,e);const d=i?void 0:n.createTempVariable(r);return l=RR(n,t,l,r,d),l=n.createReflectSetCall(o,s,l,a),DA(l,t),MN(l,t),d&&(l=n.createComma(l,d),MN(l,t)),l}}}}return _B(t,P,e)}function ae(e){const t=zy(e)?e:n.cloneNode(e);if(qB(e))return{readExpression:t,initializeExpression:void 0};const i=n.createTempVariable(r);return{readExpression:i,initializeExpression:n.createAssignment(i,t)}}function oe(e){if(C&&I.set(wc(e),C),h){a();let t=Q(e,(e=>rB(e,P,Mu)),e.body.statements);t=n.mergeLexicalEnvironment(t,i());const r=n.createImmediatelyInvokedArrowFunction(t);return DA(r,e),MN(r,e),BA(r,4),r}}function se(e){if($k(e)&&!e.name){const n=ZB(e),t=D(n,XC);if(t)for(const e of t.body.statements)if(_I(e)&&iC(e.expression,"___setFunctionName"))return!1;return(h||!!sf(e))&&ce(n,(e=>XC(e)||hd(e)||m&&eU(e)))}return!1}function le(i,a){if(Vb(i)){const e=A;A=void 0,i=n.updateBinaryExpression(i,tB(i.left,V,uu),i.operatorToken,tB(i.right,P,uu));const t=ce(A)?n.inlineExpressions(be([...A,i])):i;return A=e,t}if(Bb(i)){if(jy(i,se)){const e=z(i.left,i.right),t=tB(i.left,P,uu),r=tB(i.right,(n=>G(n,e)),uu);return n.updateBinaryExpression(i,t,i.operatorToken,r)}if(gd(i.left)){const e=Me(i.left.name);if(e)return MN(DA(_e(e,i.left.expression,i.right,i.operatorToken.kind),i),i)}else if(v&&nh(i.left)&&R&&(null==C?void 0:C.data)){const{classConstructor:e,superClassReference:t,facts:o}=C.data;if(1&o)return n.updateBinaryExpression(i,Le(i.left),i.operatorToken,tB(i.right,P,uu));if(e&&t){let o=Nk(i.left)?tB(i.left.argumentExpression,P,uu):AC(i.left.name)?n.createStringLiteralFromNode(i.left.name):void 0;if(o){let s=tB(i.right,P,uu);if(zB(i.operatorToken.kind)){let a=o;qB(o)||(a=n.createTempVariable(r),o=n.createAssignment(a,o));const c=n.createReflectGetCall(t,a,e);DA(c,i.left),MN(c,i.left),s=n.createBinaryExpression(c,JB(i.operatorToken.kind),s),MN(s,i)}const c=a?void 0:n.createTempVariable(r);return c&&(s=n.createAssignment(c,s),MN(c,i)),s=n.createReflectSetCall(t,o,s,e),DA(s,i),MN(s,i),c&&(s=n.createComma(s,c),MN(s,i)),s}}}}return function(e){return LC(e.left)&&101===e.operatorToken.kind}(i)?function(n){const r=Me(n.left);if(r){const e=tB(n.right,P,uu);return DA(t().createClassPrivateFieldInHelper(r.brandCheckIdentifier,e),n)}return _B(n,P,e)}(i):_B(i,P,e)}function de(e,t,r){const i=t?B:r?e=>G(e,r):P,a=tB(e.expression,i,uu);return n.updateParenthesizedExpression(e,a)}function ue(e){if(Ry(e)||LC(e))return{referencedName:n.createStringLiteralFromNode(e),name:tB(e,P,xd)};if(Ry(e.expression)&&!AC(e.expression))return{referencedName:n.createStringLiteralFromNode(e.expression),name:tB(e,P,xd)};const i=n.createTempVariable(r),a=t().createPropKeyHelper(tB(e.expression,P,uu)),o=n.createAssignment(i,a);return{referencedName:i,name:n.updateComputedPropertyName(e,J(o))}}function _e(e,r,i,a){if(r=tB(r,P,uu),i=tB(i,P,uu),zB(a)){const{readExpression:t,initializeExpression:o}=ae(r);r=o||t,i=n.createBinaryExpression(re(e,t),JB(a),i)}switch(XA(r,uE(r,-1)),e.kind){case"a":return t().createClassPrivateFieldSetHelper(r,e.brandCheckIdentifier,i,e.kind,e.setterName);case"m":return t().createClassPrivateFieldSetHelper(r,e.brandCheckIdentifier,i,e.kind,void 0);case"f":return t().createClassPrivateFieldSetHelper(r,e.brandCheckIdentifier,i,e.kind,e.isStatic?e.variableName:void 0);case"untransformed":return Nt.fail("Access helpers should not be created for untransformed private elements");default:Nt.assertNever(e,"Unknown private element type")}}function pe(e){return j(e.members,nU)}function fe(n,t,r){const i=w,a=A,o=C;w=n,A=void 0,C={previous:C,data:void 0};const s=32&sf(n);if(h||s){const e=Wc(n);e&&AC(e)&&(ke().data.className=e)}if(h){const e=pe(n);ce(e)&&(ke().data.weakSetName=De("instances",e[0].name))}const c=function(e){let n=0;const t=wc(e);RI(t)&&uh(_,t)&&(n|=1);let r=!1,i=!1,a=!1,o=!1;for(const t of e.members)ub(t)?(t.name&&(LC(t.name)||Md(t))&&h&&(n|=2),(qC(t)||XC(t))&&(y&&16384&t.transformFlags&&(n|=8,1&n||(n|=2)),v&&134217728&t.transformFlags&&(1&n||(n|=6)))):fb(wc(t))||(Md(t)?(o=!0,a||(a=hd(t))):hd(t)?a=!0:qC(t)&&(r=!0,i||(i=!!t.initializer)));return(f&&r||p&&i||h&&a||h&&o&&-1===g)&&(n|=16),n}(n);c&&(Ce().facts=c),8&c&&0==(2&x)&&(x|=2,e.enableSubstitution(108),e.enableEmitNotification(259),e.enableEmitNotification(215),e.enableEmitNotification(173),e.enableEmitNotification(174),e.enableEmitNotification(175),e.enableEmitNotification(171),e.enableEmitNotification(169),e.enableEmitNotification(164));const l=r(n,c,t);return C=null==C?void 0:C.previous,Nt.assert(C===o),w=i,A=a,l}function me(e,t){var i,a;let o;if(2&t){if(h&&(null==(i=e.emitNode)?void 0:i.classThis))Ce().classConstructor=e.emitNode.classThis,o=n.createAssignment(e.emitNode.classThis,n.getInternalName(e));else{const t=n.createTempVariable(r,!0);Ce().classConstructor=n.cloneNode(t),o=n.createAssignment(t,n.getInternalName(e))}(null==(a=e.emitNode)?void 0:a.classThis)&&(Ce().classThis=e.emitNode.classThis)}const s=rB(e.modifiers,M,Ed),c=rB(e.heritageClauses,U,yw),{members:l,prologue:d}=ye(e),u=n.updateClassDeclaration(e,s,e.name,void 0,c,l),_=[];if(d&&_.push(n.createExpressionStatement(d)),_.push(u),o&&Ie().unshift(o),ce(A)&&_.push(n.createExpressionStatement(n.inlineExpressions(A))),p||h||32&sf(e)){const t=ZB(e);ce(t)&&Ee(_,t,n.getInternalName(e))}return _}function he(e,n){return fe(e,n,ge)}function ge(i,a,o){var l,d,u,_,p,f;const g=!!(1&a),y=ZB(i),v=1048576&c.getNodeCheckFlags(i);let b;function E(){var e;if(h&&(null==(e=i.emitNode)?void 0:e.classThis))return Ce().classConstructor=i.emitNode.classThis;const t=c.getNodeCheckFlags(i),a=1048576&t,o=32768&t,l=n.createTempVariable(o?s:r,!!a);return Ce().classConstructor=n.cloneNode(l),l}(null==(l=i.emitNode)?void 0:l.classThis)&&(Ce().classThis=i.emitNode.classThis),2&a&&(null!=b||(b=E()));const T=rB(i.modifiers,M,Ed),C=rB(i.heritageClauses,U,yw),{members:k,prologue:I}=ye(i);let w=n.updateClassExpression(i,T,i.name,void 0,C,k);const R=[];if(I&&R.push(I),(h||32&sf(i))&&ce(y,(e=>XC(e)||hd(e)||m&&eU(e)))||ce(A)||o)if(g){if(Nt.assertIsDefined(L,"Decorated classes transformed by TypeScript are expected to be within a variable declaration."),ce(A)&&Ae(L,W(A,n.createExpressionStatement)),o)if(h){const e=t().createSetFunctionNameHelper(null!=(u=null!=b?b:null==(d=i.emitNode)?void 0:d.classThis)?u:n.getInternalName(i),o);L.push(n.createExpressionStatement(e))}else{const e=t().createSetFunctionNameHelper(n.createThis(),o);w=n.updateClassExpression(w,w.modifiers,w.name,w.typeParameters,w.heritageClauses,[n.createClassStaticBlockDeclaration(n.createBlock([n.createExpressionStatement(e)])),...w.members])}ce(y)&&Ee(L,y,null!=(p=null==(_=i.emitNode)?void 0:_.classThis)?p:n.getInternalName(i)),b?R.push(n.createAssignment(b,w)):h&&(null==(f=i.emitNode)?void 0:f.classThis)?R.push(n.createAssignment(i.emitNode.classThis,w)):R.push(w)}else{if(null!=b||(b=E()),v){0==(1&x)&&(x|=1,e.enableSubstitution(79),S=[]);const t=n.cloneNode(b);t.emitNode.autoGenerate.flags&=-9,S[PB(i)]=t}R.push(n.createAssignment(b,w)),Ae(R,A),o&&R.push(t().createSetFunctionNameHelper(b,o)),Ae(R,function(e,n){const t=[];for(const r of e){const e=XC(r)?oe(r):Se(r,n);e&&(qR(e),DA(e,r),BA(e,3072&of(r)),HA(e,pE(r)),XA(e,r),t.push(e))}return t}(y,b)),R.push(n.cloneNode(b))}else R.push(w);return R.length>1&&(BA(w,131072),R.forEach(qR)),n.inlineExpressions(R)}function ye(e){const t=!!(32&sf(e));if(h||k){for(const n of e.members)hd(n)&&(Y(n)?Ne(n,n.name,we):lU(ke(),n.name,{kind:"untransformed"}));if(h&&ce(pe(e))&&function(){const{weakSetName:e}=ke().data;Nt.assert(e,"weakSetName should be set in private identifier environment"),Ie().push(n.createAssignment(e,n.createNewExpression(n.createIdentifier("WeakSet"),void 0,[])))}(),ee())for(const r of e.members)if(Md(r)){const e=n.getGeneratedPrivateNameForNode(r.name,void 0,"_accessor_storage");h||t&&_b(r)?Ne(r,e,Re):lU(ke(),e,{kind:"untransformed"})}}let i,a,o,s=rB(e.members,H,Nd);if(ce(s,YC)||(i=ve(void 0,e)),!h&&ce(A)){let e=n.createExpressionStatement(n.inlineExpressions(A));if(134234112&e.transformFlags){const t=n.createTempVariable(r),i=n.createArrowFunction(void 0,void 0,[],void 0,void 0,n.createBlock([e]));a=n.createAssignment(t,i),e=n.createExpressionStatement(n.createCallExpression(t,void 0,[]))}const t=n.createBlock([e]);o=n.createClassStaticBlockDeclaration(t),A=void 0}if(i||o){let t;t=Te(t,i),t=Te(t,o),t=Ae(t,s),s=MN(n.createNodeArray(t),e.members)}return{members:s,prologue:a}}function ve(t,r){if(t=tB(t,P,YC),!((null==C?void 0:C.data)&&16&C.data.facts))return t;const a=ly(r),s=!(!a||104===HR(a.expression).kind),c=sB(t?t.parameters:void 0,P,e),l=function(t,r,a){var s,c;const l=$B(t,!1,!1);let d=l;u||(d=j(d,(e=>!!e.initializer||LC(e.name)||hb(e))));const _=pe(t),p=ce(d)||ce(_);if(!r&&!p)return lB(void 0,P,e);o();const f=!r&&a;let m=0,g=0,y=-1,v=[];(null==(s=null==r?void 0:r.body)?void 0:s.statements)&&(g=n.copyPrologue(r.body.statements,v,!1,P),y=YB(r.body.statements,g),y>=0?(m=y+1,v=[...v.slice(0,g),...rB(r.body.statements,P,Mu,g,m-g),...v.slice(g)]):g>=0&&(m=g)),f&&v.push(n.createExpressionStatement(n.createCallExpression(n.createSuper(),void 0,[n.createSpreadElement(n.createIdentifier("arguments"))])));let b=0;if(null==r?void 0:r.body){for(let e=m;e<r.body.statements.length&&Ec(wc(r.body.statements[e]),r);e++)b++;b>0&&(m+=b)}const E=n.createThis();if(function(e,t,r){if(!h||!ce(t))return;const{weakSetName:i}=ke().data;Nt.assert(i,"weakSetName should be set in private identifier environment"),e.push(n.createExpressionStatement(function(e,n){return pA.createCallExpression(pA.createPropertyAccessExpression(n,"add"),void 0,[e])}(r,i)))}(v,_,E),r){const e=j(l,(e=>Ec(wc(e),r))),n=j(d,(e=>!Ec(wc(e),r)));Ee(v,e,E),Ee(v,n,E)}else Ee(v,d,E);if(r&&Ae(v,rB(r.body.statements,P,Mu,m)),v=n.mergeLexicalEnvironment(v,i()),0===v.length&&!r)return;const T=(null==r?void 0:r.body)&&r.body.statements.length>=v.length&&null!=(c=r.body.multiLine)?c:v.length>0;return MN(n.createBlock(MN(n.createNodeArray(v),r?r.body.statements:t.members),T),r?r.body:void 0)}(r,t,s);return l?t?(Nt.assert(c),n.updateConstructorDeclaration(t,void 0,c,l)):qR(DA(MN(n.createConstructorDeclaration(void 0,null!=c?c:[],l),t||r),t)):t}function Ee(e,n,t){for(const r of n){if(ub(r)&&!h)continue;const n=xe(r,t);n&&e.push(n)}}function xe(e,t){const r=XC(e)?oe(e):Se(e,t);if(!r)return;const i=n.createExpressionStatement(r);DA(i,e),BA(i,3072&of(e)),XA(i,e);const a=wc(e);return HC(a)?(HA(i,a),FA(i)):HA(i,pE(e)),$A(r,void 0),eL(r,void 0),hb(a)&&BA(i,3072),i}function Se(e,t){var r;const i=R,a=function(e,t){const r=!u;let i;jy(e,se)&&(i=Ry(e.name)||LC(e.name)?n.createStringLiteralFromNode(e.name):Ry(e.name.expression)&&!AC(e.name.expression)?n.createStringLiteralFromNode(e.name.expression):n.getGeneratedNameForNode(e.name));const a=hb(e)?n.getGeneratedPrivateNameForNode(e.name):VC(e.name)&&!qB(e.name.expression)?n.updateComputedPropertyName(e.name,n.getGeneratedNameForNode(e.name)):e.name;_b(e)&&(R=e);const o=i?e=>G(e,i):P;if(LC(a)&&Y(e)){const n=Me(a);if(n)return"f"===n.kind?n.isStatic?function(e,n){return pA.createAssignment(e,pA.createObjectLiteralExpression([pA.createPropertyAssignment("value",n||pA.createVoidZero())]))}(n.variableName,tB(e.initializer,o,uu)):function(e,n,t){return pA.createCallExpression(pA.createPropertyAccessExpression(t,"set"),void 0,[e,n||pA.createVoidZero()])}(t,tB(e.initializer,o,uu),n.brandCheckIdentifier):void 0;Nt.fail("Undeclared private name for property declaration.")}if((LC(a)||_b(e))&&!e.initializer)return;const s=wc(e);if(db(s,256))return;let c=tB(e.initializer,o,uu);if(Ec(s,s.parent)&&AC(a)){const e=n.cloneNode(a);c?(Fk(c)&&GR(c.expression)&&iC(c.expression.left,"___runInitializers")&&jk(c.expression.right)&&oC(c.expression.right.expression)&&(c=c.expression.left),c=n.inlineExpressions([c,e])):c=e,GA(a,3168),HA(e,s.name),GA(e,3072)}else null!=c||(c=n.createVoidZero());if(r||LC(a)){const e=bR(n,t,a,a);return BA(e,1024),n.createAssignment(e,c)}{const e=VC(a)?a.expression:AC(a)?n.createStringLiteral(Mc(a.escapedText)):a,r=n.createPropertyDescriptor({value:c,configurable:!0,writable:!0,enumerable:!0});return n.createObjectDefinePropertyCall(t,e,r)}}(e,t);return a&&_b(e)&&(null==(r=null==C?void 0:C.data)?void 0:r.facts)&&(DA(a,e),BA(a,4),HA(a,jA(e.name)),I.set(wc(e),C)),R=i,a}function Le(e){return Rk(e)?n.updatePropertyAccessExpression(e,n.createVoidZero(),e.name):n.updateElementAccessExpression(e,n.createVoidZero(),tB(e.argumentExpression,P,uu))}function Ce(){var e;return Nt.assert(C),null!=(e=C.data)?e:C.data={facts:0,classConstructor:void 0,classThis:void 0,superClassReference:void 0}}function ke(){var e;return Nt.assert(C),null!=(e=C.privateEnv)?e:C.privateEnv=sU({className:void 0,weakSetName:void 0})}function Ie(){return null!=A?A:A=[]}function we(e,n,t,r,i,a,o){Md(e)?function(e,n,t,r,i,a,o){var s;lU(r,n,{kind:"a",getterName:Oe(n,"_get"),setterName:Oe(n,"_set"),brandCheckIdentifier:i?Nt.checkDefined(null!=(s=t.classThis)?s:t.classConstructor,"classConstructor should be set in private identifier environment"):Nt.checkDefined(r.data.weakSetName,"weakSetName should be set in private identifier environment"),isStatic:i,isValid:a})}(0,n,t,r,i,a):qC(e)?Re(0,n,t,r,i,a):JC(e)?function(e,n,t,r,i,a,o){var s;lU(r,n,{kind:"m",methodName:Oe(n),brandCheckIdentifier:i?Nt.checkDefined(null!=(s=t.classThis)?s:t.classConstructor,"classConstructor should be set in private identifier environment"):Nt.checkDefined(r.data.weakSetName,"weakSetName should be set in private identifier environment"),isStatic:i,isValid:a})}(0,n,t,r,i,a):$C(e)?function(e,n,t,r,i,a,o){var s;const c=Oe(n,"_get"),l=i?Nt.checkDefined(null!=(s=t.classThis)?s:t.classConstructor,"classConstructor should be set in private identifier environment"):Nt.checkDefined(r.data.weakSetName,"weakSetName should be set in private identifier environment");"a"!==(null==o?void 0:o.kind)||o.isStatic!==i||o.getterName?lU(r,n,{kind:"a",getterName:c,setterName:void 0,brandCheckIdentifier:l,isStatic:i,isValid:a}):o.getterName=c}(0,n,t,r,i,a,o):QC(e)&&function(e,n,t,r,i,a,o){var s;const c=Oe(n,"_set"),l=i?Nt.checkDefined(null!=(s=t.classThis)?s:t.classConstructor,"classConstructor should be set in private identifier environment"):Nt.checkDefined(r.data.weakSetName,"weakSetName should be set in private identifier environment");"a"!==(null==o?void 0:o.kind)||o.isStatic!==i||o.setterName?lU(r,n,{kind:"a",getterName:void 0,setterName:c,brandCheckIdentifier:l,isStatic:i,isValid:a}):o.setterName=c}(0,n,t,r,i,a,o)}function Re(e,t,r,i,a,o,s){var c;if(a)lU(i,t,{kind:"f",isStatic:!0,brandCheckIdentifier:Nt.checkDefined(null!=(c=r.classThis)?c:r.classConstructor,"classConstructor should be set in private identifier environment"),variableName:Oe(t),isValid:o});else{const e=Oe(t);lU(i,t,{kind:"f",isStatic:!1,brandCheckIdentifier:e,isValid:o}),Ie().push(n.createAssignment(e,n.createNewExpression(n.createIdentifier("WeakMap"),void 0,[])))}}function Ne(e,n,t){const r=Ce(),i=ke(),a=cU(i,n),o=_b(e),s=!function(e){return!md(e)&&"#constructor"===e.escapedText}(n)&&void 0===a;t(e,n,r,i,o,s,a)}function De(e,t,i){const{className:a}=ke().data,o=a?{prefix:"_",node:a,suffix:"_"}:"_",l="object"==typeof e?n.getGeneratedNameForNode(e,24,o,i):"string"==typeof e?n.createUniqueName(e,16,o,i):n.createTempVariable(void 0,!0,o,i);return 32768&c.getNodeCheckFlags(t)?s(l):r(l),l}function Oe(e,n){var t;const r=Uf(e);return De(null!=(t=null==r?void 0:r.substring(1))?t:e,e,n)}function Me(e){const n=dU(C,e);return"untransformed"===(null==n?void 0:n.kind)?void 0:n}function Pe(t){if(wk(t)||Ik(t))return Ue(t);if(gd(t))return function(t){const i=n.getGeneratedNameForNode(t),a=Me(t.name);if(!a)return _B(t,P,e);let o=t.expression;return(th(t)||nh(t)||!WB(t.expression))&&(o=n.createTempVariable(r,!0),Ie().push(n.createBinaryExpression(o,63,tB(t.expression,P,uu)))),n.createAssignmentTargetWrapper(i,_e(a,o,i,63))}(t);if(v&&nh(t)&&R&&(null==C?void 0:C.data)){const{classConstructor:e,superClassReference:r,facts:i}=C.data;if(1&i)return Le(t);if(e&&r){const i=Nk(t)?tB(t.argumentExpression,P,uu):AC(t.name)?n.createStringLiteralFromNode(t.name):void 0;if(i){const t=n.createTempVariable(void 0);return n.createAssignmentTargetWrapper(t,n.createReflectSetCall(r,i,t,e))}}}return _B(t,P,e)}function Fe(e){if(jy(e,se)){const t=Pe(e.left),r=z(e.left,e.right),i=tB(e.right,(e=>G(e,r)),uu);return n.updateBinaryExpression(e,t,e.operatorToken,i)}if(Bb(e,!0)){const t=Pe(e.left),r=tB(e.right,P,uu);return n.updateBinaryExpression(e,t,e.operatorToken,r)}return Pe(e)}function Ge(t){return Nt.assertNode(t,Zd),Yk(t)?function(t){if(au(t.expression)){const e=Pe(t.expression);return n.updateSpreadElement(t,e)}return _B(t,P,e)}(t):Qk(t)?_B(t,P,e):Fe(t)}function Be(t){return Nt.assertNode(t,$d),Tw(t)?function(t){if(au(t.expression)){const e=Pe(t.expression);return n.updateSpreadAssignment(t,e)}return _B(t,P,e)}(t):Ew(t)?function(t){if(jy(t,se)){const e=z(t.name,t.objectAssignmentInitializer),r=tB(t.objectAssignmentInitializer,(n=>G(n,e)),uu);return n.updateShorthandPropertyAssignment(t,t.name,r)}return _B(t,P,e)}(t):bw(t)?function(t){const r=tB(t.name,P,xd);if(Bb(t.initializer,!0)){const e=Fe(t.initializer);return n.updatePropertyAssignment(t,r,e)}if(au(t.initializer)){const e=Pe(t.initializer);return n.updatePropertyAssignment(t,r,e)}return _B(t,P,e)}(t):_B(t,P,e)}function Ue(e){return Ik(e)?n.updateArrayLiteralExpression(e,rB(e.elements,Ge,uu)):n.updateObjectLiteralExpression(e,rB(e.properties,Be,Vd))}}var NU=E({"src/compiler/transformers/classFields.ts"(){Qq()}});function DU(e){const{hoistVariableDeclaration:n}=e,t=e.getEmitResolver(),r=e.getCompilerOptions(),i=BT(r),a=ax(r,"strictNullChecks");let o,s;return{serializeTypeNode:(e,n)=>c(e,_,n),serializeTypeOfNode:(e,n)=>c(e,l,n),serializeParameterTypesOfNode:(e,n,t)=>c(e,d,n,t),serializeReturnTypeOfNode:(e,n)=>c(e,u,n)};function c(e,n,t,r){const i=o,a=s;o=e.currentLexicalScope,s=e.currentNameScope;const c=void 0===r?n(t):n(t,r);return o=i,s=a,c}function l(e){switch(e.kind){case 169:case 166:return _(e.type);case 175:case 174:return _(function(e){const n=t.getAllAccessorDeclarations(e);return n.setAccessor&&Vv(n.setAccessor)||n.getAccessor&&Yv(n.getAccessor)}(e));case 260:case 228:case 171:return pA.createIdentifier("Function");default:return pA.createVoidZero()}}function d(e,n){const t=Dd(e)?Bv(e):Ad(e)&&Gp(e.body)?e:void 0,r=[];if(t){const e=function(e,n){if(n&&174===e.kind){const{setAccessor:t}=zv(n.members,e);if(t)return t.parameters}return e.parameters}(t,n),i=e.length;for(let n=0;n<i;n++){const t=e[n];0===n&&AC(t.name)&&"this"===t.name.escapedText||(t.dotDotDotToken?r.push(_(xm(t.type))):r.push(l(t)))}}return pA.createArrayLiteralExpression(r)}function u(e){return Ad(e)&&e.type?_(e.type):Ay(e)?pA.createIdentifier("Promise"):pA.createVoidZero()}function _(e){if(void 0===e)return pA.createIdentifier("Object");switch((e=Xg(e)).kind){case 114:case 155:case 144:return pA.createVoidZero();case 181:case 182:return pA.createIdentifier("Function");case 185:case 186:return pA.createIdentifier("Array");case 179:return e.assertsModifier?pA.createVoidZero():pA.createIdentifier("Boolean");case 134:return pA.createIdentifier("Boolean");case 200:case 152:return pA.createIdentifier("String");case 149:return pA.createIdentifier("Object");case 198:return p(e.literal);case 148:return pA.createIdentifier("Number");case 160:return v("BigInt",7);case 153:return v("Symbol",2);case 180:return function(e){const r=t.getTypeReferenceSerializationKind(e.typeName,null!=s?s:o);switch(r){case 0:if(Rc(e,(e=>e.parent&&mk(e.parent)&&(e.parent.trueType===e||e.parent.falseType===e))))return pA.createIdentifier("Object");const t=g(e.typeName),i=pA.createTempVariable(n);return pA.createConditionalExpression(pA.createTypeCheck(pA.createAssignment(i,t),"function"),void 0,i,void 0,pA.createIdentifier("Object"));case 1:return y(e.typeName);case 2:return pA.createVoidZero();case 4:return v("BigInt",7);case 6:return pA.createIdentifier("Boolean");case 3:return pA.createIdentifier("Number");case 5:return pA.createIdentifier("String");case 7:return pA.createIdentifier("Array");case 8:return v("Symbol",2);case 10:return pA.createIdentifier("Function");case 9:return pA.createIdentifier("Promise");case 11:return pA.createIdentifier("Object");default:return Nt.assertNever(r)}}(e);case 190:return f(e.types,!0);case 189:return f(e.types,!1);case 191:return f([e.trueType,e.falseType],!1);case 195:if(146===e.operator)return _(e.type);break;case 183:case 196:case 197:case 184:case 131:case 157:case 194:case 202:case 315:case 316:case 320:case 321:case 322:break;case 317:case 318:case 319:return _(e.type);default:return Nt.failBadSyntaxKind(e)}return pA.createIdentifier("Object")}function p(e){switch(e.kind){case 10:case 14:return pA.createIdentifier("String");case 221:{const n=e.operand;switch(n.kind){case 8:case 9:return p(n);default:return Nt.failBadSyntaxKind(n)}}case 8:return pA.createIdentifier("Number");case 9:return v("BigInt",7);case 110:case 95:return pA.createIdentifier("Boolean");case 104:return pA.createVoidZero();default:return Nt.failBadSyntaxKind(e)}}function f(e,n){let t;for(let r of e){if(r=Xg(r),144===r.kind){if(n)return pA.createVoidZero();continue}if(157===r.kind){if(!n)return pA.createIdentifier("Object");continue}if(131===r.kind)return pA.createIdentifier("Object");if(!a&&(Tk(r)&&104===r.literal.kind||155===r.kind))continue;const e=_(r);if(AC(e)&&"Object"===e.escapedText)return e;if(t){if(!m(t,e))return pA.createIdentifier("Object")}else t=e}return null!=t?t:pA.createVoidZero()}function m(e,n){return fd(e)?fd(n):AC(e)?AC(n)&&e.escapedText===n.escapedText:Rk(e)?Rk(n)&&m(e.expression,n.expression)&&m(e.name,n.name):jk(e)?jk(n)&&oC(e.expression)&&"0"===e.expression.text&&oC(n.expression)&&"0"===n.expression.text:cC(e)?cC(n)&&e.text===n.text:Vk(e)?Vk(n)&&m(e.expression,n.expression):Fk(e)?Fk(n)&&m(e.expression,n.expression):zk(e)?zk(n)&&m(e.condition,n.condition)&&m(e.whenTrue,n.whenTrue)&&m(e.whenFalse,n.whenFalse):!!qk(e)&&qk(n)&&e.operatorToken.kind===n.operatorToken.kind&&m(e.left,n.left)&&m(e.right,n.right)}function h(e,n){return pA.createLogicalAnd(pA.createStrictInequality(pA.createTypeOfExpression(e),pA.createStringLiteral("undefined")),n)}function g(e){if(79===e.kind){const n=y(e);return h(n,n)}if(79===e.left.kind)return h(y(e.left),y(e));const t=g(e.left),r=pA.createTempVariable(n);return pA.createLogicalAnd(pA.createLogicalAnd(t.left,pA.createStrictInequality(pA.createAssignment(r,t.right),pA.createVoidZero())),pA.createPropertyAccessExpression(r,e.right))}function y(e){switch(e.kind){case 79:const n=xS(MN(KN.cloneNode(e),e),e.parent);return n.original=void 0,xS(n,Dc(o)),n;case 163:return function(e){return pA.createPropertyAccessExpression(y(e.left),e.right)}(e)}}function v(e,n){return i<n?function(e){return pA.createConditionalExpression(pA.createTypeCheck(pA.createIdentifier(e),"function"),void 0,pA.createIdentifier(e),void 0,pA.createIdentifier("Object"))}(e):pA.createIdentifier(e)}}var OU=E({"src/compiler/transformers/typeSerializer.ts"(){Qq()}});function MU(e){const{factory:n,getEmitHelperFactory:t,hoistVariableDeclaration:r}=e,i=e.getEmitResolver(),a=BT(e.getCompilerOptions()),o=e.onSubstituteNode;let s;return e.onSubstituteNode=function(e,t){return t=o(e,t),1===e?function(e){return 79===e.kind?function(e){var t;return null!=(t=function(e){if(s&&2097152&i.getNodeCheckFlags(e)){const t=i.getReferencedValueDeclaration(e);if(t){const r=s[t.id];if(r){const t=n.cloneNode(r);return HA(t,e),XA(t,e),t}}}}(e))?t:e}(e):e}(t):t},GB(e,(function(n){const t=_B(n,l,e);return oL(t,e.readEmitHelpers()),t}));function c(e){return KC(e)?void 0:e}function l(o){if(!(33554432&o.transformFlags))return o;switch(o.kind){case 167:return;case 260:return function(o){if(!uh(!0,o)&&!dh(!0,o))return _B(o,l,e);const d=uh(!0,o)?function(o,c){const d=pE(o),u=function(t){if(1048576&i.getNodeCheckFlags(t)){s||(e.enableSubstitution(79),s=[]);const i=n.createUniqueName(t.name&&!fd(t.name)?Pc(t.name):"default");return s[PB(t)]=i,r(i),i}}(o),p=a<=2?n.getInternalName(o,!1,!0):n.getLocalName(o,!1,!0),f=rB(o.heritageClauses,l,yw);let h=rB(o.members,l,Nd),g=[];({members:h,decorationStatements:g}=_(o,h));const y=n.createClassExpression(void 0,c&&fd(c)?void 0:c,void 0,f,h);DA(y,o),MN(y,d);const v=n.createVariableStatement(void 0,n.createVariableDeclarationList([n.createVariableDeclaration(p,void 0,void 0,u?n.createAssignment(u,y):y)],1));DA(v,o),MN(v,d),XA(v,o);const b=[v];return Ae(b,g),function(e,r){const i=function(e){const r=m(rU(e));if(!r)return;const i=s&&s[PB(e)],o=a<=2?n.getInternalName(e,!1,!0):n.getLocalName(e,!1,!0),c=t().createDecorateHelper(r,o),l=n.createAssignment(o,i?n.createAssignment(i,c):c);return GA(l,3072),HA(l,pE(e)),l}(r);i&&e.push(DA(n.createExpressionStatement(i),r))}(b,o),b}(o,o.name):function(e,t){const r=rB(e.modifiers,c,Ed),i=rB(e.heritageClauses,l,yw);let a=rB(e.members,l,Nd),o=[];({members:a,decorationStatements:o}=_(e,a));return Ae([n.updateClassDeclaration(e,r,t,void 0,i,a)],o)}(o,o.name);return d.length>1&&(d.push(n.createEndOfDeclarationMarker(o)),GA(d[0],8388608|of(d[0]))),Ve(d)}(o);case 228:return function(e){return n.updateClassExpression(e,rB(e.modifiers,c,Ed),e.name,void 0,rB(e.heritageClauses,l,yw),rB(e.members,l,Nd))}(o);case 173:return function(e){return n.updateConstructorDeclaration(e,rB(e.modifiers,c,Ed),rB(e.parameters,l,HC),tB(e.body,l,lI))}(o);case 171:return function(e){return p(n.updateMethodDeclaration(e,rB(e.modifiers,c,Ed),e.asteriskToken,Nt.checkDefined(tB(e.name,l,xd)),void 0,void 0,rB(e.parameters,l,HC),void 0,tB(e.body,l,lI)),e)}(o);case 175:return function(e){return p(n.updateSetAccessorDeclaration(e,rB(e.modifiers,c,Ed),Nt.checkDefined(tB(e.name,l,xd)),rB(e.parameters,l,HC),tB(e.body,l,lI)),e)}(o);case 174:return function(e){return p(n.updateGetAccessorDeclaration(e,rB(e.modifiers,c,Ed),Nt.checkDefined(tB(e.name,l,xd)),rB(e.parameters,l,HC),void 0,tB(e.body,l,lI)),e)}(o);case 169:return function(e){if(!(16777216&e.flags||db(e,2)))return p(n.updatePropertyDeclaration(e,rB(e.modifiers,c,Ed),Nt.checkDefined(tB(e.name,l,xd)),void 0,void 0,tB(e.initializer,l,uu)),e)}(o);case 166:return function(e){const t=n.updateParameterDeclaration(e,xN(n,e.modifiers),e.dotDotDotToken,Nt.checkDefined(tB(e.name,l,Sd)),void 0,void 0,tB(e.initializer,l,uu));return t!==e&&(XA(t,e),MN(t,pE(e)),HA(t,pE(e)),GA(t.name,64)),t}(o);default:return _B(o,l,e)}}function d(e){return!!(536870912&e.transformFlags)}function u(e){return ce(e,d)}function _(e,t){let r=[];return h(r,e,!1),h(r,e,!0),function(e){for(const n of e.members){if(!FN(n))continue;const t=iU(n,e,!0);if(ce(null==t?void 0:t.decorators,d))return!0;if(ce(null==t?void 0:t.parameters,u))return!0}return!1}(e)&&(t=MN(n.createNodeArray([...t,n.createClassStaticBlockDeclaration(n.createBlock(r,!0))]),t),r=void 0),{decorationStatements:r,members:t}}function p(e,n){return e!==n&&(XA(e,n),HA(e,pE(n))),e}function f(e){return iC(e.expression,"___metadata")}function m(e){if(!e)return;const{false:n,true:t}=on(e.decorators,f),r=[];return Ae(r,W(n,y)),Ae(r,X(e.parameters,v)),Ae(r,W(t,y)),r}function h(e,t,r){Ae(e,W(function(e,n){const t=function(e,n){return j(e.members,(t=>{return i=n,lh(!0,r=t,e)&&i===ub(r);var r,i}))}(e,n);let r;for(const n of t)r=Te(r,g(e,n));return r}(t,r),(e=>n.createExpressionStatement(e))))}function g(e,r){const i=m(iU(r,e,!0));if(!i)return;const o=function(e,t){return ub(t)?n.getDeclarationName(e):function(e){return n.createPropertyAccessExpression(n.getDeclarationName(e),"prototype")}(e)}(e,r),s=function(e,t){const r=e.name;return LC(r)?n.createIdentifier(""):VC(r)?t&&!qB(r.expression)?n.getGeneratedNameForNode(r):r.expression:AC(r)?n.createStringLiteral(Pc(r)):n.cloneNode(r)}(r,!db(r,2)),c=a>0?qC(r)&&!hb(r)?n.createVoidZero():n.createNull():void 0,l=t().createDecorateHelper(i,o,s,c);return GA(l,3072),HA(l,pE(r)),l}function y(e){return Nt.checkDefined(tB(e.expression,l,uu))}function v(e,n){let r;if(e){r=[];for(const i of e){const e=t().createParamHelper(y(i),n);MN(e,i.expression),GA(e,3072),r.push(e)}}return r}}var PU=E({"src/compiler/transformers/legacyDecorators.ts"(){Qq()}});function FU(e){const{factory:n,getEmitHelperFactory:t,startLexicalEnvironment:r,endLexicalEnvironment:i,hoistVariableDeclaration:a}=e;let o,s,c,l,d,u;return GB(e,(function(n){o=void 0,u=!1;const t=_B(n,v,e);return oL(t,e.readEmitHelpers()),u&&(VA(t,32),u=!1),t}));function _(){switch(s=void 0,c=void 0,l=void 0,null==o?void 0:o.kind){case"class":s=o.classInfo;break;case"class-element":s=o.next.classInfo,c=o.classThis,l=o.classSuper;break;case"name":const e=o.next.next.next;"class-element"===(null==e?void 0:e.kind)&&(s=e.next.classInfo,c=e.classThis,l=e.classSuper)}}function p(e){o={kind:"class",next:o,classInfo:e,savedPendingExpressions:d},d=void 0,_()}function f(){Nt.assert("class"===(null==o?void 0:o.kind),"Incorrect value for top.kind.",(()=>`Expected top.kind to be 'class' but got '${null==o?void 0:o.kind}' instead.`)),d=o.savedPendingExpressions,o=o.next,_()}function m(e){var n,t;Nt.assert("class"===(null==o?void 0:o.kind),"Incorrect value for top.kind.",(()=>`Expected top.kind to be 'class' but got '${null==o?void 0:o.kind}' instead.`)),o={kind:"class-element",next:o},(XC(e)||qC(e)&&_b(e))&&(o.classThis=null==(n=o.next.classInfo)?void 0:n.classThis,o.classSuper=null==(t=o.next.classInfo)?void 0:t.classSuper),_()}function h(){var e;Nt.assert("class-element"===(null==o?void 0:o.kind),"Incorrect value for top.kind.",(()=>`Expected top.kind to be 'class-element' but got '${null==o?void 0:o.kind}' instead.`)),Nt.assert("class"===(null==(e=o.next)?void 0:e.kind),"Incorrect value for top.next.kind.",(()=>{var e;return`Expected top.next.kind to be 'class' but got '${null==(e=o.next)?void 0:e.kind}' instead.`})),o=o.next,_()}function g(){Nt.assert("class-element"===(null==o?void 0:o.kind),"Incorrect value for top.kind.",(()=>`Expected top.kind to be 'class-element' but got '${null==o?void 0:o.kind}' instead.`)),o={kind:"name",next:o},_()}function y(){Nt.assert("name"===(null==o?void 0:o.kind),"Incorrect value for top.kind.",(()=>`Expected top.kind to be 'name' but got '${null==o?void 0:o.kind}' instead.`)),o=o.next,_()}function v(t){if(!function(e){return!!(33554432&e.transformFlags)||!!c&&!!(16384&e.transformFlags)||!!c&&!!l&&!!(134217728&e.transformFlags)}(t))return t;switch(t.kind){case 167:return Nt.fail("Use `modifierVisitor` instead.");case 260:return function(e){var t;if(k(e)){if(db(e,1)&&db(e,1024)){const r=null!=(t=wc(e,Dd))?t:e,i=C(e,r.name?n.createStringLiteralFromNode(r.name):n.createStringLiteral("default")),a=n.createExportDefault(i);return DA(a,e),XA(a,JA(e)),HA(a,_E(e)),a}{Nt.assertIsDefined(e.name,"A class declaration that is not a default export must have a name.");const t=C(e,n.createStringLiteralFromNode(e.name)),r=rB(e.modifiers,E,Ed),i=n.createVariableDeclaration(e.name,void 0,void 0,t),a=n.createVariableDeclarationList([i],1),o=n.createVariableStatement(r,a);return DA(o,e),XA(o,JA(e)),o}}{const t=rB(e.modifiers,E,Ed),r=rB(e.heritageClauses,v,yw);p(void 0);const i=rB(e.members,T,Nd);return f(),n.updateClassDeclaration(e,t,e.name,void 0,r,i)}}(t);case 228:return I(t,void 0);case 173:case 169:case 172:return Nt.fail("Not supported outside of a class. Use 'classElementVisitor' instead.");case 166:return function(e){let t;if(jy(e,D)){const r=ie(e.name,e.initializer),i=tB(e.name,v,Sd),a=tB(e.initializer,(e=>x(e,r)),uu);t=n.updateParameterDeclaration(e,void 0,void 0,i,void 0,void 0,a)}else t=n.updateParameterDeclaration(e,void 0,e.dotDotDotToken,tB(e.name,v,Sd),void 0,void 0,tB(e.initializer,v,uu));return t!==e&&(XA(t,e),MN(t,pE(e)),HA(t,pE(e)),GA(t.name,64)),t}(t);case 223:return O(t,!1);case 299:return function(t){if(jy(t,D)){const{referencedName:e,name:r}=F(t.name),i=tB(t.initializer,(n=>x(n,e)),uu);return n.updatePropertyAssignment(t,r,i)}return _B(t,v,e)}(t);case 257:return function(t){if(jy(t,D)){const e=ie(t.name,t.initializer),r=tB(t.name,v,Sd),i=tB(t.initializer,(n=>x(n,e)),uu);return n.updateVariableDeclaration(t,r,void 0,void 0,i)}return _B(t,v,e)}(t);case 205:return function(t){if(jy(t,D)){const e=ie(t.name,t.initializer),r=tB(t.propertyName,v,xd),i=tB(t.name,v,Sd),a=tB(t.initializer,(n=>x(n,e)),uu);return n.updateBindingElement(t,void 0,r,i,a)}return _B(t,v,e)}(t);case 274:return function(t){if(jy(t,D)){const e=n.createStringLiteral(t.isExportEquals?"":"default"),r=rB(t.modifiers,E,Ed),i=tB(t.expression,(n=>x(n,e)),uu);return n.updateExportAssignment(t,r,i)}return _B(t,v,e)}(t);case 108:return function(e){return null!=c?c:e}(t);case 245:return function(t){return n.updateForStatement(t,tB(t.initializer,S,Tu),tB(t.condition,v,uu),tB(t.incrementor,S,uu),dB(t.statement,v,e))}(t);case 241:return function(n){return _B(n,S,e)}(t);case 357:return P(t,!1);case 214:return q(t,!1,void 0);case 356:return z(t,!1,void 0);case 210:return function(t){if(nh(t.expression)&&c){const e=tB(t.expression,v,uu),r=rB(t.arguments,v,uu),i=n.createFunctionCallCall(e,c,r);return DA(i,t),MN(i,t),i}return _B(t,v,e)}(t);case 212:return function(t){if(nh(t.tag)&&c){const e=tB(t.tag,v,uu),r=n.createFunctionBindCall(e,c,[]);DA(r,t),MN(r,t);const i=tB(t.template,v,iu);return n.updateTaggedTemplateExpression(t,r,void 0,i)}return _B(t,v,e)}(t);case 221:case 222:return M(t,!1);case 208:return function(t){if(nh(t)&&AC(t.name)&&c&&l){const e=n.createStringLiteralFromNode(t.name),r=n.createReflectGetCall(l,e,c);return DA(r,t.expression),MN(r,t.expression),r}return _B(t,v,e)}(t);case 209:return function(t){if(nh(t)&&c&&l){const e=tB(t.argumentExpression,v,uu),r=n.createReflectGetCall(l,e,c);return DA(r,t.expression),MN(r,t.expression),r}return _B(t,v,e)}(t);case 164:return B(t);case 171:case 175:case 174:case 215:case 259:{"other"===(null==o?void 0:o.kind)?(Nt.assert(!d),o.depth++):(o={kind:"other",next:o,depth:0,savedPendingExpressions:d},d=void 0,_());const n=_B(t,b,e);return Nt.assert("other"===(null==o?void 0:o.kind),"Incorrect value for top.kind.",(()=>`Expected top.kind to be 'other' but got '${null==o?void 0:o.kind}' instead.`)),o.depth>0?(Nt.assert(!d),o.depth--):(d=o.savedPendingExpressions,o=o.next,_()),n}default:return _B(t,b,e)}}function b(e){if(167!==e.kind)return v(e)}function E(e){if(167!==e.kind)return e}function T(o){switch(o.kind){case 173:return function(e){m(e);const t=rB(e.modifiers,E,Ed),r=rB(e.parameters,v,HC);let i;if(e.body&&s){const t=w(s.class,s);if(t){const r=[],a=n.copyPrologue(e.body.statements,r,!1,v),o=YB(e.body.statements,a),s=o>=0?o+1:void 0;Ae(r,rB(e.body.statements,v,Mu,a,s?s-a:void 0)),Ae(r,t),Ae(r,rB(e.body.statements,v,Mu,s)),i=n.createBlock(r,!0),DA(i,e.body),MN(i,e.body)}}return null!=i||(i=tB(e.body,v,lI)),h(),n.updateConstructorDeclaration(e,t,r,i)}(o);case 171:return function(e){m(e);const{modifiers:t,name:r,descriptorName:i}=N(e,!1,s,Q);if(i)return h(),R(function(e,t,r){return e=rB(e,(e=>DC(e)?e:void 0),Ed),n.createGetAccessorDeclaration(e,t,[],void 0,n.createBlock([n.createReturnStatement(n.createPropertyAccessExpression(r,n.createIdentifier("value")))]))}(t,r,i),e);{const i=rB(e.parameters,v,HC),a=tB(e.body,v,lI);return h(),R(n.updateMethodDeclaration(e,t,e.asteriskToken,r,void 0,void 0,i,void 0,a),e)}}(o);case 174:return function(e){m(e);const{modifiers:t,name:r,descriptorName:i}=N(e,!1,s,Z);if(i)return h(),R(te(t,r,i),e);{const i=rB(e.parameters,v,HC),a=tB(e.body,v,lI);return h(),R(n.updateGetAccessorDeclaration(e,t,r,i,void 0,a),e)}}(o);case 175:return function(e){m(e);const{modifiers:t,name:r,descriptorName:i}=N(e,!1,s,ee);if(i)return h(),R(re(t,r,i),e);{const i=rB(e.parameters,v,HC),a=tB(e.body,v,lI);return h(),R(n.updateSetAccessorDeclaration(e,t,r,i,a),e)}}(o);case 169:return function(e){m(e),Nt.assert(!Lf(e),"Not yet implemented.");const o=jy(e,D),{modifiers:c,name:l,referencedName:d,initializersName:u,descriptorName:_,thisArg:p}=N(e,o,s,hb(e)?ne:void 0);r();let f=tB(e.initializer,d?e=>x(e,d):v,uu);u&&(f=t().createRunInitializersHelper(null!=p?p:n.createThis(),u,null!=f?f:n.createVoidZero())),ub(e)||!(null==s?void 0:s.instanceExtraInitializersName)||(null==s?void 0:s.hasInjectedInstanceInitializers)||(s.hasInjectedInstanceInitializers=!0,null!=f||(f=n.createVoidZero()),f=n.createParenthesizedExpression(n.createComma(t().createRunInitializersHelper(n.createThis(),s.instanceExtraInitializersName),f))),ub(e)&&s&&f&&(s.hasStaticInitializers=!0);const g=i();if(ce(g)&&(f=n.createImmediatelyInvokedArrowFunction([...g,n.createReturnStatement(f)])),h(),hb(e)&&_){const t=JA(e),r=jA(e),i=e.name;let o=i,s=i;if(VC(i)&&!qB(i.expression)){const e=wN(i);if(e)o=n.updateComputedPropertyName(i,tB(i.expression,v,uu)),s=n.updateComputedPropertyName(i,e.left);else{const e=n.createTempVariable(a);HA(e,i.expression);const t=tB(i.expression,v,uu),r=n.createAssignment(e,t);HA(r,i.expression),o=n.updateComputedPropertyName(i,r),s=n.updateComputedPropertyName(i,e)}}const l=rB(c,(e=>127!==e.kind?e:void 0),Ed),d=CN(n,e,l,f);DA(d,e),GA(d,3072),HA(d,r),HA(d.name,e.name);const u=te(l,o,_);DA(u,e),XA(u,t),HA(u,r);const p=re(l,s,_);return DA(p,e),GA(p,3072),HA(p,r),[d,u,p]}return R(n.updatePropertyDeclaration(e,c,l,void 0,void 0,f),e)}(o);case 172:return function(n){m(n),s&&(s.hasStaticInitializers=!0);const t=_B(n,v,e);return h(),t}(o);default:return v(o)}}function x(e,n){switch(e.kind){case 356:return z(e,!1,n);case 214:return q(e,!1,n);case 228:return I(e,n);default:return v(e)}}function S(e){switch(e.kind){case 221:case 222:return M(e,!0);case 223:return O(e,!0);case 357:return P(e,!0);case 214:return q(e,!0,void 0);default:return v(e)}}function A(e,t){return n.createUniqueName(`${function(e){let n=e.name&&AC(e.name)&&!fd(e.name)?Pc(e.name):e.name&&LC(e.name)&&!fd(e.name)?Pc(e.name).slice(1):e.name&&cC(e.name)&&Ks(e.name.text,99)?e.name.text:Dd(e)?"class":"member";return Ju(e)&&(n=`get_${n}`),zu(e)&&(n=`set_${n}`),e.name&&LC(e.name)&&(n=`private_${n}`),ub(e)&&(n=`static_${n}`),"_"+n}(e)}_${t}`,24)}function L(e,t){return n.createVariableStatement(void 0,n.createVariableDeclarationList([n.createVariableDeclaration(e,void 0,void 0,t)],1))}function C(a,o){var s,c,l,_,m;r();const h=null!=(s=a.name)?s:n.getGeneratedNameForNode(a),g=function(e){let t,r,i=!1,a=!1,o=!1;for(const s of e.members)if(Fd(s)&&lh(!1,s,e)&&(_b(s)?null!=r||(r=n.createUniqueName("_staticExtraInitializers",16)):null!=t||(t=n.createUniqueName("_instanceExtraInitializers",16))),XC(s)?i=!0:qC(s)&&(_b(s)?i||(i=!!s.initializer||yb(s)):a||(a=!Lf(s))),(hd(s)||Md(s))&&_b(s)&&(o=!0),r&&t&&i&&a&&o)break;return{class:e,instanceExtraInitializersName:t,staticExtraInitializersName:r,hasStaticInitializers:i,hasNonAmbientInstanceFields:a,hasStaticPrivateClassElements:o}}(a),y=[];let b,E,x,S,A=!1;const C=X(rU(a));if(C&&(g.classDecoratorsName=n.createUniqueName("_classDecorators",16),g.classDescriptorName=n.createUniqueName("_classDescriptor",16),g.classExtraInitializersName=n.createUniqueName("_classExtraInitializers",16),g.classThis=n.createUniqueName("_classThis",16),y.push(L(g.classDecoratorsName,n.createArrayLiteralExpression(C)),L(g.classDescriptorName),L(g.classExtraInitializersName,n.createArrayLiteralExpression()),L(g.classThis)),g.hasStaticPrivateClassElements&&(A=!0,u=!0)),C&&function(e){for(const n of e.members)if((XC(n)||qC(n)&&_b(n))&&134217728&n.transformFlags)return!0;return!1}(a)){const e=fy(a.heritageClauses,94),t=e&&De(e.types),r=t&&tB(t.expression,v,uu);if(r){g.classSuper=n.createUniqueName("_classSuper",16);const i=HR(r),a=$k(i)&&!i.name||Gk(i)&&!i.name||Bk(i)?n.createComma(n.createNumericLiteral(0),r):r;y.push(L(g.classSuper,a));const o=n.updateExpressionWithTypeArguments(t,g.classSuper,void 0),s=n.updateHeritageClause(e,[o]);S=n.createNodeArray([s])}}else S=rB(a.heritageClauses,v,yw);const k=null!=(c=g.classThis)?c:n.createThis();if(!(null==(l=wc(a,Dd))?void 0:l.name)&&(C||!cC(o)||!ph(o))){const e=t().createSetFunctionNameHelper(n.createThis(),o);b=Te(b,n.createExpressionStatement(e))}p(g);let I=rB(a.members,T,Nd);if(d){let t;for(let r of d)r=tB(r,(function r(i){return 16384&i.transformFlags?108===i.kind?(t||(t=n.createUniqueName("_outerThis",16),y.unshift(L(t,n.createThis()))),t):_B(i,r,e):i}),uu),b=Te(b,n.createExpressionStatement(r));d=void 0}if(f(),g.instanceExtraInitializersName&&!Bv(a)){const e=w(0,g);if(e){const t=ly(a),r=[];if(t&&104!==HR(t.expression).kind){const e=n.createSpreadElement(n.createIdentifier("arguments")),t=n.createCallExpression(n.createSuper(),void 0,[e]);r.push(n.createExpressionStatement(t))}Ae(r,e);const i=n.createBlock(r,!0);x=n.createConstructorDeclaration(void 0,[],i)}}if(g.staticExtraInitializersName&&y.push(L(g.staticExtraInitializersName,n.createArrayLiteralExpression())),g.instanceExtraInitializersName&&y.push(L(g.instanceExtraInitializersName,n.createArrayLiteralExpression())),g.memberInfos&&pp(g.memberInfos,((e,t)=>{ub(t)&&(y.push(L(e.memberDecoratorsName)),e.memberInitializersName&&y.push(L(e.memberInitializersName,n.createArrayLiteralExpression())),e.memberDescriptorName&&y.push(L(e.memberDescriptorName)))})),g.memberInfos&&pp(g.memberInfos,((e,t)=>{ub(t)||(y.push(L(e.memberDecoratorsName)),e.memberInitializersName&&y.push(L(e.memberInitializersName,n.createArrayLiteralExpression())),e.memberDescriptorName&&y.push(L(e.memberDescriptorName)))})),b=Ae(b,g.staticNonFieldDecorationStatements),b=Ae(b,g.nonStaticNonFieldDecorationStatements),b=Ae(b,g.staticFieldDecorationStatements),b=Ae(b,g.nonStaticFieldDecorationStatements),g.classDescriptorName&&g.classDecoratorsName&&g.classExtraInitializersName&&g.classThis){null!=b||(b=[]);const e=n.createPropertyAssignment("value",n.createThis()),r=n.createObjectLiteralExpression([e]),i=n.createAssignment(g.classDescriptorName,r),o=n.createPropertyAccessExpression(n.createThis(),"name"),s=t().createESDecorateHelper(n.createNull(),i,g.classDecoratorsName,{kind:"class",name:o},n.createNull(),g.classExtraInitializersName),c=n.createExpressionStatement(s);HA(c,_E(a)),b.push(c);const l=n.createPropertyAccessExpression(g.classDescriptorName,"value"),d=n.createAssignment(g.classThis,l),u=n.createAssignment(h,d);b.push(n.createExpressionStatement(u))}if(g.staticExtraInitializersName){const e=t().createRunInitializersHelper(k,g.staticExtraInitializersName),r=n.createExpressionStatement(e);HA(r,null!=(_=a.name)?_:_E(a)),b=Te(b,r)}if(g.classExtraInitializersName){const e=t().createRunInitializersHelper(k,g.classExtraInitializersName),r=n.createExpressionStatement(e);HA(r,null!=(m=a.name)?m:_E(a)),E=Te(E,r)}b&&E&&!g.hasStaticInitializers&&(Ae(b,E),E=void 0);let R=I;if(b){const e=n.createBlock(b,!0),t=n.createClassStaticBlockDeclaration(e);A&&UA(t,32),R=[t,...R]}if(x&&(R=[...R,x]),E){const e=n.createBlock(E,!0),t=n.createClassStaticBlockDeclaration(e);R=[...R,t]}R!==I&&(I=MN(n.createNodeArray(R),I));const N=i();let D;if(C){D=n.createClassExpression(void 0,void 0,void 0,S,I);const e=n.createVariableDeclaration(h,void 0,void 0,D),t=n.createVariableDeclarationList([e]),r=g.classThis?n.createAssignment(h,g.classThis):h;y.push(n.createVariableStatement(void 0,t),n.createReturnStatement(r))}else D=n.createClassExpression(void 0,a.name,void 0,S,I),y.push(n.createReturnStatement(D));if(A){VA(D,32);for(const e of D.members)(hd(e)||Md(e))&&_b(e)&&VA(e,32)}return DA(D,a),MA(D).classThis=g.classThis,n.createImmediatelyInvokedArrowFunction(n.mergeLexicalEnvironment(y,N))}function k(e){return uh(!1,e)||dh(!1,e)}function I(e,t){if(k(e)){const r=C(e,e.name?n.createStringLiteralFromNode(e.name):null!=t?t:n.createStringLiteral(""));return DA(r,e),r}{const t=rB(e.modifiers,E,Ed),r=rB(e.heritageClauses,v,yw);p(void 0);const i=rB(e.members,T,Nd);return f(),n.updateClassExpression(e,t,e.name,void 0,r,i)}}function w(e,r){if(r.instanceExtraInitializersName&&!r.hasNonAmbientInstanceFields){const e=[];return e.push(n.createExpressionStatement(t().createRunInitializersHelper(n.createThis(),r.instanceExtraInitializersName))),e}}function R(e,n){return e!==n&&(XA(e,n),HA(e,_E(n))),e}function N(e,r,i,a){var o,s,c,l,u,_,p;let f,m,h,v,b;if(!i){const n=rB(e.modifiers,E,Ed);return g(),r?({referencedName:f,name:m}=F(e.name)):m=G(e.name),y(),{modifiers:n,referencedName:f,name:m,initializersName:h,descriptorName:b,thisArg:v}}const T=X(iU(e,i.class,!1)),x=rB(e.modifiers,E,Ed);if(T){const r=A(e,"decorators"),E=n.createArrayLiteralExpression(T),S=n.createAssignment(r,E),L={memberDecoratorsName:r};null!=i.memberInfos||(i.memberInfos=new Map),i.memberInfos.set(e,L),null!=d||(d=[]),d.push(S);const C=Pd(e)||Md(e)?ub(e)?null!=(o=i.staticNonFieldDecorationStatements)?o:i.staticNonFieldDecorationStatements=[]:null!=(s=i.nonStaticNonFieldDecorationStatements)?s:i.nonStaticNonFieldDecorationStatements=[]:qC(e)&&!Md(e)?ub(e)?null!=(c=i.staticFieldDecorationStatements)?c:i.staticFieldDecorationStatements=[]:null!=(l=i.nonStaticFieldDecorationStatements)?l:i.nonStaticFieldDecorationStatements=[]:Nt.fail(),k=$C(e)?"getter":QC(e)?"setter":JC(e)?"method":Md(e)?"accessor":qC(e)?"field":Nt.fail();let I;if(AC(e.name)||LC(e.name))I={computed:!1,name:e.name};else if(Ry(e.name))I={computed:!0,name:n.createStringLiteralFromNode(e.name)};else{const t=e.name.expression;Ry(t)&&!AC(t)?I={computed:!0,name:n.createStringLiteralFromNode(t)}:(g(),({referencedName:f,name:m}=F(e.name)),I={computed:!0,name:f},y())}const w={kind:k,name:I,static:ub(e),private:LC(e.name),access:{get:qC(e)||$C(e)||JC(e),set:qC(e)||QC(e)}},R=ub(e)?null!=(u=i.staticExtraInitializersName)?u:i.staticExtraInitializersName=n.createUniqueName("_staticExtraInitializers",16):null!=(_=i.instanceExtraInitializersName)?_:i.instanceExtraInitializersName=n.createUniqueName("_instanceExtraInitializers",16);if(Pd(e)){let i;hd(e)&&a&&(i=a(e,rB(x,(e=>En(e,IC)),Ed)),L.memberDescriptorName=b=A(e,"descriptor"),i=n.createAssignment(b,i));const o=t().createESDecorateHelper(n.createThis(),null!=i?i:n.createNull(),r,w,n.createNull(),R),s=n.createExpressionStatement(o);HA(s,_E(e)),C.push(s)}else if(qC(e)){let o;h=null!=(p=L.memberInitializersName)?p:L.memberInitializersName=A(e,"initializers"),ub(e)&&(v=i.classThis),hd(e)&&hb(e)&&a&&(o=a(e,void 0),L.memberDescriptorName=b=A(e,"descriptor"),o=n.createAssignment(b,o));const s=t().createESDecorateHelper(Md(e)?n.createThis():n.createNull(),null!=o?o:n.createNull(),r,w,h,R),c=n.createExpressionStatement(s);HA(c,_E(e)),C.push(c)}}return void 0===m&&(g(),r?({referencedName:f,name:m}=F(e.name)):m=G(e.name),y()),ce(x)||!JC(e)&&!qC(e)||GA(m,1024),{modifiers:x,referencedName:f,name:m,initializersName:h,descriptorName:b,thisArg:v}}function D(e){return $k(e)&&!e.name&&k(e)}function O(t,r){if(Vb(t)){const e=K(t.left),r=tB(t.right,v,uu);return n.updateBinaryExpression(t,e,t.operatorToken,r)}if(Bb(t)){if(jy(t,D)){const e=ie(t.left,t.right),r=tB(t.left,v,uu),i=tB(t.right,(n=>x(n,e)),uu);return n.updateBinaryExpression(t,r,t.operatorToken,i)}if(nh(t.left)&&c&&l){let e=Nk(t.left)?tB(t.left.argumentExpression,v,uu):AC(t.left.name)?n.createStringLiteralFromNode(t.left.name):void 0;if(e){let i=tB(t.right,v,uu);if(zB(t.operatorToken.kind)){let r=e;qB(e)||(r=n.createTempVariable(a),e=n.createAssignment(r,e));const o=n.createReflectGetCall(l,r,c);DA(o,t.left),MN(o,t.left),i=n.createBinaryExpression(o,JB(t.operatorToken.kind),i),MN(i,t)}const o=r?void 0:n.createTempVariable(a);return o&&(i=n.createAssignment(o,i),MN(o,t)),i=n.createReflectSetCall(l,e,i,c),DA(i,t),MN(i,t),o&&(i=n.createComma(i,o),MN(i,t)),i}}}if(27===t.operatorToken.kind){const e=tB(t.left,S,uu),i=tB(t.right,r?S:v,uu);return n.updateBinaryExpression(t,e,t.operatorToken,i)}return _B(t,v,e)}function M(t,r){if(45===t.operator||46===t.operator){const e=Yg(t.operand);if(nh(e)&&c&&l){let i=Nk(e)?tB(e.argumentExpression,v,uu):AC(e.name)?n.createStringLiteralFromNode(e.name):void 0;if(i){let e=i;qB(i)||(e=n.createTempVariable(a),i=n.createAssignment(e,i));let o=n.createReflectGetCall(l,e,c);DA(o,t),MN(o,t);const s=r?void 0:n.createTempVariable(a);return o=RR(n,t,o,a,s),o=n.createReflectSetCall(l,i,o,c),DA(o,t),MN(o,t),s&&(o=n.createComma(o,s),MN(o,t)),o}}}return _B(t,v,e)}function P(e,t){const r=t?uB(e.elements,S):uB(e.elements,v,S);return n.updateCommaListExpression(e,r)}function F(e){if(Ry(e)||LC(e))return{referencedName:n.createStringLiteralFromNode(e),name:tB(e,v,xd)};if(Ry(e.expression)&&!AC(e.expression))return{referencedName:n.createStringLiteralFromNode(e.expression),name:tB(e,v,xd)};const r=n.getGeneratedNameForNode(e);a(r);const i=t().createPropKeyHelper(tB(e.expression,v,uu)),o=n.createAssignment(r,i);return{referencedName:r,name:n.updateComputedPropertyName(e,J(o))}}function G(e){return VC(e)?B(e):tB(e,v,xd)}function B(e){let t=tB(e.expression,v,uu);return qB(t)||(t=J(t)),n.updateComputedPropertyName(e,t)}function U(t){if(wk(t)||Ik(t))return K(t);if(nh(t)&&c&&l){const e=Nk(t)?tB(t.argumentExpression,v,uu):AC(t.name)?n.createStringLiteralFromNode(t.name):void 0;if(e){const r=n.createTempVariable(void 0),i=n.createAssignmentTargetWrapper(r,n.createReflectSetCall(l,e,r,c));return DA(i,t),MN(i,t),i}}return _B(t,v,e)}function V(e){if(Bb(e,!0)){const t=U(e.left);let r;if(jy(e,D)){const n=ie(e.left,e.right);r=tB(e.right,(e=>x(e,n)),uu)}else r=tB(e.right,v,uu);return n.updateBinaryExpression(e,t,e.operatorToken,r)}return U(e)}function j(t){return Nt.assertNode(t,Zd),Yk(t)?function(t){if(au(t.expression)){const e=U(t.expression);return n.updateSpreadElement(t,e)}return _B(t,v,e)}(t):Qk(t)?_B(t,v,e):V(t)}function H(t){return Nt.assertNode(t,$d),Tw(t)?function(t){if(au(t.expression)){const e=U(t.expression);return n.updateSpreadAssignment(t,e)}return _B(t,v,e)}(t):Ew(t)?function(t){if(jy(t,D)){const e=ie(t.name,t.objectAssignmentInitializer),r=tB(t.name,v,AC),i=tB(t.objectAssignmentInitializer,(n=>x(n,e)),uu);return n.updateShorthandPropertyAssignment(t,r,i)}return _B(t,v,e)}(t):bw(t)?function(t){const r=tB(t.name,v,xd);if(Bb(t.initializer,!0)){const e=V(t.initializer);return n.updatePropertyAssignment(t,r,e)}if(au(t.initializer)){const e=U(t.initializer);return n.updatePropertyAssignment(t,r,e)}return _B(t,v,e)}(t):_B(t,v,e)}function K(e){if(Ik(e)){const t=rB(e.elements,j,uu);return n.updateArrayLiteralExpression(e,t)}{const t=rB(e.properties,H,Vd);return n.updateObjectLiteralExpression(e,t)}}function q(e,t,r){const i=t?S:r?e=>x(e,r):v,a=tB(e.expression,i,uu);return n.updateParenthesizedExpression(e,a)}function z(e,t,r){const i=t?S:r?e=>x(e,r):v,a=tB(e.expression,i,uu);return n.updatePartiallyEmittedExpression(e,a)}function J(e){return ce(d)&&(Fk(e)?(d.push(e.expression),e=n.updateParenthesizedExpression(e,n.inlineExpressions(d))):(d.push(e),e=n.inlineExpressions(d)),d=void 0),e}function X(e){if(!e)return;const n=[];return Ae(n,W(e.decorators,Y)),n}function Y(e){const n=tB(e.expression,v,uu);return GA(n,3072),n}function $(e,r,i,a,o,s,c){const l=n.createFunctionExpression(i,a,void 0,void 0,s,void 0,null!=c?c:n.createBlock([]));DA(l,e),HA(l,_E(e)),GA(l,3072);const d="get"===o||"set"===o?o:void 0,u=n.createStringLiteralFromNode(r,void 0),_=t().createSetFunctionNameHelper(l,u,d),p=n.createPropertyAssignment(n.createIdentifier(o),_);return DA(p,e),HA(p,_E(e)),GA(p,3072),p}function Q(e,t){return n.createObjectLiteralExpression([$(e,e.name,t,e.asteriskToken,"value",rB(e.parameters,v,HC),tB(e.body,v,lI))])}function Z(e,t){return n.createObjectLiteralExpression([$(e,e.name,t,void 0,"get",[],tB(e.body,v,lI))])}function ee(e,t){return n.createObjectLiteralExpression([$(e,e.name,t,void 0,"set",rB(e.parameters,v,HC),tB(e.body,v,lI))])}function ne(e,t){return n.createObjectLiteralExpression([$(e,e.name,t,void 0,"get",[],n.createBlock([n.createReturnStatement(n.createPropertyAccessExpression(n.createThis(),n.getGeneratedPrivateNameForNode(e.name)))])),$(e,e.name,t,void 0,"set",[n.createParameterDeclaration(void 0,void 0,"value")],n.createBlock([n.createExpressionStatement(n.createAssignment(n.createPropertyAccessExpression(n.createThis(),n.getGeneratedPrivateNameForNode(e.name)),n.createIdentifier("value")))]))])}function te(e,t,r){return e=rB(e,(e=>DC(e)?e:void 0),Ed),n.createGetAccessorDeclaration(e,t,[],void 0,n.createBlock([n.createReturnStatement(n.createFunctionCallCall(n.createPropertyAccessExpression(r,n.createIdentifier("get")),n.createThis(),[]))]))}function re(e,t,r){return e=rB(e,(e=>DC(e)?e:void 0),Ed),n.createSetAccessorDeclaration(e,t,[n.createParameterDeclaration(void 0,void 0,"value")],n.createBlock([n.createReturnStatement(n.createFunctionCallCall(n.createPropertyAccessExpression(r,n.createIdentifier("set")),n.createThis(),[n.createIdentifier("value")]))]))}function ie(e,t){const r=wc(t,Dd);return r&&!r.name&&db(r,1024)?n.createStringLiteral("default"):n.createStringLiteralFromNode(e)}}var GU=E({"src/compiler/transformers/esDecorators.ts"(){Qq()}});function BU(e){const{factory:n,getEmitHelperFactory:t,resumeLexicalEnvironment:r,endLexicalEnvironment:i,hoistVariableDeclaration:a}=e,o=e.getEmitResolver(),s=e.getCompilerOptions(),c=BT(s);let l,d,u,_,p=0;const f=[];let m=0;const h=e.onEmitNode,g=e.onSubstituteNode;return e.onEmitNode=function(e,n,t){if(1&l&&function(e){const n=e.kind;return 260===n||173===n||171===n||174===n||175===n}(n)){const r=384&o.getNodeCheckFlags(n);if(r!==p){const i=p;return p=r,h(e,n,t),void(p=i)}}else if(l&&f[KG(n)]){const r=p;return p=0,h(e,n,t),void(p=r)}h(e,n,t)},e.onSubstituteNode=function(e,t){return t=g(e,t),1===e&&p?function(e){switch(e.kind){case 208:return H(e);case 209:return K(e);case 210:return function(e){const t=e.expression;if(nh(t)){const r=Rk(t)?H(t):K(t);return n.createCallExpression(n.createPropertyAccessExpression(r,"call"),void 0,[n.createThis(),...e.arguments])}return e}(e)}return e}(t):t},GB(e,(function(n){if(n.isDeclarationFile)return n;y(1,!1),y(2,!Af(n,s));const t=_B(n,x,e);return oL(t,e.readEmitHelpers()),t}));function y(e,n){m=n?m|e:m&~e}function v(e){return 0!=(m&e)}function b(){return v(2)}function E(e,n,t){const r=e&~m;if(r){y(r,!0);const e=n(t);return y(r,!1),e}return n(t)}function T(n){return _B(n,x,e)}function x(t){if(0==(256&t.transformFlags))return t;switch(t.kind){case 132:return;case 220:return function(t){return v(1)?DA(MN(n.createYieldExpression(void 0,tB(t.expression,x,uu)),t),t):_B(t,x,e)}(t);case 171:return E(3,C,t);case 259:return E(3,w,t);case 215:return E(3,R,t);case 216:return E(1,N,t);case 208:return u&&Rk(t)&&106===t.expression.kind&&u.add(t.name.escapedText),_B(t,x,e);case 209:return u&&106===t.expression.kind&&(_=!0),_B(t,x,e);case 174:return E(3,k,t);case 175:return E(3,I,t);case 173:return E(3,L,t);case 260:case 228:return E(3,T,t);default:return _B(t,x,e)}}function S(t){if(Hg(t))switch(t.kind){case 240:return function(t){if(O(t.declarationList)){const e=M(t.declarationList,!1);return e?n.createExpressionStatement(e):void 0}return _B(t,x,e)}(t);case 245:return function(t){const r=t.initializer;return n.updateForStatement(t,O(r)?M(r,!1):tB(t.initializer,x,Tu),tB(t.condition,x,uu),tB(t.incrementor,x,uu),dB(t.statement,S,e))}(t);case 246:return function(t){return n.updateForInStatement(t,O(t.initializer)?M(t.initializer,!0):Nt.checkDefined(tB(t.initializer,x,Tu)),Nt.checkDefined(tB(t.expression,x,uu)),dB(t.statement,S,e))}(t);case 247:return function(t){return n.updateForOfStatement(t,tB(t.awaitModifier,x,RC),O(t.initializer)?M(t.initializer,!0):Nt.checkDefined(tB(t.initializer,x,Tu)),Nt.checkDefined(tB(t.expression,x,uu)),dB(t.statement,S,e))}(t);case 295:return function(n){const t=new Set;let r;if(D(n.variableDeclaration,t),t.forEach(((e,n)=>{d.has(n)&&(r||(r=new Set(d)),r.delete(n))})),r){const t=d;d=r;const i=_B(n,S,e);return d=t,i}return _B(n,S,e)}(t);case 238:case 252:case 266:case 292:case 293:case 255:case 243:case 244:case 242:case 251:case 253:return _B(t,S,e);default:return Nt.assertNever(t,"Unhandled node.")}return x(t)}function L(t){return n.updateConstructorDeclaration(t,rB(t.modifiers,x,Ed),sB(t.parameters,x,e),B(t))}function C(t){return n.updateMethodDeclaration(t,rB(t.modifiers,x,Gd),t.asteriskToken,t.name,void 0,void 0,sB(t.parameters,x,e),void 0,2&Sy(t)?U(t):B(t))}function k(t){return n.updateGetAccessorDeclaration(t,rB(t.modifiers,x,Gd),t.name,sB(t.parameters,x,e),void 0,B(t))}function I(t){return n.updateSetAccessorDeclaration(t,rB(t.modifiers,x,Gd),t.name,sB(t.parameters,x,e),B(t))}function w(t){return n.updateFunctionDeclaration(t,rB(t.modifiers,x,Gd),t.asteriskToken,t.name,void 0,sB(t.parameters,x,e),void 0,2&Sy(t)?U(t):lB(t.body,x,e))}function R(t){return n.updateFunctionExpression(t,rB(t.modifiers,x,Ed),t.asteriskToken,t.name,void 0,sB(t.parameters,x,e),void 0,2&Sy(t)?U(t):lB(t.body,x,e))}function N(t){return n.updateArrowFunction(t,rB(t.modifiers,x,Ed),void 0,sB(t.parameters,x,e),void 0,t.equalsGreaterThanToken,2&Sy(t)?U(t):lB(t.body,x,e))}function D({name:e},n){if(AC(e))n.add(e.escapedText);else for(const t of e.elements)Qk(t)||D(t,n)}function O(e){return!!e&&II(e)&&!(3&e.flags)&&e.declarations.some(G)}function M(e,t){!function(e){A(e.declarations,P)}(e);const r=IE(e);return 0===r.length?t?tB(n.converters.convertToAssignmentElementTarget(e.declarations[0].name),x,uu):void 0:n.inlineExpressions(W(r,F))}function P({name:e}){if(AC(e))a(e);else for(const n of e.elements)Qk(n)||P(n)}function F(e){const t=HA(n.createAssignment(n.converters.convertToAssignmentElementTarget(e.name),e.initializer),e);return Nt.checkDefined(tB(t,x,uu))}function G({name:e}){if(AC(e))return d.has(e.escapedText);for(const n of e.elements)if(!Qk(n)&&G(n))return!0;return!1}function B(t){Nt.assertIsDefined(t.body);const r=u,i=_;u=new Set,_=!1;let a=lB(t.body,x,e);const s=wc(t,Cd);if(c>=2&&384&o.getNodeCheckFlags(t)&&3!=(3&Sy(s))){if(j(),u.size){const e=UU(n,o,t,u);f[KG(e)]=!0;const r=a.statements.slice();Kp(r,[e]),a=n.updateBlock(a,r)}_&&(256&o.getNodeCheckFlags(t)?aL(a,QL):128&o.getNodeCheckFlags(t)&&aL(a,$L))}return u=r,_=i,a}function U(e){r();const a=wc(e,Ad).type,s=c<2?function(e){const n=e&&ah(e);if(n&&Td(n)){const e=o.getTypeReferenceSerializationKind(n);if(1===e||0===e)return n}}(a):void 0,l=216===e.kind,p=0!=(512&o.getNodeCheckFlags(e)),m=d;d=new Set;for(const n of e.parameters)D(n,d);const h=u,g=_;let y;if(l||(u=new Set,_=!1),l){const r=t().createAwaiterHelper(b(),p,s,V(e.body)),a=i();if(ce(a)){const e=n.converters.convertToFunctionBlock(r);y=n.updateBlock(e,MN(n.createNodeArray(de(a,e.statements)),e.statements))}else y=r}else{const r=[],a=n.copyPrologue(e.body.statements,r,!1,x);r.push(n.createReturnStatement(t().createAwaiterHelper(b(),p,s,V(e.body,a)))),Kp(r,i());const l=c>=2&&384&o.getNodeCheckFlags(e);if(l&&(j(),u.size)){const t=UU(n,o,e,u);f[KG(t)]=!0,Kp(r,[t])}const d=n.createBlock(r,!0);MN(d,e.body),l&&_&&(256&o.getNodeCheckFlags(e)?aL(d,QL):128&o.getNodeCheckFlags(e)&&aL(d,$L)),y=d}return d=m,l||(u=h,_=g),y}function V(e,t){return lI(e)?n.updateBlock(e,rB(e.statements,S,Mu,t)):n.converters.convertToFunctionBlock(Nt.checkDefined(tB(e,S,bu)))}function j(){0==(1&l)&&(l|=1,e.enableSubstitution(210),e.enableSubstitution(208),e.enableSubstitution(209),e.enableEmitNotification(260),e.enableEmitNotification(171),e.enableEmitNotification(174),e.enableEmitNotification(175),e.enableEmitNotification(173),e.enableEmitNotification(240))}function H(e){return 106===e.expression.kind?MN(n.createPropertyAccessExpression(n.createUniqueName("_super",48),e.name),e):e}function K(e){return 106===e.expression.kind?(t=e.argumentExpression,r=e,MN(256&p?n.createPropertyAccessExpression(n.createCallExpression(n.createUniqueName("_superIndex",48),void 0,[t]),"value"):n.createCallExpression(n.createUniqueName("_superIndex",48),void 0,[t]),r)):e;var t,r}}function UU(e,n,t,r){const i=0!=(256&n.getNodeCheckFlags(t)),a=[];return r.forEach(((n,t)=>{const r=Mc(t),o=[];o.push(e.createPropertyAssignment("get",e.createArrowFunction(void 0,void 0,[],void 0,void 0,GA(e.createPropertyAccessExpression(GA(e.createSuper(),8),r),8)))),i&&o.push(e.createPropertyAssignment("set",e.createArrowFunction(void 0,void 0,[e.createParameterDeclaration(void 0,void 0,"v",void 0,void 0,void 0)],void 0,void 0,e.createAssignment(GA(e.createPropertyAccessExpression(GA(e.createSuper(),8),r),8),e.createIdentifier("v"))))),a.push(e.createPropertyAssignment(r,e.createObjectLiteralExpression(o)))})),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(a,!0)]))],2))}var VU=E({"src/compiler/transformers/es2017.ts"(){Qq()}});function jU(e){const{factory:n,getEmitHelperFactory:t,resumeLexicalEnvironment:r,endLexicalEnvironment:i,hoistVariableDeclaration:a}=e,o=e.getEmitResolver(),s=e.getCompilerOptions(),c=BT(s),l=e.onEmitNode;e.onEmitNode=function(e,n,t){if(1&u&&function(e){const n=e.kind;return 260===n||173===n||171===n||174===n||175===n}(n)){const r=384&o.getNodeCheckFlags(n);if(r!==v){const i=v;return v=r,l(e,n,t),void(v=i)}}else if(u&&E[KG(n)]){const r=v;return v=0,l(e,n,t),void(v=r)}l(e,n,t)};const d=e.onSubstituteNode;e.onSubstituteNode=function(e,t){return t=d(e,t),1===e&&v?function(e){switch(e.kind){case 208:return J(e);case 209:return X(e);case 210:return function(e){const t=e.expression;if(nh(t)){const r=Rk(t)?J(t):X(t);return n.createCallExpression(n.createPropertyAccessExpression(r,"call"),void 0,[n.createThis(),...e.arguments])}return e}(e)}return e}(t):t};let u,_,p,f,m,h,g,y=!1,v=0,b=0;const E=[];return GB(e,(function(t){if(t.isDeclarationFile)return t;f=t;const r=function(t){const r=T(2,Af(t,s)?0:1);y=!1;const i=_B(t,A,e),a=de(i.statements,m&&[n.createVariableStatement(void 0,n.createVariableDeclarationList(m))]),o=n.updateSourceFile(i,MN(n.createNodeArray(a),t.statements));return x(r),o}(t);return oL(r,e.readEmitHelpers()),f=void 0,m=void 0,r}));function T(e,n){const t=b;return b=3&(b&~e|n),t}function x(e){b=e}function S(e){m=Te(m,n.createVariableDeclaration(e))}function A(e){return w(e,!1)}function L(e){return w(e,!0)}function C(e){if(132!==e.kind)return e}function k(e,n,t,r){if(function(e,n){return b!==(b&~e|n)}(t,r)){const i=T(t,r),a=e(n);return x(i),a}return e(n)}function I(n){return _B(n,A,e)}function w(r,i){if(0==(128&r.transformFlags))return r;switch(r.kind){case 220:return function(r){return 2&_&&1&_?DA(MN(n.createYieldExpression(void 0,t().createAwaitHelper(tB(r.expression,A,uu))),r),r):_B(r,A,e)}(r);case 226:return function(r){if(2&_&&1&_){if(r.asteriskToken){const e=tB(Nt.checkDefined(r.expression),A,uu);return DA(MN(n.createYieldExpression(void 0,t().createAwaitHelper(n.updateYieldExpression(r,r.asteriskToken,MN(t().createAsyncDelegatorHelper(MN(t().createAsyncValuesHelper(e),e)),e)))),r),r)}return DA(MN(n.createYieldExpression(void 0,O(r.expression?tB(r.expression,A,uu):n.createVoidZero())),r),r)}return _B(r,A,e)}(r);case 250:return function(t){return 2&_&&1&_?n.updateReturnStatement(t,O(t.expression?tB(t.expression,A,uu):n.createVoidZero())):_B(t,A,e)}(r);case 253:return function(t){if(2&_){const e=Nm(t);return 247===e.kind&&e.awaitModifier?D(e,t):n.restoreEnclosingLabel(tB(e,A,Mu,n.liftToBlock),t)}return _B(t,A,e)}(r);case 207:return function(r){if(65536&r.transformFlags){const e=function(e){let t;const r=[];for(const i of e)if(301===i.kind){t&&(r.push(n.createObjectLiteralExpression(t)),t=void 0);const e=i.expression;r.push(tB(e,A,uu))}else t=Te(t,299===i.kind?n.createPropertyAssignment(i.name,tB(i.initializer,A,uu)):tB(i,A,Vd));return t&&r.push(n.createObjectLiteralExpression(t)),r}(r.properties);e.length&&207!==e[0].kind&&e.unshift(n.createObjectLiteralExpression());let i=e[0];if(e.length>1){for(let n=1;n<e.length;n++)i=t().createAssignHelper([i,e[n]]);return i}return t().createAssignHelper(e)}return _B(r,A,e)}(r);case 223:return function(t,r){return Vb(t)&&DN(t.left)?pU(t,A,e,1,!r):27===t.operatorToken.kind?n.updateBinaryExpression(t,tB(t.left,L,uu),t.operatorToken,tB(t.right,r?L:A,uu)):_B(t,A,e)}(r,i);case 357:return function(t,r){if(r)return _B(t,L,e);let i;for(let e=0;e<t.elements.length;e++){const n=t.elements[e],r=tB(n,e<t.elements.length-1?L:A,uu);(i||r!==n)&&(i||(i=t.elements.slice(0,e)),i.push(r))}const a=i?MN(n.createNodeArray(i),t.elements):t.elements;return n.updateCommaListExpression(t,a)}(r,i);case 295:return function(t){if(t.variableDeclaration&&Kd(t.variableDeclaration.name)&&65536&t.variableDeclaration.name.transformFlags){const r=n.getGeneratedNameForNode(t.variableDeclaration.name),i=hU(n.updateVariableDeclaration(t.variableDeclaration,t.variableDeclaration.name,void 0,void 0,r),A,e,1);let a=tB(t.block,A,lI);return ce(i)&&(a=n.updateBlock(a,[n.createVariableStatement(void 0,i),...a.statements])),n.updateCatchClause(t,n.updateVariableDeclaration(t.variableDeclaration,r,void 0,void 0,void 0),a)}return _B(t,A,e)}(r);case 240:return function(n){if(db(n,1)){const t=y;y=!0;const r=_B(n,A,e);return y=t,r}return _B(n,A,e)}(r);case 257:return function(e){if(y){const n=y;y=!1;const t=R(e,!0);return y=n,t}return R(e,!1)}(r);case 243:case 244:case 246:return k(I,r,0,2);case 247:return D(r,void 0);case 245:return k(N,r,0,2);case 219:case 241:return function(n){return _B(n,L,e)}(r);case 173:return k(G,r,2,1);case 171:return k(V,r,2,1);case 174:return k(B,r,2,1);case 175:return k(U,r,2,1);case 259:return k(j,r,2,1);case 215:return k(K,r,2,1);case 216:return k(H,r,2,0);case 166:return P(r);case 214:return function(n,t){return _B(n,t?L:A,e)}(r,i);case 212:return function(n){return SU(e,n,A,f,S,0)}(r);case 208:return h&&Rk(r)&&106===r.expression.kind&&h.add(r.name.escapedText),_B(r,A,e);case 209:return h&&106===r.expression.kind&&(g=!0),_B(r,A,e);case 260:case 228:return k(I,r,2,1);default:return _B(r,A,e)}}function R(n,t){return Kd(n.name)&&65536&n.name.transformFlags?hU(n,A,e,1,void 0,t):_B(n,A,e)}function N(t){return n.updateForStatement(t,tB(t.initializer,L,Tu),tB(t.condition,A,uu),tB(t.incrementor,L,uu),dB(t.statement,A,e))}function D(r,i){const o=T(0,2);(65536&r.initializer.transformFlags||Wd(r.initializer)&&DN(r.initializer))&&(r=function(e){const t=Yg(e.initializer);if(II(t)||Wd(t)){let r,i;const a=n.createTempVariable(void 0),o=[LR(n,t,a)];return lI(e.statement)?(Ae(o,e.statement.statements),r=e.statement,i=e.statement.statements):e.statement&&(Te(o,e.statement),r=e.statement,i=e.statement),n.updateForOfStatement(e,e.awaitModifier,MN(n.createVariableDeclarationList([MN(n.createVariableDeclaration(a),e.initializer)],1),e.initializer),e.expression,MN(n.createBlock(MN(n.createNodeArray(o),i),!0),r))}return e}(r));const s=r.awaitModifier?function(r,i,o){const s=tB(r.expression,A,uu),c=AC(s)?n.getGeneratedNameForNode(s):n.createTempVariable(void 0),l=AC(s)?n.getGeneratedNameForNode(c):n.createTempVariable(void 0),d=n.createTempVariable(void 0),u=n.createTempVariable(a),_=n.createUniqueName("e"),p=n.getGeneratedNameForNode(_),f=n.createTempVariable(void 0),m=MN(t().createAsyncValuesHelper(s),r.expression),h=n.createCallExpression(n.createPropertyAccessExpression(c,"next"),void 0,[]),g=n.createPropertyAccessExpression(l,"done"),y=n.createPropertyAccessExpression(l,"value"),v=n.createFunctionCallCall(f,c,[]);a(_),a(f);const b=2&o?n.inlineExpressions([n.createAssignment(_,n.createVoidZero()),m]):m,E=GA(MN(n.createForStatement(GA(MN(n.createVariableDeclarationList([n.createVariableDeclaration(d,void 0,void 0,n.createTrue()),MN(n.createVariableDeclaration(c,void 0,void 0,b),r.expression),n.createVariableDeclaration(l)]),r.expression),4194304),n.inlineExpressions([n.createAssignment(l,O(h)),n.createAssignment(u,g),n.createLogicalNot(u)]),void 0,function(t,r,i){const o=n.createTempVariable(a),s=n.createAssignment(o,r),c=n.createExpressionStatement(s);HA(c,t.expression);const l=n.createAssignment(i,n.createFalse()),d=n.createExpressionStatement(l);HA(d,t.expression);const u=n.createAssignment(i,n.createTrue()),_=n.createExpressionStatement(u);HA(d,t.expression);const p=[],f=LR(n,t.initializer,o);let m,h;p.push(tB(f,A,Mu));const g=dB(t.statement,A,e);lI(g)?(Ae(p,g.statements),m=g,h=g.statements):p.push(g);const y=GA(MN(n.createBlock(MN(n.createNodeArray(p),h),!0),m),864);return n.createBlock([c,d,n.createTryStatement(y,void 0,n.createBlock([_]))])}(r,y,d)),r),512);return DA(E,r),n.createTryStatement(n.createBlock([n.restoreEnclosingLabel(E,i)]),n.createCatchClause(n.createVariableDeclaration(p),GA(n.createBlock([n.createExpressionStatement(n.createAssignment(_,n.createObjectLiteralExpression([n.createPropertyAssignment("error",p)])))]),1)),n.createBlock([n.createTryStatement(n.createBlock([GA(n.createIfStatement(n.createLogicalAnd(n.createLogicalAnd(n.createLogicalNot(d),n.createLogicalNot(u)),n.createAssignment(f,n.createPropertyAccessExpression(c,"return"))),n.createExpressionStatement(O(v))),1)]),void 0,GA(n.createBlock([GA(n.createIfStatement(_,n.createThrowStatement(n.createPropertyAccessExpression(_,"error"))),1)]),1))]))}(r,i,o):n.restoreEnclosingLabel(_B(r,A,e),i);return x(o),s}function O(e){return 1&_?n.createYieldExpression(void 0,t().createAwaitHelper(e)):n.createAwaitExpression(e)}function M(e){return Nt.assertNode(e,HC),P(e)}function P(t){return(null==p?void 0:p.has(t))?n.updateParameterDeclaration(t,void 0,t.dotDotDotToken,Kd(t.name)?n.getGeneratedNameForNode(t):t.name,void 0,void 0,void 0):65536&t.transformFlags?n.updateParameterDeclaration(t,void 0,t.dotDotDotToken,n.getGeneratedNameForNode(t),void 0,void 0,tB(t.initializer,A,uu)):_B(t,A,e)}function F(e){let n;for(const t of e.parameters)n?n.add(t):65536&t.transformFlags&&(n=new Set);return n}function G(t){const r=_,i=p;_=Sy(t),p=F(t);const a=n.updateConstructorDeclaration(t,t.modifiers,sB(t.parameters,M,e),q(t));return _=r,p=i,a}function B(t){const r=_,i=p;_=Sy(t),p=F(t);const a=n.updateGetAccessorDeclaration(t,t.modifiers,tB(t.name,A,xd),sB(t.parameters,M,e),void 0,q(t));return _=r,p=i,a}function U(t){const r=_,i=p;_=Sy(t),p=F(t);const a=n.updateSetAccessorDeclaration(t,t.modifiers,tB(t.name,A,xd),sB(t.parameters,M,e),q(t));return _=r,p=i,a}function V(t){const r=_,i=p;_=Sy(t),p=F(t);const a=n.updateMethodDeclaration(t,1&_?rB(t.modifiers,C,Gd):t.modifiers,2&_?void 0:t.asteriskToken,tB(t.name,A,xd),tB(void 0,A,EC),void 0,sB(t.parameters,M,e),void 0,2&_&&1&_?W(t):q(t));return _=r,p=i,a}function j(t){const r=_,i=p;_=Sy(t),p=F(t);const a=n.updateFunctionDeclaration(t,1&_?rB(t.modifiers,C,Ed):t.modifiers,2&_?void 0:t.asteriskToken,t.name,void 0,sB(t.parameters,M,e),void 0,2&_&&1&_?W(t):q(t));return _=r,p=i,a}function H(t){const r=_,i=p;_=Sy(t),p=F(t);const a=n.updateArrowFunction(t,t.modifiers,void 0,sB(t.parameters,M,e),void 0,t.equalsGreaterThanToken,q(t));return _=r,p=i,a}function K(t){const r=_,i=p;_=Sy(t),p=F(t);const a=n.updateFunctionExpression(t,1&_?rB(t.modifiers,C,Ed):t.modifiers,2&_?void 0:t.asteriskToken,t.name,void 0,sB(t.parameters,M,e),void 0,2&_&&1&_?W(t):q(t));return _=r,p=i,a}function W(a){r();const s=[],l=n.copyPrologue(a.body.statements,s,!1,A);z(s,a);const d=h,_=g;h=new Set,g=!1;const p=n.createReturnStatement(t().createAsyncGeneratorHelper(n.createFunctionExpression(void 0,n.createToken(41),a.name&&n.getGeneratedNameForNode(a.name),void 0,[],void 0,n.updateBlock(a.body,oB(a.body.statements,A,e,l))),!!(1&b))),f=c>=2&&384&o.getNodeCheckFlags(a);if(f){0==(1&u)&&(u|=1,e.enableSubstitution(210),e.enableSubstitution(208),e.enableSubstitution(209),e.enableEmitNotification(260),e.enableEmitNotification(171),e.enableEmitNotification(174),e.enableEmitNotification(175),e.enableEmitNotification(173),e.enableEmitNotification(240));const t=UU(n,o,a,h);E[KG(t)]=!0,Kp(s,[t])}s.push(p),Kp(s,i());const m=n.updateBlock(a.body,s);return f&&g&&(256&o.getNodeCheckFlags(a)?aL(m,QL):128&o.getNodeCheckFlags(a)&&aL(m,$L)),h=d,g=_,m}function q(e){var t;r();let a=0;const o=[],s=null!=(t=tB(e.body,A,bu))?t:n.createBlock([]);lI(s)&&(a=n.copyPrologue(s.statements,o,!1,A)),Ae(o,z(void 0,e));const c=i();if(a>0||ce(o)||ce(c)){const e=n.converters.convertToFunctionBlock(s,!0);return Kp(o,c),Ae(o,e.statements.slice(a)),n.updateBlock(e,MN(n.createNodeArray(o),e.statements))}return s}function z(t,r){let i=!1;for(const a of r.parameters)if(i){if(Kd(a.name)){if(a.name.elements.length>0){const r=hU(a,A,e,0,n.getGeneratedNameForNode(a));if(ce(r)){const e=n.createVariableDeclarationList(r),i=n.createVariableStatement(void 0,e);GA(i,2097152),t=Te(t,i)}}else if(a.initializer){const e=n.getGeneratedNameForNode(a),r=tB(a.initializer,A,uu),i=n.createAssignment(e,r),o=n.createExpressionStatement(i);GA(o,2097152),t=Te(t,o)}}else if(a.initializer){const e=n.cloneNode(a.name);MN(e,a.name),GA(e,96);const r=tB(a.initializer,A,uu);BA(r,3168);const i=n.createAssignment(e,r);MN(i,a),GA(i,3072);const o=n.createBlock([n.createExpressionStatement(i)]);MN(o,a),GA(o,3905);const s=n.createTypeCheck(n.cloneNode(a.name),"undefined"),c=n.createIfStatement(s,o);qR(c),MN(c,a),GA(c,2101056),t=Te(t,c)}}else if(65536&a.transformFlags){i=!0;const r=hU(a,A,e,1,n.getGeneratedNameForNode(a),!1,!0);if(ce(r)){const e=n.createVariableDeclarationList(r),i=n.createVariableStatement(void 0,e);GA(i,2097152),t=Te(t,i)}}return t}function J(e){return 106===e.expression.kind?MN(n.createPropertyAccessExpression(n.createUniqueName("_super",48),e.name),e):e}function X(e){return 106===e.expression.kind?(t=e.argumentExpression,r=e,MN(256&v?n.createPropertyAccessExpression(n.createCallExpression(n.createIdentifier("_superIndex"),void 0,[t]),"value"):n.createCallExpression(n.createIdentifier("_superIndex"),void 0,[t]),r)):e;var t,r}}var HU=E({"src/compiler/transformers/es2018.ts"(){Qq()}});function KU(e){const n=e.factory;return GB(e,(function(n){return n.isDeclarationFile?n:_B(n,t,e)}));function t(r){return 0==(64&r.transformFlags)?r:295===r.kind?function(r){return r.variableDeclaration?_B(r,t,e):n.updateCatchClause(r,n.createVariableDeclaration(n.createTempVariable(void 0)),tB(r.block,t,lI))}(r):_B(r,t,e)}}var WU=E({"src/compiler/transformers/es2019.ts"(){Qq()}});function qU(e){const{factory:n,hoistVariableDeclaration:t}=e;return GB(e,(function(n){return n.isDeclarationFile?n:_B(n,r,e)}));function r(i){if(0==(32&i.transformFlags))return i;switch(i.kind){case 210:{const e=a(i,!1);return Nt.assertNotNode(e,nw),e}case 208:case 209:if(Gl(i)){const e=s(i,!1,!1);return Nt.assertNotNode(e,nw),e}return _B(i,r,e);case 223:return 60===i.operatorToken.kind?function(e){let i=tB(e.left,r,uu),a=i;return WB(i)||(a=n.createTempVariable(t),i=n.createAssignment(a,i)),MN(n.createConditionalExpression(c(i,a),void 0,a,void 0,tB(e.right,r,uu)),e)}(i):_B(i,r,e);case 217:return function(e){return Gl(Yg(e.expression))?DA(o(e.expression,!1,!0),e):n.updateDeleteExpression(e,tB(e.expression,r,uu))}(i);default:return _B(i,r,e)}}function i(e,t,r){const i=o(e.expression,t,r);return nw(i)?n.createSyntheticReferenceExpression(n.updateParenthesizedExpression(e,i.expression),i.thisArg):n.updateParenthesizedExpression(e,i)}function a(t,a){if(Gl(t))return s(t,a,!1);if(Fk(t.expression)&&Gl(Yg(t.expression))){const e=i(t.expression,!0,!1),a=rB(t.arguments,r,uu);return nw(e)?MN(n.createFunctionCallCall(e.expression,e.thisArg,a),t):n.updateCallExpression(t,e,void 0,a)}return _B(t,r,e)}function o(e,o,c){switch(e.kind){case 214:return i(e,o,c);case 208:case 209:return function(e,i,a){if(Gl(e))return s(e,i,a);let o,c=tB(e.expression,r,uu);return Nt.assertNotNode(c,nw),i&&(WB(c)?o=c:(o=n.createTempVariable(t),c=n.createAssignment(o,c))),c=208===e.kind?n.updatePropertyAccessExpression(e,c,tB(e.name,r,AC)):n.updateElementAccessExpression(e,c,tB(e.argumentExpression,r,uu)),o?n.createSyntheticReferenceExpression(c,o):c}(e,o,c);case 210:return a(e,o);default:return tB(e,r,uu)}}function s(e,i,a){const{expression:s,chain:l}=function(e){Nt.assertNotNode(e,Wl);const n=[e];for(;!e.questionDotToken&&!Mk(e);)e=Tn(Kl(e.expression),Gl),Nt.assertNotNode(e,Wl),n.unshift(e);return{expression:e.expression,chain:n}}(e),d=o(Kl(s),Fl(l[0]),!1);let u=nw(d)?d.thisArg:void 0,_=nw(d)?d.expression:d,p=n.restoreOuterExpressions(s,_,8);WB(_)||(_=n.createTempVariable(t),p=n.createAssignment(_,p));let f,m=_;for(let e=0;e<l.length;e++){const a=l[e];switch(a.kind){case 208:case 209:e===l.length-1&&i&&(WB(m)?f=m:(f=n.createTempVariable(t),m=n.createAssignment(f,m))),m=208===a.kind?n.createPropertyAccessExpression(m,tB(a.name,r,AC)):n.createElementAccessExpression(m,tB(a.argumentExpression,r,uu));break;case 210:0===e&&u?(fd(u)||(u=n.cloneNode(u),BA(u,3072)),m=n.createFunctionCallCall(m,106===u.kind?n.createThis():u,rB(a.arguments,r,uu))):m=n.createCallExpression(m,void 0,rB(a.arguments,r,uu))}DA(m,a)}const h=a?n.createConditionalExpression(c(p,_,!0),void 0,n.createTrue(),void 0,n.createDeleteExpression(m)):n.createConditionalExpression(c(p,_,!0),void 0,n.createVoidZero(),void 0,m);return MN(h,e),f?n.createSyntheticReferenceExpression(h,f):h}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()))}}var zU=E({"src/compiler/transformers/es2020.ts"(){Qq()}});function JU(e){const{hoistVariableDeclaration:n,factory:t}=e;return GB(e,(function(n){return n.isDeclarationFile?n:_B(n,r,e)}));function r(i){return 0==(16&i.transformFlags)?i:Db(i)?function(e){const i=JB(e.operatorToken.kind);let a=Yg(tB(e.left,r,au)),o=a;const s=Yg(tB(e.right,r,uu));if(eT(a)){const e=WB(a.expression),r=e?a.expression:t.createTempVariable(n),i=e?a.expression:t.createAssignment(r,a.expression);if(Rk(a))o=t.createPropertyAccessExpression(r,a.name),a=t.createPropertyAccessExpression(i,a.name);else{const e=WB(a.argumentExpression),s=e?a.argumentExpression:t.createTempVariable(n);o=t.createElementAccessExpression(r,s),a=t.createElementAccessExpression(i,e?a.argumentExpression:t.createAssignment(s,a.argumentExpression))}}return t.createBinaryExpression(a,i,t.createParenthesizedExpression(t.createAssignment(o,s)))}(i):_B(i,r,e)}}var XU=E({"src/compiler/transformers/es2021.ts"(){Qq()}});function YU(e){return GB(e,(function(t){return t.isDeclarationFile?t:_B(t,n,e)}));function n(t){return 0==(4&t.transformFlags)?t:(t.kind,_B(t,n,e))}}var $U,QU=E({"src/compiler/transformers/esnext.ts"(){Qq()}});function ZU(e){const{factory:n,getEmitHelperFactory:t}=e,r=e.getCompilerOptions();let a,o;return GB(e,(function(t){if(t.isDeclarationFile)return t;a=t,o={},o.importSpecifier=px(r,t);let i=_B(t,l,e);oL(i,e.readEmitHelpers());let s=i.statements;if(o.filenameDeclaration&&(s=zp(s.slice(),n.createVariableStatement(void 0,n.createVariableDeclarationList([o.filenameDeclaration],2)))),o.utilizedImplicitRuntimeImports)for(const[e,r]of Qe(o.utilizedImplicitRuntimeImports.entries()))if(kD(t)){const t=n.createImportDeclaration(void 0,n.createImportClause(!1,void 0,n.createNamedImports(Qe(r.values()))),n.createStringLiteral(e),void 0);AS(t,!1),s=zp(s.slice(),t)}else if(tm(t)){const t=n.createVariableStatement(void 0,n.createVariableDeclarationList([n.createVariableDeclaration(n.createObjectBindingPattern(Qe(r.values(),(e=>n.createBindingElement(void 0,e.propertyName,e.name)))),void 0,void 0,n.createCallExpression(n.createIdentifier("require"),void 0,[n.createStringLiteral(e)]))],2));AS(t,!1),s=zp(s.slice(),t)}return s!==i.statements&&(i=n.updateSourceFile(i,s)),o=void 0,i}));function s(){if(o.filenameDeclaration)return o.filenameDeclaration.name;const e=n.createVariableDeclaration(n.createUniqueName("_jsxFileName",48),void 0,void 0,n.createStringLiteral(a.fileName));return o.filenameDeclaration=e,o.filenameDeclaration.name}function c(e){var t,i;const a="createElement"===e?o.importSpecifier:fx(o.importSpecifier,r),s=null==(i=null==(t=o.utilizedImplicitRuntimeImports)?void 0:t.get(a))?void 0:i.get(e);if(s)return s.name;o.utilizedImplicitRuntimeImports||(o.utilizedImplicitRuntimeImports=new Map);let c=o.utilizedImplicitRuntimeImports.get(a);c||(c=new Map,o.utilizedImplicitRuntimeImports.set(a,c));const l=n.createUniqueName(`_${e}`,112),d=n.createImportSpecifier(!1,n.createIdentifier(e),l);return vL(l,d),c.set(e,d),l}function l(n){return 2&n.transformFlags?function(n){switch(n.kind){case 281:return _(n,!1);case 282:return p(n,!1);case 285:return f(n,!1);case 291:return I(n);default:return _B(n,l,e)}}(n):n}function d(e){switch(e.kind){case 11:return function(e){const t=function(e){let n,t=0,r=-1;for(let i=0;i<e.length;i++){const a=e.charCodeAt(i);xs(a)?(-1!==t&&-1!==r&&(n=L(n,e.substr(t,r-t+1))),t=-1):Ts(a)||(r=i,-1===t&&(t=i))}return-1!==t?L(n,e.substr(t)):n}(e.text);return void 0===t?void 0:n.createStringLiteral(t)}(e);case 291:return I(e);case 281:return _(e,!0);case 282:return p(e,!0);case 285:return f(e,!0);default:return Nt.failBadSyntaxKind(e)}}function u(e){return void 0===o.importSpecifier||function(e){let n=!1;for(const t of e.attributes.properties)if(fw(t))n=!0;else if(n&&_w(t)&&"key"===t.name.escapedText)return!0;return!1}(e)}function _(e,n){return(u(e.openingElement)?y:h)(e.openingElement,e.children,n,e)}function p(e,n){return(u(e)?y:h)(e,void 0,n,e)}function f(e,n){return(void 0===o.importSpecifier?b:v)(e.openingFragment,e.children,n,e)}function m(e){const t=nv(e);if(1===S(t)&&!t[0].dotDotDotToken){const e=d(t[0]);return e&&n.createPropertyAssignment("children",e)}const r=ee(e,d);return S(r)?n.createPropertyAssignment("children",n.createArrayLiteralExpression(r)):void 0}function h(e,t,r,a){const o=k(e),s=t&&t.length?m(t):void 0,c=D(e.attributes.properties,(e=>!!e.name&&AC(e.name)&&"key"===e.name.escapedText)),l=c?j(e.attributes.properties,(e=>e!==c)):e.attributes.properties;return g(o,S(l)?E(l,s):n.createObjectLiteralExpression(s?[s]:i),c,t||i,r,a)}function g(e,t,i,o,l,d){var u;const _=nv(o),p=S(_)>1||!!(null==(u=_[0])?void 0:u.dotDotDotToken),f=[e,t];if(i&&f.push(A(i.initializer)),5===r.jsx){const e=wc(a);if(e&&Aw(e)){void 0===i&&f.push(n.createVoidZero()),f.push(p?n.createTrue():n.createFalse());const t=bs(e,d.pos);f.push(n.createObjectLiteralExpression([n.createPropertyAssignment("fileName",s()),n.createPropertyAssignment("lineNumber",n.createNumericLiteral(t.line+1)),n.createPropertyAssignment("columnNumber",n.createNumericLiteral(t.character+1))])),f.push(n.createThis())}}const m=MN(n.createCallExpression(function(e){const n=function(e){return 5===r.jsx?"jsxDEV":e?"jsxs":"jsx"}(e);return c(n)}(p),void 0,f),d);return l&&qR(m),m}function y(t,i,s,l){const u=k(t),_=t.attributes.properties,p=S(_)?E(_):n.createNull(),f=void 0===o.importSpecifier?xR(n,e.getEmitResolver().getJsxFactoryEntity(a),r.reactNamespace,t):c("createElement"),m=SR(n,f,u,p,ee(i,d),l);return s&&qR(m),m}function v(e,t,r,i){let a;if(t&&t.length){const e=function(e){const t=m(e);return t&&n.createObjectLiteralExpression([t])}(t);e&&(a=e)}return g(c("Fragment"),a||n.createObjectLiteralExpression([]),void 0,t,r,i)}function b(t,i,o,s){const c=AR(n,e.getEmitResolver().getJsxFactoryEntity(a),e.getEmitResolver().getJsxFragmentFactoryEntity(a),r.reactNamespace,ee(i,d),t,s);return o&&qR(c),c}function E(e,i){const a=BT(r);return a&&a>=5?n.createObjectLiteralExpression(function(e,t){const r=J(oe(e,fw,((e,t)=>W(e,(e=>{return t?(r=e,n.createSpreadAssignment(Nt.checkDefined(tB(r.expression,l,uu)))):x(e);var r})))));return t&&r.push(t),r}(e,i)):function(e,r){const i=J(oe(e,fw,((e,t)=>t?W(e,T):n.createObjectLiteralExpression(W(e,x)))));return fw(e[0])&&i.unshift(n.createObjectLiteralExpression()),r&&i.push(n.createObjectLiteralExpression([r])),Be(i)||t().createAssignHelper(i)}(e,i)}function T(e){return Nt.checkDefined(tB(e.expression,l,uu))}function x(e){const t=function(e){const t=e.name,r=Pc(t);return/^[A-Za-z_]\w*$/.test(r)?t:n.createStringLiteral(r)}(e),r=A(e.initializer);return n.createPropertyAssignment(t,r)}function A(e){if(void 0===e)return n.createTrue();if(10===e.kind){const t=void 0!==e.singleQuote?e.singleQuote:!Fh(e,a);return MN(n.createStringLiteral(function(e){const n=C(e);return n===e?void 0:n}(e.text)||e.text,t),e)}return 291===e.kind?void 0===e.expression?n.createTrue():Nt.checkDefined(tB(e.expression,l,uu)):aw(e)?_(e,!1):ow(e)?p(e,!1):lw(e)?f(e,!1):Nt.failBadSyntaxKind(e)}function L(e,n){const t=C(n);return void 0===e?t:e+" "+t}function C(e){return e.replace(/&((#((\d+)|x([\da-fA-F]+)))|(\w+));/g,((e,n,t,r,i,a,o)=>{if(i)return Js(parseInt(i,10));if(a)return Js(parseInt(a,16));{const n=$U.get(o);return n?Js(n):e}}))}function k(e){if(281===e.kind)return k(e.openingElement);{const t=e.tagName;return AC(t)&&uv(t.escapedText)?n.createStringLiteral(Pc(t)):kR(n,t)}}function I(e){const t=tB(e.expression,l,uu);return e.dotDotDotToken?n.createSpreadElement(t):t}}var eV=E({"src/compiler/transformers/jsx.ts"(){Qq(),$U=new Map(Object.entries({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}))}});function nV(e){const{factory:n,hoistVariableDeclaration:t}=e;return GB(e,(function(n){return n.isDeclarationFile?n:_B(n,r,e)}));function r(i){return 0==(512&i.transformFlags)?i:223===i.kind?function(i){switch(i.operatorToken.kind){case 67:return function(e){let i,a;const o=tB(e.left,r,uu),s=tB(e.right,r,uu);if(Nk(o)){const e=n.createTempVariable(t),r=n.createTempVariable(t);i=MN(n.createElementAccessExpression(MN(n.createAssignment(e,o.expression),o.expression),MN(n.createAssignment(r,o.argumentExpression),o.argumentExpression)),o),a=MN(n.createElementAccessExpression(e,r),o)}else if(Rk(o)){const e=n.createTempVariable(t);i=MN(n.createPropertyAccessExpression(MN(n.createAssignment(e,o.expression),o.expression),o.name),o),a=MN(n.createPropertyAccessExpression(e,o.name),o)}else i=o,a=o;return MN(n.createAssignment(i,MN(n.createGlobalMethodCall("Math","pow",[a,s]),e)),e)}(i);case 42:return function(e){const t=tB(e.left,r,uu),i=tB(e.right,r,uu);return MN(n.createGlobalMethodCall("Math","pow",[t,i]),e)}(i);default:return _B(i,r,e)}}(i):_B(i,r,e)}}var tV=E({"src/compiler/transformers/es2016.ts"(){Qq()}});function rV(e,n){return{kind:e,expression:n}}function iV(e){const{factory:n,getEmitHelperFactory:t,startLexicalEnvironment:r,resumeLexicalEnvironment:a,endLexicalEnvironment:o,hoistVariableDeclaration:s}=e,l=e.getCompilerOptions(),d=e.getEmitResolver(),u=e.onSubstituteNode,_=e.onEmitNode;let p,f,m,h,g,y;function v(e){h=Te(h,n.createVariableDeclaration(e))}return e.onEmitNode=function(e,n,t){if(1&y&&Ad(n)){const r=b(32670,16&of(n)?81:65);return _(e,n,t),void E(r,0,0)}_(e,n,t)},e.onSubstituteNode=function(e,t){return t=u(e,t),1===e?function(e){switch(e.kind){case 79:return function(e){if(2&y&&!NR(e)){const t=d.getReferencedDeclarationWithCollidingName(e);if(t&&(!Dd(t)||!function(e,n){let t=Dc(n);if(!t||t===e||t.end<=e.pos||t.pos>=e.end)return!1;const r=Mf(e);for(;t;){if(t===r||t===e)return!1;if(Nd(t)&&t.parent===e)return!0;t=t.parent}return!1}(t,e)))return MN(n.getGeneratedNameForNode(Wc(t)),e)}return e}(e);case 108:return function(e){return 1&y&&16&m?MN(n.createUniqueName("_this",48),e):e}(e)}return e}(t):AC(t)?function(e){if(2&y&&!NR(e)){const t=Dc(e,AC);if(t&&function(e){switch(e.parent.kind){case 205:case 260:case 263:case 257:return e.parent.name===e&&d.isDeclarationWithCollidingName(e.parent)}return!1}(t))return MN(n.getGeneratedNameForNode(t),e)}return e}(t):t},GB(e,(function(t){if(t.isDeclarationFile)return t;p=t,f=t.text;const i=function(e){const t=b(8064,64),i=[],a=[];r();const s=n.copyPrologue(e.statements,i,!1,S);return Ae(a,rB(e.statements,S,Mu,s)),h&&a.push(n.createVariableStatement(void 0,n.createVariableDeclarationList(h))),n.mergeLexicalEnvironment(i,o()),U(i,e),E(t,0,0),n.updateSourceFile(e,MN(n.createNodeArray(de(i,a)),e.statements))}(t);return oL(i,e.readEmitHelpers()),p=void 0,f=void 0,h=void 0,m=0,i}));function b(e,n){const t=m;return m=32767&(m&~e|n),t}function E(e,n,t){m=-32768&(m&~n|t)|e}function T(e){return 0!=(8192&m)&&250===e.kind&&!e.expression}function x(e){return 0!=(1024&e.transformFlags)||void 0!==g||8192&m&&function(e){return 4194304&e.transformFlags&&(EI(e)||pI(e)||TI(e)||xI(e)||FI(e)||hw(e)||gw(e)||LI(e)||vw(e)||SI(e)||fu(e,!1)||lI(e))}(e)||fu(e,!1)&&be(e)||0!=(1&sf(e))}function S(e){return x(e)?k(e,!1):e}function A(e){return x(e)?k(e,!0):e}function L(e){if(x(e)){const n=wc(e);if(qC(n)&&_b(n)){const n=b(32670,16449),t=k(e,!1);return E(n,98304,0),t}return k(e,!1)}return e}function C(e){return 106===e.kind?ze(!0):S(e)}function k(t,r){switch(t.kind){case 124:return;case 260:return function(e){const t=n.createVariableDeclaration(n.getLocalName(e,!0),void 0,void 0,R(e));DA(t,e);const r=[],i=n.createVariableStatement(void 0,n.createVariableDeclarationList([t]));if(DA(i,e),MN(i,e),qR(i),r.push(i),db(e,1)){const t=db(e,1024)?n.createExportDefault(n.getLocalName(e)):n.createExternalModuleExport(n.getLocalName(e));DA(t,i),r.push(t)}const a=of(e);return 0==(8388608&a)&&(r.push(n.createEndOfDeclarationMarker(e)),GA(i,8388608|a)),Ve(r)}(t);case 228:return function(e){return R(e)}(t);case 166:return function(e){return e.dotDotDotToken?void 0:Kd(e.name)?DA(MN(n.createParameterDeclaration(void 0,void 0,n.getGeneratedNameForNode(e),void 0,void 0,void 0),e),e):e.initializer?DA(MN(n.createParameterDeclaration(void 0,void 0,e.name,void 0,void 0,void 0),e),e):e}(t);case 259:return function(t){const r=g;g=void 0;const i=b(32670,65),a=sB(t.parameters,S,e),o=$(t),s=32768&m?n.getLocalName(t):t.name;return E(i,98304,0),g=r,n.updateFunctionDeclaration(t,rB(t.modifiers,S,Ed),t.asteriskToken,s,void 0,a,void 0,o)}(t);case 216:return function(t){16384&t.transformFlags&&!(16384&m)&&(m|=65536);const r=g;g=void 0;const i=b(15232,66),a=n.createFunctionExpression(void 0,void 0,void 0,void 0,sB(t.parameters,S,e),void 0,$(t));return MN(a,t),DA(a,t),GA(a,16),E(i,0,0),g=r,a}(t);case 215:return function(t){const r=524288&of(t)?b(32662,69):b(32670,65),i=g;g=void 0;const a=sB(t.parameters,S,e),o=$(t),s=32768&m?n.getLocalName(t):t.name;return E(r,98304,0),g=i,n.updateFunctionExpression(t,void 0,t.asteriskToken,s,void 0,a,void 0,o)}(t);case 257:return ee(t);case 79:return w(t);case 258:return function(t){if(3&t.flags||524288&t.transformFlags){3&t.flags&&Je();const e=rB(t.declarations,1&t.flags?Z:ee,kI),r=n.createVariableDeclarationList(e);return DA(r,t),MN(r,t),XA(r,t),524288&t.transformFlags&&(Kd(t.declarations[0].name)||Kd(Ge(t.declarations).name))&&HA(r,function(e){let n=-1,t=-1;for(const r of e)n=-1===n?r.pos:-1===r.pos?n:Math.min(n,r.pos),t=Math.max(t,r.end);return lE(n,t)}(e)),r}return _B(t,S,e)}(t);case 252:return function(n){if(void 0!==g){const t=g.allowedNonLabeledJumps;g.allowedNonLabeledJumps|=2;const r=_B(n,S,e);return g.allowedNonLabeledJumps=t,r}return _B(n,S,e)}(t);case 266:return function(n){const t=b(7104,0),r=_B(n,S,e);return E(t,0,0),r}(t);case 238:return function(n,t){const r=256&m?b(7104,512):b(6976,128),i=_B(n,S,e);return E(r,0,0),i}(t);case 249:case 248:return function(t){if(g){const e=249===t.kind?2:4;if(!(t.label&&g.labels&&g.labels.get(Pc(t.label))||!t.label&&g.allowedNonLabeledJumps&e)){let e;const r=t.label;r?249===t.kind?(e=`break-${r.escapedText}`,Ie(g,!0,Pc(r),e)):(e=`continue-${r.escapedText}`,Ie(g,!1,Pc(r),e)):249===t.kind?(g.nonLocalJumps|=2,e="break"):(g.nonLocalJumps|=4,e="continue");let i=n.createStringLiteral(e);if(g.loopOutParameters.length){const e=g.loopOutParameters;let t;for(let r=0;r<e.length;r++){const i=Ce(e[r],1);t=0===r?i:n.createBinaryExpression(t,27,i)}i=n.createBinaryExpression(t,27,i)}return n.createReturnStatement(i)}}return _B(t,S,e)}(t);case 253:return function(e){g&&!g.labels&&(g.labels=new Map);const t=Nm(e,g&&ne);return fu(t,!1)?function(e,n){switch(e.kind){case 243:case 244:return ie(e,n);case 245:return ae(e,n);case 246:return se(e,n);case 247:return le(e,n)}}(t,e):n.restoreEnclosingLabel(Nt.checkDefined(tB(t,S,Mu,n.liftToBlock)),e,g&&te)}(t);case 243:case 244:return ie(t,void 0);case 245:return ae(t,void 0);case 246:return se(t,void 0);case 247:return le(t,void 0);case 241:case 219:return function(n){return _B(n,A,e)}(t);case 207:return function(t){const r=t.properties;let i=-1,a=!1;for(let e=0;e<r.length;e++){const n=r[e];if(1048576&n.transformFlags&&4&m||(a=164===Nt.checkDefined(n.name).kind)){i=e;break}}if(i<0)return _B(t,S,e);const o=n.createTempVariable(s),c=[],l=n.createAssignment(o,GA(n.createObjectLiteralExpression(rB(r,S,Vd,0,i),t.multiLine),a?131072:0));return t.multiLine&&qR(l),c.push(l),function(e,n,t,r){const i=n.properties,a=i.length;for(let o=r;o<a;o++){const r=i[o];switch(r.kind){case 174:case 175:const i=zv(n.properties,r);r===i.firstAccessor&&e.push(X(t,i,n,!!n.multiLine));break;case 171:e.push(Pe(r,t,n,n.multiLine));break;case 299:e.push(Ne(r,t,n.multiLine));break;case 300:e.push(Oe(r,t,n.multiLine));break;default:Nt.failBadSyntaxKind(n)}}}(c,t,o,i),c.push(t.multiLine?qR(xS(MN(n.cloneNode(o),o),o.parent)):o),n.inlineExpressions(c)}(t);case 295:return function(t){const r=b(7104,0);let i;if(Nt.assert(!!t.variableDeclaration,"Catch clause variable should always be present when downleveling ES2015."),Kd(t.variableDeclaration.name)){const r=n.createTempVariable(void 0),a=n.createVariableDeclaration(r);MN(a,t.variableDeclaration);const o=hU(t.variableDeclaration,S,e,0,r),s=n.createVariableDeclarationList(o);MN(s,t.variableDeclaration);const c=n.createVariableStatement(void 0,s);i=n.updateCatchClause(t,a,function(e,t){const r=rB(e.statements,S,Mu);return n.updateBlock(e,[t,...r])}(t.block,c))}else i=_B(t,S,e);return E(r,0,0),i}(t);case 300:return function(e){return MN(n.createPropertyAssignment(e.name,w(n.cloneNode(e.name))),e)}(t);case 164:case 226:return function(n){return _B(n,S,e)}(t);case 206:return function(n){return ce(n.elements,Yk)?je(n.elements,!1,!!n.multiLine,!!n.elements.hasTrailingComma):_B(n,S,e)}(t);case 210:return function(e){if(1&sf(e))return function(e){const t=Tn(Tn(HR(e.expression),Bk).body,lI),r=e=>dI(e)&&!!Me(e.declarationList.declarations).initializer,i=g;g=void 0;const a=rB(t.statements,L,Mu);g=i;const o=j(a,r),s=j(a,(e=>!r(e))),l=Tn(Me(o),dI).declarationList.declarations[0],d=HR(l.initializer);let u=En(d,Bb);!u&&qk(d)&&27===d.operatorToken.kind&&(u=En(d.left,Bb));const _=Tn(u?HR(u.right):d,Dk),p=Tn(HR(_.expression),Gk),f=p.body.statements;let m=0,h=-1;const y=[];if(u){const e=En(f[m],_I);e&&(y.push(e),m++),y.push(f[m]),m++,y.push(n.createExpressionStatement(n.createAssignment(u.left,Tn(l.name,AC))))}for(;!EI(c(f,h));)h--;Ae(y,f,m,h),h<-1&&Ae(y,f,h+1);const v=En(c(f,h),EI);for(const e of s)EI(e)&&(null==v?void 0:v.expression)&&!AC(v.expression)?y.push(v):y.push(e);return Ae(y,o,1),n.restoreOuterExpressions(e.expression,n.restoreOuterExpressions(l.initializer,n.restoreOuterExpressions(u&&u.right,n.updateCallExpression(_,n.restoreOuterExpressions(_.expression,n.updateFunctionExpression(p,void 0,void 0,void 0,void 0,p.parameters,void 0,n.updateBlock(p.body,y))),void 0,_.arguments))))}(e);const t=HR(e.expression);return 106===t.kind||nh(t)||ce(e.arguments,Yk)?Ue(e,!0):n.updateCallExpression(e,Nt.checkDefined(tB(e.expression,C,uu)),void 0,rB(e.arguments,S,uu))}(t);case 211:return function(t){if(ce(t.arguments,Yk)){const{target:e,thisArg:r}=n.createCallBinding(n.createPropertyAccessExpression(t.expression,"bind"),s);return n.createNewExpression(n.createFunctionApplyCall(Nt.checkDefined(tB(e,S,uu)),r,je(n.createNodeArray([n.createVoidZero(),...t.arguments]),!0,!1,!1)),void 0,[])}return _B(t,S,e)}(t);case 214:return function(n,t){return _B(n,t?A:S,e)}(t,r);case 223:return Q(t,r);case 357:return function(t,r){if(r)return _B(t,A,e);let i;for(let e=0;e<t.elements.length;e++){const n=t.elements[e],r=tB(n,e<t.elements.length-1?A:S,uu);(i||r!==n)&&(i||(i=t.elements.slice(0,e)),Nt.assert(r),i.push(r))}const a=i?MN(n.createNodeArray(i),t.elements):t.elements;return n.updateCommaListExpression(t,a)}(t,r);case 14:case 15:case 16:case 17:return function(e){return MN(n.createStringLiteral(e.text),e)}(t);case 10:return function(e){return e.hasExtendedUnicodeEscape?MN(n.createStringLiteral(e.text),e):e}(t);case 8:return function(e){return 384&e.numericLiteralFlags?MN(n.createNumericLiteral(e.text),e):e}(t);case 212:return function(n){return SU(e,n,S,p,v,1)}(t);case 225:return function(e){let t=n.createStringLiteral(e.head.text);for(const r of e.templateSpans){const e=[Nt.checkDefined(tB(r.expression,S,uu))];r.literal.text.length>0&&e.push(n.createStringLiteral(r.literal.text)),t=n.createCallExpression(n.createPropertyAccessExpression(t,"concat"),void 0,e)}return MN(t,e)}(t);case 227:return function(e){return tB(e.expression,S,uu)}(t);case 106:return ze(!1);case 108:return function(e){return 2&m&&!(16384&m)&&(m|=65536),g?2&m?(g.containsLexicalThis=!0,e):g.thisName||(g.thisName=n.createUniqueName("this")):e}(t);case 233:return function(e){return 103===e.keywordToken&&"target"===e.name.escapedText?(m|=32768,n.createUniqueName("_newTarget",48)):e}(t);case 171:return function(e){Nt.assert(!VC(e.name));const t=Y(e,uE(e,-1),void 0,void 0);return GA(t,1024|of(t)),MN(n.createPropertyAssignment(e.name,t),e)}(t);case 174:case 175:return function(t){Nt.assert(!VC(t.name));const r=g;g=void 0;const i=b(32670,65);let a;const o=sB(t.parameters,S,e),s=$(t);return a=174===t.kind?n.updateGetAccessorDeclaration(t,t.modifiers,t.name,o,t.type,s):n.updateSetAccessorDeclaration(t,t.modifiers,t.name,o,s),E(i,98304,0),g=r,a}(t);case 240:return function(t){const r=b(0,db(t,1)?32:0);let i;if(g&&0==(3&t.declarationList.flags)&&!function(e){return 1===e.declarationList.declarations.length&&!!e.declarationList.declarations[0].initializer&&!!(1&sf(e.declarationList.declarations[0].initializer))}(t)){let r;for(const i of t.declarationList.declarations)if(xe(g,i),i.initializer){let t;Kd(i.name)?t=pU(i,S,e,0):(t=n.createBinaryExpression(i.name,63,Nt.checkDefined(tB(i.initializer,S,uu))),MN(t,i)),r=Te(r,t)}i=r?MN(n.createExpressionStatement(n.inlineExpressions(r)),t):void 0}else i=_B(t,S,e);return E(r,0,0),i}(t);case 250:return function(t){return g?(g.nonLocalJumps|=8,T(t)&&(t=I(t)),n.createReturnStatement(n.createObjectLiteralExpression([n.createPropertyAssignment(n.createIdentifier("value"),t.expression?Nt.checkDefined(tB(t.expression,S,uu)):n.createVoidZero())]))):T(t)?I(t):_B(t,S,e)}(t);default:return _B(t,S,e)}}function I(e){return DA(n.createReturnStatement(n.createUniqueName("_this",48)),e)}function w(e){return g&&d.isArgumentsLocalBinding(e)?g.argumentsName||(g.argumentsName=n.createUniqueName("arguments")):128&e.flags?DA(MN(n.createIdentifier(Mc(e.escapedText)),e),e):e}function R(s){s.name&&Je();const c=dy(s),l=n.createFunctionExpression(void 0,void 0,void 0,void 0,c?[n.createParameterDeclaration(void 0,void 0,n.createUniqueName("_super",48))]:[],void 0,function(s,c){const l=[],d=n.getInternalName(s),u=Ty(d)?n.getGeneratedNameForNode(d):d;r(),function(e,r,i){i&&e.push(MN(n.createExpressionStatement(t().createExtendsHelper(n.getInternalName(r))),i))}(l,s,c),function(t,r,s,c){const l=g;g=void 0;const d=b(32662,73),u=Bv(r),_=function(e,n){if(!e||!n)return!1;if(ce(e.parameters))return!1;const t=De(e.body.statements);if(!t||!zy(t)||241!==t.kind)return!1;const r=t.expression;if(!zy(r)||210!==r.kind)return!1;const i=r.expression;if(!zy(i)||106!==i.kind)return!1;const a=Be(r.arguments);if(!a||!zy(a)||227!==a.kind)return!1;const o=a.expression;return AC(o)&&"arguments"===o.escapedText}(u,void 0!==c),p=n.createFunctionDeclaration(void 0,void 0,s,void 0,function(n,t){return sB(n&&!t?n.parameters:void 0,S,e)||[]}(u,_),void 0,function(e,t,r,s){const c=!!r&&104!==HR(r.expression).kind;if(!e)return function(e,t){const r=[];a(),n.mergeLexicalEnvironment(r,o()),t&&r.push(n.createReturnStatement(O()));const i=n.createNodeArray(r);MN(i,e.members);const s=n.createBlock(i,!0);return MN(s,e),GA(s,3072),s}(t,c);const l=[],d=[];a();const u=Ct(e.body.statements,_m),{superCall:_,superStatementIndex:p}=function(e,n){for(let t=n.length;t<e.length;t+=1){const n=XB(e[t]);if(n)return{superCall:n,superStatementIndex:t}}return{superStatementIndex:-1}}(e.body.statements,u),f=-1===p?u.length:p+1;let h,g=f;if(s||(g=n.copyStandardPrologue(e.body.statements,l,g,!1)),s||(g=n.copyCustomPrologue(e.body.statements,d,g,S,void 0)),s?h=O():_&&(h=function(e){return Ue(e,!1)}(_)),h&&(m|=8192),P(l,e),B(l,e,s),Ae(d,rB(e.body.statements,S,Mu,g)),n.mergeLexicalEnvironment(l,o()),H(l,e,!1),c||h)if(!h||f!==e.body.statements.length||16384&e.body.transformFlags)p<=u.length?V(d,e,h||D()):(V(l,e,D()),h&&function(e,t){Xe();const r=n.createExpressionStatement(n.createBinaryExpression(n.createThis(),63,t));zp(e,r),XA(r,wc(t).parent)}(d,h)),N(e.body)||d.push(n.createReturnStatement(n.createUniqueName("_this",48)));else{const e=Tn(Tn(h,qk).left,Dk),t=n.createReturnStatement(h);XA(t,JA(e)),GA(e,3072),d.push(t)}else U(l,e);const y=n.createBlock(MN(n.createNodeArray([...u,...l,...p<=u.length?i:rB(e.body.statements,S,Mu,u.length,p-u.length),...d]),e.body.statements),!0);return MN(y,e.body),y}(u,r,c,_));MN(p,u||r),c&&GA(p,16),t.push(p),E(d,98304,0),g=l}(l,s,u,c),function(e,n){for(const t of n.members)switch(t.kind){case 237:e.push(K(t));break;case 171:e.push(q(Ye(n,t),t,n));break;case 174:case 175:const r=zv(n.members,t);t===r.firstAccessor&&e.push(z(Ye(n,t),r,n));break;case 173:case 172:break;default:Nt.failBadSyntaxKind(t,p&&p.fileName)}}(l,s);const _=mE(ks(f,s.members.end),19),h=n.createPartiallyEmittedExpression(u);vS(h,_.end),GA(h,3072);const y=n.createReturnStatement(h);yS(y,_.pos),GA(y,3840),l.push(y),Kp(l,o());const v=n.createBlock(MN(n.createNodeArray(l),s.members),!0);return GA(v,3072),v}(s,c));GA(l,131072&of(s)|1048576);const d=n.createPartiallyEmittedExpression(l);vS(d,s.end),GA(d,3072);const u=n.createPartiallyEmittedExpression(d);vS(u,ks(f,s.pos)),GA(u,3072);const _=n.createParenthesizedExpression(n.createCallExpression(u,void 0,c?[Nt.checkDefined(tB(c.expression,S,uu))]:[]));return QA(_,3,"* @class "),_}function N(e){if(250===e.kind)return!0;if(242===e.kind){const n=e;if(n.elseStatement)return N(n.thenStatement)&&N(n.elseStatement)}else if(238===e.kind){const n=Fe(e.statements);if(n&&N(n))return!0}return!1}function D(){return GA(n.createThis(),8)}function O(){return n.createLogicalOr(n.createLogicalAnd(n.createStrictInequality(n.createUniqueName("_super",48),n.createNull()),n.createFunctionApplyCall(n.createUniqueName("_super",48),D(),n.createIdentifier("arguments"))),D())}function M(e){return void 0!==e.initializer||Kd(e.name)}function P(e,n){if(!ce(n.parameters,M))return!1;let t=!1;for(const r of n.parameters){const{name:n,initializer:i,dotDotDotToken:a}=r;a||(Kd(n)?t=F(e,r,n,i)||t:i&&(G(e,r,n,i),t=!0))}return t}function F(t,r,i,a){return i.elements.length>0?(zp(t,GA(n.createVariableStatement(void 0,n.createVariableDeclarationList(hU(r,S,e,0,n.getGeneratedNameForNode(r)))),2097152)),!0):!!a&&(zp(t,GA(n.createExpressionStatement(n.createAssignment(n.getGeneratedNameForNode(r),Nt.checkDefined(tB(a,S,uu)))),2097152)),!0)}function G(e,t,r,i){i=Nt.checkDefined(tB(i,S,uu));const a=n.createIfStatement(n.createTypeCheck(n.cloneNode(r),"undefined"),GA(MN(n.createBlock([n.createExpressionStatement(GA(MN(n.createAssignment(GA(xS(MN(n.cloneNode(r),r),r.parent),96),GA(i,3168|of(i))),t),3072))]),t),3905));qR(a),MN(a,t),GA(a,2101056),zp(e,a)}function B(t,r,i){const a=[],o=Fe(r.parameters);if(!function(e,n){return!(!e||!e.dotDotDotToken||n)}(o,i))return!1;const s=79===o.name.kind?xS(MN(n.cloneNode(o.name),o.name),o.name.parent):n.createTempVariable(void 0);GA(s,96);const c=79===o.name.kind?n.cloneNode(o.name):s,l=r.parameters.length-1,d=n.createLoopVariable();a.push(GA(MN(n.createVariableStatement(void 0,n.createVariableDeclarationList([n.createVariableDeclaration(s,void 0,void 0,n.createArrayLiteralExpression([]))])),o),2097152));const u=n.createForStatement(MN(n.createVariableDeclarationList([n.createVariableDeclaration(d,void 0,void 0,n.createNumericLiteral(l))]),o),MN(n.createLessThan(d,n.createPropertyAccessExpression(n.createIdentifier("arguments"),"length")),o),MN(n.createPostfixIncrement(d),o),n.createBlock([qR(MN(n.createExpressionStatement(n.createAssignment(n.createElementAccessExpression(c,0===l?d:n.createSubtract(d,n.createNumericLiteral(l))),n.createElementAccessExpression(n.createIdentifier("arguments"),d))),o))]));return GA(u,2097152),qR(u),a.push(u),79!==o.name.kind&&a.push(GA(MN(n.createVariableStatement(void 0,n.createVariableDeclarationList(hU(o,S,e,0,c))),o),2097152)),Wp(t,a),!0}function U(e,t){return!!(65536&m&&216!==t.kind)&&(V(e,t,n.createThis()),!0)}function V(e,t,r){Xe();const i=n.createVariableStatement(void 0,n.createVariableDeclarationList([n.createVariableDeclaration(n.createUniqueName("_this",48),void 0,void 0,r)]));GA(i,2100224),HA(i,t),zp(e,i)}function H(e,t,r){if(32768&m){let i;switch(t.kind){case 216:return e;case 171:case 174:case 175:i=n.createVoidZero();break;case 173:i=n.createPropertyAccessExpression(GA(n.createThis(),8),"constructor");break;case 259:case 215:i=n.createConditionalExpression(n.createLogicalAnd(GA(n.createThis(),8),n.createBinaryExpression(GA(n.createThis(),8),102,n.getLocalName(t))),void 0,n.createPropertyAccessExpression(GA(n.createThis(),8),"constructor"),void 0,n.createVoidZero());break;default:return Nt.failBadSyntaxKind(t)}const a=n.createVariableStatement(void 0,n.createVariableDeclarationList([n.createVariableDeclaration(n.createUniqueName("_newTarget",48),void 0,void 0,i)]));GA(a,2100224),r&&(e=e.slice()),zp(e,a)}return e}function K(e){return MN(n.createEmptyStatement(),e)}function q(t,r,i){const a=JA(r),o=jA(r),s=Y(r,r,void 0,i),c=tB(r.name,S,xd);let l;if(Nt.assert(c),!LC(c)&&sx(e.getCompilerOptions())){const e=VC(c)?c.expression:AC(c)?n.createStringLiteral(Mc(c.escapedText)):c;l=n.createObjectDefinePropertyCall(t,e,n.createPropertyDescriptor({value:s,enumerable:!1,writable:!0,configurable:!0}))}else{const e=bR(n,t,c,r.name);l=n.createAssignment(e,s)}GA(s,3072),HA(s,o);const d=MN(n.createExpressionStatement(l),r);return DA(d,r),XA(d,a),GA(d,96),d}function z(e,t,r){const i=n.createExpressionStatement(X(e,t,r,!1));return GA(i,3072),HA(i,jA(t.firstAccessor)),i}function X(e,{firstAccessor:t,getAccessor:r,setAccessor:i},a,o){const s=xS(MN(n.cloneNode(e),e),e.parent);GA(s,3136),HA(s,t.name);const c=tB(t.name,S,xd);if(Nt.assert(c),LC(c))return Nt.failBadSyntaxKind(c,"Encountered unhandled private identifier while transforming ES2015.");const l=IR(n,c);GA(l,3104),HA(l,t.name);const d=[];if(r){const e=Y(r,void 0,void 0,a);HA(e,jA(r)),GA(e,1024);const t=n.createPropertyAssignment("get",e);XA(t,JA(r)),d.push(t)}if(i){const e=Y(i,void 0,void 0,a);HA(e,jA(i)),GA(e,1024);const t=n.createPropertyAssignment("set",e);XA(t,JA(i)),d.push(t)}d.push(n.createPropertyAssignment("enumerable",r||i?n.createFalse():n.createTrue()),n.createPropertyAssignment("configurable",n.createTrue()));const u=n.createCallExpression(n.createPropertyAccessExpression(n.createIdentifier("Object"),"defineProperty"),void 0,[s,l,n.createObjectLiteralExpression(d,!0)]);return o&&qR(u),u}function Y(t,r,i,a){const o=g;g=void 0;const s=a&&Dd(a)&&!ub(t)?b(32670,73):b(32670,65),c=sB(t.parameters,S,e),l=$(t);return 32768&m&&!i&&(259===t.kind||215===t.kind)&&(i=n.getGeneratedNameForNode(t)),E(s,98304,0),g=o,DA(MN(n.createFunctionExpression(void 0,t.asteriskToken,i,void 0,c,void 0,l),r),t)}function $(e){let t,r,i=!1,s=!1;const c=[],l=[],d=e.body;let u;if(a(),lI(d)&&(u=n.copyStandardPrologue(d.statements,c,0,!1),u=n.copyCustomPrologue(d.statements,l,u,S,fm),u=n.copyCustomPrologue(d.statements,l,u,S,hm)),i=P(l,e)||i,i=B(l,e,!1)||i,lI(d))u=n.copyCustomPrologue(d.statements,l,u,S),t=d.statements,Ae(l,rB(d.statements,S,Mu,u)),!i&&d.multiLine&&(i=!0);else{Nt.assert(216===e.kind),t=dE(d,-1);const a=e.equalsGreaterThanToken;zy(a)||zy(d)||(bE(a,d,p)?s=!0:i=!0);const o=tB(d,S,uu),c=n.createReturnStatement(o);MN(c,d),tL(c,d),GA(c,2880),l.push(c),r=d}if(n.mergeLexicalEnvironment(c,o()),H(c,e,!1),U(c,e),ce(c)&&(i=!0),l.unshift(...c),lI(d)&&ve(l,d.statements))return d;const _=n.createBlock(MN(n.createNodeArray(l),t),i);return MN(_,e.body),!i&&s&&GA(_,1),r&&WA(_,19,r),DA(_,e.body),_}function Q(t,r){return Vb(t)?pU(t,S,e,0,!r):27===t.operatorToken.kind?n.updateBinaryExpression(t,Nt.checkDefined(tB(t.left,A,uu)),t.operatorToken,Nt.checkDefined(tB(t.right,r?A:S,uu))):_B(t,S,e)}function Z(t){return Kd(t.name)?ee(t):!t.initializer&&function(e){const n=d.getNodeCheckFlags(e),t=16384&n,r=32768&n;return!(0!=(64&m)||t&&r&&0!=(512&m))&&0==(4096&m)&&(!d.isDeclarationWithCollidingName(e)||r&&!t&&0==(6144&m))}(t)?n.updateVariableDeclaration(t,t.name,void 0,void 0,n.createVoidZero()):_B(t,S,e)}function ee(n){const t=b(32,0);let r;return r=Kd(n.name)?hU(n,S,e,0,void 0,0!=(32&t)):_B(n,S,e),E(t,0,0),r}function ne(e){g.labels.set(Pc(e.label),!0)}function te(e){g.labels.set(Pc(e.label),!1)}function re(t,i,a,s,c){const l=b(t,i),d=function(t,i,a,s){if(!be(t)){let r;g&&(r=g.allowedNonLabeledJumps,g.allowedNonLabeledJumps=6);const o=s?s(t,i,void 0,a):n.restoreEnclosingLabel(hI(t)?function(e){return n.updateForStatement(e,tB(e.initializer,A,Tu),tB(e.condition,S,uu),tB(e.incrementor,A,uu),Nt.checkDefined(tB(e.statement,S,Mu,n.liftToBlock)))}(t):_B(t,S,e),i,g&&te);return g&&(g.allowedNonLabeledJumps=r),o}const c=function(e){let n;switch(e.kind){case 245:case 246:case 247:const t=e.initializer;t&&258===t.kind&&(n=t)}const t=[],r=[];if(n&&3&kc(n)){const i=he(e)||ge(e)||ye(e);for(const a of n.declarations)Re(e,a,t,r,i)}const i={loopParameters:t,loopOutParameters:r};return g&&(g.argumentsName&&(i.argumentsName=g.argumentsName),g.thisName&&(i.thisName=g.thisName),g.hoistedLocalVariables&&(i.hoistedLocalVariables=g.hoistedLocalVariables)),i}(t),l=[],d=g;g=c;const u=he(t)?function(e,t){const r=n.createUniqueName("_loop_init"),i=0!=(1048576&e.initializer.transformFlags);let a=0;t.containsLexicalThis&&(a|=16),i&&4&m&&(a|=524288);const o=[];o.push(n.createVariableStatement(void 0,e.initializer)),ke(t.loopOutParameters,2,1,o);return{functionName:r,containsYield:i,functionDeclaration:n.createVariableStatement(void 0,GA(n.createVariableDeclarationList([n.createVariableDeclaration(r,void 0,void 0,GA(n.createFunctionExpression(void 0,i?n.createToken(41):void 0,void 0,void 0,void 0,void 0,Nt.checkDefined(tB(n.createBlock(o,!0),S,lI))),a))]),4194304)),part:n.createVariableDeclarationList(W(t.loopOutParameters,Le))}}(t,c):void 0,_=Ee(t)?function(e,t,i){const a=n.createUniqueName("_loop");r();const s=tB(e.statement,S,Mu,n.liftToBlock),c=o(),l=[];(ge(e)||ye(e))&&(t.conditionVariable=n.createUniqueName("inc"),e.incrementor?l.push(n.createIfStatement(t.conditionVariable,n.createExpressionStatement(Nt.checkDefined(tB(e.incrementor,S,uu))),n.createExpressionStatement(n.createAssignment(t.conditionVariable,n.createTrue())))):l.push(n.createIfStatement(n.createLogicalNot(t.conditionVariable),n.createExpressionStatement(n.createAssignment(t.conditionVariable,n.createTrue())))),ge(e)&&l.push(n.createIfStatement(n.createPrefixUnaryExpression(53,Nt.checkDefined(tB(e.condition,S,uu))),Nt.checkDefined(tB(n.createBreakStatement(),S,Mu))))),Nt.assert(s),lI(s)?Ae(l,s.statements):l.push(s),ke(t.loopOutParameters,1,1,l),Kp(l,c);const d=n.createBlock(l,!0);lI(s)&&DA(d,s);const u=0!=(1048576&e.statement.transformFlags);let _=1048576;t.containsLexicalThis&&(_|=16),u&&0!=(4&m)&&(_|=524288);const p=n.createVariableStatement(void 0,GA(n.createVariableDeclarationList([n.createVariableDeclaration(a,void 0,void 0,GA(n.createFunctionExpression(void 0,u?n.createToken(41):void 0,void 0,void 0,t.loopParameters,void 0,d),_))]),4194304)),f=function(e,t,r,i){const a=[],o=!(-5&t.nonLocalJumps||t.labeledNonLocalBreaks||t.labeledNonLocalContinues),s=n.createCallExpression(e,void 0,W(t.loopParameters,(e=>e.name))),c=i?n.createYieldExpression(n.createToken(41),GA(s,16777216)):s;if(o)a.push(n.createExpressionStatement(c)),ke(t.loopOutParameters,1,0,a);else{const e=n.createUniqueName("state"),i=n.createVariableStatement(void 0,n.createVariableDeclarationList([n.createVariableDeclaration(e,void 0,void 0,c)]));if(a.push(i),ke(t.loopOutParameters,1,0,a),8&t.nonLocalJumps){let t;r?(r.nonLocalJumps|=8,t=n.createReturnStatement(e)):t=n.createReturnStatement(n.createPropertyAccessExpression(e,"value")),a.push(n.createIfStatement(n.createTypeCheck(e,"object"),t))}if(2&t.nonLocalJumps&&a.push(n.createIfStatement(n.createStrictEquality(e,n.createStringLiteral("break")),n.createBreakStatement())),t.labeledNonLocalBreaks||t.labeledNonLocalContinues){const i=[];we(t.labeledNonLocalBreaks,!0,e,r,i),we(t.labeledNonLocalContinues,!1,e,r,i),a.push(n.createSwitchStatement(e,n.createCaseBlock(i)))}}return a}(a,t,i,u);return{functionName:a,containsYield:u,functionDeclaration:p,part:f}}(t,c,d):void 0;let p;if(g=d,u&&l.push(u.functionDeclaration),_&&l.push(_.functionDeclaration),function(e,t,r){let i;if(t.argumentsName&&(r?r.argumentsName=t.argumentsName:(i||(i=[])).push(n.createVariableDeclaration(t.argumentsName,void 0,void 0,n.createIdentifier("arguments")))),t.thisName&&(r?r.thisName=t.thisName:(i||(i=[])).push(n.createVariableDeclaration(t.thisName,void 0,void 0,n.createIdentifier("this")))),t.hoistedLocalVariables)if(r)r.hoistedLocalVariables=t.hoistedLocalVariables;else{i||(i=[]);for(const e of t.hoistedLocalVariables)i.push(n.createVariableDeclaration(e))}if(t.loopOutParameters.length){i||(i=[]);for(const e of t.loopOutParameters)i.push(n.createVariableDeclaration(e.outParamName))}t.conditionVariable&&(i||(i=[]),i.push(n.createVariableDeclaration(t.conditionVariable,void 0,void 0,n.createFalse()))),i&&e.push(n.createVariableStatement(void 0,n.createVariableDeclarationList(i)))}(l,c,d),u&&l.push(function(e,t){const r=n.createCallExpression(e,void 0,[]),i=t?n.createYieldExpression(n.createToken(41),GA(r,16777216)):r;return n.createExpressionStatement(i)}(u.functionName,u.containsYield)),_)if(s)p=s(t,i,_.part,a);else{const e=Se(t,u,n.createBlock(_.part,!0));p=n.restoreEnclosingLabel(e,i,g&&te)}else{const e=Se(t,u,Nt.checkDefined(tB(t.statement,S,Mu,n.liftToBlock)));p=n.restoreEnclosingLabel(e,i,g&&te)}return l.push(p),l}(a,s,l,c);return E(l,0,0),d}function ie(e,n){return re(0,1280,e,n)}function ae(e,n){return re(5056,3328,e,n)}function se(e,n){return re(3008,5376,e,n)}function le(e,n){return re(3008,5376,e,n,l.downlevelIteration?fe:pe)}function ue(t,r,i){const a=[],o=t.initializer;if(II(o)){3&t.initializer.flags&&Je();const i=De(o.declarations);if(i&&Kd(i.name)){const o=hU(i,S,e,0,r),s=MN(n.createVariableDeclarationList(o),t.initializer);DA(s,t.initializer),HA(s,lE(o[0].pos,Ge(o).end)),a.push(n.createVariableStatement(void 0,s))}else a.push(MN(n.createVariableStatement(void 0,DA(MN(n.createVariableDeclarationList([n.createVariableDeclaration(i?i.name:n.createTempVariable(void 0),void 0,void 0,r)]),uE(o,-1)),o)),dE(o,-1)))}else{const e=n.createAssignment(o,r);Vb(e)?a.push(n.createExpressionStatement(Q(e,!0))):(vS(e,o.end),a.push(MN(n.createExpressionStatement(Nt.checkDefined(tB(e,S,uu))),dE(o,-1))))}if(i)return _e(Ae(a,i));{const e=tB(t.statement,S,Mu,n.liftToBlock);return Nt.assert(e),lI(e)?n.updateBlock(e,MN(n.createNodeArray(de(a,e.statements)),e.statements)):(a.push(e),_e(a))}}function _e(e){return GA(n.createBlock(n.createNodeArray(e),!0),864)}function pe(e,t,r){const i=tB(e.expression,S,uu);Nt.assert(i);const a=n.createLoopVariable(),o=AC(i)?n.getGeneratedNameForNode(i):n.createTempVariable(void 0);GA(i,96|of(i));const s=MN(n.createForStatement(GA(MN(n.createVariableDeclarationList([MN(n.createVariableDeclaration(a,void 0,void 0,n.createNumericLiteral(0)),uE(e.expression,-1)),MN(n.createVariableDeclaration(o,void 0,void 0,i),e.expression)]),e.expression),4194304),MN(n.createLessThan(a,n.createPropertyAccessExpression(o,"length")),e.expression),MN(n.createPostfixIncrement(a),e.expression),ue(e,n.createElementAccessExpression(o,a),r)),e);return GA(s,512),MN(s,e),n.restoreEnclosingLabel(s,t,g&&te)}function fe(e,r,i,a){const o=tB(e.expression,S,uu);Nt.assert(o);const c=AC(o)?n.getGeneratedNameForNode(o):n.createTempVariable(void 0),l=AC(o)?n.getGeneratedNameForNode(c):n.createTempVariable(void 0),d=n.createUniqueName("e"),u=n.getGeneratedNameForNode(d),_=n.createTempVariable(void 0),p=MN(t().createValuesHelper(o),e.expression),f=n.createCallExpression(n.createPropertyAccessExpression(c,"next"),void 0,[]);s(d),s(_);const m=1024&a?n.inlineExpressions([n.createAssignment(d,n.createVoidZero()),p]):p,h=GA(MN(n.createForStatement(GA(MN(n.createVariableDeclarationList([MN(n.createVariableDeclaration(c,void 0,void 0,m),e.expression),n.createVariableDeclaration(l,void 0,void 0,f)]),e.expression),4194304),n.createLogicalNot(n.createPropertyAccessExpression(l,"done")),n.createAssignment(l,f),ue(e,n.createPropertyAccessExpression(l,"value"),i)),e),512);return n.createTryStatement(n.createBlock([n.restoreEnclosingLabel(h,r,g&&te)]),n.createCatchClause(n.createVariableDeclaration(u),GA(n.createBlock([n.createExpressionStatement(n.createAssignment(d,n.createObjectLiteralExpression([n.createPropertyAssignment("error",u)])))]),1)),n.createBlock([n.createTryStatement(n.createBlock([GA(n.createIfStatement(n.createLogicalAnd(n.createLogicalAnd(l,n.createLogicalNot(n.createPropertyAccessExpression(l,"done"))),n.createAssignment(_,n.createPropertyAccessExpression(c,"return"))),n.createExpressionStatement(n.createFunctionCallCall(_,c,[]))),1)]),void 0,GA(n.createBlock([GA(n.createIfStatement(d,n.createThrowStatement(n.createPropertyAccessExpression(d,"error"))),1)]),1))]))}function me(e){return 0!=(8192&d.getNodeCheckFlags(e))}function he(e){return hI(e)&&!!e.initializer&&me(e.initializer)}function ge(e){return hI(e)&&!!e.condition&&me(e.condition)}function ye(e){return hI(e)&&!!e.incrementor&&me(e.incrementor)}function be(e){return Ee(e)||he(e)}function Ee(e){return 0!=(4096&d.getNodeCheckFlags(e))}function xe(e,n){e.hoistedLocalVariables||(e.hoistedLocalVariables=[]),function n(t){if(79===t.kind)e.hoistedLocalVariables.push(t);else for(const e of t.elements)Qk(e)||n(e.name)}(n.name)}function Se(e,t,r){switch(e.kind){case 245:return function(e,t,r){const i=e.condition&&me(e.condition),a=i||e.incrementor&&me(e.incrementor);return n.updateForStatement(e,tB(t?t.part:e.initializer,A,Tu),tB(i?void 0:e.condition,S,uu),tB(a?void 0:e.incrementor,A,uu),r)}(e,t,r);case 246:return function(e,t){return n.updateForInStatement(e,Nt.checkDefined(tB(e.initializer,S,Tu)),Nt.checkDefined(tB(e.expression,S,uu)),t)}(e,r);case 247:return function(e,t){return n.updateForOfStatement(e,void 0,Nt.checkDefined(tB(e.initializer,S,Tu)),Nt.checkDefined(tB(e.expression,S,uu)),t)}(e,r);case 243:return function(e,t){return n.updateDoStatement(e,t,Nt.checkDefined(tB(e.expression,S,uu)))}(e,r);case 244:return function(e,t){return n.updateWhileStatement(e,Nt.checkDefined(tB(e.expression,S,uu)),t)}(e,r);default:return Nt.failBadSyntaxKind(e,"IterationStatement expected")}}function Le(e){return n.createVariableDeclaration(e.originalName,void 0,void 0,e.outParamName)}function Ce(e,t){const r=0===t?e.outParamName:e.originalName,i=0===t?e.originalName:e.outParamName;return n.createBinaryExpression(i,63,r)}function ke(e,t,r,i){for(const a of e)a.flags&t&&i.push(n.createExpressionStatement(Ce(a,r)))}function Ie(e,n,t,r){n?(e.labeledNonLocalBreaks||(e.labeledNonLocalBreaks=new Map),e.labeledNonLocalBreaks.set(t,r)):(e.labeledNonLocalContinues||(e.labeledNonLocalContinues=new Map),e.labeledNonLocalContinues.set(t,r))}function we(e,t,r,i,a){e&&e.forEach(((e,o)=>{const s=[];if(!i||i.labels&&i.labels.get(o)){const e=n.createIdentifier(o);s.push(t?n.createBreakStatement(e):n.createContinueStatement(e))}else Ie(i,t,o,e),s.push(n.createReturnStatement(r));a.push(n.createCaseClause(n.createStringLiteral(e),s))}))}function Re(e,t,r,i,a){const o=t.name;if(Kd(o))for(const n of o.elements)Qk(n)||Re(e,n,r,i,a);else{r.push(n.createParameterDeclaration(void 0,void 0,o));const s=d.getNodeCheckFlags(t);if(262144&s||a){const r=n.createUniqueName("out_"+Pc(o));let a=0;262144&s&&(a|=1),hI(e)&&(e.initializer&&d.isBindingCapturedByNode(e.initializer,t)&&(a|=2),(e.condition&&d.isBindingCapturedByNode(e.condition,t)||e.incrementor&&d.isBindingCapturedByNode(e.incrementor,t))&&(a|=1)),i.push({flags:a,originalName:o,outParamName:r})}}}function Ne(e,t,r){const i=n.createAssignment(bR(n,t,Nt.checkDefined(tB(e.name,S,xd))),Nt.checkDefined(tB(e.initializer,S,uu)));return MN(i,e),r&&qR(i),i}function Oe(e,t,r){const i=n.createAssignment(bR(n,t,Nt.checkDefined(tB(e.name,S,xd))),n.cloneNode(e.name));return MN(i,e),r&&qR(i),i}function Pe(e,t,r,i){const a=n.createAssignment(bR(n,t,Nt.checkDefined(tB(e.name,S,xd))),Y(e,e,void 0,r));return MN(a,e),i&&qR(a),a}function Ue(t,r){if(32768&t.transformFlags||106===t.expression.kind||nh(HR(t.expression))){const{target:e,thisArg:i}=n.createCallBinding(t.expression,s);let a;if(106===t.expression.kind&&GA(i,8),a=32768&t.transformFlags?n.createFunctionApplyCall(Nt.checkDefined(tB(e,C,uu)),106===t.expression.kind?i:Nt.checkDefined(tB(i,S,uu)),je(t.arguments,!0,!1,!1)):MN(n.createFunctionCallCall(Nt.checkDefined(tB(e,C,uu)),106===t.expression.kind?i:Nt.checkDefined(tB(i,S,uu)),rB(t.arguments,S,uu)),t),106===t.expression.kind){const e=n.createLogicalOr(a,D());a=r?n.createAssignment(n.createUniqueName("_this",48),e):e}return DA(a,t)}return _B(t,S,e)}function je(e,r,i,a){const o=e.length,s=J(oe(e,He,((e,n,t,r)=>n(e,i,a&&r===o))));if(1===s.length){const e=s[0];if(r&&!l.downlevelIteration||CS(e.expression)||iC(e.expression,"___spreadArray"))return e.expression}const c=t(),d=0!==s[0].kind;let u=d?n.createArrayLiteralExpression():s[0].expression;for(let e=d?0:1;e<s.length;e++){const n=s[e];u=c.createSpreadArrayHelper(u,n.expression,1===n.kind&&!r)}return u}function He(e){return Yk(e)?Ke:qe}function Ke(e){return W(e,We)}function We(e){Nt.assertNode(e,Yk);let n=tB(e.expression,S,uu);Nt.assert(n);const r=iC(n,"___read");let i=r||CS(n)?2:1;return!l.downlevelIteration||1!==i||Ik(n)||r||(n=t().createReadHelper(n,void 0),i=2),rV(i,n)}function qe(e,t,r){return rV(0,n.createArrayLiteralExpression(rB(n.createNodeArray(e,r),S,uu),t))}function ze(e){return 8&m&&!e?n.createPropertyAccessExpression(n.createUniqueName("_super",48),"prototype"):n.createUniqueName("_super",48)}function Je(){0==(2&y)&&(y|=2,e.enableSubstitution(79))}function Xe(){0==(1&y)&&(y|=1,e.enableSubstitution(108),e.enableEmitNotification(173),e.enableEmitNotification(171),e.enableEmitNotification(174),e.enableEmitNotification(175),e.enableEmitNotification(216),e.enableEmitNotification(215),e.enableEmitNotification(259))}function Ye(e,t){return ub(t)?n.getInternalName(e):n.createPropertyAccessExpression(n.getInternalName(e),"prototype")}}var aV=E({"src/compiler/transformers/es2015.ts"(){Qq()}});function oV(e){const{factory:n}=e,t=e.getCompilerOptions();let r,i;1!==t.jsx&&3!==t.jsx||(r=e.onEmitNode,e.onEmitNode=function(e,n,t){switch(n.kind){case 283:case 284:case 282:const e=n.tagName;i[PB(e)]=!0}r(e,n,t)},e.enableEmitNotification(283),e.enableEmitNotification(284),e.enableEmitNotification(282),i=[]);const a=e.onSubstituteNode;return e.onSubstituteNode=function(e,t){return t.id&&i&&i[t.id]?a(e,t):Rk(t=a(e,t))?function(e){if(LC(e.name))return e;const t=o(e.name);return t?MN(n.createElementAccessExpression(e.expression,t),e):e}(t):bw(t)?function(e){const t=AC(e.name)&&o(e.name);return t?n.updatePropertyAssignment(e,t,e.initializer):e}(t):t},e.enableSubstitution(208),e.enableSubstitution(299),GB(e,(function(e){return e}));function o(e){const t=Fc(e);if(void 0!==t&&t>=81&&t<=116)return MN(n.createStringLiteralFromNode(e),e)}}var sV=E({"src/compiler/transformers/es5.ts"(){Qq()}});function cV(e){const{factory:n,getEmitHelperFactory:t,resumeLexicalEnvironment:r,endLexicalEnvironment:i,hoistFunctionDeclaration:a,hoistVariableDeclaration:o}=e,s=BT(e.getCompilerOptions()),c=e.getEmitResolver(),l=e.onSubstituteNode;let d,u,_,p,f,m,h,g,y,v;e.onSubstituteNode=function(e,t){return t=l(e,t),1===e?function(e){return AC(e)?function(e){if(!fd(e)&&d&&d.has(Pc(e))){const t=wc(e);if(AC(t)&&t.parent){const r=c.getReferencedValueDeclaration(t);if(r){const t=u[PB(r)];if(t){const r=xS(MN(n.cloneNode(t),t),t.parent);return HA(r,e),XA(r,e),r}}}}return e}(e):e}(t):t};let b,E,T,x,S,L,C,k,I,w,R,N,D=1,O=0,M=0;return GB(e,(function(n){if(n.isDeclarationFile||0==(2048&n.transformFlags))return n;const t=_B(n,P,e);return oL(t,e.readEmitHelpers()),t}));function P(n){const t=n.transformFlags;return p?function(n){switch(n.kind){case 243:case 244:return function(n){return p?(ae(),n=_B(n,P,e),se(),n):_B(n,P,e)}(n);case 252:return function(n){return p&&ne({kind:2,isScript:!0,breakLabel:-1}),n=_B(n,P,e),p&&ce(),n}(n);case 253:return function(n){return p&&ne({kind:4,isScript:!0,labelText:Pc(n.label),breakLabel:-1}),n=_B(n,P,e),p&&le(),n}(n);default:return F(n)}}(n):_?F(n):Cd(n)&&n.asteriskToken?function(e){switch(e.kind){case 259:return G(e);case 215:return B(e);default:return Nt.failBadSyntaxKind(e)}}(n):2048&t?_B(n,P,e):n}function F(r){switch(r.kind){case 259:return G(r);case 215:return B(r);case 174:case 175:return function(n){const t=_,r=p;return _=!1,p=!1,n=_B(n,P,e),_=t,p=r,n}(r);case 240:return function(e){if(!(1048576&e.transformFlags)){if(2097152&of(e))return e;for(const n of e.declarationList.declarations)o(n.name);const t=IE(e.declarationList);if(0===t.length)return;return HA(n.createExpressionStatement(n.inlineExpressions(W(t,J))),e)}z(e.declarationList)}(r);case 245:return function(t){p&&ae();const r=t.initializer;if(r&&II(r)){for(const e of r.declarations)o(e.name);const i=IE(r);t=n.updateForStatement(t,i.length>0?n.inlineExpressions(W(i,J)):void 0,tB(t.condition,P,uu),tB(t.incrementor,P,uu),dB(t.statement,P,e))}else t=_B(t,P,e);return p&&se(),t}(r);case 246:return function(t){p&&ae();const r=t.initializer;if(II(r)){for(const e of r.declarations)o(e.name);t=n.updateForInStatement(t,r.declarations[0].name,Nt.checkDefined(tB(t.expression,P,uu)),Nt.checkDefined(tB(t.statement,P,Mu,n.liftToBlock)))}else t=_B(t,P,e);return p&&se(),t}(r);case 249:return function(n){if(p){const e=fe(n.label&&Pc(n.label));if(e>0)return ye(e,n)}return _B(n,P,e)}(r);case 248:return function(n){if(p){const e=me(n.label&&Pc(n.label));if(e>0)return ye(e,n)}return _B(n,P,e)}(r);case 250:return function(e){return t=tB(e.expression,P,uu),r=e,MN(n.createReturnStatement(n.createArrayLiteralExpression(t?[ge(2),t]:[ge(2)])),r);var t,r}(r);default:return 1048576&r.transformFlags?function(r){switch(r.kind){case 223:return function(t){const r=Xy(t);switch(r){case 0:return function(t){return X(t.right)?Rb(t.operatorToken.kind)?function(e){const n=Z(),t=Q();return Ee(t,Nt.checkDefined(tB(e.left,P,uu)),e.left),55===e.operatorToken.kind?Se(n,t,e.left):xe(n,t,e.left),Ee(t,Nt.checkDefined(tB(e.right,P,uu)),e.right),ee(n),t}(t):27===t.operatorToken.kind?V(t):n.updateBinaryExpression(t,$(Nt.checkDefined(tB(t.left,P,uu))),t.operatorToken,Nt.checkDefined(tB(t.right,P,uu))):_B(t,P,e)}(t);case 1:return function(t){const{left:r,right:i}=t;if(X(i)){let e;switch(r.kind){case 208:e=n.updatePropertyAccessExpression(r,$(Nt.checkDefined(tB(r.expression,P,au))),r.name);break;case 209:e=n.updateElementAccessExpression(r,$(Nt.checkDefined(tB(r.expression,P,au))),$(Nt.checkDefined(tB(r.argumentExpression,P,uu))));break;default:e=Nt.checkDefined(tB(r,P,uu))}const a=t.operatorToken.kind;return zB(a)?MN(n.createAssignment(e,MN(n.createBinaryExpression($(e),JB(a),Nt.checkDefined(tB(i,P,uu))),t)),t):n.updateBinaryExpression(t,e,t.operatorToken,Nt.checkDefined(tB(i,P,uu)))}return _B(t,P,e)}(t);default:return Nt.assertNever(r)}}(r);case 357:return function(e){let t=[];for(const r of e.elements)qk(r)&&27===r.operatorToken.kind?t.push(V(r)):(X(r)&&t.length>0&&(Ae(1,[n.createExpressionStatement(n.inlineExpressions(t))]),t=[]),t.push(Nt.checkDefined(tB(r,P,uu))));return n.inlineExpressions(t)}(r);case 224:return function(n){if(X(n.whenTrue)||X(n.whenFalse)){const e=Z(),t=Z(),r=Q();return Se(e,Nt.checkDefined(tB(n.condition,P,uu)),n.condition),Ee(r,Nt.checkDefined(tB(n.whenTrue,P,uu)),n.whenTrue),Te(t),ee(e),Ee(r,Nt.checkDefined(tB(n.whenFalse,P,uu)),n.whenFalse),ee(t),r}return _B(n,P,e)}(r);case 226:return function(e){const r=Z(),i=tB(e.expression,P,uu);return e.asteriskToken?function(e,n){Ae(7,[e],n)}(0==(16777216&of(e.expression))?MN(t().createValuesHelper(i),e):i,e):function(e,n){Ae(6,[e],n)}(i,e),ee(r),a=e,MN(n.createCallExpression(n.createPropertyAccessExpression(x,"sent"),void 0,[]),a);var a}(r);case 206:return function(e){return j(e.elements,void 0,void 0,e.multiLine)}(r);case 207:return function(e){const t=e.properties,r=e.multiLine,i=Y(t),a=Q();Ee(a,n.createObjectLiteralExpression(rB(t,P,Vd,0,i),r));const o=We(t,(function(t,i){X(i)&&t.length>0&&(be(n.createExpressionStatement(n.inlineExpressions(t))),t=[]);const o=tB(wR(n,e,i,a),P,uu);return o&&(r&&qR(o),t.push(o)),t}),[],i);return o.push(r?qR(xS(MN(n.cloneNode(a),a),a.parent)):a),n.inlineExpressions(o)}(r);case 209:return function(t){return X(t.argumentExpression)?n.updateElementAccessExpression(t,$(Nt.checkDefined(tB(t.expression,P,au))),Nt.checkDefined(tB(t.argumentExpression,P,uu))):_B(t,P,e)}(r);case 210:return function(t){if(!lm(t)&&A(t.arguments,X)){const{target:e,thisArg:r}=n.createCallBinding(t.expression,o,s,!0);return DA(MN(n.createFunctionApplyCall($(Nt.checkDefined(tB(e,P,au))),r,j(t.arguments)),t),t)}return _B(t,P,e)}(r);case 211:return function(t){if(A(t.arguments,X)){const{target:e,thisArg:r}=n.createCallBinding(n.createPropertyAccessExpression(t.expression,"bind"),o);return DA(MN(n.createNewExpression(n.createFunctionApplyCall($(Nt.checkDefined(tB(e,P,uu))),r,j(t.arguments,n.createVoidZero())),void 0,[]),t),t)}return _B(t,P,e)}(r);default:return _B(r,P,e)}}(r):4196352&r.transformFlags?_B(r,P,e):r}}function G(t){if(t.asteriskToken)t=DA(MN(n.createFunctionDeclaration(t.modifiers,void 0,t.name,void 0,sB(t.parameters,P,e),void 0,U(t.body)),t),t);else{const n=_,r=p;_=!1,p=!1,t=_B(t,P,e),_=n,p=r}return _?void a(t):t}function B(t){if(t.asteriskToken)t=DA(MN(n.createFunctionExpression(void 0,void 0,t.name,void 0,sB(t.parameters,P,e),void 0,U(t.body)),t),t);else{const n=_,r=p;_=!1,p=!1,t=_B(t,P,e),_=n,p=r}return t}function U(e){const a=[],o=_,s=p,c=f,l=m,d=h,u=g,A=y,F=v,G=D,B=b,U=E,V=T,j=x;_=!0,p=!1,f=void 0,m=void 0,h=void 0,g=void 0,y=void 0,v=void 0,D=1,b=void 0,E=void 0,T=void 0,x=n.createTempVariable(void 0),r();const K=n.copyPrologue(e.statements,a,!1,P);H(e.statements,K);const W=function(){O=0,M=0,S=void 0,L=!1,C=!1,k=void 0,I=void 0,w=void 0,R=void 0,N=void 0;const e=function(){if(b){for(let e=0;e<b.length;e++)Ie(e);Le(b.length)}else Le(0);if(k){const e=n.createPropertyAccessExpression(x,"label");return[qR(n.createSwitchStatement(e,n.createCaseBlock(k)))]}return I||[]}();return t().createGeneratorHelper(GA(n.createFunctionExpression(void 0,void 0,void 0,void 0,[n.createParameterDeclaration(void 0,void 0,x)],void 0,n.createBlock(e,e.length>0)),1048576))}();return Kp(a,i()),a.push(n.createReturnStatement(W)),_=o,p=s,f=c,m=l,h=d,g=u,y=A,v=F,D=G,b=B,E=U,T=V,x=j,MN(n.createBlock(a,e.multiLine),e)}function V(e){let t=[];return r(e.left),r(e.right),n.inlineExpressions(t);function r(e){qk(e)&&27===e.operatorToken.kind?(r(e.left),r(e.right)):(X(e)&&t.length>0&&(Ae(1,[n.createExpressionStatement(n.inlineExpressions(t))]),t=[]),t.push(Nt.checkDefined(tB(e,P,uu))))}}function j(e,t,r,i){const a=Y(e);let o;if(a>0){o=Q();const r=rB(e,P,uu,0,a);Ee(o,n.createArrayLiteralExpression(t?[t,...r]:r)),t=void 0}const s=We(e,(function(e,r){if(X(r)&&e.length>0){const r=void 0!==o;o||(o=Q()),Ee(o,r?n.createArrayConcatCall(o,[n.createArrayLiteralExpression(e,i)]):n.createArrayLiteralExpression(t?[t,...e]:e,i)),t=void 0,e=[]}return e.push(Nt.checkDefined(tB(r,P,uu))),e}),[],a);return o?n.createArrayConcatCall(o,[n.createArrayLiteralExpression(s,i)]):MN(n.createArrayLiteralExpression(t?[t,...s]:s,i),r)}function H(e,n=0){const t=e.length;for(let r=n;r<t;r++)q(e[r])}function K(e){lI(e)?H(e.statements):q(e)}function q(t){const r=p;p||(p=X(t)),function(t){switch(t.kind){case 238:return function(e){X(e)?H(e.statements):be(tB(e,P,Mu))}(t);case 241:return function(e){be(tB(e,P,Mu))}(t);case 242:return function(e){if(X(e))if(X(e.thenStatement)||X(e.elseStatement)){const n=Z(),t=e.elseStatement?Z():void 0;Se(e.elseStatement?t:n,Nt.checkDefined(tB(e.expression,P,uu)),e.expression),K(e.thenStatement),e.elseStatement&&(Te(n),ee(t),K(e.elseStatement)),ee(n)}else be(tB(e,P,Mu));else be(tB(e,P,Mu))}(t);case 243:return function(e){if(X(e)){const n=Z(),t=Z();oe(n),ee(t),K(e.statement),ee(n),xe(t,Nt.checkDefined(tB(e.expression,P,uu))),se()}else be(tB(e,P,Mu))}(t);case 244:return function(e){if(X(e)){const n=Z(),t=oe(n);ee(n),Se(t,Nt.checkDefined(tB(e.expression,P,uu))),K(e.statement),Te(n),se()}else be(tB(e,P,Mu))}(t);case 245:return function(e){if(X(e)){const t=Z(),r=Z(),i=oe(r);if(e.initializer){const t=e.initializer;II(t)?z(t):be(MN(n.createExpressionStatement(Nt.checkDefined(tB(t,P,uu))),t))}ee(t),e.condition&&Se(i,Nt.checkDefined(tB(e.condition,P,uu))),K(e.statement),ee(r),e.incrementor&&be(MN(n.createExpressionStatement(Nt.checkDefined(tB(e.incrementor,P,uu))),e.incrementor)),Te(t),se()}else be(tB(e,P,Mu))}(t);case 246:return function(e){if(X(e)){const t=Q(),r=Q(),i=Q(),a=n.createLoopVariable(),s=e.initializer;o(a),Ee(t,Nt.checkDefined(tB(e.expression,P,uu))),Ee(r,n.createArrayLiteralExpression()),be(n.createForInStatement(i,t,n.createExpressionStatement(n.createCallExpression(n.createPropertyAccessExpression(r,"push"),void 0,[i])))),Ee(a,n.createNumericLiteral(0));const c=Z(),l=Z(),d=oe(l);let u;if(ee(c),Se(d,n.createLessThan(a,n.createPropertyAccessExpression(r,"length"))),Ee(i,n.createElementAccessExpression(r,a)),Se(l,n.createBinaryExpression(i,101,t)),II(s)){for(const e of s.declarations)o(e.name);u=n.cloneNode(s.declarations[0].name)}else u=Nt.checkDefined(tB(s,P,uu)),Nt.assert(au(u));Ee(u,i),K(e.statement),ee(l),be(n.createExpressionStatement(n.createPostfixIncrement(a))),Te(c),se()}else be(tB(e,P,Mu))}(t);case 248:return function(e){const n=me(e.label?Pc(e.label):void 0);n>0?Te(n,e):be(e)}(t);case 249:return function(e){const n=fe(e.label?Pc(e.label):void 0);n>0?Te(n,e):be(e)}(t);case 250:return function(e){Ae(8,[tB(e.expression,P,uu)],e)}(t);case 251:return function(e){X(e)?(function(e){const n=Z(),t=Z();ee(n),ne({kind:1,expression:e,startLabel:n,endLabel:t})}($(Nt.checkDefined(tB(e.expression,P,uu)))),K(e.statement),Nt.assert(1===ie()),ee(te().endLabel)):be(tB(e,P,Mu))}(t);case 252:return function(e){if(X(e.caseBlock)){const t=e.caseBlock,r=t.clauses.length,i=function(){const e=Z();return ne({kind:2,isScript:!1,breakLabel:e}),e}(),a=$(Nt.checkDefined(tB(e.expression,P,uu))),o=[];let s=-1;for(let e=0;e<r;e++){const n=t.clauses[e];o.push(Z()),293===n.kind&&-1===s&&(s=e)}let c=0,l=[];for(;c<r;){let e=0;for(let i=c;i<r;i++){const r=t.clauses[i];if(292===r.kind){if(X(r.expression)&&l.length>0)break;l.push(n.createCaseClause(Nt.checkDefined(tB(r.expression,P,uu)),[ye(o[i],r.expression)]))}else e++}l.length&&(be(n.createSwitchStatement(a,n.createCaseBlock(l))),c+=l.length,l=[]),e>0&&(c+=e,e=0)}Te(s>=0?o[s]:i);for(let e=0;e<r;e++)ee(o[e]),H(t.clauses[e].statements);ce()}else be(tB(e,P,Mu))}(t);case 253:return function(e){X(e)?(ne({kind:4,isScript:!1,labelText:Pc(e.label),breakLabel:Z()}),K(e.statement),le()):be(tB(e,P,Mu))}(t);case 254:return function(e){var t;Ae(9,[Nt.checkDefined(tB(null!=(t=e.expression)?t:n.createVoidZero(),P,uu))],e)}(t);case 255:return function(t){X(t)?(function(){const e=Z(),n=Z();ee(e),ne({kind:0,state:0,startLabel:e,endLabel:n}),ve()}(),K(t.tryBlock),t.catchClause&&(function(t){let r;if(Nt.assert(0===ie()),fd(t.name))r=t.name,o(t.name);else{const n=Pc(t.name);r=Q(n),d||(d=new Map,u=[],e.enableSubstitution(79)),d.set(n,!0),u[PB(t)]=r}const i=re();Nt.assert(i.state<1),Te(i.endLabel);const a=Z();ee(a),i.state=1,i.catchVariable=r,i.catchLabel=a,Ee(r,n.createCallExpression(n.createPropertyAccessExpression(x,"sent"),void 0,[])),ve()}(t.catchClause.variableDeclaration),K(t.catchClause.block)),t.finallyBlock&&(function(){Nt.assert(0===ie());const e=re();Nt.assert(e.state<2),Te(e.endLabel);const n=Z();ee(n),e.state=2,e.finallyLabel=n}(),K(t.finallyBlock)),function(){Nt.assert(0===ie());const e=te();e.state<2?Te(e.endLabel):Ae(10),ee(e.endLabel),ve(),e.state=3}()):be(_B(t,P,e))}(t);default:be(tB(t,P,Mu))}}(t),p=r}function z(e){for(const t of e.declarations){const e=n.cloneNode(t.name);XA(e,t.name),o(e)}const t=IE(e),r=t.length;let i=0,a=[];for(;i<r;){for(let e=i;e<r;e++){const n=t[e];if(X(n.initializer)&&a.length>0)break;a.push(J(n))}a.length&&(be(n.createExpressionStatement(n.inlineExpressions(a))),i+=a.length,a=[])}}function J(e){return HA(n.createAssignment(HA(n.cloneNode(e.name),e.name),Nt.checkDefined(tB(e.initializer,P,uu))),e)}function X(e){return!!e&&0!=(1048576&e.transformFlags)}function Y(e){const n=e.length;for(let t=0;t<n;t++)if(X(e[t]))return t;return-1}function $(e){if(fd(e)||8192&of(e))return e;const t=n.createTempVariable(o);return Ee(t,e,e),t}function Q(e){const t=e?n.createUniqueName(e):n.createTempVariable(void 0);return o(t),t}function Z(){y||(y=[]);const e=D;return D++,y[e]=-1,e}function ee(e){Nt.assert(void 0!==y,"No labels were defined."),y[e]=b?b.length:0}function ne(e){f||(f=[],h=[],m=[],g=[]);const n=h.length;return h[n]=0,m[n]=b?b.length:0,f[n]=e,g.push(e),n}function te(){const e=re();if(void 0===e)return Nt.fail("beginBlock was never called.");const n=h.length;return h[n]=1,m[n]=b?b.length:0,f[n]=e,g.pop(),e}function re(){return Fe(g)}function ie(){const e=re();return e&&e.kind}function ae(){ne({kind:3,isScript:!0,breakLabel:-1,continueLabel:-1})}function oe(e){const n=Z();return ne({kind:3,isScript:!1,breakLabel:n,continueLabel:e}),n}function se(){Nt.assert(3===ie());const e=te(),n=e.breakLabel;e.isScript||ee(n)}function ce(){Nt.assert(2===ie());const e=te(),n=e.breakLabel;e.isScript||ee(n)}function le(){Nt.assert(4===ie());const e=te();e.isScript||ee(e.breakLabel)}function de(e){return 2===e.kind||3===e.kind}function ue(e){return 4===e.kind}function _e(e){return 3===e.kind}function pe(e,n){for(let t=n;t>=0;t--){const n=g[t];if(!ue(n))break;if(n.labelText===e)return!0}return!1}function fe(e){if(g)if(e)for(let n=g.length-1;n>=0;n--){const t=g[n];if(ue(t)&&t.labelText===e)return t.breakLabel;if(de(t)&&pe(e,n-1))return t.breakLabel}else for(let e=g.length-1;e>=0;e--){const n=g[e];if(de(n))return n.breakLabel}return 0}function me(e){if(g)if(e)for(let n=g.length-1;n>=0;n--){const t=g[n];if(_e(t)&&pe(e,n-1))return t.continueLabel}else for(let e=g.length-1;e>=0;e--){const n=g[e];if(_e(n))return n.continueLabel}return 0}function he(e){if(void 0!==e&&e>0){void 0===v&&(v=[]);const t=n.createNumericLiteral(-1);return void 0===v[e]?v[e]=[t]:v[e].push(t),t}return n.createOmittedExpression()}function ge(e){const t=n.createNumericLiteral(e);return nL(t,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)),t}function ye(e,t){return Nt.assertLessThan(0,e,"Invalid label"),MN(n.createReturnStatement(n.createArrayLiteralExpression([ge(3),he(e)])),t)}function ve(){Ae(0)}function be(e){e?Ae(1,[e]):ve()}function Ee(e,n,t){Ae(2,[e,n],t)}function Te(e,n){Ae(3,[e],n)}function xe(e,n,t){Ae(4,[e,n],t)}function Se(e,n,t){Ae(5,[e,n],t)}function Ae(e,n,t){void 0===b&&(b=[],E=[],T=[]),void 0===y&&ee(Z());const r=b.length;b[r]=e,E[r]=n,T[r]=t}function Le(e){(function(e){if(!C)return!0;if(!y||!v)return!1;for(let n=0;n<y.length;n++)if(y[n]===e&&v[n])return!0;return!1})(e)&&(ke(e),N=void 0,Re(void 0,void 0)),I&&k&&Ce(!1),function(){if(void 0!==v&&void 0!==S)for(let e=0;e<S.length;e++){const n=S[e];if(void 0!==n)for(const t of n){const n=v[t];if(void 0!==n)for(const t of n)t.text=String(e)}}}()}function Ce(e){if(k||(k=[]),I){if(N)for(let e=N.length-1;e>=0;e--){const t=N[e];I=[n.createWithStatement(t.expression,n.createBlock(I))]}if(R){const{startLabel:e,catchLabel:t,finallyLabel:r,endLabel:i}=R;I.unshift(n.createExpressionStatement(n.createCallExpression(n.createPropertyAccessExpression(n.createPropertyAccessExpression(x,"trys"),"push"),void 0,[n.createArrayLiteralExpression([he(e),he(t),he(r),he(i)])]))),R=void 0}e&&I.push(n.createExpressionStatement(n.createAssignment(n.createPropertyAccessExpression(x,"label"),n.createNumericLiteral(M+1))))}k.push(n.createCaseClause(n.createNumericLiteral(M),I||[])),I=void 0}function ke(e){if(y)for(let n=0;n<y.length;n++)y[n]===e&&(I&&(Ce(!L),L=!1,C=!1,M++),void 0===S&&(S=[]),void 0===S[M]?S[M]=[n]:S[M].push(n))}function Ie(e){if(ke(e),function(e){if(f)for(;O<h.length&&m[O]<=e;O++){const e=f[O],n=h[O];switch(e.kind){case 0:0===n?(w||(w=[]),I||(I=[]),w.push(R),R=e):1===n&&(R=w.pop());break;case 1:0===n?(N||(N=[]),N.push(e)):1===n&&N.pop()}}}(e),L)return;L=!1,C=!1;const t=b[e];if(0===t)return;if(10===t)return L=!0,void we(n.createReturnStatement(n.createArrayLiteralExpression([ge(7)])));const r=E[e];if(1===t)return we(r[0]);const i=T[e];switch(t){case 2:return a=r[0],o=r[1],s=i,void we(MN(n.createExpressionStatement(n.createAssignment(a,o)),s));case 3:return function(e,t){L=!0,we(GA(MN(n.createReturnStatement(n.createArrayLiteralExpression([ge(3),he(e)])),t),768))}(r[0],i);case 4:return function(e,t,r){we(GA(n.createIfStatement(t,GA(MN(n.createReturnStatement(n.createArrayLiteralExpression([ge(3),he(e)])),r),768)),1))}(r[0],r[1],i);case 5:return function(e,t,r){we(GA(n.createIfStatement(n.createLogicalNot(t),GA(MN(n.createReturnStatement(n.createArrayLiteralExpression([ge(3),he(e)])),r),768)),1))}(r[0],r[1],i);case 6:return function(e,t){L=!0,we(GA(MN(n.createReturnStatement(n.createArrayLiteralExpression(e?[ge(4),e]:[ge(4)])),t),768))}(r[0],i);case 7:return function(e,t){L=!0,we(GA(MN(n.createReturnStatement(n.createArrayLiteralExpression([ge(5),e])),t),768))}(r[0],i);case 8:return Re(r[0],i);case 9:return function(e,t){L=!0,C=!0,we(MN(n.createThrowStatement(e),t))}(r[0],i)}var a,o,s}function we(e){e&&(I?I.push(e):I=[e])}function Re(e,t){L=!0,C=!0,we(GA(MN(n.createReturnStatement(n.createArrayLiteralExpression(e?[ge(2),e]:[ge(2)])),t),768))}}var lV,dV=E({"src/compiler/transformers/generators.ts"(){Qq()}});function uV(e){const{factory:n,getEmitHelperFactory:t,startLexicalEnvironment:r,endLexicalEnvironment:a,hoistVariableDeclaration:o}=e,s=e.getCompilerOptions(),c=e.getEmitResolver(),l=e.getEmitHost(),d=BT(s),u=UT(s),_=e.onSubstituteNode,p=e.onEmitNode;e.onSubstituteNode=function(e,t){return(t=_(e,t)).id&&y[t.id]?t:1===e?function(e){switch(e.kind){case 79:return $(e);case 210:return function(e){if(AC(e.expression)){const t=$(e.expression);if(y[KG(t)]=!0,!(AC(t)||8192&of(e.expression)))return VA(n.updateCallExpression(e,t,void 0,e.arguments),16)}return e}(e);case 212:return function(e){if(AC(e.tag)){const t=$(e.tag);if(y[KG(t)]=!0,!(AC(t)||8192&of(e.tag)))return VA(n.updateTaggedTemplateExpression(e,t,void 0,e.template),16)}return e}(e);case 223:return function(e){if(Pb(e.operatorToken.kind)&&AC(e.left)&&!fd(e.left)&&!DR(e.left)&&!kE(e.left)){const n=Q(e.left);if(n){let t=e;for(const r of n)y[KG(t)]=!0,t=X(r,t,e);return t}}return e}(e)}return e}(t):Ew(t)?function(e){const t=e.name,r=$(t);if(r!==t){if(e.objectAssignmentInitializer){const i=n.createAssignment(r,e.objectAssignmentInitializer);return MN(n.createPropertyAssignment(t,i),e)}return MN(n.createPropertyAssignment(t,r),e)}return e}(t):t},e.onEmitNode=function(e,n,t){308===n.kind?(h=n,g=f[PB(h)],p(e,n,t),h=void 0,g=void 0):p(e,n,t)},e.enableSubstitution(210),e.enableSubstitution(212),e.enableSubstitution(79),e.enableSubstitution(223),e.enableSubstitution(300),e.enableEmitNotification(308);const f=[],m=[];let h,g;const y=[];let v;return GB(e,(function(n){if(n.isDeclarationFile||!(Sf(n,s)||8388608&n.transformFlags||rm(n)&&KT(s)&&kv(s)))return n;h=n,g=jB(e,n,c,s),f[PB(n)]=g;const t=function(e){switch(e){case 2:return T;case 3:return x;default:return E}}(u)(n);return h=void 0,g=void 0,v=!1,t}));function b(){return!(g.exportEquals||!kD(h))}function E(t){r();const i=[],o=ax(s,"alwaysStrict")||!s.noImplicitUseStrict&&kD(h),c=n.copyPrologue(t.statements,i,o&&!rm(t),I);if(b()&&Te(i,J()),S(g.exportedNames)){const e=50;for(let t=0;t<g.exportedNames.length;t+=e)Te(i,n.createExpressionStatement(We(g.exportedNames.slice(t,t+e),((e,t)=>n.createAssignment(n.createPropertyAccessExpression(n.createIdentifier("exports"),n.createIdentifier(Pc(t))),e)),n.createVoidZero())))}Te(i,tB(g.externalHelpersImportDeclaration,I,Mu)),Ae(i,rB(t.statements,I,Mu,c)),k(i,!1),Kp(i,a());const l=n.updateSourceFile(t,MN(n.createNodeArray(i),t.statements));return oL(l,e.readEmitHelpers()),l}function T(t){const r=n.createIdentifier("define"),a=ZR(n,t,l,s),o=rm(t)&&t,{aliasedModuleNames:c,unaliasedModuleNames:d,importAliasNames:u}=A(t,!0),_=n.updateSourceFile(t,MN(n.createNodeArray([n.createExpressionStatement(n.createCallExpression(r,void 0,[...a?[a]:[],n.createArrayLiteralExpression(o?i:[n.createStringLiteral("require"),n.createStringLiteral("exports"),...c,...d]),o?o.statements.length?o.statements[0].expression:n.createObjectLiteralExpression():n.createFunctionExpression(void 0,void 0,void 0,void 0,[n.createParameterDeclaration(void 0,void 0,"require"),n.createParameterDeclaration(void 0,void 0,"exports"),...u],void 0,C(t))]))]),t.statements));return oL(_,e.readEmitHelpers()),_}function x(t){const{aliasedModuleNames:r,unaliasedModuleNames:i,importAliasNames:a}=A(t,!1),o=ZR(n,t,l,s),c=n.createFunctionExpression(void 0,void 0,void 0,void 0,[n.createParameterDeclaration(void 0,void 0,"factory")],void 0,MN(n.createBlock([n.createIfStatement(n.createLogicalAnd(n.createTypeCheck(n.createIdentifier("module"),"object"),n.createTypeCheck(n.createPropertyAccessExpression(n.createIdentifier("module"),"exports"),"object")),n.createBlock([n.createVariableStatement(void 0,[n.createVariableDeclaration("v",void 0,void 0,n.createCallExpression(n.createIdentifier("factory"),void 0,[n.createIdentifier("require"),n.createIdentifier("exports")]))]),GA(n.createIfStatement(n.createStrictInequality(n.createIdentifier("v"),n.createIdentifier("undefined")),n.createExpressionStatement(n.createAssignment(n.createPropertyAccessExpression(n.createIdentifier("module"),"exports"),n.createIdentifier("v")))),1)]),n.createIfStatement(n.createLogicalAnd(n.createTypeCheck(n.createIdentifier("define"),"function"),n.createPropertyAccessExpression(n.createIdentifier("define"),"amd")),n.createBlock([n.createExpressionStatement(n.createCallExpression(n.createIdentifier("define"),void 0,[...o?[o]:[],n.createArrayLiteralExpression([n.createStringLiteral("require"),n.createStringLiteral("exports"),...r,...i]),n.createIdentifier("factory")]))])))],!0),void 0)),d=n.updateSourceFile(t,MN(n.createNodeArray([n.createExpressionStatement(n.createCallExpression(c,void 0,[n.createFunctionExpression(void 0,void 0,void 0,void 0,[n.createParameterDeclaration(void 0,void 0,"require"),n.createParameterDeclaration(void 0,void 0,"exports"),...a],void 0,C(t))]))]),t.statements));return oL(d,e.readEmitHelpers()),d}function A(e,t){const r=[],i=[],a=[];for(const t of e.amdDependencies)t.name?(r.push(n.createStringLiteral(t.path)),a.push(n.createParameterDeclaration(void 0,void 0,t.name))):i.push(n.createStringLiteral(t.path));for(const e of g.externalImports){const o=QR(n,e,h,l,c,s),d=$R(n,e,h);o&&(t&&d?(GA(d,8),r.push(o),a.push(n.createParameterDeclaration(void 0,void 0,d))):i.push(o))}return{aliasedModuleNames:r,unaliasedModuleNames:i,importAliasNames:a}}function L(e){if(BI(e)||YI(e)||!QR(n,e,h,l,c,s))return;const t=$R(n,e,h),r=P(e,t);return r!==t?n.createExpressionStatement(n.createAssignment(t,r)):void 0}function C(e){r();const t=[],i=n.copyPrologue(e.statements,t,!s.noImplicitUseStrict,I);b()&&Te(t,J()),S(g.exportedNames)&&Te(t,n.createExpressionStatement(We(g.exportedNames,((e,t)=>n.createAssignment(n.createPropertyAccessExpression(n.createIdentifier("exports"),n.createIdentifier(Pc(t))),e)),n.createVoidZero()))),Te(t,tB(g.externalHelpersImportDeclaration,I,Mu)),2===u&&Ae(t,ee(g.externalImports,L)),Ae(t,rB(e.statements,I,Mu,i)),k(t,!0),Kp(t,a());const o=n.createBlock(t,!0);return v&&aL(o,lV),o}function k(e,t){if(g.exportEquals){const r=tB(g.exportEquals.expression,R,uu);if(r)if(t){const t=n.createReturnStatement(r);MN(t,g.exportEquals),GA(t,3840),e.push(t)}else{const t=n.createExpressionStatement(n.createAssignment(n.createPropertyAccessExpression(n.createIdentifier("module"),"exports"),r));MN(t,g.exportEquals),GA(t,3072),e.push(t)}}}function I(r){switch(r.kind){case 269:return function(e){let t;const r=hg(e);if(2!==u){if(!e.importClause)return DA(MN(n.createExpressionStatement(F(e)),e),e);{const i=[];r&&!gg(e)?i.push(n.createVariableDeclaration(n.cloneNode(r.name),void 0,void 0,P(e,F(e)))):(i.push(n.createVariableDeclaration(n.getGeneratedNameForNode(e),void 0,void 0,P(e,F(e)))),r&&gg(e)&&i.push(n.createVariableDeclaration(n.cloneNode(r.name),void 0,void 0,n.getGeneratedNameForNode(e)))),t=Te(t,DA(MN(n.createVariableStatement(void 0,n.createVariableDeclarationList(i,d>=2?2:0)),e),e))}}else r&&gg(e)&&(t=Te(t,n.createVariableStatement(void 0,n.createVariableDeclarationList([DA(MN(n.createVariableDeclaration(n.cloneNode(r.name),void 0,void 0,n.getGeneratedNameForNode(e)),e),e)],d>=2?2:0))));if(U(e)){const n=PB(e);m[n]=V(m[n],e)}else t=V(t,e);return Ve(t)}(r);case 268:return function(e){let t;if(Nt.assert(vh(e),"import= for internal module references should be handled in an earlier transformer."),2!==u?t=db(e,1)?Te(t,DA(MN(n.createExpressionStatement(X(e.name,F(e))),e),e)):Te(t,DA(MN(n.createVariableStatement(void 0,n.createVariableDeclarationList([n.createVariableDeclaration(n.cloneNode(e.name),void 0,void 0,F(e))],d>=2?2:0)),e),e)):db(e,1)&&(t=Te(t,DA(MN(n.createExpressionStatement(X(n.getExportName(e),n.getLocalName(e))),e),e))),U(e)){const n=PB(e);m[n]=j(m[n],e)}else t=j(t,e);return Ve(t)}(r);case 275:return function(e){if(!e.moduleSpecifier)return;const r=n.getGeneratedNameForNode(e);if(e.exportClause&&$I(e.exportClause)){const i=[];2!==u&&i.push(DA(MN(n.createVariableStatement(void 0,n.createVariableDeclarationList([n.createVariableDeclaration(r,void 0,void 0,F(e))])),e),e));for(const a of e.exportClause.elements)if(0===d)i.push(DA(MN(n.createExpressionStatement(t().createCreateBindingHelper(r,n.createStringLiteralFromNode(a.propertyName||a.name),a.propertyName?n.createStringLiteralFromNode(a.name):void 0)),a),a));else{const o=!(!YT(s)||2&sf(e)||"default"!==Pc(a.propertyName||a.name)),c=n.createPropertyAccessExpression(o?t().createImportDefaultHelper(r):r,a.propertyName||a.name);i.push(DA(MN(n.createExpressionStatement(X(n.getExportName(a),c,void 0,!0)),a),a))}return Ve(i)}if(e.exportClause){const i=[];return i.push(DA(MN(n.createExpressionStatement(X(n.cloneNode(e.exportClause.name),function(e,n){return!YT(s)||2&sf(e)?n:BB(e)?t().createImportStarHelper(n):n}(e,2!==u?F(e):ef(e)?r:n.createIdentifier(Pc(e.exportClause.name))))),e),e)),Ve(i)}return DA(MN(n.createExpressionStatement(t().createExportStarHelper(2!==u?F(e):r)),e),e)}(r);case 274:return function(e){if(e.isExportEquals)return;let t;const r=e.original;if(r&&U(r)){const t=PB(e);m[t]=z(m[t],n.createIdentifier("default"),tB(e.expression,R,uu),e,!0)}else t=z(t,n.createIdentifier("default"),tB(e.expression,R,uu),e,!0);return Ve(t)}(r);case 240:return function(t){let r,i,a;if(db(t,1)){let e,o=!1;for(const r of t.declarationList.declarations)if(AC(r.name)&&DR(r.name))e||(e=rB(t.modifiers,Y,Ed)),i=r.initializer?Te(i,n.updateVariableDeclaration(r,r.name,void 0,void 0,X(r.name,tB(r.initializer,R,uu)))):Te(i,r);else if(r.initializer)if(!Kd(r.name)&&(Bk(r.initializer)||Gk(r.initializer)||$k(r.initializer))){const e=n.createAssignment(MN(n.createPropertyAccessExpression(n.createIdentifier("exports"),r.name),r.name),n.createIdentifier(Ny(r.name)));i=Te(i,n.createVariableDeclaration(r.name,r.exclamationToken,r.type,tB(r.initializer,R,uu))),a=Te(a,e),o=!0}else a=Te(a,B(r));if(i&&(r=Te(r,n.updateVariableStatement(t,e,n.updateVariableDeclarationList(t.declarationList,i)))),a){const e=DA(MN(n.createExpressionStatement(n.inlineExpressions(a)),t),t);o&&FA(e),r=Te(r,e)}}else r=Te(r,_B(t,R,e));if(U(t)){const e=PB(t);m[e]=H(m[e],t)}else r=H(r,t);return Ve(r)}(r);case 259:return function(t){let r;if(r=db(t,1)?Te(r,DA(MN(n.createFunctionDeclaration(rB(t.modifiers,Y,Ed),t.asteriskToken,n.getDeclarationName(t,!0,!0),void 0,rB(t.parameters,R,HC),void 0,_B(t.body,R,e)),t),t)):Te(r,_B(t,R,e)),U(t)){const e=PB(t);m[e]=W(m[e],t)}else r=W(r,t);return Ve(r)}(r);case 260:return function(t){let r;if(r=db(t,1)?Te(r,DA(MN(n.createClassDeclaration(rB(t.modifiers,Y,Gd),n.getDeclarationName(t,!0,!0),void 0,rB(t.heritageClauses,R,yw),rB(t.members,R,Nd)),t),t)):Te(r,_B(t,R,e)),U(t)){const e=PB(t);m[e]=W(m[e],t)}else r=W(r,t);return Ve(r)}(r);case 358:return function(e){if(U(e)&&240===e.original.kind){const n=PB(e);m[n]=H(m[n],e.original)}return e}(r);case 359:return function(e){const n=PB(e),t=m[n];return t?(delete m[n],Te(t,e)):e}(r);default:return R(r)}}function w(t,r){if(!(276828160&t.transformFlags))return t;switch(t.kind){case 245:return function(t){return n.updateForStatement(t,tB(t.initializer,N,Tu),tB(t.condition,R,uu),tB(t.incrementor,N,uu),dB(t.statement,R,e))}(t);case 241:return function(e){return n.updateExpressionStatement(e,tB(e.expression,N,uu))}(t);case 214:return function(e,t){return n.updateParenthesizedExpression(e,tB(e.expression,t?N:R,uu))}(t,r);case 356:return function(e,t){return n.updatePartiallyEmittedExpression(e,tB(e.expression,t?N:R,uu))}(t,r);case 210:if(lm(t)&&void 0===h.impliedNodeFormat)return function(t){if(0===u&&d>=7)return _B(t,R,e);const r=QR(n,t,h,l,c,s),i=tB(De(t.arguments),R,uu),a=!r||i&&cC(i)&&i.text===r.text?i:r,_=!!(16384&t.transformFlags);switch(s.module){case 2:return O(a,_);case 3:return function(e,t){if(v=!0,WB(e)){const r=fd(e)?e:cC(e)?n.createStringLiteralFromNode(e):GA(MN(n.cloneNode(e),e),3072);return n.createConditionalExpression(n.createIdentifier("__syncRequire"),void 0,M(e),void 0,O(r,t))}{const r=n.createTempVariable(o);return n.createComma(n.createAssignment(r,e),n.createConditionalExpression(n.createIdentifier("__syncRequire"),void 0,M(r,!0),void 0,O(r,t)))}}(null!=a?a:n.createVoidZero(),_);default:return M(a)}}(t);break;case 223:if(Vb(t))return function(n,t){return D(n.left)?pU(n,R,e,0,!t,G):_B(n,R,e)}(t,r);break;case 221:case 222:return function(t,r){if((45===t.operator||46===t.operator)&&AC(t.operand)&&!fd(t.operand)&&!DR(t.operand)&&!kE(t.operand)){const e=Q(t.operand);if(e){let i,a=tB(t.operand,R,uu);Kk(t)?a=n.updatePrefixUnaryExpression(t,a):(a=n.updatePostfixUnaryExpression(t,a),r||(i=n.createTempVariable(o),a=n.createAssignment(i,a),MN(a,t)),a=n.createComma(a,n.cloneNode(t.operand)),MN(a,t));for(const n of e)y[KG(a)]=!0,a=X(n,a),MN(a,t);return i&&(y[KG(a)]=!0,a=n.createComma(a,i),MN(a,t)),a}}return _B(t,R,e)}(t,r)}return _B(t,R,e)}function R(e){return w(e,!1)}function N(e){return w(e,!0)}function D(e){if(wk(e))for(const n of e.properties)switch(n.kind){case 299:if(D(n.initializer))return!0;break;case 300:if(D(n.name))return!0;break;case 301:if(D(n.expression))return!0;break;case 171:case 174:case 175:return!1;default:Nt.assertNever(n,"Unhandled object member kind")}else if(Ik(e)){for(const n of e.elements)if(Yk(n)){if(D(n.expression))return!0}else if(D(n))return!0}else if(AC(e))return S(Q(e))>(OR(e)?1:0);return!1}function O(e,r){const i=n.createUniqueName("resolve"),a=n.createUniqueName("reject"),o=[n.createParameterDeclaration(void 0,void 0,i),n.createParameterDeclaration(void 0,void 0,a)],c=n.createBlock([n.createExpressionStatement(n.createCallExpression(n.createIdentifier("require"),void 0,[n.createArrayLiteralExpression([e||n.createOmittedExpression()]),i,a]))]);let l;d>=2?l=n.createArrowFunction(void 0,void 0,o,void 0,void 0,c):(l=n.createFunctionExpression(void 0,void 0,void 0,void 0,o,void 0,c),r&&GA(l,16));const u=n.createNewExpression(n.createIdentifier("Promise"),void 0,[l]);return YT(s)?n.createCallExpression(n.createPropertyAccessExpression(u,n.createIdentifier("then")),void 0,[t().createImportStarCallbackHelper()]):u}function M(e,r){const i=e&&!qB(e)&&!r,a=n.createCallExpression(n.createPropertyAccessExpression(n.createIdentifier("Promise"),"resolve"),void 0,i?d>=2?[n.createTemplateExpression(n.createTemplateHead(""),[n.createTemplateSpan(e,n.createTemplateTail(""))])]:[n.createCallExpression(n.createPropertyAccessExpression(n.createStringLiteral(""),"concat"),void 0,[e])]:[]);let o=n.createCallExpression(n.createIdentifier("require"),void 0,i?[n.createIdentifier("s")]:e?[e]:[]);YT(s)&&(o=t().createImportStarHelper(o));const c=i?[n.createParameterDeclaration(void 0,void 0,"s")]:[];let l;return l=d>=2?n.createArrowFunction(void 0,void 0,c,void 0,void 0,o):n.createFunctionExpression(void 0,void 0,void 0,void 0,c,void 0,n.createBlock([n.createReturnStatement(o)])),n.createCallExpression(n.createPropertyAccessExpression(a,"then"),void 0,[l])}function P(e,n){return!YT(s)||2&sf(e)?n:UB(e)?t().createImportStarHelper(n):VB(e)?t().createImportDefaultHelper(n):n}function F(e){const t=QR(n,e,h,l,c,s),r=[];return t&&r.push(t),n.createCallExpression(n.createIdentifier("require"),void 0,r)}function G(e,t,r){const i=Q(e);if(i){let a=OR(e)?t:n.createAssignment(e,t);for(const e of i)GA(a,8),a=X(e,a,r);return a}return n.createAssignment(e,t)}function B(t){return Kd(t.name)?pU(tB(t,R,wE),R,e,0,!1,G):n.createAssignment(MN(n.createPropertyAccessExpression(n.createIdentifier("exports"),t.name),t.name),t.initializer?tB(t.initializer,R,uu):n.createVoidZero())}function U(e){return 0!=(8388608&of(e))}function V(e,n){if(g.exportEquals)return e;const t=n.importClause;if(!t)return e;t.name&&(e=q(e,t));const r=t.namedBindings;if(r)switch(r.kind){case 271:e=q(e,r);break;case 272:for(const n of r.elements)e=q(e,n,!0)}return e}function j(e,n){return g.exportEquals?e:q(e,n)}function H(e,n){if(g.exportEquals)return e;for(const t of n.declarationList.declarations)e=K(e,t);return e}function K(e,n){if(g.exportEquals)return e;if(Kd(n.name))for(const t of n.name.elements)Qk(t)||(e=K(e,t));else fd(n.name)||(e=q(e,n));return e}function W(e,t){return g.exportEquals||(db(t,1)&&(e=z(e,db(t,1024)?n.createIdentifier("default"):n.getDeclarationName(t),n.getLocalName(t),t)),t.name&&(e=q(e,t))),e}function q(e,t,r){const i=n.getDeclarationName(t),a=g.exportSpecifiers.get(Pc(i));if(a)for(const n of a)e=z(e,n.name,i,n.name,void 0,r);return e}function z(e,t,r,i,a,o){return e=Te(e,function(e,t,r,i,a){const o=MN(n.createExpressionStatement(X(e,t,void 0,a)),r);return qR(o),i||GA(o,3072),o}(t,r,i,a,o)),e}function J(){let e;return e=0===d?n.createExpressionStatement(X(n.createIdentifier("__esModule"),n.createTrue())):n.createExpressionStatement(n.createCallExpression(n.createPropertyAccessExpression(n.createIdentifier("Object"),"defineProperty"),void 0,[n.createIdentifier("exports"),n.createStringLiteral("__esModule"),n.createObjectLiteralExpression([n.createPropertyAssignment("value",n.createTrue())])])),GA(e,2097152),e}function X(e,t,r,i){return MN(i&&0!==d?n.createCallExpression(n.createPropertyAccessExpression(n.createIdentifier("Object"),"defineProperty"),void 0,[n.createIdentifier("exports"),n.createStringLiteralFromNode(e),n.createObjectLiteralExpression([n.createPropertyAssignment("enumerable",n.createTrue()),n.createPropertyAssignment("get",n.createFunctionExpression(void 0,void 0,void 0,void 0,[],void 0,n.createBlock([n.createReturnStatement(t)])))])]):n.createAssignment(n.createPropertyAccessExpression(n.createIdentifier("exports"),n.cloneNode(e)),t),r)}function Y(e){switch(e.kind){case 93:case 88:return}return e}function $(e){var t,r;if(8192&of(e)){const t=zR(h);return t?n.createPropertyAccessExpression(t,e):e}if((!fd(e)||64&e.emitNode.autoGenerate.flags)&&!DR(e)){const i=c.getReferencedExportContainer(e,OR(e));if(i&&308===i.kind)return MN(n.createPropertyAccessExpression(n.createIdentifier("exports"),n.cloneNode(e)),e);const a=c.getReferencedImportDeclaration(e);if(a){if(VI(a))return MN(n.createPropertyAccessExpression(n.getGeneratedNameForNode(a.parent),n.createIdentifier("default")),e);if(JI(a)){const i=a.propertyName||a.name;return MN(n.createPropertyAccessExpression(n.getGeneratedNameForNode((null==(r=null==(t=a.parent)?void 0:t.parent)?void 0:r.parent)||a),n.cloneNode(i)),e)}}}return e}function Q(e){if(!fd(e)){const n=c.getReferencedImportDeclaration(e)||c.getReferencedValueDeclaration(e);if(n)return g&&g.exportedBindings[PB(n)]}}}var _V=E({"src/compiler/transformers/module/module.ts"(){Qq(),lV={name:"typescript:dynamicimport-sync-require",scoped:!0,text:'\n var __syncRequire = typeof module === "object" && typeof module.exports === "object";'}}});function pV(e){const{factory:n,startLexicalEnvironment:t,endLexicalEnvironment:r,hoistVariableDeclaration:i}=e,a=e.getCompilerOptions(),o=e.getEmitResolver(),s=e.getEmitHost(),c=e.onSubstituteNode,l=e.onEmitNode;e.onSubstituteNode=function(e,t){return function(e){return E&&e.id&&E[e.id]}(t=c(e,t))?t:1===e?function(e){switch(e.kind){case 79:return function(e){var t,r;if(8192&of(e)){const t=zR(m);return t?n.createPropertyAccessExpression(t,e):e}if(!fd(e)&&!DR(e)){const i=o.getReferencedImportDeclaration(e);if(i){if(VI(i))return MN(n.createPropertyAccessExpression(n.getGeneratedNameForNode(i.parent),n.createIdentifier("default")),e);if(JI(i))return MN(n.createPropertyAccessExpression(n.getGeneratedNameForNode((null==(r=null==(t=i.parent)?void 0:t.parent)?void 0:r.parent)||i),n.cloneNode(i.propertyName||i.name)),e)}}return e}(e);case 223:return function(e){if(Pb(e.operatorToken.kind)&&AC(e.left)&&!fd(e.left)&&!DR(e.left)&&!kE(e.left)){const n=$(e.left);if(n){let t=e;for(const e of n)t=V(e,Q(t));return t}}return e}(e);case 233:return function(e){return dm(e)?n.createPropertyAccessExpression(y,n.createIdentifier("meta")):e}(e)}return e}(t):4===e?function(e){return 300===e.kind?function(e){var t,r;const i=e.name;if(!fd(i)&&!DR(i)){const a=o.getReferencedImportDeclaration(i);if(a){if(VI(a))return MN(n.createPropertyAssignment(n.cloneNode(i),n.createPropertyAccessExpression(n.getGeneratedNameForNode(a.parent),n.createIdentifier("default"))),e);if(JI(a))return MN(n.createPropertyAssignment(n.cloneNode(i),n.createPropertyAccessExpression(n.getGeneratedNameForNode((null==(r=null==(t=a.parent)?void 0:t.parent)?void 0:r.parent)||a),n.cloneNode(a.propertyName||a.name))),e)}}return e}(e):e}(t):t},e.onEmitNode=function(e,n,t){if(308===n.kind){const r=PB(n);m=n,h=d[r],g=_[r],E=p[r],y=f[r],E&&delete p[r],l(e,n,t),m=void 0,h=void 0,g=void 0,y=void 0,E=void 0}else l(e,n,t)},e.enableSubstitution(79),e.enableSubstitution(300),e.enableSubstitution(223),e.enableSubstitution(233),e.enableEmitNotification(308);const d=[],u=[],_=[],p=[],f=[];let m,h,g,y,v,b,E;return GB(e,(function(i){if(i.isDeclarationFile||!(Sf(i,a)||8388608&i.transformFlags))return i;const c=PB(i);m=i,b=i,h=d[c]=jB(e,i,o,a),g=n.createUniqueName("exports"),_[c]=g,y=f[c]=n.createUniqueName("context");const l=function(e){const t=new Map,r=[];for(const i of e){const e=QR(n,i,m,s,o,a);if(e){const n=e.text,a=t.get(n);void 0!==a?r[a].externalImports.push(i):(t.set(n,r.length),r.push({name:e,externalImports:[i]}))}}return r}(h.externalImports),u=function(e,i){const o=[];t();const s=ax(a,"alwaysStrict")||!a.noImplicitUseStrict&&kD(m),c=n.copyPrologue(e.statements,o,s,S);o.push(n.createVariableStatement(void 0,n.createVariableDeclarationList([n.createVariableDeclaration("__moduleName",void 0,void 0,n.createLogicalAnd(y,n.createPropertyAccessExpression(y,"id")))]))),tB(h.externalHelpersImportDeclaration,S,Mu);const l=rB(e.statements,S,Mu,c);Ae(o,v),Kp(o,r());const d=function(e){if(!h.hasExportStarsToExportValues)return;if(!h.exportedNames&&0===h.exportSpecifiers.size){let n=!1;for(const e of h.externalImports)if(275===e.kind&&e.exportClause){n=!0;break}if(!n){const n=T(void 0);return e.push(n),n.name}}const t=[];if(h.exportedNames)for(const e of h.exportedNames)"default"!==e.escapedText&&t.push(n.createPropertyAssignment(n.createStringLiteralFromNode(e),n.createTrue()));const r=n.createUniqueName("exportedNames");e.push(n.createVariableStatement(void 0,n.createVariableDeclarationList([n.createVariableDeclaration(r,void 0,void 0,n.createObjectLiteralExpression(t,!0))])));const i=T(r);return e.push(i),i.name}(o),u=2097152&e.transformFlags?n.createModifiersFromModifierFlags(512):void 0,_=n.createObjectLiteralExpression([n.createPropertyAssignment("setters",x(d,i)),n.createPropertyAssignment("execute",n.createFunctionExpression(u,void 0,void 0,void 0,[],void 0,n.createBlock(l,!0)))],!0);return o.push(n.createReturnStatement(_)),n.createBlock(o,!0)}(i,l),A=n.createFunctionExpression(void 0,void 0,void 0,void 0,[n.createParameterDeclaration(void 0,void 0,g),n.createParameterDeclaration(void 0,void 0,y)],void 0,u),L=ZR(n,i,s,a),C=n.createArrayLiteralExpression(W(l,(e=>e.name))),k=GA(n.updateSourceFile(i,MN(n.createNodeArray([n.createExpressionStatement(n.createCallExpression(n.createPropertyAccessExpression(n.createIdentifier("System"),"register"),void 0,L?[L,C,A]:[C,A]))]),i.statements)),2048);return kv(a)||lL(k,u,(e=>!e.scoped)),E&&(p[c]=E,E=void 0),m=void 0,h=void 0,g=void 0,y=void 0,v=void 0,b=void 0,k}));function T(e){const t=n.createUniqueName("exportStar"),r=n.createIdentifier("m"),i=n.createIdentifier("n"),a=n.createIdentifier("exports");let o=n.createStrictInequality(i,n.createStringLiteral("default"));return e&&(o=n.createLogicalAnd(o,n.createLogicalNot(n.createCallExpression(n.createPropertyAccessExpression(e,"hasOwnProperty"),void 0,[i])))),n.createFunctionDeclaration(void 0,void 0,t,void 0,[n.createParameterDeclaration(void 0,void 0,r)],void 0,n.createBlock([n.createVariableStatement(void 0,n.createVariableDeclarationList([n.createVariableDeclaration(a,void 0,void 0,n.createObjectLiteralExpression([]))])),n.createForInStatement(n.createVariableDeclarationList([n.createVariableDeclaration(i)]),r,n.createBlock([GA(n.createIfStatement(o,n.createExpressionStatement(n.createAssignment(n.createElementAccessExpression(a,i),n.createElementAccessExpression(r,i)))),1)])),n.createExpressionStatement(n.createCallExpression(g,void 0,[a]))],!0))}function x(e,t){const r=[];for(const i of t){const t=A(i.externalImports,(e=>$R(n,e,m))),a=t?n.getGeneratedNameForNode(t):n.createUniqueName(""),o=[];for(const t of i.externalImports){const r=$R(n,t,m);switch(t.kind){case 269:if(!t.importClause)break;case 268:Nt.assert(void 0!==r),o.push(n.createExpressionStatement(n.createAssignment(r,a))),db(t,1)&&o.push(n.createExpressionStatement(n.createCallExpression(g,void 0,[n.createStringLiteral(Pc(r)),a])));break;case 275:if(Nt.assert(void 0!==r),t.exportClause)if($I(t.exportClause)){const e=[];for(const r of t.exportClause.elements)e.push(n.createPropertyAssignment(n.createStringLiteral(Pc(r.name)),n.createElementAccessExpression(a,n.createStringLiteral(Pc(r.propertyName||r.name)))));o.push(n.createExpressionStatement(n.createCallExpression(g,void 0,[n.createObjectLiteralExpression(e,!0)])))}else o.push(n.createExpressionStatement(n.createCallExpression(g,void 0,[n.createStringLiteral(Pc(t.exportClause.name)),a])));else o.push(n.createExpressionStatement(n.createCallExpression(e,void 0,[a])))}}r.push(n.createFunctionExpression(void 0,void 0,void 0,void 0,[n.createParameterDeclaration(void 0,void 0,a)],void 0,n.createBlock(o,!0)))}return n.createArrayLiteralExpression(r,!0)}function S(e){switch(e.kind){case 269:return function(e){let t;if(e.importClause&&i($R(n,e,m)),N(e)){const n=PB(e);u[n]=D(u[n],e)}else t=D(t,e);return Ve(t)}(e);case 268:return function(e){let t;if(Nt.assert(vh(e),"import= for internal module references should be handled in an earlier transformer."),i($R(n,e,m)),N(e)){const n=PB(e);u[n]=O(u[n],e)}else t=O(t,e);return Ve(t)}(e);case 275:return function(e){Nt.assertIsDefined(e)}(e);case 274:return function(e){if(e.isExportEquals)return;const t=tB(e.expression,z,uu),r=e.original;if(!r||!N(r))return U(n.createIdentifier("default"),t,!0);{const r=PB(e);u[r]=B(u[r],n.createIdentifier("default"),t,!0)}}(e);default:return j(e)}}function L(e){if(Kd(e.name))for(const n of e.name.elements)Qk(n)||L(n);else i(n.cloneNode(e.name))}function C(e){return 0==(4194304&of(e))&&(308===b.kind||0==(3&wc(e).flags))}function k(n,t){const r=t?I:w;return Kd(n.name)?pU(n,z,e,0,!1,r):n.initializer?r(n.name,tB(n.initializer,z,uu)):n.name}function I(e,n,t){return R(e,n,t,!0)}function w(e,n,t){return R(e,n,t,!1)}function R(e,t,r,a){return i(n.cloneNode(e)),a?V(e,Q(MN(n.createAssignment(e,t),r))):Q(MN(n.createAssignment(e,t),r))}function N(e){return 0!=(8388608&of(e))}function D(e,n){if(h.exportEquals)return e;const t=n.importClause;if(!t)return e;t.name&&(e=G(e,t));const r=t.namedBindings;if(r)switch(r.kind){case 271:e=G(e,r);break;case 272:for(const n of r.elements)e=G(e,n)}return e}function O(e,n){return h.exportEquals?e:G(e,n)}function M(e,n,t){if(h.exportEquals)return e;for(const r of n.declarationList.declarations)(r.initializer||t)&&(e=P(e,r,t));return e}function P(e,t,r){if(h.exportEquals)return e;if(Kd(t.name))for(const n of t.name.elements)Qk(n)||(e=P(e,n,r));else if(!fd(t.name)){let i;r&&(e=B(e,t.name,n.getLocalName(t)),i=Pc(t.name)),e=G(e,t,i)}return e}function F(e,t){if(h.exportEquals)return e;let r;if(db(t,1)){const i=db(t,1024)?n.createStringLiteral("default"):t.name;e=B(e,i,n.getLocalName(t)),r=Ny(i)}return t.name&&(e=G(e,t,r)),e}function G(e,t,r){if(h.exportEquals)return e;const i=n.getDeclarationName(t),a=h.exportSpecifiers.get(Pc(i));if(a)for(const n of a)n.name.escapedText!==r&&(e=B(e,n.name,i));return e}function B(e,n,t,r){return Te(e,U(n,t,r))}function U(e,t,r){const i=n.createExpressionStatement(V(e,t));return qR(i),r||GA(i,3072),i}function V(e,t){const r=AC(e)?n.createStringLiteralFromNode(e):e;return GA(t,3072|of(t)),XA(n.createCallExpression(g,void 0,[r,t]),t)}function j(t){switch(t.kind){case 240:return function(e){if(!C(e.declarationList))return tB(e,z,Mu);let t;const r=db(e,1),i=N(e);for(const n of e.declarationList.declarations)n.initializer?t=Te(t,k(n,r&&!i)):L(n);let a;if(t&&(a=Te(a,MN(n.createExpressionStatement(n.inlineExpressions(t)),e))),i){const n=PB(e);u[n]=M(u[n],e,r)}else a=M(a,e,!1);return Ve(a)}(t);case 259:return function(t){if(v=db(t,1)?Te(v,n.updateFunctionDeclaration(t,rB(t.modifiers,Y,Gd),t.asteriskToken,n.getDeclarationName(t,!0,!0),void 0,rB(t.parameters,z,HC),void 0,tB(t.body,z,lI))):Te(v,_B(t,z,e)),N(t)){const e=PB(t);u[e]=F(u[e],t)}else v=F(v,t)}(t);case 260:return function(e){let t;const r=n.getLocalName(e);if(i(r),t=Te(t,MN(n.createExpressionStatement(n.createAssignment(r,MN(n.createClassExpression(rB(e.modifiers,Y,Gd),e.name,void 0,rB(e.heritageClauses,z,yw),rB(e.members,z,Nd)),e))),e)),N(e)){const n=PB(e);u[n]=F(u[n],e)}else t=F(t,e);return Ve(t)}(t);case 245:return H(t,!0);case 246:return function(t){const r=b;return b=t,t=n.updateForInStatement(t,K(t.initializer),tB(t.expression,z,uu),dB(t.statement,j,e)),b=r,t}(t);case 247:return function(t){const r=b;return b=t,t=n.updateForOfStatement(t,t.awaitModifier,K(t.initializer),tB(t.expression,z,uu),dB(t.statement,j,e)),b=r,t}(t);case 243:return function(t){return n.updateDoStatement(t,dB(t.statement,j,e),tB(t.expression,z,uu))}(t);case 244:return function(t){return n.updateWhileStatement(t,tB(t.expression,z,uu),dB(t.statement,j,e))}(t);case 253:return function(e){return n.updateLabeledStatement(e,e.label,Nt.checkDefined(tB(e.statement,j,Mu,n.liftToBlock)))}(t);case 251:return function(e){return n.updateWithStatement(e,tB(e.expression,z,uu),Nt.checkDefined(tB(e.statement,j,Mu,n.liftToBlock)))}(t);case 252:return function(e){return n.updateSwitchStatement(e,tB(e.expression,z,uu),Nt.checkDefined(tB(e.caseBlock,j,FI)))}(t);case 266:return function(e){const t=b;return b=e,e=n.updateCaseBlock(e,rB(e.clauses,j,Hu)),b=t,e}(t);case 292:return function(e){return n.updateCaseClause(e,tB(e.expression,z,uu),rB(e.statements,j,Mu))}(t);case 293:case 255:return function(n){return _B(n,j,e)}(t);case 295:return function(e){const t=b;return b=e,e=n.updateCatchClause(e,e.variableDeclaration,Nt.checkDefined(tB(e.block,j,lI))),b=t,e}(t);case 238:return function(n){const t=b;return b=n,n=_B(n,j,e),b=t,n}(t);case 358:return function(e){if(N(e)&&240===e.original.kind){const n=PB(e),t=db(e.original,1);u[n]=M(u[n],e.original,t)}return e}(t);case 359:return function(e){const n=PB(e),t=u[n];if(t)return delete u[n],Te(t,e);{const n=wc(e);if(Cu(n))return Te(G(t,n),e)}return e}(t);default:return z(t)}}function H(t,r){const i=b;return b=t,t=n.updateForStatement(t,tB(t.initializer,r?K:J,Tu),tB(t.condition,z,uu),tB(t.incrementor,J,uu),dB(t.statement,r?j:z,e)),b=i,t}function K(e){if(function(e){return II(e)&&C(e)}(e)){let t;for(const n of e.declarations)t=Te(t,k(n,!1)),n.initializer||L(n);return t?n.inlineExpressions(t):n.createOmittedExpression()}return tB(e,J,Tu)}function q(t,r){if(!(276828160&t.transformFlags))return t;switch(t.kind){case 245:return H(t,!1);case 241:return function(e){return n.updateExpressionStatement(e,tB(e.expression,J,uu))}(t);case 214:return function(e,t){return n.updateParenthesizedExpression(e,tB(e.expression,t?J:z,uu))}(t,r);case 356:return function(e,t){return n.updatePartiallyEmittedExpression(e,tB(e.expression,t?J:z,uu))}(t,r);case 223:if(Vb(t))return function(n,t){return X(n.left)?pU(n,z,e,0,!t):_B(n,z,e)}(t,r);break;case 210:if(lm(t))return function(e){const t=QR(n,e,m,s,o,a),r=tB(De(e.arguments),z,uu),i=!t||r&&cC(r)&&r.text===t.text?r:t;return n.createCallExpression(n.createPropertyAccessExpression(y,n.createIdentifier("import")),void 0,i?[i]:[])}(t);break;case 221:case 222:return function(t,r){if((45===t.operator||46===t.operator)&&AC(t.operand)&&!fd(t.operand)&&!DR(t.operand)&&!kE(t.operand)){const e=$(t.operand);if(e){let a,o=tB(t.operand,z,uu);Kk(t)?o=n.updatePrefixUnaryExpression(t,o):(o=n.updatePostfixUnaryExpression(t,o),r||(a=n.createTempVariable(i),o=n.createAssignment(a,o),MN(o,t)),o=n.createComma(o,n.cloneNode(t.operand)),MN(o,t));for(const n of e)o=V(n,Q(o));return a&&(o=n.createComma(o,a),MN(o,t)),o}}return _B(t,z,e)}(t,r)}return _B(t,z,e)}function z(e){return q(e,!1)}function J(e){return q(e,!0)}function X(e){if(Bb(e,!0))return X(e.left);if(Yk(e))return X(e.expression);if(wk(e))return ce(e.properties,X);if(Ik(e))return ce(e.elements,X);if(Ew(e))return X(e.name);if(bw(e))return X(e.initializer);if(AC(e)){const n=o.getReferencedExportContainer(e);return void 0!==n&&308===n.kind}return!1}function Y(e){switch(e.kind){case 93:case 88:return}return e}function $(e){let t;if(!fd(e)){const r=o.getReferencedImportDeclaration(e)||o.getReferencedValueDeclaration(e);if(r){const i=o.getReferencedExportContainer(e,!1);i&&308===i.kind&&(t=Te(t,n.getDeclarationName(r))),t=Ae(t,h&&h.exportedBindings[PB(r)])}}return t}function Q(e){return void 0===E&&(E=[]),E[KG(e)]=!0,e}}var fV=E({"src/compiler/transformers/module/system.ts"(){Qq()}});function mV(e){const{factory:n,getEmitHelperFactory:t}=e,r=e.getEmitHost(),i=e.getEmitResolver(),a=e.getCompilerOptions(),o=BT(a),s=e.onEmitNode,c=e.onSubstituteNode;let l,d,u;return e.onEmitNode=function(e,n,t){Aw(n)?((kD(n)||WT(a))&&a.importHelpers&&(l=new Map),s(e,n,t),l=void 0):s(e,n,t)},e.onSubstituteNode=function(e,t){return t=c(e,t),l&&AC(t)&&8192&of(t)?function(e){const t=Pc(e);let r=l.get(t);return r||l.set(t,r=n.createUniqueName(t,48)),r}(t):t},e.enableEmitNotification(308),e.enableSubstitution(79),GB(e,(function(r){if(r.isDeclarationFile)return r;if(kD(r)||WT(a)){d=r,u=void 0;let i=function(r){const i=XR(n,t(),r,a);if(i){const e=[],t=n.copyPrologue(r.statements,e);return Te(e,i),Ae(e,rB(r.statements,_,Mu,t)),n.updateSourceFile(r,MN(n.createNodeArray(e),r.statements))}return _B(r,_,e)}(r);return d=void 0,u&&(i=n.updateSourceFile(i,MN(n.createNodeArray(Wp(i.statements.slice(),u)),i.statements))),!kD(r)||ce(i.statements,yu)?i:n.updateSourceFile(i,MN(n.createNodeArray([...i.statements,vR(n)]),i.statements))}return r}));function _(e){switch(e.kind){case 268:return UT(a)>=100?function(e){let t;return Nt.assert(vh(e),"import= for internal module references should be handled in an earlier transformer."),t=Te(t,DA(MN(n.createVariableStatement(void 0,n.createVariableDeclarationList([n.createVariableDeclaration(n.cloneNode(e.name),void 0,void 0,p(e))],o>=2?2:0)),e),e)),t=function(e,t){return db(t,1)&&(e=Te(e,n.createExportDeclaration(void 0,t.isTypeOnly,n.createNamedExports([n.createExportSpecifier(!1,void 0,Pc(t.name))])))),e}(t,e),Ve(t)}(e):void 0;case 274:return function(e){return e.isExportEquals?void 0:e}(e);case 275:return function(e){if(void 0!==a.module&&a.module>5)return e;if(!e.exportClause||!qI(e.exportClause)||!e.moduleSpecifier)return e;const t=e.exportClause.name,r=n.getGeneratedNameForNode(t),i=n.createImportDeclaration(void 0,n.createImportClause(!1,void 0,n.createNamespaceImport(r)),e.moduleSpecifier,e.assertClause);DA(i,e.exportClause);const o=ef(e)?n.createExportDefault(r):n.createExportDeclaration(void 0,!1,n.createNamedExports([n.createExportSpecifier(!1,r,t)]));return DA(o,e),[i,o]}(e)}return e}function p(e){const t=QR(n,e,Nt.checkDefined(d),r,i,a),s=[];if(t&&s.push(t),!u){const e=n.createUniqueName("_createRequire",48),t=n.createImportDeclaration(void 0,n.createImportClause(!1,void 0,n.createNamedImports([n.createImportSpecifier(!1,n.createIdentifier("createRequire"),e)])),n.createStringLiteral("module")),r=n.createUniqueName("__require",48),i=n.createVariableStatement(void 0,n.createVariableDeclarationList([n.createVariableDeclaration(r,void 0,void 0,n.createCallExpression(n.cloneNode(e),void 0,[n.createPropertyAccessExpression(n.createMetaProperty(100,n.createIdentifier("meta")),n.createIdentifier("url"))]))],o>=2?2:0));u=[t,i]}const c=u[1].declarationList.declarations[0].name;return Nt.assertNode(c,AC),n.createCallExpression(n.cloneNode(c),void 0,s)}}var hV=E({"src/compiler/transformers/module/esnextAnd2015.ts"(){Qq()}});function gV(e){const n=e.onSubstituteNode,t=e.onEmitNode,r=mV(e),i=e.onSubstituteNode,a=e.onEmitNode;e.onSubstituteNode=n,e.onEmitNode=t;const o=uV(e),s=e.onSubstituteNode,c=e.onEmitNode;let l;return e.onSubstituteNode=function(e,t){return Aw(t)?(l=t,n(e,t)):l?99===l.impliedNodeFormat?i(e,t):s(e,t):n(e,t)},e.onEmitNode=function(e,n,r){return Aw(n)&&(l=n),l?99===l.impliedNodeFormat?a(e,n,r):c(e,n,r):t(e,n,r)},e.enableSubstitution(308),e.enableEmitNotification(308),function(n){return 308===n.kind?d(n):function(n){return e.factory.createBundle(W(n.sourceFiles,d),n.prepends)}(n)};function d(e){if(e.isDeclarationFile)return e;l=e;const n=(99===e.impliedNodeFormat?r:o)(e);return l=void 0,Nt.assert(Aw(n)),n}}var yV=E({"src/compiler/transformers/module/node.ts"(){Qq()}});function vV(e){return kI(e)||qC(e)||WC(e)||kk(e)||zu(e)||Ju(e)||ek(e)||ZC(e)||JC(e)||zC(e)||wI(e)||HC(e)||jC(e)||Zk(e)||BI(e)||DI(e)||YC(e)||nk(e)||Rk(e)||Eg(e)}function bV(e){return zu(e)||Ju(e)?function(n){const t=function(n){return ub(e)?n.errorModuleName?2===n.accessibility?Vo.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:Vo.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:Vo.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:260===e.parent.kind?n.errorModuleName?2===n.accessibility?Vo.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:Vo.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:Vo.Public_property_0_of_exported_class_has_or_is_using_private_name_1:n.errorModuleName?Vo.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:Vo.Property_0_of_exported_interface_has_or_is_using_private_name_1}(n);return void 0!==t?{diagnosticMessage:t,errorNode:e,typeName:e.name}:void 0}:zC(e)||JC(e)?function(n){const t=function(n){return ub(e)?n.errorModuleName?2===n.accessibility?Vo.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:Vo.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:Vo.Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:260===e.parent.kind?n.errorModuleName?2===n.accessibility?Vo.Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:Vo.Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:Vo.Public_method_0_of_exported_class_has_or_is_using_private_name_1:n.errorModuleName?Vo.Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:Vo.Method_0_of_exported_interface_has_or_is_using_private_name_1}(n);return void 0!==t?{diagnosticMessage:t,errorNode:e,typeName:e.name}:void 0}:EV(e)}function EV(e){return kI(e)||qC(e)||WC(e)||Rk(e)||kk(e)||YC(e)?n:zu(e)||Ju(e)?function(n){let t;return t=175===e.kind?ub(e)?n.errorModuleName?Vo.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:Vo.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:n.errorModuleName?Vo.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:Vo.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:ub(e)?n.errorModuleName?2===n.accessibility?Vo.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:Vo.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:Vo.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:n.errorModuleName?2===n.accessibility?Vo.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:Vo.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:Vo.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1,{diagnosticMessage:t,errorNode:e.name,typeName:e.name}}:ek(e)||ZC(e)||JC(e)||zC(e)||wI(e)||nk(e)?function(n){let t;switch(e.kind){case 177:t=n.errorModuleName?Vo.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:Vo.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 176:t=n.errorModuleName?Vo.Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:Vo.Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 178:t=n.errorModuleName?Vo.Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:Vo.Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 171:case 170:t=ub(e)?n.errorModuleName?2===n.accessibility?Vo.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:Vo.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:Vo.Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:260===e.parent.kind?n.errorModuleName?2===n.accessibility?Vo.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:Vo.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:Vo.Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:n.errorModuleName?Vo.Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:Vo.Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0;break;case 259:t=n.errorModuleName?2===n.accessibility?Vo.Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:Vo.Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:Vo.Return_type_of_exported_function_has_or_is_using_private_name_0;break;default:return Nt.fail("This is unknown kind for signature: "+e.kind)}return{diagnosticMessage:t,errorNode:e.name||e}}:HC(e)?Ec(e,e.parent)&&db(e.parent,8)?n:function(n){const t=function(n){switch(e.parent.kind){case 173:return n.errorModuleName?2===n.accessibility?Vo.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:Vo.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:Vo.Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1;case 177:case 182:return n.errorModuleName?Vo.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:Vo.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;case 176:return n.errorModuleName?Vo.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:Vo.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;case 178:return n.errorModuleName?Vo.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:Vo.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1;case 171:case 170:return ub(e.parent)?n.errorModuleName?2===n.accessibility?Vo.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:Vo.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:Vo.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:260===e.parent.parent.kind?n.errorModuleName?2===n.accessibility?Vo.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:Vo.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:Vo.Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:n.errorModuleName?Vo.Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:Vo.Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;case 259:case 181:return n.errorModuleName?2===n.accessibility?Vo.Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:Vo.Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:Vo.Parameter_0_of_exported_function_has_or_is_using_private_name_1;case 175:case 174:return n.errorModuleName?2===n.accessibility?Vo.Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:Vo.Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:Vo.Parameter_0_of_accessor_has_or_is_using_private_name_1;default:return Nt.fail(`Unknown parent for parameter: ${Nt.formatSyntaxKind(e.parent.kind)}`)}}(n);return void 0!==t?{diagnosticMessage:t,errorNode:e,typeName:e.name}:void 0}:jC(e)?function(){let n;switch(e.parent.kind){case 260:n=Vo.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 261:n=Vo.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 197:n=Vo.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1;break;case 182:case 177:n=Vo.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 176:n=Vo.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 171:case 170:n=ub(e.parent)?Vo.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:260===e.parent.parent.kind?Vo.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:Vo.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;break;case 181:case 259:n=Vo.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 192:n=Vo.Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1;break;case 262:n=Vo.Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1;break;default:return Nt.fail("This is unknown parent for type parameter: "+e.parent.kind)}return{diagnosticMessage:n,errorNode:e,typeName:e.name}}:Zk(e)?function(){let n;return n=RI(e.parent.parent)?yw(e.parent)&&117===e.parent.token?Vo.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:e.parent.parent.name?Vo.extends_clause_of_exported_class_0_has_or_is_using_private_name_1:Vo.extends_clause_of_exported_class_has_or_is_using_private_name_0:Vo.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1,{diagnosticMessage:n,errorNode:e,typeName:Wc(e.parent.parent)}}:BI(e)?function(){return{diagnosticMessage:Vo.Import_declaration_0_is_using_private_name_1,errorNode:e,typeName:e.name}}:DI(e)||Eg(e)?function(n){return{diagnosticMessage:n.errorModuleName?Vo.Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:Vo.Exported_type_alias_0_has_or_is_using_private_name_1,errorNode:Eg(e)?Nt.checkDefined(e.typeExpression):e.type,typeName:Eg(e)?Wc(e):e.name}}:Nt.assertNever(e,`Attempted to set a declaration diagnostic context for unhandled node kind: ${Nt.formatSyntaxKind(e.kind)}`);function n(n){const t=function(n){return 257===e.kind||205===e.kind?n.errorModuleName?2===n.accessibility?Vo.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:Vo.Exported_variable_0_has_or_is_using_name_1_from_private_module_2:Vo.Exported_variable_0_has_or_is_using_private_name_1:169===e.kind||208===e.kind||168===e.kind||166===e.kind&&db(e.parent,8)?ub(e)?n.errorModuleName?2===n.accessibility?Vo.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:Vo.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:Vo.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:260===e.parent.kind||166===e.kind?n.errorModuleName?2===n.accessibility?Vo.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:Vo.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:Vo.Public_property_0_of_exported_class_has_or_is_using_private_name_1:n.errorModuleName?Vo.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:Vo.Property_0_of_exported_interface_has_or_is_using_private_name_1:void 0}(n);return void 0!==t?{diagnosticMessage:t,errorNode:e,typeName:e.name}:void 0}}var TV,xV=E({"src/compiler/transformers/declarations/diagnostics.ts"(){Qq()}});function SV(e,n,t){const r=e.getCompilerOptions();return VV(n,e,pA,r,t?[t]:j(e.getSourceFiles(),Ch),[CV],!1).diagnostics}function AV(e,n){return rt(n.text.substring(e.pos,e.end),"@internal")}function LV(e,n){const t=Dc(e);if(t&&166===t.kind){const r=t.parent.parameters.indexOf(t),i=r>0?t.parent.parameters[r-1]:void 0,a=n.text,o=i?de(Us(a,ks(a,i.end+1,!1,!0)),Bs(a,e.pos)):Us(a,ks(a,e.pos,!1,!0));return o&&o.length&&AV(Ge(o),n)}return!!A(t&&gm(t,n),(e=>AV(e,n)))}function CV(e){const n=()=>Nt.fail("Diagnostic emitted without context");let t,r,a,o,s,c,l=n,d=!0,u=!1,_=!1,p=!1,f=!1;const{factory:m}=e,h=e.getEmitHost(),g={trackSymbol:function(e,n,t){if(262144&e.flags)return!1;const r=R(L.isSymbolAccessible(e,n,t,!0));return w(L.getTypeReferenceDirectivesForSymbol(e,t)),r},reportInaccessibleThisError:function(){(y||v)&&e.addDiagnostic(Hf(y||v,Vo.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,N(),"this"))},reportInaccessibleUniqueSymbolError:function(){(y||v)&&e.addDiagnostic(Hf(y||v,Vo.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,N(),"unique symbol"))},reportCyclicStructureError:function(){(y||v)&&e.addDiagnostic(Hf(y||v,Vo.The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary,N()))},reportPrivateInBaseOfClassExpression:function(n){(y||v)&&e.addDiagnostic(Hf(y||v,Vo.Property_0_of_exported_class_expression_may_not_be_private_or_protected,n))},reportLikelyUnsafeImportRequiredError:function(n){(y||v)&&e.addDiagnostic(Hf(y||v,Vo.The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary,N(),n))},reportTruncationError:function(){(y||v)&&e.addDiagnostic(Hf(y||v,Vo.The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed))},moduleResolverHost:h,trackReferencedAmbientModule:function(e,n){const t=L.getTypeReferenceDirectivesForSymbol(n,67108863);if(S(t))return w(t);const r=Ip(e);E.set(PB(r),r)},trackExternalModuleSymbolOfImportTypeNode:function(e){u||(c||(c=[])).push(e)},reportNonlocalAugmentation:function(n,t,r){var i;const a=null==(i=t.declarations)?void 0:i.find((e=>Ip(e)===n)),o=j(r.declarations,(e=>Ip(e)!==n));if(a&&o)for(const n of o)e.addDiagnostic(iS(Hf(n,Vo.Declaration_augments_declaration_in_another_file_This_cannot_be_serialized),Hf(a,Vo.This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file)))},reportNonSerializableProperty:function(n){(y||v)&&e.addDiagnostic(Hf(y||v,Vo.The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized,n))},reportImportTypeNodeResolutionModeOverride:function(){fv()||!y&&!v||e.addDiagnostic(Hf(y||v,Vo.The_type_of_this_expression_cannot_be_named_without_a_resolution_mode_assertion_which_is_an_unstable_feature_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next))}};let y,v,b,E,T,x;const L=e.getEmitResolver(),C=e.getCompilerOptions(),{noResolve:k,stripInternal:I}=C;return function(i){if(308===i.kind&&i.isDeclarationFile)return i;if(309===i.kind){u=!0,E=new Map,T=new Map;let r=!1;const c=m.createBundle(W(i.sourceFiles,(i=>{if(i.isDeclarationFile)return;if(r=r||i.hasNoDefaultLib,b=i,t=i,a=void 0,s=!1,o=new Map,l=n,p=!1,f=!1,O(i,E),M(i,T),tm(i)||rm(i)){_=!1,d=!1;const n=xh(i)?m.createNodeArray(D(i,!0)):rB(i.statements,ae,Mu);return m.updateSourceFile(i,[m.createModuleDeclaration([m.createModifier(136)],m.createStringLiteral(vv(e.getEmitHost(),i)),m.createModuleBlock(MN(m.createNodeArray(re(n)),i.statements)))],!0,[],[],!1,[])}d=!0;const c=xh(i)?m.createNodeArray(D(i)):rB(i.statements,ae,Mu);return m.updateSourceFile(i,re(c),!0,[],[],!1,[])})),ee(i.prepends,(e=>{if(311===e.kind){const n=kA(e,"dts",I);return r=r||!!n.hasNoDefaultLib,O(n,E),w(W(n.typeReferenceDirectives,(e=>[e.fileName,e.resolutionMode]))),M(n,T),n}return e})));c.syntheticFileReferences=[],c.syntheticTypeReferences=L(),c.syntheticLibReferences=A(),c.hasNoDefaultLib=r;const g=co(mo(ZV(i,h,!0).declarationFilePath)),y=R(c.syntheticFileReferences,g);return E.forEach(y),c}d=!0,p=!1,f=!1,t=i,b=i,l=n,u=!1,_=!1,s=!1,a=void 0,o=new Map,r=void 0,E=O(b,new Map),T=M(b,new Map);const g=[],y=R(g,co(mo(ZV(i,h,!0).declarationFilePath)));let v;if(xh(b))v=m.createNodeArray(D(i)),E.forEach(y),x=j(v,wf);else{const e=rB(i.statements,ae,Mu);v=MN(m.createNodeArray(re(e)),i.statements),E.forEach(y),x=j(v,wf),kD(i)&&(!_||p&&!f)&&(v=MN(m.createNodeArray([...v,vR(m)]),v))}const S=m.updateSourceFile(i,v,!0,g,L(),i.hasNoDefaultLib,A());return S.exportedModulesFromDeclarationEmit=c,S;function A(){return Qe(T.keys(),(e=>({fileName:e,pos:-1,end:-1})))}function L(){return r?ee(Qe(r.keys()),k):[]}function k([e,n]){if(x)for(const n of x)if(BI(n)&&iw(n.moduleReference)){const t=n.moduleReference.expression;if(t_(t)&&t.text===e)return}else if(UI(n)&&cC(n.moduleSpecifier)&&n.moduleSpecifier.text===e)return;return{fileName:e,pos:-1,end:-1,...n?{resolutionMode:n}:void 0}}function R(e,n){return t=>{let r;if(t.isDeclarationFile)r=t.fileName;else{if(u&&G(i.sourceFiles,t))return;const e=ZV(t,h,!0);r=e.declarationFilePath||e.jsFilePath||t.fileName}if(r){const t=eG(C,b,xo(n,h.getCurrentDirectory(),h.getCanonicalFileName),xo(r,h.getCurrentDirectory(),h.getCanonicalFileName),h);if(!Za(t))return void w([[t,void 0]]);let i=Go(n,r,h.getCurrentDirectory(),h.getCanonicalFileName,!1);if(pt(i,"./")&&no(i)&&(i=i.substring(2)),pt(i,"node_modules/")||XP(i))return;e.push({pos:-1,end:-1,fileName:i})}}}};function w(e){if(e){r=r||new Set;for(const n of e)r.add(n)}}function R(n){if(0===n.accessibility){if(n&&n.aliasesToMakeVisible)if(a)for(const e of n.aliasesToMakeVisible)Le(a,e);else a=n.aliasesToMakeVisible}else{const t=l(n);if(t)return t.typeName?e.addDiagnostic(Hf(n.errorNode||t.errorNode,t.diagnosticMessage,tf(t.typeName),n.errorSymbolName,n.errorModuleName)):e.addDiagnostic(Hf(n.errorNode||t.errorNode,t.diagnosticMessage,n.errorSymbolName,n.errorModuleName)),!0}return!1}function N(){return y?Ff(y):v&&Wc(v)?Ff(Wc(v)):v&&XI(v)?v.isExportEquals?"export=":"default":"(Missing)"}function D(e,n){const t=l;l=n=>n.errorNode&&vV(n.errorNode)?EV(n.errorNode)(n):{diagnosticMessage:n.errorModuleName?Vo.Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:Vo.Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit,errorNode:n.errorNode||e};const r=L.getDeclarationStatementsForSourceFile(e,TV,g,n);return l=t,r}function O(e,n){return k||!Cw(e)&&xh(e)||A(e.referencedFiles,(t=>{const r=h.getSourceFileFromReference(e,t);r&&n.set(PB(r),r)})),n}function M(e,n){return A(e.libReferenceDirectives,(e=>{h.getLibFileFromReference(e)&&n.set(In(e.fileName),!0)})),n}function P(e){return 79===e.kind?e:204===e.kind?m.updateArrayBindingPattern(e,rB(e.elements,n,qd)):m.updateObjectBindingPattern(e,rB(e.elements,n,kk));function n(e){return 229===e.kind?e:e.propertyName&&AC(e.propertyName)&&AC(e.name)&&!e.symbol.isReferenced&&!Ty(e.propertyName)?m.updateBindingElement(e,e.dotDotDotToken,void 0,e.propertyName,B(e)?e.initializer:void 0):m.updateBindingElement(e,e.dotDotDotToken,e.propertyName,P(e.name),B(e)?e.initializer:void 0)}}function F(e,n,t){let r;s||(r=l,l=EV(e));const i=m.updateParameterDeclaration(e,function(e,n,t){return pA.createModifiersFromModifierFlags(kV(e,n,void 0))}(e,n),e.dotDotDotToken,P(e.name),L.isOptionalParameter(e)?e.questionToken||m.createToken(57):void 0,V(e,t||e.type,!0),U(e));return s||(l=r),i}function B(e){return function(e){switch(e.kind){case 169:case 168:return!lb(e,8);case 166:case 257:return!0}return!1}(e)&&L.isLiteralConstDeclaration(Dc(e))}function U(e){if(B(e))return L.createLiteralConstValue(Dc(e),g)}function V(e,n,r){if(!r&&lb(e,8))return;if(B(e))return;const i=166===e.kind&&(L.isRequiredInitializedParameter(e)||L.isOptionalUninitializedParameterProperty(e));if(n&&!i)return tB(n,ie,jd);if(!Dc(e))return n?tB(n,ie,jd):m.createKeywordTypeNode(131);if(175===e.kind)return m.createKeywordTypeNode(131);let a;return y=e.name,s||(a=l,l=EV(e)),257===e.kind||205===e.kind?o(L.createTypeOfDeclaration(e,t,TV,g)):166===e.kind||169===e.kind||168===e.kind?WC(e)||!e.initializer?o(L.createTypeOfDeclaration(e,t,TV,g,i)):o(L.createTypeOfDeclaration(e,t,TV,g,i)||L.createTypeOfExpression(e.initializer,t,TV,g)):o(L.createReturnTypeOfSignatureDeclaration(e,t,TV,g));function o(e){return y=void 0,s||(l=a),e||m.createKeywordTypeNode(131)}}function H(e){switch((e=Dc(e)).kind){case 259:case 264:case 261:case 260:case 262:case 263:return!L.isDeclarationVisible(e);case 257:return!K(e);case 268:case 269:case 275:case 274:return!1;case 172:return!0}return!1}function K(e){return!Qk(e)&&(Kd(e.name)?ce(e.name.elements,K):L.isDeclarationVisible(e))}function q(e,n,t){if(lb(e,8))return m.createNodeArray();const r=W(n,(e=>F(e,t)));return r?m.createNodeArray(r,n.hasTrailingComma):m.createNodeArray()}function z(e,n){let t;if(!n){const n=jv(e);n&&(t=[F(n)])}if(QC(e)){let r;if(!n){const n=Uv(e);n&&(r=F(n,void 0,fe(e,L.getAllAccessorDeclarations(e))))}r||(r=m.createParameterDeclaration(void 0,void 0,"value")),t=Te(t,r)}return m.createNodeArray(t||i)}function Y(e,n){return lb(e,8)?void 0:rB(n,ie,jC)}function $(e){return Aw(e)||DI(e)||MI(e)||RI(e)||NI(e)||Ad(e)||nk(e)||Ek(e)}function Q(e,n){R(L.isEntityNameVisible(e,n)),w(L.getTypeReferenceDirectivesForEntityName(e))}function Z(e,n){return Xu(e)&&Xu(n)&&(e.jsDoc=n.jsDoc),XA(e,JA(n))}function ne(n,t){if(t){if(_=_||264!==n.kind&&202!==n.kind,t_(t))if(u){const t=Ev(e.getEmitHost(),L,n);if(t)return m.createStringLiteral(t)}else{const e=L.getSymbolOfExternalModuleSpecifier(t);e&&(c||(c=[])).push(e)}return t}}function te(n){if(void 0!==yH(n))return fv()||e.addDiagnostic(Hf(n,Vo.resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next)),n}function re(e){for(;S(a);){const e=a.shift();if(!Nf(e))return Nt.fail(`Late replaced statement was found which is not handled by the declaration transformer!: ${Nt.formatSyntaxKind(e.kind)}`);const n=d;d=e.parent&&Aw(e.parent)&&!(kD(e.parent)&&u);const t=se(e);d=n,o.set(PB(e),t)}return rB(e,(function(e){if(Nf(e)){const n=PB(e);if(o.has(n)){const t=o.get(n);return o.delete(n),t&&((gn(t)?ce(t,gu):gu(t))&&(p=!0),Aw(e.parent)&&(gn(t)?ce(t,yu):yu(t))&&(_=!0)),t}}return e}),Mu)}function ie(n){if(ue(n))return;if(Nu(n)){if(H(n))return;if(ky(n)&&!L.isLateBound(Dc(n)))return}if(Ad(n)&&L.isImplementationOfOverload(n))return;if(cI(n))return;let r;$(n)&&(r=t,t=n);const i=l,a=vV(n),o=s;let c=(184===n.kind||197===n.kind)&&262!==n.parent.kind;if((JC(n)||zC(n))&&lb(n,8)){if(n.symbol&&n.symbol.declarations&&n.symbol.declarations[0]!==n)return;return u(m.createPropertyDeclaration(pe(n),n.name,void 0,void 0,void 0))}if(a&&!s&&(l=EV(n)),ok(n)&&Q(n.exprName,t),c&&(s=!0),function(e){switch(e.kind){case 177:case 173:case 171:case 174:case 175:case 169:case 168:case 170:case 176:case 178:case 257:case 165:case 230:case 180:case 191:case 181:case 182:case 202:return!0}return!1}(n))switch(n.kind){case 230:{(Td(n.expression)||Hb(n.expression))&&Q(n.expression,t);const r=_B(n,ie,e);return u(m.updateExpressionWithTypeArguments(r,r.expression,r.typeArguments))}case 180:{Q(n.typeName,t);const r=_B(n,ie,e);return u(m.updateTypeReferenceNode(r,r.typeName,r.typeArguments))}case 177:return u(m.updateConstructSignature(n,Y(n,n.typeParameters),q(n,n.parameters),V(n,n.type)));case 173:return u(m.createConstructorDeclaration(pe(n),q(n,n.parameters,0),void 0));case 171:return LC(n.name)?u(void 0):u(m.createMethodDeclaration(pe(n),void 0,n.name,n.questionToken,Y(n,n.typeParameters),q(n,n.parameters),V(n,n.type),void 0));case 174:{if(LC(n.name))return u(void 0);const e=fe(n,L.getAllAccessorDeclarations(n));return u(m.updateGetAccessorDeclaration(n,pe(n),n.name,z(n,lb(n,8)),V(n,e),void 0))}case 175:return LC(n.name)?u(void 0):u(m.updateSetAccessorDeclaration(n,pe(n),n.name,z(n,lb(n,8)),void 0));case 169:return LC(n.name)?u(void 0):u(m.updatePropertyDeclaration(n,pe(n),n.name,n.questionToken,V(n,n.type),U(n)));case 168:return LC(n.name)?u(void 0):u(m.updatePropertySignature(n,pe(n),n.name,n.questionToken,V(n,n.type)));case 170:return LC(n.name)?u(void 0):u(m.updateMethodSignature(n,pe(n),n.name,n.questionToken,Y(n,n.typeParameters),q(n,n.parameters),V(n,n.type)));case 176:return u(m.updateCallSignature(n,Y(n,n.typeParameters),q(n,n.parameters),V(n,n.type)));case 178:return u(m.updateIndexSignature(n,pe(n),q(n,n.parameters),tB(n.type,ie,jd)||m.createKeywordTypeNode(131)));case 257:return Kd(n.name)?le(n.name):(c=!0,s=!0,u(m.updateVariableDeclaration(n,n.name,void 0,V(n,n.type),U(n))));case 165:return 171===(d=n).parent.kind&&lb(d.parent,8)&&(n.default||n.constraint)?u(m.updateTypeParameterDeclaration(n,n.modifiers,n.name,void 0,void 0)):u(_B(n,ie,e));case 191:{const e=tB(n.checkType,ie,jd),r=tB(n.extendsType,ie,jd),i=t;t=n.trueType;const a=tB(n.trueType,ie,jd);t=i;const o=tB(n.falseType,ie,jd);return Nt.assert(e),Nt.assert(r),Nt.assert(a),Nt.assert(o),u(m.updateConditionalTypeNode(n,e,r,a,o))}case 181:return u(m.updateFunctionTypeNode(n,rB(n.typeParameters,ie,jC),q(n,n.parameters),Nt.checkDefined(tB(n.type,ie,jd))));case 182:return u(m.updateConstructorTypeNode(n,pe(n),rB(n.typeParameters,ie,jC),q(n,n.parameters),Nt.checkDefined(tB(n.type,ie,jd))));case 202:return um(n)?u(m.updateImportTypeNode(n,m.updateLiteralTypeNode(n.argument,ne(n,n.argument.literal)),n.assertions,n.qualifier,rB(n.typeArguments,ie,jd),n.isTypeOf)):u(n);default:Nt.assertNever(n,`Attempted to process unhandled node kind: ${Nt.formatSyntaxKind(n.kind)}`)}var d;return lk(n)&&bs(b,n.pos).line===bs(b,n.end).line&&GA(n,1),u(_B(n,ie,e));function u(e){return e&&a&&ky(n)&&function(e){let n;s||(n=l,l=bV(e)),y=e.name,Nt.assert(L.isLateBound(Dc(e)));Q(e.name.expression,t),s||(l=n),y=void 0}(n),$(n)&&(t=r),a&&!s&&(l=i),c&&(s=o),e===n?e:e&&DA(Z(e,n),n)}}function ae(e){if(!function(e){switch(e.kind){case 259:case 264:case 268:case 261:case 260:case 262:case 263:case 240:case 269:case 275:case 274:return!0}return!1}(e))return;if(ue(e))return;switch(e.kind){case 275:return Aw(e.parent)&&(_=!0),f=!0,m.updateExportDeclaration(e,e.modifiers,e.isTypeOnly,e.exportClause,ne(e,e.moduleSpecifier),yH(e.assertClause)?e.assertClause:void 0);case 274:if(Aw(e.parent)&&(_=!0),f=!0,79===e.expression.kind)return e;{const n=m.createUniqueName("_default",16);l=()=>({diagnosticMessage:Vo.Default_export_of_the_module_has_or_is_using_private_name_0,errorNode:e}),v=e;const t=m.createVariableDeclaration(n,void 0,L.createTypeOfExpression(e.expression,e,TV,g),void 0);v=void 0;const r=m.createVariableStatement(d?[m.createModifier(136)]:[],m.createVariableDeclarationList([t],2));return Z(r,e),FA(e),[r,m.updateExportAssignment(e,e.modifiers,n)]}}const n=se(e);return o.set(PB(e),n),e}function oe(e){if(BI(e)||lb(e,1024)||!PN(e))return e;const n=m.createModifiersFromModifierFlags(258046&Tb(e));return m.updateModifiers(e,n)}function se(e){if(a)for(;at(a,e););if(ue(e))return;switch(e.kind){case 268:return function(e){if(L.isDeclarationVisible(e)){if(280===e.moduleReference.kind){const n=bh(e);return m.updateImportEqualsDeclaration(e,e.modifiers,e.isTypeOnly,e.name,m.updateExternalModuleReference(e.moduleReference,ne(e,n)))}{const n=l;return l=EV(e),Q(e.moduleReference,t),l=n,e}}}(e);case 269:return function(e){if(!e.importClause)return m.updateImportDeclaration(e,e.modifiers,e.importClause,ne(e,e.moduleSpecifier),te(e.assertClause));const n=e.importClause&&e.importClause.name&&L.isDeclarationVisible(e.importClause)?e.importClause.name:void 0;if(!e.importClause.namedBindings)return n&&m.updateImportDeclaration(e,e.modifiers,m.updateImportClause(e.importClause,e.importClause.isTypeOnly,n,void 0),ne(e,e.moduleSpecifier),te(e.assertClause));if(271===e.importClause.namedBindings.kind){const t=L.isDeclarationVisible(e.importClause.namedBindings)?e.importClause.namedBindings:void 0;return n||t?m.updateImportDeclaration(e,e.modifiers,m.updateImportClause(e.importClause,e.importClause.isTypeOnly,n,t),ne(e,e.moduleSpecifier),te(e.assertClause)):void 0}const t=ee(e.importClause.namedBindings.elements,(e=>L.isDeclarationVisible(e)?e:void 0));return t&&t.length||n?m.updateImportDeclaration(e,e.modifiers,m.updateImportClause(e.importClause,e.importClause.isTypeOnly,n,t&&t.length?m.updateNamedImports(e.importClause.namedBindings,t):void 0),ne(e,e.moduleSpecifier),te(e.assertClause)):L.isImportRequiredByAugmentation(e)?m.updateImportDeclaration(e,e.modifiers,void 0,ne(e,e.moduleSpecifier),te(e.assertClause)):void 0}(e)}if(Nu(e)&&H(e))return;if(Ad(e)&&L.isImplementationOfOverload(e))return;let n;$(e)&&(n=t,t=e);const r=vV(e),i=l;r&&(l=EV(e));const s=d;switch(e.kind){case 262:{d=!1;const n=c(m.updateTypeAliasDeclaration(e,pe(e),e.name,rB(e.typeParameters,ie,jC),Nt.checkDefined(tB(e.type,ie,jd))));return d=s,n}case 261:return c(m.updateInterfaceDeclaration(e,pe(e),e.name,Y(e,e.typeParameters),me(e.heritageClauses),rB(e.members,ie,Bd)));case 259:{const n=c(m.updateFunctionDeclaration(e,pe(e),void 0,e.name,Y(e,e.typeParameters),q(e,e.parameters),V(e,e.type),void 0));if(n&&L.isExpandoFunctionDeclaration(e)&&function(e){var n;if(e.body)return!0;const t=null==(n=e.symbol.declarations)?void 0:n.filter((e=>wI(e)&&!e.body));return!t||t.indexOf(e)===t.length-1}(e)){const r=L.getPropertiesOfContainerFunction(e),a=KN.createModuleDeclaration(void 0,n.name||m.createIdentifier("_default"),m.createModuleBlock([]),16);xS(a,t),a.locals=op(r),a.symbol=r[0].parent;const o=[];let s=ee(r,(e=>{if(!e.valueDeclaration||!Rk(e.valueDeclaration))return;l=EV(e.valueDeclaration);const n=L.createTypeOfDeclaration(e.valueDeclaration,a,TV,g);l=i;const t=Mc(e.escapedName),r=by(t),s=r?m.getGeneratedNameForNode(e.valueDeclaration):m.createIdentifier(t);r&&o.push([s,t]);const c=m.createVariableDeclaration(s,void 0,n,void 0);return m.createVariableStatement(r?void 0:[m.createToken(93)],m.createVariableDeclarationList([c]))}));o.length?s.push(m.createExportDeclaration(void 0,!1,m.createNamedExports(W(o,(([e,n])=>m.createExportSpecifier(!1,e,n)))))):s=ee(s,(e=>m.updateModifiers(e,0)));const c=m.createModuleDeclaration(pe(e),e.name,m.createModuleBlock(s),16);if(!lb(n,1024))return[n,c];const d=m.createModifiersFromModifierFlags(-1026&Tb(n)|2),u=m.updateFunctionDeclaration(n,d,void 0,n.name,n.typeParameters,n.parameters,n.type,void 0),p=m.updateModuleDeclaration(c,d,c.name,c.body),h=m.createExportAssignment(void 0,!1,c.name);return Aw(e.parent)&&(_=!0),f=!0,[u,p,h]}return n}case 264:{d=!1;const n=e.body;if(n&&265===n.kind){const t=p,r=f;f=!1,p=!1;let i=re(rB(n.statements,ae,Mu));16777216&e.flags&&(p=!1),bf(e)||ce(i,_e)||f||(i=p?m.createNodeArray([...i,vR(m)]):rB(i,oe,Mu));const a=m.updateModuleBlock(n,i);d=s,p=t,f=r;const o=pe(e);return c(m.updateModuleDeclaration(e,o,Ef(e)?ne(e,e.name):e.name,a))}{d=s;const t=pe(e);d=!1,tB(n,ae);const r=PB(n),i=o.get(r);return o.delete(r),c(m.updateModuleDeclaration(e,t,e.name,i))}}case 260:{y=e.name,v=e;const n=m.createNodeArray(pe(e)),t=Y(e,e.typeParameters),r=Bv(e);let i;if(r){const e=l;i=be(X(r.parameters,(e=>{if(db(e,16476)&&!ue(e))return l=EV(e),79===e.name.kind?Z(m.createPropertyDeclaration(pe(e),e.name,e.questionToken,V(e,e.type),U(e)),e):function n(t){let r;for(const i of t.elements)Qk(i)||(Kd(i.name)&&(r=de(r,n(i.name))),r=r||[],r.push(m.createPropertyDeclaration(pe(e),i.name,void 0,V(i,void 0),void 0)));return r}(e.name)}))),l=e}const a=de(de(ce(e.members,(e=>!!e.name&&LC(e.name)))?[m.createPropertyDeclaration(void 0,m.createPrivateIdentifier("#private"),void 0,void 0,void 0)]:void 0,i),rB(e.members,ie,Nd)),o=m.createNodeArray(a),s=ly(e);if(s&&!Hb(s.expression)&&104!==s.expression.kind){const r=e.name?Mc(e.name.escapedText):"default",i=m.createUniqueName(`${r}_base`,16);l=()=>({diagnosticMessage:Vo.extends_clause_of_exported_class_0_has_or_is_using_private_name_1,errorNode:s,typeName:e.name});const a=m.createVariableDeclaration(i,void 0,L.createTypeOfExpression(s.expression,e,TV,g),void 0),u=m.createVariableStatement(d?[m.createModifier(136)]:[],m.createVariableDeclarationList([a],2)),_=m.createNodeArray(W(e.heritageClauses,(e=>{if(94===e.token){const n=l;l=EV(e.types[0]);const t=m.updateHeritageClause(e,W(e.types,(e=>m.updateExpressionWithTypeArguments(e,i,rB(e.typeArguments,ie,jd)))));return l=n,t}return m.updateHeritageClause(e,rB(m.createNodeArray(j(e.types,(e=>Hb(e.expression)||104===e.expression.kind))),ie,Zk))})));return[u,c(m.updateClassDeclaration(e,n,e.name,t,_,o))]}{const r=me(e.heritageClauses);return c(m.updateClassDeclaration(e,n,e.name,t,r,o))}}case 240:return c(function(e){if(!A(e.declarationList.declarations,K))return;const n=rB(e.declarationList.declarations,ie,kI);return S(n)?m.updateVariableStatement(e,m.createNodeArray(pe(e)),m.updateVariableDeclarationList(e.declarationList,n)):void 0}(e));case 263:return c(m.updateEnumDeclaration(e,m.createNodeArray(pe(e)),e.name,m.createNodeArray(ee(e.members,(e=>{if(ue(e))return;const n=L.getConstantValue(e);return Z(m.updateEnumMember(e,e.name,void 0!==n?"string"==typeof n?m.createStringLiteral(n):m.createNumericLiteral(n):void 0),e)})))))}return Nt.assertNever(e,`Unhandled top-level node in declaration emit: ${Nt.formatSyntaxKind(e.kind)}`);function c(a){return $(e)&&(t=n),r&&(l=i),264===e.kind&&(d=s),a===e?a:(v=void 0,y=void 0,a&&DA(Z(a,e),e))}}function le(e){return J(ee(e.elements,(e=>function(e){if(229!==e.kind&&e.name){if(!K(e))return;return Kd(e.name)?le(e.name):m.createVariableDeclaration(e.name,void 0,V(e,void 0),void 0)}}(e))))}function ue(e){return!!I&&!!e&&LV(e,b)}function _e(e){return XI(e)||YI(e)}function pe(e){const n=Tb(e),t=function(e){let n=241147,t=d&&!function(e){return 261===e.kind}(e)?2:0;const r=308===e.parent.kind;return(!r||u&&r&&kD(e.parent))&&(n^=2,t=0),kV(e,n,t)}(e);return n===t?iB(e.modifiers,(e=>En(e,Ed)),Ed):m.createModifiersFromModifierFlags(t)}function fe(e,n){let t=IV(e);return t||e===n.firstAccessor||(t=IV(n.firstAccessor),l=EV(n.firstAccessor)),!t&&n.secondAccessor&&e!==n.secondAccessor&&(t=IV(n.secondAccessor),l=EV(n.secondAccessor)),t}function me(e){return m.createNodeArray(j(W(e,(e=>m.updateHeritageClause(e,rB(m.createNodeArray(j(e.types,(n=>Hb(n.expression)||94===e.token&&104===n.expression.kind))),ie,Zk)))),(e=>e.types&&!!e.types.length)))}}function kV(e,n=258043,t=0){let r=Tb(e)&n|t;return 1024&r&&!(1&r)&&(r^=1),1024&r&&2&r&&(r^=2),r}function IV(e){if(e)return 174===e.kind?e.type:e.parameters.length>0?e.parameters[0].type:void 0}var wV,RV,NV=E({"src/compiler/transformers/declarations.ts"(){Qq(),jG(),TV=531469}});function DV(e,n,t){return{scriptTransformers:OV(e,n,t),declarationTransformers:MV(n)}}function OV(e,n,t){if(t)return i;const r=BT(e),a=UT(e),o=sx(e),s=[];return Ae(s,n&&W(n.before,FV)),s.push(IU),e.experimentalDecorators?s.push(MU):(r<99||!o)&&s.push(FU),s.push(RU),_x(e)&&s.push(ZU),r<99&&s.push(YU),r<8&&s.push(JU),r<7&&s.push(qU),r<6&&s.push(KU),r<5&&s.push(jU),r<4&&s.push(BU),r<3&&s.push(nV),r<2&&(s.push(iV),s.push(cV)),s.push(function(e){switch(e){case 99:case 7:case 6:case 5:return mV;case 4:return pV;case 100:case 199:return gV;default:return uV}}(a)),r<1&&s.push(oV),Ae(s,n&&W(n.after,FV)),s}function MV(e){const n=[];return n.push(CV),Ae(n,e&&W(e.afterDeclarations,GV)),n}function PV(e,n){return t=>{const r=e(t);return"function"==typeof r?n(t,r):function(e){return n=>Lw(n)?e.transformBundle(n):e.transformSourceFile(n)}(r)}}function FV(e){return PV(e,GB)}function GV(e){return PV(e,((e,n)=>n))}function BV(e,n){return n}function UV(e,n,t){t(e,n)}function VV(e,n,t,r,i,a,o){var s,c;const l=new Array(361);let d,u,_,p,f,m=0,h=[],g=[],y=[],v=[],b=0,E=!1,T=[],x=0,S=BV,A=UV,L=0;const C=[],k={factory:t,getCompilerOptions:()=>r,getEmitResolver:()=>e,getEmitHost:()=>n,getEmitHelperFactory:Rn((()=>eC(k))),startLexicalEnvironment:function(){Nt.assert(L>0,"Cannot modify the lexical environment during initialization."),Nt.assert(L<2,"Cannot modify the lexical environment after transformation has completed."),Nt.assert(!E,"Lexical environment is suspended."),h[b]=d,g[b]=u,y[b]=_,v[b]=m,b++,d=void 0,u=void 0,_=void 0,m=0},suspendLexicalEnvironment:function(){Nt.assert(L>0,"Cannot modify the lexical environment during initialization."),Nt.assert(L<2,"Cannot modify the lexical environment after transformation has completed."),Nt.assert(!E,"Lexical environment is already suspended."),E=!0},resumeLexicalEnvironment:function(){Nt.assert(L>0,"Cannot modify the lexical environment during initialization."),Nt.assert(L<2,"Cannot modify the lexical environment after transformation has completed."),Nt.assert(E,"Lexical environment is not suspended."),E=!1},endLexicalEnvironment:function(){let e;if(Nt.assert(L>0,"Cannot modify the lexical environment during initialization."),Nt.assert(L<2,"Cannot modify the lexical environment after transformation has completed."),Nt.assert(!E,"Lexical environment is suspended."),d||u||_){if(u&&(e=[...u]),d){const n=t.createVariableStatement(void 0,t.createVariableDeclarationList(d));GA(n,2097152),e?e.push(n):e=[n]}_&&(e=e?[...e,..._]:[..._])}return b--,d=h[b],u=g[b],_=y[b],m=v[b],0===b&&(h=[],g=[],y=[],v=[]),e},setLexicalEnvironmentFlags:function(e,n){m=n?m|e:m&~e},getLexicalEnvironmentFlags:function(){return m},hoistVariableDeclaration:function(e){Nt.assert(L>0,"Cannot modify the lexical environment during initialization."),Nt.assert(L<2,"Cannot modify the lexical environment after transformation has completed.");const n=GA(t.createVariableDeclaration(e),128);d?d.push(n):d=[n],1&m&&(m|=2)},hoistFunctionDeclaration:function(e){Nt.assert(L>0,"Cannot modify the lexical environment during initialization."),Nt.assert(L<2,"Cannot modify the lexical environment after transformation has completed."),GA(e,2097152),u?u.push(e):u=[e]},addInitializationStatement:function(e){Nt.assert(L>0,"Cannot modify the lexical environment during initialization."),Nt.assert(L<2,"Cannot modify the lexical environment after transformation has completed."),GA(e,2097152),_?_.push(e):_=[e]},startBlockScope:function(){Nt.assert(L>0,"Cannot start a block scope during initialization."),Nt.assert(L<2,"Cannot start a block scope after transformation has completed."),T[x]=p,x++,p=void 0},endBlockScope:function(){Nt.assert(L>0,"Cannot end a block scope during initialization."),Nt.assert(L<2,"Cannot end a block scope after transformation has completed.");const e=ce(p)?[t.createVariableStatement(void 0,t.createVariableDeclarationList(p.map((e=>t.createVariableDeclaration(e))),1))]:void 0;return x--,p=T[x],0===x&&(T=[]),e},addBlockScopedVariable:function(e){Nt.assert(x>0,"Cannot add a block scoped variable outside of an iteration body."),(p||(p=[])).push(e)},requestEmitHelper:function e(n){if(Nt.assert(L>0,"Cannot modify the transformation context during initialization."),Nt.assert(L<2,"Cannot modify the transformation context after transformation has completed."),Nt.assert(!n.scoped,"Cannot request a scoped emit helper."),n.dependencies)for(const t of n.dependencies)e(t);f=Te(f,n)},readEmitHelpers:function(){Nt.assert(L>0,"Cannot modify the transformation context during initialization."),Nt.assert(L<2,"Cannot modify the transformation context after transformation has completed.");const e=f;return f=void 0,e},enableSubstitution:function(e){Nt.assert(L<2,"Cannot modify the transformation context after transformation has completed."),l[e]|=1},enableEmitNotification:function(e){Nt.assert(L<2,"Cannot modify the transformation context after transformation has completed."),l[e]|=2},isSubstitutionEnabled:D,isEmitNotificationEnabled:O,get onSubstituteNode(){return S},set onSubstituteNode(e){Nt.assert(L<1,"Cannot modify transformation hooks after initialization has completed."),Nt.assert(void 0!==e,"Value must not be 'undefined'"),S=e},get onEmitNode(){return A},set onEmitNode(e){Nt.assert(L<1,"Cannot modify transformation hooks after initialization has completed."),Nt.assert(void 0!==e,"Value must not be 'undefined'"),A=e},addDiagnostic(e){C.push(e)}};for(const e of i)PA(Ip(Dc(e)));kr("beforeTransform");const I=a.map((e=>e(k))),w=e=>{for(const n of I)e=n(e);return e};L=1;const R=[];for(const e of i)null==(s=Vr)||s.push(Vr.Phase.Emit,"transformNodes",308===e.kind?{path:e.path}:{kind:e.kind,pos:e.pos,end:e.end}),R.push((o?w:N)(e)),null==(c=Vr)||c.pop();return L=2,kr("afterTransform"),Ir("transformTime","beforeTransform","afterTransform"),{transformed:R,substituteNode:function(e,n){return Nt.assert(L<3,"Cannot substitute a node after the result is disposed."),n&&D(n)&&S(e,n)||n},emitNodeWithNotification:function(e,n,t){Nt.assert(L<3,"Cannot invoke TransformationResult callbacks after the result is disposed."),n&&(O(n)?A(e,n,t):t(e,n))},isEmitNotificationEnabled:O,dispose:function(){if(L<3){for(const e of i)PA(Ip(Dc(e)));d=void 0,h=void 0,u=void 0,g=void 0,S=void 0,A=void 0,f=void 0,L=3}},diagnostics:C};function N(e){return!e||Aw(e)&&e.isDeclarationFile?e:w(e)}function D(e){return 0!=(1&l[e.kind])&&0==(8&of(e))}function O(e){return 0!=(2&l[e.kind])||0!=(4&of(e))}}var jV,HV,KV,WV,qV,zV,JV=E({"src/compiler/transformer.ts"(){Qq(),_a(),wV={scriptTransformers:i,declarationTransformers:i},RV={factory:pA,getCompilerOptions:()=>({}),getEmitResolver:wn,getEmitHost:wn,getEmitHelperFactory:wn,startLexicalEnvironment:xn,resumeLexicalEnvironment:xn,suspendLexicalEnvironment:xn,endLexicalEnvironment:Ln,setLexicalEnvironmentFlags:xn,getLexicalEnvironmentFlags:()=>0,hoistVariableDeclaration:xn,hoistFunctionDeclaration:xn,addInitializationStatement:xn,startBlockScope:xn,endBlockScope:Ln,addBlockScopedVariable:xn,requestEmitHelper:xn,readEmitHelpers:wn,enableSubstitution:xn,enableEmitNotification:xn,isSubstitutionEnabled:wn,isEmitNotificationEnabled:wn,onSubstituteNode:BV,onEmitNode:UV,addDiagnostic:xn}}});function XV(e){return to(e,".tsbuildinfo")}function YV(e,n,t,r=!1,i,a){const o=gn(t)?t:wv(e,t,r),s=e.getCompilerOptions();if(kv(s)){const t=e.getPrependNodes();if(o.length||t.length){const i=pA.createBundle(o,t),a=n(ZV(i,e,r),i);if(a)return a}}else{if(!i)for(const t of o){const i=n(ZV(t,e,r),t);if(i)return i}if(a){const e=$V(s);if(e)return n({buildInfoPath:e},void 0)}}}function $V(e){const n=e.configFilePath;if(!ix(e))return;if(e.tsBuildInfoFile)return e.tsBuildInfoFile;const t=kv(e);let r;if(t)r=Hx(t);else{if(!n)return;const t=Hx(n);r=e.outDir?e.rootDir?yo(e.outDir,Mo(e.rootDir,t,!0)):go(e.outDir,lo(t)):t}return r+".tsbuildinfo"}function QV(e,n){const t=kv(e),r=e.emitDeclarationOnly?void 0:t,i=r&&ej(r,e),a=n||tx(e)?Hx(t)+".d.ts":void 0;return{jsFilePath:r,sourceMapFilePath:i,declarationFilePath:a,declarationMapPath:a&&XT(e)?a+".map":void 0,buildInfoPath:$V(e)}}function ZV(e,n,t){const r=n.getCompilerOptions();if(309===e.kind)return QV(r,t);{const i=xv(e.fileName,n,nj(e.fileName,r)),a=rm(e),o=a&&0===Ro(e.fileName,i,n.getCurrentDirectory(),!n.useCaseSensitiveFileNames()),s=r.emitDeclarationOnly||o?void 0:i,c=!s||rm(e)?void 0:ej(s,r),l=t||tx(r)&&!a?Sv(e.fileName,n):void 0;return{jsFilePath:s,sourceMapFilePath:c,declarationFilePath:l,declarationMapPath:l&&XT(r)?l+".map":void 0,buildInfoPath:void 0}}}function ej(e,n){return n.sourceMap&&!n.inlineSourceMap?e+".map":void 0}function nj(e,n){return to(e,".json")?".json":1===n.jsx&&ro(e,[".jsx",".tsx"])?".jsx":ro(e,[".mts",".mjs"])?".mjs":ro(e,[".cts",".cjs"])?".cjs":".js"}function tj(e,n,t,r,i){return r?yo(r,Mo(i?i():lj(n,t),e,t)):e}function rj(e,n,t,r){return qx(tj(e,n,t,n.options.declarationDir||n.options.outDir,r),Lv(e))}function ij(e,n,t,r){if(n.options.emitDeclarationOnly)return;const i=to(e,".json"),a=qx(tj(e,n,t,n.options.outDir,r),nj(e,n.options));return i&&0===Ro(e,a,Nt.checkDefined(n.options.configFilePath),t)?void 0:a}function aj(){let e;return{addOutput:function(n){n&&(e||(e=[])).push(n)},getOutputs:function(){return e||i}}}function oj(e,n){const{jsFilePath:t,sourceMapFilePath:r,declarationFilePath:i,declarationMapPath:a,buildInfoPath:o}=QV(e.options,!1);n(t),n(r),n(i),n(a),n(o)}function sj(e,n,t,r,i){if(ND(n))return;const a=ij(n,e,t,i);if(r(a),!to(n,".json")&&(a&&e.options.sourceMap&&r(`${a}.map`),tx(e.options))){const a=rj(n,e,t,i);r(a),e.options.declarationMap&&r(`${a}.map`)}}function cj(e,n,t,r,i){let a;return e.rootDir?(a=bo(e.rootDir,t),null==i||i(e.rootDir)):e.composite&&e.configFilePath?(a=co(mo(e.configFilePath)),null==i||i(a)):a=Zj(n(),t,r),a&&a[a.length-1]!==ja&&(a+=ja),a}function lj({options:e,fileNames:n},t){return cj(e,(()=>j(n,(n=>!(e.noEmitForJsFiles&&ro(n,X_)||ND(n))))),co(mo(Nt.checkDefined(e.configFilePath))),lt(!t))}function dj(e,n){const{addOutput:t,getOutputs:r}=aj();if(kv(e.options))oj(e,t);else{const r=Rn((()=>lj(e,n)));for(const i of e.fileNames)sj(e,i,n,t,r);t($V(e.options))}return r()}function uj(e,n,t){n=Eo(n),Nt.assert(G(e.fileNames,n),"Expected fileName to be present in command line");const{addOutput:r,getOutputs:i}=aj();return kv(e.options)?oj(e,r):sj(e,n,t,r),i()}function _j(e,n){if(kv(e.options)){const{jsFilePath:n,declarationFilePath:t}=QV(e.options,!1);return Nt.checkDefined(n||t,`project ${e.options.configFilePath} expected to have at least one output`)}const t=Rn((()=>lj(e,n)));for(const r of e.fileNames){if(ND(r))continue;const i=ij(r,e,n,t);if(i)return i;if(!to(r,".json")&&tx(e.options))return rj(r,e,n,t)}return $V(e.options)||Nt.fail(`project ${e.options.configFilePath} expected to have at least one output`)}function pj(e,n,t,{scriptTransformers:r,declarationTransformers:i},a,o,s){var c,l=n.getCompilerOptions(),d=l.sourceMap||l.inlineSourceMap||XT(l)?[]:void 0,u=l.listEmittedFiles?[]:void 0,_=tv(),p=cE(l),f=mv(p),{enter:m,exit:h}=Cr("printTime","beforePrint","afterPrint"),g=!1;return m(),YV(n,(function({jsFilePath:o,sourceMapFilePath:d,declarationFilePath:p,declarationMapPath:f,buildInfoPath:m},h){var b,E,T,x,A,L;let C;function k(e){return Lo(Mo(C,e,n.getCanonicalFileName))}m&&h&&Lw(h)&&(C=co(bo(m,n.getCurrentDirectory())),c={commonSourceDirectory:k(n.getCommonSourceDirectory()),sourceFiles:h.sourceFiles.map((e=>k(bo(e.fileName,n.getCurrentDirectory()))))}),null==(b=Vr)||b.push(Vr.Phase.Emit,"emitJsFileOrBundle",{jsFilePath:o}),function(t,i,o,s){if(!t||a||!i)return;if(n.isEmitBlocked(i)||l.noEmit)return void(g=!0);const d=VV(e,n,pA,l,[t],r,!1),u=yj({removeComments:l.removeComments,newLine:l.newLine,noEmitHelpers:l.noEmitHelpers,module:l.module,target:l.target,sourceMap:l.sourceMap,inlineSourceMap:l.inlineSourceMap,inlineSources:l.inlineSources,extendedDiagnostics:l.extendedDiagnostics,writeBundleFileInfo:!!c,relativeToBuildInfo:s},{hasGlobalName:e.hasGlobalName,onEmitNode:d.emitNodeWithNotification,isEmitNotificationEnabled:d.isEmitNotificationEnabled,substituteNode:d.substituteNode});Nt.assert(1===d.transformed.length,"Should only see one output from the transform"),v(i,o,d,u,l),d.dispose(),c&&(c.js=u.bundleFileInfo)}(h,o,d,k),null==(E=Vr)||E.pop(),null==(T=Vr)||T.push(Vr.Phase.Emit,"emitDeclarationFileOrBundle",{declarationFilePath:p}),function(t,r,o,d){if(!t||0===a)return;if(!r)return void((a||l.emitDeclarationOnly)&&(g=!0));const u=Aw(t)?[t]:t.sourceFiles,p=s?u:j(u,Ch),f=kv(l)?[pA.createBundle(p,Aw(t)?void 0:t.prepends)]:p;a&&!tx(l)&&p.forEach(y);const m=VV(e,n,pA,l,f,i,!1);if(S(m.diagnostics))for(const e of m.diagnostics)_.add(e);const h={removeComments:l.removeComments,newLine:l.newLine,noEmitHelpers:!0,module:l.module,target:l.target,sourceMap:!s&&l.declarationMap,inlineSourceMap:l.inlineSourceMap,extendedDiagnostics:l.extendedDiagnostics,onlyPrintJsDocStyle:!0,writeBundleFileInfo:!!c,recordInternalSection:!!c,relativeToBuildInfo:d},b=yj(h,{hasGlobalName:e.hasGlobalName,onEmitNode:m.emitNodeWithNotification,isEmitNotificationEnabled:m.isEmitNotificationEnabled,substituteNode:m.substituteNode}),E=!!m.diagnostics&&!!m.diagnostics.length||!!n.isEmitBlocked(r)||!!l.noEmit;g=g||E,(!E||s)&&(Nt.assert(1===m.transformed.length,"Should only see one output from the decl transform"),v(r,o,m,b,{sourceMap:h.sourceMap,sourceRoot:l.sourceRoot,mapRoot:l.mapRoot,extendedDiagnostics:l.extendedDiagnostics})),m.dispose(),c&&(c.dts=b.bundleFileInfo)}(h,p,f,k),null==(x=Vr)||x.pop(),null==(A=Vr)||A.push(Vr.Phase.Emit,"emitBuildInfo",{buildInfoPath:m}),function(e,r){if(!r||t||g)return;if(n.isEmitBlocked(r))return void(g=!0);const i=n.getBuildInfo(e)||fj(void 0,e);Ov(n,_,r,mj(i),!1,void 0,{buildInfo:i})}(c,m),null==(L=Vr)||L.pop(),!g&&u&&(a||(o&&u.push(o),d&&u.push(d),m&&u.push(m)),0!==a&&(p&&u.push(p),f&&u.push(f)))}),wv(n,t,s),s,o,!t),h(),{emitSkipped:g,diagnostics:_.getDiagnostics(),emittedFiles:u,sourceMaps:d};function y(n){XI(n)?79===n.expression.kind&&e.collectLinkedAliases(n.expression,!0):QI(n)?e.collectLinkedAliases(n.propertyName||n.name,!0):ED(n,y)}function v(e,t,r,i,a){const o=r.transformed[0],s=309===o.kind?o:void 0,c=308===o.kind?o:void 0,u=s?s.sourceFiles:[c];let m,h;if(function(e,n){return(e.sourceMap||e.inlineSourceMap)&&(308!==n.kind||!to(n.fileName,".json"))}(a,o)&&(m=vB(n,lo(mo(e)),function(e){const n=mo(e.sourceRoot||"");return n?Ao(n):n}(a),function(e,t,r){if(e.sourceRoot)return n.getCommonSourceDirectory();if(e.mapRoot){let t=mo(e.mapRoot);return r&&(t=co(Nv(r.fileName,n,t))),0===so(t)&&(t=go(n.getCommonSourceDirectory(),t)),t}return co(Eo(t))}(a,e,c),a)),s?i.writeBundle(s,f,m):i.writeFile(c,f,m),m){d&&d.push({inputSourceFileNames:m.getSources(),sourceMap:m.toJSON()});const r=function(e,t,r,i,a){if(e.inlineSourceMap){const e=t.toString();return`data:application/json;base64,${rE(Sa,e)}`}const o=lo(mo(Nt.checkDefined(i)));if(e.mapRoot){let t=mo(e.mapRoot);return a&&(t=co(Nv(a.fileName,n,t))),0===so(t)?(t=go(n.getCommonSourceDirectory(),t),encodeURI(Go(co(Eo(r)),go(t,o),n.getCurrentDirectory(),n.getCanonicalFileName,!0))):encodeURI(go(t,o))}return encodeURI(o)}(a,m,e,t,c);if(r&&(f.isAtStartOfLine()||f.rawWrite(p),h=f.getTextPos(),f.writeComment(`//# sourceMappingURL=${r}`)),t){const e=m.toString();Ov(n,_,t,e,!1,u),i.bundleFileInfo&&(i.bundleFileInfo.mapHash=gK(e,n))}}else f.writeLine();const g=f.getText();Ov(n,_,e,g,!!l.emitBOM,u,{sourceMapUrlPos:h,diagnostics:r.diagnostics}),i.bundleFileInfo&&(i.bundleFileInfo.hash=gK(g,n)),f.clear()}}function fj(e,n){return{bundle:n,program:e,version:t}}function mj(e){return JSON.stringify(e)}function hj(e,n){return aE(e,n)}function gj(e,n,t,r){var i,a;null==(i=Vr)||i.push(Vr.Phase.Emit,"emitUsingBuildInfo",{},!0),Ur.mark("beforeEmit");const o=function(e,n,t,r){const{buildInfoPath:i,jsFilePath:a,sourceMapFilePath:o,declarationFilePath:s,declarationMapPath:c}=QV(e.options,!1),l=n.getBuildInfo(i,e.options.configFilePath);if(!l)return i;if(!l.bundle||!l.bundle.js||s&&!l.bundle.dts)return i;const d=n.readFile(Nt.checkDefined(a));if(!d)return a;if(gK(d,n)!==l.bundle.js.hash)return a;const u=o&&n.readFile(o);if(o&&!u||e.options.inlineSourceMap)return o||"inline sourcemap decoding";if(o&&gK(u,n)!==l.bundle.js.mapHash)return o;const _=s&&n.readFile(s);if(s&&!_)return s;if(s&&gK(_,n)!==l.bundle.dts.hash)return s;const p=c&&n.readFile(c);if(c&&!p||e.options.inlineSourceMap)return c||"inline sourcemap decoding";if(c&&gK(p,n)!==l.bundle.dts.mapHash)return c;const f=co(bo(i,n.getCurrentDirectory())),m=RA(a,d,o,u,s,_,c,p,i,l,!0),h=[],g=FH(e.projectReferences,t,(e=>n.readFile(e)),n),y=function(e,n,t){var r;const i=Nt.checkDefined(e.js),a=(null==(r=i.sources)?void 0:r.prologues)&&nn(i.sources.prologues,(e=>e.file));return e.sourceFiles.map(((e,r)=>{var i,o;const s=null==a?void 0:a.get(r),c=null==s?void 0:s.directives.map((e=>{const n=MN(pA.createStringLiteral(e.expression.text),e.expression),t=MN(pA.createExpressionStatement(n),e);return xS(n,t),t})),l=pA.createToken(1),d=pA.createSourceFile(null!=c?c:[],l,0);return d.fileName=Mo(t.getCurrentDirectory(),bo(e,n),!t.useCaseSensitiveFileNames()),d.text=null!=(i=null==s?void 0:s.text)?i:"",ES(d,0,null!=(o=null==s?void 0:s.text.length)?o:0),SS(d.statements,d),ES(l,d.end,0),xS(l,d),d}))}(l.bundle,f,n);let v,b;const E={getPrependNodes:Rn((()=>[...g,m])),getCanonicalFileName:n.getCanonicalFileName,getCommonSourceDirectory:()=>bo(l.bundle.commonSourceDirectory,f),getCompilerOptions:()=>e.options,getCurrentDirectory:()=>n.getCurrentDirectory(),getSourceFile:Ln,getSourceFileByPath:Ln,getSourceFiles:()=>y,getLibFileFromReference:wn,isSourceFileFromExternalLibrary:Sn,getResolvedProjectReferenceToRedirect:Ln,getProjectReferenceRedirect:Ln,isSourceOfProjectReferenceRedirect:Sn,writeFile:(e,n,t,r,l,f)=>{switch(e){case a:if(d===n)return;break;case o:if(u===n)return;break;case i:break;case s:if(_===n)return;v=n,b=f;break;case c:if(p===n)return;break;default:Nt.fail(`Unexpected path: ${e}`)}h.push({name:e,text:n,writeByteOrderMark:t,data:f})},isEmitBlocked:Sn,readFile:e=>n.readFile(e),fileExists:e=>n.fileExists(e),useCaseSensitiveFileNames:()=>n.useCaseSensitiveFileNames(),getBuildInfo:t=>{const r=l.program;r&&void 0!==v&&e.options.composite&&(r.outSignature=gK(v,n,b));const{js:i,dts:a,sourceFiles:o}=l.bundle;return t.js.sources=i.sources,a&&(t.dts.sources=a.sources),t.sourceFiles=o,fj(r,t)},getSourceFileFromReference:Ln,redirectTargetsMap:un(),getFileIncludeReasons:wn,createHash:dn(n,n.createHash)};return pj(HV,E,void 0,DV(e.options,r)),h}(e,n,t,r);return Ur.mark("afterEmit"),Ur.measure("Emit","beforeEmit","afterEmit"),null==(a=Vr)||a.pop(),o}function yj(e={},n={}){var t,r,i,a,o,s,c,l,d,u,_,p,f,m,h,g,y,v,b,E,T,x,S,L,C,k,{hasGlobalName:I,onEmitNode:w=UV,isEmitNotificationEnabled:R,substituteNode:D=BV,onBeforeEmitNode:O,onAfterEmitNode:P,onBeforeEmitNodeArray:F,onAfterEmitNodeArray:G,onBeforeEmitToken:B,onAfterEmitToken:U}=n,V=!!e.extendedDiagnostics,j=cE(e),H=UT(e),K=new Map,W=e.preserveSourceNewlines,q=function(e){y.write(e)},z=e.writeBundleFileInfo?{sections:[]}:void 0,J=z?Nt.checkDefined(e.relativeToBuildInfo):void 0,X=e.recordInternalSection,Y=0,$="text",Q=!0,Z=-1,ee=-1,ne=-1,te=-1,re=-1,ie=!1,ae=!!e.removeComments,{enter:oe,exit:se}=Lr(V,"commentTime","beforeComment","afterComment"),le=pA.parenthesizer,de={select:e=>0===e?le.parenthesizeLeadingTypeArgument:void 0},ue=function(){return vN((function(e,n){if(n){n.stackIndex++,n.preserveSourceNewlinesStack[n.stackIndex]=W,n.containerPosStack[n.stackIndex]=ne,n.containerEndStack[n.stackIndex]=te,n.declarationListContainerEndStack[n.stackIndex]=re;const t=n.shouldEmitCommentsStack[n.stackIndex]=je(e),r=n.shouldEmitSourceMapsStack[n.stackIndex]=He(e);null==O||O(e),t&&tr(e),r&&Sr(e),Pe(e)}else n={stackIndex:0,preserveSourceNewlinesStack:[void 0],containerPosStack:[-1],containerEndStack:[-1],declarationListContainerEndStack:[-1],shouldEmitCommentsStack:[!1],shouldEmitSourceMapsStack:[!1]};return n}),(function(n,t,r){return e(n,r,"left")}),(function(e,n,t){const r=27!==e.kind,i=wt(t,t.left,e),a=wt(t,e,t.right);Et(i,r),fr(e.pos),gt(e,101===e.kind?ot:st),hr(e.end,!0),Et(a,!0)}),(function(n,t,r){return e(n,r,"right")}),(function(e,n){if(Tt(wt(e,e.left,e.operatorToken),wt(e,e.operatorToken,e.right)),n.stackIndex>0){const t=n.preserveSourceNewlinesStack[n.stackIndex],r=n.containerPosStack[n.stackIndex],i=n.containerEndStack[n.stackIndex],a=n.declarationListContainerEndStack[n.stackIndex],o=n.shouldEmitCommentsStack[n.stackIndex],s=n.shouldEmitSourceMapsStack[n.stackIndex];Ue(t),s&&Ar(e),o&&rr(e,r,i,a),null==P||P(e),n.stackIndex--}}),void 0);function e(e,n,t){const r="left"===t?le.getParenthesizeLeftSideOfBinaryForOperator(n.operatorToken.kind):le.getParenthesizeRightSideOfBinaryForOperator(n.operatorToken.kind);let i=Ke(0,1,e);if(i===Xe&&(Nt.assertIsDefined(C),i=We(1,1,e=r(Tn(C,uu))),C=void 0),(i===nr||i===xr||i===ze)&&qk(e))return e;k=r,i(1,e)}}();return ke(),{printNode:function(e,n,t){switch(e){case 0:Nt.assert(Aw(n),"Expected a SourceFile node.");break;case 2:Nt.assert(AC(n),"Expected an Identifier node.");break;case 1:Nt.assert(uu(n),"Expected an Expression node.")}switch(n.kind){case 308:return pe(n);case 309:return _e(n);case 310:return function(e,n){const t=y;Ce(n,void 0),Ae(4,e,void 0),ke(),y=t}(n,xe()),Se()}return fe(e,n,t,xe()),Se()},printList:function(e,n,t){return me(e,n,t,xe()),Se()},printFile:pe,printBundle:_e,writeNode:fe,writeList:me,writeFile:Te,writeBundle:Ee,bundleFileInfo:z};function _e(e){return Ee(e,xe(),void 0),Se()}function pe(e){return Te(e,xe(),void 0),Se()}function fe(e,n,t,r){const i=y;Ce(r,void 0),Ae(e,n,t),ke(),y=i}function me(e,n,t,r){const i=y;Ce(r,void 0),t&&Le(t),$n(void 0,n,e),ke(),y=i}function he(){return y.getTextPosWithWriteLine?y.getTextPosWithWriteLine():y.getTextPos()}function ge(e,n,t){const r=Fe(z.sections);r&&r.kind===t?r.end=n:z.sections.push({pos:e,end:n,kind:t})}function ye(e){if(X&&z&&t&&(Nu(e)||dI(e))&&LV(e,t)&&"internal"!==$){const e=$;return be(y.getTextPos()),Y=he(),$="internal",e}}function ve(e){e&&(be(y.getTextPos()),Y=he(),$=e)}function be(e){return Y<e&&(ge(Y,e,$),!0)}function Ee(n,t,r){b=!1;const i=y;Ce(t,r),Fn(n),Pn(n),Ye(n),function(e){Nn(!!e.hasNoDefaultLib,e.syntheticFileReferences||[],e.syntheticTypeReferences||[],e.syntheticLibReferences||[]);for(const n of e.prepends)if(Cw(n)&&n.syntheticReferences)for(const e of n.syntheticReferences)we(e),pt()}(n);for(const e of n.prepends){pt();const n=y.getTextPos(),t=z&&z.sections;if(t&&(z.sections=[]),Ae(4,e,void 0),z){const r=z.sections;z.sections=t,e.oldFileOfCurrentEmit?z.sections.push(...r):(r.forEach((e=>Nt.assert(tT(e)))),z.sections.push({pos:n,end:y.getTextPos(),kind:"prepend",data:J(e.fileName),texts:r}))}}Y=he();for(const e of n.sourceFiles)Ae(0,e,e);if(z&&n.sourceFiles.length&&be(y.getTextPos())){const t=function(e){const n=new Set;let t;for(let r=0;r<e.sourceFiles.length;r++){const i=e.sourceFiles[r];let a,o=0;for(const e of i.statements){if(!_m(e))break;n.has(e.expression.text)||(n.add(e.expression.text),(a||(a=[])).push({pos:e.pos,end:e.end,expression:{pos:e.expression.pos,end:e.expression.end,text:e.expression.text}}),o=o<e.end?e.end:o)}a&&(t||(t=[])).push({file:r,text:i.text.substring(0,o),directives:a})}return t}(n);t&&(z.sources||(z.sources={}),z.sources.prologues=t);const r=function(n){let t;if(0===H||e.noEmitHelpers)return;const r=new Map;for(const e of n.sourceFiles){const n=void 0!==zR(e),i=$e(e);if(i)for(const e of i)e.scoped||n||r.get(e.name)||(r.set(e.name,!0),(t||(t=[])).push(e.name))}return t}(n);r&&(z.sources||(z.sources={}),z.sources.helpers=r)}ke(),y=i}function Te(e,n,t){b=!0;const r=y;Ce(n,t),Fn(e),Pn(e),Ae(0,e,e),ke(),y=r}function xe(){return v||(v=mv(j))}function Se(){const e=v.getText();return v.clear(),e}function Ae(e,n,t){t&&Le(t),Ve(e,n,void 0)}function Le(e){t=e,S=void 0,L=void 0,e&&wr(e)}function Ce(n,t){n&&e.omitTrailingSemicolon&&(n=hv(n)),E=t,Q=!(y=n)||!E}function ke(){r=[],i=[],a=[],o=new Set,s=[],c=new Map,l=[],d=0,u=[],_=0,p=[],f=void 0,m=[],h=void 0,t=void 0,S=void 0,L=void 0,Ce(void 0,void 0)}function Ie(){return S||(S=hs(Nt.checkDefined(t)))}function we(e,n){if(void 0===e)return;const t=ye(e);Ve(4,e,n),ve(t)}function Ne(e){void 0!==e&&Ve(2,e,void 0)}function Oe(e,n){void 0!==e&&Ve(1,e,n)}function Me(e){Ve(cC(e)?6:4,e)}function Pe(e){W&&4&sf(e)&&(W=!1)}function Ue(e){W=e}function Ve(e,n,t){k=t,Ke(0,e,n)(e,n),k=void 0}function je(e){return!ae&&!Aw(e)}function He(e){return!(Q||Aw(e)||Lh(e)||Cw(e)||Sw(e))}function Ke(e,n,t){switch(e){case 0:if(w!==UV&&(!R||R(t)))return qe;case 1:if(D!==BV&&(C=D(n,t)||t)!==t)return k&&(C=k(C)),Xe;case 2:if(je(t))return nr;case 3:if(He(t))return xr;case 4:return ze;default:return Nt.assertNever(e)}}function We(e,n,t){return Ke(e+1,n,t)}function qe(e,n){const t=We(0,e,n);w(e,n,t)}function ze(e,n){if(null==O||O(n),W){const t=W;Pe(n),Je(e,n),Ue(t)}else Je(e,n);null==P||P(n),k=void 0}function Je(e,n,r=!0){if(r){const t=dL(n);if(t)return function(e,n,t){switch(t.kind){case 1:!function(e,n,t){_t(`\${${t.order}:`),Je(e,n,!1),_t("}")}(e,n,t);break;case 0:!function(e,n,t){Nt.assert(239===n.kind,`A tab stop cannot be attached to a node of kind ${Nt.formatSyntaxKind(n.kind)}.`),Nt.assert(5!==e,"A tab stop cannot be attached to an embedded statement."),_t(`$${t.order}`)}(e,n,t)}}(e,n,t)}if(0===e)return Rn(Tn(n,Aw));if(2===e)return en(Tn(n,AC));if(6===e)return Qe(Tn(n,cC),!0);if(3===e)return function(e){we(e.name),dt(),ot("in"),dt(),we(e.constraint)}(Tn(n,jC));if(5===e)return Nt.assertNode(n,uI),on(!0);if(4===e){switch(n.kind){case 15:case 16:case 17:return Qe(n,!1);case 79:return en(n);case 80:return nn(n);case 163:return function(e){(function(e){79===e.kind?Oe(e):we(e)})(e.left),it("."),we(e.right)}(n);case 164:return function(e){const n=d,t=h;Ut(),it("["),Oe(e.expression,le.parenthesizeExpressionOfComputedPropertyName),it("]"),Bt(n,t)}(n);case 165:return function(e){Un(e,e.modifiers),we(e.name),e.constraint&&(dt(),ot("extends"),dt(),we(e.constraint)),e.default&&(dt(),st("="),dt(),we(e.default))}(n);case 166:return function(e){Bn(e,e.modifiers,!0),we(e.dotDotDotToken),Gn(e.name,ct),we(e.questionToken),e.parent&&320===e.parent.kind&&!e.name?we(e.type):Vn(e.type),jn(e.initializer,e.type?e.type.end:e.questionToken?e.questionToken.end:e.name?e.name.end:e.modifiers?e.modifiers.end:e.pos,e,le.parenthesizeExpressionForDisallowedComma)}(n);case 167:return o=n,it("@"),void Oe(o.expression,le.parenthesizeLeftSideOfAccess);case 168:return function(e){Un(e,e.modifiers),Gn(e.name,ut),we(e.questionToken),Vn(e.type),at()}(n);case 169:return function(e){Bn(e,e.modifiers,!0),we(e.name),we(e.questionToken),we(e.exclamationToken),Vn(e.type),jn(e.initializer,e.type?e.type.end:e.questionToken?e.questionToken.end:e.name.end,e),at()}(n);case 170:return function(e){Pt(e),Un(e,e.modifiers),we(e.name),we(e.questionToken),zn(e,e.typeParameters),Jn(e,e.parameters),Vn(e.type),at(),Ft(e)}(n);case 171:return function(e){Bn(e,e.modifiers,!0),we(e.asteriskToken),we(e.name),we(e.questionToken),hn(e,gn)}(n);case 172:return function(e){ot("static"),yn(e.body)}(n);case 173:return function(e){Bn(e,e.modifiers,!1),ot("constructor"),hn(e,gn)}(n);case 174:case 175:return function(e){const n=Bn(e,e.modifiers,!0);dn(174===e.kind?137:151,n,ot,e),dt(),we(e.name),hn(e,gn)}(n);case 176:return function(e){Pt(e),zn(e,e.typeParameters),Jn(e,e.parameters),Vn(e.type),at(),Ft(e)}(n);case 177:return function(e){Pt(e),ot("new"),dt(),zn(e,e.typeParameters),Jn(e,e.parameters),Vn(e.type),at(),Ft(e)}(n);case 178:return function(e){Bn(e,e.modifiers,!1),$n(e,e.parameters,8848),Vn(e.type),at()}(n);case 179:return function(e){e.assertsModifier&&(we(e.assertsModifier),dt()),we(e.parameterName),e.type&&(dt(),ot("is"),dt(),we(e.type))}(n);case 180:return function(e){we(e.typeName),qn(e,e.typeArguments)}(n);case 181:return function(e){Pt(e),zn(e,e.typeParameters),Xn(e,e.parameters),dt(),it("=>"),dt(),we(e.type),Ft(e)}(n);case 182:return function(e){Pt(e),Un(e,e.modifiers),ot("new"),dt(),zn(e,e.typeParameters),Jn(e,e.parameters),dt(),it("=>"),dt(),we(e.type),Ft(e)}(n);case 183:return function(e){ot("typeof"),dt(),we(e.exprName),qn(e,e.typeArguments)}(n);case 184:return function(e){Bt(0,void 0),it("{");const n=1&of(e)?768:32897;$n(e,e.members,524288|n),it("}"),Ut()}(n);case 185:return function(e){we(e.elementType,le.parenthesizeNonArrayTypeOfPostfixType),it("["),it("]")}(n);case 186:return function(e){dn(22,e.pos,it,e);const n=1&of(e)?528:657;$n(e,e.elements,524288|n,le.parenthesizeElementTypeOfTupleType),dn(23,e.elements.end,it,e)}(n);case 187:return function(e){we(e.type,le.parenthesizeTypeOfOptionalType),it("?")}(n);case 189:return function(e){$n(e,e.types,516,le.parenthesizeConstituentTypeOfUnionType)}(n);case 190:return function(e){$n(e,e.types,520,le.parenthesizeConstituentTypeOfIntersectionType)}(n);case 191:return function(e){we(e.checkType,le.parenthesizeCheckTypeOfConditionalType),dt(),ot("extends"),dt(),we(e.extendsType,le.parenthesizeExtendsTypeOfConditionalType),dt(),it("?"),dt(),we(e.trueType),dt(),it(":"),dt(),we(e.falseType)}(n);case 192:return function(e){ot("infer"),dt(),we(e.typeParameter)}(n);case 193:return function(e){it("("),we(e.type),it(")")}(n);case 230:return rn(n);case 194:return void ot("this");case 195:return function(e){yt(e.operator,ot),dt();const n=146===e.operator?le.parenthesizeOperandOfReadonlyTypeOperator:le.parenthesizeOperandOfTypeOperator;we(e.type,n)}(n);case 196:return function(e){we(e.objectType,le.parenthesizeNonArrayTypeOfPostfixType),it("["),we(e.indexType),it("]")}(n);case 197:return function(e){const n=of(e);it("{"),1&n?dt():(pt(),ft()),e.readonlyToken&&(we(e.readonlyToken),146!==e.readonlyToken.kind&&ot("readonly"),dt()),it("["),Ve(3,e.typeParameter),e.nameType&&(dt(),ot("as"),dt(),we(e.nameType)),it("]"),e.questionToken&&(we(e.questionToken),57!==e.questionToken.kind&&it("?")),it(":"),dt(),we(e.type),at(),1&n?dt():(pt(),mt()),$n(e,e.members,2),it("}")}(n);case 198:return function(e){Oe(e.literal)}(n);case 199:return function(e){we(e.dotDotDotToken),we(e.name),we(e.questionToken),dn(58,e.name.end,it,e),dt(),we(e.type)}(n);case 200:return function(e){we(e.head),$n(e,e.templateSpans,262144)}(n);case 201:return function(e){we(e.type),we(e.literal)}(n);case 202:return function(e){if(e.isTypeOf&&(ot("typeof"),dt()),ot("import"),it("("),we(e.argument),e.assertions){it(","),dt(),it("{"),dt(),ot("assert"),it(":"),dt();const n=e.assertions.assertClause.elements;$n(e.assertions.assertClause,n,526226),dt(),it("}")}it(")"),e.qualifier&&(it("."),we(e.qualifier)),qn(e,e.typeArguments)}(n);case 203:return function(e){it("{"),$n(e,e.elements,525136),it("}")}(n);case 204:return function(e){it("["),$n(e,e.elements,524880),it("]")}(n);case 205:return function(e){we(e.dotDotDotToken),e.propertyName&&(we(e.propertyName),it(":"),dt()),we(e.name),jn(e.initializer,e.name.end,e,le.parenthesizeExpressionForDisallowedComma)}(n);case 236:return function(e){Oe(e.expression),we(e.literal)}(n);case 237:return void at();case 238:return function(e){an(e,!e.multiLine&&Rt(e))}(n);case 240:return function(e){Bn(e,e.modifiers,!1),we(e.declarationList),at()}(n);case 239:return on(!1);case 241:return function(e){Oe(e.expression,le.parenthesizeExpressionOfExpressionStatement),t&&rm(t)&&!zy(e.expression)||at()}(n);case 242:return function(e){const n=dn(99,e.pos,ot,e);dt(),dn(20,n,it,e),Oe(e.expression),dn(21,e.expression.end,it,e),Wn(e,e.thenStatement),e.elseStatement&&(vt(e,e.thenStatement,e.elseStatement),dn(91,e.thenStatement.end,ot,e),242===e.elseStatement.kind?(dt(),we(e.elseStatement)):Wn(e,e.elseStatement))}(n);case 243:return function(e){dn(90,e.pos,ot,e),Wn(e,e.statement),lI(e.statement)&&!W?dt():vt(e,e.statement,e.expression),cn(e,e.statement.end),at()}(n);case 244:return function(e){cn(e,e.pos),Wn(e,e.statement)}(n);case 245:return function(e){const n=dn(97,e.pos,ot,e);dt();let t=dn(20,n,it,e);ln(e.initializer),t=dn(26,e.initializer?e.initializer.end:t,it,e),Kn(e.condition),t=dn(26,e.condition?e.condition.end:t,it,e),Kn(e.incrementor),dn(21,e.incrementor?e.incrementor.end:t,it,e),Wn(e,e.statement)}(n);case 246:return function(e){const n=dn(97,e.pos,ot,e);dt(),dn(20,n,it,e),ln(e.initializer),dt(),dn(101,e.initializer.end,ot,e),dt(),Oe(e.expression),dn(21,e.expression.end,it,e),Wn(e,e.statement)}(n);case 247:return function(e){const n=dn(97,e.pos,ot,e);dt(),function(e){e&&(we(e),dt())}(e.awaitModifier),dn(20,n,it,e),ln(e.initializer),dt(),dn(162,e.initializer.end,ot,e),dt(),Oe(e.expression),dn(21,e.expression.end,it,e),Wn(e,e.statement)}(n);case 248:return function(e){dn(86,e.pos,ot,e),Hn(e.label),at()}(n);case 249:return function(e){dn(81,e.pos,ot,e),Hn(e.label),at()}(n);case 250:return function(e){dn(105,e.pos,ot,e),Kn(e.expression&&pn(e.expression),pn),at()}(n);case 251:return function(e){const n=dn(116,e.pos,ot,e);dt(),dn(20,n,it,e),Oe(e.expression),dn(21,e.expression.end,it,e),Wn(e,e.statement)}(n);case 252:return function(e){const n=dn(107,e.pos,ot,e);dt(),dn(20,n,it,e),Oe(e.expression),dn(21,e.expression.end,it,e),dt(),we(e.caseBlock)}(n);case 253:return function(e){we(e.label),dn(58,e.label.end,it,e),dt(),we(e.statement)}(n);case 254:return function(e){dn(109,e.pos,ot,e),Kn(pn(e.expression),pn),at()}(n);case 255:return function(e){dn(111,e.pos,ot,e),dt(),we(e.tryBlock),e.catchClause&&(vt(e,e.tryBlock,e.catchClause),we(e.catchClause)),e.finallyBlock&&(vt(e,e.catchClause||e.tryBlock,e.finallyBlock),dn(96,(e.catchClause||e.tryBlock).end,ot,e),dt(),we(e.finallyBlock))}(n);case 256:return function(e){ht(87,e.pos,ot),at()}(n);case 257:return function(e){var n,t,r,i,a;we(e.name),we(e.exclamationToken),Vn(e.type),jn(e.initializer,null!=(a=null!=(i=null==(n=e.type)?void 0:n.end)?i:null==(r=null==(t=e.name.emitNode)?void 0:t.typeNode)?void 0:r.end)?a:e.name.end,e,le.parenthesizeExpressionForDisallowedComma)}(n);case 258:return function(e){ot(sm(e)?"let":om(e)?"const":"var"),dt(),$n(e,e.declarations,528)}(n);case 259:return function(e){mn(e)}(n);case 260:return function(e){xn(e)}(n);case 261:return function(e){Bt(0,void 0),Bn(e,e.modifiers,!1),ot("interface"),dt(),we(e.name),zn(e,e.typeParameters),$n(e,e.heritageClauses,512),dt(),it("{"),$n(e,e.members,129),it("}"),Ut()}(n);case 262:return function(e){Bn(e,e.modifiers,!1),ot("type"),dt(),we(e.name),zn(e,e.typeParameters),dt(),it("="),dt(),we(e.type),at()}(n);case 263:return function(e){Bn(e,e.modifiers,!1),ot("enum"),dt(),we(e.name),dt(),it("{"),$n(e,e.members,145),it("}")}(n);case 264:return function(e){Bn(e,e.modifiers,!1),1024&~e.flags&&(ot(16&e.flags?"namespace":"module"),dt()),we(e.name);let n=e.body;if(!n)return at();for(;n&&MI(n);)it("."),we(n.name),n=n.body;dt(),we(n)}(n);case 265:return function(e){Pt(e),A(e.statements,jt),an(e,Rt(e)),Ft(e)}(n);case 266:return function(e){dn(18,e.pos,it,e),$n(e,e.clauses,129),dn(19,e.clauses.end,it,e,!0)}(n);case 267:return function(e){let n=dn(93,e.pos,ot,e);dt(),n=dn(128,n,ot,e),dt(),n=dn(143,n,ot,e),dt(),we(e.name),at()}(n);case 268:return function(e){Bn(e,e.modifiers,!1),dn(100,e.modifiers?e.modifiers.end:e.pos,ot,e),dt(),e.isTypeOnly&&(dn(154,e.pos,ot,e),dt()),we(e.name),dt(),dn(63,e.name.end,it,e),dt(),function(e){79===e.kind?Oe(e):we(e)}(e.moduleReference),at()}(n);case 269:return function(e){Bn(e,e.modifiers,!1),dn(100,e.modifiers?e.modifiers.end:e.pos,ot,e),dt(),e.importClause&&(we(e.importClause),dt(),dn(158,e.importClause.end,ot,e),dt()),Oe(e.moduleSpecifier),e.assertClause&&Hn(e.assertClause),at()}(n);case 270:return function(e){e.isTypeOnly&&(dn(154,e.pos,ot,e),dt()),we(e.name),e.name&&e.namedBindings&&(dn(27,e.name.end,it,e),dt()),we(e.namedBindings)}(n);case 271:return function(e){const n=dn(41,e.pos,it,e);dt(),dn(128,n,ot,e),dt(),we(e.name)}(n);case 277:return function(e){const n=dn(41,e.pos,it,e);dt(),dn(128,n,ot,e),dt(),we(e.name)}(n);case 272:case 276:return function(e){!function(e){it("{"),$n(e,e.elements,525136),it("}")}(e)}(n);case 273:case 278:return function(e){!function(e){e.isTypeOnly&&(ot("type"),dt()),e.propertyName&&(we(e.propertyName),dt(),dn(128,e.propertyName.end,ot,e),dt()),we(e.name)}(e)}(n);case 274:return function(e){const n=dn(93,e.pos,ot,e);dt(),e.isExportEquals?dn(63,n,st,e):dn(88,n,ot,e),dt(),Oe(e.expression,e.isExportEquals?le.getParenthesizeRightSideOfBinaryForOperator(63):le.parenthesizeExpressionOfExportDefault),at()}(n);case 275:return function(e){Bn(e,e.modifiers,!1);let n=dn(93,e.pos,ot,e);dt(),e.isTypeOnly&&(n=dn(154,n,ot,e),dt()),e.exportClause?we(e.exportClause):n=dn(41,n,it,e),e.moduleSpecifier&&(dt(),dn(158,e.exportClause?e.exportClause.end:n,ot,e),dt(),Oe(e.moduleSpecifier)),e.assertClause&&Hn(e.assertClause),at()}(n);case 296:return function(e){dn(130,e.pos,ot,e),dt();$n(e,e.elements,526226)}(n);case 297:return function(e){we(e.name),it(":"),dt();const n=e.value;0==(1024&of(n))&&hr(JA(n).pos),we(n)}(n);case 279:case 322:case 333:case 334:case 336:case 337:case 338:case 339:case 355:case 359:case 358:return;case 280:return function(e){ot("require"),it("("),Oe(e.expression),it(")")}(n);case 11:return function(e){y.writeLiteral(e.text)}(n);case 283:case 286:return function(e){if(it("<"),sw(e)){const n=Ct(e.tagName,e);Sn(e.tagName),qn(e,e.typeArguments),e.attributes.properties&&e.attributes.properties.length>0&&dt(),we(e.attributes),kt(e.attributes,e),Tt(n)}it(">")}(n);case 284:case 287:return function(e){it("</"),cw(e)&&Sn(e.tagName),it(">")}(n);case 288:return function(e){we(e.name),function(e,n,t,r){t&&(n("="),r(t))}(0,it,e.initializer,Me)}(n);case 289:return function(e){$n(e,e.properties,262656)}(n);case 290:return function(e){it("{..."),Oe(e.expression),it("}")}(n);case 291:return function(e){var n,r;if(e.expression||!ae&&!zy(e)&&(function(e){let n=!1;return Ms((null==t?void 0:t.text)||"",e+1,(()=>n=!0)),n}(r=e.pos)||function(e){let n=!1;return Os((null==t?void 0:t.text)||"",e+1,(()=>n=!0)),n}(r))){const r=t&&!zy(e)&&bs(t,e.pos).line!==bs(t,e.end).line;r&&y.increaseIndent();const i=dn(18,e.pos,it,e);we(e.dotDotDotToken),Oe(e.expression),dn(19,(null==(n=e.expression)?void 0:n.end)||i,it,e),r&&y.decreaseIndent()}}(n);case 292:return function(e){dn(82,e.pos,ot,e),dt(),Oe(e.expression,le.parenthesizeExpressionForDisallowedComma),An(e,e.statements,e.expression.end)}(n);case 293:return function(e){const n=dn(88,e.pos,ot,e);An(e,e.statements,n)}(n);case 294:return function(e){dt(),yt(e.token,ot),dt(),$n(e,e.types,528)}(n);case 295:return function(e){const n=dn(83,e.pos,ot,e);dt(),e.variableDeclaration&&(dn(20,n,it,e),we(e.variableDeclaration),dn(21,e.variableDeclaration.end,it,e),dt()),we(e.block)}(n);case 299:return function(e){we(e.name),it(":"),dt();const n=e.initializer;0==(1024&of(n))&&hr(JA(n).pos),Oe(n,le.parenthesizeExpressionForDisallowedComma)}(n);case 300:return function(e){we(e.name),e.objectAssignmentInitializer&&(dt(),it("="),dt(),Oe(e.objectAssignmentInitializer,le.parenthesizeExpressionForDisallowedComma))}(n);case 301:return function(e){e.expression&&(dn(25,e.pos,it,e),Oe(e.expression,le.parenthesizeExpressionForDisallowedComma))}(n);case 302:return function(e){we(e.name),jn(e.initializer,e.name.end,e,le.parenthesizeExpressionForDisallowedComma)}(n);case 303:return Ze(n);case 310:case 304:return function(e){for(const n of e.texts)pt(),we(n)}(n);case 305:case 306:return function(e){const n=he();Ze(e),z&&ge(n,y.getTextPos(),305===e.kind?"text":"internal")}(n);case 307:return function(e){const n=he();if(Ze(e),z){const t=sn(e.section);t.pos=n,t.end=y.getTextPos(),z.sections.push(t)}}(n);case 308:return Rn(n);case 309:return Nt.fail("Bundles should be printed using printBundle");case 311:return Nt.fail("InputFiles should not be printed");case 312:return wn(n);case 313:return function(e){dt(),it("{"),we(e.name),it("}")}(n);case 315:return it("*");case 316:return it("?");case 317:return function(e){it("?"),we(e.type)}(n);case 318:return function(e){it("!"),we(e.type)}(n);case 319:return function(e){we(e.type),it("=")}(n);case 320:return function(e){ot("function"),Jn(e,e.parameters),it(":"),we(e.type)}(n);case 188:case 321:return function(e){it("..."),we(e.type)}(n);case 323:return function(e){if(q("/**"),e.comment){const n=wl(e.comment);if(n){const e=n.split(/\r\n?|\n/g);for(const n of e)pt(),dt(),it("*"),dt(),q(n)}}e.tags&&(1!==e.tags.length||347!==e.tags[0].kind||e.comment?$n(e,e.tags,33):(dt(),we(e.tags[0]))),dt(),q("*/")}(n);case 325:return Ln(n);case 326:return Cn(n);case 330:case 335:case 340:return kn((a=n).tagName),void In(a.comment);case 331:case 332:return function(e){kn(e.tagName),dt(),it("{"),we(e.class),it("}"),In(e.comment)}(n);case 341:return function(e){kn(e.tagName),e.name&&(dt(),we(e.name)),In(e.comment),Cn(e.typeExpression)}(n);case 342:return function(e){In(e.comment),Cn(e.typeExpression)}(n);case 344:case 351:return kn((i=n).tagName),wn(i.typeExpression),dt(),i.isBracketed&&it("["),we(i.name),i.isBracketed&&it("]"),void In(i.comment);case 343:case 345:case 346:case 347:case 352:case 353:return function(e){kn(e.tagName),wn(e.typeExpression),In(e.comment)}(n);case 348:return function(e){kn(e.tagName),wn(e.constraint),dt(),$n(e,e.typeParameters,528),In(e.comment)}(n);case 349:return function(e){kn(e.tagName),e.typeExpression&&(312===e.typeExpression.kind?wn(e.typeExpression):(dt(),it("{"),q("Object"),e.typeExpression.isArrayType&&(it("["),it("]")),it("}"))),e.fullName&&(dt(),we(e.fullName)),In(e.comment),e.typeExpression&&325===e.typeExpression.kind&&Ln(e.typeExpression)}(n);case 350:return function(e){kn(e.tagName),we(e.name),In(e.comment)}(n)}if(uu(n)&&(e=1,D!==BV)){const t=D(e,n)||n;t!==n&&(n=t,k&&(n=k(n)))}}var i,a,o;if(1===e)switch(n.kind){case 8:case 9:return function(e){Qe(e,!1)}(n);case 10:case 13:case 14:return Qe(n,!1);case 79:return en(n);case 80:return nn(n);case 206:return function(e){Qn(e,e.elements,8914|(e.multiLine?65536:0),le.parenthesizeExpressionForDisallowedComma)}(n);case 207:return function(e){Bt(0,void 0),A(e.properties,Ht);const n=131072&of(e);n&&ft();const r=e.multiLine?65536:0,i=t&&t.languageVersion>=1&&!rm(t)?64:0;$n(e,e.properties,526226|i|r),n&&mt(),Ut()}(n);case 208:return function(e){Oe(e.expression,le.parenthesizeLeftSideOfAccess);const n=e.questionDotToken||bS(pA.createToken(24),e.expression.end,e.name.pos),t=wt(e,e.expression,n),r=wt(e,n,e.name);Et(t,!1);28!==n.kind&&function(e){if(oC(e=Kl(e))){const n=Mt(e,!0,!1);return!e.numericLiteralFlags&&!rt(n,us(24))}if(eT(e)){const n=rL(e);return"number"==typeof n&&isFinite(n)&&Math.floor(n)===n}}(e.expression)&&!y.hasTrailingComment()&&!y.hasTrailingWhitespace()&&it("."),e.questionDotToken?we(n):dn(n.kind,e.expression.end,it,e),Et(r,!1),we(e.name),Tt(t,r)}(n);case 209:return function(e){Oe(e.expression,le.parenthesizeLeftSideOfAccess),we(e.questionDotToken),dn(22,e.expression.end,it,e),Oe(e.argumentExpression),dn(23,e.argumentExpression.end,it,e)}(n);case 210:return function(e){const n=16&sf(e);n&&(it("("),nt("0"),it(","),dt()),Oe(e.expression,le.parenthesizeLeftSideOfAccess),n&&it(")"),we(e.questionDotToken),qn(e,e.typeArguments),Qn(e,e.arguments,2576,le.parenthesizeExpressionForDisallowedComma)}(n);case 211:return function(e){dn(103,e.pos,ot,e),dt(),Oe(e.expression,le.parenthesizeExpressionOfNew),qn(e,e.typeArguments),Qn(e,e.arguments,18960,le.parenthesizeExpressionForDisallowedComma)}(n);case 212:return function(e){const n=16&sf(e);n&&(it("("),nt("0"),it(","),dt()),Oe(e.tag,le.parenthesizeLeftSideOfAccess),n&&it(")"),qn(e,e.typeArguments),dt(),Oe(e.template)}(n);case 213:return function(e){it("<"),we(e.type),it(">"),Oe(e.expression,le.parenthesizeOperandOfPrefixUnary)}(n);case 214:return function(e){const n=dn(20,e.pos,it,e),t=Ct(e.expression,e);Oe(e.expression,void 0),kt(e.expression,e),Tt(t),dn(21,e.expression?e.expression.end:n,it,e)}(n);case 215:return function(e){Kt(e.name),mn(e)}(n);case 216:return function(e){Un(e,e.modifiers),hn(e,tn)}(n);case 217:return function(e){dn(89,e.pos,ot,e),dt(),Oe(e.expression,le.parenthesizeOperandOfPrefixUnary)}(n);case 218:return function(e){dn(112,e.pos,ot,e),dt(),Oe(e.expression,le.parenthesizeOperandOfPrefixUnary)}(n);case 219:return function(e){dn(114,e.pos,ot,e),dt(),Oe(e.expression,le.parenthesizeOperandOfPrefixUnary)}(n);case 220:return function(e){dn(133,e.pos,ot,e),dt(),Oe(e.expression,le.parenthesizeOperandOfPrefixUnary)}(n);case 221:return function(e){yt(e.operator,st),function(e){const n=e.operand;return 221===n.kind&&(39===e.operator&&(39===n.operator||45===n.operator)||40===e.operator&&(40===n.operator||46===n.operator))}(e)&&dt(),Oe(e.operand,le.parenthesizeOperandOfPrefixUnary)}(n);case 222:return function(e){Oe(e.operand,le.parenthesizeOperandOfPostfixUnary),yt(e.operator,st)}(n);case 223:return ue(n);case 224:return function(e){const n=wt(e,e.condition,e.questionToken),t=wt(e,e.questionToken,e.whenTrue),r=wt(e,e.whenTrue,e.colonToken),i=wt(e,e.colonToken,e.whenFalse);Oe(e.condition,le.parenthesizeConditionOfConditionalExpression),Et(n,!0),we(e.questionToken),Et(t,!0),Oe(e.whenTrue,le.parenthesizeBranchOfConditionalExpression),Tt(n,t),Et(r,!0),we(e.colonToken),Et(i,!0),Oe(e.whenFalse,le.parenthesizeBranchOfConditionalExpression),Tt(r,i)}(n);case 225:return function(e){we(e.head),$n(e,e.templateSpans,262144)}(n);case 226:return function(e){dn(125,e.pos,ot,e),we(e.asteriskToken),Kn(e.expression&&pn(e.expression),fn)}(n);case 227:return function(e){dn(25,e.pos,it,e),Oe(e.expression,le.parenthesizeExpressionForDisallowedComma)}(n);case 228:return function(e){Kt(e.name),xn(e)}(n);case 229:case 279:case 355:case 358:case 359:return;case 231:return function(e){Oe(e.expression,void 0),e.type&&(dt(),ot("as"),dt(),we(e.type))}(n);case 232:return function(e){Oe(e.expression,le.parenthesizeLeftSideOfAccess),st("!")}(n);case 230:return rn(n);case 235:return function(e){Oe(e.expression,void 0),e.type&&(dt(),ot("satisfies"),dt(),we(e.type))}(n);case 233:return function(e){ht(e.keywordToken,e.pos,it),it("."),we(e.name)}(n);case 234:return Nt.fail("SyntheticExpression should never be printed.");case 281:return function(e){we(e.openingElement),$n(e,e.children,262144),we(e.closingElement)}(n);case 282:return function(e){it("<"),Sn(e.tagName),qn(e,e.typeArguments),dt(),we(e.attributes),it("/>")}(n);case 285:return function(e){we(e.openingFragment),$n(e,e.children,262144),we(e.closingFragment)}(n);case 354:return Nt.fail("SyntaxList should not be printed");case 356:return function(e){const n=of(e);1024&n||e.pos===e.expression.pos||hr(e.expression.pos),Oe(e.expression),2048&n||e.end===e.expression.end||fr(e.expression.end)}(n);case 357:return function(e){Qn(e,e.elements,528,void 0)}(n);case 360:return Nt.fail("SyntheticReferenceExpression should not be printed")}return hy(n.kind)?gt(n,ot):Zl(n.kind)?gt(n,it):void Nt.fail(`Unhandled SyntaxKind: ${Nt.formatSyntaxKind(n.kind)}.`)}function Xe(e,n){const t=We(1,e,n);Nt.assertIsDefined(C),n=C,C=void 0,t(e,n)}function Ye(n){let r=!1;const i=309===n.kind?n:void 0;if(i&&0===H)return;const a=i?i.prepends.length:0,o=i?i.sourceFiles.length+a:1;for(let s=0;s<o;s++){const o=i?s<a?i.prepends[s]:i.sourceFiles[s-a]:n,c=Aw(o)?o:Cw(o)?void 0:t,l=e.noEmitHelpers||!!c&&JR(c),d=(Aw(o)||Cw(o))&&!b,u=Cw(o)?o.helpers:$e(o);if(u)for(const e of u){if(e.scoped){if(i)continue}else{if(l)continue;if(d){if(K.get(e.name))continue;K.set(e.name,!0)}}const n=he();"string"==typeof e.text?bt(e.text):bt(e.text(Qt)),z&&z.sections.push({pos:n,end:y.getTextPos(),kind:"emitHelpers",data:e.name}),r=!0}}return r}function $e(e){const n=cL(e);return n&&Re(n,nC)}function Qe(n,t){const r=Mt(n,e.neverAsciiEscape,t);var i;!e.sourceMap&&!e.inlineSourceMap||10!==n.kind&&!ad(n.kind)?(i=r,y.writeStringLiteral(i)):nt(r)}function Ze(e){y.rawWrite(e.parent.text.substring(e.pos,e.end))}function en(e){(e.symbol?tt:q)(Ot(e,!1),e.symbol),$n(e,hL(e),53776)}function nn(e){q(Ot(e,!1))}function tn(e){zn(e,e.typeParameters),Xn(e,e.parameters),Vn(e.type),dt(),we(e.equalsGreaterThanToken)}function rn(e){Oe(e.expression,le.parenthesizeLeftSideOfAccess),qn(e,e.typeArguments)}function an(e,n){dn(18,e.pos,it,e);const t=n||1&of(e)?768:129;$n(e,e.statements,t),dn(19,e.statements.end,it,e,!!(1&t))}function on(e){e?it(";"):at()}function cn(e,n){const t=dn(115,n,ot,e);dt(),dn(20,t,it,e),Oe(e.expression),dn(21,e.expression.end,it,e)}function ln(e){void 0!==e&&(258===e.kind?we(e):Oe(e))}function dn(e,n,r,i,a){const o=Dc(i),s=o&&o.kind===i.kind,c=n;if(s&&t&&(n=ks(t.text,n)),s&&i.pos!==c){const e=a&&t&&!SE(c,n,t);e&&ft(),fr(c),e&&mt()}if(n=yt(e,r,n),s&&i.end!==n){const e=291===i.kind;hr(n,!e,e)}return n}function un(e){return 2===e.kind||!!e.hasTrailingNewLine}function _n(e){return!!t&&(!!ce(Bs(t.text,e.pos),un)||!!ce(YA(e),un)||!!aI(e)&&(!(e.pos===e.expression.pos||!ce(Us(t.text,e.expression.pos),un))||_n(e.expression)))}function pn(e){if(!ae&&aI(e)&&_n(e)){const n=Dc(e);if(n&&Fk(n)){const t=pA.createParenthesizedExpression(e.expression);return DA(t,e),MN(t,n),t}return pA.createParenthesizedExpression(e)}return e}function fn(e){return pn(le.parenthesizeExpressionForDisallowedComma(e))}function mn(e){Bn(e,e.modifiers,!1),ot("function"),we(e.asteriskToken),dt(),Ne(e.name),hn(e,gn)}function hn(e,n){const t=e.body;if(t)if(lI(t)){const r=131072&of(e);r&&ft(),Pt(e),A(e.parameters,jt),jt(e.body),n(e),yn(t),Ft(e),r&&mt()}else n(e),dt(),Oe(t,le.parenthesizeConciseBodyOfArrowFunction);else n(e),at()}function gn(e){zn(e,e.typeParameters),Jn(e,e.parameters),Vn(e.type)}function yn(e){null==O||O(e),dt(),it("{"),ft();const n=function(e){if(1&of(e))return!0;if(e.multiLine)return!1;if(!zy(e)&&t&&!hE(e,t))return!1;if(xt(e,De(e.statements),2)||At(e,Fe(e.statements),2,e.statements))return!1;let n;for(const t of e.statements){if(St(n,t,2)>0)return!1;n=t}return!0}(e)?vn:bn;cr(e,e.statements,n),mt(),ht(19,e.statements.end,it,e),null==P||P(e)}function vn(e){bn(e,!0)}function bn(e,n){const t=On(e.statements),r=y.getTextPos();Ye(e),0===t&&r===y.getTextPos()&&n?(mt(),$n(e,e.statements,768),ft()):$n(e,e.statements,1,void 0,t)}function xn(e){Bt(0,void 0),A(e.members,Ht),Bn(e,e.modifiers,!0),dn(84,pE(e).pos,ot,e),e.name&&(dt(),Ne(e.name));const n=131072&of(e);n&&ft(),zn(e,e.typeParameters),$n(e,e.heritageClauses,0),dt(),it("{"),$n(e,e.members,129),it("}"),n&&mt(),Ut()}function Sn(e){79===e.kind?Oe(e):we(e)}function An(e,n,r){let i=163969;1===n.length&&(!t||zy(e)||zy(n[0])||gE(e,n[0],t))?(ht(58,r,it,e),dt(),i&=-130):dn(58,r,it,e),$n(e,n,i)}function Ln(e){$n(e,pA.createNodeArray(e.jsDocPropertyTags),33)}function Cn(e){e.typeParameters&&$n(e,pA.createNodeArray(e.typeParameters),33),e.parameters&&$n(e,pA.createNodeArray(e.parameters),33),e.type&&(pt(),dt(),it("*"),dt(),we(e.type))}function kn(e){it("@"),we(e)}function In(e){const n=wl(e);n&&(dt(),q(n))}function wn(e){e&&(dt(),it("{"),we(e.type),it("}"))}function Rn(e){pt();const n=e.statements;0===n.length||!_m(n[0])||zy(n[0])?cr(e,n,Dn):Dn(e)}function Nn(e,n,r,i){if(e){const e=y.getTextPos();lt('/// <reference no-default-lib="true"/>'),z&&z.sections.push({pos:e,end:y.getTextPos(),kind:"no-default-lib"}),pt()}if(t&&t.moduleName&&(lt(`/// <amd-module name="${t.moduleName}" />`),pt()),t&&t.amdDependencies)for(const e of t.amdDependencies)e.name?lt(`/// <amd-dependency name="${e.name}" path="${e.path}" />`):lt(`/// <amd-dependency path="${e.path}" />`),pt();for(const e of n){const n=y.getTextPos();lt(`/// <reference path="${e.fileName}" />`),z&&z.sections.push({pos:n,end:y.getTextPos(),kind:"reference",data:e.fileName}),pt()}for(const e of r){const n=y.getTextPos(),r=e.resolutionMode&&e.resolutionMode!==(null==t?void 0:t.impliedNodeFormat)?`resolution-mode="${99===e.resolutionMode?"import":"require"}"`:"";lt(`/// <reference types="${e.fileName}" ${r}/>`),z&&z.sections.push({pos:n,end:y.getTextPos(),kind:e.resolutionMode?99===e.resolutionMode?"type-import":"type-require":"type",data:e.fileName}),pt()}for(const e of i){const n=y.getTextPos();lt(`/// <reference lib="${e.fileName}" />`),z&&z.sections.push({pos:n,end:y.getTextPos(),kind:"lib",data:e.fileName}),pt()}}function Dn(e){const n=e.statements;Pt(e),A(e.statements,jt),Ye(e);const t=M(n,(e=>!_m(e)));!function(e){e.isDeclarationFile&&Nn(e.hasNoDefaultLib,e.referencedFiles,e.typeReferenceDirectives,e.libReferenceDirectives)}(e),$n(e,n,1,void 0,-1===t?n.length:t),Ft(e)}function On(e,n,t,r){let i=!!n;for(let a=0;a<e.length;a++){const o=e[a];if(!_m(o))return a;if(!t||!t.has(o.expression.text)){i&&(i=!1,Le(n)),pt();const e=y.getTextPos();we(o),r&&z&&z.sections.push({pos:e,end:y.getTextPos(),kind:"prologue",data:o.expression.text}),t&&t.add(o.expression.text)}}return e.length}function Mn(e,n){for(const t of e)if(!n.has(t.data)){pt();const e=y.getTextPos();we(t),z&&z.sections.push({pos:e,end:y.getTextPos(),kind:"prologue",data:t.data}),n&&n.add(t.data)}}function Pn(e){if(Aw(e))On(e.statements,e);else{const n=new Set;for(const t of e.prepends)Mn(t.prologues,n);for(const t of e.sourceFiles)On(t.statements,t,n,!0);Le(void 0)}}function Fn(e){if(Aw(e)||Cw(e)){const n=Vs(e.text);if(n)return lt(n),pt(),!0}else{for(const n of e.prepends)if(Nt.assertNode(n,Cw),Fn(n))return!0;for(const n of e.sourceFiles)if(Fn(n))return!0}}function Gn(e,n){if(!e)return;const t=q;q=n,we(e),q=t}function Bn(e,n,t){if(null==n?void 0:n.length){if(N(n,Ed))return Un(e,n);if(N(n,KC))return t?function(e,n){$n(e,n,2146305);const t=Fe(n);return t&&!Xx(t.end)?t.end:e.pos}(e,n):e.pos;let r,i;null==F||F(n);let a,o=0,s=0;for(;o<n.length;){for(;s<n.length;){if(a=n[s],i=KC(a)?"decorators":"modifiers",void 0===r)r=i;else if(i!==r)break;s++}const c={pos:-1,end:-1};0===o&&(c.pos=n.pos),s===n.length-1&&(c.end=n.end),("modifiers"===r||t)&&et(we,e,n,"modifiers"===r?2359808:2146305,void 0,o,s-o,!1,c),o=s,r=i,s++}if(null==G||G(n),a&&!Xx(a.end))return a.end}return e.pos}function Un(e,n){$n(e,n,2359808);const t=Fe(n);return t&&!Xx(t.end)?t.end:e.pos}function Vn(e){e&&(it(":"),dt(),we(e))}function jn(e,n,t,r){e&&(dt(),dn(63,n,st,t),dt(),Oe(e,r))}function Hn(e){e&&(dt(),we(e))}function Kn(e,n){e&&(dt(),Oe(e,n))}function Wn(e,n){lI(n)||1&of(e)?(dt(),we(n)):(pt(),ft(),uI(n)?Ve(5,n):we(n),mt())}function qn(e,n){$n(e,n,53776,de)}function zn(e,n){if(Ad(e)&&e.typeArguments)return qn(e,e.typeArguments);$n(e,n,53776)}function Jn(e,n){$n(e,n,2576)}function Xn(e,n){!function(e,n){const t=Be(n);return t&&t.pos===e.pos&&Bk(e)&&!e.type&&!ce(e.modifiers)&&!ce(e.typeParameters)&&!ce(t.modifiers)&&!t.dotDotDotToken&&!t.questionToken&&!t.type&&!t.initializer&&AC(t.name)}(e,n)?Jn(e,n):$n(e,n,528)}function Yn(e){switch(60&e){case 0:break;case 16:it(",");break;case 4:dt(),it("|");break;case 32:dt(),it("*"),dt();break;case 8:dt(),it("&")}}function $n(e,n,t,r,i,a){Zn(we,e,n,t|(e&&2&of(e)?65536:0),r,i,a)}function Qn(e,n,t,r,i,a){Zn(Oe,e,n,t,r,i,a)}function Zn(e,n,r,i,a,o=0,s=(r?r.length-o:0)){if(void 0===r&&16384&i)return;const c=void 0===r||o>=r.length||0===s;if(c&&32768&i)return null==F||F(r),void(null==G||G(r));15360&i&&(it(function(e){return jV[15360&e][0]}(i)),c&&r&&hr(r.pos,!0)),null==F||F(r),c?!(1&i)||W&&(!n||t&&hE(n,t))?256&i&&!(524288&i)&&dt():pt():et(e,n,r,i,a,o,s,r.hasTrailingComma,r),null==G||G(r),15360&i&&(c&&r&&fr(r.end),it(function(e){return jV[15360&e][1]}(i)))}function et(e,n,t,r,i,a,o,s,c){const l=0==(262144&r);let d=l;const u=xt(n,t[a],r);u?(pt(u),d=!1):256&r&&dt(),128&r&&ft();const _=function(e,n){return 1===e.length?vj:"object"==typeof n?bj:Ej}(e,i);let p,f,m=!1;for(let s=0;s<o;s++){const o=t[a+s];if(32&r)pt(),Yn(r);else if(p){60&r&&p.end!==(n?n.end:-1)&&(2048&of(p)||fr(p.end)),Yn(r),ve(f);const e=St(p,o,r);e>0?(0==(131&r)&&(ft(),m=!0),pt(e),d=!1):p&&512&r&&dt()}f=ye(o),d?hr(JA(o).pos):d=l,g=o.pos,_(o,e,i,s),m&&(mt(),m=!1),p=o}const h=p?of(p):0,y=ae||!!(2048&h),v=s&&64&r&&16&r;v&&(p&&!y?dn(27,p.end,it,p):it(",")),p&&(n?n.end:-1)!==p.end&&60&r&&!y&&fr(v&&(null==c?void 0:c.end)?c.end:p.end),128&r&&mt(),ve(f);const b=At(n,t[a+o-1],r,c);b?pt(b):2097408&r&&dt()}function nt(e){y.writeLiteral(e)}function tt(e,n){y.writeSymbol(e,n)}function it(e){y.writePunctuation(e)}function at(){y.writeTrailingSemicolon(";")}function ot(e){y.writeKeyword(e)}function st(e){y.writeOperator(e)}function ct(e){y.writeParameter(e)}function lt(e){y.writeComment(e)}function dt(){y.writeSpace(" ")}function ut(e){y.writeProperty(e)}function _t(e){y.nonEscapingWrite?y.nonEscapingWrite(e):y.write(e)}function pt(e=1){for(let n=0;n<e;n++)y.writeLine(n>0)}function ft(){y.increaseIndent()}function mt(){y.decreaseIndent()}function ht(e,n,t,r){return Q?yt(e,t,n):function(e,n,t,r,i){if(Q||e&&Lh(e))return i(n,t,r);const a=e&&e.emitNode,o=a&&a.flags||0,s=a&&a.tokenSourceMapRanges&&a.tokenSourceMapRanges[n],c=s&&s.source||T;return r=Cr(c,s?s.pos:r),0==(256&o)&&r>=0&&Ir(c,r),r=i(n,t,r),s&&(r=s.end),0==(512&o)&&r>=0&&Ir(c,r),r}(r,e,t,n,yt)}function gt(e,n){B&&B(e),n(us(e.kind)),U&&U(e)}function yt(e,n,t){const r=us(e);return n(r),t<0?t:t+r.length}function vt(e,n,t){if(1&of(e))dt();else if(W){const r=wt(e,n,t);r?pt(r):dt()}else pt()}function bt(e){const n=e.split(/\r\n?|\n/g),t=n_(n);for(const e of n){const n=t?e.slice(t):e;n.length&&(pt(),q(n))}}function Et(e,n){e?(ft(),pt(e)):n&&dt()}function Tt(e,n){e&&mt(),n&&mt()}function xt(e,n,r){if(2&r||W){if(65536&r)return 1;if(void 0===n)return!e||t&&hE(e,t)?0:1;if(n.pos===g)return 0;if(11===n.kind)return 0;if(t&&e&&!Xx(e.pos)&&!zy(n)&&(!n.parent||wc(n.parent)===wc(e)))return W?Lt((r=>LE(n.pos,e.pos,t,r))):gE(e,n,t)?0:1;if(It(n,r))return 1}return 1&r?1:0}function St(e,n,r){if(2&r||W){if(void 0===e||void 0===n)return 0;if(11===n.kind)return 0;if(t&&!zy(e)&&!zy(n))return W&&function(e,n){if(n.pos<e.end)return!1;e=wc(e),n=wc(n);const t=e.parent;if(!t||t!==n.parent)return!1;const r=wS(e),i=null==r?void 0:r.indexOf(e);return void 0!==i&&i>-1&&r.indexOf(n)===i+1}(e,n)?Lt((r=>EE(e,n,t,r))):!W&&(a=n,(i=wc(i=e)).parent&&i.parent===wc(a).parent)?bE(e,n,t)?0:1:65536&r?1:0;if(It(e,r)||It(n,r))return 1}else if(qA(n))return 1;var i,a;return 1&r?1:0}function At(e,n,r,i){if(2&r||W){if(65536&r)return 1;if(void 0===n)return!e||t&&hE(e,t)?0:1;if(t&&e&&!Xx(e.pos)&&!zy(n)&&(!n.parent||n.parent===e)){if(W){const r=i&&!Xx(i.end)?i.end:n.end;return Lt((n=>CE(r,e.end,t,n)))}return yE(e,n,t)?0:1}if(It(n,r))return 1}return 1&r&&!(131072&r)?1:0}function Lt(e){Nt.assert(!!W);const n=e(!0);return 0===n?e(!1):n}function Ct(e,n){const t=W&&xt(n,e,0);return t&&Et(t,!1),!!t}function kt(e,n){const t=W&&At(n,e,0,void 0);t&&pt(t)}function It(e,n){if(zy(e)){const t=qA(e);return void 0===t?0!=(65536&n):t}return 0!=(65536&n)}function wt(e,n,r){return 262144&of(e)?0:(e=Dt(e),n=Dt(n),qA(r=Dt(r))?1:!t||zy(e)||zy(n)||zy(r)?0:W?Lt((e=>EE(n,r,t,e))):bE(n,r,t)?0:1)}function Rt(e){return 0===e.statements.length&&(!t||bE(e,e,t))}function Dt(e){for(;214===e.kind&&zy(e);)e=e.expression;return e}function Ot(e,n){if(fd(e)||md(e))return Wt(e);if(cC(e)&&e.textSourceNode)return Ot(e.textSourceNode,n);const r=t,i=!!r&&!!e.parent&&!zy(e);if(Dl(e)){if(!i||Ip(e)!==wc(r))return Pc(e)}else if(Nt.assertNode(e,rd),!i)return e.text;return Zp(r,e,n)}function Mt(n,r,i){if(10===n.kind&&n.textSourceNode){const e=n.textSourceNode;if(AC(e)||LC(e)||oC(e)){const t=oC(e)?e.text:Ot(e);return i?`"${lv(t)}"`:r||33554432&of(n)?`"${ov(t)}"`:`"${sv(t)}"`}return Mt(e,r,i)}const a=(r?1:0)|(i?2:0)|(e.terminateUnterminatedLiterals?4:0)|(e.target&&99===e.target?8:0);return lf(n,t,a)}function Pt(e){e&&1048576&of(e)||(u.push(_),_=0,s.push(c),c=void 0,p.push(f))}function Ft(e){e&&1048576&of(e)||(_=u.pop(),c=s.pop(),f=p.pop())}function Gt(e){f&&f!==Fe(p)||(f=new Set),f.add(e)}function Bt(e,n){l.push(d),d=e,m.push(f),h=n}function Ut(){d=l.pop(),h=m.pop()}function Vt(e){h&&h!==Fe(m)||(h=new Set),h.add(e)}function jt(e){if(e)switch(e.kind){case 238:case 292:case 293:A(e.statements,jt);break;case 253:case 251:case 243:case 244:jt(e.statement);break;case 242:jt(e.thenStatement),jt(e.elseStatement);break;case 245:case 247:case 246:jt(e.initializer),jt(e.statement);break;case 252:jt(e.caseBlock);break;case 266:A(e.clauses,jt);break;case 255:jt(e.tryBlock),jt(e.catchClause),jt(e.finallyBlock);break;case 295:jt(e.variableDeclaration),jt(e.block);break;case 240:jt(e.declarationList);break;case 258:A(e.declarations,jt);break;case 257:case 166:case 205:case 260:case 271:case 277:Kt(e.name);break;case 259:Kt(e.name),1048576&of(e)&&(A(e.parameters,jt),jt(e.body));break;case 203:case 204:case 272:A(e.elements,jt);break;case 269:jt(e.importClause);break;case 270:Kt(e.name),jt(e.namedBindings);break;case 273:Kt(e.propertyName||e.name)}}function Ht(e){if(e)switch(e.kind){case 299:case 300:case 169:case 171:case 174:case 175:Kt(e.name)}}function Kt(e){e&&(fd(e)||md(e)?Wt(e):Kd(e)&&jt(e))}function Wt(e){const n=e.emitNode.autoGenerate;if(4==(7&n.flags))return qt(SN(e),LC(e),n.flags,n.prefix,n.suffix);{const t=n.id;return a[t]||(a[t]=function(e){const n=e.emitNode.autoGenerate,t=AN(n.prefix,Wt),r=AN(n.suffix);switch(7&n.flags){case 1:return Yt(0,!!(8&n.flags),LC(e),t,r);case 2:return Nt.assertNode(e,AC),Yt(268435456,!!(8&n.flags),!1,t,r);case 3:return $t(Pc(e),32&n.flags?Jt:zt,!!(16&n.flags),!!(8&n.flags),LC(e),t,r)}return Nt.fail(`Unsupported GeneratedIdentifierKind: ${Nt.formatEnum(7&n.flags,Yr,!0)}.`)}(e))}}function qt(e,n,t,a,o){const s=KG(e),c=n?i:r;return c[s]||(c[s]=er(e,n,null!=t?t:0,AN(a,Wt),AN(o)))}function zt(e,n){return Jt(e)&&!function(e,n){return n?!!(null==h?void 0:h.has(e)):!!(null==f?void 0:f.has(e))}(e,n)&&!o.has(e)}function Jt(e,n){return!t||Pp(t,e,I)}function Xt(e,n){switch(e){case"":_=n;break;case"#":d=n;break;default:null!=c||(c=new Map),c.set(e,n)}}function Yt(e,n,t,r,i){r.length>0&&35===r.charCodeAt(0)&&(r=r.slice(1));const a=LN(t,r,"",i);let o=function(e){var n;switch(e){case"":return _;case"#":return d;default:return null!=(n=null==c?void 0:c.get(e))?n:0}}(a);if(e&&!(o&e)){const s=LN(t,r,268435456===e?"_i":"_n",i);if(zt(s,t))return o|=e,t?Vt(s):n&&Gt(s),Xt(a,o),s}for(;;){const e=268435455&o;if(o++,8!==e&&13!==e){const s=LN(t,r,e<26?"_"+String.fromCharCode(97+e):"_"+(e-26),i);if(zt(s,t))return t?Vt(s):n&&Gt(s),Xt(a,o),s}}}function $t(e,n=zt,t,r,i,a,s){if(e.length>0&&35===e.charCodeAt(0)&&(e=e.slice(1)),a.length>0&&35===a.charCodeAt(0)&&(a=a.slice(1)),t){const t=LN(i,a,e,s);if(n(t,i))return i?Vt(t):r?Gt(t):o.add(t),t}95!==e.charCodeAt(e.length-1)&&(e+="_");let c=1;for(;;){const t=LN(i,a,e+c,s);if(n(t,i))return i?Vt(t):r?Gt(t):o.add(t),t;c++}}function Qt(e){return $t(e,Jt,!0,!1,!1,"","")}function Zt(){return $t("default",zt,!1,!1,!1,"","")}function er(e,n,t,r,i){switch(e.kind){case 79:case 80:return $t(Ot(e),zt,!!(16&t),!!(8&t),n,r,i);case 264:case 263:return Nt.assert(!r&&!i&&!n),function(e){const n=Ot(e.name);return function(e,n){for(let t=n;t&&Qg(t,n);t=t.nextContainer)if(Iu(t)&&t.locals){const n=t.locals.get(Oc(e));if(n&&3257279&n.flags)return!1}return!0}(n,En(e,Iu))?n:$t(n,zt,!1,!1,!1,"","")}(e);case 269:case 275:return Nt.assert(!r&&!i&&!n),function(e){const n=mg(e);return $t(cC(n)?uf(n.text):"module",zt,!1,!1,!1,"","")}(e);case 259:case 260:{Nt.assert(!r&&!i&&!n);const a=e.name;return a&&!fd(a)?er(a,!1,t,r,i):Zt()}case 274:return Nt.assert(!r&&!i&&!n),Zt();case 228:return Nt.assert(!r&&!i&&!n),$t("class",zt,!1,!1,!1,"","");case 171:case 174:case 175:return function(e,n,t,r){return AC(e.name)?qt(e.name,n):Yt(0,!1,n,t,r)}(e,n,r,i);case 164:return Yt(0,!0,n,r,i);default:return Yt(0,!1,n,r,i)}}function nr(e,n){const t=We(2,e,n),r=ne,i=te,a=re;tr(n),t(e,n),rr(n,r,i,a)}function tr(e){const n=of(e),t=JA(e);!function(e,n,t,r){oe(),ie=!1;const i=t<0||0!=(1024&n)||11===e.kind,a=r<0||0!=(2048&n)||11===e.kind;(t>0||r>0)&&t!==r&&(i||lr(t,355!==e.kind),(!i||t>=0&&0!=(1024&n))&&(ne=t),(!a||r>=0&&0!=(2048&n))&&(te=r,258===e.kind&&(re=r))),A(YA(e),ar),se()}(e,n,t.pos,t.end),4096&n&&(ae=!0)}function rr(e,n,t,r){const i=of(e),a=JA(e);4096&i&&(ae=!1),ir(e,i,a.pos,a.end,n,t,r);const o=fL(e);o&&ir(e,i,o.pos,o.end,n,t,r)}function ir(e,n,t,r,i,a,o){oe();const s=r<0||0!=(2048&n)||11===e.kind;A(ZA(e),or),(t>0||r>0)&&t!==r&&(ne=i,te=a,re=o,s||355===e.kind||function(e){br(e,mr)}(r)),se()}function ar(e){(e.hasLeadingNewline||2===e.kind)&&y.writeLine(),sr(e),e.hasTrailingNewLine||2===e.kind?y.writeLine():y.writeSpace(" ")}function or(e){y.isAtStartOfLine()||y.writeSpace(" "),sr(e),e.hasTrailingNewLine&&y.writeLine()}function sr(e){const n=function(e){return 3===e.kind?`/*${e.text}*/`:`//${e.text}`}(e);ib(n,3===e.kind?ps(n):void 0,y,0,n.length,j)}function cr(e,n,r){oe();const{pos:i,end:a}=n,o=of(e),s=ae||a<0||0!=(2048&o);i<0||0!=(1024&o)||function(e){const n=t&&rb(t.text,Ie(),y,Er,e,j,ae);n&&(L?L.push(n):L=[n])}(n),se(),4096&o&&!ae?(ae=!0,r(e),ae=!1):r(e),oe(),s||(lr(n.end,!0),ie&&!y.isAtStartOfLine()&&y.writeLine()),se()}function lr(e,n){ie=!1,n?0===e&&(null==t?void 0:t.isDeclarationFile)?vr(e,ur):vr(e,pr):0===e&&vr(e,dr)}function dr(e,n,t,r,i){Tr(e,n)&&pr(e,n,t,r,i)}function ur(e,n,t,r,i){Tr(e,n)||pr(e,n,t,r,i)}function _r(n,t){return!e.onlyPrintJsDocStyle||eD(n,t)||Xp(n,t)}function pr(e,n,r,i,a){t&&_r(t.text,e)&&(ie||(nb(Ie(),y,a,e),ie=!0),kr(e),ib(t.text,Ie(),y,e,n,j),kr(n),i?y.writeLine():3===r&&y.writeSpace(" "))}function fr(e){ae||-1===e||lr(e,!0)}function mr(e,n,r,i){t&&_r(t.text,e)&&(y.isAtStartOfLine()||y.writeSpace(" "),kr(e),ib(t.text,Ie(),y,e,n,j),kr(n),i&&y.writeLine())}function hr(e,n,t){ae||(oe(),br(e,n?mr:t?gr:yr),se())}function gr(e,n,r){t&&(kr(e),ib(t.text,Ie(),y,e,n,j),kr(n),2===r&&y.writeLine())}function yr(e,n,r,i){t&&(kr(e),ib(t.text,Ie(),y,e,n,j),kr(n),i?y.writeLine():y.writeSpace(" "))}function vr(e,n){!t||-1!==ne&&e===ne||(function(e){return void 0!==L&&Ge(L).nodePos===e}(e)?function(e){if(!t)return;const n=Ge(L).detachedCommentEndPos;L.length-1?L.pop():L=void 0,Os(t.text,n,e,n)}(n):Os(t.text,e,n,e))}function br(e,n){t&&(-1===te||e!==te&&e!==re)&&Ms(t.text,e,n)}function Er(e,n,r,i,a,o){t&&_r(t.text,i)&&(kr(i),ib(e,n,r,i,a,o),kr(a))}function Tr(e,n){return!!t&&Jp(t.text,e,n)}function xr(e,n){const t=We(3,e,n);Sr(n),t(e,n),Ar(n)}function Sr(e){const n=of(e),t=jA(e);if(Xl(e)){Nt.assertIsDefined(e.parent,"UnparsedNodes must have parent pointers");const n=function(e){return void 0===e.parsedSourceMap&&void 0!==e.sourceMapText&&(e.parsedSourceMap=SB(e.sourceMapText)||!1),e.parsedSourceMap||void 0}(e.parent);n&&E&&E.appendSourceMap(y.getLine(),y.getColumn(),n,e.parent.sourceMapPath,e.parent.getLineAndCharacterOfPosition(e.pos),e.parent.getLineAndCharacterOfPosition(e.end))}else{const r=t.source||T;355!==e.kind&&0==(32&n)&&t.pos>=0&&Ir(t.source||T,Cr(r,t.pos)),128&n&&(Q=!0)}}function Ar(e){const n=of(e),t=jA(e);Xl(e)||(128&n&&(Q=!1),355!==e.kind&&0==(64&n)&&t.end>=0&&Ir(t.source||T,t.end))}function Cr(e,n){return e.skipTrivia?e.skipTrivia(n):ks(e.text,n)}function kr(e){if(Q||Xx(e)||Rr(T))return;const{line:n,character:t}=bs(T,e);E.addMapping(y.getLine(),y.getColumn(),Z,n,t,void 0)}function Ir(e,n){if(e!==T){const t=T,r=Z;wr(e),kr(n),function(e,n){T=e,Z=n}(t,r)}else kr(n)}function wr(n){Q||(T=n,n!==x?Rr(n)||(Z=E.addSource(n.fileName),e.inlineSources&&E.setSourceContent(Z,n.text),x=n,ee=Z):Z=ee)}function Rr(e){return to(e.fileName,".json")}}function vj(e,n,t,r){n(e)}function bj(e,n,t,r){n(e,t.select(r))}function Ej(e,n,t,r){n(e,t)}var Tj,xj,Sj=E({"src/compiler/emitter.ts"(){Qq(),Qq(),_a(),jV=function(){const e=[];return e[1024]=["{","}"],e[2048]=["(",")"],e[4096]=["<",">"],e[8192]=["[","]"],e}(),HV={hasGlobalName:wn,getReferencedExportContainer:wn,getReferencedImportDeclaration:wn,getReferencedDeclarationWithCollidingName:wn,isDeclarationWithCollidingName:wn,isValueAliasDeclaration:wn,isReferencedAliasDeclaration:wn,isTopLevelValueImportEqualsWithEntityName:wn,getNodeCheckFlags:wn,isDeclarationVisible:wn,isLateBound:e=>!1,collectLinkedAliases:wn,isImplementationOfOverload:wn,isRequiredInitializedParameter:wn,isOptionalUninitializedParameterProperty:wn,isExpandoFunctionDeclaration:wn,getPropertiesOfContainerFunction:wn,createTypeOfDeclaration:wn,createReturnTypeOfSignatureDeclaration:wn,createTypeOfExpression:wn,createLiteralConstValue:wn,isSymbolAccessible:wn,isEntityNameVisible:wn,getConstantValue:wn,getReferencedValueDeclaration:wn,getTypeReferenceSerializationKind:wn,isOptionalParameter:wn,moduleExportsSomeValue:wn,isArgumentsLocalBinding:wn,getExternalModuleFileFromDeclaration:wn,getTypeReferenceDirectivesForEntityName:wn,getTypeReferenceDirectivesForSymbol:wn,isLiteralConstDeclaration:wn,getJsxFactoryEntity:wn,getJsxFragmentFactoryEntity:wn,getAllAccessorDeclarations:wn,getSymbolOfExternalModuleSpecifier:wn,isBindingCapturedByNode:wn,getDeclarationStatementsForSourceFile:wn,isImportRequiredByAugmentation:wn},KV=Rn((()=>yj({}))),WV=Rn((()=>yj({removeComments:!0}))),qV=Rn((()=>yj({removeComments:!0,neverAsciiEscape:!0}))),zV=Rn((()=>yj({removeComments:!0,omitTrailingSemicolon:!0})))}});function Aj(e,n,t){if(!e.getDirectories||!e.readDirectory)return;const r=new Map,a=lt(t);return{useCaseSensitiveFileNames:t,fileExists:function(n){const t=c(o(n));return t&&u(t.sortedAndCanonicalizedFiles,a(l(n)))||e.fileExists(n)},readFile:(n,t)=>e.readFile(n,t),directoryExists:e.directoryExists&&function(n){const t=o(n);return r.has(Ao(t))||e.directoryExists(n)},getDirectories:function(n){const t=d(n,o(n));return t?t.directories.slice():e.getDirectories(n)},readDirectory:function(r,a,s,c,u){const p=o(r),f=d(r,p);let m;return void 0!==f?Ix(r,a,s,c,t,n,u,(function(e){const n=o(e);if(n===p)return f||h(e,n);const t=d(e,n);return void 0!==t?t||h(e,n):tp}),_):e.readDirectory(r,a,s,c,u);function h(n,t){if(m&&t===p)return m;const r={files:W(e.readDirectory(n,void 0,void 0,["*.*"]),l)||i,directories:e.getDirectories(n)||i};return t===p&&(m=r),r}},createDirectory:e.createDirectory&&function(n){const t=c(o(n));if(t){const e=l(n),r=a(e);me(t.sortedAndCanonicalizedDirectories,r,Wn)&&t.directories.push(e)}e.createDirectory(n)},writeFile:e.writeFile&&function(n,t,r){const i=c(o(n));return i&&p(i,l(n),!0),e.writeFile(n,t,r)},addOrDeleteFileOrDirectory:function(n,t){if(void 0!==s(t))return void f();const r=c(t);if(!r)return;if(!e.directoryExists)return void f();const i=l(n),o={fileExists:e.fileExists(t),directoryExists:e.directoryExists(t)};return o.directoryExists||u(r.sortedAndCanonicalizedDirectories,a(i))?f():p(r,i,o.fileExists),o},addOrDeleteFile:function(e,n,t){if(1===t)return;const r=c(n);r&&p(r,l(e),0===t)},clearCache:f,realpath:e.realpath&&_};function o(e){return xo(e,n,a)}function s(e){return r.get(Ao(e))}function c(e){const n=s(co(e));return n?(n.sortedAndCanonicalizedFiles||(n.sortedAndCanonicalizedFiles=n.files.map(a).sort(),n.sortedAndCanonicalizedDirectories=n.directories.map(a).sort()),n):n}function l(e){return lo(Eo(e))}function d(n,t){const i=s(t=Ao(t));if(i)return i;try{return function(n,t){var i;if(!e.realpath||Ao(o(e.realpath(n)))===t){const i={files:W(e.readDirectory(n,void 0,void 0,["*.*"]),l)||[],directories:e.getDirectories(n)||[]};return r.set(Ao(t),i),i}if(null==(i=e.directoryExists)?void 0:i.call(e,n))return r.set(t,!1),!1}(n,t)}catch(e){return void Nt.assert(!r.has(Ao(t)))}}function u(e,n){return He(e,n,Cn,Wn)>=0}function _(n){return e.realpath?e.realpath(n):n}function p(e,n,t){const r=e.sortedAndCanonicalizedFiles,i=a(n);if(t)me(r,i,Wn)&&e.files.push(n);else{const n=He(r,i,Cn,Wn);if(n>=0){r.splice(n,1);const t=e.files.findIndex((e=>a(e)===i));e.files.splice(t,1)}}}function f(){r.clear()}}function Lj(e,n,t,r,a){var o;const s=nn((null==(o=null==n?void 0:n.configFile)?void 0:o.extendedSourceFiles)||i,a);t.forEach(((n,t)=>{s.has(t)||(n.projects.delete(e),n.close())})),s.forEach(((n,i)=>{const a=t.get(i);a?a.projects.add(e):t.set(i,{projects:new Set([e]),watcher:r(n,i),close:()=>{const e=t.get(i);e&&0===e.projects.size&&(e.watcher.close(),t.delete(i))}})}))}function Cj(e,n){n.forEach((n=>{n.projects.delete(e)&&n.close()}))}function kj(e,n,t){e.delete(n)&&e.forEach((({extendedResult:r},i)=>{var a;(null==(a=r.extendedSourceFiles)?void 0:a.some((e=>t(e)===n)))&&kj(e,i,t)}))}function Ij(e,n,t){HE(n,new Map(e),{createNewValue:t,onDeleteValue:NE})}function wj(e,n,t){HE(n,nn(e.getMissingFilePaths(),Cn,An),{createNewValue:t,onDeleteValue:NE})}function Rj(e,n,t){function r(e,n){return{watcher:t(e,n),flags:n}}HE(e,n,{createNewValue:r,onDeleteValue:Pj,onExistingValue:function(n,t,i){n.flags!==t&&(n.watcher.close(),e.set(i,r(i,t)))}})}function Nj({watchedDirPath:e,fileOrDirectory:n,fileOrDirectoryPath:t,configFileName:r,options:i,program:a,extraFileExtensions:o,currentDirectory:s,useCaseSensitiveFileNames:c,writeLog:l,toPath:d}){const u=RK(t);if(!u)return l(`Project: ${r} Detected ignored path: ${n}`),!0;if((t=u)===e)return!1;if(no(t)&&!Ux(n,i,o))return l(`Project: ${r} Detected file add/remove of non supported extension: ${n}`),!0;if(VM(n,i.configFile.configFileSpecs,bo(co(r),s),c,s))return l(`Project: ${r} Detected excluded file: ${n}`),!0;if(!a)return!1;if(kv(i)||i.outDir)return!1;if(ND(t)){if(i.declarationDir)return!1}else if(!ro(t,X_))return!1;const _=Hx(t),p=gn(a)?void 0:function(e){return!!e.getState}(a)?a.getProgramOrUndefined():a,f=p||gn(a)?void 0:a;return!(!m(_+".ts")&&!m(_+".tsx")||(l(`Project: ${r} Detected output file: ${n}`),0));function m(e){return p?!!p.getSourceFileByPath(e):f?f.getState().fileInfos.has(e):!!D(a,(n=>d(n)===e))}}function Dj(e,n){return!!e&&e.isEmittedFile(n)}function Oj(e,n,t,r){Ma(2===n?t:xn);const i={watchFile:(n,t,r,i)=>e.watchFile(n,t,r,i),watchDirectory:(n,t,r,i)=>e.watchDirectory(n,t,0!=(1&r),i)},a=0!==n?{watchFile:l("watchFile"),watchDirectory:l("watchDirectory")}:void 0,o=2===n?{watchFile:function(e,n,i,o,s,c){t(`FileWatcher:: Added:: ${d(e,i,o,s,c,r)}`);const l=a.watchFile(e,n,i,o,s,c);return{close:()=>{t(`FileWatcher:: Close:: ${d(e,i,o,s,c,r)}`),l.close()}}},watchDirectory:function(e,n,i,o,s,c){const l=`DirectoryWatcher:: Added:: ${d(e,i,o,s,c,r)}`;t(l);const u=cr(),_=a.watchDirectory(e,n,i,o,s,c),p=cr()-u;return t(`Elapsed:: ${p}ms ${l}`),{close:()=>{const n=`DirectoryWatcher:: Close:: ${d(e,i,o,s,c,r)}`;t(n);const a=cr();_.close();const l=cr()-a;t(`Elapsed:: ${l}ms ${n}`)}}}}:a||i,s=2===n?function(e,n,i,a,o){return t(`ExcludeWatcher:: Added:: ${d(e,n,i,a,o,r)}`),{close:()=>t(`ExcludeWatcher:: Close:: ${d(e,n,i,a,o,r)}`)}}:GK;return{watchFile:c("watchFile"),watchDirectory:c("watchDirectory")};function c(n){return(t,r,i,a,c,l)=>{var d;return HM(t,"watchFile"===n?null==a?void 0:a.excludeFiles:null==a?void 0:a.excludeDirectories,"boolean"==typeof e.useCaseSensitiveFileNames?e.useCaseSensitiveFileNames:e.useCaseSensitiveFileNames(),(null==(d=e.getCurrentDirectory)?void 0:d.call(e))||"")?s(t,i,a,c,l):o[n].call(void 0,t,r,i,a,c,l)}}function l(e){return(n,a,o,s,c,l)=>i[e].call(void 0,n,((...i)=>{const u=`${"watchFile"===e?"FileWatcher":"DirectoryWatcher"}:: Triggered with ${i[0]} ${void 0!==i[1]?i[1]:""}:: ${d(n,o,s,c,l,r)}`;t(u);const _=cr();a.call(void 0,...i);const p=cr()-_;t(`Elapsed:: ${p}ms ${u}`)}),o,s,c,l)}function d(e,n,t,r,i,a){return`WatchInfo: ${e} ${n} ${JSON.stringify(t)} ${a?a(r,i):void 0===i?r:`${r} ${i}`}`}}function Mj(e){const n=null==e?void 0:e.fallbackPolling;return{watchFile:void 0!==n?n:1}}function Pj(e){e.watcher.close()}var Fj,Gj,Bj,Uj,Vj,jj,Hj,Kj,Wj,qj,zj,Jj,Xj,Yj=E({"src/compiler/watchUtilities.ts"(){Qq(),Qq(),Tj=(e=>(e[e.None=0]="None",e[e.Partial=1]="Partial",e[e.Full=2]="Full",e))(Tj||{}),xj=(e=>(e[e.None=0]="None",e[e.TriggerOnly=1]="TriggerOnly",e[e.Verbose=2]="Verbose",e))(xj||{})}});function $j(e,n,t="tsconfig.json"){return Bo(e,(e=>{const r=go(e,t);return n(r)?r:void 0}))}function Qj(e,n){const t=co(n);return Eo(Ya(e)?e:go(t,e))}function Zj(e,n,t){let r;return A(e,(e=>{const i=vo(e,n);if(i.pop(),!r)return void(r=i);const a=Math.min(r.length,i.length);for(let e=0;e<a;e++)if(t(r[e])!==t(i[e])){if(0===e)return!0;r.length=e;break}i.length<r.length&&(r.length=i.length)}))?"":r?fo(r):n}function eH(e,n){return rH(e,n)}function nH(e,n,t){return(r,i,a)=>{let o;try{kr("beforeIORead"),o=e(r,n().charset),kr("afterIORead"),Ir("I/O Read","beforeIORead","afterIORead")}catch(e){a&&a(e.message),o=""}return void 0!==o?AD(r,o,i,t):void 0}}function tH(e,n,t){return(r,i,a,o)=>{try{kr("beforeIOWrite"),Pv(r,i,a,e,n,t),kr("afterIOWrite"),Ir("I/O Write","beforeIOWrite","afterIOWrite")}catch(e){o&&o(e.message)}}}function rH(e,n,t=Sa){const r=new Map,i=lt(t.useCaseSensitiveFileNames);function a(){return co(Eo(t.getExecutingFilePath()))}const o=cE(e),s=t.realpath&&(e=>t.realpath(e)),c={getSourceFile:nH((e=>c.readFile(e)),(()=>e),n),getDefaultLibLocation:a,getDefaultLibFileName:e=>go(a(),nc(e)),writeFile:tH(((e,n,r)=>t.writeFile(e,n,r)),(e=>(c.createDirectory||t.createDirectory)(e)),(e=>{return n=e,!!r.has(n)||!!(c.directoryExists||t.directoryExists)(n)&&(r.set(n,!0),!0);var n})),getCurrentDirectory:Rn((()=>t.getCurrentDirectory())),useCaseSensitiveFileNames:()=>t.useCaseSensitiveFileNames,getCanonicalFileName:i,getNewLine:()=>o,fileExists:e=>t.fileExists(e),readFile:e=>t.readFile(e),trace:e=>t.write(e+o),directoryExists:e=>t.directoryExists(e),getEnvironmentVariable:e=>t.getEnvironmentVariable?t.getEnvironmentVariable(e):"",getDirectories:e=>t.getDirectories(e),realpath:s,readDirectory:(e,n,r,i,a)=>t.readDirectory(e,n,r,i,a),createDirectory:e=>t.createDirectory(e),createHash:dn(t,t.createHash)};return c}function iH(e,n,t){const r=e.readFile,i=e.fileExists,a=e.directoryExists,o=e.createDirectory,s=e.writeFile,c=new Map,l=new Map,d=new Map,u=new Map,_=(n,t)=>{const i=r.call(e,t);return c.set(n,void 0!==i&&i),i};e.readFile=t=>{const i=n(t),a=c.get(i);return void 0!==a?!1!==a?a:void 0:to(t,".json")||XV(t)?_(i,t):r.call(e,t)};const p=t?(e,r,i,a)=>{const o=n(e),s="object"==typeof r?r.impliedNodeFormat:void 0,c=u.get(s),l=null==c?void 0:c.get(o);if(l)return l;const d=t(e,r,i,a);return d&&(ND(e)||to(e,".json"))&&u.set(s,(c||new Map).set(o,d)),d}:void 0;return e.fileExists=t=>{const r=n(t),a=l.get(r);if(void 0!==a)return a;const o=i.call(e,t);return l.set(r,!!o),o},s&&(e.writeFile=(t,r,...i)=>{const a=n(t);l.delete(a);const o=c.get(a);void 0!==o&&o!==r?(c.delete(a),u.forEach((e=>e.delete(a)))):p&&u.forEach((e=>{const n=e.get(a);n&&n.text!==r&&e.delete(a)})),s.call(e,t,r,...i)}),a&&(e.directoryExists=t=>{const r=n(t),i=d.get(r);if(void 0!==i)return i;const o=a.call(e,t);return d.set(r,!!o),o},o&&(e.createDirectory=t=>{const r=n(t);d.delete(r),o.call(e,t)})),{originalReadFile:r,originalFileExists:i,originalDirectoryExists:a,originalCreateDirectory:o,originalWriteFile:s,getSourceFileWithCache:p,readFileWithCache:e=>{const t=n(e),r=c.get(t);return void 0!==r?!1!==r?r:void 0:_(t,e)}}}function aH(e,n,t){let r;return r=Ae(r,e.getConfigFileParsingDiagnostics()),r=Ae(r,e.getOptionsDiagnostics(t)),r=Ae(r,e.getSyntacticDiagnostics(n,t)),r=Ae(r,e.getGlobalDiagnostics(t)),r=Ae(r,e.getSemanticDiagnostics(n,t)),tx(e.getCompilerOptions())&&(r=Ae(r,e.getDeclarationDiagnostics(n,t))),ec(r||i)}function oH(e,n){let t="";for(const r of e)t+=sH(r,n);return t}function sH(e,n){const t=`${fa(e)} TS${e.code}: ${pH(e.messageText,n.getNewLine())}${n.getNewLine()}`;if(e.file){const{line:r,character:i}=bs(e.file,e.start);return`${Po(e.file.fileName,n.getCurrentDirectory(),(e=>n.getCanonicalFileName(e)))}(${r+1},${i+1}): `+t}return t}function cH(e){switch(e){case 1:return"";case 0:return"";case 2:return Nt.fail("Should never get an Info diagnostic on the command line.");case 3:return""}}function lH(e,n){return n+e+Uj}function dH(e,n,t,r,i,a){const{line:o,character:s}=bs(e,n),{line:c,character:l}=bs(e,n+t),d=bs(e,e.text.length).line,u=c-o>=4;let _=(c+1+"").length;u&&(_=Math.max(Vj.length,_));let p="";for(let n=o;n<=c;n++){p+=a.getNewLine(),u&&o+1<n&&n<c-1&&(p+=r+lH(At(Vj,_),Gj)+Bj+a.getNewLine(),n=c-1);const t=fs(e,n,0),f=n<d?fs(e,n+1,0):e.text.length;let m=e.text.slice(t,f);if(m=g(m),m=m.replace(/\t/g," "),p+=r+lH(At(n+1+"",_),Gj)+Bj,p+=m+a.getNewLine(),p+=r+lH(At("",_),Gj)+Bj,p+=i,n===o){const e=n===c?l:void 0;p+=m.slice(0,s).replace(/\S/g," "),p+=m.slice(s,e).replace(/./g,"~")}else p+=n===c?m.slice(0,l).replace(/./g,"~"):m.replace(/./g,"~");p+=Uj}return p}function uH(e,n,t,r=lH){const{line:i,character:a}=bs(e,n);let o="";return o+=r(t?Po(e.fileName,t.getCurrentDirectory(),(e=>t.getCanonicalFileName(e))):e.fileName,""),o+=":",o+=r(`${i+1}`,""),o+=":",o+=r(`${a+1}`,""),o}function _H(e,n){let t="";for(const r of e){if(r.file){const{file:e,start:i}=r;t+=uH(e,i,n),t+=" - "}if(t+=lH(fa(r),cH(r.category)),t+=lH(` TS${r.code}: `,""),t+=pH(r.messageText,n.getNewLine()),r.file&&(t+=n.getNewLine(),t+=dH(r.file,r.start,r.length,"",cH(r.category),n)),r.relatedInformation){t+=n.getNewLine();for(const{file:e,start:i,length:a,messageText:o}of r.relatedInformation)e&&(t+=n.getNewLine(),t+=jj+uH(e,i,n),t+=dH(e,i,a,Hj,"",n)),t+=n.getNewLine(),t+=Hj+pH(o,n.getNewLine())}t+=n.getNewLine()}return t}function pH(e,n,t=0){if(vn(e))return e;if(void 0===e)return"";let r="";if(t){r+=n;for(let e=0;e<t;e++)r+=" "}if(r+=e.messageText,t++,e.next)for(const i of e.next)r+=pH(i,n,t);return r}function fH(e,n){return(vn(e)?n:e.resolutionMode)||n}function mH(e,n){if(void 0!==e.impliedNodeFormat)return gH(e,VH(e,n))}function hH(e){var n;return YI(e)?e.isTypeOnly:!!(null==(n=e.importClause)?void 0:n.isTypeOnly)}function gH(e,n){var t,r;if(void 0===e.impliedNodeFormat)return;if((UI(n.parent)||YI(n.parent))&&hH(n.parent)){const e=yH(n.parent.assertClause);if(e)return e}if(n.parent.parent&&xk(n.parent.parent)){const e=yH(null==(t=n.parent.parent.assertions)?void 0:t.assertClause);if(e)return e}if(99!==e.impliedNodeFormat)return lm(zg(n.parent))?99:1;const i=null==(r=zg(n.parent))?void 0:r.parent;return i&&BI(i)?1:99}function yH(e,n){if(!e)return;if(1!==S(e.elements))return void(null==n||n(e,Vo.Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require));const t=e.elements[0];if(t_(t.name))if("resolution-mode"===t.name.text){if(t_(t.value)){if("import"===t.value.text||"require"===t.value.text)return"import"===t.value.text?99:1;null==n||n(t.value,Vo.resolution_mode_should_be_either_require_or_import)}}else null==n||n(t.name,Vo.resolution_mode_is_the_only_valid_key_for_type_import_assertions)}function vH(e){return e.text}function bH(e,n,t,r,i){return{nameAndMode:Wj,resolve:(a,o)=>UP(a,e,t,r,i,n,o)}}function EH(e){return vn(e)?e:In(e.fileName)}function TH(e,n,t,r,i){return{nameAndMode:qj,resolve:(a,o)=>TP(a,e,t,r,n,i,o)}}function xH(e,n,t,r,a,o,s,c){if(0===e.length)return i;const l=[],d=new Map,u=c(n,t,r,o,s);for(const n of e){const e=u.nameAndMode.getName(n),t=u.nameAndMode.getMode(n,a),r=RP(e,t);let i=d.get(r);i||d.set(r,i=u.resolve(e,t)),l.push(i)}return l}function SH(e,n){return AH(void 0,e,((e,t)=>e&&n(e,t)))}function AH(e,n,t,r){let i;return function e(n,a,o){if(r){const e=r(n,o);if(e)return e}return A(a,((n,r)=>{if(n&&(null==i?void 0:i.has(n.sourceFile.path)))return;const a=t(n,o,r);return a||!n?a:((i||(i=new Set)).add(n.sourceFile.path),e(n.commandLine.projectReferences,n.references,n))}))}(e,n,void 0)}function LH(e){switch(null==e?void 0:e.kind){case 3:case 4:case 5:case 7:return!0;default:return!1}}function CH(e){return void 0!==e.pos}function kH(e,n){var t,r,i,a,o,s;const c=Nt.checkDefined(e(n.file)),{kind:l,index:d}=n;let u,_,p,f;switch(l){case 3:const e=VH(c,d);if(p=null==(i=null==(r=null==(t=c.resolvedModules)?void 0:t.get(e.text,mH(c,d)))?void 0:r.resolvedModule)?void 0:i.packageId,-1===e.pos)return{file:c,packageId:p,text:e.text};u=ks(c.text,e.pos),_=e.end;break;case 4:({pos:u,end:_}=c.referencedFiles[d]);break;case 5:({pos:u,end:_,resolutionMode:f}=c.typeReferenceDirectives[d]),p=null==(s=null==(o=null==(a=c.resolvedTypeReferenceDirectiveNames)?void 0:a.get(In(c.typeReferenceDirectives[d].fileName),f||c.impliedNodeFormat))?void 0:o.resolvedTypeReferenceDirective)?void 0:s.packageId;break;case 7:({pos:u,end:_}=c.libReferenceDirectives[d]);break;default:return Nt.assertNever(l)}return{file:c,pos:u,end:_,packageId:p}}function IH(e,n,t,r,i,a,o,s,c){if(!e||(null==o?void 0:o()))return!1;if(!ve(e.getRootFileNames(),n))return!1;let l;if(!ve(e.getProjectReferences(),c,(function(n,t,r){return Tp(n,t)&&u(e.getResolvedProjectReferences()[r],n)})))return!1;if(e.getSourceFiles().some((function(e){return!function(e){return e.version===r(e.resolvedPath,e.fileName)}(e)||a(e.path)})))return!1;if(e.getMissingFilePaths().some(i))return!1;const d=e.getCompilerOptions();return!(!UE(d,t)||d.configFile&&t.configFile&&d.configFile.text!==t.configFile.text);function u(e,n){if(e){if(G(l,e))return!0;const t=GH(n),r=s(t);return!!r&&e.commandLine.options.configFile===r.options.configFile&&!!ve(e.commandLine.fileNames,r.fileNames)&&((l||(l=[])).push(e),!A(e.references,((n,t)=>!u(n,e.commandLine.projectReferences[t]))))}const t=GH(n);return!s(t)}}function wH(e){return e.options.configFile?[...e.options.configFile.parseDiagnostics,...e.errors]:e.errors}function RH(e,n,t,r){const i=NH(e,n,t,r);return"object"==typeof i?i.impliedNodeFormat:i}function NH(e,n,t,r){switch(jT(r)){case 3:case 99:return ro(e,[".d.mts",".mts",".mjs"])?99:ro(e,[".d.cts",".cts",".cjs"])?1:ro(e,[".d.ts",".ts",".tsx",".js",".jsx"])?function(){const i=cF(n,t,r),a=[];i.failedLookupLocations=a,i.affectingLocations=a;const o=lF(e,i);return{impliedNodeFormat:"module"===(null==o?void 0:o.contents.packageJsonContent.type)?99:1,packageJsonLocations:a,packageJsonScope:o}}():void 0;default:return}}function DH(e,t,r,a,o){var s,c,l,d,u,_,p,f,m,h,g,y,v,b,E,T;const x=gn(e)?function(e,n,t,r,i,a){return{rootNames:e,options:n,host:t,oldProgram:r,configFileParsingDiagnostics:i,typeScriptVersion:void 0}}(e,t,r,a,o):e,{rootNames:S,options:L,configFileParsingDiagnostics:I,projectReferences:w,typeScriptVersion:R}=x;let{oldProgram:N}=x;const O=Rn((()=>It("ignoreDeprecations",Vo.Invalid_value_for_ignoreDeprecations)));let P,F,B,U,V,H,K;const W=new Map;let q=un();const z={},Y={};let $,Q,Z,te=NP();const re="number"==typeof L.maxNodeModuleJsDepth?L.maxNodeModuleJsDepth:0;let ie=0;const ae=new Map,oe=new Map;null==(s=Vr)||s.push(Vr.Phase.Program,"createProgram",{configFilePath:L.configFilePath,rootDir:L.rootDir},!0),kr("beforeProgram");const se=x.host||eH(L),le=PH(se);let ue=L.noLib;const _e=Rn((()=>se.getDefaultLibFileName(L))),pe=se.getDefaultLibLocation?se.getDefaultLibLocation():co(_e()),fe=tv(),me=se.getCurrentDirectory(),he=Ox(L),ge=Mx(L,he),ye=new Map;let be,Ee,xe;const Se=se.hasInvalidatedResolutions||Sn;let Ae;if(se.resolveModuleNameLiterals?(xe=se.resolveModuleNameLiterals.bind(se),Ee=null==(c=se.getModuleResolutionCache)?void 0:c.call(se)):se.resolveModuleNames?(xe=(e,n,t,r,i,a)=>se.resolveModuleNames(e.map(vH),n,null==a?void 0:a.map(vH),t,r,i).map((e=>e?void 0!==e.extension?{resolvedModule:e}:{resolvedModule:{...e,extension:Qx(e.resolvedFileName)}}:Kj)),Ee=null==(l=se.getModuleResolutionCache)?void 0:l.call(se)):(Ee=FP(me,ht,L),xe=(e,n,t,r,i)=>xH(e,n,t,r,i,se,Ee,bH)),se.resolveTypeReferenceDirectiveReferences)Ae=se.resolveTypeReferenceDirectiveReferences.bind(se);else if(se.resolveTypeReferenceDirectives)Ae=(e,n,t,r,i)=>se.resolveTypeReferenceDirectives(e.map(EH),n,t,r,null==i?void 0:i.impliedNodeFormat).map((e=>({resolvedTypeReferenceDirective:e})));else{const e=GP(me,ht,void 0,null==Ee?void 0:Ee.getPackageJsonInfoCache());Ae=(n,t,r,i,a)=>xH(n,t,r,i,a,se,e,TH)}const Le=new Map;let Ce=new Map,ke=un(),Ie=!1;const we=new Map;let Ne;const De=se.useCaseSensitiveFileNames()?new Map:void 0;let Oe,Me,Pe,Fe;const Ge=!!(null==(d=se.useSourceOfProjectReferenceRedirect)?void 0:d.call(se))&&!L.disableSourceOfProjectReferenceRedirect,{onProgramCreateComplete:Be,fileExists:Ue,directoryExists:Ve}=function(e){let n;const t=e.compilerHost.fileExists,r=e.compilerHost.directoryExists,i=e.compilerHost.getDirectories,a=e.compilerHost.realpath;if(!e.useSourceOfProjectReferenceRedirect)return{onProgramCreateComplete:xn,fileExists:s};let o;return e.compilerHost.fileExists=s,r&&(o=e.compilerHost.directoryExists=t=>r.call(e.compilerHost,t)?(function(n){var t;if(!e.getResolvedProjectReferences()||IS(n))return;if(!a||!rt(n,rP))return;const r=e.getSymlinkCache(),i=Ao(e.toPath(n));if(null==(t=r.getSymlinkedDirectories())?void 0:t.has(i))return;const o=Eo(a.call(e.compilerHost,n));let s;o!==n&&(s=Ao(e.toPath(o)))!==i?r.setSymlinkedDirectory(n,{real:Ao(o),realPath:s}):r.setSymlinkedDirectory(i,!1)}(t),!0):!!e.getResolvedProjectReferences()&&(n||(n=new Set,e.forEachResolvedProjectReference((t=>{const r=kv(t.commandLine.options);if(r)n.add(co(e.toPath(r)));else{const r=t.commandLine.options.declarationDir||t.commandLine.options.outDir;r&&n.add(e.toPath(r))}}))),c(t,!1))),i&&(e.compilerHost.getDirectories=n=>!e.getResolvedProjectReferences()||r&&r.call(e.compilerHost,n)?i.call(e.compilerHost,n):[]),a&&(e.compilerHost.realpath=n=>{var t;return(null==(t=e.getSymlinkCache().getSymlinkedFiles())?void 0:t.get(e.toPath(n)))||a.call(e.compilerHost,n)}),{onProgramCreateComplete:function(){e.compilerHost.fileExists=t,e.compilerHost.directoryExists=r,e.compilerHost.getDirectories=i},fileExists:s,directoryExists:o};function s(n){return!!t.call(e.compilerHost,n)||!!e.getResolvedProjectReferences()&&!!ND(n)&&c(n,!0)}function c(r,i){var a;const o=i?n=>function(n){const r=e.getSourceOfProjectReferenceRedirect(e.toPath(n));return void 0!==r?!vn(r)||t.call(e.compilerHost,r):void 0}(n):t=>function(t){const r=e.toPath(t),i=`${r}${ja}`;return fp(n,(e=>r===e||pt(e,i)||pt(r,`${e}/`)))}(t),s=o(r);if(void 0!==s)return s;const c=e.getSymlinkCache(),l=c.getSymlinkedDirectories();if(!l)return!1;const d=e.toPath(r);return!!rt(d,rP)&&(!(!i||!(null==(a=c.getSymlinkedFiles())?void 0:a.has(d)))||k(l.entries(),(([n,t])=>{if(!t||!pt(d,n))return;const a=o(d.replace(n,t.realPath));if(i&&a){const i=bo(r,e.compilerHost.getCurrentDirectory());c.setSymlinkedFile(d,`${t.real}${i.replace(new RegExp(n,"i"),"")}`)}return a}))||!1)}}({compilerHost:se,getSymlinkCache:Gt,useSourceOfProjectReferenceRedirect:Ge,toPath:nn,getResolvedProjectReferences:cn,getSourceOfProjectReferenceRedirect:ot,forEachResolvedProjectReference:at}),je=se.readFile.bind(se);null==(u=Vr)||u.push(Vr.Phase.Program,"shouldProgramCreateNewSourceFiles",{hasOldProgram:!!N});const He=function(e,n){return!!e&&up(e.getCompilerOptions(),n,nO)}(N,L);let Ke;if(null==(_=Vr)||_.pop(),null==(p=Vr)||p.push(Vr.Phase.Program,"tryReuseStructureFromOldProgram",{}),Ke=function(){var e;if(!N)return 0;const n=N.getCompilerOptions();if(cp(n,L))return 0;if(!ve(N.getRootFileNames(),S))return 0;if(AH(N.getProjectReferences(),N.getResolvedProjectReferences(),((e,n,t)=>{const r=yt((n?n.commandLine.projectReferences:w)[t]);return e?!r||r.sourceFile!==e.sourceFile||!ve(e.commandLine.fileNames,r.commandLine.fileNames):void 0!==r}),((e,n)=>!ve(e,n?ct(n.sourceFile.path).commandLine.projectReferences:w,Tp))))return 0;w&&(Oe=w.map(yt));const t=[],r=[];if(Ke=2,N.getMissingFilePaths().some((e=>se.fileExists(e))))return 0;const i=N.getSourceFiles();let a;var o;(o=a||(a={}))[o.Exists=0]="Exists",o[o.Modified=1]="Modified";const s=new Map;for(const n of i){const i=Xn(n.fileName,Ee,se,L);let a,o=se.getSourceFileByPath?se.getSourceFileByPath(n.fileName,n.resolvedPath,i,void 0,He||i.impliedNodeFormat!==n.impliedNodeFormat):se.getSourceFile(n.fileName,i,void 0,He||i.impliedNodeFormat!==n.impliedNodeFormat);if(!o)return 0;if(o.packageJsonLocations=(null==(e=i.packageJsonLocations)?void 0:e.length)?i.packageJsonLocations:void 0,o.packageJsonScope=i.packageJsonScope,Nt.assert(!o.redirectInfo,"Host should not return a redirect source file from `getSourceFile`"),n.redirectInfo){if(o!==n.redirectInfo.unredirected)return 0;a=!1,o=n}else if(N.redirectTargetsMap.has(n.path)){if(o!==n)return 0;a=!1}else a=o!==n;o.path=n.path,o.originalFileName=n.originalFileName,o.resolvedPath=n.resolvedPath,o.fileName=n.fileName;const c=N.sourceFileToPackageName.get(n.path);if(void 0!==c){const e=s.get(c),n=a?1:0;if(void 0!==e&&1===n||1===e)return 0;s.set(c,n)}a?(n.impliedNodeFormat!==o.impliedNodeFormat?Ke=1:ve(n.libReferenceDirectives,o.libReferenceDirectives,Bn)?n.hasNoDefaultLib!==o.hasNoDefaultLib?Ke=1:ve(n.referencedFiles,o.referencedFiles,Bn)?(Hn(o),ve(n.imports,o.imports,Vn)&&ve(n.moduleAugmentations,o.moduleAugmentations,Vn)?(6291456&n.flags)!=(6291456&o.flags)?Ke=1:ve(n.typeReferenceDirectives,o.typeReferenceDirectives,Bn)||(Ke=1):Ke=1):Ke=1:Ke=1,r.push({oldFile:n,newFile:o})):Se(n.path)&&(Ke=1,r.push({oldFile:n,newFile:o})),t.push(o)}if(2!==Ke)return Ke;const c=r.map((e=>e.oldFile));for(const e of i)if(!G(c,e))for(const n of e.ambientModuleNames)W.set(n,e.fileName);for(const{oldFile:e,newFile:n}of r){const t=UH(n),r=rn(t,n);Cp(t,n,r,e.resolvedModules,xp,Wj)?(Ke=1,n.resolvedModules=DP(n,t,r,Wj)):n.resolvedModules=e.resolvedModules;const i=n.typeReferenceDirectives,a=an(i,n);Cp(i,n,a,e.resolvedTypeReferenceDirectiveNames,Lp,qj)?(Ke=1,n.resolvedTypeReferenceDirectiveNames=DP(n,i,a,qj)):n.resolvedTypeReferenceDirectiveNames=e.resolvedTypeReferenceDirectiveNames}if(2!==Ke)return Ke;if(dp(n,L))return 1;if(se.hasChangedAutomaticTypeDirectiveNames){if(se.hasChangedAutomaticTypeDirectiveNames())return 1}else if(Q=LP(L,se),!ve(N.getAutomaticTypeDirectiveNames(),Q))return 1;Ne=N.getMissingFilePaths(),Nt.assert(t.length===N.getSourceFiles().length);for(const e of t)we.set(e.path,e);return N.getFilesByNameMap().forEach(((e,n)=>{e?e.path!==n?we.set(n,we.get(e.path)):N.isSourceFileFromExternalLibrary(e)&&oe.set(e.path,!0):we.set(n,e)})),B=t,q=N.getFileIncludeReasons(),$=N.getFileProcessingDiagnostics(),te=N.getResolvedTypeReferenceDirectives(),Q=N.getAutomaticTypeDirectiveNames(),Z=N.getAutomaticTypeDirectiveResolutions(),Ce=N.sourceFileToPackageName,ke=N.redirectTargetsMap,Ie=N.usesUriStyleNodeCoreModules,2}(),null==(f=Vr)||f.pop(),2!==Ke){if(P=[],F=[],w&&(Oe||(Oe=w.map(yt)),S.length&&(null==Oe||Oe.forEach(((e,n)=>{if(!e)return;const t=kv(e.commandLine.options);if(Ge){if(t||0===UT(e.commandLine.options))for(const t of e.commandLine.fileNames)qn(t,{kind:1,index:n})}else if(t)qn(qx(t,".d.ts"),{kind:2,index:n});else if(0===UT(e.commandLine.options)){const t=Rn((()=>lj(e.commandLine,!se.useCaseSensitiveFileNames())));for(const r of e.commandLine.fileNames)ND(r)||to(r,".json")||qn(rj(r,e.commandLine,!se.useCaseSensitiveFileNames(),t),{kind:2,index:n})}})))),null==(m=Vr)||m.push(Vr.Phase.Program,"processRootFiles",{count:S.length}),A(S,((e,n)=>Pn(e,!1,!1,{kind:0,index:n}))),null==(h=Vr)||h.pop(),null!=Q||(Q=S.length?LP(L,se):i),Z=NP(),Q.length){null==(g=Vr)||g.push(Vr.Phase.Program,"processTypeReferences",{count:Q.length});const e=go(L.configFilePath?co(L.configFilePath):se.getCurrentDirectory(),zj),n=an(Q,e);for(let e=0;e<Q.length;e++)Z.set(Q[e],void 0,n[e]),ut(Q[e],void 0,n[e],{kind:8,typeReference:Q[e],packageId:null==(v=null==(y=n[e])?void 0:y.resolvedTypeReferenceDirective)?void 0:v.packageId});null==(b=Vr)||b.pop()}if(S.length&&!ue){const e=_e();!L.lib&&e?Pn(e,!0,!1,{kind:6}):A(L.lib,((e,n)=>{Pn(_t(e),!0,!1,{kind:6,index:n})}))}Ne=Qe(ne(we.entries(),(([e,n])=>void 0===n?e:void 0))),B=Re(P,(function(e,n){return Un(en(e),en(n))})).concat(F),P=void 0,F=void 0}if(Nt.assert(!!Ne),N&&se.onReleaseOldSourceFile){const e=N.getSourceFiles();for(const n of e){const e=hn(n.resolvedPath);(He||!e||e.impliedNodeFormat!==n.impliedNodeFormat||n.resolvedPath===n.path&&e.resolvedPath!==n.path)&&se.onReleaseOldSourceFile(n,N.getCompilerOptions(),!!hn(n.path))}se.getParsedCommandLine||N.forEachResolvedProjectReference((e=>{ct(e.sourceFile.path)||se.onReleaseOldSourceFile(e.sourceFile,N.getCompilerOptions(),!1)}))}N&&se.onReleaseParsedCommandLine&&AH(N.getProjectReferences(),N.getResolvedProjectReferences(),((e,n,t)=>{const r=GH((null==n?void 0:n.commandLine.projectReferences[t])||N.getProjectReferences()[t]);(null==Me?void 0:Me.has(nn(r)))||se.onReleaseParsedCommandLine(r,e,N.getCompilerOptions())})),N=void 0;const We={getRootFileNames:()=>S,getSourceFile:mn,getSourceFileByPath:hn,getSourceFiles:()=>B,getMissingFilePaths:()=>Ne,getModuleResolutionCache:()=>Ee,getFilesByNameMap:()=>we,getCompilerOptions:()=>L,getSyntacticDiagnostics:function(e,n){return yn(e,En,n)},getOptionsDiagnostics:function(){return ec(de(fe.getGlobalDiagnostics(),function(){if(!L.configFile)return i;let e=fe.getDiagnostics(L.configFile.fileName);return at((n=>{e=de(e,fe.getDiagnostics(n.sourceFile.fileName))})),e}()))},getGlobalDiagnostics:function(){return S.length?ec(pn().getGlobalDiagnostics().slice()):i},getSemanticDiagnostics:function(e,n){return yn(e,An,n)},getCachedSemanticDiagnostics:function(e){var n;return e?null==(n=z.perFile)?void 0:n.get(e.path):z.allDiagnostics},getSuggestionDiagnostics:function(e,n){return Tn((()=>pn().getSuggestionDiagnostics(e,n)))},getDeclarationDiagnostics:function(e,n){const t=We.getCompilerOptions();return!e||kv(t)?Nn(e,n):yn(e,Mn,n)},getBindAndCheckDiagnostics:function(e,n){return Ln(e,n)},getProgramDiagnostics:bn,getTypeChecker:pn,getClassifiableNames:function(){var e;if(!K){pn(),K=new Set;for(const n of B)null==(e=n.classifiableNames)||e.forEach((e=>K.add(e)))}return K},getCommonSourceDirectory:tn,emit:function(e,n,t,r,i,a){var o,s;null==(o=Vr)||o.push(Vr.Phase.Emit,"emit",{path:null==e?void 0:e.path},!0);const c=Tn((()=>function(e,n,t,r,i,a,o){if(!o){const i=OH(e,n,t,r);if(i)return i}const s=pn().getEmitResolver(kv(L)?void 0:n,r);kr("beforeEmit");const c=pj(s,on(t),n,DV(L,a,i),i,!1,o);return kr("afterEmit"),Ir("Emit","beforeEmit","afterEmit"),c}(We,e,n,t,r,i,a)));return null==(s=Vr)||s.pop(),c},getCurrentDirectory:()=>me,getNodeCount:()=>pn().getNodeCount(),getIdentifierCount:()=>pn().getIdentifierCount(),getSymbolCount:()=>pn().getSymbolCount(),getTypeCount:()=>pn().getTypeCount(),getInstantiationCount:()=>pn().getInstantiationCount(),getRelationCacheSizes:()=>pn().getRelationCacheSizes(),getFileProcessingDiagnostics:()=>$,getResolvedTypeReferenceDirectives:()=>te,getAutomaticTypeDirectiveNames:()=>Q,getAutomaticTypeDirectiveResolutions:()=>Z,isSourceFileFromExternalLibrary:_n,isSourceFileDefaultLibrary:function(e){if(!e.isDeclarationFile)return!1;if(e.hasNoDefaultLib)return!0;if(!L.noLib)return!1;const n=se.useCaseSensitiveFileNames()?Gn:Fn;return L.lib?ce(L.lib,(t=>n(e.fileName,_t(t)))):n(e.fileName,_e())},getSourceFileFromReference:function(e,n){return Kn(Qj(n.fileName,e.fileName),mn)},getLibFileFromReference:function(e){const n=In(e.fileName),t=KD.get(n);if(t)return mn(_t(t))},sourceFileToPackageName:Ce,redirectTargetsMap:ke,usesUriStyleNodeCoreModules:Ie,isEmittedFile:function(e){if(L.noEmit)return!1;const n=nn(e);if(hn(n))return!1;const t=kv(L);if(t)return Ft(n,t)||Ft(n,Hx(t)+".d.ts");if(L.declarationDir&&No(L.declarationDir,n,me,!se.useCaseSensitiveFileNames()))return!0;if(L.outDir)return No(L.outDir,n,me,!se.useCaseSensitiveFileNames());if(ro(n,X_)||ND(n)){const e=Hx(n);return!!hn(e+".ts")||!!hn(e+".tsx")}return!1},getConfigFileParsingDiagnostics:function(){return I||i},getProjectReferences:function(){return w},getResolvedProjectReferences:cn,getProjectReferenceRedirect:Zn,getResolvedProjectReferenceToRedirect:it,getResolvedProjectReferenceByPath:ct,forEachResolvedProjectReference:at,isSourceOfProjectReferenceRedirect:st,emitBuildInfo:function(e){var n,t;Nt.assert(!kv(L)),null==(n=Vr)||n.push(Vr.Phase.Emit,"emitBuildInfo",{},!0),kr("beforeEmit");const r=pj(HV,on(e),void 0,wV,!1,!0);return kr("afterEmit"),Ir("Emit","beforeEmit","afterEmit"),null==(t=Vr)||t.pop(),r},fileExists:Ue,readFile:je,directoryExists:Ve,getSymlinkCache:Gt,realpath:null==(E=se.realpath)?void 0:E.bind(se),useCaseSensitiveFileNames:()=>se.useCaseSensitiveFileNames(),getCanonicalFileName:ht,getFileIncludeReasons:()=>q,structureIsReused:Ke,writeFile:sn};return Be(),null==$||$.forEach((e=>{switch(e.kind){case 1:return fe.add(bt(e.file&&hn(e.file),e.fileProcessingReason,e.diagnostic,e.args||i));case 0:const{file:n,pos:t,end:r}=kH(hn,e.reason);return fe.add(ST(n,Nt.checkDefined(t),Nt.checkDefined(r)-t,e.diagnostic,...e.args||i));case 2:return e.diagnostics.forEach((e=>fe.add(e)));default:Nt.assertNever(e)}})),function(){L.strictPropertyInitialization&&!ax(L,"strictNullChecks")&&kt(Vo.Option_0_cannot_be_specified_without_specifying_option_1,"strictPropertyInitialization","strictNullChecks"),L.exactOptionalPropertyTypes&&!ax(L,"strictNullChecks")&&kt(Vo.Option_0_cannot_be_specified_without_specifying_option_1,"exactOptionalPropertyTypes","strictNullChecks"),(L.isolatedModules||L.verbatimModuleSyntax)&&(L.out&&kt(Vo.Option_0_cannot_be_specified_with_option_1,"out",L.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules"),L.outFile&&kt(Vo.Option_0_cannot_be_specified_with_option_1,"outFile",L.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules")),L.inlineSourceMap&&(L.sourceMap&&kt(Vo.Option_0_cannot_be_specified_with_option_1,"sourceMap","inlineSourceMap"),L.mapRoot&&kt(Vo.Option_0_cannot_be_specified_with_option_1,"mapRoot","inlineSourceMap")),L.composite&&(!1===L.declaration&&kt(Vo.Composite_projects_may_not_disable_declaration_emit,"declaration"),!1===L.incremental&&kt(Vo.Composite_projects_may_not_disable_incremental_compilation,"declaration"));const e=kv(L);if(L.tsBuildInfoFile?ix(L)||kt(Vo.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"tsBuildInfoFile","incremental","composite"):!L.incremental||e||L.configFilePath||fe.add(LT(Vo.Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified)),vt("5.0","5.5",(function(e,n,t,r,i,a,o,s){if(t){const c=kT(void 0,Vo.Use_0_instead,t);Rt(!n,e,void 0,kT(c,r,i,a,o,s))}else Rt(!n,e,void 0,r,i,a,o,s)}),(e=>{0===L.target&&e("target","ES3"),L.noImplicitUseStrict&&e("noImplicitUseStrict"),L.keyofStringsOnly&&e("keyofStringsOnly"),L.suppressExcessPropertyErrors&&e("suppressExcessPropertyErrors"),L.suppressImplicitAnyIndexErrors&&e("suppressImplicitAnyIndexErrors"),L.noStrictGenericChecks&&e("noStrictGenericChecks"),L.charset&&e("charset"),L.out&&e("out",void 0,"outFile"),L.importsNotUsedAsValues&&e("importsNotUsedAsValues",void 0,"verbatimModuleSyntax"),L.preserveValueImports&&e("preserveValueImports",void 0,"verbatimModuleSyntax")})),function(){const e=L.suppressOutputPathCheck?void 0:$V(L);AH(w,Oe,((n,t,r)=>{const i=(t?t.commandLine.projectReferences:w)[r],a=t&&t.sourceFile;if(function(e,n,t){vt("5.0","5.5",(function(e,r,i,a,o,s,c,l){wt(n,t,a,o,s,c,l)}),(n=>{e.prepend&&n("prepend")}))}(i,a,r),!n)return void wt(a,r,Vo.File_0_not_found,i.path);const o=n.commandLine.options;if(o.composite&&!o.noEmit||(t?t.commandLine.fileNames:S).length&&(o.composite||wt(a,r,Vo.Referenced_project_0_must_have_setting_composite_Colon_true,i.path),o.noEmit&&wt(a,r,Vo.Referenced_project_0_may_not_disable_emit,i.path)),i.prepend){const e=kv(o);e?se.fileExists(e)||wt(a,r,Vo.Output_file_0_from_project_1_does_not_exist,e,i.path):wt(a,r,Vo.Cannot_prepend_project_0_because_it_does_not_have_outFile_set,i.path)}!t&&e&&e===$V(o)&&(wt(a,r,Vo.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1,e,i.path),ye.set(nn(e),!0))}))}(),L.composite){const e=new Set(S.map(nn));for(const n of B)Rv(n,We)&&!e.has(n.path)&&Tt(n,Vo.File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern,[n.fileName,L.configFilePath||""])}if(L.paths)for(const e in L.paths)if(qe(L.paths,e))if(mx(e)||St(!0,e,Vo.Pattern_0_can_have_at_most_one_Asterisk_character,e),gn(L.paths[e])){const n=L.paths[e].length;0===n&&St(!1,e,Vo.Substitutions_for_pattern_0_shouldn_t_be_an_empty_array,e);for(let t=0;t<n;t++){const n=L.paths[e][t],r=typeof n;"string"===r?(mx(n)||xt(e,t,Vo.Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character,n,e),L.baseUrl||Za(n)||Qa(n)||xt(e,t,Vo.Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash)):xt(e,t,Vo.Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2,n,e,r)}}else St(!1,e,Vo.Substitutions_for_pattern_0_should_be_an_array,e);L.sourceMap||L.inlineSourceMap||(L.inlineSources&&kt(Vo.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided,"inlineSources"),L.sourceRoot&&kt(Vo.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided,"sourceRoot")),L.out&&L.outFile&&kt(Vo.Option_0_cannot_be_specified_with_option_1,"out","outFile"),!L.mapRoot||L.sourceMap||L.declarationMap||kt(Vo.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"mapRoot","sourceMap","declarationMap"),L.declarationDir&&(tx(L)||kt(Vo.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"declarationDir","declaration","composite"),e&&kt(Vo.Option_0_cannot_be_specified_with_option_1,"declarationDir",L.out?"out":"outFile")),L.declarationMap&&!tx(L)&&kt(Vo.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"declarationMap","declaration","composite"),L.lib&&L.noLib&&kt(Vo.Option_0_cannot_be_specified_with_option_1,"lib","noLib"),L.noImplicitUseStrict&&ax(L,"alwaysStrict")&&kt(Vo.Option_0_cannot_be_specified_with_option_1,"noImplicitUseStrict","alwaysStrict");const n=BT(L),t=D(B,(e=>kD(e)&&!e.isDeclarationFile));if(L.isolatedModules||L.verbatimModuleSyntax)0===L.module&&n<2&&L.isolatedModules&&kt(Vo.Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher,"isolatedModules","target"),!1===L.preserveConstEnums&&kt(Vo.Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled,L.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules","preserveConstEnums");else if(t&&n<2&&0===L.module){const e=nm(t,"boolean"==typeof t.externalModuleIndicator?t:t.externalModuleIndicator);fe.add(ST(t,e.start,e.length,Vo.Cannot_use_imports_exports_or_module_augmentations_when_module_is_none))}if(e&&!L.emitDeclarationOnly)if(L.module&&2!==L.module&&4!==L.module)kt(Vo.Only_amd_and_system_modules_are_supported_alongside_0,L.out?"out":"outFile","module");else if(void 0===L.module&&t){const e=nm(t,"boolean"==typeof t.externalModuleIndicator?t:t.externalModuleIndicator);fe.add(ST(t,e.start,e.length,Vo.Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system,L.out?"out":"outFile"))}if(nx(L)&&(1===jT(L)?kt(Vo.Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic,"resolveJsonModule"):KT(L)||kt(Vo.Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext,"resolveJsonModule","module")),L.outDir||L.rootDir||L.sourceRoot||L.mapRoot){const e=tn();L.outDir&&""===e&&B.some((e=>so(e.fileName)>1))&&kt(Vo.Cannot_find_the_common_subdirectory_path_for_the_input_files,"outDir")}L.useDefineForClassFields&&0===n&&kt(Vo.Option_0_cannot_be_specified_when_option_target_is_ES3,"useDefineForClassFields"),L.checkJs&&!ox(L)&&fe.add(LT(Vo.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs")),L.emitDeclarationOnly&&(tx(L)||kt(Vo.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"emitDeclarationOnly","declaration","composite"),L.noEmit&&kt(Vo.Option_0_cannot_be_specified_with_option_1,"emitDeclarationOnly","noEmit")),L.emitDecoratorMetadata&&!L.experimentalDecorators&&kt(Vo.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators"),L.jsxFactory?(L.reactNamespace&&kt(Vo.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory"),4!==L.jsx&&5!==L.jsx||kt(Vo.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFactory",VD.get(""+L.jsx)),LD(L.jsxFactory,n)||It("jsxFactory",Vo.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,L.jsxFactory)):L.reactNamespace&&!Ks(L.reactNamespace,n)&&It("reactNamespace",Vo.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,L.reactNamespace),L.jsxFragmentFactory&&(L.jsxFactory||kt(Vo.Option_0_cannot_be_specified_without_specifying_option_1,"jsxFragmentFactory","jsxFactory"),4!==L.jsx&&5!==L.jsx||kt(Vo.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFragmentFactory",VD.get(""+L.jsx)),LD(L.jsxFragmentFactory,n)||It("jsxFragmentFactory",Vo.Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name,L.jsxFragmentFactory)),L.reactNamespace&&(4!==L.jsx&&5!==L.jsx||kt(Vo.Option_0_cannot_be_specified_when_option_jsx_is_1,"reactNamespace",VD.get(""+L.jsx))),L.jsxImportSource&&2===L.jsx&&kt(Vo.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxImportSource",VD.get(""+L.jsx)),L.preserveValueImports&&UT(L)<5&&kt(Vo.Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later,"preserveValueImports");const r=UT(L);L.verbatimModuleSyntax&&(2!==r&&3!==r&&4!==r||kt(Vo.Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System,"verbatimModuleSyntax"),L.isolatedModules&&Mt("isolatedModules","verbatimModuleSyntax"),L.preserveValueImports&&Mt("preserveValueImports","verbatimModuleSyntax"),L.importsNotUsedAsValues&&Mt("importsNotUsedAsValues","verbatimModuleSyntax")),!L.allowImportingTsExtensions||L.noEmit||L.emitDeclarationOnly||It("allowImportingTsExtensions",Vo.Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set);const i=jT(L);if(L.resolvePackageJsonExports&&!QT(i)&&kt(Vo.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler,"resolvePackageJsonExports"),L.resolvePackageJsonImports&&!QT(i)&&kt(Vo.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler,"resolvePackageJsonImports"),L.customConditions&&!QT(i)&&kt(Vo.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler,"customConditions"),100!==i||VT(r)||It("moduleResolution",Vo.Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later,"bundler"),!L.noEmit&&!L.suppressOutputPathCheck){const e=on(),n=new Set;YV(e,(e=>{L.emitDeclarationOnly||a(e.jsFilePath,n),a(e.declarationFilePath,n)}))}function a(e,n){if(e){const t=nn(e);if(we.has(t)){let n;L.configFilePath||(n=kT(void 0,Vo.Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig)),n=kT(n,Vo.Cannot_write_file_0_because_it_would_overwrite_input_file,e),Pt(e,CT(n))}const r=se.useCaseSensitiveFileNames()?t:In(t);n.has(r)?Pt(e,LT(Vo.Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files,e)):n.add(r)}}}(),kr("afterProgram"),Ir("Program","beforeProgram","afterProgram"),null==(T=Vr)||T.pop(),We;function ze(e){var n;(null==(n=e.resolutionDiagnostics)?void 0:n.length)&&(null!=$?$:$=[]).push({kind:2,diagnostics:e.resolutionDiagnostics})}function Je(e,n,t,r){if(se.resolveModuleNameLiterals||!se.resolveModuleNames)return ze(t);if(!Ee||Zs(n))return;const i=co(bo(e.originalFileName,me)),a=$e(e),o=Ee.getFromNonRelativeNameCache(n,r,i,a);o&&ze(o)}function Xe(e,n,t){var r,a;if(!e.length)return i;const o=bo(n.originalFileName,me),s=$e(n);null==(r=Vr)||r.push(Vr.Phase.Program,"resolveModuleNamesWorker",{containingFileName:o}),kr("beforeResolveModule");const c=xe(e,o,s,L,n,t);return kr("afterResolveModule"),Ir("ResolveModule","beforeResolveModule","afterResolveModule"),null==(a=Vr)||a.pop(),c}function Ye(e,n,t){var r,i;if(!e.length)return[];const a=vn(n)?void 0:n,o=vn(n)?n:bo(n.originalFileName,me),s=a&&$e(a);null==(r=Vr)||r.push(Vr.Phase.Program,"resolveTypeReferenceDirectiveNamesWorker",{containingFileName:o}),kr("beforeResolveTypeReference");const c=Ae(e,o,s,L,a,t);return kr("afterResolveTypeReference"),Ir("ResolveTypeReference","beforeResolveTypeReference","afterResolveTypeReference"),null==(i=Vr)||i.pop(),c}function $e(e){const n=it(e.originalFileName);if(n||!ND(e.originalFileName))return n;const t=Ze(e.path);if(t)return t;if(!se.realpath||!L.preserveSymlinks||!rt(e.originalFileName,rP))return;const r=nn(se.realpath(e.originalFileName));return r===e.path?void 0:Ze(r)}function Ze(e){const n=ot(e);return vn(n)?it(n):n?at((n=>{const t=kv(n.commandLine.options);if(t)return nn(t)===e?n:void 0})):void 0}function en(e){if(No(pe,e.fileName,!1)){const n=lo(e.fileName);if("lib.d.ts"===n||"lib.es6.d.ts"===n)return 0;const t=nt(ft(n,"lib."),".d.ts"),r=HD.indexOf(t);if(-1!==r)return r+1}return HD.length+2}function nn(e){return xo(e,me,ht)}function tn(){if(void 0===V){const e=j(B,(e=>Rv(e,We)));V=cj(L,(()=>ee(e,(e=>e.isDeclarationFile?void 0:e.fileName))),me,ht,(n=>function(e,n){let t=!0;const r=se.getCanonicalFileName(bo(n,me));for(const i of e)i.isDeclarationFile||0!==se.getCanonicalFileName(bo(i.fileName,me)).indexOf(r)&&(Tt(i,Vo.File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files,[i.fileName,n]),t=!1);return t}(e,n)))}return V}function rn(e,n){var t;if(0===Ke&&!n.ambientModuleNames.length)return Xe(e,n,void 0);const r=N&&N.getSourceFile(n.fileName);if(r!==n&&n.resolvedModules){const t=[];for(const r of e){const e=n.resolvedModules.get(r.text,gH(n,r));t.push(e)}return t}let a,o,s;const c=Kj;for(let i=0;i<e.length;i++){const l=e[i];if(n===r&&!Se(r.path)){const a=gH(n,l),c=null==(t=r.resolvedModules)?void 0:t.get(l.text,a);if(null==c?void 0:c.resolvedModule){sP(L,se)&&oP(se,c.resolvedModule.packageId?Vo.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:Vo.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2,l.text,bo(n.originalFileName,me),c.resolvedModule.resolvedFileName,c.resolvedModule.packageId&&Ap(c.resolvedModule.packageId)),(null!=o?o:o=new Array(e.length))[i]=c,(null!=s?s:s=[]).push(l);continue}}let d=!1;G(n.ambientModuleNames,l.text)?(d=!0,sP(L,se)&&oP(se,Vo.Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1,l.text,bo(n.originalFileName,me))):d=u(l),d?(o||(o=new Array(e.length)))[i]=c:(null!=a?a:a=[]).push(l)}const l=a&&a.length?Xe(a,n,s):i;if(!o)return Nt.assert(l.length===e.length),l;let d=0;for(let e=0;e<o.length;e++)o[e]||(o[e]=l[d],d++);return Nt.assert(d===l.length),o;function u(e){const t=yp(r,e.text,gH(n,e)),i=t&&N.getSourceFile(t.resolvedFileName);if(t&&i)return!1;const a=W.get(e.text);return!!a&&(sP(L,se)&&oP(se,Vo.Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified,e.text,a),!0)}}function an(e,n){var t;if(0===Ke)return Ye(e,n,void 0);const r=vn(n)?void 0:N&&N.getSourceFile(n.fileName);if(!vn(n)&&r!==n&&n.resolvedTypeReferenceDirectiveNames){const t=[];for(const r of e){const e=n.resolvedTypeReferenceDirectiveNames.get(EH(r),fH(r,n.impliedNodeFormat));t.push(e)}return t}let a,o,s;const c=vn(n)?void 0:n,l=vn(n)?!Se(nn(n)):n===r&&!Se(r.path);for(let i=0;i<e.length;i++){const d=e[i];if(l){const a=EH(d),l=fH(d,null==c?void 0:c.impliedNodeFormat),u=null==(t=vn(n)?null==N?void 0:N.getAutomaticTypeDirectiveResolutions():null==r?void 0:r.resolvedTypeReferenceDirectiveNames)?void 0:t.get(a,l);if(null==u?void 0:u.resolvedTypeReferenceDirective){sP(L,se)&&oP(se,u.resolvedTypeReferenceDirective.packageId?Vo.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:Vo.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2,a,vn(n)?n:bo(n.originalFileName,me),u.resolvedTypeReferenceDirective.resolvedFileName,u.resolvedTypeReferenceDirective.packageId&&Ap(u.resolvedTypeReferenceDirective.packageId)),(null!=o?o:o=new Array(e.length))[i]=u,(null!=s?s:s=[]).push(d);continue}}(null!=a?a:a=[]).push(d)}if(!a)return o||i;const d=Ye(a,n,s);if(!o)return Nt.assert(d.length===e.length),d;let u=0;for(let e=0;e<o.length;e++)o[e]||(o[e]=d[u],u++);return Nt.assert(u===d.length),o}function on(e){return{getPrependNodes:ln,getCanonicalFileName:ht,getCommonSourceDirectory:We.getCommonSourceDirectory,getCompilerOptions:We.getCompilerOptions,getCurrentDirectory:()=>me,getSourceFile:We.getSourceFile,getSourceFileByPath:We.getSourceFileByPath,getSourceFiles:We.getSourceFiles,getLibFileFromReference:We.getLibFileFromReference,isSourceFileFromExternalLibrary:_n,getResolvedProjectReferenceToRedirect:it,getProjectReferenceRedirect:Zn,isSourceOfProjectReferenceRedirect:st,getSymlinkCache:Gt,writeFile:e||sn,isEmitBlocked:fn,readFile:e=>se.readFile(e),fileExists:e=>{const n=nn(e);return!!hn(n)||!G(Ne,n)&&se.fileExists(e)},useCaseSensitiveFileNames:()=>se.useCaseSensitiveFileNames(),getBuildInfo:e=>{var n;return null==(n=We.getBuildInfo)?void 0:n.call(We,e)},getSourceFileFromReference:(e,n)=>We.getSourceFileFromReference(e,n),redirectTargetsMap:ke,getFileIncludeReasons:We.getFileIncludeReasons,createHash:dn(se,se.createHash)}}function sn(e,n,t,r,i,a){se.writeFile(e,n,t,r,i,a)}function cn(){return Oe}function ln(){return FH(w,((e,n)=>{var t;return null==(t=Oe[n])?void 0:t.commandLine}),(e=>{const n=nn(e),t=hn(n);return t?t.text:we.has(n)?void 0:se.readFile(n)}),se)}function _n(e){return!!oe.get(e.path)}function pn(){return H||(H=zG(We))}function fn(e){return ye.has(nn(e))}function mn(e){return hn(nn(e))}function hn(e){return we.get(e)||void 0}function yn(e,n,t){return ec(e?n(e,t):X(We.getSourceFiles(),(e=>(t&&t.throwIfCancellationRequested(),n(e,t)))))}function bn(e){var n;if(cS(e,L,We))return i;const t=fe.getDiagnostics(e.fileName);return(null==(n=e.commentDirectives)?void 0:n.length)?wn(e,e.commentDirectives,t).diagnostics:t}function En(e){return xh(e)?(e.additionalSyntacticDiagnostics||(e.additionalSyntacticDiagnostics=function(e){return Tn((()=>{const n=[];return t(e,e),TD(e,t,(function(e,t){if(dN(t)){const e=D(t.modifiers,KC);e&&n.push(i(e,Vo.Decorators_are_not_valid_here))}else if(FN(t)&&t.modifiers){const e=M(t.modifiers,KC);if(e>=0)if(HC(t)&&!L.experimentalDecorators)n.push(i(t.modifiers[e],Vo.Decorators_are_not_valid_here));else if(RI(t)){const r=M(t.modifiers,CC);if(r>=0){const a=M(t.modifiers,kC);if(e>r&&a>=0&&e<a)n.push(i(t.modifiers[e],Vo.Decorators_are_not_valid_here));else if(r>=0&&e<r){const a=M(t.modifiers,KC,r);a>=0&&n.push(iS(i(t.modifiers[a],Vo.Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export),i(t.modifiers[e],Vo.Decorator_used_before_export_here)))}}}}switch(t.kind){case 260:case 228:case 171:case 173:case 174:case 175:case 215:case 259:case 216:if(e===t.typeParameters)return n.push(r(e,Vo.Type_parameter_declarations_can_only_be_used_in_TypeScript_files)),"skip";case 240:if(e===t.modifiers)return function(e,t){for(const r of e)switch(r.kind){case 85:if(t)continue;case 123:case 121:case 122:case 146:case 136:case 126:case 161:case 101:case 145:n.push(i(r,Vo.The_0_modifier_can_only_be_used_in_TypeScript_files,us(r.kind)))}}(t.modifiers,240===t.kind),"skip";break;case 169:if(e===t.modifiers){for(const t of e)Ed(t)&&124!==t.kind&&127!==t.kind&&n.push(i(t,Vo.The_0_modifier_can_only_be_used_in_TypeScript_files,us(t.kind)));return"skip"}break;case 166:if(e===t.modifiers&&ce(e,Ed))return n.push(r(e,Vo.Parameter_modifiers_can_only_be_used_in_TypeScript_files)),"skip";break;case 210:case 211:case 230:case 282:case 283:case 212:if(e===t.typeArguments)return n.push(r(e,Vo.Type_arguments_can_only_be_used_in_TypeScript_files)),"skip"}})),n;function t(e,t){switch(t.kind){case 166:case 169:case 171:if(t.questionToken===e)return n.push(i(e,Vo.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),"skip";case 170:case 173:case 174:case 175:case 215:case 259:case 216:case 257:if(t.type===e)return n.push(i(e,Vo.Type_annotations_can_only_be_used_in_TypeScript_files)),"skip"}switch(e.kind){case 270:if(e.isTypeOnly)return n.push(i(t,Vo._0_declarations_can_only_be_used_in_TypeScript_files,"import type")),"skip";break;case 275:if(e.isTypeOnly)return n.push(i(e,Vo._0_declarations_can_only_be_used_in_TypeScript_files,"export type")),"skip";break;case 273:case 278:if(e.isTypeOnly)return n.push(i(e,Vo._0_declarations_can_only_be_used_in_TypeScript_files,JI(e)?"import...type":"export...type")),"skip";break;case 268:return n.push(i(e,Vo.import_can_only_be_used_in_TypeScript_files)),"skip";case 274:if(e.isExportEquals)return n.push(i(e,Vo.export_can_only_be_used_in_TypeScript_files)),"skip";break;case 294:if(117===e.token)return n.push(i(e,Vo.implements_clauses_can_only_be_used_in_TypeScript_files)),"skip";break;case 261:const r=us(118);return Nt.assertIsDefined(r),n.push(i(e,Vo._0_declarations_can_only_be_used_in_TypeScript_files,r)),"skip";case 264:const a=16&e.flags?us(143):us(142);return Nt.assertIsDefined(a),n.push(i(e,Vo._0_declarations_can_only_be_used_in_TypeScript_files,a)),"skip";case 262:return n.push(i(e,Vo.Type_aliases_can_only_be_used_in_TypeScript_files)),"skip";case 263:const o=Nt.checkDefined(us(92));return n.push(i(e,Vo._0_declarations_can_only_be_used_in_TypeScript_files,o)),"skip";case 232:return n.push(i(e,Vo.Non_null_assertions_can_only_be_used_in_TypeScript_files)),"skip";case 231:return n.push(i(e.type,Vo.Type_assertion_expressions_can_only_be_used_in_TypeScript_files)),"skip";case 235:return n.push(i(e.type,Vo.Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files)),"skip";case 213:Nt.fail()}}function r(n,t,r,i,a){const o=n.pos;return ST(e,o,n.end-o,t,r,i,a)}function i(n,t,r,i,a){return Wf(e,n,t,r,i,a)}}))}(e)),de(e.additionalSyntacticDiagnostics,e.parseDiagnostics)):e.parseDiagnostics}function Tn(e){try{return e()}catch(e){throw e instanceof ei&&(H=void 0),e}}function An(e,n){return de(MH(Ln(e,n),L),bn(e))}function Ln(e,n){return On(e,n,z,kn)}function kn(e,n){return Tn((()=>{if(cS(e,L,We))return i;const t=pn();Nt.assert(!!e.bindDiagnostics);const r=(1===e.scriptKind||2===e.scriptKind)&&nS(e,L),a=Rp(e,L.checkJs),o=!(e.checkJsDirective&&!1===e.checkJsDirective.enabled)&&(3===e.scriptKind||4===e.scriptKind||5===e.scriptKind||a||r||7===e.scriptKind);let s=o?e.bindDiagnostics:i,c=o?t.getDiagnostics(e,n):i;return a&&(s=j(s,(e=>Jj.has(e.code))),c=j(c,(e=>Jj.has(e.code)))),function(e,n,...t){var r;const i=J(t);if(!n||!(null==(r=e.commentDirectives)?void 0:r.length))return i;const{diagnostics:a,directives:o}=wn(e,e.commentDirectives,i);for(const n of o.getUnusedExpectations())a.push(Qf(e,n.range,Vo.Unused_ts_expect_error_directive));return a}(e,o&&!a,s,c,r?e.jsDocDiagnostics:void 0)}))}function wn(e,n,t){const r=Yp(e,n),i=t.filter((e=>-1===function(e,n){const{file:t,start:r}=e;if(!t)return-1;const i=hs(t);let a=gs(i,r).line-1;for(;a>=0;){if(n.markUsed(a))return a;const e=t.text.slice(i[a],i[a+1]).trim();if(""!==e&&!/^(\s*)\/\/(.*)$/.test(e))return-1;a--}return-1}(e,r)));return{diagnostics:i,directives:r}}function Nn(e,n){return On(e,n,Y,Dn)}function Dn(e,n){return Tn((()=>{const t=pn().getEmitResolver(e,n);return SV(on(xn),t,e)||i}))}function On(e,n,t,r){var i;const a=e?null==(i=t.perFile)?void 0:i.get(e.path):t.allDiagnostics;if(a)return a;const o=r(e,n);return e?(t.perFile||(t.perFile=new Map)).set(e.path,o):t.allDiagnostics=o,o}function Mn(e,n){return e.isDeclarationFile?[]:Nn(e,n)}function Pn(e,n,t,r){Wn(Eo(e),n,t,void 0,r)}function Bn(e,n){return e.fileName===n.fileName}function Vn(e,n){return 79===e.kind?79===n.kind&&e.escapedText===n.escapedText:10===n.kind&&e.text===n.text}function jn(e,n){const t=pA.createStringLiteral(e),r=pA.createImportDeclaration(void 0,void 0,t,void 0);return VA(r,2),xS(t,r),xS(r,n),t.flags&=-9,r.flags&=-9,t}function Hn(e){if(e.imports)return;const n=xh(e),t=kD(e);let r,a,o;if((WT(L)||t)&&!e.isDeclarationFile){L.importHelpers&&(r=[jn(s_,e)]);const n=fx(px(L,e),L);n&&(r||(r=[])).push(jn(n,e))}for(const n of e.statements)c(n,!1);const s=n&&100!==jT(L);return(2097152&e.flags||s)&&function(e){const n=/import|require/g;for(;null!==n.exec(e.text);){const t=l(e,n.lastIndex);s&&wh(t,!0)||lm(t)&&t.arguments.length>=1&&t_(t.arguments[0])?(AS(t,!1),r=Te(r,t.arguments[0])):um(t)&&(AS(t,!1),r=Te(r,t.argument.literal))}}(e),e.imports=r||i,e.moduleAugmentations=a||i,void(e.ambientModuleNames=o||i);function c(n,i){if(Of(n)){const t=mg(n);!(t&&cC(t)&&t.text)||i&&Zs(t.text)||(AS(n,!1),r=Te(r,t),Ie||0!==ie||e.isDeclarationFile||(Ie=pt(t.text,"node:")))}else if(MI(n)&&ff(n)&&(i||db(n,2)||e.isDeclarationFile)){n.name.parent=n;const r=Ny(n.name);if(t||i&&!Zs(r))(a||(a=[])).push(n.name);else if(!i){e.isDeclarationFile&&(o||(o=[])).push(r);const t=n.body;if(t)for(const e of t.statements)c(e,!0)}}}function l(e,t){let r=e;const i=e=>{if(e.pos<=t&&(t<e.end||t===e.end&&1===e.kind))return e};for(;;){const e=n&&Xu(r)&&A(r.jsDoc,i)||ED(r,i);if(!e)return r;r=e}}}function Kn(e,n,t,r){if(no(e)){const i=se.getCanonicalFileName(e);if(!L.allowNonTsExtensions&&!A(J(ge),(e=>to(i,e))))return void(t&&(Px(i)?t(Vo.File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option,e):t(Vo.File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1,e,"'"+J(he).join("', '")+"'")));const a=n(e);if(t)if(a)LH(r)&&i===se.getCanonicalFileName(hn(r.file).fileName)&&t(Vo.A_file_cannot_have_a_reference_to_itself);else{const n=Zn(e);n?t(Vo.Output_file_0_has_not_been_built_from_source_file_1,n,e):t(Vo.File_0_not_found,e)}return a}{const r=L.allowNonTsExtensions&&n(e);if(r)return r;if(t&&L.allowNonTsExtensions)return void t(Vo.File_0_not_found,e);const i=A(he[0],(t=>n(e+t)));return t&&!i&&t(Vo.Could_not_resolve_the_path_0_with_the_extensions_Colon_1,e,"'"+J(he).join("', '")+"'"),i}}function Wn(e,n,t,r,i){Kn(e,(e=>Jn(e,n,t,i,r)),((e,...n)=>Et(void 0,i,e,n)),i)}function qn(e,n){return Wn(e,!1,!1,void 0,n)}function zn(e,n,t){!LH(t)&&ce(q.get(n.path),LH)?Et(n,t,Vo.Already_included_file_name_0_differs_from_file_name_1_only_in_casing,[n.fileName,e]):Et(n,t,Vo.File_name_0_differs_from_already_included_file_name_1_only_in_casing,[e,n.fileName])}function Jn(e,n,t,r,i){var a,o;null==(a=Vr)||a.push(Vr.Phase.Program,"findSourceFile",{fileName:e,isDefaultLib:n||void 0,fileIncludeKind:ni[r.kind]});const s=function(e,n,t,r,i){var a,o;const s=nn(e);if(Ge){let a=ot(s);if(!a&&se.realpath&&L.preserveSymlinks&&ND(e)&&rt(e,rP)){const n=nn(se.realpath(e));n!==s&&(a=ot(n))}if(a){const e=vn(a)?Jn(a,n,t,r,i):void 0;return e&&$n(e,s,void 0),e}}const c=e;if(we.has(s)){const t=we.get(s);if(Yn(t||void 0,r),t&&!1!==L.forceConsistentCasingInFileNames){const n=t.fileName;nn(n)!==nn(e)&&(e=Zn(e)||e),To(n,me)!==To(e,me)&&zn(e,t,r)}return t&&oe.get(t.path)&&0===ie?(oe.set(t.path,!1),L.noResolve||(lt(t,n),dt(t)),L.noLib||mt(t),ae.set(t.path,!1),gt(t)):t&&ae.get(t.path)&&ie<re&&(ae.set(t.path,!1),gt(t)),t||void 0}let l;if(LH(r)&&!Ge){const n=et(e);if(n){if(kv(n.commandLine.options))return;const t=tt(n,e);e=t,l=nn(t)}}const d=Xn(e,Ee,se,L),u=se.getSourceFile(e,d,(n=>Et(void 0,r,Vo.Cannot_read_file_0_Colon_1,[e,n])),He||(null==(a=null==N?void 0:N.getSourceFileByPath(nn(e)))?void 0:a.impliedNodeFormat)!==d.impliedNodeFormat);if(i){const n=Ap(i),t=Le.get(n);if(t){const n=function(e,n,t,r,i,a,o){var s;const c=KN.createRedirectedSourceFile({redirectTarget:e,unredirected:n});return c.fileName=t,c.path=r,c.resolvedPath=i,c.originalFileName=a,c.packageJsonLocations=(null==(s=o.packageJsonLocations)?void 0:s.length)?o.packageJsonLocations:void 0,c.packageJsonScope=o.packageJsonScope,oe.set(r,ie>0),c}(t,u,e,s,nn(e),c,d);return ke.add(t.path,e),$n(n,s,l),Yn(n,r),Ce.set(s,Sp(i)),F.push(n),n}u&&(Le.set(n,u),Ce.set(s,Sp(i)))}if($n(u,s,l),u){if(oe.set(s,ie>0),u.fileName=e,u.path=s,u.resolvedPath=nn(e),u.originalFileName=c,u.packageJsonLocations=(null==(o=d.packageJsonLocations)?void 0:o.length)?d.packageJsonLocations:void 0,u.packageJsonScope=d.packageJsonScope,Yn(u,r),se.useCaseSensitiveFileNames()){const n=In(s),t=De.get(n);t?zn(e,t,r):De.set(n,u)}ue=ue||u.hasNoDefaultLib&&!t,L.noResolve||(lt(u,n),dt(u)),L.noLib||mt(u),gt(u),n?P.push(u):F.push(u)}return u}(e,n,t,r,i);return null==(o=Vr)||o.pop(),s}function Xn(e,n,t,r){const i=NH(bo(e,me),null==n?void 0:n.getPackageJsonInfoCache(),t,r),a=BT(r),o=GT(r);return"object"==typeof i?{...i,languageVersion:a,setExternalModuleIndicator:o}:{languageVersion:a,impliedNodeFormat:i,setExternalModuleIndicator:o}}function Yn(e,n){e&&q.add(e.path,n)}function $n(e,n,t){t?(we.set(t,e),we.set(n,e||!1)):we.set(n,e)}function Zn(e){const n=et(e);return n&&tt(n,e)}function et(e){if(Oe&&Oe.length&&!ND(e)&&!to(e,".json"))return it(e)}function tt(e,n){const t=kv(e.commandLine.options);return t?qx(t,".d.ts"):rj(n,e.commandLine,!se.useCaseSensitiveFileNames())}function it(e){void 0===Pe&&(Pe=new Map,at((e=>{nn(L.configFilePath)!==e.sourceFile.path&&e.commandLine.fileNames.forEach((n=>Pe.set(nn(n),e.sourceFile.path)))})));const n=Pe.get(nn(e));return n&&ct(n)}function at(e){return SH(Oe,e)}function ot(e){if(ND(e))return void 0===Fe&&(Fe=new Map,at((e=>{const n=kv(e.commandLine.options);if(n){const e=qx(n,".d.ts");Fe.set(nn(e),!0)}else{const n=Rn((()=>lj(e.commandLine,!se.useCaseSensitiveFileNames())));A(e.commandLine.fileNames,(t=>{if(!ND(t)&&!to(t,".json")){const r=rj(t,e.commandLine,!se.useCaseSensitiveFileNames(),n);Fe.set(nn(r),t)}}))}}))),Fe.get(e)}function st(e){return Ge&&!!it(e)}function ct(e){if(Me)return Me.get(e)||void 0}function lt(e,n){A(e.referencedFiles,((t,r)=>{Wn(Qj(t.fileName,e.fileName),n,!1,void 0,{kind:4,file:e.path,index:r})}))}function dt(e){const n=e.typeReferenceDirectives;if(!n.length)return void(e.resolvedTypeReferenceDirectiveNames=void 0);const t=an(n,e);for(let r=0;r<n.length;r++){const n=e.typeReferenceDirectives[r],i=t[r],a=In(n.fileName);bp(e,a,i,fH(n,e.impliedNodeFormat));const o=n.resolutionMode||e.impliedNodeFormat;o&&3!==jT(L)&&99!==jT(L)&&(null!=$?$:$=[]).push({kind:2,diagnostics:[Qf(e,n,Vo.resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext)]}),ut(a,o,i,{kind:5,file:e.path,index:r})}}function ut(e,n,t,r){var i,a;null==(i=Vr)||i.push(Vr.Phase.Program,"processTypeReferenceDirective",{directive:e,hasResolved:!!t.resolvedTypeReferenceDirective,refKind:r.kind,refPath:LH(r)?r.file:void 0}),function(e,n,t,r){var i;ze(t);const a=null==(i=te.get(e,n))?void 0:i.resolvedTypeReferenceDirective;if(a&&a.primary)return;let o=!0;const{resolvedTypeReferenceDirective:s}=t;if(s){if(s.isExternalLibraryImport&&ie++,s.primary)Wn(s.resolvedFileName,!1,!1,s.packageId,r);else if(a){if(s.resolvedFileName!==a.resolvedFileName){const n=se.readFile(s.resolvedFileName),t=mn(a.resolvedFileName);n!==t.text&&Et(t,r,Vo.Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict,[e,s.resolvedFileName,a.resolvedFileName])}o=!1}else Wn(s.resolvedFileName,!1,!1,s.packageId,r);s.isExternalLibraryImport&&ie--}else Et(void 0,r,Vo.Cannot_find_type_definition_file_for_0,[e]);o&&te.set(e,n,t)}(e,n,t,r),null==(a=Vr)||a.pop()}function _t(e){const n=e.split(".");let t=n[1],r=2;for(;n[r]&&"d"!==n[r];)t+=(2===r?"/":"-")+n[r],r++;const i=UP("@typescript/lib-"+t,go(me,`__lib_node_modules_lookup_${e}__.ts`),{moduleResolution:2},se,Ee);return(null==i?void 0:i.resolvedModule)?i.resolvedModule.resolvedFileName:go(pe,e)}function mt(e){A(e.libReferenceDirectives,((n,t)=>{const r=In(n.fileName),i=KD.get(r);if(i)Pn(_t(i),!0,!0,{kind:7,file:e.path,index:t});else{const n=Qn(nt(ft(r,"lib."),".d.ts"),HD,Cn),i=n?Vo.Cannot_find_lib_definition_for_0_Did_you_mean_1:Vo.Cannot_find_lib_definition_for_0;($||($=[])).push({kind:0,reason:{kind:7,file:e.path,index:t},diagnostic:i,args:[r,n]})}}))}function ht(e){return se.getCanonicalFileName(e)}function gt(e){var n;if(Hn(e),e.imports.length||e.moduleAugmentations.length){const t=UH(e),r=rn(t,e);Nt.assert(r.length===t.length);const i=(Ge?null==(n=$e(e))?void 0:n.commandLine.options:void 0)||L;for(let n=0;n<t.length;n++){const a=r[n].resolvedModule,o=t[n].text,s=gH(e,t[n]);if(vp(e,o,r[n],s),Je(e,o,r[n],s),!a)continue;const c=a.isExternalLibraryImport,l=!$x(a.extension),d=c&&l,u=a.resolvedFileName;c&&ie++;const _=d&&ie>re,p=u&&!BH(i,a,e)&&!i.noResolve&&n<e.imports.length&&!_&&!(l&&!ox(i))&&(Ah(e.imports[n])||!(8388608&e.imports[n].flags));_?ae.set(e.path,!0):p&&Jn(u,!1,!1,{kind:3,file:e.path,index:n},a.packageId),c&&ie--}}else e.resolvedModules=void 0}function yt(e){Me||(Me=new Map);const n=GH(e),t=nn(n),r=Me.get(t);if(void 0!==r)return r||void 0;let i,a;if(se.getParsedCommandLine){if(i=se.getParsedCommandLine(n),!i)return $n(void 0,t,void 0),void Me.set(t,!1);a=Nt.checkDefined(i.options.configFile),Nt.assert(!a.path||a.path===t),$n(a,t,void 0)}else{const e=bo(co(n),se.getCurrentDirectory());if(a=se.getSourceFile(n,100),$n(a,t,void 0),void 0===a)return void Me.set(t,!1);i=hM(a,le,e,void 0,n)}a.fileName=n,a.path=t,a.resolvedPath=t,a.originalFileName=n;const o={commandLine:i,sourceFile:a};return Me.set(t,o),i.projectReferences&&(o.references=i.projectReferences.map(yt)),o}function vt(e,t,r,i){const a=new Ut(e),o=new Ut(t),s=new Ut(R||n),c=function(){const e=L.ignoreDeprecations;if(e){if("5.0"===e)return new Ut(e);O()}return Ut.zero}(),l=!(1===o.compareTo(s)),d=!l&&-1===c.compareTo(a);(l||d)&&i(((n,i,a)=>{l?void 0===i?r(n,i,a,Vo.Option_0_has_been_removed_Please_remove_it_from_your_configuration,n):r(n,i,a,Vo.Option_0_1_has_been_removed_Please_remove_it_from_your_configuration,n,i):void 0===i?r(n,i,a,Vo.Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprecations_Colon_2_to_silence_this_error,n,t,e):r(n,i,a,Vo.Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDeprecations_Colon_3_to_silence_this_error,n,i,t,e)}))}function bt(e,n,t,r){var a;let o,s,c=LH(n)?n:void 0;e&&(null==(a=q.get(e.path))||a.forEach(p)),n&&p(n),c&&1===(null==o?void 0:o.length)&&(o=void 0);const l=c&&kH(hn,c),d=o&&kT(o,Vo.The_file_is_in_the_program_because_Colon),u=e&&eW(e),_=kT(u?d?[d,...u]:u:d,t,...r||i);return l&&CH(l)?Xf(l.file,l.pos,l.end-l.pos,_,s):CT(_,s);function p(e){(o||(o=[])).push(rW(We,e)),!c&&LH(e)?c=e:c!==e&&(s=Te(s,function(e){if(LH(e)){const n=kH(hn,e);let t;switch(e.kind){case 3:t=Vo.File_is_included_via_import_here;break;case 4:t=Vo.File_is_included_via_reference_here;break;case 5:t=Vo.File_is_included_via_type_library_reference_here;break;case 7:t=Vo.File_is_included_via_library_reference_here;break;default:Nt.assertNever(e)}return CH(n)?ST(n.file,n.pos,n.end-n.pos,t):void 0}if(!L.configFile)return;let n,t;switch(e.kind){case 0:if(!L.configFile.configFileSpecs)return;const r=bo(S[e.index],me),i=nW(We,r);if(i){n=Vm(L.configFile,"files",i),t=Vo.File_is_matched_by_files_list_specified_here;break}const a=tW(We,r);if(!a||!vn(a))return;n=Vm(L.configFile,"include",a),t=Vo.File_is_matched_by_include_pattern_specified_here;break;case 1:case 2:const o=Nt.checkDefined(null==Oe?void 0:Oe[e.index]),s=AH(w,Oe,((e,n,t)=>e===o?{sourceFile:(null==n?void 0:n.sourceFile)||L.configFile,index:t}:void 0));if(!s)return;const{sourceFile:c,index:l}=s,d=C(jm(c,"references"),(e=>Ik(e.initializer)?e.initializer:void 0));return d&&d.elements.length>l?Wf(c,d.elements[l],2===e.kind?Vo.File_is_output_from_referenced_project_specified_here:Vo.File_is_source_from_referenced_project_specified_here):void 0;case 8:if(!L.types)return;n=Ct("types",e.typeReference),t=Vo.File_is_entry_point_of_type_library_specified_here;break;case 6:if(void 0!==e.index){n=Ct("lib",L.lib[e.index]),t=Vo.File_is_library_specified_here;break}const u=pp(zD.type,((e,n)=>e===BT(L)?n:void 0));n=u?function(e,n){const t=At("target");return t&&C(t,(e=>cC(e.initializer)&&e.initializer.text===n?e.initializer:void 0))}(0,u):void 0,t=Vo.File_is_default_library_for_target_specified_here;break;default:Nt.assertNever(e)}return n&&Wf(L.configFile,n,t)}(e))),e===n&&(n=void 0)}}function Et(e,n,t,r){($||($=[])).push({kind:1,file:e&&e.path,fileProcessingReason:n,diagnostic:t,args:r})}function Tt(e,n,t){fe.add(bt(e,void 0,n,t))}function xt(e,n,t,r,i,a){let o=!0;const s=Lt();for(const c of s)if(wk(c.initializer))for(const s of Gm(c.initializer,e)){const e=s.initializer;Ik(e)&&e.elements.length>n&&(fe.add(Wf(L.configFile,e.elements[n],t,r,i,a)),o=!1)}o&&fe.add(LT(t,r,i,a))}function St(e,n,t,r){let i=!0;const a=Lt();for(const o of a)wk(o.initializer)&&Ot(o.initializer,e,n,void 0,t,r)&&(i=!1);i&&fe.add(LT(t,r))}function At(e){const n=Dt();return n&&Gm(n,e)}function Lt(){return At("paths")||i}function Ct(e,n){const t=Dt();return t&&Bm(t,e,n)}function kt(e,n,t,r){Rt(!0,n,t,e,n,t,r)}function It(e,n,t,r){Rt(!1,e,void 0,n,t,r)}function wt(e,n,t,r,i,a,o){const s=C(jm(e||L.configFile,"references"),(e=>Ik(e.initializer)?e.initializer:void 0));s&&s.elements.length>n?fe.add(Wf(e||L.configFile,s.elements[n],t,r,i,a,o)):fe.add(LT(t,r,i,a,o))}function Rt(e,n,t,r,i,a,o,s){const c=Dt();(!c||!Ot(c,e,n,t,r,i,a,o,s))&&("messageText"in r?fe.add(CT(r)):fe.add(LT(r,i,a,o,s)))}function Dt(){if(void 0===be){be=!1;const e=Um(L.configFile);if(e)for(const n of Gm(e,"compilerOptions"))if(wk(n.initializer)){be=n.initializer;break}}return be||void 0}function Ot(e,n,t,r,i,a,o,s,c){const l=Gm(e,t,r);for(const e of l)"messageText"in i?fe.add(qf(L.configFile,n?e.name:e.initializer,i)):fe.add(Wf(L.configFile,n?e.name:e.initializer,i,a,o,s,c));return!!l.length}function Mt(e,n){const t=Dt();t?Ot(t,!0,e,void 0,Vo.Option_0_is_redundant_and_cannot_be_specified_with_option_1,e,n):kt(Vo.Option_0_is_redundant_and_cannot_be_specified_with_option_1,e,n)}function Pt(e,n){ye.set(nn(e),!0),fe.add(n)}function Ft(e,n){return 0===Ro(e,n,me,!se.useCaseSensitiveFileNames())}function Gt(){return se.getSymlinkCache?se.getSymlinkCache():(U||(U=hx(me,ht)),B&&Z&&!U.hasProcessedResolutions()&&U.setSymlinksFromResolutions(B,Z),U)}}function OH(e,n,t,r){const i=e.getCompilerOptions();if(i.noEmit)return e.getSemanticDiagnostics(n,r),n||kv(i)?Xj:e.emitBuildInfo(t,r);if(!i.noEmitOnError)return;let a,o=[...e.getOptionsDiagnostics(r),...e.getSyntacticDiagnostics(n,r),...e.getGlobalDiagnostics(r),...e.getSemanticDiagnostics(n,r)];if(0===o.length&&tx(e.getCompilerOptions())&&(o=e.getDeclarationDiagnostics(void 0,r)),o.length){if(!n&&!kv(i)){const n=e.emitBuildInfo(t,r);n.diagnostics&&(o=[...o,...n.diagnostics]),a=n.emittedFiles}return{diagnostics:o,sourceMaps:void 0,emittedFiles:a,emitSkipped:!0}}}function MH(e,n){return j(e,(e=>!e.skippedOn||!n[e.skippedOn]))}function PH(e,n=e){return{fileExists:e=>n.fileExists(e),readDirectory:(e,t,r,i,a)=>(Nt.assertIsDefined(n.readDirectory,"'CompilerHost.readDirectory' must be implemented to correctly process 'projectReferences'"),n.readDirectory(e,t,r,i,a)),readFile:e=>n.readFile(e),useCaseSensitiveFileNames:e.useCaseSensitiveFileNames(),getCurrentDirectory:()=>e.getCurrentDirectory(),onUnRecoverableConfigFileDiagnostic:e.onUnRecoverableConfigFileDiagnostic||Ln,trace:e.trace?n=>e.trace(n):void 0}}function FH(e,n,t,r){if(!e)return i;let a;for(let i=0;i<e.length;i++){const o=e[i],s=n(o,i);if(o.prepend&&s&&s.options){if(!kv(s.options))continue;const{jsFilePath:e,sourceMapFilePath:n,declarationFilePath:i,declarationMapPath:o,buildInfoPath:c}=QV(s.options,!0),l=wA(t,e,n,i,o,c,r,s.options);(a||(a=[])).push(l)}}return a||i}function GH(e){return LW(e.path)}function BH(e,{extension:n},{isDeclarationFile:t}){switch(n){case".ts":case".d.ts":case".mts":case".d.mts":case".cts":case".d.cts":return;case".tsx":return r();case".jsx":return r()||i();case".js":case".mjs":case".cjs":return i();case".json":return nx(e)?void 0:Vo.Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used;default:return t||e.allowArbitraryExtensions?void 0:Vo.Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set}function r(){return e.jsx?void 0:Vo.Module_0_was_resolved_to_1_but_jsx_is_not_set}function i(){return ox(e)||!ax(e,"noImplicitAny")?void 0:Vo.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type}}function UH({imports:e,moduleAugmentations:n}){const t=e.map((e=>e));for(const e of n)10===e.kind&&t.push(e);return t}function VH({imports:e,moduleAugmentations:n},t){if(t<e.length)return e[t];let r=e.length;for(const e of n)if(10===e.kind){if(t===r)return e;r++}Nt.fail("should never ask for module name at index higher than possible module name")}var jH,HH=E({"src/compiler/program.ts"(){Qq(),Qq(),_a(),Fj=(e=>(e.Grey="",e.Red="",e.Yellow="",e.Blue="",e.Cyan="",e))(Fj||{}),Gj="",Bj=" ",Uj="",Vj="...",jj=" ",Hj=" ",Kj={resolvedModule:void 0,resolvedTypeReferenceDirective:void 0},Wj={getName:vH,getMode:(e,n)=>gH(n,e)},qj={getName:EH,getMode:(e,n)=>fH(e,null==n?void 0:n.impliedNodeFormat)},zj="__inferred type names__.ts",Jj=new Set([Vo.Cannot_redeclare_block_scoped_variable_0.code,Vo.A_module_cannot_have_multiple_default_exports.code,Vo.Another_export_default_is_here.code,Vo.The_first_export_default_is_here.code,Vo.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module.code,Vo.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode.code,Vo.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here.code,Vo.constructor_is_a_reserved_word.code,Vo.delete_cannot_be_called_on_an_identifier_in_strict_mode.code,Vo.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.code,Vo.Invalid_use_of_0_Modules_are_automatically_in_strict_mode.code,Vo.Invalid_use_of_0_in_strict_mode.code,Vo.A_label_is_not_allowed_here.code,Vo.Octal_literals_are_not_allowed_in_strict_mode.code,Vo.with_statements_are_not_allowed_in_strict_mode.code,Vo.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement.code,Vo.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement.code,Vo.A_class_declaration_without_the_default_modifier_must_have_a_name.code,Vo.A_class_member_cannot_have_the_0_keyword.code,Vo.A_comma_expression_is_not_allowed_in_a_computed_property_name.code,Vo.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement.code,Vo.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement.code,Vo.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement.code,Vo.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement.code,Vo.A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration.code,Vo.A_definite_assignment_assertion_is_not_permitted_in_this_context.code,Vo.A_destructuring_declaration_must_have_an_initializer.code,Vo.A_get_accessor_cannot_have_parameters.code,Vo.A_rest_element_cannot_contain_a_binding_pattern.code,Vo.A_rest_element_cannot_have_a_property_name.code,Vo.A_rest_element_cannot_have_an_initializer.code,Vo.A_rest_element_must_be_last_in_a_destructuring_pattern.code,Vo.A_rest_parameter_cannot_have_an_initializer.code,Vo.A_rest_parameter_must_be_last_in_a_parameter_list.code,Vo.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma.code,Vo.A_return_statement_cannot_be_used_inside_a_class_static_block.code,Vo.A_set_accessor_cannot_have_rest_parameter.code,Vo.A_set_accessor_must_have_exactly_one_parameter.code,Vo.An_export_declaration_can_only_be_used_at_the_top_level_of_a_module.code,Vo.An_export_declaration_cannot_have_modifiers.code,Vo.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module.code,Vo.An_import_declaration_cannot_have_modifiers.code,Vo.An_object_member_cannot_be_declared_optional.code,Vo.Argument_of_dynamic_import_cannot_be_spread_element.code,Vo.Cannot_assign_to_private_method_0_Private_methods_are_not_writable.code,Vo.Cannot_redeclare_identifier_0_in_catch_clause.code,Vo.Catch_clause_variable_cannot_have_an_initializer.code,Vo.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator.code,Vo.Classes_can_only_extend_a_single_class.code,Vo.Classes_may_not_have_a_field_named_constructor.code,Vo.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,Vo.Duplicate_label_0.code,Vo.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments.code,Vo.For_await_loops_cannot_be_used_inside_a_class_static_block.code,Vo.JSX_attributes_must_only_be_assigned_a_non_empty_expression.code,Vo.JSX_elements_cannot_have_multiple_attributes_with_the_same_name.code,Vo.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array.code,Vo.JSX_property_access_expressions_cannot_include_JSX_namespace_names.code,Vo.Jump_target_cannot_cross_function_boundary.code,Vo.Line_terminator_not_permitted_before_arrow.code,Vo.Modifiers_cannot_appear_here.code,Vo.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement.code,Vo.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement.code,Vo.Private_identifiers_are_not_allowed_outside_class_bodies.code,Vo.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression.code,Vo.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier.code,Vo.Tagged_template_expressions_are_not_permitted_in_an_optional_chain.code,Vo.The_left_hand_side_of_a_for_of_statement_may_not_be_async.code,Vo.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer.code,Vo.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer.code,Vo.Trailing_comma_not_allowed.code,Vo.Variable_declaration_list_cannot_be_empty.code,Vo._0_and_1_operations_cannot_be_mixed_without_parentheses.code,Vo._0_expected.code,Vo._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2.code,Vo._0_list_cannot_be_empty.code,Vo._0_modifier_already_seen.code,Vo._0_modifier_cannot_appear_on_a_constructor_declaration.code,Vo._0_modifier_cannot_appear_on_a_module_or_namespace_element.code,Vo._0_modifier_cannot_appear_on_a_parameter.code,Vo._0_modifier_cannot_appear_on_class_elements_of_this_kind.code,Vo._0_modifier_cannot_be_used_here.code,Vo._0_modifier_must_precede_1_modifier.code,Vo.const_declarations_can_only_be_declared_inside_a_block.code,Vo.const_declarations_must_be_initialized.code,Vo.extends_clause_already_seen.code,Vo.let_declarations_can_only_be_declared_inside_a_block.code,Vo.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations.code,Vo.Class_constructor_may_not_be_a_generator.code,Vo.Class_constructor_may_not_be_an_accessor.code,Vo.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code]),Xj={diagnostics:i,sourceMaps:void 0,emittedFiles:void 0,emitSkipped:!0}}}),KH=E({"src/compiler/builderStatePublic.ts"(){}});function WH(e,n,t,r,i,a){const o=[],{emitSkipped:s,diagnostics:c}=e.emit(n,(function(e,n,t){o.push({name:e,writeByteOrderMark:t,text:n})}),r,t,i,a);return{outputFiles:o,emitSkipped:s,diagnostics:c}}var qH,zH,JH=E({"src/compiler/builderState.ts"(){Qq(),(e=>{function n(){return function(e,n,r){const i={getKeys:e=>n.get(e),getValues:n=>e.get(n),keys:()=>e.keys(),deleteKey:i=>{(r||(r=new Set)).add(i);const a=e.get(i);return!!a&&(a.forEach((e=>t(n,e,i))),e.delete(i),!0)},set:(a,o)=>{null==r||r.delete(a);const s=e.get(a);return e.set(a,o),null==s||s.forEach((e=>{o.has(e)||t(n,e,a)})),o.forEach((e=>{(null==s?void 0:s.has(e))||function(e,n,t){let r=e.get(n);r||(r=new Set,e.set(n,r)),r.add(t)}(n,e,a)})),i}};return i}(new Map,new Map,void 0)}function t(e,n,t){const r=e.get(n);return!!(null==r?void 0:r.delete(t))&&(r.size||e.delete(n),!0)}function r(e){return ee(e.declarations,(e=>{var n;return null==(n=Ip(e))?void 0:n.resolvedPath}))}function a(e,n){const t=e.getSymbolAtLocation(n);return t&&r(t)}function o(e,n,t,r){return xo(e.getProjectReferenceRedirect(n)||n,t,r)}function s(e,n,t){let r;if(n.imports&&n.imports.length>0){const t=e.getTypeChecker();for(const e of n.imports){const n=a(t,e);null==n||n.forEach(c)}}const i=co(n.resolvedPath);if(n.referencedFiles&&n.referencedFiles.length>0)for(const r of n.referencedFiles)c(o(e,r.fileName,i,t));if(n.resolvedTypeReferenceDirectiveNames&&n.resolvedTypeReferenceDirectiveNames.forEach((({resolvedTypeReferenceDirective:n})=>{if(!n)return;const r=n.resolvedFileName;c(o(e,r,i,t))})),n.moduleAugmentations.length){const t=e.getTypeChecker();for(const e of n.moduleAugmentations){if(!cC(e))continue;const n=t.getSymbolAtLocation(e);n&&s(n)}}for(const n of e.getTypeChecker().getAmbientModules())n.declarations&&n.declarations.length>1&&s(n);return r;function s(e){if(e.declarations)for(const t of e.declarations){const e=Ip(t);e&&e!==n&&c(e.resolvedPath)}}function c(e){(r||(r=new Set)).add(e)}}function c(e,n){return n&&!n.referencedMap==!e}function l(e,n,t,r,a){const o=n.getSourceFileByPath(t);return o?u(e,n,o,r,a)?(e.referencedMap?v:y)(e,n,o,r,a):[o]:i}function d(e,n,t,r,i){e.emit(n,((t,a,o,s,c,l)=>{Nt.assert(ND(t),`File extension for signature expected to be dts: Got:: ${t}`),i(hK(e,n,a,r,l),c)}),t,!0,void 0,!0)}function u(e,n,t,r,i,a=e.useFileVersionAsSignature){var o;if(null==(o=e.hasCalledUpdateShapeSignature)?void 0:o.has(t.resolvedPath))return!1;const s=e.fileInfos.get(t.resolvedPath),c=s.signature;let l;if(t.isDeclarationFile||a||d(n,t,r,i,((n,r)=>{l=n,l!==c&&_(e,t,r[0].exportedModulesFromDeclarationEmit)})),void 0===l&&(l=t.version,e.exportedModulesMap&&l!==c)){(e.oldExportedModulesMap||(e.oldExportedModulesMap=new Map)).set(t.resolvedPath,e.exportedModulesMap.getValues(t.resolvedPath)||!1);const n=e.referencedMap?e.referencedMap.getValues(t.resolvedPath):void 0;n?e.exportedModulesMap.set(t.resolvedPath,n):e.exportedModulesMap.deleteKey(t.resolvedPath)}return(e.oldSignatures||(e.oldSignatures=new Map)).set(t.resolvedPath,c||!1),(e.hasCalledUpdateShapeSignature||(e.hasCalledUpdateShapeSignature=new Set)).add(t.resolvedPath),s.signature=l,l!==c}function _(e,n,t){if(!e.exportedModulesMap)return;(e.oldExportedModulesMap||(e.oldExportedModulesMap=new Map)).set(n.resolvedPath,e.exportedModulesMap.getValues(n.resolvedPath)||!1);const r=p(t);r?e.exportedModulesMap.set(n.resolvedPath,r):e.exportedModulesMap.deleteKey(n.resolvedPath)}function p(e){let n;return null==e||e.forEach((e=>r(e).forEach((e=>(null!=n?n:n=new Set).add(e))))),n}function f(e,n){if(!e.allFileNames){const t=n.getSourceFiles();e.allFileNames=t===i?i:t.map((e=>e.fileName))}return e.allFileNames}function m(e,n){const t=e.referencedMap.getKeys(n);return t?Qe(t.keys()):[]}function h(e){return function(e){return ce(e.moduleAugmentations,(e=>bf(e.parent)))}(e)||!tm(e)&&!rm(e)&&!function(e){for(const n of e.statements)if(!mf(n))return!1;return!0}(e)}function g(e,n,t){if(e.allFilesExcludingDefaultLibraryFile)return e.allFilesExcludingDefaultLibraryFile;let r;t&&a(t);for(const e of n.getSourceFiles())e!==t&&a(e);return e.allFilesExcludingDefaultLibraryFile=r||i,e.allFilesExcludingDefaultLibraryFile;function a(e){n.isSourceFileDefaultLibrary(e)||(r||(r=[])).push(e)}}function y(e,n,t){const r=n.getCompilerOptions();return r&&kv(r)?[t]:g(e,n,t)}function v(e,n,t,r,i){if(h(t))return g(e,n,t);const a=n.getCompilerOptions();if(a&&(WT(a)||kv(a)))return[t];const o=new Map;o.set(t.resolvedPath,t);const s=m(e,t.resolvedPath);for(;s.length>0;){const t=s.pop();if(!o.has(t)){const a=n.getSourceFileByPath(t);o.set(t,a),a&&u(e,n,a,r,i)&&s.push(...m(e,a.resolvedPath))}}return Qe(ne(o.values(),(e=>e)))}e.createManyToManyPathMap=n,e.canReuseOldState=c,e.create=function(e,t,r){var i,a,o;const l=new Map,d=e.getCompilerOptions(),u=kv(d),_=0===d.module||u?void 0:n(),p=_?n():void 0,f=c(_,t);e.getTypeChecker();for(const n of e.getSourceFiles()){const r=Nt.checkDefined(n.version,"Program intended to be used with Builder should have source files with versions set"),c=f?null==(i=t.oldSignatures)?void 0:i.get(n.resolvedPath):void 0,d=void 0===c?f?null==(a=t.fileInfos.get(n.resolvedPath))?void 0:a.signature:void 0:c||void 0;if(_){const r=s(e,n,e.getCanonicalFileName);if(r&&_.set(n.resolvedPath,r),f){const e=null==(o=t.oldExportedModulesMap)?void 0:o.get(n.resolvedPath),r=void 0===e?t.exportedModulesMap.getValues(n.resolvedPath):e||void 0;r&&p.set(n.resolvedPath,r)}}l.set(n.resolvedPath,{version:r,signature:d,affectsGlobalScope:u?void 0:h(n)||void 0,impliedFormat:n.impliedNodeFormat})}return{fileInfos:l,referencedMap:_,exportedModulesMap:p,useFileVersionAsSignature:!r&&!f}},e.releaseCache=function(e){e.allFilesExcludingDefaultLibraryFile=void 0,e.allFileNames=void 0},e.getFilesAffectedBy=function(e,n,t,r,i){var a,o;const s=l(e,n,t,r,i);return null==(a=e.oldSignatures)||a.clear(),null==(o=e.oldExportedModulesMap)||o.clear(),s},e.getFilesAffectedByWithOldState=l,e.updateSignatureOfFile=function(e,n,t){e.fileInfos.get(t).signature=n,(e.hasCalledUpdateShapeSignature||(e.hasCalledUpdateShapeSignature=new Set)).add(t)},e.computeDtsSignature=d,e.updateShapeSignature=u,e.updateExportedModules=_,e.getExportedModules=p,e.getAllDependencies=function(e,n,t){if(kv(n.getCompilerOptions()))return f(e,n);if(!e.referencedMap||h(t))return f(e,n);const r=new Set,i=[t.resolvedPath];for(;i.length;){const n=i.pop();if(!r.has(n)){r.add(n);const t=e.referencedMap.getValues(n);if(t)for(const e of t.keys())i.push(e)}}return Qe(ne(r.keys(),(e=>{var t,r;return null!=(r=null==(t=n.getSourceFileByPath(e))?void 0:t.fileName)?r:e})))},e.getReferencedByPaths=m,e.getAllFilesExcludingDefaultLibraryFile=g})(jH||(jH={}))}});function XH(e){let n=1;return e.sourceMap&&(n|=2),e.inlineSourceMap&&(n|=4),tx(e)&&(n|=8),e.declarationMap&&(n|=16),e.emitDeclarationOnly&&(n&=24),n}function YH(e,n){const t=n&&(bn(n)?n:XH(n)),r=bn(e)?e:XH(e);if(t===r)return 0;if(!t||!r)return r;const i=t^r;let a=0;return 7&i&&(a=7&r),24&i&&(a|=24&r),a}function $H(e,n){e.changedFilesSet.add(n),e.buildInfoEmitPending=!0,e.programEmitPending=void 0}function QH(e,n,t){return!!e.declarationMap==!!n.declarationMap?t:vn(t)?[t]:t[0]}function ZH(e,n,t){const{file:r}=e;return{...e,file:r?n.getSourceFileByPath(t(r)):void 0}}function eK(e,n){Nt.assert(!n||!e.affectedFiles||e.affectedFiles[e.affectedFilesIndex-1]!==n||!e.semanticDiagnosticsPerFile.has(n.resolvedPath))}function nK(e,n,t){for(var r,i;;){const{affectedFiles:a}=e;if(a){const o=e.seenAffectedFiles;let s=e.affectedFilesIndex;for(;s<a.length;){const r=a[s];if(!o.has(r.resolvedPath))return e.affectedFilesIndex=s,vK(e,r.resolvedPath,XH(e.compilerOptions)),rK(e,r,n,t),r;s++}e.changedFilesSet.delete(e.currentChangedFilePath),e.currentChangedFilePath=void 0,null==(r=e.oldSignatures)||r.clear(),null==(i=e.oldExportedModulesMap)||i.clear(),e.affectedFiles=void 0}const o=e.changedFilesSet.keys().next();if(o.done)return;const s=Nt.checkDefined(e.program);if(kv(s.getCompilerOptions()))return Nt.assert(!e.semanticDiagnosticsPerFile),s;e.affectedFiles=jH.getFilesAffectedByWithOldState(e,s,o.value,n,t),e.currentChangedFilePath=o.value,e.affectedFilesIndex=0,e.seenAffectedFiles||(e.seenAffectedFiles=new Set)}}function tK(e){if(!e.cleanedDiagnosticsOfLibFiles){e.cleanedDiagnosticsOfLibFiles=!0;const n=Nt.checkDefined(e.program),t=n.getCompilerOptions();A(n.getSourceFiles(),(r=>n.isSourceFileDefaultLibrary(r)&&!cS(r,t,n)&&aK(e,r.resolvedPath)))}}function rK(e,n,t,r){if(aK(e,n.resolvedPath),e.allFilesExcludingDefaultLibraryFile===e.affectedFiles)return tK(e),void jH.updateShapeSignature(e,Nt.checkDefined(e.program),n,t,r);e.compilerOptions.assumeChangesOnlyAffectDirectDependencies||function(e,n,t,r){var i;if(!e.exportedModulesMap||!e.changedFilesSet.has(n.resolvedPath))return;if(!oK(e,n.resolvedPath))return;if(WT(e.compilerOptions)){const i=new Map;i.set(n.resolvedPath,!0);const a=jH.getReferencedByPaths(e,n.resolvedPath);for(;a.length>0;){const n=a.pop();if(!i.has(n)){if(i.set(n,!0),sK(e,n,t,r))return;if(iK(e,n,t,r),oK(e,n)){const t=Nt.checkDefined(e.program).getSourceFileByPath(n);a.push(...jH.getReferencedByPaths(e,t.resolvedPath))}}}}const a=new Set;null==(i=e.exportedModulesMap.getKeys(n.resolvedPath))||i.forEach((n=>{if(sK(e,n,t,r))return!0;const i=e.referencedMap.getKeys(n);return i&&fp(i,(n=>cK(e,n,a,t,r)))}))}(e,n,t,r)}function iK(e,n,t,r){if(aK(e,n),!e.changedFilesSet.has(n)){const i=Nt.checkDefined(e.program),a=i.getSourceFileByPath(n);a&&(jH.updateShapeSignature(e,i,a,t,r,!0),tx(e.compilerOptions)&&vK(e,n,e.compilerOptions.declarationMap?24:8))}}function aK(e,n){return!e.semanticDiagnosticsFromOldState||(e.semanticDiagnosticsFromOldState.delete(n),e.semanticDiagnosticsPerFile.delete(n),!e.semanticDiagnosticsFromOldState.size)}function oK(e,n){const t=Nt.checkDefined(e.oldSignatures).get(n)||void 0;return Nt.checkDefined(e.fileInfos.get(n)).signature!==t}function sK(e,n,t,r){var i;return!!(null==(i=e.fileInfos.get(n))?void 0:i.affectsGlobalScope)&&(jH.getAllFilesExcludingDefaultLibraryFile(e,e.program,void 0).forEach((n=>iK(e,n.resolvedPath,t,r))),tK(e),!0)}function cK(e,n,t,r,i){var a,o;if(ie(t,n)){if(sK(e,n,r,i))return!0;iK(e,n,r,i),null==(a=e.exportedModulesMap.getKeys(n))||a.forEach((n=>cK(e,n,t,r,i))),null==(o=e.referencedMap.getKeys(n))||o.forEach((n=>!t.has(n)&&iK(e,n,r,i)))}}function lK(e,n,t){return de(function(e,n,t){const r=n.resolvedPath;if(e.semanticDiagnosticsPerFile){const n=e.semanticDiagnosticsPerFile.get(r);if(n)return MH(n,e.compilerOptions)}const i=Nt.checkDefined(e.program).getBindAndCheckDiagnostics(n,t);return e.semanticDiagnosticsPerFile&&e.semanticDiagnosticsPerFile.set(r,i),MH(i,e.compilerOptions)}(e,n,t),Nt.checkDefined(e.program).getProgramDiagnostics(n))}function dK(e){return!!kv(e.options||{})}function uK(e,n,t){if(e)if(Nt.assert("listOrElement"!==e.type),"list"===e.type){const r=n;if(e.element.isFilePath&&r.length)return r.map(t)}else if(e.isFilePath)return t(n);return n}function _K(e,n){return Nt.assert(!!e.length),e.map((e=>{const t=pK(e,n);t.reportsUnnecessary=e.reportsUnnecessary,t.reportDeprecated=e.reportsDeprecated,t.source=e.source,t.skippedOn=e.skippedOn;const{relatedInformation:r}=e;return t.relatedInformation=r?r.length?r.map((e=>pK(e,n))):[]:void 0,t}))}function pK(e,n){const{file:t}=e;return{...e,file:t?n(t.resolvedPath):void 0}}function fK(e,n,t,r,a,o){let s,c,l;return void 0===e?(Nt.assert(void 0===n),s=t,l=r,Nt.assert(!!l),c=l.getProgram()):gn(e)?(l=r,c=DH({rootNames:e,options:n,host:t,oldProgram:l&&l.getProgramOrUndefined(),configFileParsingDiagnostics:a,projectReferences:o}),s=t):(c=e,s=n,l=t,a=r),{host:s,newProgram:c,oldProgram:l,configFileParsingDiagnostics:a||i}}function mK(e,n){return void 0!==(null==n?void 0:n.sourceMapUrlPos)?e.substring(0,n.sourceMapUrlPos):e}function hK(e,n,t,r,i){var a,o;let s;return t=mK(t,i),(null==(a=null==i?void 0:i.diagnostics)?void 0:a.length)&&(t+=i.diagnostics.map((t=>`${function(t){return t.file.resolvedPath===n.resolvedPath?`(${t.start},${t.length})`:(void 0===s&&(s=co(n.resolvedPath)),`${Lo(Mo(s,t.file.resolvedPath,e.getCanonicalFileName))}(${t.start},${t.length})`)}(t)}${Gi[t.category]}${t.code}: ${c(t.messageText)}`)).join("\n")),(null!=(o=r.createHash)?o:La)(t);function c(e){return vn(e)?e:void 0===e?"":e.next?e.messageText+e.next.map(c).join("\n"):e.messageText}}function gK(e,n,t){var r;return(null!=(r=n.createHash)?r:La)(mK(e,t))}function yK(e,{newProgram:n,host:t,oldProgram:r,configFileParsingDiagnostics:a}){let o=r&&r.getState();if(o&&n===o.program&&a===n.getConfigFileParsingDiagnostics())return n=void 0,o=void 0,r;const s=function(e,n){var t,r;const a=jH.create(e,n,!1);a.program=e;const o=e.getCompilerOptions();a.compilerOptions=o;const s=kv(o);s?o.composite&&(null==n?void 0:n.outSignature)&&s===kv(null==n?void 0:n.compilerOptions)&&(a.outSignature=n.outSignature&&QH(o,n.compilerOptions,n.outSignature)):a.semanticDiagnosticsPerFile=new Map,a.changedFilesSet=new Set,a.latestChangedDtsFile=o.composite?null==n?void 0:n.latestChangedDtsFile:void 0;const c=jH.canReuseOldState(a.referencedMap,n),l=c?n.compilerOptions:void 0,d=c&&n.semanticDiagnosticsPerFile&&!!a.semanticDiagnosticsPerFile&&!cx(o,l),u=o.composite&&(null==n?void 0:n.emitSignatures)&&!s&&!dx(o,n.compilerOptions);c?(null==(t=n.changedFilesSet)||t.forEach((e=>a.changedFilesSet.add(e))),!s&&(null==(r=n.affectedFilesPendingEmit)?void 0:r.size)&&(a.affectedFilesPendingEmit=new Map(n.affectedFilesPendingEmit),a.seenAffectedFiles=new Set),a.programEmitPending=n.programEmitPending):a.buildInfoEmitPending=!0;const _=a.referencedMap,p=c?n.referencedMap:void 0,f=d&&!o.skipLibCheck==!l.skipLibCheck,m=f&&!o.skipDefaultLibCheck==!l.skipDefaultLibCheck;if(a.fileInfos.forEach(((t,r)=>{var s;let l,h;if(!c||!(l=n.fileInfos.get(r))||l.version!==t.version||l.impliedFormat!==t.impliedFormat||(g=h=_&&_.getValues(r))!==(y=p&&p.getValues(r))&&(void 0===g||void 0===y||g.size!==y.size||fp(g,(e=>!y.has(e))))||h&&fp(h,(e=>!a.fileInfos.has(e)&&n.fileInfos.has(e))))$H(a,r);else if(d){const t=e.getSourceFileByPath(r);if(t.isDeclarationFile&&!f)return;if(t.hasNoDefaultLib&&!m)return;const o=n.semanticDiagnosticsPerFile.get(r);o&&(a.semanticDiagnosticsPerFile.set(r,n.hasReusableDiagnostic?function(e,n){if(!e.length)return i;let t;return e.map((e=>{const t=ZH(e,n,r);t.reportsUnnecessary=e.reportsUnnecessary,t.reportsDeprecated=e.reportDeprecated,t.source=e.source,t.skippedOn=e.skippedOn;const{relatedInformation:i}=e;return t.relatedInformation=i?i.length?i.map((e=>ZH(e,n,r))):[]:void 0,t}));function r(e){return null!=t||(t=co(bo($V(n.getCompilerOptions()),n.getCurrentDirectory()))),xo(e,t,n.getCanonicalFileName)}}(o,e):o),a.semanticDiagnosticsFromOldState||(a.semanticDiagnosticsFromOldState=new Set),a.semanticDiagnosticsFromOldState.add(r))}var g,y;if(u){const e=n.emitSignatures.get(r);e&&(null!=(s=a.emitSignatures)?s:a.emitSignatures=new Map).set(r,QH(o,n.compilerOptions,e))}})),c&&pp(n.fileInfos,((e,n)=>!(a.fileInfos.has(n)||!s&&!e.affectsGlobalScope&&(a.buildInfoEmitPending=!0,1)))))jH.getAllFilesExcludingDefaultLibraryFile(a,e,void 0).forEach((e=>$H(a,e.resolvedPath)));else if(l){const n=lx(o,l)?XH(o):YH(o,l);0!==n&&(s?a.programEmitPending=a.programEmitPending?a.programEmitPending|n:n:(e.getSourceFiles().forEach((e=>{a.changedFilesSet.has(e.resolvedPath)||vK(a,e.resolvedPath,n)})),Nt.assert(!a.seenAffectedFiles||!a.seenAffectedFiles.size),a.seenAffectedFiles=a.seenAffectedFiles||new Set,a.buildInfoEmitPending=!0))}return s&&!a.changedFilesSet.size&&(c&&(a.bundle=n.bundle),ce(e.getProjectReferences(),(e=>!!e.prepend))&&(a.programEmitPending=XH(o))),a}(n,o);n.getBuildInfo=e=>function(e,n){var t,r,a;const o=Nt.checkDefined(e.program).getCurrentDirectory(),s=co(bo($V(e.compilerOptions),o)),c=e.latestChangedDtsFile?E(e.latestChangedDtsFile):void 0,l=[],d=new Map,u=[];if(kv(e.compilerOptions)){const i=Qe(e.fileInfos.entries(),(([e,n])=>(A(e,x(e)),n.impliedFormat?{version:n.version,impliedFormat:n.impliedFormat,signature:void 0,affectsGlobalScope:void 0}:n.version))),a={fileNames:l,fileInfos:i,root:u,options:L(e.compilerOptions),outSignature:e.outSignature,latestChangedDtsFile:c,pendingEmit:e.programEmitPending?e.programEmitPending!==XH(e.compilerOptions)&&e.programEmitPending:void 0},{js:o,dts:s,commonSourceDirectory:d,sourceFiles:_}=n;return e.bundle=n={commonSourceDirectory:d,sourceFiles:_,js:o||(e.compilerOptions.emitDeclarationOnly||null==(t=e.bundle)?void 0:t.js),dts:s||(tx(e.compilerOptions)?null==(r=e.bundle)?void 0:r.dts:void 0)},fj(a,n)}let _,p,f;const m=Qe(e.fileInfos.entries(),(([n,t])=>{var r,a;const o=x(n);A(n,o),Nt.assert(l[o-1]===T(n));const s=null==(r=e.oldSignatures)?void 0:r.get(n),c=void 0!==s?s||void 0:t.signature;if(e.compilerOptions.composite){const t=e.program.getSourceFileByPath(n);if(!rm(t)&&Rv(t,e.program)){const t=null==(a=e.emitSignatures)?void 0:a.get(n);t!==c&&(f||(f=[])).push(void 0===t?o:[o,vn(t)||t[0]!==c?t:i])}}return t.version===c?t.affectsGlobalScope||t.impliedFormat?{version:t.version,signature:void 0,affectsGlobalScope:t.affectsGlobalScope,impliedFormat:t.impliedFormat}:t.version:void 0!==c?void 0===s?t:{version:t.version,signature:c,affectsGlobalScope:t.affectsGlobalScope,impliedFormat:t.impliedFormat}:{version:t.version,signature:!1,affectsGlobalScope:t.affectsGlobalScope,impliedFormat:t.impliedFormat}}));let h,g,y,v,b;if(e.referencedMap&&(h=Qe(e.referencedMap.keys()).sort(Wn).map((n=>[x(n),S(e.referencedMap.getValues(n))]))),e.exportedModulesMap&&(g=ee(Qe(e.exportedModulesMap.keys()).sort(Wn),(n=>{var t;const r=null==(t=e.oldExportedModulesMap)?void 0:t.get(n);return void 0===r?[x(n),S(e.exportedModulesMap.getValues(n))]:r?[x(n),S(r)]:void 0}))),e.semanticDiagnosticsPerFile)for(const n of Qe(e.semanticDiagnosticsPerFile.keys()).sort(Wn)){const t=e.semanticDiagnosticsPerFile.get(n);(y||(y=[])).push(t.length?[x(n),_K(t,T)]:x(n))}if(null==(a=e.affectedFilesPendingEmit)?void 0:a.size){const n=XH(e.compilerOptions),t=new Set;for(const r of Qe(e.affectedFilesPendingEmit.keys()).sort(Wn))if(ie(t,r)){const t=e.program.getSourceFileByPath(r);if(!t||!Rv(t,e.program))continue;const i=x(r),a=e.affectedFilesPendingEmit.get(r);(v||(v=[])).push(a===n?i:8===a?[i]:[i,a])}}if(e.changedFilesSet.size)for(const n of Qe(e.changedFilesSet.keys()).sort(Wn))(b||(b=[])).push(x(n));return fj({fileNames:l,fileInfos:m,root:u,options:L(e.compilerOptions),fileIdsList:_,referencedMap:h,exportedModulesMap:g,semanticDiagnosticsPerFile:y,affectedFilesPendingEmit:v,changeFileSet:b,emitSignatures:f,latestChangedDtsFile:c},n);function E(e){return T(bo(e,o))}function T(n){return Lo(Mo(s,n,e.program.getCanonicalFileName))}function x(e){let n=d.get(e);return void 0===n&&(l.push(T(e)),d.set(e,n=l.length)),n}function S(e){const n=Qe(e.keys(),x).sort(Un),t=n.join();let r=null==p?void 0:p.get(t);return void 0===r&&((_||(_=[])).push(n),(p||(p=new Map)).set(t,r=_.length)),r}function A(n,t){const r=e.program.getSourceFile(n);if(!e.program.getFileIncludeReasons().get(r.path).some((e=>0===e.kind)))return;if(!u.length)return u.push(t);const i=u[u.length-1],a=gn(i);if(a&&i[1]===t-1)return i[1]=t;if(a||1===u.length||i!==t-1)return u.push(t);const o=u[u.length-2];return bn(o)&&o===i-1?(u[u.length-2]=[o,t],u.length=u.length-1):u.push(t)}function L(e){let n;const{optionsNameMap:t}=CO();for(const r of Je(e).sort(Wn)){const i=t.get(r.toLowerCase());(null==i?void 0:i.affectsBuildInfo)&&((n||(n={}))[r]=uK(i,e[r],E))}return n}}(s,e),n=void 0,r=void 0,o=void 0;const c=()=>s,l=AK(c,a);return l.getState=c,l.saveEmitState=()=>function(e){const n=kv(e.compilerOptions);return Nt.assert(!e.changedFilesSet.size||n),{affectedFilesPendingEmit:e.affectedFilesPendingEmit&&new Map(e.affectedFilesPendingEmit),seenEmittedFiles:e.seenEmittedFiles&&new Map(e.seenEmittedFiles),programEmitPending:e.programEmitPending,emitSignatures:e.emitSignatures&&new Map(e.emitSignatures),outSignature:e.outSignature,latestChangedDtsFile:e.latestChangedDtsFile,hasChangedEmitSignature:e.hasChangedEmitSignature,changedFilesSet:n?new Set(e.changedFilesSet):void 0}}(s),l.restoreEmitState=e=>function(e,n){e.affectedFilesPendingEmit=n.affectedFilesPendingEmit,e.seenEmittedFiles=n.seenEmittedFiles,e.programEmitPending=n.programEmitPending,e.emitSignatures=n.emitSignatures,e.outSignature=n.outSignature,e.latestChangedDtsFile=n.latestChangedDtsFile,e.hasChangedEmitSignature=n.hasChangedEmitSignature,n.changedFilesSet&&(e.changedFilesSet=n.changedFilesSet)}(s,e),l.hasChangedEmitSignature=()=>!!s.hasChangedEmitSignature,l.getAllDependencies=e=>jH.getAllDependencies(s,Nt.checkDefined(s.program),e),l.getSemanticDiagnostics=function(e,n){if(eK(s,e),kv(Nt.checkDefined(s.program).getCompilerOptions()))return Nt.assert(!s.semanticDiagnosticsPerFile),Nt.checkDefined(s.program).getSemanticDiagnostics(e,n);if(e)return lK(s,e,n);for(;_(n););let t;for(const e of Nt.checkDefined(s.program).getSourceFiles())t=Ae(t,lK(s,e,n));return t||i},l.emit=function(n,t,r,a,o){1===e&&eK(s,n);const c=OH(l,n,t,r);if(c)return c;if(!n){if(1===e){let e,n,s=[],c=!1,l=[];for(;n=d(t,r,a,o);)c=c||n.result.emitSkipped,e=Ae(e,n.result.diagnostics),l=Ae(l,n.result.emittedFiles),s=Ae(s,n.result.sourceMaps);return{emitSkipped:c,diagnostics:e||i,emittedFiles:l,sourceMaps:s}}!function(e,n){var t;(null==(t=e.affectedFilesPendingEmit)?void 0:t.size)&&(n?e.affectedFilesPendingEmit.forEach(((n,t)=>{const r=7&n;r?e.affectedFilesPendingEmit.set(t,r):e.affectedFilesPendingEmit.delete(t)})):e.affectedFilesPendingEmit=void 0)}(s,a)}return Nt.checkDefined(s.program).emit(n,u(t,o),r,a,o)},l.releaseProgram=()=>function(e){jH.releaseCache(e),e.program=void 0}(s),0===e?l.getSemanticDiagnosticsOfNextAffectedFile=_:1===e?(l.getSemanticDiagnosticsOfNextAffectedFile=_,l.emitNextAffectedFile=d,l.emitBuildInfo=function(e,n){if(s.buildInfoEmitPending){const r=Nt.checkDefined(s.program).emitBuildInfo(e||dn(t,t.writeFile),n);return s.buildInfoEmitPending=!1,r}return Xj}):wn(),l;function d(e,n,r,i){var a,o,c,l,d;let _=nK(s,n,t);const p=XH(s.compilerOptions);let f,m=r?24&p:p;if(!_)if(kv(s.compilerOptions)){if(!s.programEmitPending)return;if(m=s.programEmitPending,r&&(m&=24),!m)return;_=s.program}else{const i=function(e,n){var t;if(null==(t=e.affectedFilesPendingEmit)?void 0:t.size)return pp(e.affectedFilesPendingEmit,((t,r)=>{var i;const a=e.program.getSourceFileByPath(r);if(!a||!Rv(a,e.program))return void e.affectedFilesPendingEmit.delete(r);let o=YH(t,null==(i=e.seenEmittedFiles)?void 0:i.get(a.resolvedPath));return n&&(o&=24),o?{affectedFile:a,emitKind:o}:void 0}))}(s,r);if(!i){if(!s.buildInfoEmitPending)return;const r=s.program,i=r.emitBuildInfo(e||dn(t,t.writeFile),n);return s.buildInfoEmitPending=!1,{result:i,affected:r}}({affectedFile:_,emitKind:m}=i)}7&m&&(f=0),24&m&&(f=void 0===f?1:void 0),_===s.program&&(s.programEmitPending=s.changedFilesSet.size?YH(p,m):s.programEmitPending?YH(s.programEmitPending,m):void 0);const h=s.program.emit(_===s.program?void 0:_,u(e,i),n,f,i);if(_!==s.program){const e=_;s.seenAffectedFiles.add(e.resolvedPath),void 0!==s.affectedFilesIndex&&s.affectedFilesIndex++,s.buildInfoEmitPending=!0;const n=(null==(a=s.seenEmittedFiles)?void 0:a.get(e.resolvedPath))||0;(null!=(o=s.seenEmittedFiles)?o:s.seenEmittedFiles=new Map).set(e.resolvedPath,m|n);const t=YH((null==(c=s.affectedFilesPendingEmit)?void 0:c.get(e.resolvedPath))||p,m|n);t?(null!=(l=s.affectedFilesPendingEmit)?l:s.affectedFilesPendingEmit=new Map).set(e.resolvedPath,t):null==(d=s.affectedFilesPendingEmit)||d.delete(e.resolvedPath)}else s.changedFilesSet.clear();return{result:h,affected:_}}function u(e,n){return tx(s.compilerOptions)?(r,i,a,o,c,l)=>{var d,u,_,p,f,m,h;if(ND(r))if(kv(s.compilerOptions)){if(s.compilerOptions.composite){const e=g(s.outSignature,void 0);if(!e)return;s.outSignature=e}}else{let e;if(Nt.assert(1===(null==c?void 0:c.length)),!n){const n=c[0],r=s.fileInfos.get(n.resolvedPath);if(r.signature===n.version){const a=hK(s.program,n,i,t,l);(null==(d=null==l?void 0:l.diagnostics)?void 0:d.length)||(e=a),a!==n.version&&(t.storeFilesChangingSignatureDuringEmit&&(null!=(u=s.filesChangingSignature)?u:s.filesChangingSignature=new Set).add(n.resolvedPath),s.exportedModulesMap&&jH.updateExportedModules(s,n,n.exportedModulesFromDeclarationEmit),s.affectedFiles?(void 0===(null==(_=s.oldSignatures)?void 0:_.get(n.resolvedPath))&&(null!=(p=s.oldSignatures)?p:s.oldSignatures=new Map).set(n.resolvedPath,r.signature||!1),r.signature=a):(r.signature=a,null==(f=s.oldExportedModulesMap)||f.clear()))}}if(s.compilerOptions.composite){const n=c[0].resolvedPath;if(e=g(null==(m=s.emitSignatures)?void 0:m.get(n),e),!e)return;(null!=(h=s.emitSignatures)?h:s.emitSignatures=new Map).set(n,e)}}function g(e,n){const a=!e||vn(e)?e:e[0];if(null!=n||(n=gK(i,t,l)),n===a){if(e===a)return;l?l.differsOnlyInMap=!0:l={differsOnlyInMap:!0}}else s.hasChangedEmitSignature=!0,s.latestChangedDtsFile=r;return n}e?e(r,i,a,o,c,l):t.writeFile?t.writeFile(r,i,a,o,c,l):s.program.writeFile(r,i,a,o,c,l)}:e||dn(t,t.writeFile)}function _(e,n){for(;;){const r=nK(s,e,t);let i;if(!r)return;if(r!==s.program){const t=r;if(n&&n(t)||(i=lK(s,t,e)),s.seenAffectedFiles.add(t.resolvedPath),s.affectedFilesIndex++,s.buildInfoEmitPending=!0,!i)continue}else i=s.program.getSemanticDiagnostics(void 0,e),s.changedFilesSet.clear(),s.programEmitPending=XH(s.compilerOptions);return{result:i,affected:r}}}}function vK(e,n,t){var r,i;const a=(null==(r=e.affectedFilesPendingEmit)?void 0:r.get(n))||0;(null!=(i=e.affectedFilesPendingEmit)?i:e.affectedFilesPendingEmit=new Map).set(n,a|t)}function bK(e){return vn(e)?{version:e,signature:e,affectsGlobalScope:void 0,impliedFormat:void 0}:vn(e.signature)?e:{version:e.version,signature:!1===e.signature?void 0:e.version,affectsGlobalScope:e.affectsGlobalScope,impliedFormat:e.impliedFormat}}function EK(e,n){return bn(e)?n:e[1]||8}function TK(e,n){return e||XH(n||{})}function xK(e,n,t){var r,a,o,s;const c=e.program,l=co(bo(n,t.getCurrentDirectory())),d=lt(t.useCaseSensitiveFileNames());let u;const _=null==(r=c.fileNames)?void 0:r.map((function(e){return xo(e,l,d)}));let p;const f=c.latestChangedDtsFile?m(c.latestChangedDtsFile):void 0;if(dK(c)){const n=new Map;c.fileInfos.forEach(((e,t)=>{const r=h(t+1);n.set(r,vn(e)?{version:e,signature:void 0,affectsGlobalScope:void 0,impliedFormat:void 0}:e)})),u={fileInfos:n,compilerOptions:c.options?pM(c.options,m):{},latestChangedDtsFile:f,outSignature:c.outSignature,programEmitPending:void 0===c.pendingEmit?void 0:TK(c.pendingEmit,c.options),bundle:e.bundle}}else{p=null==(a=c.fileIdsList)?void 0:a.map((e=>new Set(e.map(h))));const e=new Map,n=(null==(o=c.options)?void 0:o.composite)&&!kv(c.options)?new Map:void 0;c.fileInfos.forEach(((t,r)=>{const i=h(r+1),a=bK(t);e.set(i,a),n&&a.signature&&n.set(i,a.signature)})),null==(s=c.emitSignatures)||s.forEach((e=>{if(bn(e))n.delete(h(e));else{const t=h(e[0]);n.set(t,vn(e[1])||e[1].length?e[1]:[n.get(t)])}}));const t=c.affectedFilesPendingEmit?XH(c.options||{}):void 0;u={fileInfos:e,compilerOptions:c.options?pM(c.options,m):{},referencedMap:g(c.referencedMap),exportedModulesMap:g(c.exportedModulesMap),semanticDiagnosticsPerFile:c.semanticDiagnosticsPerFile&&nn(c.semanticDiagnosticsPerFile,(e=>h(bn(e)?e:e[0])),(e=>bn(e)?i:e[1])),hasReusableDiagnostic:!0,affectedFilesPendingEmit:c.affectedFilesPendingEmit&&nn(c.affectedFilesPendingEmit,(e=>h(bn(e)?e:e[0])),(e=>EK(e,t))),changedFilesSet:new Set(W(c.changeFileSet,h)),latestChangedDtsFile:f,emitSignatures:(null==n?void 0:n.size)?n:void 0}}return{getState:()=>u,saveEmitState:xn,restoreEmitState:xn,getProgram:wn,getProgramOrUndefined:Ln,releaseProgram:xn,getCompilerOptions:()=>u.compilerOptions,getSourceFile:wn,getSourceFiles:wn,getOptionsDiagnostics:wn,getGlobalDiagnostics:wn,getConfigFileParsingDiagnostics:wn,getSyntacticDiagnostics:wn,getDeclarationDiagnostics:wn,getSemanticDiagnostics:wn,emit:wn,getAllDependencies:wn,getCurrentDirectory:wn,emitNextAffectedFile:wn,getSemanticDiagnosticsOfNextAffectedFile:wn,emitBuildInfo:wn,close:xn,hasChangedEmitSignature:Sn};function m(e){return bo(e,l)}function h(e){return _[e-1]}function g(e){if(!e)return;const n=jH.createManyToManyPathMap();return e.forEach((([e,t])=>n.set(h(e),p[t-1]))),n}}function SK(e,n,t){const r=co(bo(n,t.getCurrentDirectory())),i=lt(t.useCaseSensitiveFileNames()),a=new Map;let o=0;const s=[];return e.fileInfos.forEach(((n,t)=>{const c=xo(e.fileNames[t],r,i),l=vn(n)?n:n.version;if(a.set(c,l),o<e.root.length){const n=e.root[o],r=t+1;gn(n)?n[0]<=r&&r<=n[1]&&(s.push(c),n[1]===r&&o++):n===r&&(s.push(c),o++)}})),{fileInfos:a,roots:s}}function AK(e,n){return{getState:wn,saveEmitState:xn,restoreEmitState:xn,getProgram:t,getProgramOrUndefined:()=>e().program,releaseProgram:()=>e().program=void 0,getCompilerOptions:()=>e().compilerOptions,getSourceFile:e=>t().getSourceFile(e),getSourceFiles:()=>t().getSourceFiles(),getOptionsDiagnostics:e=>t().getOptionsDiagnostics(e),getGlobalDiagnostics:e=>t().getGlobalDiagnostics(e),getConfigFileParsingDiagnostics:()=>n,getSyntacticDiagnostics:(e,n)=>t().getSyntacticDiagnostics(e,n),getDeclarationDiagnostics:(e,n)=>t().getDeclarationDiagnostics(e,n),getSemanticDiagnostics:(e,n)=>t().getSemanticDiagnostics(e,n),emit:(e,n,r,i,a)=>t().emit(e,n,r,i,a),emitBuildInfo:(e,n)=>t().emitBuildInfo(e,n),getAllDependencies:wn,getCurrentDirectory:()=>t().getCurrentDirectory(),close:xn};function t(){return Nt.checkDefined(e().program)}}var LK=E({"src/compiler/builder.ts"(){Qq(),Qq(),qH=(e=>(e[e.None=0]="None",e[e.Js=1]="Js",e[e.JsMap=2]="JsMap",e[e.JsInlineMap=4]="JsInlineMap",e[e.Dts=8]="Dts",e[e.DtsMap=16]="DtsMap",e[e.AllJs=7]="AllJs",e[e.AllDts=24]="AllDts",e[e.All=31]="All",e))(qH||{}),zH=(e=>(e[e.SemanticDiagnosticsBuilderProgram=0]="SemanticDiagnosticsBuilderProgram",e[e.EmitAndSemanticDiagnosticsBuilderProgram=1]="EmitAndSemanticDiagnosticsBuilderProgram",e))(zH||{})}});function CK(e,n,t,r,i,a){return yK(0,fK(e,n,t,r,i,a))}function kK(e,n,t,r,i,a){return yK(1,fK(e,n,t,r,i,a))}function IK(e,n,t,r,i,a){const{newProgram:o,configFileParsingDiagnostics:s}=fK(e,n,t,r,i,a);return AK((()=>({program:o,compilerOptions:o.getCompilerOptions()})),s)}var wK=E({"src/compiler/builderPublic.ts"(){Qq()}});function RK(e){return et(e,"/node_modules/.staging")?nt(e,"/.staging"):ce(Ea,(n=>rt(e,n)))?void 0:e}function NK(e){const n=so(e);if(e.length===n)return!1;let t=e.indexOf(ja,n);if(-1===t)return!1;let r=e.substring(n,t+1);const i=n>1||47!==e.charCodeAt(0);if(i&&0!==e.search(/[a-zA-Z]:/)&&0===r.search(/[a-zA-Z]\$\//)){if(t=e.indexOf(ja,t+1),-1===t)return!1;r=e.substring(n+r.length,t+1)}if(i&&0!==r.search(/users\//i))return!0;for(let n=t+1,r=2;r>0;r--)if(n=e.indexOf(ja,n)+1,0===n)return!1;return!0}function DK(e,n,t){let r,a,o;const s=un(),c=new Set,l=new Set,d=new Map,u=new Map;let _,p,f,m,h,g=!1;const y=Rn((()=>e.getCurrentDirectory())),v=e.getCachedDirectoryStructureHost(),b=new Map,E=FP(y(),e.getCanonicalFileName,e.getCompilationSettings()),T=new Map,x=GP(y(),e.getCanonicalFileName,e.getCompilationSettings(),E.getPackageJsonInfoCache()),S=[".ts",".tsx",".js",".jsx",".json"],A=new Map,L=new Map,C=new Map,I=n&&So(bo(n,y())),w=I&&e.toPath(I),R=void 0!==w?w.split(ja).length:0,N=new Map;return{getModuleResolutionCache:()=>E,startRecordingFilesWithChangedResolutions:function(){r=[]},finishRecordingFilesWithChangedResolutions:function(){const e=r;return r=void 0,e},startCachingPerDirectoryResolution:function(){E.clearAllExceptPackageJsonInfoCache(),x.clearAllExceptPackageJsonInfoCache(),s.forEach(J),s.clear()},finishCachingPerDirectoryResolution:function(e,n){o=void 0,s.forEach(J),s.clear(),e!==n&&(null==e||e.getSourceFiles().forEach((e=>{var n,t,r;const a=tm(e)&&null!=(t=null==(n=e.packageJsonLocations)?void 0:n.length)?t:0,o=null!=(r=u.get(e.path))?r:i;for(let n=o.length;n<a;n++)z(e.packageJsonLocations[n],!1);if(o.length>a)for(let e=a;e<o.length;e++)C.get(o[e]).files--;a?u.set(e.path,e.packageJsonLocations):u.delete(e.path)})),u.forEach(((n,t)=>{(null==e?void 0:e.getSourceFileByPath(t))||(n.forEach((e=>C.get(e).files--)),u.delete(t))}))),L.forEach(((e,n)=>{0===e.refCount&&(L.delete(n),e.watcher.close())})),C.forEach(((e,n)=>{0===e.files&&0===e.resolutions&&(C.delete(n),e.watcher.close())})),g=!1},resolveModuleNameLiterals:function(e,n,r,i,a,o){return B({entries:e,containingFile:n,containingSourceFile:a,redirectedReference:r,options:i,reusedNames:o,perFileCache:b,loader:G(n,r,i),getResolutionWithResolvedFileName:D,shouldRetryResolution:e=>!e.resolvedModule||!$x(e.resolvedModule.extension),logChanges:t})},resolveTypeReferenceDirectiveReferences:function(n,t,r,i,a,o){var s;return B({entries:n,containingFile:t,containingSourceFile:a,redirectedReference:r,options:i,reusedNames:o,perFileCache:T,loader:TH(t,r,i,(null==(s=e.getCompilerHost)?void 0:s.call(e))||e,x),getResolutionWithResolvedFileName:O,shouldRetryResolution:e=>void 0===e.resolvedTypeReferenceDirective})},resolveSingleModuleNameWithoutWatching:function(n,t){const r=e.toPath(t),i=b.get(r),a=null==i?void 0:i.get(n,void 0);return a&&!a.isInvalidated?a:F(n,t,e.getCompilationSettings())},removeResolutionsFromProjectReferenceRedirects:function(n){if(!to(n,".json"))return;const t=e.getCurrentProgram();if(!t)return;const r=t.getResolvedProjectReferenceByPath(n);r&&r.commandLine.fileNames.forEach((n=>ee(e.toPath(n))))},removeResolutionsOfFile:ee,hasChangedAutomaticTypeDirectiveNames:()=>g,invalidateResolutionOfFile:function(n){ee(n);const t=g;ne(d.get(n),An)&&g&&!t&&e.onChangedAutomaticTypeDirectiveNames()},invalidateResolutionsOfFailedLookupLocations:re,setFilesWithInvalidatedNonRelativeUnresolvedImports:function(e){Nt.assert(o===e||void 0===o),o=e},createHasInvalidatedResolutions:function(e){re();const n=a;return a=void 0,t=>e(t)||!!(null==n?void 0:n.has(t))||P(t)},isFileWithInvalidatedNonRelativeUnresolvedImports:P,updateTypeRootsWatch:function(){const n=e.getCompilationSettings();if(n.types)return void se();const t=bP(n,{directoryExists:de,getCurrentDirectory:y});t?HE(N,nn(t,(n=>e.toPath(n))),{createNewValue:le,onDeleteValue:NE}):se()},closeTypeRootsWatch:se,clear:function(){VE(L,Pj),VE(C,Pj),A.clear(),s.clear(),se(),b.clear(),T.clear(),d.clear(),c.clear(),l.clear(),f=void 0,m=void 0,h=void 0,p=void 0,_=void 0,E.clear(),x.clear(),E.update(e.getCompilationSettings()),x.update(e.getCompilationSettings()),u.clear(),g=!1}};function D(e){return e.resolvedModule}function O(e){return e.resolvedTypeReferenceDirective}function M(e,n){return!(void 0===e||n.length<=e.length)&&pt(n,e)&&n[e.length]===ja}function P(e){if(!o)return!1;const n=o.get(e);return!!n&&!!n.length}function F(n,t,r,i,a){var o;const s=(null==(o=e.getCompilerHost)?void 0:o.call(e))||e,c=UP(n,t,r,s,E,i,a);if(!e.getGlobalCache)return c;const l=e.getGlobalCache();if(!(void 0===l||Zs(n)||c.resolvedModule&&Yx(c.resolvedModule.extension))){const{resolvedModule:t,failedLookupLocations:i,affectingLocations:a,resolutionDiagnostics:o}=DF(Nt.checkDefined(e.globalCacheResolutionModuleName)(n),e.projectName,r,s,l,E);if(t)return c.resolvedModule=t,c.failedLookupLocations=hP(c.failedLookupLocations,i),c.affectingLocations=hP(c.affectingLocations,a),c.resolutionDiagnostics=hP(c.resolutionDiagnostics,o),c}return c}function G(e,n,t){return{nameAndMode:Wj,resolve:(r,i)=>F(r,e,t,n,i)}}function B({entries:n,containingFile:t,containingSourceFile:i,redirectedReference:a,options:o,perFileCache:s,reusedNames:c,loader:l,getResolutionWithResolvedFileName:d,shouldRetryResolution:u,logChanges:_}){var p;const f=e.toPath(t),m=s.get(f)||s.set(f,NP()).get(f),h=[],g=_&&P(f),y=e.getCurrentProgram(),v=y&&y.getResolvedProjectReferenceToRedirect(t),E=v?!a||a.sourceFile.path!==v.sourceFile.path:!!a,T=NP();for(const a of n){const n=l.nameAndMode.getName(a),c=l.nameAndMode.getMode(a,i);let y=m.get(n,c);if(!T.has(n,c)&&E||!y||y.isInvalidated||g&&!Zs(n)&&u(y)){const t=y;y=l.resolve(n,c),e.onDiscoveredSymlink&&OK(y)&&e.onDiscoveredSymlink(),m.set(n,c,y),K(n,y,f,d),t&&Y(t,f,d),_&&r&&!x(t,y)&&(r.push(f),_=!1)}else{const r=(null==(p=e.getCompilerHost)?void 0:p.call(e))||e;if(sP(o,r)&&!T.has(n,c)){const e=d(y);oP(r,s===b?(null==e?void 0:e.resolvedFileName)?e.packageId?Vo.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:Vo.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:Vo.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved:(null==e?void 0:e.resolvedFileName)?e.packageId?Vo.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:Vo.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2:Vo.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved,n,t,null==e?void 0:e.resolvedFileName,(null==e?void 0:e.packageId)&&Ap(e.packageId))}}Nt.assert(void 0!==y&&!y.isInvalidated),T.set(n,c,!0),h.push(y)}return null==c||c.forEach((e=>T.set(l.nameAndMode.getName(e),l.nameAndMode.getMode(e,i),!0))),m.size()!==T.size()&&m.forEach(((e,n,t)=>{T.has(n,t)||(Y(e,f,d),m.delete(n,t))})),h;function x(e,n){if(e===n)return!0;if(!e||!n)return!1;const t=d(e),r=d(n);return t===r||!(!t||!r)&&t.resolvedFileName===r.resolvedFileName}}function U(e){return et(e,"/node_modules/@types")}function V(e,n){if(M(w,n)){e=Ya(e)?Eo(e):bo(e,y());const t=n.split(ja),r=e.split(ja);return Nt.assert(r.length===t.length,`FailedLookup: ${e} failedLookupLocationPath: ${n}`),t.length>R+1?{dir:r.slice(0,R+1).join(ja),dirPath:t.slice(0,R+1).join(ja)}:{dir:I,dirPath:w,nonRecursive:!1}}return j(co(bo(e,y())),co(n))}function j(e,n){for(;XP(n);)e=co(e),n=co(n);if(Uo(n))return NK(co(n))?{dir:e,dirPath:n}:void 0;let t,r,i=!0;if(void 0!==w)for(;!M(n,w);){const a=co(n);if(a===n)break;i=!1,t=n,r=e,n=a,e=co(e)}return NK(n)?{dir:r||e,dirPath:t||n,nonRecursive:i}:void 0}function H(e){return ro(e,S)}function K(n,t,r,i){var a,o;if(t.refCount)t.refCount++,Nt.assertIsDefined(t.files);else{t.refCount=1,Nt.assert(!(null==(a=t.files)?void 0:a.size)),Zs(n)?W(t):s.add(n,t);const r=i(t);if(r&&r.resolvedFileName){const n=e.toPath(r.resolvedFileName);let i=d.get(n);i||d.set(n,i=new Set),i.add(t)}}(null!=(o=t.files)?o:t.files=new Set).add(r)}function W(n){Nt.assert(!!n.refCount);const{failedLookupLocations:t,affectingLocations:r}=n;if(!(null==t?void 0:t.length)&&!(null==r?void 0:r.length))return;(null==t?void 0:t.length)&&c.add(n);let i=!1;if(t){for(const n of t){const t=e.toPath(n),r=V(n,t);if(r){const{dir:e,dirPath:n,nonRecursive:a}=r;if(!H(t)){const e=A.get(t)||0;A.set(t,e+1)}n===w?(Nt.assert(!a),i=!0):X(e,n,a)}}i&&X(I,w,!0)}q(n,!(null==t?void 0:t.length))}function q(e,n){Nt.assert(!!e.refCount);const{affectingLocations:t}=e;if(null==t?void 0:t.length){n&&l.add(e);for(const e of t)z(e,!0)}}function z(n,t){const r=C.get(n);if(r)return void(t?r.resolutions++:r.files++);let i=n;if(e.realpath&&(i=e.realpath(n),n!==i)){const e=C.get(i);if(e)return t?e.resolutions++:e.files++,e.paths.add(n),void C.set(n,e)}const a=new Set;a.add(i);let o=NK(e.toPath(i))?e.watchAffectingFileLocation(i,((n,t)=>{null==v||v.addOrDeleteFile(n,e.toPath(i),t);const r=E.getPackageJsonInfoCache().getInternalMap();a.forEach((n=>{s.resolutions&&(null!=p?p:p=new Set).add(n),s.files&&(null!=_?_:_=new Set).add(n),null==r||r.delete(e.toPath(n))})),e.scheduleInvalidateResolutionsOfFailedLookupLocations()})):FK;const s={watcher:o!==FK?{close:()=>{o.close(),o=FK}}:o,resolutions:t?1:0,files:t?0:1,paths:a};C.set(i,s),n!==i&&(C.set(n,s),a.add(n))}function J(n,t){const r=e.getCurrentProgram();r&&r.getTypeChecker().tryFindAmbientModuleWithoutAugmentations(t)?n.forEach((e=>q(e,!0))):n.forEach(W)}function X(e,n,t){const r=L.get(n);r?(Nt.assert(!!t==!!r.nonRecursive),r.refCount++):L.set(n,{watcher:Q(e,n,t),refCount:1,nonRecursive:t})}function Y(n,t,r){if(Nt.checkDefined(n.files).delete(t),n.refCount--,n.refCount)return;const i=r(n);if(i&&i.resolvedFileName){const t=e.toPath(i.resolvedFileName),r=d.get(t);(null==r?void 0:r.delete(n))&&!r.size&&d.delete(t)}const{failedLookupLocations:a,affectingLocations:o}=n;if(c.delete(n)){let n=!1;for(const t of a){const r=e.toPath(t),i=V(t,r);if(i){const{dirPath:e}=i,t=A.get(r);t&&(1===t?A.delete(r):(Nt.assert(t>1),A.set(r,t-1))),e===w?n=!0:$(e)}}n&&$(w)}else(null==o?void 0:o.length)&&l.delete(n);if(o)for(const e of o)C.get(e).resolutions--}function $(e){L.get(e).refCount--}function Q(n,t,r){return e.watchDirectoryOfFailedLookupLocation(n,(n=>{const r=e.toPath(n);v&&v.addOrDeleteFileOrDirectory(n,r),te(r,t===r)}),r?0:1)}function Z(e,n,t){const r=e.get(n);r&&(r.forEach((e=>Y(e,n,t))),e.delete(n))}function ee(e){Z(b,e,D),Z(T,e,O)}function ne(e,n){if(!e)return!1;let t=!1;return e.forEach((e=>{if(!e.isInvalidated&&n(e)){e.isInvalidated=t=!0;for(const n of Nt.checkDefined(e.files))(null!=a?a:a=new Set).add(n),g=g||et(n,zj)}})),t}function te(n,t){if(t)(h||(h=new Set)).add(n);else{const t=RK(n);if(!t)return!1;if(n=t,e.fileIsOpen(n))return!1;const r=co(n);if(U(n)||Uo(n)||U(r)||Uo(r))(f||(f=new Set)).add(n),(m||(m=new Set)).add(n);else{if(!H(n)&&!A.has(n))return!1;if(Dj(e.getCurrentProgram(),n))return!1;(f||(f=new Set)).add(n);const t=YP(n);t&&(m||(m=new Set)).add(t)}}e.scheduleInvalidateResolutionsOfFailedLookupLocations()}function re(){var n;let t=!1;if(_&&(null==(n=e.getCurrentProgram())||n.getSourceFiles().forEach((e=>{ce(e.packageJsonLocations,(e=>_.has(e)))&&((null!=a?a:a=new Set).add(e.path),t=!0)})),_=void 0),!(f||m||h||p))return t;t=ne(c,ie)||t;const r=E.getPackageJsonInfoCache().getInternalMap();return r&&(f||m||h)&&r.forEach(((e,n)=>ae(n)?r.delete(n):void 0)),f=void 0,m=void 0,h=void 0,t=ne(l,oe)||t,p=void 0,t}function ie(n){var t;return!!oe(n)||!!(f||m||h)&&(null==(t=n.failedLookupLocations)?void 0:t.some((n=>ae(e.toPath(n)))))}function ae(e){return(null==f?void 0:f.has(e))||k((null==m?void 0:m.keys())||[],(n=>!!pt(e,n)||void 0))||k((null==h?void 0:h.keys())||[],(n=>!!M(n,e)||void 0))}function oe(e){var n;return!!p&&(null==(n=e.affectingLocations)?void 0:n.some((e=>p.has(e))))}function se(){VE(N,NE)}function le(n,t){return e.watchTypeRootsDirectory(t,(r=>{const i=e.toPath(r);v&&v.addOrDeleteFileOrDirectory(r,i),g=!0,e.onChangedAutomaticTypeDirectiveNames();const a=function(e,n){if(M(w,n))return w;const t=j(e,n);return t&&L.has(t.dirPath)?t.dirPath:void 0}(t,n);a&&te(i,a===i)}),1)}function de(n){const t=co(co(n)),r=e.toPath(t);return r===w||NK(r)}}function OK(e){var n,t;return!(!(null==(n=e.resolvedModule)?void 0:n.originalPath)&&!(null==(t=e.resolvedTypeReferenceDirective)?void 0:t.originalPath))}var MK,PK,FK,GK,BK,UK=E({"src/compiler/resolutionCache.ts"(){Qq(),Qq()}});function VK(e,n){const t=e===Sa&&MK?MK:{getCurrentDirectory:()=>e.getCurrentDirectory(),getNewLine:()=>e.newLine,getCanonicalFileName:lt(e.useCaseSensitiveFileNames)};if(!n)return n=>e.write(sH(n,t));const r=new Array(1);return n=>{r[0]=n,e.write(_H(r,t)+t.getNewLine()),r[0]=void 0}}function jK(e,n,t){return!(!e.clearScreen||t.preserveWatchOutput||t.extendedDiagnostics||t.diagnostics||!G(PK,n.code)||(e.clearScreen(),0))}function HK(e){return e.now?e.now().toLocaleTimeString("en-US",{timeZone:"UTC"}).replace(""," "):(new Date).toLocaleTimeString()}function KK(e,n){return n?(n,t,r)=>{jK(e,n,r);let i=`[${lH(HK(e),"")}] `;i+=`${pH(n.messageText,e.newLine)}${t+t}`,e.write(i)}:(n,t,r)=>{let i="";jK(e,n,r)||(i+=t),i+=`${HK(e)} - `,i+=`${pH(n.messageText,e.newLine)}${function(e,n){return G(PK,e.code)?n+n:n}(n,t)}`,e.write(i)}}function WK(e,n,t,r,i,a){const o=i;o.onUnRecoverableConfigFileDiagnostic=e=>fW(i,a,e);const s=jO(e,n,o,t,r);return o.onUnRecoverableConfigFileDiagnostic=void 0,s}function qK(e){return V(e,(e=>1===e.category))}function zK(e){return j(e,(e=>1===e.category)).map((e=>{if(void 0!==e.file)return`${e.file.fileName}`})).map((n=>{if(void 0===n)return;const t=D(e,(e=>void 0!==e.file&&e.file.fileName===n));if(void 0!==t){const{line:e}=bs(t.file,t.start);return{fileName:n,line:e+1}}}))}function JK(e){return 1===e?Vo.Found_1_error_Watching_for_file_changes:Vo.Found_0_errors_Watching_for_file_changes}function XK(e,n){const t=lH(":"+e.line,"");return Qa(e.fileName)&&Qa(n)?Mo(n,e.fileName,!1)+t:e.fileName+t}function YK(e,n,t,r){if(0===e)return"";const i=n.filter((e=>void 0!==e)),a=i.map((e=>`${e.fileName}:${e.line}`)).filter(((e,n,t)=>t.indexOf(e)===n)),o=i[0]&&XK(i[0],r.getCurrentDirectory()),s=1===e?LT(void 0!==n[0]?Vo.Found_1_error_in_1:Vo.Found_1_error,e,o):LT(0===a.length?Vo.Found_0_errors:1===a.length?Vo.Found_0_errors_in_the_same_file_starting_at_Colon_1:Vo.Found_0_errors_in_1_files,e,1===a.length?o:a.length),c=a.length>1?function(e,n){const t=e.filter(((e,n,t)=>n===t.findIndex((n=>(null==n?void 0:n.fileName)===(null==e?void 0:e.fileName)))));if(0===t.length)return"";const r=e=>Math.log(e)*Math.LOG10E+1,i=t.map((n=>[n,V(e,(e=>e.fileName===n.fileName))])),a=i.reduce(((e,n)=>Math.max(e,n[1]||0)),0),o=Vo.Errors_Files.message,s=o.split(" ")[0].length,c=Math.max(s,r(a)),l=Math.max(r(a)-s,0);let d="";return d+=" ".repeat(l)+o+"\n",i.forEach((e=>{const[t,r]=e,i=Math.log(r)*Math.LOG10E+1|0,a=i<c?" ".repeat(c-i):"",o=XK(t,n.getCurrentDirectory());d+=`${a}${r} ${o}\n`})),d}(i,r):"";return`${t}${pH(s.messageText,t)}${t}${t}${c}`}function $K(e){return!!e.getState}function QK(e,n){const t=e.getCompilerOptions();t.explainFiles?ZK($K(e)?e.getProgram():e,n):(t.listFiles||t.listFilesOnly)&&A(e.getSourceFiles(),(e=>{n(e.fileName)}))}function ZK(e,n){var t,r;const i=e.getFileIncludeReasons(),a=n=>Po(n,e.getCurrentDirectory(),e.getCanonicalFileName);for(const o of e.getSourceFiles())n(`${iW(o,a)}`),null==(t=i.get(o.path))||t.forEach((t=>n(` ${rW(e,t,a).messageText}`))),null==(r=eW(o,a))||r.forEach((e=>n(` ${e.messageText}`)))}function eW(e,n){var t;let r;if(e.path!==e.resolvedPath&&(null!=r?r:r=[]).push(kT(void 0,Vo.File_is_output_of_project_reference_source_0,iW(e.originalFileName,n))),e.redirectInfo&&(null!=r?r:r=[]).push(kT(void 0,Vo.File_redirects_to_file_0,iW(e.redirectInfo.redirectTarget,n))),tm(e))switch(e.impliedNodeFormat){case 99:e.packageJsonScope&&(null!=r?r:r=[]).push(kT(void 0,Vo.File_is_ECMAScript_module_because_0_has_field_type_with_value_module,iW(Ge(e.packageJsonLocations),n)));break;case 1:e.packageJsonScope?(null!=r?r:r=[]).push(kT(void 0,e.packageJsonScope.contents.packageJsonContent.type?Vo.File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module:Vo.File_is_CommonJS_module_because_0_does_not_have_field_type,iW(Ge(e.packageJsonLocations),n))):(null==(t=e.packageJsonLocations)?void 0:t.length)&&(null!=r?r:r=[]).push(kT(void 0,Vo.File_is_CommonJS_module_because_package_json_was_not_found))}return r}function nW(e,n){var t;const r=e.getCompilerOptions().configFile;if(!(null==(t=null==r?void 0:r.configFileSpecs)?void 0:t.validatedFilesSpec))return;const i=e.getCanonicalFileName(n),a=co(bo(r.fileName,e.getCurrentDirectory()));return D(r.configFileSpecs.validatedFilesSpec,(n=>e.getCanonicalFileName(bo(n,a))===i))}function tW(e,n){var t,r;const i=e.getCompilerOptions().configFile;if(!(null==(t=null==i?void 0:i.configFileSpecs)?void 0:t.validatedIncludeSpecs))return;if(i.configFileSpecs.isDefaultIncludeSpec)return!0;const a=to(n,".json"),o=co(bo(i.fileName,e.getCurrentDirectory())),s=e.useCaseSensitiveFileNames();return D(null==(r=null==i?void 0:i.configFileSpecs)?void 0:r.validatedIncludeSpecs,(e=>{if(a&&!et(e,".json"))return!1;const t=Sx(e,o,"files");return!!t&&kx(`(${t})$`,s).test(n)}))}function rW(e,n,t){var r,i;const a=e.getCompilerOptions();if(LH(n)){const r=kH((n=>e.getSourceFileByPath(n)),n),i=CH(r)?r.file.text.substring(r.pos,r.end):`"${r.text}"`;let a;switch(Nt.assert(CH(r)||3===n.kind,"Only synthetic references are imports"),n.kind){case 3:a=CH(r)?r.packageId?Vo.Imported_via_0_from_file_1_with_packageId_2:Vo.Imported_via_0_from_file_1:r.text===s_?r.packageId?Vo.Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions:Vo.Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions:r.packageId?Vo.Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions:Vo.Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions;break;case 4:Nt.assert(!r.packageId),a=Vo.Referenced_via_0_from_file_1;break;case 5:a=r.packageId?Vo.Type_library_referenced_via_0_from_file_1_with_packageId_2:Vo.Type_library_referenced_via_0_from_file_1;break;case 7:Nt.assert(!r.packageId),a=Vo.Library_referenced_via_0_from_file_1;break;default:Nt.assertNever(n)}return kT(void 0,a,i,iW(r.file,t),r.packageId&&Ap(r.packageId))}switch(n.kind){case 0:if(!(null==(r=a.configFile)?void 0:r.configFileSpecs))return kT(void 0,Vo.Root_file_specified_for_compilation);const o=bo(e.getRootFileNames()[n.index],e.getCurrentDirectory());if(nW(e,o))return kT(void 0,Vo.Part_of_files_list_in_tsconfig_json);const s=tW(e,o);return vn(s)?kT(void 0,Vo.Matched_by_include_pattern_0_in_1,s,iW(a.configFile,t)):kT(void 0,s?Vo.Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk:Vo.Root_file_specified_for_compilation);case 1:case 2:const c=2===n.kind,l=Nt.checkDefined(null==(i=e.getResolvedProjectReferences())?void 0:i[n.index]);return kT(void 0,kv(a)?c?Vo.Output_from_referenced_project_0_included_because_1_specified:Vo.Source_from_referenced_project_0_included_because_1_specified:c?Vo.Output_from_referenced_project_0_included_because_module_is_specified_as_none:Vo.Source_from_referenced_project_0_included_because_module_is_specified_as_none,iW(l.sourceFile.fileName,t),a.outFile?"--outFile":"--out");case 8:return kT(void 0,a.types?n.packageId?Vo.Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1:Vo.Entry_point_of_type_library_0_specified_in_compilerOptions:n.packageId?Vo.Entry_point_for_implicit_type_library_0_with_packageId_1:Vo.Entry_point_for_implicit_type_library_0,n.typeReference,n.packageId&&Ap(n.packageId));case 6:if(void 0!==n.index)return kT(void 0,Vo.Library_0_specified_in_compilerOptions,a.lib[n.index]);const d=pp(zD.type,((e,n)=>e===BT(a)?n:void 0));return kT(void 0,d?Vo.Default_library_for_target_0:Vo.Default_library,d);default:Nt.assertNever(n)}}function iW(e,n){const t=vn(e)?e:e.fileName;return n?n(t):t}function aW(e,n,t,r,a,o,s,c){const l=!!e.getCompilerOptions().listFilesOnly,d=e.getConfigFileParsingDiagnostics().slice(),u=d.length;Ae(d,e.getSyntacticDiagnostics(void 0,o)),d.length===u&&(Ae(d,e.getOptionsDiagnostics(o)),l||(Ae(d,e.getGlobalDiagnostics(o)),d.length===u&&Ae(d,e.getSemanticDiagnostics(void 0,o))));const _=l?{emitSkipped:!0,diagnostics:i}:e.emit(void 0,a,o,s,c),{emittedFiles:p,diagnostics:f}=_;Ae(d,f);const m=ec(d);if(m.forEach(n),t){const n=e.getCurrentDirectory();A(p,(e=>{const r=bo(e,n);t(`TSFILE: ${r}`)})),QK(e,t)}return r&&r(qK(m),zK(m)),{emitResult:_,diagnostics:m}}function oW(e,n,t,r,i,a,o,s){const{emitResult:c,diagnostics:l}=aW(e,n,t,r,i,a,o,s);return c.emitSkipped&&l.length>0?1:l.length>0?2:0}function sW(e=Sa,n){return{onWatchStatusChange:n||KK(e),watchFile:dn(e,e.watchFile)||GK,watchDirectory:dn(e,e.watchDirectory)||GK,setTimeout:dn(e,e.setTimeout)||xn,clearTimeout:dn(e,e.clearTimeout)||xn}}function cW(e,n){const t=e.trace?n.extendedDiagnostics?2:n.diagnostics?1:0:0,r=0!==t?n=>e.trace(n):xn,i=Oj(e,t,r);return i.writeLog=r,i}function lW(e,n,t=e){const r=e.useCaseSensitiveFileNames(),i={getSourceFile:nH(((n,t)=>t?e.readFile(n,t):i.readFile(n)),n,void 0),getDefaultLibLocation:dn(e,e.getDefaultLibLocation),getDefaultLibFileName:n=>e.getDefaultLibFileName(n),writeFile:tH(((n,t,r)=>e.writeFile(n,t,r)),(n=>e.createDirectory(n)),(n=>e.directoryExists(n))),getCurrentDirectory:Rn((()=>e.getCurrentDirectory())),useCaseSensitiveFileNames:()=>r,getCanonicalFileName:lt(r),getNewLine:()=>cE(n()),fileExists:n=>e.fileExists(n),readFile:n=>e.readFile(n),trace:dn(e,e.trace),directoryExists:dn(t,t.directoryExists),getDirectories:dn(t,t.getDirectories),realpath:dn(e,e.realpath),getEnvironmentVariable:dn(e,e.getEnvironmentVariable)||(()=>""),createHash:dn(e,e.createHash),readDirectory:dn(e,e.readDirectory),storeFilesChangingSignatureDuringEmit:e.storeFilesChangingSignatureDuringEmit};return i}function dW(e,n){if(n.match(fB)){let e=n.length,t=e;for(let r=e-1;r>=0;r--){const i=n.charCodeAt(r);switch(i){case 10:r&&13===n.charCodeAt(r-1)&&r--;case 13:break;default:if(i<127||!xs(i)){t=r;continue}}const a=n.substring(t,e);if(a.match(mB)){n=n.substring(0,t);break}if(!a.match(hB))break;e=t}}return(e.createHash||La)(n)}function uW(e){const n=e.getSourceFile;e.getSourceFile=(...t)=>{const r=n.call(e,...t);return r&&(r.version=dW(e,r.text)),r}}function _W(e,n){const t=Rn((()=>co(Eo(e.getExecutingFilePath()))));return{useCaseSensitiveFileNames:()=>e.useCaseSensitiveFileNames,getNewLine:()=>e.newLine,getCurrentDirectory:Rn((()=>e.getCurrentDirectory())),getDefaultLibLocation:t,getDefaultLibFileName:e=>go(t(),nc(e)),fileExists:n=>e.fileExists(n),readFile:(n,t)=>e.readFile(n,t),directoryExists:n=>e.directoryExists(n),getDirectories:n=>e.getDirectories(n),readDirectory:(n,t,r,i,a)=>e.readDirectory(n,t,r,i,a),realpath:dn(e,e.realpath),getEnvironmentVariable:dn(e,e.getEnvironmentVariable),trace:n=>e.write(n+e.newLine),createDirectory:n=>e.createDirectory(n),writeFile:(n,t,r)=>e.writeFile(n,t,r),createHash:dn(e,e.createHash),createProgram:n||kK,storeFilesChangingSignatureDuringEmit:e.storeFilesChangingSignatureDuringEmit,now:dn(e,e.now)}}function pW(e=Sa,n,t,r){const i=n=>e.write(n+e.newLine),a=_W(e,n);return ln(a,sW(e,r)),a.afterProgramCreate=e=>{const n=e.getCompilerOptions(),r=cE(n);aW(e,t,i,(e=>a.onWatchStatusChange(LT(JK(e),e),r,n,e)))},a}function fW(e,n,t){n(t),e.exit(1)}function mW({configFileName:e,optionsToExtend:n,watchOptionsToExtend:t,extraFileExtensions:r,system:i,createProgram:a,reportDiagnostic:o,reportWatchStatus:s}){const c=o||VK(i),l=pW(i,a,c,s);return l.onUnRecoverableConfigFileDiagnostic=e=>fW(i,c,e),l.configFileName=e,l.optionsToExtend=n,l.watchOptionsToExtend=t,l.extraFileExtensions=r,l}function hW({rootFiles:e,options:n,watchOptions:t,projectReferences:r,system:i,createProgram:a,reportDiagnostic:o,reportWatchStatus:s}){const c=pW(i,a,o||VK(i),s);return c.rootFiles=e,c.options=n,c.watchOptions=t,c.projectReferences=r,c}function gW(e){const n=e.system||Sa,t=e.host||(e.host=bW(e.options,n)),r=EW(e),i=oW(r,e.reportDiagnostic||VK(n),(e=>t.trace&&t.trace(e)),e.reportErrorSummary||e.options.pretty?(e,r)=>n.write(YK(e,r,n.newLine,t)):void 0);return e.afterProgramEmitAndDiagnostics&&e.afterProgramEmitAndDiagnostics(r),i}var yW=E({"src/compiler/watch.ts"(){Qq(),MK=Sa?{getCurrentDirectory:()=>Sa.getCurrentDirectory(),getNewLine:()=>Sa.newLine,getCanonicalFileName:lt(Sa.useCaseSensitiveFileNames)}:void 0,PK=[Vo.Starting_compilation_in_watch_mode.code,Vo.File_change_detected_Starting_incremental_compilation.code],FK={close:xn},GK=()=>FK,BK={ConfigFile:"Config file",ExtendedConfigFile:"Extended config file",SourceFile:"Source file",MissingFile:"Missing file",WildcardDirectory:"Wild card directory",FailedLookupLocations:"Failed Lookup Locations",AffectingFileLocation:"File location affecting resolution",TypeRoots:"Type roots",ConfigFileOfReferencedProject:"Config file of referened project",ExtendedConfigOfReferencedProject:"Extended config file of referenced project",WildcardDirectoryOfReferencedProject:"Wild card directory of referenced project",PackageJson:"package.json file",ClosedScriptInfo:"Closed Script info",ConfigFileForInferredRoot:"Config file for the inferred project root",NodeModules:"node_modules for closed script infos and package.jsons affecting module specifier cache",MissingSourceMapFile:"Missing source map file",NoopConfigFileForInferredRoot:"Noop Config file for the inferred project root",MissingGeneratedFile:"Missing generated file",NodeModulesForModuleSpecifierCache:"node_modules for module specifier cache invalidation"}}});function vW(e,n){const r=$V(e);if(!r)return;let i;if(n.getBuildInfo)i=n.getBuildInfo(r,e.configFilePath);else{const e=n.readFile(r);if(!e)return;i=hj(r,e)}return i&&i.version===t&&i.program?xK(i,r,n):void 0}function bW(e,n=Sa){const t=rH(e,void 0,n);return t.createHash=dn(n,n.createHash),t.storeFilesChangingSignatureDuringEmit=n.storeFilesChangingSignatureDuringEmit,uW(t),iH(t,(e=>xo(e,t.getCurrentDirectory(),t.getCanonicalFileName))),t}function EW({rootNames:e,options:n,configFileParsingDiagnostics:t,projectReferences:r,host:i,createProgram:a}){return(a=a||kK)(e,n,i=i||bW(n),vW(n,i),t,r)}function TW(e,n,t,r,i,a,o,s){return gn(e)?hW({rootFiles:e,options:n,watchOptions:s,projectReferences:o,system:t,createProgram:r,reportDiagnostic:i,reportWatchStatus:a}):mW({configFileName:e,optionsToExtend:n,watchOptionsToExtend:o,extraFileExtensions:s,system:t,createProgram:r,reportDiagnostic:i,reportWatchStatus:a})}function xW(e){let n,t,r,i,a,o,s,c,l=e.extendedConfigCache,d=!1;const u=new Map;let _,p=!1;const f=e.useCaseSensitiveFileNames(),m=e.getCurrentDirectory(),{configFileName:h,optionsToExtend:g={},watchOptionsToExtend:y,extraFileExtensions:v,createProgram:b}=e;let E,T,{rootFiles:x,options:S,watchOptions:A,projectReferences:L}=e,C=!1,k=!1;const I=void 0===h?void 0:Aj(e,m,f),w=I||e,R=PH(e,w);let N=q();h&&e.configFileParsingResult&&(ae(e.configFileParsingResult),N=q()),$(Vo.Starting_compilation_in_watch_mode),h&&!e.configFileParsingResult&&(N=cE(g),Nt.assert(!x),ie(),N=q()),Nt.assert(S),Nt.assert(x);const{watchFile:D,watchDirectory:O,writeLog:M}=cW(e,S),P=lt(f);let F;M(`Current directory: ${m} CaseSensitiveFileNames: ${f}`),h&&(F=D(h,(function(){Nt.assert(!!h),t=2,ne()}),2e3,A,BK.ConfigFile));const G=lW(e,(()=>S),w);uW(G);const B=G.getSourceFile;G.getSourceFile=(e,...n)=>X(e,z(e),...n),G.getSourceFileByPath=X,G.getNewLine=()=>N,G.fileExists=function(e){const n=z(e);return!J(u.get(n))&&w.fileExists(e)},G.onReleaseOldSourceFile=function(e,n,t){const r=u.get(e.resolvedPath);void 0!==r&&(J(r)?(_||(_=[])).push(e.path):r.sourceFile===e&&(r.fileWatcher&&r.fileWatcher.close(),u.delete(e.resolvedPath),t||U.removeResolutionsOfFile(e.path)))},G.onReleaseParsedCommandLine=function(e){var n;const t=z(e),r=null==s?void 0:s.get(t);r&&(s.delete(t),r.watchedDirectories&&VE(r.watchedDirectories,Pj),null==(n=r.watcher)||n.close(),Cj(t,c))},G.toPath=z,G.getCompilationSettings=()=>S,G.useSourceOfProjectReferenceRedirect=dn(e,e.useSourceOfProjectReferenceRedirect),G.watchDirectoryOfFailedLookupLocation=(e,n,t)=>O(e,n,t,A,BK.FailedLookupLocations),G.watchAffectingFileLocation=(e,n)=>D(e,n,2e3,A,BK.AffectingFileLocation),G.watchTypeRootsDirectory=(e,n,t)=>O(e,n,t,A,BK.TypeRoots),G.getCachedDirectoryStructureHost=()=>I,G.scheduleInvalidateResolutionsOfFailedLookupLocations=function(){if(!e.setTimeout||!e.clearTimeout)return U.invalidateResolutionsOfFailedLookupLocations();const n=Z();M("Scheduling invalidateFailedLookup"+(n?", Cancelled earlier one":"")),o=e.setTimeout(ee,250)},G.onInvalidatedResolution=ne,G.onChangedAutomaticTypeDirectiveNames=ne,G.fileIsOpen=Sn,G.getCurrentProgram=K,G.writeLog=M,G.getParsedCommandLine=oe;const U=DK(G,h?co(bo(h,m)):m,!1);G.resolveModuleNameLiterals=dn(e,e.resolveModuleNameLiterals),G.resolveModuleNames=dn(e,e.resolveModuleNames),G.resolveModuleNameLiterals||G.resolveModuleNames||(G.resolveModuleNameLiterals=U.resolveModuleNameLiterals.bind(U)),G.resolveTypeReferenceDirectiveReferences=dn(e,e.resolveTypeReferenceDirectiveReferences),G.resolveTypeReferenceDirectives=dn(e,e.resolveTypeReferenceDirectives),G.resolveTypeReferenceDirectiveReferences||G.resolveTypeReferenceDirectives||(G.resolveTypeReferenceDirectiveReferences=U.resolveTypeReferenceDirectiveReferences.bind(U)),G.getModuleResolutionCache=e.resolveModuleNameLiterals||e.resolveModuleNames?dn(e,e.getModuleResolutionCache):()=>U.getModuleResolutionCache();const V=e.resolveModuleNameLiterals||e.resolveTypeReferenceDirectiveReferences||e.resolveModuleNames||e.resolveTypeReferenceDirectives?dn(e,e.hasInvalidatedResolutions)||An:Sn;return n=vW(S,G),W(),_e(),h&&fe(z(h),S,A,BK.ExtendedConfigFile),h?{getCurrentProgram:H,getProgram:re,close:j}:{getCurrentProgram:H,getProgram:re,updateRootFileNames:function(e){Nt.assert(!h,"Cannot update root file names with config file watch mode"),x=e,ne()},close:j};function j(){Z(),U.clear(),VE(u,(e=>{e&&e.fileWatcher&&(e.fileWatcher.close(),e.fileWatcher=void 0)})),F&&(F.close(),F=void 0),null==l||l.clear(),l=void 0,c&&(VE(c,Pj),c=void 0),i&&(VE(i,Pj),i=void 0),r&&(VE(r,NE),r=void 0),s&&(VE(s,(e=>{var n;null==(n=e.watcher)||n.close(),e.watcher=void 0,e.watchedDirectories&&VE(e.watchedDirectories,Pj),e.watchedDirectories=void 0})),s=void 0)}function H(){return n}function K(){return n&&n.getProgramOrUndefined()}function W(){M("Synchronizing program"),Nt.assert(S),Nt.assert(x),Z();const t=H();p&&(N=q(),t&&cp(t.getCompilerOptions(),S)&&U.clear());const i=U.createHasInvalidatedResolutions(V),{originalReadFile:a,originalFileExists:o,originalDirectoryExists:s,originalCreateDirectory:c,originalWriteFile:l,readFileWithCache:f}=iH(G,z);return IH(K(),x,S,(e=>function(e,n){const t=u.get(e);if(!t)return;if(t.version)return t.version;const r=n(e);return void 0!==r?dW(G,r):void 0}(e,f)),(e=>G.fileExists(e)),i,Q,oe,L)?k&&(d&&$(Vo.File_change_detected_Starting_incremental_compilation),n=b(void 0,void 0,G,n,T,L),k=!1):(d&&$(Vo.File_change_detected_Starting_incremental_compilation),function(e){M("CreatingProgramWith::"),M(` roots: ${JSON.stringify(x)}`),M(` options: ${JSON.stringify(S)}`),L&&M(` projectReferences: ${JSON.stringify(L)}`);const t=p||!K();p=!1,k=!1,U.startCachingPerDirectoryResolution(),G.hasInvalidatedResolutions=e,G.hasChangedAutomaticTypeDirectiveNames=Q;const i=K();if(n=b(x,S,G,n,T,L),U.finishCachingPerDirectoryResolution(n.getProgram(),i),wj(n.getProgram(),r||(r=new Map),de),t&&U.updateTypeRootsWatch(),_){for(const e of _)r.has(e)||u.delete(e);_=void 0}}(i)),d=!1,e.afterProgramCreate&&t!==n&&e.afterProgramCreate(n),G.readFile=a,G.fileExists=o,G.directoryExists=s,G.createDirectory=c,G.writeFile=l,n}function q(){return cE(S||g)}function z(e){return xo(e,m,P)}function J(e){return"boolean"==typeof e}function X(e,n,t,r,i){const a=u.get(n);if(!J(a)){if(void 0===a||i||function(e){return"boolean"==typeof e.version}(a)){const i=B(e,t,r);if(a)i?(a.sourceFile=i,a.version=i.version,a.fileWatcher||(a.fileWatcher=se(n,e,ce,250,A,BK.SourceFile))):(a.fileWatcher&&a.fileWatcher.close(),u.set(n,!1));else if(i){const t=se(n,e,ce,250,A,BK.SourceFile);u.set(n,{sourceFile:i,version:i.version,fileWatcher:t})}else u.set(n,!1);return i}return a.sourceFile}}function Y(e){const n=u.get(e);void 0!==n&&(J(n)?u.set(e,{version:!1}):n.version=!1)}function $(n){e.onWatchStatusChange&&e.onWatchStatusChange(LT(n),N,S||g)}function Q(){return U.hasChangedAutomaticTypeDirectiveNames()}function Z(){return!!o&&(e.clearTimeout(o),o=void 0,!0)}function ee(){o=void 0,U.invalidateResolutionsOfFailedLookupLocations()&&ne()}function ne(){e.setTimeout&&e.clearTimeout&&(a&&e.clearTimeout(a),M("Scheduling update"),a=e.setTimeout(te,250))}function te(){a=void 0,d=!0,re()}function re(){switch(t){case 1:mr.logStartUpdateProgram("PartialConfigReload"),M("Reloading new file names and options"),Nt.assert(S),Nt.assert(h),t=0,x=UM(S.configFile.configFileSpecs,bo(co(h),m),S,R,v),SM(x,bo(h,m),S.configFile.configFileSpecs,T,C)&&(k=!0),W();break;case 2:mr.logStartUpdateProgram("FullConfigReload"),Nt.assert(h),M(`Reloading config file: ${h}`),t=0,I&&I.clearCache(),ie(),p=!0,W(),_e(),fe(z(h),S,A,BK.ExtendedConfigFile);break;default:mr.logStartUpdateProgram("SynchronizeProgram"),W()}return mr.logStopUpdateProgram("Done"),H()}function ie(){Nt.assert(h),ae(jO(h,g,R,l||(l=new Map),y,v))}function ae(e){x=e.fileNames,S=e.options,A=e.watchOptions,L=e.projectReferences,E=e.wildcardDirectories,T=wH(e).slice(),C=xM(e.raw),k=!0}function oe(n){const t=z(n);let r=null==s?void 0:s.get(t);if(r){if(!r.reloadLevel)return r.parsedCommandLine;if(r.parsedCommandLine&&1===r.reloadLevel&&!e.getParsedCommandLine){M("Reloading new file names and options"),Nt.assert(S);const e=UM(r.parsedCommandLine.options.configFile.configFileSpecs,bo(co(n),m),S,R);return r.parsedCommandLine={...r.parsedCommandLine,fileNames:e},r.reloadLevel=void 0,r.parsedCommandLine}}M(`Loading config file: ${n}`);const i=e.getParsedCommandLine?e.getParsedCommandLine(n):function(e){const n=R.onUnRecoverableConfigFileDiagnostic;R.onUnRecoverableConfigFileDiagnostic=xn;const t=jO(e,void 0,R,l||(l=new Map),y);return R.onUnRecoverableConfigFileDiagnostic=n,t}(n);return r?(r.parsedCommandLine=i,r.reloadLevel=void 0):(s||(s=new Map)).set(t,r={parsedCommandLine:i}),function(e,n,t){var r,i,a,o,c;t.watcher||(t.watcher=D(e,((t,r)=>{le(e,n,r);const i=null==s?void 0:s.get(n);i&&(i.reloadLevel=2),U.removeResolutionsFromProjectReferenceRedirects(n),ne()}),2e3,(null==(r=t.parsedCommandLine)?void 0:r.watchOptions)||A,BK.ConfigFileOfReferencedProject)),(null==(i=t.parsedCommandLine)?void 0:i.wildcardDirectories)?Rj(t.watchedDirectories||(t.watchedDirectories=new Map),new Map(Object.entries(null==(a=t.parsedCommandLine)?void 0:a.wildcardDirectories)),((r,i)=>{var a;return O(r,(t=>{const i=z(t);I&&I.addOrDeleteFileOrDirectory(t,i),Y(i);const a=null==s?void 0:s.get(n);(null==a?void 0:a.parsedCommandLine)&&(Nj({watchedDirPath:z(r),fileOrDirectory:t,fileOrDirectoryPath:i,configFileName:e,options:a.parsedCommandLine.options,program:a.parsedCommandLine.fileNames,currentDirectory:m,useCaseSensitiveFileNames:f,writeLog:M,toPath:z})||2!==a.reloadLevel&&(a.reloadLevel=1,ne()))}),i,(null==(a=t.parsedCommandLine)?void 0:a.watchOptions)||A,BK.WildcardDirectoryOfReferencedProject)})):t.watchedDirectories&&(VE(t.watchedDirectories,Pj),t.watchedDirectories=void 0),fe(n,null==(o=t.parsedCommandLine)?void 0:o.options,(null==(c=t.parsedCommandLine)?void 0:c.watchOptions)||A,BK.ExtendedConfigOfReferencedProject)}(n,t,r),i}function se(e,n,t,r,i,a){return D(n,((n,r)=>t(n,r,e)),r,i,a)}function ce(e,n,t){le(e,t,n),2===n&&u.has(t)&&U.invalidateResolutionOfFile(t),Y(t),ne()}function le(e,n,t){I&&I.addOrDeleteFile(e,n,t)}function de(e){return(null==s?void 0:s.has(e))?FK:se(e,e,ue,500,A,BK.MissingFile)}function ue(e,n,t){le(e,t,n),0===n&&r.has(t)&&(r.get(t).close(),r.delete(t),Y(t),ne())}function _e(){E?Rj(i||(i=new Map),new Map(Object.entries(E)),pe):i&&VE(i,Pj)}function pe(e,n){return O(e,(n=>{Nt.assert(h),Nt.assert(S);const r=z(n);I&&I.addOrDeleteFileOrDirectory(n,r),Y(r),Nj({watchedDirPath:z(e),fileOrDirectory:n,fileOrDirectoryPath:r,configFileName:h,extraFileExtensions:v,options:S,program:H()||x,currentDirectory:m,useCaseSensitiveFileNames:f,writeLog:M,toPath:z})||2!==t&&(t=1,ne())}),n,A,BK.WildcardDirectory)}function fe(e,n,r,i){Nt.assert(h),Lj(e,n,c||(c=new Map),((e,n)=>D(e,((r,i)=>{var a;le(e,n,i),l&&kj(l,n,z);const o=null==(a=c.get(n))?void 0:a.projects;(null==o?void 0:o.size)&&o.forEach((e=>{if(z(h)===e)t=2;else{const n=null==s?void 0:s.get(e);n&&(n.reloadLevel=2),U.removeResolutionsFromProjectReferenceRedirects(e)}ne()}))}),2e3,r,i)),z)}}var SW,AW=E({"src/compiler/watchPublic.ts"(){Qq(),Qq()}});function LW(e){return to(e,".json")?e:go(e,"tsconfig.json")}var CW,kW,IW,wW=E({"src/compiler/tsbuild.ts"(){Qq(),SW=(e=>(e[e.Unbuildable=0]="Unbuildable",e[e.UpToDate=1]="UpToDate",e[e.UpToDateWithUpstreamTypes=2]="UpToDateWithUpstreamTypes",e[e.OutOfDateWithPrepend=3]="OutOfDateWithPrepend",e[e.OutputMissing=4]="OutputMissing",e[e.ErrorReadingFile=5]="ErrorReadingFile",e[e.OutOfDateWithSelf=6]="OutOfDateWithSelf",e[e.OutOfDateWithUpstream=7]="OutOfDateWithUpstream",e[e.OutOfDateBuildInfo=8]="OutOfDateBuildInfo",e[e.OutOfDateOptions=9]="OutOfDateOptions",e[e.OutOfDateRoots=10]="OutOfDateRoots",e[e.UpstreamOutOfDate=11]="UpstreamOutOfDate",e[e.UpstreamBlocked=12]="UpstreamBlocked",e[e.ComputingUpstream=13]="ComputingUpstream",e[e.TsVersionOutputOfDate=14]="TsVersionOutputOfDate",e[e.UpToDateWithInputFileText=15]="UpToDateWithInputFileText",e[e.ContainerOnly=16]="ContainerOnly",e[e.ForceBuild=17]="ForceBuild",e))(SW||{})}});function RW(e,n){return function(e,n,t){const r=e.get(n);let i;return r||(i=new Map,e.set(n,i)),r||i}(e,n)}function NW(e){return e.now?e.now():new Date}function DW(e){return!!e&&!!e.buildOrder}function OW(e){return DW(e)?e.buildOrder:e}function MW(e,n){return t=>{let r=n?`[${lH(HK(e),"")}] `:`${HK(e)} - `;r+=`${pH(t.messageText,e.newLine)}${e.newLine+e.newLine}`,e.write(r)}}function PW(e,n,t,r){const i=_W(e,n);return i.getModifiedTime=e.getModifiedTime?n=>e.getModifiedTime(n):Ln,i.setModifiedTime=e.setModifiedTime?(n,t)=>e.setModifiedTime(n,t):xn,i.deleteFile=e.deleteFile?n=>e.deleteFile(n):xn,i.reportDiagnostic=t||VK(e),i.reportSolutionBuilderStatus=r||MW(e),i.now=dn(e,e.now),i}function FW(e=Sa,n,t,r,i){const a=PW(e,n,t,r);return a.reportErrorSummary=i,a}function GW(e=Sa,n,t,r,i){const a=PW(e,n,t,r);return ln(a,sW(e,i)),a}function BW(e,n,t){return Mq(!1,e,n,t)}function UW(e,n,t,r){return Mq(!0,e,n,t,r)}function VW(e,n){return xo(n,e.compilerHost.getCurrentDirectory(),e.compilerHost.getCanonicalFileName)}function jW(e,n){const{resolvedConfigFilePaths:t}=e,r=t.get(n);if(void 0!==r)return r;const i=VW(e,n);return t.set(n,i),i}function HW(e){return!!e.options}function KW(e,n){const t=e.configFileCache.get(n);return t&&HW(t)?t:void 0}function WW(e,n,t){const{configFileCache:r}=e,i=r.get(t);if(i)return HW(i)?i:void 0;let a;kr("SolutionBuilder::beforeConfigFileParsing");const{parseConfigFileHost:o,baseCompilerOptions:s,baseWatchOptions:c,extendedConfigCache:l,host:d}=e;let u;return d.getParsedCommandLine?(u=d.getParsedCommandLine(n),u||(a=LT(Vo.File_0_not_found,n))):(o.onUnRecoverableConfigFileDiagnostic=e=>a=e,u=jO(n,s,o,l,c),o.onUnRecoverableConfigFileDiagnostic=xn),r.set(t,u||a),kr("SolutionBuilder::afterConfigFileParsing"),Ir("SolutionBuilder::Config file parsing","SolutionBuilder::beforeConfigFileParsing","SolutionBuilder::afterConfigFileParsing"),u}function qW(e,n){return LW(yo(e.compilerHost.getCurrentDirectory(),n))}function zW(e,n){const t=new Map,r=new Map,a=[];let o,s;for(const e of n)c(e);return s?{buildOrder:o||i,circularDiagnostics:s}:o||i;function c(n,i){const l=jW(e,n);if(r.has(l))return;if(t.has(l))return void(i||(s||(s=[])).push(LT(Vo.Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0,a.join("\r\n"))));t.set(l,!0),a.push(n);const d=WW(e,n,l);if(d&&d.projectReferences)for(const n of d.projectReferences)c(qW(e,n.path),i||n.circular);a.pop(),r.set(l,!0),(o||(o=[])).push(n)}}function JW(e){return e.buildOrder||function(e){const n=zW(e,e.rootNames.map((n=>qW(e,n))));e.resolvedConfigFilePaths.clear();const t=new Map(OW(n).map((n=>[jW(e,n),!0]))),r={onDeleteValue:xn};return jE(e.configFileCache,t,r),jE(e.projectStatus,t,r),jE(e.builderPrograms,t,r),jE(e.diagnostics,t,r),jE(e.projectPendingBuild,t,r),jE(e.projectErrorsReported,t,r),jE(e.buildInfoCache,t,r),jE(e.outputTimeStamps,t,r),e.watch&&(jE(e.allWatchedConfigFiles,t,{onDeleteValue:NE}),e.allWatchedExtendedConfigFiles.forEach((e=>{e.projects.forEach((n=>{t.has(n)||e.projects.delete(n)})),e.close()})),jE(e.allWatchedWildcardDirectories,t,{onDeleteValue:e=>e.forEach(Pj)}),jE(e.allWatchedInputFiles,t,{onDeleteValue:e=>e.forEach(NE)}),jE(e.allWatchedPackageJsonFiles,t,{onDeleteValue:e=>e.forEach(NE)})),e.buildOrder=n}(e)}function XW(e,n,t){const r=n&&qW(e,n),i=JW(e);if(DW(i))return i;if(r){const n=jW(e,r);if(-1===M(i,(t=>jW(e,t)===n)))return}const a=r?zW(e,[r]):i;return Nt.assert(!DW(a)),Nt.assert(!t||void 0!==r),Nt.assert(!t||a[a.length-1]===r),t?a.slice(0,a.length-1):a}function YW(e){e.cache&&$W(e);const{compilerHost:n,host:t}=e,r=e.readFileWithCache,i=n.getSourceFile,{originalReadFile:a,originalFileExists:o,originalDirectoryExists:s,originalCreateDirectory:c,originalWriteFile:l,getSourceFileWithCache:d,readFileWithCache:u}=iH(t,(n=>VW(e,n)),((...e)=>i.call(n,...e)));e.readFileWithCache=u,n.getSourceFile=d,e.cache={originalReadFile:a,originalFileExists:o,originalDirectoryExists:s,originalCreateDirectory:c,originalWriteFile:l,originalReadFileWithCache:r,originalGetSourceFile:i}}function $W(e){if(!e.cache)return;const{cache:n,host:t,compilerHost:r,extendedConfigCache:i,moduleResolutionCache:a,typeReferenceDirectiveResolutionCache:o}=e;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,i.clear(),null==a||a.clear(),null==o||o.clear(),e.cache=void 0}function QW(e,n){e.projectStatus.delete(n),e.diagnostics.delete(n)}function ZW({projectPendingBuild:e},n,t){const r=e.get(n);(void 0===r||r<t)&&e.set(n,t)}function eq(e,n){e.allProjectBuildPending&&(e.allProjectBuildPending=!1,e.options.watch&&Gq(e,Vo.Starting_compilation_in_watch_mode),YW(e),OW(JW(e)).forEach((n=>e.projectPendingBuild.set(jW(e,n),0))),n&&n.throwIfCancellationRequested())}function nq(e,n){return e.projectPendingBuild.delete(n),e.diagnostics.has(n)?1:0}function tq(e,n,t,r,a,o,s){let c,l,d,u=0===e?0:4;return 0===e?{kind:e,project:t,projectPath:r,buildOrder:s,getCompilerOptions:()=>o.options,getCurrentDirectory:()=>n.compilerHost.getCurrentDirectory(),getBuilderProgram:()=>p(Cn),getProgram:()=>p((e=>e.getProgramOrUndefined())),getSourceFile:e=>p((n=>n.getSourceFile(e))),getSourceFiles:()=>f((e=>e.getSourceFiles())),getOptionsDiagnostics:e=>f((n=>n.getOptionsDiagnostics(e))),getGlobalDiagnostics:e=>f((n=>n.getGlobalDiagnostics(e))),getConfigFileParsingDiagnostics:()=>f((e=>e.getConfigFileParsingDiagnostics())),getSyntacticDiagnostics:(e,n)=>f((t=>t.getSyntacticDiagnostics(e,n))),getAllDependencies:e=>f((n=>n.getAllDependencies(e))),getSemanticDiagnostics:(e,n)=>f((t=>t.getSemanticDiagnostics(e,n))),getSemanticDiagnosticsOfNextAffectedFile:(e,n)=>p((t=>t.getSemanticDiagnosticsOfNextAffectedFile&&t.getSemanticDiagnosticsOfNextAffectedFile(e,n))),emit:(e,r,i,a,o)=>e||a?p((s=>{var c,l;return s.emit(e,r,i,a,o||(null==(l=(c=n.host).getCustomTransformers)?void 0:l.call(c,t)))})):(x(2,i),5===u?b(r,i):3===u?v(r,i,o):void 0),done:_}:{kind:e,project:t,projectPath:r,buildOrder:s,getCompilerOptions:()=>o.options,getCurrentDirectory:()=>n.compilerHost.getCurrentDirectory(),emit:(e,n)=>4!==u?d:T(e,n),done:_};function _(t,i,a){return x(8,t,i,a),kr(0===e?"SolutionBuilder::Projects built":"SolutionBuilder::Bundles updated"),nq(n,r)}function p(e){return x(0),c&&e(c)}function f(e){return p(e)||i}function m(){var e,i;if(Nt.assert(void 0===c),n.options.dry)return Fq(n,Vo.A_non_dry_build_would_build_project_0,t),l=1,void(u=7);if(n.options.verbose&&Fq(n,Vo.Building_project_0,t),0===o.fileNames.length)return Uq(n,r,wH(o)),l=0,void(u=7);const{host:a,compilerHost:s}=n;n.projectCompilerOptions=o.options,null==(e=n.moduleResolutionCache)||e.update(o.options),null==(i=n.typeReferenceDirectiveResolutionCache)||i.update(o.options),c=a.createProgram(o.fileNames,o.options,s,function({options:e,builderPrograms:n,compilerHost:t},r,i){if(e.force)return;return n.get(r)||vW(i.options,t)}(n,r,o),wH(o),o.projectReferences),n.watch&&(n.lastCachedPackageJsonLookups.set(r,n.moduleResolutionCache&&W(n.moduleResolutionCache.getPackageJsonInfoCache().entries(),(([e,t])=>[n.host.realpath&&t?VW(n,n.host.realpath(e)):e,t]))),n.builderPrograms.set(r,c)),u++}function h(e,t,i){e.length?({buildResult:l,step:u}=lq(n,r,c,o,e,t,i)):u++}function g(e){Nt.assertIsDefined(c),h([...c.getConfigFileParsingDiagnostics(),...c.getOptionsDiagnostics(e),...c.getGlobalDiagnostics(e),...c.getSyntacticDiagnostics(void 0,e)],8,"Syntactic")}function y(e){h(Nt.checkDefined(c).getSemanticDiagnostics(void 0,e),16,"Semantic")}function v(e,i,a){var s,d,_;Nt.assertIsDefined(c),Nt.assert(3===u);const p=c.saveEmitState();let f;const m=[],{emitResult:h}=aW(c,(e=>(f||(f=[])).push(e)),void 0,void 0,((e,n,t,r,i,a)=>m.push({name:e,text:n,writeByteOrderMark:t,data:a})),i,!1,a||(null==(d=(s=n.host).getCustomTransformers)?void 0:d.call(s,t)));if(f)return c.restoreEmitState(p),({buildResult:l,step:u}=lq(n,r,c,o,f,32,"Declaration file")),{emitSkipped:!0,diagnostics:h.diagnostics};const{host:g,compilerHost:y}=n,v=(null==(_=c.hasChangedEmitSignature)?void 0:_.call(c))?0:2,b=tv(),T=new Map,x=c.getCompilerOptions(),S=ix(x);let A,L;return m.forEach((({name:t,text:i,writeByteOrderMark:a,data:o})=>{const s=VW(n,t);T.set(VW(n,t),t),(null==o?void 0:o.buildInfo)&&fq(n,o.buildInfo,r,x,v);const c=(null==o?void 0:o.differsOnlyInMap)?ka(n.host,t):void 0;Ov(e?{writeFile:e}:y,b,t,i,a),(null==o?void 0:o.differsOnlyInMap)?n.host.setModifiedTime(t,c):!S&&n.watch&&(A||(A=pq(n,r))).set(s,L||(L=NW(n.host)))})),E(b,T,m.length?m[0].name:_j(o,!g.useCaseSensitiveFileNames()),v),h}function b(e,t){Nt.assertIsDefined(c),Nt.assert(5===u);const i=c.emitBuildInfo(((t,i,a,o,s,l)=>{(null==l?void 0:l.buildInfo)&&fq(n,l.buildInfo,r,c.getCompilerOptions(),2),e?e(t,i,a,o,s,l):n.compilerHost.writeFile(t,i,a,o,s,l)}),t);return i.diagnostics.length&&(Bq(n,i.diagnostics),n.diagnostics.set(r,[...n.diagnostics.get(r),...i.diagnostics]),l&=64),i.emittedFiles&&n.write&&i.emittedFiles.forEach((e=>sq(n,o,e))),cq(n,c,o),u=7,i}function E(e,t,i,a){const s=e.getDiagnostics();return s.length?(({buildResult:l,step:u}=lq(n,r,c,o,s,64,"Emit")),s):(n.write&&t.forEach((e=>sq(n,o,e))),bq(n,o,r,Vo.Updating_unchanged_output_timestamps_of_project_0,t),n.diagnostics.delete(r),n.projectStatus.set(r,{type:1,oldestOutputFileName:i}),cq(n,c,o),u=7,l=a,s)}function T(i,c){var _,p,f,m;if(Nt.assert(1===e),n.options.dry)return Fq(n,Vo.A_non_dry_build_would_update_output_of_project_0,t),l=1,void(u=7);n.options.verbose&&Fq(n,Vo.Updating_output_of_project_0,t);const{compilerHost:h}=n;n.projectCompilerOptions=o.options,null==(p=(_=n.host).beforeEmitBundle)||p.call(_,o);const g=gj(o,h,(e=>{const t=qW(n,e.path);return WW(n,t,jW(n,t))}),c||(null==(m=(f=n.host).getCustomTransformers)?void 0:m.call(f,t)));if(vn(g))return Fq(n,Vo.Cannot_update_output_of_project_0_because_there_was_error_reading_file_1,t,Pq(n,g)),u=6,d=tq(0,n,t,r,a,o,s);Nt.assert(!!g.length);const y=tv(),v=new Map;let b=2;const T=n.buildInfoCache.get(r).buildInfo||void 0;return g.forEach((({name:e,text:t,writeByteOrderMark:a,data:s})=>{var c,l;v.set(VW(n,e),e),(null==s?void 0:s.buildInfo)&&((null==(c=s.buildInfo.program)?void 0:c.outSignature)!==(null==(l=null==T?void 0:T.program)?void 0:l.outSignature)&&(b&=-3),fq(n,s.buildInfo,r,o.options,b)),Ov(i?{writeFile:i}:h,y,e,t,a)})),{emitSkipped:!1,diagnostics:E(y,v,g[0].name,b)}}function x(e,i,c,_){for(;u<=e&&u<8;){const e=u;switch(u){case 0:m();break;case 1:g(i);break;case 2:y(i);break;case 3:v(c,i,_);break;case 5:b(c,i);break;case 4:T(c,_);break;case 6:Nt.checkDefined(d).done(i,c,_),u=8;break;case 7:xq(n,t,r,a,o,s,Nt.checkDefined(l)),u++}Nt.assert(u>e)}}}function rq({options:e},n,t){return!(3===n.type&&!e.force&&0!==t.fileNames.length&&!wH(t).length&&ix(t.options))}function iq(e,n,t){if(!e.projectPendingBuild.size)return;if(DW(n))return;const{options:r,projectPendingBuild:i}=e;for(let a=0;a<n.length;a++){const o=n[a],s=jW(e,o),c=e.projectPendingBuild.get(s);if(void 0===c)continue;t&&(t=!1,Hq(e,n));const l=WW(e,o,s);if(!l){Vq(e,s),i.delete(s);continue}2===c?(wq(e,o,s,l),Rq(e,s,l),Nq(e,o,s,l),Dq(e,o,s,l),Oq(e,o,s,l)):1===c&&(l.fileNames=UM(l.options.configFile.configFileSpecs,co(o),l.options,e.parseConfigFileHost),SM(l.fileNames,o,l.options.configFile.configFileSpecs,l.errors,xM(l.raw)),Dq(e,o,s,l),Oq(e,o,s,l));const d=vq(e,l,s);if(!r.force){if(1===d.type){Kq(e,o,d),Uq(e,s,wH(l)),i.delete(s),r.dry&&Fq(e,Vo.Project_0_is_up_to_date,o);continue}if(2===d.type||15===d.type)return Uq(e,s,wH(l)),{kind:2,status:d,project:o,projectPath:s,projectIndex:a,config:l}}if(12!==d.type){if(16!==d.type)return{kind:rq(e,d,l)?0:1,status:d,project:o,projectPath:s,projectIndex:a,config:l};Kq(e,o,d),Uq(e,s,wH(l)),i.delete(s)}else Kq(e,o,d),Uq(e,s,wH(l)),i.delete(s),r.verbose&&Fq(e,d.upstreamProjectBlocked?Vo.Skipping_build_of_project_0_because_its_dependency_1_was_not_built:Vo.Skipping_build_of_project_0_because_its_dependency_1_has_errors,o,d.upstreamProjectName)}}function aq(e,n,t){return Kq(e,n.project,n.status),2!==n.kind?tq(n.kind,e,n.project,n.projectPath,n.projectIndex,n.config,t):function(e,n,t,r,i){let a=!0;return{kind:2,project:n,projectPath:t,buildOrder:i,getCompilerOptions:()=>r.options,getCurrentDirectory:()=>e.compilerHost.getCurrentDirectory(),updateOutputFileStatmps:()=>{Tq(e,r,t),a=!1},done:()=>(a&&Tq(e,r,t),kr("SolutionBuilder::Timestamps only updates"),nq(e,t))}}(e,n.project,n.projectPath,n.config,t)}function oq(e,n,t){const r=iq(e,n,t);return r?aq(e,r,n):r}function sq({write:e},n,t){e&&n.options.listEmittedFiles&&e(`TSFILE: ${t}`)}function cq(e,n,t){n?(e.write&&QK(n,e.write),e.host.afterProgramEmitAndDiagnostics&&e.host.afterProgramEmitAndDiagnostics(n),n.releaseProgram()):e.host.afterEmitBundle&&e.host.afterEmitBundle(t),e.projectCompilerOptions=e.baseCompilerOptions}function lq(e,n,t,r,i,a,o){const s=t&&!kv(t.getCompilerOptions());return Uq(e,n,i),e.projectStatus.set(n,{type:0,reason:`${o} errors`}),s?{buildResult:a,step:5}:(cq(e,t,r),{buildResult:a,step:7})}function dq(e){return!!e.watcher}function uq(e,n){const t=VW(e,n),r=e.filesWatched.get(t);if(e.watch&&r){if(!dq(r))return r;if(r.modifiedTime)return r.modifiedTime}const i=ka(e.host,n);return e.watch&&(r?r.modifiedTime=i:e.filesWatched.set(t,i)),i}function _q(e,n,t,r,i,a,o){const s=VW(e,n),c=e.filesWatched.get(s);if(c&&dq(c))c.callbacks.push(t);else{const l=e.watchFile(n,((n,t,r)=>{const i=Nt.checkDefined(e.filesWatched.get(s));Nt.assert(dq(i)),i.modifiedTime=r,i.callbacks.forEach((e=>e(n,t,r)))}),r,i,a,o);e.filesWatched.set(s,{callbacks:[t],watcher:l,modifiedTime:c})}return{close:()=>{const n=Nt.checkDefined(e.filesWatched.get(s));Nt.assert(dq(n)),1===n.callbacks.length?(e.filesWatched.delete(s),Pj(n)):ct(n.callbacks,t)}}}function pq(e,n){if(!e.watch)return;let t=e.outputTimeStamps.get(n);return t||e.outputTimeStamps.set(n,t=new Map),t}function fq(e,n,t,r,i){const a=$V(r),o=mq(e,a,t),s=NW(e.host);o?(o.buildInfo=n,o.modifiedTime=s,2&i||(o.latestChangedDtsTime=s)):e.buildInfoCache.set(t,{path:VW(e,a),buildInfo:n,modifiedTime:s,latestChangedDtsTime:2&i?void 0:s})}function mq(e,n,t){const r=VW(e,n),i=e.buildInfoCache.get(t);return(null==i?void 0:i.path)===r?i:void 0}function hq(e,n,t,r){const i=VW(e,n),a=e.buildInfoCache.get(t);if(void 0!==a&&a.path===i)return a.buildInfo||void 0;const o=e.readFileWithCache(n),s=o?hj(n,o):void 0;return e.buildInfoCache.set(t,{path:i,buildInfo:s||!1,modifiedTime:r||ga}),s}function gq(e,n,t,r){if(t<uq(e,n))return{type:6,outOfDateOutputFileName:r,newerInputFileName:n}}function yq(e,n,t){return e.buildInfoCache.get(t).path===n.path}function vq(e,n,r){if(void 0===n)return{type:0,reason:"File deleted mid-build"};const a=e.projectStatus.get(r);if(void 0!==a)return a;kr("SolutionBuilder::beforeUpToDateCheck");const o=function(e,n,r){var a,o;if(!n.fileNames.length&&!xM(n.raw))return{type:16};let s;const c=!!e.options.force;if(n.projectReferences){e.projectStatus.set(r,{type:13});for(const t of n.projectReferences){const n=GH(t),r=jW(e,n),i=WW(e,n,r),a=vq(e,i,r);if(13!==a.type&&16!==a.type){if(0===a.type||12===a.type)return{type:12,upstreamProjectName:t.path,upstreamProjectBlocked:12===a.type};if(1!==a.type)return{type:11,upstreamProjectName:t.path};c||(s||(s=[])).push({ref:t,refStatus:a,resolvedRefPath:r,resolvedConfig:i})}}}if(c)return{type:17};const{host:l}=e,d=$V(n.options);let u,_,p,f,m,h=kW;if(d){const i=mq(e,d,r);if(_=(null==i?void 0:i.modifiedTime)||ka(l,d),_===ga)return i||e.buildInfoCache.set(r,{path:VW(e,d),buildInfo:!1,modifiedTime:_}),{type:4,missingOutputFileName:d};const s=hq(e,d,r,_);if(!s)return{type:5,fileName:d};if((s.bundle||s.program)&&s.version!==t)return{type:14,version:s.version};if(s.program){if((null==(a=s.program.changeFileSet)?void 0:a.length)||(n.options.noEmit?ce(s.program.semanticDiagnosticsPerFile,gn):null==(o=s.program.affectedFilesPendingEmit)?void 0:o.length))return{type:8,buildInfoFile:d};if(!n.options.noEmit&&YH(n.options,s.program.options||{}))return{type:9,buildInfoFile:d};p=s.program}h=_,u=d}let g=CW,y=!1;const v=new Set;for(const t of n.fileNames){const n=uq(e,t);if(n===ga)return{type:0,reason:`${t} does not exist`};if(_&&_<n){let n,r;if(p){f||(f=SK(p,d,l)),n=f.fileInfos.get(VW(e,t));const i=n?e.readFileWithCache(t):void 0;r=void 0!==i?dW(l,i):void 0,n&&n===r&&(y=!0)}if(!n||n!==r)return{type:6,outOfDateOutputFileName:d,newerInputFileName:t}}n>g&&(m=t,g=n),p&&v.add(VW(e,t))}if(p){f||(f=SK(p,d,l));for(const e of f.roots)if(!v.has(e))return{type:10,buildInfoFile:d,inputFile:e}}if(!d){const t=dj(n,!l.useCaseSensitiveFileNames()),i=pq(e,r);for(const n of t){const t=VW(e,n);let r=null==i?void 0:i.get(t);if(r||(r=ka(e.host,n),null==i||i.set(t,r)),r===ga)return{type:4,missingOutputFileName:n};if(r<g)return{type:6,outOfDateOutputFileName:n,newerInputFileName:m};r<h&&(h=r,u=n)}}const b=e.buildInfoCache.get(r);let E,T=!1,x=!1;if(s)for(const{ref:n,refStatus:t,resolvedConfig:r,resolvedRefPath:i}of s){if(x=x||!!n.prepend,t.newestInputFileTime&&t.newestInputFileTime<=h)continue;if(b&&yq(e,b,i))return{type:7,outOfDateOutputFileName:d,newerProjectName:n.path};const a=Eq(e,r.options,i);if(!(a&&a<=h))return Nt.assert(void 0!==u,"Should have an oldest output filename here"),{type:7,outOfDateOutputFileName:u,newerProjectName:n.path};T=!0,E=n.path}const S=gq(e,n.options.configFilePath,h,u);if(S)return S;const L=A(n.options.configFile.extendedSourceFiles||i,(n=>gq(e,n,h,u)));if(L)return L;return A(e.lastCachedPackageJsonLookups.get(r)||i,(([n])=>gq(e,n,h,u)))||(x&&T?{type:3,outOfDateOutputFileName:u,newerProjectName:E}:{type:T?2:y?15:1,newestInputFileTime:g,newestInputFileName:m,oldestOutputFileName:u})}(e,n,r);return kr("SolutionBuilder::afterUpToDateCheck"),Ir("SolutionBuilder::Up-to-date check","SolutionBuilder::beforeUpToDateCheck","SolutionBuilder::afterUpToDateCheck"),e.projectStatus.set(r,o),o}function bq(e,n,t,r,i){if(n.options.noEmit)return;let a;const o=$V(n.options);if(o)return(null==i?void 0:i.has(VW(e,o)))||(e.options.verbose&&Fq(e,r,n.options.configFilePath),e.host.setModifiedTime(o,a=NW(e.host)),mq(e,o,t).modifiedTime=a),void e.outputTimeStamps.delete(t);const{host:s}=e,c=dj(n,!s.useCaseSensitiveFileNames()),l=pq(e,t),d=l?new Set:void 0;if(!i||c.length!==i.size){let t=!!e.options.verbose;for(const o of c){const c=VW(e,o);(null==i?void 0:i.has(c))||(t&&(t=!1,Fq(e,r,n.options.configFilePath)),s.setModifiedTime(o,a||(a=NW(e.host))),l&&(l.set(c,a),d.add(c)))}}null==l||l.forEach(((e,n)=>{(null==i?void 0:i.has(n))||d.has(n)||l.delete(n)}))}function Eq(e,n,t){if(!n.composite)return;const r=Nt.checkDefined(e.buildInfoCache.get(t));if(void 0!==r.latestChangedDtsTime)return r.latestChangedDtsTime||void 0;const i=r.buildInfo&&r.buildInfo.program&&r.buildInfo.program.latestChangedDtsFile?e.host.getModifiedTime(bo(r.buildInfo.program.latestChangedDtsFile,co(r.path))):void 0;return r.latestChangedDtsTime=i||!1,i}function Tq(e,n,t){if(e.options.dry)return Fq(e,Vo.A_non_dry_build_would_update_timestamps_for_output_of_project_0,n.options.configFilePath);bq(e,n,t,Vo.Updating_output_timestamps_of_project_0),e.projectStatus.set(t,{type:1,oldestOutputFileName:_j(n,!e.host.useCaseSensitiveFileNames())})}function xq(e,n,t,r,i,a,o){if(!(124&o)&&i.options.composite)for(let i=r+1;i<a.length;i++){const r=a[i],s=jW(e,r);if(e.projectPendingBuild.has(s))continue;const c=WW(e,r,s);if(c&&c.projectReferences)for(const r of c.projectReferences){if(jW(e,qW(e,r.path))!==t)continue;const i=e.projectStatus.get(s);if(i)switch(i.type){case 1:if(2&o){r.prepend?e.projectStatus.set(s,{type:3,outOfDateOutputFileName:i.oldestOutputFileName,newerProjectName:n}):i.type=2;break}case 15:case 2:case 3:2&o||e.projectStatus.set(s,{type:7,outOfDateOutputFileName:3===i.type?i.outOfDateOutputFileName:i.oldestOutputFileName,newerProjectName:n});break;case 12:jW(e,qW(e,i.upstreamProjectName))===t&&QW(e,s)}ZW(e,s,0);break}}}function Sq(e,n,t,r,i,a){kr("SolutionBuilder::beforeBuild");const o=function(e,n,t,r,i,a){const o=XW(e,n,a);if(!o)return 3;eq(e,t);let s=!0,c=0;for(;;){const n=oq(e,o,s);if(!n)break;s=!1,n.done(t,r,null==i?void 0:i(n.project)),e.diagnostics.has(n.projectPath)||c++}return $W(e),jq(e,o),function(e,n){if(e.watchAllProjectsPending){kr("SolutionBuilder::beforeWatcherCreation"),e.watchAllProjectsPending=!1;for(const t of OW(n)){const n=jW(e,t),r=WW(e,t,n);wq(e,t,n,r),Rq(e,n,r),r&&(Nq(e,t,n,r),Dq(e,t,n,r),Oq(e,t,n,r))}kr("SolutionBuilder::afterWatcherCreation"),Ir("SolutionBuilder::Watcher creation","SolutionBuilder::beforeWatcherCreation","SolutionBuilder::afterWatcherCreation")}}(e,o),DW(o)?4:o.some((n=>e.diagnostics.has(jW(e,n))))?c?2:1:0}(e,n,t,r,i,a);return kr("SolutionBuilder::afterBuild"),Ir("SolutionBuilder::Build","SolutionBuilder::beforeBuild","SolutionBuilder::afterBuild"),o}function Aq(e,n,t){kr("SolutionBuilder::beforeClean");const r=function(e,n,t){const r=XW(e,n,t);if(!r)return 3;if(DW(r))return Bq(e,r.circularDiagnostics),4;const{options:i,host:a}=e,o=i.dry?[]:void 0;for(const n of r){const t=jW(e,n),r=WW(e,n,t);if(void 0===r){Vq(e,t);continue}const i=dj(r,!a.useCaseSensitiveFileNames());if(!i.length)continue;const s=new Set(r.fileNames.map((n=>VW(e,n))));for(const n of i)s.has(VW(e,n))||a.fileExists(n)&&(o?o.push(n):(a.deleteFile(n),Lq(e,t,0)))}return o&&Fq(e,Vo.A_non_dry_build_would_delete_the_following_files_Colon_0,o.map((e=>`\r\n * ${e}`)).join("")),0}(e,n,t);return kr("SolutionBuilder::afterClean"),Ir("SolutionBuilder::Clean","SolutionBuilder::beforeClean","SolutionBuilder::afterClean"),r}function Lq(e,n,t){e.host.getParsedCommandLine&&1===t&&(t=2),2===t&&(e.configFileCache.delete(n),e.buildOrder=void 0),e.needsSummary=!0,QW(e,n),ZW(e,n,t),YW(e)}function Cq(e,n,t){e.reportFileChangeDetected=!0,Lq(e,n,t),kq(e,250,!0)}function kq(e,n,t){const{hostWithWatch:r}=e;r.setTimeout&&r.clearTimeout&&(e.timerToBuildInvalidatedProject&&r.clearTimeout(e.timerToBuildInvalidatedProject),e.timerToBuildInvalidatedProject=r.setTimeout(Iq,n,e,t))}function Iq(e,n){kr("SolutionBuilder::beforeBuild");const t=function(e,n){e.timerToBuildInvalidatedProject=void 0,e.reportFileChangeDetected&&(e.reportFileChangeDetected=!1,e.projectErrorsReported.clear(),Gq(e,Vo.File_change_detected_Starting_incremental_compilation));let t=0;const r=JW(e),i=oq(e,r,!1);if(i)for(i.done(),t++;e.projectPendingBuild.size;){if(e.timerToBuildInvalidatedProject)return;const i=iq(e,r,!1);if(!i)break;if(2!==i.kind&&(n||5===t))return void kq(e,100,!1);aq(e,i,r).done(),2!==i.kind&&t++}return $W(e),r}(e,n);kr("SolutionBuilder::afterBuild"),Ir("SolutionBuilder::Build","SolutionBuilder::beforeBuild","SolutionBuilder::afterBuild"),t&&jq(e,t)}function wq(e,n,t,r){e.watch&&!e.allWatchedConfigFiles.has(t)&&e.allWatchedConfigFiles.set(t,_q(e,n,(()=>Cq(e,t,2)),2e3,null==r?void 0:r.watchOptions,BK.ConfigFile,n))}function Rq(e,n,t){Lj(n,null==t?void 0:t.options,e.allWatchedExtendedConfigFiles,((n,r)=>_q(e,n,(()=>{var n;return null==(n=e.allWatchedExtendedConfigFiles.get(r))?void 0:n.projects.forEach((n=>Cq(e,n,2)))}),2e3,null==t?void 0:t.watchOptions,BK.ExtendedConfigFile)),(n=>VW(e,n)))}function Nq(e,n,t,r){e.watch&&Rj(RW(e.allWatchedWildcardDirectories,t),new Map(Object.entries(r.wildcardDirectories)),((i,a)=>e.watchDirectory(i,(a=>{var o;Nj({watchedDirPath:VW(e,i),fileOrDirectory:a,fileOrDirectoryPath:VW(e,a),configFileName:n,currentDirectory:e.compilerHost.getCurrentDirectory(),options:r.options,program:e.builderPrograms.get(t)||(null==(o=KW(e,t))?void 0:o.fileNames),useCaseSensitiveFileNames:e.parseConfigFileHost.useCaseSensitiveFileNames,writeLog:n=>e.writeLog(n),toPath:n=>VW(e,n)})||Cq(e,t,1)}),a,null==r?void 0:r.watchOptions,BK.WildcardDirectory,n)))}function Dq(e,n,t,r){e.watch&&HE(RW(e.allWatchedInputFiles,t),nn(r.fileNames,(n=>VW(e,n))),{createNewValue:(i,a)=>_q(e,a,(()=>Cq(e,t,0)),250,null==r?void 0:r.watchOptions,BK.SourceFile,n),onDeleteValue:NE})}function Oq(e,n,t,r){e.watch&&e.lastCachedPackageJsonLookups&&HE(RW(e.allWatchedPackageJsonFiles,t),new Map(e.lastCachedPackageJsonLookups.get(t)),{createNewValue:(i,a)=>_q(e,i,(()=>Cq(e,t,0)),2e3,null==r?void 0:r.watchOptions,BK.PackageJson,n),onDeleteValue:NE})}function Mq(e,n,t,r,i){const a=function(e,n,t,r,i){const a=n,o=n,s=function(e){const n={};return qD.forEach((t=>{qe(e,t.name)&&(n[t.name]=e[t.name])})),n}(r),c=lW(a,(()=>f.projectCompilerOptions));let l,d;uW(c),c.getParsedCommandLine=e=>WW(f,e,jW(f,e)),c.resolveModuleNameLiterals=dn(a,a.resolveModuleNameLiterals),c.resolveTypeReferenceDirectiveReferences=dn(a,a.resolveTypeReferenceDirectiveReferences),c.resolveModuleNames=dn(a,a.resolveModuleNames),c.resolveTypeReferenceDirectives=dn(a,a.resolveTypeReferenceDirectives),c.getModuleResolutionCache=dn(a,a.getModuleResolutionCache),c.resolveModuleNameLiterals||c.resolveModuleNames||(l=FP(c.getCurrentDirectory(),c.getCanonicalFileName),c.resolveModuleNameLiterals=(e,n,t,r,i)=>xH(e,n,t,r,i,a,l,bH),c.getModuleResolutionCache=()=>l),c.resolveTypeReferenceDirectiveReferences||c.resolveTypeReferenceDirectives||(d=GP(c.getCurrentDirectory(),c.getCanonicalFileName,void 0,null==l?void 0:l.getPackageJsonInfoCache()),c.resolveTypeReferenceDirectiveReferences=(e,n,t,r,i)=>xH(e,n,t,r,i,a,d,TH)),c.getBuildInfo=(e,n)=>hq(f,e,jW(f,n),void 0);const{watchFile:u,watchDirectory:_,writeLog:p}=cW(o,r),f={host:a,hostWithWatch:o,parseConfigFileHost:PH(a),write:dn(a,a.trace),options:r,baseCompilerOptions:s,rootNames:t,baseWatchOptions:i,resolvedConfigFilePaths:new Map,configFileCache:new Map,projectStatus:new Map,extendedConfigCache:new Map,buildInfoCache:new Map,outputTimeStamps:new Map,builderPrograms:new Map,diagnostics:new Map,projectPendingBuild:new Map,projectErrorsReported:new Map,compilerHost:c,moduleResolutionCache:l,typeReferenceDirectiveResolutionCache:d,buildOrder:void 0,readFileWithCache:e=>a.readFile(e),projectCompilerOptions:s,cache:void 0,allProjectBuildPending:!0,needsSummary:!0,watchAllProjectsPending:e,watch:e,allWatchedWildcardDirectories:new Map,allWatchedInputFiles:new Map,allWatchedConfigFiles:new Map,allWatchedExtendedConfigFiles:new Map,allWatchedPackageJsonFiles:new Map,filesWatched:new Map,lastCachedPackageJsonLookups:new Map,timerToBuildInvalidatedProject:void 0,reportFileChangeDetected:!1,watchFile:u,watchDirectory:_,writeLog:p};return f}(e,n,t,r,i);return{build:(e,n,t,r)=>Sq(a,e,n,t,r),clean:e=>Aq(a,e),buildReferences:(e,n,t,r)=>Sq(a,e,n,t,r,!0),cleanReferences:e=>Aq(a,e,!0),getNextInvalidatedProject:e=>(eq(a,e),oq(a,JW(a),!1)),getBuildOrder:()=>JW(a),getUpToDateStatusOfProject:e=>{const n=qW(a,e),t=jW(a,n);return vq(a,WW(a,n,t),t)},invalidateProject:(e,n)=>Lq(a,e,n||0),close:()=>function(e){VE(e.allWatchedConfigFiles,NE),VE(e.allWatchedExtendedConfigFiles,Pj),VE(e.allWatchedWildcardDirectories,(e=>VE(e,Pj))),VE(e.allWatchedInputFiles,(e=>VE(e,NE))),VE(e.allWatchedPackageJsonFiles,(e=>VE(e,NE)))}(a)}}function Pq(e,n){return Po(n,e.compilerHost.getCurrentDirectory(),e.compilerHost.getCanonicalFileName)}function Fq(e,n,...t){e.host.reportSolutionBuilderStatus(LT(n,...t))}function Gq(e,n,...t){var r,i;null==(i=(r=e.hostWithWatch).onWatchStatusChange)||i.call(r,LT(n,...t),e.host.getNewLine(),e.baseCompilerOptions)}function Bq({host:e},n){n.forEach((n=>e.reportDiagnostic(n)))}function Uq(e,n,t){Bq(e,t),e.projectErrorsReported.set(n,!0),t.length&&e.diagnostics.set(n,t)}function Vq(e,n){Uq(e,n,[e.configFileCache.get(n)])}function jq(e,n){if(!e.needsSummary)return;e.needsSummary=!1;const t=e.watch||!!e.host.reportErrorSummary,{diagnostics:r}=e;let a=0,o=[];DW(n)?(Hq(e,n.buildOrder),Bq(e,n.circularDiagnostics),t&&(a+=qK(n.circularDiagnostics)),t&&(o=[...o,...zK(n.circularDiagnostics)])):(n.forEach((n=>{const t=jW(e,n);e.projectErrorsReported.has(t)||Bq(e,r.get(t)||i)})),t&&r.forEach((e=>a+=qK(e))),t&&r.forEach((e=>[...o,...zK(e)]))),e.watch?Gq(e,JK(a),a):e.host.reportErrorSummary&&e.host.reportErrorSummary(a,o)}function Hq(e,n){e.options.verbose&&Fq(e,Vo.Projects_in_this_build_Colon_0,n.map((n=>"\r\n * "+Pq(e,n))).join(""))}function Kq(e,n,r){e.options.verbose&&function(e,n,r){switch(r.type){case 6:return Fq(e,Vo.Project_0_is_out_of_date_because_output_1_is_older_than_input_2,Pq(e,n),Pq(e,r.outOfDateOutputFileName),Pq(e,r.newerInputFileName));case 7:return Fq(e,Vo.Project_0_is_out_of_date_because_output_1_is_older_than_input_2,Pq(e,n),Pq(e,r.outOfDateOutputFileName),Pq(e,r.newerProjectName));case 4:return Fq(e,Vo.Project_0_is_out_of_date_because_output_file_1_does_not_exist,Pq(e,n),Pq(e,r.missingOutputFileName));case 5:return Fq(e,Vo.Project_0_is_out_of_date_because_there_was_error_reading_file_1,Pq(e,n),Pq(e,r.fileName));case 8:return Fq(e,Vo.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitted,Pq(e,n),Pq(e,r.buildInfoFile));case 9:return Fq(e,Vo.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions,Pq(e,n),Pq(e,r.buildInfoFile));case 10:return Fq(e,Vo.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_but_not_any_more,Pq(e,n),Pq(e,r.buildInfoFile),Pq(e,r.inputFile));case 1:if(void 0!==r.newestInputFileTime)return Fq(e,Vo.Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2,Pq(e,n),Pq(e,r.newestInputFileName||""),Pq(e,r.oldestOutputFileName||""));break;case 3:return Fq(e,Vo.Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed,Pq(e,n),Pq(e,r.newerProjectName));case 2:return Fq(e,Vo.Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies,Pq(e,n));case 15:return Fq(e,Vo.Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_files,Pq(e,n));case 11:return Fq(e,Vo.Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date,Pq(e,n),Pq(e,r.upstreamProjectName));case 12:return Fq(e,r.upstreamProjectBlocked?Vo.Project_0_can_t_be_built_because_its_dependency_1_was_not_built:Vo.Project_0_can_t_be_built_because_its_dependency_1_has_errors,Pq(e,n),Pq(e,r.upstreamProjectName));case 0:return Fq(e,Vo.Failed_to_parse_file_0_Colon_1,Pq(e,n),r.reason);case 14:return Fq(e,Vo.Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2,Pq(e,n),r.version,t);case 17:Fq(e,Vo.Project_0_is_being_forcibly_rebuilt,Pq(e,n))}}(e,n,r)}var Wq,qq,zq,Jq,Xq,Yq,$q=E({"src/compiler/tsbuildPublic.ts"(){Qq(),Qq(),_a(),CW=new Date(-864e13),kW=new Date(864e13),IW=(e=>(e[e.Build=0]="Build",e[e.UpdateBundle=1]="UpdateBundle",e[e.UpdateOutputFileStamps=2]="UpdateOutputFileStamps",e))(IW||{})}}),Qq=E({"src/compiler/_namespaces/ts.ts"(){x(),zt(),Jt(),lr(),Sr(),Ar(),pa(),Aa(),za(),jo(),os(),Qs(),rp(),ZS(),tA(),aA(),mA(),OA(),ZL(),aC(),yR(),ON(),$N(),AO(),aP(),GF(),XF(),$F(),nB(),yB(),MB(),_U(),xU(),kU(),wU(),NU(),OU(),PU(),GU(),VU(),HU(),WU(),zU(),XU(),QU(),eV(),tV(),aV(),sV(),dV(),_V(),fV(),hV(),yV(),xV(),NV(),JV(),Sj(),Yj(),HH(),KH(),JH(),LK(),wK(),UK(),yW(),AW(),wW(),$q(),jG(),_a()}});function Zq(e,t){return new Ut(ze(t,`ts${n}`)||ze(t,"latest")).compareTo(e.version)<=0}function ez(e){return Jq.has(e)?"node":e}function nz(e,n){const t=HO(n,(n=>e.readFile(n)));return new Map(Object.entries(t.config))}function tz(e,n){var t;const r=HO(n,(n=>e.readFile(n)));if(null==(t=r.config)?void 0:t.simpleMap)return new Map(Object.entries(r.config.simpleMap))}function rz(e,n,t,r,i,a,o,s,c,l){if(!o||!o.enable)return{cachedTypingPaths:[],newTypingNames:[],filesToWatch:[]};const d=new Map;t=ee(t,(e=>{const n=Eo(e);if(Px(n))return n}));const u=[];o.include&&g(o.include,"Explicitly included types");const _=o.exclude||[];if(!l.types){const e=new Set(t.map(co));e.add(r),e.forEach((e=>{y(e,"bower.json","bower_components",u),y(e,"package.json","node_modules",u)}))}o.disableFilenameBasedTypeAcquisition||function(e){const t=ee(e,(e=>{if(!Px(e))return;const n=it(Hx(In(lo(e))));return i.get(n)}));t.length&&g(t,"Inferred typings from file names"),ce(e,(e=>to(e,".jsx")))&&(n&&n("Inferred 'react' typings due to presence of '.jsx' extension"),h("react"))}(t),s&&g(pe(s.map(ez),Gn,Wn),"Inferred typings from unresolved imports"),a.forEach(((e,n)=>{const t=c.get(n);d.has(n)&&void 0===d.get(n)&&void 0!==t&&Zq(e,t)&&d.set(n,e.typingLocation)}));for(const e of _)d.delete(e)&&n&&n(`Typing for ${e} is in exclude list, will be ignored.`);const p=[],f=[];d.forEach(((e,n)=>{void 0!==e?f.push(e):p.push(n)}));const m={cachedTypingPaths:f,newTypingNames:p,filesToWatch:u};return n&&n(`Result: ${JSON.stringify(m)}`),m;function h(e){d.has(e)||d.set(e,void 0)}function g(e,t){n&&n(`${t}: ${JSON.stringify(e)}`),A(e,h)}function y(t,r,i,a){const o=go(t,r);let s,c;e.fileExists(o)&&(a.push(o),s=HO(o,(n=>e.readFile(n))).config,c=X([s.dependencies,s.devDependencies,s.optionalDependencies,s.peerDependencies],Je),g(c,`Typing names in '${o}' dependencies`));const l=go(t,i);if(a.push(l),!e.directoryExists(l))return;const u=[],_=c?c.map((e=>go(l,e,r))):e.readDirectory(l,[".json"],void 0,void 0,3).filter((e=>{if(lo(e)!==r)return!1;const n=po(Eo(e)),t="@"===n[n.length-3][0];return t&&In(n[n.length-4])===i||!t&&In(n[n.length-3])===i}));n&&n(`Searching for typing names in ${l}; all files: ${JSON.stringify(_)}`);for(const t of _){const r=Eo(t),i=HO(r,(n=>e.readFile(n))).config;if(!i.name)continue;const a=i.types||i.typings;if(a){const t=bo(a,co(r));e.fileExists(t)?(n&&n(` Package '${i.name}' provides its own types.`),d.set(i.name,t)):n&&n(` Package '${i.name}' provides its own types but they are missing.`)}else u.push(i.name)}g(u," Found package names")}}function iz(e){return az(e,!0)}function az(e,n){if(!e)return 1;if(e.length>Yq)return 2;if(46===e.charCodeAt(0))return 3;if(95===e.charCodeAt(0))return 4;if(n){const n=/^@([^/]+)\/([^/]+)$/.exec(e);if(n){const e=az(n[1],!1);if(0!==e)return{name:n[1],isScopeName:!0,result:e};const t=az(n[2],!1);return 0!==t?{name:n[2],isScopeName:!1,result:t}:0}}return encodeURIComponent(e)!==e?5:0}function oz(e,n){return"object"==typeof e?sz(n,e.result,e.name,e.isScopeName):sz(n,e,n,!1)}function sz(e,n,t,r){const i=r?"Scope":"Package";switch(n){case 1:return`'${e}':: ${i} name '${t}' cannot be empty`;case 2:return`'${e}':: ${i} name '${t}' should be less than ${Yq} characters`;case 3:return`'${e}':: ${i} name '${t}' cannot start with '.'`;case 4:return`'${e}':: ${i} name '${t}' cannot start with '_'`;case 5:return`'${e}':: ${i} name '${t}' contains non URI safe characters`;case 0:return Nt.fail();default:throw Nt.assertNever(n)}}var cz=E({"src/jsTyping/jsTyping.ts"(){Xz(),qq=(Wq=["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"]).map((e=>`node:${e}`)),zq=[...Wq,...qq],Jq=new Set(zq),Xq=(e=>(e[e.Ok=0]="Ok",e[e.EmptyName=1]="EmptyName",e[e.NameTooLong=2]="NameTooLong",e[e.NameStartsWithDot=3]="NameStartsWithDot",e[e.NameStartsWithUnderscore=4]="NameStartsWithUnderscore",e[e.NameContainsNonURISafeCharacters=5]="NameContainsNonURISafeCharacters",e))(Xq||{}),Yq=214}}),lz={};T(lz,{NameValidationResult:()=>Xq,discoverTypings:()=>rz,isTypingUpToDate:()=>Zq,loadSafeList:()=>nz,loadTypesMap:()=>tz,nodeCoreModuleList:()=>zq,nodeCoreModules:()=>Jq,nonRelativeModuleNameForTypingCache:()=>ez,prefixedNodeCoreModuleList:()=>qq,renderPackageNameValidationFailure:()=>oz,validatePackageName:()=>iz});var dz,uz,_z,pz,fz,mz,hz,gz,yz=E({"src/jsTyping/_namespaces/ts.JsTyping.ts"(){cz()}});function vz(e){return Sa.args.indexOf(e)>=0}function bz(e){const n=Sa.args.indexOf(e);return n>=0&&n<Sa.args.length-1?Sa.args[n+1]:void 0}function Ez(){const e=new Date;return`${At(e.getHours().toString(),2,"0")}:${At(e.getMinutes().toString(),2,"0")}:${At(e.getSeconds().toString(),2,"0")}.${At(e.getMilliseconds().toString(),3,"0")}`}var Tz=E({"src/jsTyping/shared.ts"(){var e;Xz(),dz="action::set",uz="action::invalidate",_z="action::packageInstalled",pz="event::typesRegistry",fz="event::beginInstallTypes",mz="event::endInstallTypes",hz="event::initializationFailed",(e=gz||(gz={})).GlobalCacheLocation="--globalTypingsCacheLocation",e.LogFile="--logFile",e.EnableTelemetry="--enableTelemetry",e.TypingSafeListLocation="--typingSafeListLocation",e.TypesMapLocation="--typesMapLocation",e.NpmLocation="--npmLocation",e.ValidateDefaultNpmLocation="--validateDefaultNpmLocation"}}),xz=E({"src/jsTyping/types.ts"(){}}),Sz={};T(Sz,{ActionInvalidate:()=>uz,ActionPackageInstalled:()=>_z,ActionSet:()=>dz,Arguments:()=>gz,EventBeginInstallTypes:()=>fz,EventEndInstallTypes:()=>mz,EventInitializationFailed:()=>hz,EventTypesRegistry:()=>pz,findArgument:()=>bz,hasArgument:()=>vz,nowString:()=>Ez});var Az,Lz,Cz,kz,Iz,wz,Rz,Nz,Dz,Oz,Mz,Pz,Fz,Gz,Bz,Uz,Vz,jz,Hz,Kz,Wz,qz,zz,Jz=E({"src/jsTyping/_namespaces/ts.server.ts"(){Tz(),xz()}}),Xz=E({"src/jsTyping/_namespaces/ts.ts"(){Qq(),yz(),Jz()}});function Yz(e){return{indentSize:4,tabSize:4,newLineCharacter:e||"\n",convertTabsToSpaces:!0,indentStyle:2,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:"ignore",trimTrailingWhitespace:!0}}var $z,Qz,Zz,eJ,nJ,tJ,rJ,iJ,aJ,oJ=E({"src/services/types.ts"(){(e=>{class n{constructor(e){this.text=e}getText(e,n){return 0===e&&n===this.text.length?this.text:this.text.substring(e,n)}getLength(){return this.text.length}getChangeRange(){}}e.fromString=function(e){return new n(e)}})(Az||(Az={})),Lz=(e=>(e[e.Dependencies=1]="Dependencies",e[e.DevDependencies=2]="DevDependencies",e[e.PeerDependencies=4]="PeerDependencies",e[e.OptionalDependencies=8]="OptionalDependencies",e[e.All=15]="All",e))(Lz||{}),Cz=(e=>(e[e.Off=0]="Off",e[e.On=1]="On",e[e.Auto=2]="Auto",e))(Cz||{}),kz=(e=>(e[e.Semantic=0]="Semantic",e[e.PartialSemantic=1]="PartialSemantic",e[e.Syntactic=2]="Syntactic",e))(kz||{}),Iz={},wz=(e=>(e.Original="original",e.TwentyTwenty="2020",e))(wz||{}),Rz=(e=>(e.All="All",e.SortAndCombine="SortAndCombine",e.RemoveUnused="RemoveUnused",e))(Rz||{}),Nz=(e=>(e[e.Invoked=1]="Invoked",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=3]="TriggerForIncompleteCompletions",e))(Nz||{}),Dz=(e=>(e.Type="Type",e.Parameter="Parameter",e.Enum="Enum",e))(Dz||{}),Oz=(e=>(e.none="none",e.definition="definition",e.reference="reference",e.writtenReference="writtenReference",e))(Oz||{}),Mz=(e=>(e[e.None=0]="None",e[e.Block=1]="Block",e[e.Smart=2]="Smart",e))(Mz||{}),Pz=(e=>(e.Ignore="ignore",e.Insert="insert",e.Remove="remove",e))(Pz||{}),Fz=Yz("\n"),Gz=(e=>(e[e.aliasName=0]="aliasName",e[e.className=1]="className",e[e.enumName=2]="enumName",e[e.fieldName=3]="fieldName",e[e.interfaceName=4]="interfaceName",e[e.keyword=5]="keyword",e[e.lineBreak=6]="lineBreak",e[e.numericLiteral=7]="numericLiteral",e[e.stringLiteral=8]="stringLiteral",e[e.localName=9]="localName",e[e.methodName=10]="methodName",e[e.moduleName=11]="moduleName",e[e.operator=12]="operator",e[e.parameterName=13]="parameterName",e[e.propertyName=14]="propertyName",e[e.punctuation=15]="punctuation",e[e.space=16]="space",e[e.text=17]="text",e[e.typeParameterName=18]="typeParameterName",e[e.enumMemberName=19]="enumMemberName",e[e.functionName=20]="functionName",e[e.regularExpressionLiteral=21]="regularExpressionLiteral",e[e.link=22]="link",e[e.linkName=23]="linkName",e[e.linkText=24]="linkText",e))(Gz||{}),Bz=(e=>(e[e.None=0]="None",e[e.MayIncludeAutoImports=1]="MayIncludeAutoImports",e[e.IsImportStatementCompletion=2]="IsImportStatementCompletion",e[e.IsContinuation=4]="IsContinuation",e[e.ResolvedModuleSpecifiers=8]="ResolvedModuleSpecifiers",e[e.ResolvedModuleSpecifiersBeyondLimit=16]="ResolvedModuleSpecifiersBeyondLimit",e[e.MayIncludeMethodSnippets=32]="MayIncludeMethodSnippets",e))(Bz||{}),Uz=(e=>(e.Comment="comment",e.Region="region",e.Code="code",e.Imports="imports",e))(Uz||{}),Vz=(e=>(e[e.JavaScript=0]="JavaScript",e[e.SourceMap=1]="SourceMap",e[e.Declaration=2]="Declaration",e))(Vz||{}),jz=(e=>(e[e.None=0]="None",e[e.InMultiLineCommentTrivia=1]="InMultiLineCommentTrivia",e[e.InSingleQuoteStringLiteral=2]="InSingleQuoteStringLiteral",e[e.InDoubleQuoteStringLiteral=3]="InDoubleQuoteStringLiteral",e[e.InTemplateHeadOrNoSubstitutionTemplate=4]="InTemplateHeadOrNoSubstitutionTemplate",e[e.InTemplateMiddleOrTail=5]="InTemplateMiddleOrTail",e[e.InTemplateSubstitutionPosition=6]="InTemplateSubstitutionPosition",e))(jz||{}),Hz=(e=>(e[e.Punctuation=0]="Punctuation",e[e.Keyword=1]="Keyword",e[e.Operator=2]="Operator",e[e.Comment=3]="Comment",e[e.Whitespace=4]="Whitespace",e[e.Identifier=5]="Identifier",e[e.NumberLiteral=6]="NumberLiteral",e[e.BigIntLiteral=7]="BigIntLiteral",e[e.StringLiteral=8]="StringLiteral",e[e.RegExpLiteral=9]="RegExpLiteral",e))(Hz||{}),Kz=(e=>(e.unknown="",e.warning="warning",e.keyword="keyword",e.scriptElement="script",e.moduleElement="module",e.classElement="class",e.localClassElement="local class",e.interfaceElement="interface",e.typeElement="type",e.enumElement="enum",e.enumMemberElement="enum member",e.variableElement="var",e.localVariableElement="local var",e.functionElement="function",e.localFunctionElement="local function",e.memberFunctionElement="method",e.memberGetAccessorElement="getter",e.memberSetAccessorElement="setter",e.memberVariableElement="property",e.memberAccessorVariableElement="accessor",e.constructorImplementationElement="constructor",e.callSignatureElement="call",e.indexSignatureElement="index",e.constructSignatureElement="construct",e.parameterElement="parameter",e.typeParameterElement="type parameter",e.primitiveType="primitive type",e.label="label",e.alias="alias",e.constElement="const",e.letElement="let",e.directory="directory",e.externalModuleName="external module name",e.jsxAttribute="JSX attribute",e.string="string",e.link="link",e.linkName="link name",e.linkText="link text",e))(Kz||{}),Wz=(e=>(e.none="",e.publicMemberModifier="public",e.privateMemberModifier="private",e.protectedMemberModifier="protected",e.exportedModifier="export",e.ambientModifier="declare",e.staticModifier="static",e.abstractModifier="abstract",e.optionalModifier="optional",e.deprecatedModifier="deprecated",e.dtsModifier=".d.ts",e.tsModifier=".ts",e.tsxModifier=".tsx",e.jsModifier=".js",e.jsxModifier=".jsx",e.jsonModifier=".json",e.dmtsModifier=".d.mts",e.mtsModifier=".mts",e.mjsModifier=".mjs",e.dctsModifier=".d.cts",e.ctsModifier=".cts",e.cjsModifier=".cjs",e))(Wz||{}),qz=(e=>(e.comment="comment",e.identifier="identifier",e.keyword="keyword",e.numericLiteral="number",e.bigintLiteral="bigint",e.operator="operator",e.stringLiteral="string",e.whiteSpace="whitespace",e.text="text",e.punctuation="punctuation",e.className="class name",e.enumName="enum name",e.interfaceName="interface name",e.moduleName="module name",e.typeParameterName="type parameter name",e.typeAliasName="type alias name",e.parameterName="parameter name",e.docCommentTagName="doc comment tag name",e.jsxOpenTagName="jsx open tag name",e.jsxCloseTagName="jsx close tag name",e.jsxSelfClosingTagName="jsx self closing tag name",e.jsxAttribute="jsx attribute",e.jsxText="jsx text",e.jsxAttributeStringLiteralValue="jsx attribute string literal value",e))(qz||{}),zz=(e=>(e[e.comment=1]="comment",e[e.identifier=2]="identifier",e[e.keyword=3]="keyword",e[e.numericLiteral=4]="numericLiteral",e[e.operator=5]="operator",e[e.stringLiteral=6]="stringLiteral",e[e.regularExpressionLiteral=7]="regularExpressionLiteral",e[e.whiteSpace=8]="whiteSpace",e[e.text=9]="text",e[e.punctuation=10]="punctuation",e[e.className=11]="className",e[e.enumName=12]="enumName",e[e.interfaceName=13]="interfaceName",e[e.moduleName=14]="moduleName",e[e.typeParameterName=15]="typeParameterName",e[e.typeAliasName=16]="typeAliasName",e[e.parameterName=17]="parameterName",e[e.docCommentTagName=18]="docCommentTagName",e[e.jsxOpenTagName=19]="jsxOpenTagName",e[e.jsxCloseTagName=20]="jsxCloseTagName",e[e.jsxSelfClosingTagName=21]="jsxSelfClosingTagName",e[e.jsxAttribute=22]="jsxAttribute",e[e.jsxText=23]="jsxText",e[e.jsxAttributeStringLiteralValue=24]="jsxAttributeStringLiteralValue",e[e.bigintLiteral=25]="bigintLiteral",e))(zz||{})}});function sJ(e){switch(e.kind){case 257:return Ah(e)&&hl(e)?7:1;case 166:case 205:case 169:case 168:case 299:case 300:case 171:case 170:case 173:case 174:case 175:case 259:case 215:case 216:case 295:case 288:return 1;case 165:case 261:case 262:case 184:return 2;case 349:return void 0===e.name?3:2;case 302:case 260:return 3;case 264:return ff(e)||1===BF(e)?5:4;case 263:case 272:case 273:case 268:case 269:case 274:case 275:return 7;case 308:return 5}return 7}function cJ(e){const n=(e=cX(e)).parent;return 308===e.kind?1:XI(n)||QI(n)||iw(n)||JI(n)||VI(n)||BI(n)&&e===n.name?7:lJ(e)?function(e){const n=163===e.kind?e:UC(e.parent)&&e.parent.right===e?e.parent:void 0;return n&&268===n.parent.kind?7:4}(e):Zg(e)?sJ(n):Td(e)&&Rc(e,yt(Iw,r_,ww))?7:function(e){switch(Xb(e)&&(e=e.parent),e.kind){case 108:return!mh(e);case 194:return!0}switch(e.parent.kind){case 180:return!0;case 202:return!e.parent.isTypeOf;case 230:return vm(e.parent)}return!1}(e)?2:function(e){return function(e){let n=e,t=!0;if(163===n.parent.kind){for(;n.parent&&163===n.parent.kind;)n=n.parent;t=n.right===e}return 180===n.parent.kind&&!t}(e)||function(e){let n=e,t=!0;if(208===n.parent.kind){for(;n.parent&&208===n.parent.kind;)n=n.parent;t=n.name===e}if(!t&&230===n.parent.kind&&294===n.parent.parent.kind){const e=n.parent.parent.parent;return 260===e.kind&&117===n.parent.parent.token||261===e.kind&&94===n.parent.parent.token}return!1}(e)}(e)?4:jC(n)?(Nt.assert(cR(n.parent)),2):Tk(n)?3:1}function lJ(e){for(;163===e.parent.kind;)e=e.parent;return Th(e.parent)&&e.parent.moduleReference===e}function dJ(e,n=!1,t=!1){return vJ(e,Dk,hJ,n,t)}function uJ(e,n=!1,t=!1){return vJ(e,Ok,hJ,n,t)}function _J(e,n=!1,t=!1){return vJ(e,ru,hJ,n,t)}function pJ(e,n=!1,t=!1){return vJ(e,Mk,gJ,n,t)}function fJ(e,n=!1,t=!1){return vJ(e,KC,hJ,n,t)}function mJ(e,n=!1,t=!1){return vJ(e,ju,yJ,n,t)}function hJ(e){return e.expression}function gJ(e){return e.tag}function yJ(e){return e.tagName}function vJ(e,n,t,r,i){let a=r?EJ(e):bJ(e);return i&&(a=HR(a)),!!a&&!!a.parent&&n(a.parent)&&t(a.parent)===a}function bJ(e){return IJ(e)?e.parent:e}function EJ(e){return IJ(e)||wJ(e)?e.parent:e}function TJ(e,n){for(;e;){if(253===e.kind&&e.label.escapedText===n)return e.label;e=e.parent}}function xJ(e,n){return!!Rk(e.expression)&&e.expression.name.text===n}function SJ(e){var n;return AC(e)&&(null==(n=En(e.parent,ql))?void 0:n.label)===e}function AJ(e){var n;return AC(e)&&(null==(n=En(e.parent,SI))?void 0:n.label)===e}function LJ(e){return AJ(e)||SJ(e)}function CJ(e){var n;return(null==(n=En(e.parent,qu))?void 0:n.tagName)===e}function kJ(e){var n;return(null==(n=En(e.parent,UC))?void 0:n.right)===e}function IJ(e){var n;return(null==(n=En(e.parent,Rk))?void 0:n.name)===e}function wJ(e){var n;return(null==(n=En(e.parent,Nk))?void 0:n.argumentExpression)===e}function RJ(e){var n;return(null==(n=En(e.parent,MI))?void 0:n.name)===e}function NJ(e){var n;return AC(e)&&(null==(n=En(e.parent,Ad))?void 0:n.name)===e}function DJ(e){switch(e.parent.kind){case 169:case 168:case 299:case 302:case 171:case 170:case 174:case 175:case 264:return Wc(e.parent)===e;case 209:return e.parent.argumentExpression===e;case 164:return!0;case 198:return 196===e.parent.parent.kind;default:return!1}}function OJ(e){return vh(e.parent.parent)&&bh(e.parent.parent)===e}function MJ(e){for(Eg(e)&&(e=e.parent.parent);;){if(!(e=e.parent))return;switch(e.kind){case 308:case 171:case 170:case 259:case 215:case 174:case 175:case 260:case 261:case 263:case 264:return e}}}function PJ(e){switch(e.kind){case 308:return kD(e)?"module":"script";case 264:return"module";case 260:case 228:return"class";case 261:return"interface";case 262:case 341:case 349:return"type";case 263:return"enum";case 257:return n(e);case 205:return n(Wy(e));case 216:case 259:case 215:return"function";case 174:return"getter";case 175:return"setter";case 171:case 170:return"method";case 299:const{initializer:t}=e;return Ad(t)?"method":"property";case 169:case 168:case 300:case 301:return"property";case 178:return"index";case 177:return"construct";case 176:return"call";case 173:case 172:return"constructor";case 165:return"type parameter";case 302:return"enum member";case 166:return db(e,16476)?"property":"parameter";case 268:case 273:case 278:case 271:case 277:return"alias";case 223:const r=Yh(e),{right:i}=e;switch(r){case 7:case 8:case 9:case 0:default:return"";case 1:case 2:const e=PJ(i);return""===e?"const":e;case 3:case 5:return Gk(i)?"method":"property";case 4:return"property";case 6:return"local class"}case 79:return VI(e.parent)?"alias":"";case 274:const a=PJ(e.expression);return""===a?"const":a;default:return""}function n(e){return om(e)?"const":sm(e)?"let":"var"}}function FJ(e){switch(e.kind){case 108:return!0;case 79:return qv(e)&&166===e.parent.kind;default:return!1}}function GJ(e,n){return hs(n)[n.getLineAndCharacterOfPosition(e).line]}function BJ(e,n){return HJ(e.pos,e.end,n)}function UJ(e,n){return jJ(e,n.pos)&&jJ(e,n.end)}function VJ(e,n){return e.pos<=n&&n<=e.end}function jJ(e,n){return e.pos<n&&n<e.end}function HJ(e,n,t){return e<=t.pos&&n>=t.end}function KJ(e,n,t){return e.pos<=n&&e.end>=t}function WJ(e,n,t){return zJ(e.pos,e.end,n,t)}function qJ(e,n,t,r){return zJ(e.getStart(n),e.end,t,r)}function zJ(e,n,t,r){return Math.max(e,t)<Math.min(n,r)}function JJ(e,n,t){return Nt.assert(e.pos<=n),n<e.end||!XJ(e,t)}function XJ(e,n){if(void 0===e||Fp(e))return!1;switch(e.kind){case 260:case 261:case 263:case 207:case 203:case 184:case 238:case 265:case 266:case 272:case 276:return YJ(e,19,n);case 295:return XJ(e.block,n);case 211:if(!e.arguments)return!0;case 210:case 214:case 193:return YJ(e,21,n);case 181:case 182:return XJ(e.type,n);case 173:case 174:case 175:case 259:case 215:case 171:case 170:case 177:case 176:case 216:return e.body?XJ(e.body,n):e.type?XJ(e.type,n):QJ(e,21,n);case 264:return!!e.body&&XJ(e.body,n);case 242:return e.elseStatement?XJ(e.elseStatement,n):XJ(e.thenStatement,n);case 241:return XJ(e.expression,n)||QJ(e,26,n);case 206:case 204:case 209:case 164:case 186:return YJ(e,23,n);case 178:return e.type?XJ(e.type,n):QJ(e,23,n);case 292:case 293:return!1;case 245:case 246:case 247:case 244:return XJ(e.statement,n);case 243:return QJ(e,115,n)?YJ(e,21,n):XJ(e.statement,n);case 183:return XJ(e.exprName,n);case 218:case 217:case 219:case 226:case 227:return XJ(e.expression,n);case 212:return XJ(e.template,n);case 225:return XJ(Fe(e.templateSpans),n);case 236:return Gp(e.literal);case 275:case 269:return Gp(e.moduleSpecifier);case 221:return XJ(e.operand,n);case 223:return XJ(e.right,n);case 224:return XJ(e.whenFalse,n);default:return!0}}function YJ(e,n,t){const r=e.getChildren(t);if(r.length){const e=Ge(r);if(e.kind===n)return!0;if(26===e.kind&&1!==r.length)return r[r.length-2].kind===n}return!1}function $J(e){const n=eX(e);if(n)return{listItemIndex:af(n.getChildren(),e),list:n}}function QJ(e,n,t){return!!ZJ(e,n,t)}function ZJ(e,n,t){return D(e.getChildren(t),(e=>e.kind===n))}function eX(e){const n=D(e.parent.getChildren(),(n=>mR(n)&&BJ(n,e)));return Nt.assert(!n||G(n.getChildren(),e)),n}function nX(e){return 88===e.kind}function tX(e){return 84===e.kind}function rX(e){return 98===e.kind}function iX(e,n){if(8388608&e.flags)return;const t=P$(e,n);if(t)return t;const r=function(e){let n;return Rc(e,(e=>(jd(e)&&(n=e),!UC(e.parent)&&!jd(e.parent)&&!Bd(e.parent)))),n}(e);return r&&n.getTypeAtLocation(r)}function aX(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){if(zI(e.importClause.namedBindings)){const n=Be(e.importClause.namedBindings.elements);if(!n)return;return n.name}if(WI(e.importClause.namedBindings))return e.importClause.namedBindings.name}}if(!n)return e.moduleSpecifier}function oX(e,n){if(e.exportClause){if($I(e.exportClause)){if(!Be(e.exportClause.elements))return;return e.exportClause.elements[0].name}if(qI(e.exportClause))return e.exportClause.name}if(!n)return e.moduleSpecifier}function sX(e,n){const{parent:t}=e;if(Ed(e)&&(n||88!==e.kind)?PN(t)&&G(t.modifiers,e):84===e.kind?RI(t)||$k(e):98===e.kind?wI(t)||Gk(e):118===e.kind?NI(t):92===e.kind?OI(t):154===e.kind?DI(t):143===e.kind||142===e.kind?MI(t):100===e.kind?BI(t):137===e.kind?$C(t):151===e.kind&&QC(t)){const e=function(e,n){if(!n)switch(e.kind){case 260:case 228:return function(e){if(Hc(e))return e.name;if(RI(e)){const n=e.modifiers&&D(e.modifiers,nX);if(n)return n}if($k(e)){const n=D(e.getChildren(),tX);if(n)return n}}(e);case 259:case 215:return function(e){if(Hc(e))return e.name;if(wI(e)){const n=D(e.modifiers,nX);if(n)return n}if(Gk(e)){const n=D(e.getChildren(),rX);if(n)return n}}(e);case 173:return e}if(Hc(e))return e.name}(t,n);if(e)return e}if((113===e.kind||85===e.kind||119===e.kind)&&II(t)&&1===t.declarations.length){const e=t.declarations[0];if(AC(e.name))return e.name}if(154===e.kind){if(VI(t)&&t.isTypeOnly){const e=aX(t.parent,n);if(e)return e}if(YI(t)&&t.isTypeOnly){const e=oX(t,n);if(e)return e}}if(128===e.kind){if(JI(t)&&t.propertyName||QI(t)&&t.propertyName||WI(t)||qI(t))return t.name;if(YI(t)&&t.exportClause&&qI(t.exportClause))return t.exportClause.name}if(100===e.kind&&UI(t)){const e=aX(t,n);if(e)return e}if(93===e.kind){if(YI(t)){const e=oX(t,n);if(e)return e}if(XI(t))return HR(t.expression)}if(147===e.kind&&iw(t))return t.expression;if(158===e.kind&&(UI(t)||YI(t))&&t.moduleSpecifier)return t.moduleSpecifier;if((94===e.kind||117===e.kind)&&yw(t)&&t.token===e.kind){const e=function(e){if(1===e.types.length)return e.types[0].expression}(t);if(e)return e}if(94===e.kind){if(jC(t)&&t.constraint&&rk(t.constraint))return t.constraint.typeName;if(mk(t)&&rk(t.extendsType))return t.extendsType.typeName}if(138===e.kind&&hk(t))return t.typeParameter.name;if(101===e.kind&&jC(t)&&Ek(t.parent))return t.name;if(141===e.kind&&vk(t)&&141===t.operator&&rk(t.type))return t.type.typeName;if(146===e.kind&&vk(t)&&146===t.operator&&ck(t.type)&&rk(t.type.elementType))return t.type.elementType.typeName;if(!n){if((103===e.kind&&Ok(t)||114===e.kind&&jk(t)||112===e.kind&&Vk(t)||133===e.kind&&Hk(t)||125===e.kind&&Xk(t)||89===e.kind&&Uk(t))&&t.expression)return HR(t.expression);if((101===e.kind||102===e.kind)&&qk(t)&&t.operatorToken===e)return HR(t.right);if(128===e.kind&&eI(t)&&rk(t.type))return t.type.typeName;if(101===e.kind&&gI(t)||162===e.kind&&yI(t))return HR(t.expression)}return e}function cX(e){return sX(e,!1)}function lX(e){return sX(e,!0)}function dX(e,n){return uX(e,n,(e=>Ry(e)||hy(e.kind)||LC(e)))}function uX(e,n,t){return pX(e,n,!1,t,!1)}function _X(e,n){return pX(e,n,!0,void 0,!1)}function pX(e,n,t,r,i){let a,o=e;for(;;){const i=o.getChildren(e),c=Ke(i,n,((e,n)=>n),((a,o)=>{const c=i[a].getEnd();if(c<n)return-1;const l=t?i[a].getFullStart():i[a].getStart(e,!0);return l>n?1:s(i[a],l,c)?i[a-1]&&s(i[a-1])?1:0:r&&l===n&&i[a-1]&&i[a-1].getEnd()===n&&s(i[a-1])?1:-1}));if(a)return a;if(!(c>=0&&i[c]))return o;o=i[c]}function s(o,s,c){if(null!=c||(c=o.getEnd()),c<n)return!1;if(null!=s||(s=t?o.getFullStart():o.getStart(e,!0)),s>n)return!1;if(n<c||n===c&&(1===o.kind||i))return!0;if(r&&c===n){const t=gX(n,e,o);if(t&&r(t))return a=t,!0}return!1}}function fX(e,n){let t=_X(e,n);for(;xX(t);){const n=hX(t,t.parent,e);if(!n)return;t=n}return t}function mX(e,n){const t=_X(e,n);return ed(t)&&n>t.getStart(e)&&n<t.getEnd()?t:gX(n,e)}function hX(e,n,t){return function n(r){return ed(r)&&r.pos===e.end?r:C(r.getChildren(t),(r=>(r.pos<=e.pos&&r.end>e.end||r.pos===e.end)&&OX(r,t)?n(r):void 0))}(n)}function gX(e,n,t,r){const i=function i(a){if(yX(a)&&1!==a.kind)return a;const o=a.getChildren(n),s=Ke(o,e,((e,n)=>n),((n,t)=>e<o[n].end?!o[n-1]||e>=o[n-1].end?0:1:-1));if(s>=0&&o[s]){const t=o[s];if(e<t.end){if(t.getStart(n,!r)>=e||!OX(t,n)||xX(t)){const e=bX(o,s,n,a.kind);return e&&vX(e,n)}return i(t)}}Nt.assert(void 0!==t||308===a.kind||1===a.kind||Wu(a));const c=bX(o,o.length,n,a.kind);return c&&vX(c,n)}(t||n);return Nt.assert(!(i&&xX(i))),i}function yX(e){return ed(e)&&!xX(e)}function vX(e,n){if(yX(e))return e;const t=e.getChildren(n);if(0===t.length)return e;const r=bX(t,t.length,n,e.kind);return r&&vX(r,n)}function bX(e,n,t,r){for(let i=n-1;i>=0;i--)if(xX(e[i]))0!==i||11!==r&&282!==r||Nt.fail("`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`");else if(OX(e[i],t))return e[i]}function EX(e,n,t=gX(n,e)){if(t&&pd(t)){const r=t.getStart(e),i=t.getEnd();if(r<n&&n<i)return!0;if(n===i)return!!t.isUnterminated}return!1}function TX(e,n){const t=_X(e,n);return!!t&&(11===t.kind||29===t.kind&&11===t.parent.kind||29===t.kind&&291===t.parent.kind||!(!t||19!==t.kind||291!==t.parent.kind)||29===t.kind&&284===t.parent.kind)}function xX(e){return lC(e)&&e.containsOnlyTriviaWhiteSpaces}function SX(e,n){const t=_X(e,n);return ad(t.kind)&&n>t.getStart(e)}function AX(e,n){const t=_X(e,n);return!!lC(t)||!(18!==t.kind||!mw(t.parent)||!aw(t.parent.parent))||!(29!==t.kind||!ju(t.parent)||!aw(t.parent.parent))}function LX(e,n){return function(t){for(;t;)if(t.kind>=282&&t.kind<=291||11===t.kind||29===t.kind||31===t.kind||79===t.kind||19===t.kind||18===t.kind||43===t.kind)t=t.parent;else{if(281!==t.kind)return!1;if(n>t.getStart(e))return!0;t=t.parent}return!1}(_X(e,n))}function CX(e,n,t){const r=us(e.kind),i=us(n),a=e.getFullStart(),o=t.text.lastIndexOf(i,a);if(-1===o)return;if(t.text.lastIndexOf(r,a-1)<o){const e=gX(o+1,t);if(e&&e.kind===n)return e}const s=e.kind;let c=0;for(;;){const r=gX(e.getFullStart(),t);if(!r)return;if((e=r).kind===n){if(0===c)return e;c--}else e.kind===s&&c++}}function kX(e,n,t){return n?e.getNonNullableType():t?e.getNonOptionalType():e}function IX(e,n,t){const r=RX(e,n);return void 0!==r&&(vm(r.called)||0!==wX(r.called,r.nTypeArguments,t).length||IX(r.called,n,t))}function wX(e,n,t){let r=t.getTypeAtLocation(e);return Gl(e.parent)&&(r=kX(r,Bl(e.parent),!0)),(Ok(e.parent)?r.getConstructSignatures():r.getCallSignatures()).filter((e=>!!e.typeParameters&&e.typeParameters.length>=n))}function RX(e,n){if(-1===n.text.lastIndexOf("<",e?e.pos:n.text.length))return;let t=e,r=0,i=0;for(;t;){switch(t.kind){case 29:if(t=gX(t.getFullStart(),n),t&&28===t.kind&&(t=gX(t.getFullStart(),n)),!t||!AC(t))return;if(!r)return Zg(t)?void 0:{called:t,nTypeArguments:i};r--;break;case 49:r=3;break;case 48:r=2;break;case 31:r++;break;case 19:if(t=CX(t,18,n),!t)return;break;case 21:if(t=CX(t,20,n),!t)return;break;case 23:if(t=CX(t,22,n),!t)return;break;case 27:i++;break;case 38:case 79:case 10:case 8:case 9:case 110:case 95:case 112:case 94:case 141:case 24:case 51:case 57:case 58:break;default:if(jd(t))break;return}t=gX(t.getFullStart(),n)}}function NX(e,n,t){return sfe.getRangeOfEnclosingComment(e,n,void 0,t)}function DX(e,n){return!!Rc(_X(e,n),jw)}function OX(e,n){return 1===e.kind?!!e.jsDoc:0!==e.getWidth(n)}function MX(e,n=0){const t=[],r=Nu(e)?Cc(e)&~n:0;return 8&r&&t.push("private"),16&r&&t.push("protected"),4&r&&t.push("public"),(32&r||XC(e))&&t.push("static"),256&r&&t.push("abstract"),1&r&&t.push("export"),8192&r&&t.push("deprecated"),16777216&e.flags&&t.push("declare"),274===e.kind&&t.push("export"),t.length>0?t.join(","):""}function PX(e){return 180===e.kind||210===e.kind?e.typeArguments:Ad(e)||260===e.kind||261===e.kind?e.typeParameters:void 0}function FX(e){return 2===e||3===e}function GX(e){return!(10!==e&&13!==e&&!ad(e))}function BX(e){if(!e.isIntersection())return!1;const{types:n,checker:t}=e;return 2===n.length&&4&n[0].flags&&t.isEmptyAnonymousObjectType(n[1])}function UX(e){return 18<=e&&e<=78}function VX(e,n,t){return ad(e.kind)&&e.getStart(t)<n&&n<e.end||!!e.isUnterminated&&n===e.end}function jX(e){switch(e){case 123:case 121:case 122:return!0}return!1}function HX(e){const n=sn(e);return gM(n,e&&e.configFile),n}function KX(e){if(206===e.kind||207===e.kind){if(223===e.parent.kind&&e.parent.left===e&&63===e.parent.operatorToken.kind)return!0;if(247===e.parent.kind&&e.parent.initializer===e)return!0;if(KX(299===e.parent.kind?e.parent.parent:e.parent))return!0}return!1}function WX(e,n){return zX(e,n,!0)}function qX(e,n){return zX(e,n,!1)}function zX(e,n,t){const r=NX(e,n,void 0);return!!r&&t===Zz.test(e.text.substring(r.pos,r.end))}function JX(e){if(e)switch(e.kind){case 10:case 14:return YX(e);default:return XX(e)}}function XX(e,n,t){return mc(e.getStart(n),(t||e).getEnd())}function YX(e){if(!e.isUnterminated)return mc(e.getStart()+1,e.getEnd()-1)}function $X(e,n){return lE(e.getStart(n),e.end)}function QX(e){return mc(e.pos,e.end)}function ZX(e){return lE(e.start,e.start+e.length)}function eY(e,n,t){return nY(fc(e,n),t)}function nY(e,n){return{span:e,newText:n}}function tY(e){return G(eJ,e)}function rY(e){return 154===e.kind}function iY(e){return rY(e)||AC(e)&&"type"===e.text}function aY(e){return!!(1536&e.flags)&&34===e.name.charCodeAt(0)}function oY(){const e=[];return n=>{const t=KG(n);return!e[t]&&(e[t]=!0)}}function sY(e){return e.getText(0,e.getLength())}function cY(e,n){let t="";for(let r=0;r<n;r++)t+=e;return t}function lY(e){return e.isTypeParameter()&&e.getConstraint()||e}function dY(e){return 164===e.kind?Ly(e.expression)?e.expression.text:void 0:LC(e)?Pc(e):Ny(e)}function uY(e){return e.getSourceFiles().some((n=>!(n.isDeclarationFile||e.isSourceFileFromExternalLibrary(n)||!n.externalModuleIndicator&&!n.commonJsModuleIndicator)))}function _Y(e){return e.getSourceFiles().some((n=>!n.isDeclarationFile&&!e.isSourceFileFromExternalLibrary(n)&&!!n.externalModuleIndicator))}function pY(e){return!!e.module||BT(e)>=2||!!e.noEmit}function fY(e,n){return{fileExists:n=>e.fileExists(n),getCurrentDirectory:()=>n.getCurrentDirectory(),readFile:dn(n,n.readFile),useCaseSensitiveFileNames:dn(n,n.useCaseSensitiveFileNames),getSymlinkCache:dn(n,n.getSymlinkCache)||e.getSymlinkCache,getModuleSpecifierCache:dn(n,n.getModuleSpecifierCache),getPackageJsonInfoCache:()=>{var n;return null==(n=e.getModuleResolutionCache())?void 0:n.getPackageJsonInfoCache()},getGlobalTypingsCacheLocation:dn(n,n.getGlobalTypingsCacheLocation),redirectTargetsMap:e.redirectTargetsMap,getProjectReferenceRedirect:n=>e.getProjectReferenceRedirect(n),isSourceOfProjectReferenceRedirect:n=>e.isSourceOfProjectReferenceRedirect(n),getNearestAncestorDirectoryWithPackageJson:dn(n,n.getNearestAncestorDirectoryWithPackageJson),getFileIncludeReasons:()=>e.getFileIncludeReasons()}}function mY(e,n){return{...fY(e,n),getCommonSourceDirectory:()=>e.getCommonSourceDirectory()}}function hY(e){return 2===e||e>=3&&e<=99||100===e}function gY(e,n,t,r){return e||n&&n.length?yY(e,n,t,r):void 0}function yY(e,n,t,r,i){return pA.createImportDeclaration(void 0,e||n?pA.createImportClause(!!i,e,n&&n.length?pA.createNamedImports(n):void 0):void 0,"string"==typeof t?vY(t,r):t,void 0)}function vY(e,n){return pA.createStringLiteral(e,0===n)}function bY(e,n){return Fh(e,n)?1:0}function EY(e,n){if(n.quotePreference&&"auto"!==n.quotePreference)return"single"===n.quotePreference?0:1;{const n=e.imports&&D(e.imports,(e=>cC(e)&&!zy(e.parent)));return n?bY(n,e):1}}function TY(e){switch(e){case 0:return"'";case 1:return'"';default:return Nt.assertNever(e)}}function xY(e){const n=SY(e);return void 0===n?void 0:Mc(n)}function SY(e){return"default"!==e.escapedName?e.escapedName:C(e.declarations,(e=>{const n=Wc(e);return n&&79===n.kind?n.escapedText:void 0}))}function AY(e){return t_(e)&&(iw(e.parent)||UI(e.parent)||wh(e.parent,!1)&&e.parent.arguments[0]===e||lm(e.parent)&&e.parent.arguments[0]===e)}function LY(e){return kk(e)&&Lk(e.parent)&&AC(e.name)&&!e.propertyName}function CY(e,n){const t=e.getTypeAtLocation(n.parent);return t&&e.getPropertyOfType(t,n.name.text)}function kY(e,n,t){if(e)for(;e.parent;){if(Aw(e.parent)||!IY(t,e.parent,n))return e;e=e.parent}}function IY(e,n,t){return ic(e,n.getStart(t))&&n.getEnd()<=tc(e)}function wY(e,n){return PN(e)?D(e.modifiers,(e=>e.kind===n)):void 0}function RY(e,n,t,r,i){const a=240===(gn(t)?t[0]:t).kind?Mh:wf,o=j(n.statements,a);let s=gn(t)?Goe.detectImportDeclarationSorting(t,i):3;const c=Goe.getOrganizeImportsComparer(i,2===s),l=gn(t)?Re(t,((e,n)=>Goe.compareImportsOrRequireStatements(e,n,c))):[t];if(o.length)if(o&&(s=Goe.detectImportDeclarationSorting(o,i))){const t=Goe.getOrganizeImportsComparer(i,2===s);for(const r of l){const i=Goe.getImportDeclarationInsertionIndex(o,r,t);if(0===i){const t=o[0]===n.statements[0]?{leadingTriviaOption:i_e.LeadingTriviaOption.Exclude}:{};e.insertNodeBefore(n,o[0],r,!1,t)}else{const t=o[i-1];e.insertNodeAfter(n,t,r)}}}else{const t=Fe(o);t?e.insertNodesAfter(n,t,l):e.insertNodesAtTopOfFile(n,l,r)}else e.insertNodesAtTopOfFile(n,l,r)}function NY(e,n){return Nt.assert(e.isTypeOnly),Tn(e.getChildAt(0,n),rY)}function DY(e,n){return!!e&&!!n&&e.start===n.start&&e.length===n.length}function OY(e,n){return e.fileName===n.fileName&&DY(e.textSpan,n.textSpan)}function MY(e,n){if(e)for(let t=0;t<e.length;t++)if(e.indexOf(e[t])===t){const r=n(e[t],t);if(r)return r}}function PY(e,n,t){for(let r=n;r<t;r++)if(!Es(e.charCodeAt(r)))return!1;return!0}function FY(e,n,t){const r=n.tryGetSourcePosition(e);return r&&(!t||t(Eo(r.fileName))?r:void 0)}function GY(e,n,t){const{fileName:r,textSpan:i}=e,a=FY({fileName:r,pos:i.start},n,t);if(!a)return;const o=FY({fileName:r,pos:i.start+i.length},n,t),s=o?o.pos-a.pos:i.length;return{fileName:a.fileName,textSpan:{start:a.pos,length:s},originalFileName:e.fileName,originalTextSpan:e.textSpan,contextSpan:BY(e,n,t),originalContextSpan:e.contextSpan}}function BY(e,n,t){const r=e.contextSpan&&FY({fileName:e.fileName,pos:e.contextSpan.start},n,t),i=e.contextSpan&&FY({fileName:e.fileName,pos:e.contextSpan.start+e.contextSpan.length},n,t);return r&&i?{start:r.pos,length:i.pos-r.pos}:void 0}function UY(e){return!!Rc(e.declarations?De(e.declarations):void 0,(e=>!!HC(e)||!(kk(e)||Lk(e)||Ck(e))&&"quit"))}function VY(e,n){return jY(e,function(e){const n=e.flags;return 3&n?UY(e)?13:9:4&n||32768&n||65536&n?14:8&n?19:16&n?20:32&n?1:64&n?4:384&n?2:1536&n?11:8192&n?10:262144&n?18:524288&n||2097152&n?0:17}(n))}function jY(e,n){return{text:e,kind:Gz[n]}}function HY(){return jY(" ",16)}function KY(e){return jY(us(e),5)}function WY(e){return jY(us(e),15)}function qY(e){return jY(us(e),12)}function zY(e){return jY(e,13)}function JY(e){return jY(e,14)}function XY(e){const n=_s(e);return void 0===n?YY(e):KY(n)}function YY(e){return jY(e,17)}function $Y(e){return jY(e,0)}function QY(e){return jY(e,18)}function ZY(e){return jY(e,24)}function e$(e,n){return{text:e,kind:Gz[23],target:{fileName:Ip(n).fileName,textSpan:XX(n)}}}function n$(e){return jY(e,22)}function t$(e,n){var t;const r=[n$(`{@${Rw(e)?"link":Nw(e)?"linkcode":"linkplain"} `)];if(e.name){const i=null==n?void 0:n.getSymbolAtLocation(e.name),a=function(e){let n=e.indexOf("://");if(0===n){for(;n<e.length&&124!==e.charCodeAt(n);)n++;return n}if(0===e.indexOf("()"))return 2;if("<"===e.charAt(0)){let n=0,t=0;for(;t<e.length;)if("<"===e[t]&&n++,">"===e[t]&&n--,t++,!n)return t}return 0}(e.text),o=tf(e.name)+e.text.slice(0,a),s=function(e){let n=0;if(124===e.charCodeAt(n++)){for(;n<e.length&&32===e.charCodeAt(n);)n++;return e.slice(n)}return e}(e.text.slice(a)),c=(null==i?void 0:i.valueDeclaration)||(null==(t=null==i?void 0:i.declarations)?void 0:t[0]);c?(r.push(e$(o,c)),s&&r.push(ZY(s))):r.push(ZY(o+(a?"":" ")+s))}else e.text&&r.push(ZY(e.text));return r.push(n$("}")),r}function r$(e,n){var t;return(null==n?void 0:n.newLineCharacter)||(null==(t=e.getNewLine)?void 0:t.call(e))||rJ}function i$(){return jY("\n",6)}function a$(e){try{return e(tJ),tJ.displayParts()}finally{tJ.clear()}}function o$(e,n,t,r=0){return a$((i=>{e.writeType(n,t,17408|r,i)}))}function s$(e,n,t,r,i=0){return a$((a=>{e.writeSymbol(n,t,r,8|i,a)}))}function c$(e,n,t,r=0){return r|=25632,a$((i=>{e.writeSignature(n,t,r,void 0,i)}))}function l$(e,n){const t=n.getSourceFile();return a$((n=>{zV().writeNode(4,e,t,n)}))}function d$(e){return!!e.parent&&cd(e.parent)&&e.parent.propertyName===e}function u$(e,n){return Nx(e,n.getScriptKind&&n.getScriptKind(e))}function _$(e,n){let t=e;for(;p$(t)||sp(t)&&t.links.target;)t=sp(t)&&t.links.target?t.links.target:ME(t,n);return t}function p$(e){return 0!=(2097152&e.flags)}function f$(e,n){return WG(ME(e,n))}function m$(e,n){for(;Es(e.charCodeAt(n));)n+=1;return n}function h$(e,n){for(;n>-1&&Ts(e.charCodeAt(n));)n-=1;return n+1}function g$(e,n=!0){const t=e&&v$(e);return t&&!n&&T$(t),t}function y$(e,n,t){let r=t(e);return r?DA(r,e):r=v$(e,t),r&&!n&&T$(r),r}function v$(e,n){const t=n?e=>y$(e,!0,n):g$,r=_B(e,t,RV,n?e=>e&&E$(e,!0,n):e=>e&&b$(e),t);return r===e?MN(cC(e)?DA(pA.createStringLiteralFromNode(e),e):oC(e)?DA(pA.createNumericLiteral(e.text,e.numericLiteralFlags),e):pA.cloneNode(e),e):(r.parent=void 0,r)}function b$(e,n=!0){return e&&pA.createNodeArray(e.map((e=>g$(e,n))),e.hasTrailingComma)}function E$(e,n,t){return pA.createNodeArray(e.map((e=>y$(e,n,t))),e.hasTrailingComma)}function T$(e){x$(e),S$(e)}function x$(e){L$(e,1024,C$)}function S$(e){L$(e,2048,YE)}function A$(e,n){const t=e.getSourceFile();!function(e,n){const t=e.getFullStart(),r=e.getStart();for(let e=t;e<r;e++)if(10===n.charCodeAt(e))return!0;return!1}(e,t.text)?N$(e,n,t):w$(e,n,t),R$(e,n,t)}function L$(e,n,t){BA(e,n);const r=t(e);r&&L$(r,n,t)}function C$(e){return e.forEachChild((e=>e))}function k$(e,n){let t=e;for(let r=1;!Pp(n,t);r++)t=`${e}_${r}`;return t}function I$(e,n,t,r){let i=0,a=-1;for(const{fileName:o,textChanges:s}of e){Nt.assert(o===n);for(const e of s){const{span:n,newText:o}=e,s=O$(o,ov(t));if(-1!==s&&(a=n.start+i+s,!r))return a;i+=o.length-n.length}}return Nt.assert(r),Nt.assert(a>=0),a}function w$(e,n,t,r,i){Os(t.text,e.pos,D$(n,t,r,i,QA))}function R$(e,n,t,r,i){Ms(t.text,e.end,D$(n,t,r,i,nL))}function N$(e,n,t,r,i){Ms(t.text,e.pos,D$(n,t,r,i,QA))}function D$(e,n,t,r,i){return(a,o,s,c)=>{3===s?(a+=2,o-=2):a+=2,i(e,t||s,n.text.slice(a,o),void 0!==r?r:c)}}function O$(e,n){if(pt(e,n))return 0;let t=e.indexOf(" "+n);return-1===t&&(t=e.indexOf("."+n)),-1===t&&(t=e.indexOf('"'+n)),-1===t?-1:t+1}function M$(e){return qk(e)&&27===e.operatorToken.kind||wk(e)||eI(e)&&wk(e.expression)}function P$(e,n,t){const r=zg(e.parent);switch(r.kind){case 211:return n.getContextualType(r,t);case 223:{const{left:i,operatorToken:a,right:o}=r;return G$(a.kind)?n.getTypeAtLocation(e===o?i:o):n.getContextualType(e,t)}case 292:return V$(r,n);default:return n.getContextualType(e,t)}}function F$(e,n,t){const r=EY(e,n),i=JSON.stringify(t);return 0===r?`'${dv(i).replace(/'/g,"\\'").replace(/\\"/g,'"')}'`:i}function G$(e){switch(e){case 36:case 34:case 37:case 35:return!0;default:return!1}}function B$(e){switch(e.kind){case 10:case 14:case 225:case 212:return!0;default:return!1}}function U$(e){return!!e.getStringIndexType()||!!e.getNumberIndexType()}function V$(e,n){return n.getTypeAtLocation(e.parent.parent.expression)}function j$(e,n,t,r){const i=t.getTypeChecker();let a=!0;const o=()=>a=!1,s=i.typeToTypeNode(e,n,1,{trackSymbol:(e,n,t)=>(a=a&&0===i.isSymbolAccessible(e,n,t,!1).accessibility,!a),reportInaccessibleThisError:o,reportPrivateInBaseOfClassExpression:o,reportInaccessibleUniqueSymbolError:o,moduleResolverHost:mY(t,r)});return a?s:void 0}function H$(e){return 176===e||177===e||178===e||168===e||170===e}function K$(e){return 259===e||173===e||171===e||174===e||175===e}function W$(e){return 264===e}function q$(e){return 240===e||241===e||243===e||248===e||249===e||250===e||254===e||256===e||169===e||262===e||269===e||268===e||275===e||267===e||274===e}function z$(e,n,t){const r=Rc(n,(n=>n.end!==e?"quit":aJ(n.kind)));return!!r&&function(e,n){const t=e.getLastToken(n);if(t&&26===t.kind)return!1;if(H$(e.kind)){if(t&&27===t.kind)return!1}else if(W$(e.kind)){const t=Ge(e.getChildren(n));if(t&&PI(t))return!1}else if(K$(e.kind)){const t=Ge(e.getChildren(n));if(t&&Dm(t))return!1}else if(!q$(e.kind))return!1;if(243===e.kind)return!0;const r=hX(e,Rc(e,(e=>!e.parent)),n);return!r||19===r.kind||n.getLineAndCharacterOfPosition(e.getEnd()).line!==n.getLineAndCharacterOfPosition(r.getStart(n)).line}(r,t)}function J$(e){let n=0,t=0;return ED(e,(function r(i){if(q$(i.kind)){const r=i.getLastToken(e);26===(null==r?void 0:r.kind)?n++:t++}else if(H$(i.kind)){const r=i.getLastToken(e);26===(null==r?void 0:r.kind)?n++:r&&27!==r.kind&&bs(e,r.getStart(e)).line!==bs(e,Zf(e,r.end).start).line&&t++}return n+t>=5||ED(i,r)})),0===n&&t<=1||n/t>.2}function X$(e,n){return eQ(e,e.getDirectories,n)||[]}function Y$(e,n,t,r,a){return eQ(e,e.readDirectory,n,t,r,a)||i}function $$(e,n){return eQ(e,e.fileExists,n)}function Q$(e,n){return Z$((()=>sE(n,e)))||!1}function Z$(e){try{return e()}catch(e){return}}function eQ(e,n,...t){return Z$((()=>n&&n.apply(e,t)))}function nQ(e,n,t){const r=[];return Bo(e,(e=>{if(e===t)return!0;const i=go(e,"package.json");$$(n,i)&&r.push(i)})),r}function tQ(e,n){let t;return Bo(e,(e=>"node_modules"===e||(t=$j(e,(e=>$$(n,e)),"package.json"),!!t||void 0))),t}function rQ(e,n){if(!n.fileExists)return[];const t=[];return Bo(co(e),(e=>{const r=go(e,"package.json");if(n.fileExists(r)){const e=iQ(r,n);e&&t.push(e)}})),t}function iQ(e,n){if(!n.readFile)return;const t=["dependencies","devDependencies","optionalDependencies","peerDependencies"],r=function(e){try{return JSON.parse(e)}catch(e){return}}(n.readFile(e)||""),i={};if(r)for(const e of t){const n=r[e];if(!n)continue;const t=new Map;for(const e in n)t.set(e,n[e]);i[e]=t}const a=[[1,i.dependencies],[2,i.devDependencies],[8,i.optionalDependencies],[4,i.peerDependencies]];return{...i,parseable:!!r,fileName:e,get:o,has:(e,n)=>!!o(e,n)};function o(e,n=15){for(const[t,r]of a)if(r&&n&t){const n=r.get(e);if(void 0!==n)return n}}}function aQ(e,n,t){const r=(t.getPackageJsonsVisibleToFile&&t.getPackageJsonsVisibleToFile(e.fileName)||rQ(e.fileName,t)).filter((e=>e.parseable));let i,a,o;return{allowsImportingAmbientModule:function(e,n){if(!r.length||!e.valueDeclaration)return!0;if(a){const n=a.get(e);if(void 0!==n)return n}else a=new Map;const t=dv(e.getName());if(c(t))return a.set(e,!0),!0;const i=l(e.valueDeclaration.getSourceFile().fileName,n);if(void 0===i)return a.set(e,!0),!0;const o=s(i)||s(t);return a.set(e,o),o},allowsImportingSourceFile:function(e,n){if(!r.length)return!0;if(o){const n=o.get(e);if(void 0!==n)return n}else o=new Map;const t=l(e.fileName,n);if(!t)return o.set(e,!0),!0;const i=s(t);return o.set(e,i),i},allowsImportingSpecifier:function(e){return!(r.length&&!c(e))||(!(!Za(e)&&!Ya(e))||s(e))}};function s(e){const n=d(e);for(const e of r)if(e.has(n)||e.has(LF(n)))return!0;return!1}function c(n){return!!(xh(e)&&lz.nodeCoreModules.has(n)&&(void 0===i&&(i=oQ(e)),i))}function l(r,i){if(!rt(r,"node_modules"))return;const a=LG.getNodeModulesPackageName(t.getCompilationSettings(),e,r,i,n);return a?Za(a)||Ya(a)?void 0:d(a):void 0}function d(e){const n=po(kF(e)).slice(1);return pt(n[0],"@")?`${n[0]}/${n[1]}`:n[0]}}function oQ(e){return ce(e.imports,(({text:e})=>lz.nodeCoreModules.has(e)))}function sQ(e){return G(po(e),"node_modules")}function cQ(e){return void 0!==e.file&&void 0!==e.start&&void 0!==e.length}function lQ(e,n){const t=Ke(n,XX(e),Cn,Vn);if(t>=0){const r=n[t];return Nt.assertEqual(r.file,e.getSourceFile(),"Diagnostics proided to 'findDiagnosticForNode' must be from a single SourceFile"),Tn(r,cQ)}}function dQ(e,n){var t;let r=Ke(n,e.start,(e=>e.start),Un);for(r<0&&(r=~r);(null==(t=n[r-1])?void 0:t.start)===e.start;)r--;const i=[],a=tc(e);for(;;){const t=En(n[r],cQ);if(!t||t.start>a)break;oc(e,t)&&i.push(t),r++}return i}function uQ({startPosition:e,endPosition:n}){return mc(e,void 0===n?e:n)}function _Q(e,n){return Rc(_X(e,n.start),(t=>t.getStart(e)<n.start||t.getEnd()>tc(n)?"quit":uu(t)&&DY(n,XX(t,e))))}function pQ(e,n,t=Cn){return e?gn(e)?t(W(e,n)):n(e,0):void 0}function fQ(e){return gn(e)?Me(e):e}function mQ(e,n){if(gQ(e)){const t=yQ(e);if(t)return t;const r=Ote.moduleSymbolToValidIdentifier(vQ(e),n,!1),i=Ote.moduleSymbolToValidIdentifier(vQ(e),n,!0);return r===i?r:[r,i]}return e.name}function hQ(e,n,t){return gQ(e)?yQ(e)||Ote.moduleSymbolToValidIdentifier(vQ(e),n,!!t):e.name}function gQ(e){return!(33554432&e.flags||"export="!==e.escapedName&&"default"!==e.escapedName)}function yQ(e){return C(e.declarations,(e=>{var n,t;return XI(e)?null==(n=En(HR(e.expression),AC))?void 0:n.text:null==(t=En(Wc(e),AC))?void 0:t.text}))}function vQ(e){var n;return Nt.checkDefined(e.parent,`Symbol parent was undefined. Flags: ${Nt.formatSymbolFlags(e.flags)}. Declarations: ${null==(n=e.declarations)?void 0:n.map((e=>{const n=Nt.formatSyntaxKind(e.kind),t=Ah(e),{expression:r}=e;return(t?"[JS]":"")+n+(r?` (expression: ${Nt.formatSyntaxKind(r.kind)})`:"")})).join(", ")}.`)}function bQ(e,n,t){const r=n.length;if(r+t>e.length)return!1;for(let i=0;i<r;i++)if(n.charCodeAt(i)!==e.charCodeAt(i+t))return!1;return!0}function EQ(e){return 95===e.charCodeAt(0)}function TQ(e){return!xQ(e)}function xQ(e){const n=e.getSourceFile();return!(!n.externalModuleIndicator&&!n.commonJsModuleIndicator)&&(Ah(e)||!Rc(e,(e=>MI(e)&&bf(e))))}function SQ(e){return!!(8192&Cc(e))}function AQ(e,n){const t=C(e.imports,(e=>{if(lz.nodeCoreModules.has(e.text))return pt(e.text,"node:")}));return null!=t?t:n.usesUriStyleNodeCoreModules}function LQ(e){return"\n"===e?1:0}function CQ(e){return gn(e)?hT(vT(e[0]),e.slice(1)):vT(e)}function kQ({options:e},n){const t=!e.semicolons||"ignore"===e.semicolons,r="remove"===e.semicolons||t&&!J$(n);return{...e,semicolons:r?"remove":"ignore"}}function IQ(e){return 2===e||3===e}function wQ(e,n){return e.isSourceFileFromExternalLibrary(n)||e.isSourceFileDefaultLibrary(n)}function RQ(e,n){const t=new Set,r=new Set,i=new Set;for(const o of n)if(!gw(o)){const n=Yg(o.expression);if(rd(n))switch(n.kind){case 14:case 10:t.add(n.text);break;case 8:r.add(parseInt(n.text));break;case 9:const e=_S(et(n.text,"n")?n.text.slice(0,-1):n.text);e&&i.add(uS(e))}else{const n=e.getSymbolAtLocation(o.expression);if(n&&n.valueDeclaration&&xw(n.valueDeclaration)){const t=e.getConstantValue(n.valueDeclaration);void 0!==t&&a(t)}}}return{addValue:a,hasValue:function(e){switch(typeof e){case"string":return t.has(e);case"number":return r.has(e);case"object":return i.has(uS(e))}}};function a(e){switch(typeof e){case"string":t.add(e);break;case"number":r.add(e)}}}var NQ,DQ,OQ=E({"src/services/utilities.ts"(){ufe(),$z=Ws(99,!0),Qz=(e=>(e[e.None=0]="None",e[e.Value=1]="Value",e[e.Type=2]="Type",e[e.Namespace=4]="Namespace",e[e.All=7]="All",e))(Qz||{}),Zz=/^\/\/\/\s*</,eJ=[131,129,160,134,95,138,141,144,104,148,149,146,152,153,110,114,155,156,157],nJ=(e=>(e[e.Single=0]="Single",e[e.Double=1]="Double",e))(nJ||{}),tJ=function(){const e=10*c_;let n,t,r,i;c();const a=e=>s(e,17);return{displayParts:()=>{const t=n.length&&n[n.length-1].text;return i>e&&t&&"..."!==t&&(Es(t.charCodeAt(t.length-1))||n.push(jY(" ",16)),n.push(jY("...",15))),n},writeKeyword:e=>s(e,5),writeOperator:e=>s(e,12),writePunctuation:e=>s(e,15),writeTrailingSemicolon:e=>s(e,15),writeSpace:e=>s(e,16),writeStringLiteral:e=>s(e,8),writeParameter:e=>s(e,13),writeProperty:e=>s(e,14),writeLiteral:e=>s(e,8),writeSymbol:function(t,r){i>e||(o(),i+=t.length,n.push(VY(t,r)))},writeLine:function(){i>e||(i+=1,n.push(i$()),t=!0)},write:a,writeComment:a,getText:()=>"",getTextPos:()=>0,getColumn:()=>0,getLine:()=>0,isAtStartOfLine:()=>!1,hasTrailingWhitespace:()=>!1,hasTrailingComment:()=>!1,rawWrite:wn,getIndent:()=>r,increaseIndent:()=>{r++},decreaseIndent:()=>{r--},clear:c};function o(){if(!(i>e)&&t){const e=_v(r);e&&(i+=e.length,n.push(jY(e,16))),t=!1}}function s(t,r){i>e||(o(),i+=t.length,n.push(jY(t,r)))}function c(){n=[],t=!0,r=0,i=0}}(),rJ="\n",iJ="anonymous function",aJ=yt(H$,K$,W$,q$)}});function MQ(e){let n=1;const t=un(),r=new Map,a=new Map;let o;const s={isUsableByFile:e=>e===o,isEmpty:()=>!t.size,clear:()=>{t.clear(),r.clear(),o=void 0},add:(e,i,c,l,d,u,_,p)=>{let f;if(e!==o&&(s.clear(),o=e),d){const n=US(d.fileName);if(n){const{topLevelNodeModulesIndex:t,topLevelPackageNameIndex:r,packageRootIndex:i}=n;if(f=IF(kF(d.fileName.substring(r+1,i))),pt(e,d.path.substring(0,t))){const e=a.get(f),n=d.fileName.substring(0,r+1);e?t>e.indexOf(rP)&&a.set(f,n):a.set(f,n)}}}const m=1===u&&eE(i)||i,h=0===u||aY(m)?Mc(c):mQ(m,void 0),g="string"==typeof h?h:h[0],y="string"==typeof h?void 0:h[1],v=dv(l.name),b=n++,E=ME(i,p),T=33554432&i.flags?void 0:i,x=33554432&l.flags?void 0:l;T&&x||r.set(b,[i,l]),t.add(function(e,n,t,r){const i=t||"";return`${e}|${WG(ME(n,r))}|${i}`}(g,i,Zs(v)?void 0:v,p),{id:b,symbolTableKey:c,symbolName:g,capitalizedSymbolName:y,moduleName:v,moduleFile:d,moduleFileName:null==d?void 0:d.fileName,packageName:f,exportKind:u,targetFlags:E.flags,isFromPackageJson:_,symbol:T,moduleSymbol:x})},get:(e,n)=>{if(e!==o)return;const r=t.get(n);return null==r?void 0:r.map(c)},search:(n,r,i,s)=>{if(n===o)return pp(t,((n,t)=>{const{symbolName:o,ambientModuleName:l}=function(e){const n=e.substring(0,e.indexOf("|")),t=e.substring(e.lastIndexOf("|")+1);return{symbolName:n,ambientModuleName:""===t?void 0:t}}(t),d=r&&n[0].capitalizedSymbolName||o;if(i(d,n[0].targetFlags)){const r=n.map(c).filter(((t,r)=>function(n,t){if(!t||!n.moduleFileName)return!0;const r=e.getGlobalTypingsCacheLocation();if(r&&pt(n.moduleFileName,r))return!0;const i=a.get(t);return!i||pt(n.moduleFileName,i)}(t,n[r].packageName)));if(r.length){const e=s(r,d,!!l,t);if(void 0!==e)return e}}}))},releaseSymbols:()=>{r.clear()},onFileChanged:(e,n,t)=>!(l(e)&&l(n)||(o&&o!==n.path||t&&oQ(e)!==oQ(n)||!ve(e.moduleAugmentations,n.moduleAugmentations)||!function(e,n){if(!ve(e.ambientModuleNames,n.ambientModuleNames))return!1;let t=-1,r=-1;for(const i of n.ambientModuleNames){const a=e=>hf(e)&&e.name.text===i;if(t=M(e.statements,a,t+1),r=M(n.statements,a,r+1),e.statements[t]!==n.statements[r])return!1}return!0}(e,n)?(s.clear(),0):(o=n.path,1)))};return Nt.isDebugging&&Object.defineProperty(s,"__cache",{get:()=>t}),s;function c(n){if(n.symbol&&n.moduleSymbol)return n;const{id:t,exportKind:a,targetFlags:o,isFromPackageJson:s,moduleFileName:c}=n,[l,d]=r.get(t)||i;if(l&&d)return{symbol:l,moduleSymbol:d,moduleFileName:c,exportKind:a,targetFlags:o,isFromPackageJson:s};const u=(s?e.getPackageJsonAutoImportProvider():e.getCurrentProgram()).getTypeChecker(),_=n.moduleSymbol||d||Nt.checkDefined(n.moduleFile?u.getMergedSymbol(n.moduleFile.symbol):u.tryFindAmbientModule(n.moduleName)),p=n.symbol||l||Nt.checkDefined(2===a?u.resolveExternalModuleSymbol(_):u.tryGetMemberInModuleExportsAndProperties(Mc(n.symbolTableKey),_),`Could not find symbol '${n.symbolName}' by key '${n.symbolTableKey}' in module ${_.name}`);return r.set(t,[p,_]),{symbol:p,moduleSymbol:_,moduleFileName:c,exportKind:a,targetFlags:o,isFromPackageJson:s}}function l(e){return!(e.commonJsModuleIndicator||e.externalModuleIndicator||e.moduleAugmentations||e.ambientModuleNames)}}function PQ(e,n,t,r,i,a,o){var s;if(n===t)return!1;const c=null==o?void 0:o.get(n.path,t.path,r,{});if(void 0!==(null==c?void 0:c.isBlockedByPackageJsonDependencies))return!c.isBlockedByPackageJsonDependencies;const l=yv(a),d=null==(s=a.getGlobalTypingsCacheLocation)?void 0:s.call(a),u=!!LG.forEachFileNameOfModule(n.fileName,t.fileName,a,!1,(r=>{const i=e.getSourceFile(r);return(i===t||!i)&&function(e,n,t,r){const i=Bo(n,(e=>"node_modules"===lo(e)?e:void 0)),a=i&&co(t(i));return void 0===a||pt(t(e),a)||!!r&&pt(t(r),a)}(n.fileName,r,l,d)}));if(i){const e=u&&i.allowsImportingSourceFile(t,a);return null==o||o.setBlockedByPackageJsonDependencies(n.path,t.path,r,{},!e),e}return u}function FQ(e,n,t,r,i){var a,o;const s=gv(n),c=t.autoImportFileExcludePatterns&&ee(t.autoImportFileExcludePatterns,(e=>{const n=Sx(e,"","exclude");return n?kx(n,s):void 0}));GQ(e.getTypeChecker(),e.getSourceFiles(),c,((n,t)=>i(n,t,e,!1)));const l=r&&(null==(a=n.getPackageJsonAutoImportProvider)?void 0:a.call(n));if(l){const t=cr(),r=e.getTypeChecker();GQ(l.getTypeChecker(),l.getSourceFiles(),c,((n,t)=>{(t&&!e.getSourceFile(t.fileName)||!t&&!r.resolveName(n.name,void 0,1536,!1))&&i(n,t,l,!0)})),null==(o=n.log)||o.call(n,"forEachExternalModuleToImportFrom autoImportProvider: "+(cr()-t))}}function GQ(e,n,t,r){var i;const a=t&&(e=>t.some((n=>n.test(e))));for(const n of e.getAmbientModules())rt(n.name,"*")||t&&(null==(i=n.declarations)?void 0:i.every((e=>a(e.getSourceFile().fileName))))||r(n,void 0);for(const t of n)tm(t)&&!(null==a?void 0:a(t.fileName))&&r(e.getMergedSymbol(t.symbol),t)}function BQ(e,n,t,r,i){var a,o,s,c,l;const d=cr();null==(a=n.getPackageJsonAutoImportProvider)||a.call(n);const u=(null==(o=n.getCachedExportInfoMap)?void 0:o.call(n))||MQ({getCurrentProgram:()=>t,getPackageJsonAutoImportProvider:()=>{var e;return null==(e=n.getPackageJsonAutoImportProvider)?void 0:e.call(n)},getGlobalTypingsCacheLocation:()=>{var e;return null==(e=n.getGlobalTypingsCacheLocation)?void 0:e.call(n)}});if(u.isUsableByFile(e.path))return null==(s=n.log)||s.call(n,"getExportInfoMap: cache hit"),u;null==(c=n.log)||c.call(n,"getExportInfoMap: cache miss or empty; calculating new results");const _=t.getCompilerOptions();let p=0;try{FQ(t,n,r,!0,((n,t,r,a)=>{++p%100==0&&(null==i||i.throwIfCancellationRequested());const o=new Map,s=r.getTypeChecker(),c=UQ(n,s,_);c&&VQ(c.symbol,s)&&u.add(e.path,c.symbol,1===c.exportKind?"default":"export=",n,t,c.exportKind,a,s),s.forEachExportAndPropertyOfModule(n,((r,i)=>{r!==(null==c?void 0:c.symbol)&&VQ(r,s)&&$E(o,i)&&u.add(e.path,r,i,n,t,0,a,s)}))}))}catch(e){throw u.clear(),e}return null==(l=n.log)||l.call(n,`getExportInfoMap: done in ${cr()-d} ms`),u}function UQ(e,n,t){const r=function(e,n){const t=n.resolveExternalModuleSymbol(e);if(t!==e)return{symbol:t,exportKind:2};const r=n.tryGetMemberInModuleExports("default",e);return r?{symbol:r,exportKind:1}:void 0}(e,n);if(!r)return;const{symbol:i,exportKind:a}=r,o=jQ(i,n,t);return o&&{symbol:i,exportKind:a,...o}}function VQ(e,n){return!(n.isUndefinedSymbol(e)||n.isUnknownSymbol(e)||Py(e)||Fy(e))}function jQ(e,n,t){const r=eE(e);if(r)return{resolvedSymbol:r,name:r.name};const i=(a=e).declarations&&C(a.declarations,(e=>{var n;return XI(e)?null==(n=En(HR(e.expression),AC))?void 0:n.text:QI(e)?(Nt.assert("default"===e.name.text,"Expected the specifier to be a default export"),e.propertyName&&e.propertyName.text):void 0}));var a;if(void 0!==i)return{resolvedSymbol:e,name:i};if(2097152&e.flags){const r=n.getImmediateAliasedSymbol(e);if(r&&r.parent)return jQ(r,n,t)}return"default"!==e.escapedName&&"export="!==e.escapedName?{resolvedSymbol:e,name:e.getName()}:{resolvedSymbol:e,name:hQ(e,t.target)}}var HQ,KQ=E({"src/services/exportInfoMap.ts"(){ufe(),NQ=(e=>(e[e.Named=0]="Named",e[e.Default=1]="Default",e[e.Namespace=2]="Namespace",e[e.CommonJS=3]="CommonJS",e))(NQ||{}),DQ=(e=>(e[e.Named=0]="Named",e[e.Default=1]="Default",e[e.ExportEquals=2]="ExportEquals",e[e.UMD=3]="UMD",e))(DQ||{})}});function WQ(){const e=Ws(99,!1);function n(n,t,r){let i=0,a=0;const o=[],{prefix:s,pushTemplate:c}=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 Nt.assertNever(e)}}(t);n=s+n;const l=s.length;c&&o.push(15),e.setText(n);let d=0;const u=[];let _=0;do{i=e.scan(),xy(i)||(p(),a=i);const t=e.getTextPos();if(zQ(e.getTokenPos(),t,l,XQ(i),u),t>=n.length){const n=qQ(e,i,Fe(o));void 0!==n&&(d=n)}}while(1!==i);function p(){switch(i){case 43:case 68:HQ[a]||13!==e.reScanSlashToken()||(i=13);break;case 29:79===a&&_++;break;case 31:_>0&&_--;break;case 131:case 152:case 148:case 134:case 153:_>0&&!r&&(i=79);break;case 15:o.push(i);break;case 18:o.length>0&&o.push(i);break;case 19:if(o.length>0){const n=Fe(o);15===n?(i=e.reScanTemplateToken(!1),17===i?o.pop():Nt.assertEqual(i,16,"Should have been a template middle.")):(Nt.assertEqual(n,18,"Should have been an open brace"),o.pop())}break;default:if(!hy(i))break;(24===a||hy(a)&&hy(i)&&!function(e,n){if(!jX(e))return!0;switch(n){case 137:case 151:case 135:case 124:case 127:return!0;default:return!1}}(a,i))&&(i=79)}}return{endOfLineState:d,spans:u}}return{getClassificationsForLine:function(e,t,r){return function(e,n){const t=[],r=e.spans;let i=0;for(let e=0;e<r.length;e+=3){const n=r[e],a=r[e+1],o=r[e+2];if(i>=0){const e=n-i;e>0&&t.push({length:e,classification:4})}t.push({length:a,classification:JQ(o)}),i=n+a}const a=n.length-i;return a>0&&t.push({length:a,classification:4}),{entries:t,finalLexState:e.endOfLineState}}(n(e,t,r),e)},getEncodedLexicalClassifications:n}}function qQ(e,n,t){switch(n){case 10:{if(!e.isUnterminated())return;const n=e.getTokenText(),t=n.length-1;let r=0;for(;92===n.charCodeAt(t-r);)r++;if(0==(1&r))return;return 34===n.charCodeAt(0)?3:2}case 3:return e.isUnterminated()?1:void 0;default:if(ad(n)){if(!e.isUnterminated())return;switch(n){case 17:return 5;case 14:return 4;default:return Nt.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+n)}}return 15===t?6:void 0}}function zQ(e,n,t,r,i){if(8===r)return;0===e&&t>0&&(e+=t);const a=n-e;a>0&&i.push(e-t,a,r)}function JQ(e){switch(e){case 1:return 3;case 3:return 1;case 4:return 6;case 25:return 7;case 5:return 2;case 6:return 8;case 8:return 4;case 10:return 0;case 2:case 11:case 12:case 13:case 14:case 15:case 16:case 9:case 17:return 5;default:return}}function XQ(e){if(hy(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 128:case 150:case 34:case 35:case 36:case 37:case 50:case 52:case 51:case 55:case 56:case 74:case 73:case 78:case 70:case 71:case 72:case 64:case 65:case 66:case 68:case 69:case 63:case 27:case 60:case 75:case 76:case 77:return!0;default:return!1}}(e)||function(e){switch(e){case 39:case 40:case 54:case 53:case 45:case 46:return!0;default:return!1}}(e))return 5;if(e>=18&&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 ad(e)?6:2}}function YQ(e,n,t,r,i){return nZ(QQ(e,n,t,r,i))}function $Q(e,n){switch(n){case 264:case 260:case 261:case 259:case 228:case 215:case 216:e.throwIfCancellationRequested()}}function QQ(e,n,t,r,i){const a=[];return t.forEachChild((function o(s){if(s&&dc(i,s.pos,s.getFullWidth())){if($Q(n,s.kind),AC(s)&&!Fp(s)&&r.has(s.escapedText)){const n=e.getSymbolAtLocation(s),r=n&&ZQ(n,cJ(s),e);r&&function(e,n,t){const r=n-e;Nt.assert(r>0,`Classification had non-positive length of ${r}`),a.push(e),a.push(r),a.push(t)}(s.getStart(t),s.getEnd(),r)}s.forEachChild(o)}})),{spans:a,endOfLineState:0}}function ZQ(e,n,t){const r=e.getFlags();return 0==(2885600&r)?void 0:32&r?11:384&r?12:524288&r?16:1536&r?4&n||1&n&&function(e){return ce(e.declarations,(e=>MI(e)&&1===BF(e)))}(e)?14:void 0:2097152&r?ZQ(t.getAliasedSymbol(e),n,t):2&n?64&r?13:262144&r?15:void 0:void 0}function eZ(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}}function nZ(e){Nt.assert(e.spans.length%3==0);const n=e.spans,t=[];for(let e=0;e<n.length;e+=3)t.push({textSpan:fc(n[e],n[e+1]),classificationType:eZ(n[e+2])});return t}function tZ(e,n,t){return nZ(rZ(e,n,t))}function rZ(e,n,t){const r=t.start,i=t.length,a=Ws(99,!1,n.languageVariant,n.text),o=Ws(99,!1,n.languageVariant,n.text),s=[];return h(n),{spans:s,endOfLineState:0};function c(e,n,t){s.push(e),s.push(n),s.push(t)}function l(e,t,r,i){if(3===t){const t=wD(n.text,r,i);if(t&&t.jsDoc)return xS(t.jsDoc,e),void function(e){var n,t,r,i,a,o,s,l;let _=e.pos;if(e.tags)for(const f of e.tags){f.pos!==_&&d(_,f.pos-_),c(f.pos,1,10),c(f.tagName.pos,f.tagName.end-f.tagName.pos,18),_=f.tagName.end;let e=f.tagName.end;switch(f.kind){case 344:const c=f;p(c),e=c.isNameFirst&&(null==(n=c.typeExpression)?void 0:n.end)||c.name.end;break;case 351:const d=f;e=d.isNameFirst&&(null==(t=d.typeExpression)?void 0:t.end)||d.name.end;break;case 348:u(f),_=f.end,e=f.typeParameters.end;break;case 349:const m=f;e=312===(null==(r=m.typeExpression)?void 0:r.kind)&&(null==(i=m.fullName)?void 0:i.end)||(null==(a=m.typeExpression)?void 0:a.end)||e;break;case 341:case 346:case 343:e=f.typeExpression.end;break;case 347:h(f.typeExpression),_=f.end,e=f.typeExpression.end;break;case 345:h(f.typeExpression),_=f.end,e=(null==(o=f.typeExpression)?void 0:o.end)||e;break;case 350:e=(null==(s=f.name)?void 0:s.end)||e;break;case 331:case 332:e=f.class.end;break;case 352:h(f.typeExpression),_=f.end,e=(null==(l=f.typeExpression)?void 0:l.end)||e}"object"==typeof f.comment?d(f.comment.pos,f.comment.end-f.comment.pos):"string"==typeof f.comment&&d(e,f.end-e)}return void(_!==e.end&&d(_,e.end-_));function p(e){e.isNameFirst&&(d(_,e.name.pos-_),c(e.name.pos,e.name.end-e.name.pos,17),_=e.name.end),e.typeExpression&&(d(_,e.typeExpression.pos-_),h(e.typeExpression),_=e.typeExpression.end),e.isNameFirst||(d(_,e.name.pos-_),c(e.name.pos,e.name.end-e.name.pos,17),_=e.name.end)}}(t.jsDoc)}else if(2===t&&function(e,t){const r=/(\s)(\S+)(\s*)(=)(\s*)('[^']+'|"[^"]+")/gim,i=n.text.substr(e,t),a=/^(\/\/\/\s*)(<)(?:(\S+)((?:[^/]|\/[^>])*)(\/>)?)?/im.exec(i);if(!a)return!1;if(!a[3]||!(a[3]in ua))return!1;let o=e;d(o,a[1].length),o+=a[1].length,c(o,a[2].length,10),o+=a[2].length,c(o,a[3].length,21),o+=a[3].length;const s=a[4];let l=o;for(;;){const e=r.exec(s);if(!e)break;const n=o+e.index+e[1].length;n>l&&(d(l,n-l),l=n),c(l,e[2].length,22),l+=e[2].length,e[3].length&&(d(l,e[3].length),l+=e[3].length),c(l,e[4].length,5),l+=e[4].length,e[5].length&&(d(l,e[5].length),l+=e[5].length),c(l,e[6].length,24),l+=e[6].length}o+=a[4].length,o>l&&d(l,o-l),a[5]&&(c(o,a[5].length,10),o+=a[5].length);const u=e+t;return o<u&&d(o,u-o),!0}(r,i))return;d(r,i)}function d(e,n){c(e,n,1)}function u(e){for(const n of e.getChildren())h(n)}function _(e,n,t){let r;for(r=n;r<t&&!xs(e.charCodeAt(r));r++);for(c(n,r-n,1),o.setTextPos(r);o.getTextPos()<t;)p()}function p(){const e=o.getTextPos(),n=o.scan(),t=o.getTextPos(),r=m(n);r&&c(e,t-e,r)}function f(e){if(jw(e))return!0;if(Fp(e))return!0;const t=function(e){switch(e.parent&&e.parent.kind){case 283:if(e.parent.tagName===e)return 19;break;case 284:if(e.parent.tagName===e)return 20;break;case 282:if(e.parent.tagName===e)return 21;break;case 288:if(e.parent.name===e)return 22}}(e);if(!ed(e)&&11!==e.kind&&void 0===t)return!1;const r=11===e.kind?e.pos:function(e){for(a.setTextPos(e.pos);;){const t=a.getTextPos();if(!Cs(n.text,t))return t;const r=a.scan(),i=a.getTextPos(),o=i-t;if(!xy(r))return t;switch(r){case 4:case 5:continue;case 2:case 3:l(e,r,t,o),a.setTextPos(i);continue;case 7:const s=n.text,d=s.charCodeAt(t);if(60===d||62===d){c(t,o,1);continue}Nt.assert(124===d||61===d),_(s,t,i);break;case 6:break;default:Nt.assertNever(r)}}}(e),i=e.end-r;if(Nt.assert(i>=0),i>0){const n=t||m(e.kind,e);n&&c(r,i,n)}return!0}function m(e,n){if(hy(e))return 3;if((29===e||31===e)&&n&&PX(n.parent))return 10;if(UX(e)){if(n){const t=n.parent;if(63===e&&(257===t.kind||169===t.kind||166===t.kind||288===t.kind))return 5;if(223===t.kind||221===t.kind||222===t.kind||224===t.kind)return 5}return 10}if(8===e)return 4;if(9===e)return 25;if(10===e)return n&&288===n.parent.kind?24:6;if(13===e)return 6;if(ad(e))return 6;if(11===e)return 23;if(79===e){if(n){switch(n.parent.kind){case 260:return n.parent.name===n?11:void 0;case 165:return n.parent.name===n?15:void 0;case 261:return n.parent.name===n?13:void 0;case 263:return n.parent.name===n?12:void 0;case 264:return n.parent.name===n?14:void 0;case 166:return n.parent.name===n?Kv(n)?3:17:void 0}if(Hl(n.parent))return 3}return 2}}function h(t){if(t&&uc(r,i,t.pos,t.getFullWidth())){$Q(e,t.kind);for(const e of t.getChildren(n))f(e)||h(e)}}}var iZ,aZ=E({"src/services/classifier.ts"(){ufe(),HQ=tn([79,10,8,9,13,108,45,46,21,23,19,110,95],(e=>e),(()=>!0))}}),oZ=E({"src/services/documentHighlights.ts"(){ufe(),(e=>{function n(e,n){return{fileName:n.fileName,textSpan:XX(e,n),kind:"none"}}function t(e){return AI(e)?[e]:LI(e)?de(e.catchClause?t(e.catchClause):e.tryBlock&&t(e.tryBlock),e.finallyBlock&&t(e.finallyBlock)):Ad(e)?void 0:i(e,t)}function r(e){return ql(e)?[e]:Ad(e)?void 0:i(e,r)}function i(e,n){const t=[];return e.forEachChild((e=>{const r=n(e);void 0!==r&&t.push(...yn(r))})),t}function a(e,n){const t=o(n);return!!t&&t===e}function o(e){return Rc(e,(n=>{switch(n.kind){case 252:if(248===e.kind)return!1;case 245:case 246:case 247:case 244:case 243:return!e.label||function(e,n){return!!Rc(e.parent,(e=>SI(e)?e.label.escapedText===n:"quit"))}(n,e.label.escapedText);default:return Ad(n)&&"quit"}}))}function s(e,n,...t){return!(!n||!G(t,n.kind)||(e.push(n),0))}function c(e){const n=[];if(s(n,e.getFirstToken(),97,115,90)&&243===e.kind){const t=e.getChildren();for(let e=t.length-1;e>=0&&!s(n,t[e],115);e--);}return A(r(e.statement),(t=>{a(e,t)&&s(n,t.getFirstToken(),81,86)})),n}function l(e){const n=o(e);if(n)switch(n.kind){case 245:case 246:case 247:case 243:case 244:return c(n);case 252:return d(n)}}function d(e){const n=[];return s(n,e.getFirstToken(),107),A(e.caseBlock.clauses,(t=>{s(n,t.getFirstToken(),82,88),A(r(t),(t=>{a(e,t)&&s(n,t.getFirstToken(),81)}))})),n}function u(e,n){const t=[];return s(t,e.getFirstToken(),111),e.catchClause&&s(t,e.catchClause.getFirstToken(),83),e.finallyBlock&&s(t,ZJ(e,96,n),96),t}function _(e,n){const r=function(e){let n=e;for(;n.parent;){const e=n.parent;if(Dm(e)||308===e.kind)return e;if(LI(e)&&e.tryBlock===n&&e.catchClause)return n;n=e}}(e);if(!r)return;const i=[];return A(t(r),(e=>{i.push(ZJ(e,109,n))})),Dm(r)&&Em(r,(e=>{i.push(ZJ(e,105,n))})),i}function p(e,n){const r=Hm(e);if(!r)return;const i=[];return Em(Tn(r.body,lI),(e=>{i.push(ZJ(e,105,n))})),A(t(r.body),(e=>{i.push(ZJ(e,109,n))})),i}function f(e){const n=Hm(e);if(!n)return;const t=[];return n.modifiers&&n.modifiers.forEach((e=>{s(t,e,132)})),ED(n,(e=>{m(e,(e=>{Hk(e)&&s(t,e.getFirstToken(),133)}))})),t}function m(e,n){n(e),Ad(e)||Dd(e)||NI(e)||MI(e)||DI(e)||jd(e)||ED(e,(e=>m(e,n)))}e.getDocumentHighlights=function(e,t,r,i,a){const o=dX(r,i);if(o.parent&&(sw(o.parent)&&o.parent.tagName===o||cw(o.parent))){const{openingElement:e,closingElement:t}=o.parent.parent,i=[e,t].map((({tagName:e})=>n(e,r)));return[{fileName:r.fileName,highlightSpans:i}]}return function(e,n,t,r,i){const a=new Set(i.map((e=>e.fileName))),o=bae.getReferenceEntriesForNode(e,n,t,i,r,void 0,a);if(!o)return;const s=rn(o.map(bae.toHighlightSpan),(e=>e.fileName),(e=>e.span)),c=lt(t.useCaseSensitiveFileNames());return Qe(ne(s.entries(),(([e,n])=>{if(!a.has(e)){if(!t.redirectTargetsMap.has(xo(e,t.getCurrentDirectory(),c)))return;const n=t.getSourceFile(e);e=D(i,(e=>!!e.redirectInfo&&e.redirectInfo.redirectTarget===n)).fileName,Nt.assert(a.has(e))}return{fileName:e,highlightSpans:n}})))}(i,o,e,t,a)||function(e,t){const r=function(e,t){switch(e.kind){case 99:case 91:return pI(e.parent)?function(e,t){const r=function(e,n){const t=[];for(;pI(e.parent)&&e.parent.elseStatement===e;)e=e.parent;for(;;){const r=e.getChildren(n);s(t,r[0],99);for(let e=r.length-1;e>=0&&!s(t,r[e],91);e--);if(!e.elseStatement||!pI(e.elseStatement))break;e=e.elseStatement}return t}(e,t),i=[];for(let e=0;e<r.length;e++){if(91===r[e].kind&&e<r.length-1){const n=r[e],a=r[e+1];let o=!0;for(let e=a.getStart(t)-1;e>=n.end;e--)if(!Ts(t.text.charCodeAt(e))){o=!1;break}if(o){i.push({fileName:t.fileName,textSpan:mc(n.getStart(),a.end),kind:"reference"}),e++;continue}}i.push(n(r[e],t))}return i}(e.parent,t):void 0;case 105:return a(e.parent,EI,p);case 109:return a(e.parent,AI,_);case 111:case 83:case 96:return a(83===e.kind?e.parent.parent:e.parent,LI,u);case 107:return a(e.parent,xI,d);case 82:case 88:return gw(e.parent)||hw(e.parent)?a(e.parent.parent.parent,xI,d):void 0;case 81:case 86:return a(e.parent,ql,l);case 97:case 115:case 90:return a(e.parent,(e=>fu(e,!0)),c);case 135:return i(YC,[135]);case 137:case 151:return i(Od,[137,151]);case 133:return a(e.parent,Hk,f);case 132:return o(f(e));case 125:return o(function(e){const n=Hm(e);if(!n)return;const t=[];return ED(n,(e=>{m(e,(e=>{Xk(e)&&s(t,e.getFirstToken(),125)}))})),t}(e));case 101:return;default:return yd(e.kind)&&(Nu(e.parent)||dI(e.parent))?o((r=e.kind,ee(function(e,n){const t=e.parent;switch(t.kind){case 265:case 308:case 238:case 292:case 293:return 256&n&&RI(e)?[...e.members,e]:t.statements;case 173:case 171:case 259:return[...t.parameters,...Dd(t.parent)?t.parent.members:[]];case 260:case 228:case 261:case 184:const r=t.members;if(92&n){const e=D(t.members,YC);if(e)return[...r,...e.parameters]}else if(256&n)return[...r,t];return r;case 207:return;default:Nt.assertNever(t,"Invalid container kind.")}}(e.parent,Ib(r)),(e=>wY(e,r))))):void 0}var r;function i(n,r){return a(e.parent,n,(e=>{var i;return ee(null==(i=En(e,ku))?void 0:i.symbol.declarations,(e=>n(e)?D(e.getChildren(t),(e=>G(r,e.kind))):void 0))}))}function a(e,n,r){return n(e)?o(r(e,t)):void 0}function o(e){return e&&e.map((e=>n(e,t)))}}(e,t);return r&&[{fileName:t.fileName,highlightSpans:r}]}(o,r)}})(iZ||(iZ={}))}});function sZ(e){return!!e.sourceFile}function cZ(e,n){return lZ(e,n)}function lZ(e,n="",t){const r=new Map,i=lt(!!e);function a(e){return"function"==typeof e.getCompilationSettings?e.getCompilationSettings():e}function o(e,n,t,r,i,a,o,s){return l(e,n,t,r,i,a,!0,o,s)}function s(e,n,t,r,i,o,s,c){return l(e,n,a(t),r,i,o,!1,s,c)}function c(e,n){const t=sZ(e)?e:e.get(Nt.checkDefined(n,"If there are more than one scriptKind's for same document the scriptKind should be provided"));return Nt.assert(void 0===n||!t||t.sourceFile.scriptKind===n,`Script kind should match provided ScriptKind:${n} and sourceFile.scriptKind: ${null==t?void 0:t.sourceFile.scriptKind}, !entry: ${!t}`),t}function l(e,n,i,o,s,l,d,u,_){var p,f,m,h;u=Nx(e,u);const g=a(i),y=i===g?void 0:i,v=6===u?100:BT(g),b="object"==typeof _?_:{languageVersion:v,impliedNodeFormat:y&&RH(n,null==(h=null==(m=null==(f=null==(p=y.getCompilerHost)?void 0:p.call(y))?void 0:f.getModuleResolutionCache)?void 0:m.call(f))?void 0:h.getPackageJsonInfoCache(),y,g),setExternalModuleIndicator:GT(g)};b.languageVersion=v;const E=r.size,T=uZ(o,b.impliedNodeFormat),x=re(r,T,(()=>new Map));if(Vr){r.size>E&&Vr.instant(Vr.Phase.Session,"createdDocumentRegistryBucket",{configFilePath:g.configFilePath,key:T});const e=!ND(n)&&pp(r,((e,t)=>t!==T&&e.has(n)&&t));e&&Vr.instant(Vr.Phase.Session,"documentRegistryBucketOverlap",{path:n,key1:e,key2:T})}const S=x.get(n);let A=S&&c(S,u);if(!A&&t){const e=t.getDocument(T,n);e&&(Nt.assert(d),A={sourceFile:e,languageServiceRefCount:0},L())}if(A)A.sourceFile.version!==l&&(A.sourceFile=o2(A.sourceFile,s,l,s.getChangeRange(A.sourceFile.scriptSnapshot)),t&&t.setDocument(T,n,A.sourceFile)),d&&A.languageServiceRefCount++;else{const r=a2(e,s,b,l,!1,u);t&&t.setDocument(T,n,r),A={sourceFile:r,languageServiceRefCount:1},L()}return Nt.assert(0!==A.languageServiceRefCount),A.sourceFile;function L(){if(S)if(sZ(S)){const e=new Map;e.set(S.sourceFile.scriptKind,S),e.set(u,A),x.set(n,e)}else S.set(u,A);else x.set(n,A)}}function d(e,n,t,i){const a=Nt.checkDefined(r.get(uZ(n,i))),o=a.get(e),s=c(o,t);s.languageServiceRefCount--,Nt.assert(s.languageServiceRefCount>=0),0===s.languageServiceRefCount&&(sZ(o)?a.delete(e):(o.delete(t),1===o.size&&a.set(e,k(o.values(),Cn))))}return{acquireDocument:function(e,t,r,s,c,l){return o(e,xo(e,n,i),t,dZ(a(t)),r,s,c,l)},acquireDocumentWithKey:o,updateDocument:function(e,t,r,o,c,l){return s(e,xo(e,n,i),t,dZ(a(t)),r,o,c,l)},updateDocumentWithKey:s,releaseDocument:function(e,t,r,a){return d(xo(e,n,i),dZ(t),r,a)},releaseDocumentWithKey:d,getLanguageServiceRefCounts:function(e,n){return Qe(r.entries(),(([t,r])=>{const i=r.get(e),a=i&&c(i,n);return[t,a&&a.languageServiceRefCount]}))},reportStats:function(){const e=Qe(r.keys()).filter((e=>e&&"_"===e.charAt(0))).map((e=>{const n=r.get(e),t=[];return n.forEach(((e,n)=>{sZ(e)?t.push({name:n,scriptKind:e.sourceFile.scriptKind,refCount:e.languageServiceRefCount}):e.forEach(((e,r)=>t.push({name:n,scriptKind:r,refCount:e.languageServiceRefCount})))})),t.sort(((e,n)=>n.refCount-e.refCount)),{bucket:e,sourceFiles:t}}));return JSON.stringify(e,void 0,2)},getKeyForCompilationSettings:dZ}}function dZ(e){return kP(e,nO)}function uZ(e,n){return n?`${e}|${n}`:e}var _Z=E({"src/services/documentRegistry.ts"(){ufe()}});function pZ(e,n,t,r,i,a,o){const s=gv(r),c=lt(s),l=fZ(n,t,c,o),d=fZ(t,n,c,o);return i_e.ChangeTracker.with({host:r,formatContext:i,preferences:a},(i=>{!function(e,n,t,r,i,a,o){const{configFile:s}=e.getCompilerOptions();if(!s)return;const c=co(s.fileName),l=Um(s);function d(e){const n=Ik(e.initializer)?e.initializer.elements:[e.initializer];let t=!1;for(const e of n)t=u(e)||t;return t}function u(e){if(!cC(e))return!1;const r=mZ(c,e.text),i=t(r);return void 0!==i&&(n.replaceRangeWithText(s,vZ(e,s),_(i)),!0)}function _(e){return Mo(c,e,!o)}l&&bZ(l,((e,t)=>{switch(t){case"files":case"include":case"exclude":{if(d(e)||"include"!==t||!Ik(e.initializer))return;const l=ee(e.initializer.elements,(e=>cC(e)?e.text:void 0));if(0===l.length)return;const u=Cx(c,[],l,o,a);return void(kx(Nt.checkDefined(u.includeFilePattern),o).test(r)&&!kx(Nt.checkDefined(u.includeFilePattern),o).test(i)&&n.insertNodeAfter(s,Ge(e.initializer.elements),pA.createStringLiteral(_(i))))}case"compilerOptions":return void bZ(e.initializer,((e,n)=>{const t=FO(n);Nt.assert("listOrElement"!==(null==t?void 0:t.type)),t&&(t.isFilePath||"list"===t.type&&t.element.isFilePath)?d(e):"paths"===n&&bZ(e.initializer,(e=>{if(Ik(e.initializer))for(const n of e.initializer.elements)u(n)}))}))}}))}(e,i,l,n,t,r.getCurrentDirectory(),s),function(e,n,t,r,i,a){const o=e.getSourceFiles();for(const s of o){const c=t(s.fileName),l=null!=c?c:s.fileName,d=co(l),u=r(s.fileName),_=u||s.fileName,p=co(_),f=void 0!==c||void 0!==u;yZ(s,n,(e=>{if(!Za(e))return;const n=mZ(p,e),r=t(n);return void 0===r?void 0:Lo(Mo(d,r,a))}),(n=>{const r=e.getTypeChecker().getSymbolAtLocation(n);if((null==r?void 0:r.declarations)&&r.declarations.some((e=>ff(e))))return;const c=void 0!==u?gZ(n,UP(n.text,_,e.getCompilerOptions(),i),t,o):hZ(r,n,s,e,i,t);return void 0!==c&&(c.updated||f&&Za(n.text))?LG.updateModuleSpecifier(e.getCompilerOptions(),s,a(l),c.newFileName,fY(e,i),n.text):void 0}))}}(e,i,l,d,r,c)}))}function fZ(e,n,t,r){const i=t(e);return e=>{const a=r&&r.tryGetSourcePosition({fileName:e,pos:0}),o=function(e){if(t(e)===i)return n;const r=yx(e,i,t);return void 0===r?void 0:n+"/"+r}(a?a.fileName:e);return a?void 0===o?void 0:function(e,n,t,r){const i=Fo(e,n,r);return mZ(co(t),i)}(a.fileName,o,e,t):o}}function mZ(e,n){return Lo(function(e,n){return Eo(go(e,n))}(e,n))}function hZ(e,n,t,r,i,a){var o;if(e){const n=D(e.declarations,Aw).fileName,t=a(n);return void 0===t?{newFileName:n,updated:!1}:{newFileName:t,updated:!0}}{const e=gH(t,n);return gZ(n,i.resolveModuleNameLiterals||!i.resolveModuleNames?null==(o=t.resolvedModules)?void 0:o.get(n.text,e):i.getResolvedModuleWithFailedLookupLocationsFromCache&&i.getResolvedModuleWithFailedLookupLocationsFromCache(n.text,t.fileName,e),a,r.getSourceFiles())}}function gZ(e,n,t,r){if(!n)return;if(n.resolvedModule){const e=a(n.resolvedModule.resolvedFileName);if(e)return e}return A(n.failedLookupLocations,(function(e){const n=t(e);return n&&D(r,(e=>e.fileName===n))?i(e):void 0}))||Za(e.text)&&A(n.failedLookupLocations,i)||n.resolvedModule&&{newFileName:n.resolvedModule.resolvedFileName,updated:!1};function i(e){return et(e,"/package.json")?void 0:a(e)}function a(e){const n=t(e);return n&&{newFileName:n,updated:!0}}}function yZ(e,n,t,r){for(const r of e.referencedFiles||i){const i=t(r.fileName);void 0!==i&&i!==e.text.slice(r.pos,r.end)&&n.replaceRangeWithText(e,r,i)}for(const t of e.imports){const i=r(t);void 0!==i&&i!==t.text&&n.replaceRangeWithText(e,vZ(t,e),i)}}function vZ(e,n){return lE(e.getStart(n)+1,e.end-1)}function bZ(e,n){if(wk(e))for(const t of e.properties)bw(t)&&cC(t.name)&&n(t,t.name.text)}var EZ,TZ=E({"src/services/getEditsForFileRename.ts"(){ufe()}});function xZ(e,n){return{kind:e,isCaseSensitive:n}}function SZ(e){const n=new Map,t=e.trim().split(".").map((e=>{return{totalTextChunk:FZ(n=e.trim()),subWordTextChunks:PZ(n)};var n}));if(!t.some((e=>!e.subWordTextChunks.length)))return{getFullMatch:(e,r)=>function(e,n,t,r){if(!CZ(n,Ge(t),r))return;if(t.length-1>e.length)return;let i;for(let n=t.length-2,a=e.length-1;n>=0;n-=1,a-=1)i=kZ(i,CZ(e[a],t[n],r));return i}(e,r,t,n),getMatchForLastSegmentOfPattern:e=>CZ(e,Ge(t),n),patternContainsDots:t.length>1}}function AZ(e,n){let t=n.get(e);return t||n.set(e,t=BZ(e)),t}function LZ(e,n,t){const r=function(e,n){const t=e.length-n.length;for(let r=0;r<=t;r++)if(qZ(n,((n,t)=>OZ(e.charCodeAt(t+r))===n)))return r;return-1}(e,n.textLowerCase);if(0===r)return xZ(n.text.length===e.length?0:1,pt(e,n.text));if(n.isLowerCase){if(-1===r)return;const i=AZ(e,t);for(const t of i)if(wZ(e,t,n.text,!0))return xZ(2,wZ(e,t,n.text,!1));if(n.text.length<e.length&&NZ(e.charCodeAt(r)))return xZ(2,!1)}else{if(e.indexOf(n.text)>0)return xZ(2,!0);if(n.characterSpans.length>0){const r=AZ(e,t),i=!!RZ(e,r,n,!1)||!RZ(e,r,n,!0)&&void 0;if(void 0!==i)return xZ(3,i)}}}function CZ(e,n,t){if(qZ(n.totalTextChunk.text,(e=>32!==e&&42!==e))){const r=LZ(e,n.totalTextChunk,t);if(r)return r}const r=n.subWordTextChunks;let i;for(const n of r)i=kZ(i,LZ(e,n,t));return i}function kZ(e,n){return jn([e,n],IZ)}function IZ(e,n){return void 0===e?1:void 0===n?-1:Un(e.kind,n.kind)||$n(!e.isCaseSensitive,!n.isCaseSensitive)}function wZ(e,n,t,r,i={start:0,length:t.length}){return i.length<=n.length&&WZ(0,i.length,(a=>function(e,n,t){return t?OZ(e)===OZ(n):e===n}(t.charCodeAt(i.start+a),e.charCodeAt(n.start+a),r)))}function RZ(e,n,t,r){const i=t.characterSpans;let a,o,s=0,c=0;for(;;){if(c===i.length)return!0;if(s===n.length)return!1;let l=n[s],d=!1;for(;c<i.length;c++){const n=i[c];if(d&&(!NZ(t.text.charCodeAt(i[c-1].start))||!NZ(t.text.charCodeAt(i[c].start))))break;if(!wZ(e,l,t.text,r,n))break;d=!0,a=void 0===a?s:a,o=void 0===o||o,l=fc(l.start+n.length,l.length-n.length)}d||void 0===o||(o=!1),s++}}function NZ(e){if(e>=65&&e<=90)return!0;if(e<127||!ds(e,99))return!1;const n=String.fromCharCode(e);return n===n.toUpperCase()}function DZ(e){if(e>=97&&e<=122)return!0;if(e<127||!ds(e,99))return!1;const n=String.fromCharCode(e);return n===n.toLowerCase()}function OZ(e){return e>=65&&e<=90?e-65+97:e<127?e:String.fromCharCode(e).toLowerCase().charCodeAt(0)}function MZ(e){return e>=48&&e<=57}function PZ(e){const n=[];let t=0,r=0;for(let a=0;a<e.length;a++)NZ(i=e.charCodeAt(a))||DZ(i)||MZ(i)||95===i||36===i?(0===r&&(t=a),r++):r>0&&(n.push(FZ(e.substr(t,r))),r=0);var i;return r>0&&n.push(FZ(e.substr(t,r))),n}function FZ(e){const n=e.toLowerCase();return{text:e,textLowerCase:n,isLowerCase:e===n,characterSpans:GZ(e)}}function GZ(e){return UZ(e,!1)}function BZ(e){return UZ(e,!0)}function UZ(e,n){const t=[];let r=0;for(let i=1;i<e.length;i++){const a=MZ(e.charCodeAt(i-1)),o=MZ(e.charCodeAt(i)),s=KZ(e,n,i),c=n&&HZ(e,i,r);(VZ(e.charCodeAt(i-1))||VZ(e.charCodeAt(i))||a!==o||s||c)&&(jZ(e,r,i)||t.push(fc(r,i-r)),r=i)}return jZ(e,r,e.length)||t.push(fc(r,e.length-r)),t}function VZ(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 jZ(e,n,t){return qZ(e,(e=>VZ(e)&&95!==e),n,t)}function HZ(e,n,t){return n!==t&&n+1<e.length&&NZ(e.charCodeAt(n))&&DZ(e.charCodeAt(n+1))&&qZ(e,NZ,t,n)}function KZ(e,n,t){const r=NZ(e.charCodeAt(t-1));return NZ(e.charCodeAt(t))&&(!n||!r)}function WZ(e,n,t){for(let r=e;r<n;r++)if(!t(r))return!1;return!0}function qZ(e,n,t=0,r=e.length){return WZ(t,r,(t=>n(e.charCodeAt(t),t)))}var zZ=E({"src/services/patternMatcher.ts"(){ufe(),EZ=(e=>(e[e.exact=0]="exact",e[e.prefix=1]="prefix",e[e.substring=2]="substring",e[e.camelCase=3]="camelCase",e))(EZ||{})}});function JZ(e,n=!0,t=!1){const r={languageVersion:1,pragmas:void 0,checkJsDirective:void 0,referencedFiles:[],typeReferenceDirectives:[],libReferenceDirectives:[],amdDependencies:[],hasNoDefaultLib:void 0,moduleName:void 0},i=[];let a,o,s,c=0,l=!1;function d(){return o=s,s=$z.scan(),18===s?c++:19===s&&c--,s}function u(){const e=$z.getTokenValue(),n=$z.getTokenPos();return{fileName:e,pos:n,end:n+e.length}}function _(){i.push(u()),p()}function p(){0===c&&(l=!0)}function f(){let e=$z.getToken();return 136===e&&(e=d(),142===e&&(e=d(),10===e&&(a||(a=[]),a.push({ref:u(),depth:c}))),!0)}function m(){if(24===o)return!1;let e=$z.getToken();if(100===e){if(e=d(),20===e){if(e=d(),10===e||14===e)return _(),!0}else{if(10===e)return _(),!0;if(154===e&&$z.lookAhead((()=>{const e=$z.scan();return 158!==e&&(41===e||18===e||79===e||hy(e))}))&&(e=d()),79===e||hy(e))if(e=d(),158===e){if(e=d(),10===e)return _(),!0}else if(63===e){if(g(!0))return!0}else{if(27!==e)return!0;e=d()}if(18===e){for(e=d();19!==e&&1!==e;)e=d();19===e&&(e=d(),158===e&&(e=d(),10===e&&_()))}else 41===e&&(e=d(),128===e&&(e=d(),(79===e||hy(e))&&(e=d(),158===e&&(e=d(),10===e&&_()))))}return!0}return!1}function h(){let e=$z.getToken();if(93===e){if(p(),e=d(),154===e&&$z.lookAhead((()=>{const e=$z.scan();return 41===e||18===e}))&&(e=d()),18===e){for(e=d();19!==e&&1!==e;)e=d();19===e&&(e=d(),158===e&&(e=d(),10===e&&_()))}else if(41===e)e=d(),158===e&&(e=d(),10===e&&_());else if(100===e&&(e=d(),154===e&&$z.lookAhead((()=>{const e=$z.scan();return 79===e||hy(e)}))&&(e=d()),(79===e||hy(e))&&(e=d(),63===e&&g(!0))))return!0;return!0}return!1}function g(e,n=!1){let t=e?d():$z.getToken();return 147===t&&(t=d(),20===t&&(t=d(),(10===t||n&&14===t)&&_()),!0)}function y(){let e=$z.getToken();if(79===e&&"define"===$z.getTokenValue()){if(e=d(),20!==e)return!0;if(e=d(),10===e||14===e){if(e=d(),27!==e)return!0;e=d()}if(22!==e)return!0;for(e=d();23!==e&&1!==e;)10!==e&&14!==e||_(),e=d();return!0}return!1}if(n&&function(){for($z.setText(e),d();1!==$z.getToken();){if(15===$z.getToken()){const e=[$z.getToken()];e:for(;S(e);){const n=$z.scan();switch(n){case 1:break e;case 100:m();break;case 15:e.push(n);break;case 18:S(e)&&e.push(n);break;case 19:S(e)&&(15===Fe(e)?17===$z.reScanTemplateToken(!1)&&e.pop():e.pop())}}d()}f()||m()||h()||t&&(g(!1,!0)||y())||d()}$z.setText(void 0)}(),DD(r,e),OD(r,xn),l){if(a)for(const e of a)i.push(e.ref);return{referencedFiles:r.referencedFiles,typeReferenceDirectives:r.typeReferenceDirectives,libReferenceDirectives:r.libReferenceDirectives,importedFiles:i,isLibFile:!!r.hasNoDefaultLib,ambientExternalModules:void 0}}{let e;if(a)for(const n of a)0===n.depth?(e||(e=[]),e.push(n.ref.fileName)):i.push(n.ref);return{referencedFiles:r.referencedFiles,typeReferenceDirectives:r.typeReferenceDirectives,libReferenceDirectives:r.libReferenceDirectives,importedFiles:i,isLibFile:!!r.hasNoDefaultLib,ambientExternalModules:e}}}var XZ,YZ=E({"src/services/preProcess.ts"(){ufe()}});function $Z(e){const n=lt(e.useCaseSensitiveFileNames()),t=e.getCurrentDirectory(),r=new Map,i=new Map;return{tryGetSourcePosition:function e(n){if(!ND(n.fileName))return;if(!s(n.fileName))return;const t=o(n.fileName).getSourcePosition(n);return t&&t!==n?e(t)||t:void 0},tryGetGeneratedPosition:function(r){if(ND(r.fileName))return;const i=s(r.fileName);if(!i)return;const a=e.getProgram();if(a.isSourceOfProjectReferenceRedirect(i.fileName))return;const c=kv(a.getCompilerOptions()),l=c?Hx(c)+".d.ts":Av(r.fileName,a.getCompilerOptions(),t,a.getCommonSourceDirectory(),n);if(void 0===l)return;const d=o(l,r.fileName).getGeneratedPosition(r);return d===r?void 0:d},toLineColumnOffset:function(e,n){return c(e).getLineAndCharacterOfPosition(n)},clearCache:function(){r.clear(),i.clear()}};function a(e){return xo(e,t,n)}function o(t,r){const o=a(t),s=i.get(o);if(s)return s;let l;if(e.getDocumentPositionMapper)l=e.getDocumentPositionMapper(t,r);else if(e.readFile){const r=c(t);l=r&&QZ({getSourceFileLike:c,getCanonicalFileName:n,log:n=>e.log(n)},t,bB(r.text,hs(r)),(n=>!e.fileExists||e.fileExists(n)?e.readFile(n):void 0))}return i.set(o,l||gB),l||gB}function s(n){const t=e.getProgram();if(!t)return;const r=a(n),i=t.getSourceFileByPath(r);return i&&i.resolvedPath===r?i:void 0}function c(n){return e.getSourceFileLike?e.getSourceFileLike(n):s(n)||function(n){const t=a(n),i=r.get(t);if(void 0!==i)return i||void 0;if(!e.readFile||e.fileExists&&!e.fileExists(t))return void r.set(t,!1);const o=e.readFile(t),s=!!o&&function(e,n){return{text:e,lineMap:void 0,getLineAndCharacterOfPosition(e){return gs(hs(this),e)}}}(o);return r.set(t,s),s||void 0}(n)}}function QZ(e,n,t,r){let i=EB(t);if(i){const t=XZ.exec(i);if(t){if(t[1]){const r=t[1];return ZZ(e,iE(Sa,r),n)}i=void 0}}const a=[];i&&a.push(i),a.push(n+".map");const o=i&&bo(i,co(n));for(const t of a){const i=bo(t,co(n)),a=r(i,o);if(vn(a))return ZZ(e,a,i);if(void 0!==a)return a||void 0}}function ZZ(e,n,t){const r=SB(n);if(r&&r.sources&&r.file&&r.mappings&&(!r.sourcesContent||!r.sourcesContent.some(vn)))return OB(e,r,t)}var e0,n0=E({"src/services/sourcemaps.ts"(){ufe(),ufe(),XZ=/^data:(?:application\/json(?:;charset=[uU][tT][fF]-8);base64,([A-Za-z0-9+\/=]+)$)?/}});function t0(e,n,t){n.getSemanticDiagnostics(e,t);const r=[],i=n.getTypeChecker();var a;1!==e.impliedNodeFormat&&!ro(e.fileName,[".cts",".cjs"])&&e.commonJsModuleIndicator&&(_Y(n)||pY(n.getCompilerOptions()))&&function(e){return e.statements.some((e=>{switch(e.kind){case 240:return e.declarationList.declarations.some((e=>!!e.initializer&&wh(r0(e.initializer),!0)));case 241:{const{expression:n}=e;if(!qk(n))return wh(n,!0);const t=Yh(n);return 1===t||2===t}default:return!1}}))}(e)&&r.push(Hf(qk(a=e.commonJsModuleIndicator)?a.left:a,Vo.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module));const o=xh(e);if(e0.clear(),function n(t){if(o)(function(e,n){var t,r,i,a;if(Gk(e)){if(kI(e.parent)&&(null==(t=e.symbol.members)?void 0:t.size))return!0;const a=n.getSymbolOfExpando(e,!1);return!(!a||!(null==(r=a.exports)?void 0:r.size)&&!(null==(i=a.members)?void 0:i.size))}return!!wI(e)&&!!(null==(a=e.symbol.members)?void 0:a.size)})(t,i)&&r.push(Hf(kI(t.parent)?t.parent.name:t,Vo.This_constructor_function_may_be_converted_to_a_class_declaration));else{if(dI(t)&&t.parent===e&&2&t.declarationList.flags&&1===t.declarationList.declarations.length){const e=t.declarationList.declarations[0].initializer;e&&wh(e,!0)&&r.push(Hf(e,Vo.require_call_may_be_converted_to_an_import))}Ote.parameterShouldGetTypeFromJSDoc(t)&&r.push(Hf(t.name||t,Vo.JSDoc_types_may_be_moved_to_TypeScript_types))}_0(t)&&function(e,n,t){(function(e,n){return!Ay(e)&&e.body&&lI(e.body)&&function(e,n){return!!Em(e,(e=>o0(e,n)))}(e.body,n)&&a0(e,n)})(e,n)&&!e0.has(u0(e))&&t.push(Hf(!e.name&&kI(e.parent)&&AC(e.parent.name)?e.parent.name:e,Vo.This_may_be_converted_to_an_async_function))}(t,i,r),t.forEachChild(n)}(e),$T(n.getCompilerOptions()))for(const t of e.imports){const i=i0(pg(t));if(!i)continue;const a=yp(e,t.text,gH(e,t)),o=a&&n.getSourceFile(a.resolvedFileName);o&&o.externalModuleIndicator&&!0!==o.externalModuleIndicator&&XI(o.externalModuleIndicator)&&o.externalModuleIndicator.isExportEquals&&r.push(Hf(i,Vo.Import_may_be_converted_to_a_default_import))}return Ae(r,e.bindSuggestionDiagnostics),Ae(r,n.getSuggestionDiagnostics(e,t)),r.sort(((e,n)=>e.start-n.start))}function r0(e){return Rk(e)?r0(e.expression):e}function i0(e){switch(e.kind){case 269:const{importClause:n,moduleSpecifier:t}=e;return n&&!n.name&&n.namedBindings&&271===n.namedBindings.kind&&cC(t)?n.namedBindings.name:void 0;case 268:return e.name;default:return}}function a0(e,n){const t=n.getSignatureFromDeclaration(e),r=t?n.getReturnTypeOfSignature(t):void 0;return!!r&&!!n.getPromisedTypeOfPromise(r)}function o0(e,n){return EI(e)&&!!e.expression&&s0(e.expression,n)}function s0(e,n){if(!c0(e)||!l0(e)||!e.arguments.every((e=>d0(e,n))))return!1;let t=e.expression.expression;for(;c0(t)||Rk(t);)if(Dk(t)){if(!l0(t)||!t.arguments.every((e=>d0(e,n))))return!1;t=t.expression.expression}else t=t.expression;return!0}function c0(e){return Dk(e)&&(xJ(e,"then")||xJ(e,"catch")||xJ(e,"finally"))}function l0(e){const n=e.expression.name.text,t="then"===n?2:"catch"===n||"finally"===n?1:0;return!(e.arguments.length>t)&&(e.arguments.length<t||1===t||ce(e.arguments,(e=>104===e.kind||AC(e)&&"undefined"===e.text)))}function d0(e,n){switch(e.kind){case 259:case 215:if(1&Sy(e))return!1;case 216:e0.set(u0(e),!0);case 104:return!0;case 79:case 208:{const t=n.getSymbolAtLocation(e);return!!t&&(n.isUndefinedSymbol(t)||ce(ME(t,n).declarations,(e=>Ad(e)||$u(e)&&!!e.initializer&&Ad(e.initializer))))}default:return!1}}function u0(e){return`${e.pos.toString()}:${e.end.toString()}`}function _0(e){switch(e.kind){case 259:case 171:case 215:case 216:return!0;default:return!1}}var p0,f0,m0=E({"src/services/suggestionDiagnostics.ts"(){ufe(),e0=new Map}});function h0(e,n){const t=[],r=n.compilerOptions?y0(n.compilerOptions,t):{},i={target:1,jsx:1};for(const e in i)qe(i,e)&&void 0===r[e]&&(r[e]=i[e]);for(const e of rO)r.verbatimModuleSyntax&&p0.has(e.name)||(r[e.name]=e.transpileOptionValue);r.suppressOutputPathCheck=!0,r.allowNonTsExtensions=!0;const a=cE(r),o={getSourceFile:e=>e===Eo(s)?c:void 0,writeFile:(e,n)=>{to(e,".map")?(Nt.assertEqual(d,void 0,"Unexpected multiple source map outputs, file:",e),d=n):(Nt.assertEqual(l,void 0,"Unexpected multiple outputs, file:",e),l=n)},getDefaultLibFileName:()=>"lib.d.ts",useCaseSensitiveFileNames:()=>!1,getCanonicalFileName:e=>e,getCurrentDirectory:()=>"",getNewLine:()=>a,fileExists:e=>e===s,readFile:()=>"",directoryExists:()=>!0,getDirectories:()=>[]},s=n.fileName||(n.compilerOptions&&n.compilerOptions.jsx?"module.tsx":"module.ts"),c=AD(s,e,{languageVersion:BT(r),impliedNodeFormat:RH(xo(s,"",o.getCanonicalFileName),void 0,o,r),setExternalModuleIndicator:GT(r)});let l,d;n.moduleName&&(c.moduleName=n.moduleName),n.renamedDependencies&&(c.renamedDependencies=new Map(Object.entries(n.renamedDependencies)));const u=DH([s],r,o);return n.reportDiagnostics&&(Ae(t,u.getSyntacticDiagnostics(c)),Ae(t,u.getOptionsDiagnostics())),u.emit(void 0,void 0,void 0,void 0,n.transformers),void 0===l?Nt.fail("Output generation failed"):{outputText:l,diagnostics:t,sourceMapText:d}}function g0(e,n,t,r,i){const a=h0(e,{compilerOptions:n,fileName:t,reportDiagnostics:!!r,moduleName:i});return Ae(r,a.diagnostics),a.outputText}function y0(e,n){f0=f0||j(YD,(e=>"object"==typeof e.type&&!pp(e.type,(e=>"number"!=typeof e)))),e=HX(e);for(const t of f0){if(!qe(e,t.name))continue;const r=e[t.name];vn(r)?e[t.name]=wO(t,r,n):pp(t.type,(e=>e===r))||n.push(kO(t))}return e}var v0=E({"src/services/transpile.ts"(){ufe(),p0=new Set(["isolatedModules","preserveValueImports","importsNotUsedAsValues"])}});function b0(e,n,t,r,a,o){const s=SZ(r);if(!s)return i;const c=[];for(const r of e)t.throwIfCancellationRequested(),o&&r.isDeclarationFile||r.getNamedDeclarations().forEach(((e,t)=>{E0(s,t,e,n,r.fileName,c)}));return c.sort(C0),(void 0===a?c:c.slice(0,a)).map(k0)}function E0(e,n,t,r,i,a){const o=e.getMatchForLastSegmentOfPattern(n);if(o)for(const s of t)if(T0(s,r))if(e.patternContainsDots){const t=e.getFullMatch(L0(s),n);t&&a.push({name:n,fileName:i,matchKind:t.kind,isCaseSensitive:t.isCaseSensitive,declaration:s})}else a.push({name:n,fileName:i,matchKind:o.kind,isCaseSensitive:o.isCaseSensitive,declaration:s})}function T0(e,n){switch(e.kind){case 270:case 273:case 268:const t=n.getSymbolAtLocation(e.name),r=n.getAliasedSymbol(t);return t.escapedName!==r.escapedName;default:return!0}}function x0(e,n){const t=Wc(e);return!!t&&(A0(t,n)||164===t.kind&&S0(t.expression,n))}function S0(e,n){return A0(e,n)||Rk(e)&&(n.push(e.name.text),!0)&&S0(e.expression,n)}function A0(e,n){return Ry(e)&&(n.push(Ny(e)),!0)}function L0(e){const n=[],t=Wc(e);if(t&&164===t.kind&&!S0(t.expression,n))return i;n.shift();let r=MJ(e);for(;r;){if(!x0(r,n))return i;r=MJ(r)}return n.reverse()}function C0(e,n){return Un(e.matchKind,n.matchKind)||Xn(e.name,n.name)}function k0(e){const n=e.declaration,t=MJ(n),r=t&&Wc(t);return{name:e.name,kind:PJ(n),kindModifiers:MX(n),matchKind:EZ[e.matchKind],isCaseSensitive:e.isCaseSensitive,fileName:e.fileName,textSpan:XX(n),containerName:r?r.text:"",containerKind:r?PJ(t):""}}var I0=E({"src/services/navigateTo.ts"(){ufe()}}),w0={};T(w0,{getNavigateToItems:()=>b0});var R0,N0,D0,O0,M0,P0,F0,G0,B0,U0,V0=E({"src/services/_namespaces/ts.NavigateTo.ts"(){I0()}});function j0(e,n){D0=n,O0=e;try{return W(function(e){const n=[];return function e(t){if(function(e){if(e.children)return!0;switch(q0(e)){case 260:case 228:case 263:case 261:case 264:case 308:case 262:case 349:case 341:return!0;case 216:case 259:case 215:return n(e);default:return!1}function n(e){if(!e.node.body)return!1;switch(q0(e.parent)){case 265:case 308:case 171:case 173:return!0;default:return!1}}}(t)&&(n.push(t),t.children))for(const n of t.children)e(n)}(e),n}(J0(e)),h1)}finally{K0()}}function H0(e,n){D0=n,O0=e;try{return m1(J0(e))}finally{K0()}}function K0(){O0=void 0,D0=void 0,M0=[],P0=void 0,B0=[]}function W0(e){return L1(e.getText(O0))}function q0(e){return e.node.kind}function z0(e,n){e.children?e.children.push(n):e.children=[n]}function J0(e){Nt.assert(!M0.length);const n={node:e,name:void 0,additionalNodes:void 0,parent:void 0,children:void 0,indent:0};P0=n;for(const n of e.statements)a1(n);return n1(),Nt.assert(!P0&&!M0.length),n}function X0(e,n){z0(P0,Y0(e,n))}function Y0(e,n){return{node:e,name:n||(Nu(e)||uu(e)?Wc(e):void 0),additionalNodes:void 0,parent:P0,children:void 0,indent:P0.indent+1}}function $0(e){G0||(G0=new Map),G0.set(e,!0)}function Q0(e){for(let n=0;n<e;n++)n1()}function Z0(e,n){const t=[];for(;!Ry(n);){const e=rg(n),r=ag(n);n=n.expression,"prototype"===r||LC(e)||t.push(e)}t.push(n);for(let n=t.length-1;n>0;n--)e1(e,t[n]);return[t.length-1,t[0]]}function e1(e,n){const t=Y0(e,n);z0(P0,t),M0.push(P0),F0.push(G0),G0=void 0,P0=t}function n1(){P0.children&&(o1(P0.children,P0),u1(P0.children)),P0=M0.pop(),G0=F0.pop()}function t1(e,n,t){e1(e,t),a1(n),n1()}function r1(e){e.initializer&&function(e){switch(e.kind){case 216:case 215:case 228:return!0;default:return!1}}(e.initializer)?(e1(e),ED(e.initializer,a1),n1()):t1(e,e.initializer)}function i1(e){return!ky(e)||223!==e.kind&&Rk(e.name.expression)&&AC(e.name.expression.expression)&&"Symbol"===Pc(e.name.expression.expression)}function a1(e){if(D0.throwIfCancellationRequested(),e&&!ed(e))switch(e.kind){case 173:const n=e;t1(n,n.body);for(const e of n.parameters)Ec(e,n)&&X0(e);break;case 171:case 174:case 175:case 170:i1(e)&&t1(e,e.body);break;case 169:i1(e)&&r1(e);break;case 168:i1(e)&&X0(e);break;case 270:const t=e;t.name&&X0(t.name);const{namedBindings:r}=t;if(r)if(271===r.kind)X0(r);else for(const e of r.elements)X0(e);break;case 300:t1(e,e.name);break;case 301:const{expression:i}=e;AC(i)?X0(e,i):X0(e);break;case 205:case 299:case 257:{const n=e;Kd(n.name)?a1(n.name):r1(n);break}case 259:const a=e.name;a&&AC(a)&&$0(a.text),t1(e,e.body);break;case 216:case 215:t1(e,e.body);break;case 263:e1(e);for(const n of e.members)E1(n)||X0(n);n1();break;case 260:case 228:case 261:e1(e);for(const n of e.members)a1(n);n1();break;case 264:t1(e,b1(e).body);break;case 274:{const n=e.expression,t=wk(n)||Dk(n)?n:Bk(n)||Gk(n)?n.body:void 0;t?(e1(e),a1(t),n1()):X0(e);break}case 278:case 268:case 178:case 176:case 177:case 262:X0(e);break;case 210:case 223:{const n=Yh(e);switch(n){case 1:case 2:return void t1(e,e.right);case 6:case 3:{const t=e,r=t.left,i=3===n?r.expression:r;let a,o=0;return AC(i.expression)?($0(i.expression.text),a=i.expression):[o,a]=Z0(t,i.expression),6===n?wk(t.right)&&t.right.properties.length>0&&(e1(t,a),ED(t.right,a1),n1()):Gk(t.right)||Bk(t.right)?t1(e,t.right,a):(e1(t,a),t1(e,t.right,r.name),n1()),void Q0(o)}case 7:case 9:{const t=e,r=7===n?t.arguments[0]:t.arguments[0].expression,i=t.arguments[1],[a,o]=Z0(e,r);return e1(e,o),e1(e,MN(pA.createIdentifier(i.text),i)),a1(e.arguments[2]),n1(),n1(),void Q0(a)}case 5:{const n=e,t=n.left,r=t.expression;if(AC(r)&&"prototype"!==ag(t)&&G0&&G0.has(r.text))return void(Gk(n.right)||Bk(n.right)?t1(e,n.right,r):eg(t)&&(e1(n,r),t1(n.left,n.right,rg(t)),n1()));break}case 4:case 0:case 8:break;default:Nt.assertNever(n)}}default:Xu(e)&&A(e.jsDoc,(e=>{A(e.tags,(e=>{Eg(e)&&X0(e)}))})),ED(e,a1)}}function o1(e,n){const t=new Map;H(e,((e,r)=>{const i=e.name||Wc(e.node),a=i&&W0(i);if(!a)return!0;const o=t.get(a);if(!o)return t.set(a,e),!0;if(o instanceof Array){for(const t of o)if(s1(t,e,r,n))return!1;return o.push(e),!0}{const i=o;return!s1(i,e,r,n)&&(t.set(a,[i,e]),!0)}}))}function s1(e,n,t,r){return!!function(e,n,t,r){function i(e){return Gk(e)||wI(e)||kI(e)}const a=qk(n.node)||Dk(n.node)?Yh(n.node):0,o=qk(e.node)||Dk(e.node)?Yh(e.node):0;if(U0[a]&&U0[o]||i(e.node)&&U0[a]||i(n.node)&&U0[o]||RI(e.node)&&c1(e.node)&&U0[a]||RI(n.node)&&U0[o]||RI(e.node)&&c1(e.node)&&i(n.node)||RI(n.node)&&i(e.node)&&c1(e.node)){let a=e.additionalNodes&&Fe(e.additionalNodes)||e.node;if(!RI(e.node)&&!RI(n.node)||i(e.node)||i(n.node)){const t=i(e.node)?e.node:i(n.node)?n.node:void 0;if(void 0!==t){const r=Y0(MN(pA.createConstructorDeclaration(void 0,[],void 0),t));r.indent=e.indent+1,r.children=e.node===t?e.children:n.children,e.children=e.node===t?de([r],n.children||[n]):de(e.children||[{...e}],[r])}else(e.children||n.children)&&(e.children=de(e.children||[{...e}],n.children||[n]),e.children&&(o1(e.children,e),u1(e.children)));a=e.node=MN(pA.createClassDeclaration(void 0,e.name||pA.createIdentifier("__class__"),void 0,void 0,[]),e.node)}else e.children=de(e.children,n.children),e.children&&o1(e.children,e);const o=n.node;return r.children[t-1].node.end===a.end?MN(a,{pos:a.pos,end:o.end}):(e.additionalNodes||(e.additionalNodes=[]),e.additionalNodes.push(MN(pA.createClassDeclaration(void 0,e.name||pA.createIdentifier("__class__"),void 0,void 0,[]),n.node))),!0}return 0!==a}(e,n,t,r)||!!function(e,n,t){if(e.kind!==n.kind||e.parent!==n.parent&&(!l1(e,t)||!l1(n,t)))return!1;switch(e.kind){case 169:case 171:case 174:case 175:return ub(e)===ub(n);case 264:return d1(e,n)&&v1(e)===v1(n);default:return!0}}(e.node,n.node,r)&&(a=n,(i=e).additionalNodes=i.additionalNodes||[],i.additionalNodes.push(a.node),a.additionalNodes&&i.additionalNodes.push(...a.additionalNodes),i.children=de(i.children,a.children),i.children&&(o1(i.children,i),u1(i.children)),!0);var i,a}function c1(e){return!!(8&e.flags)}function l1(e,n){const t=PI(e.parent)?e.parent.parent:e.parent;return t===n.node||G(n.additionalNodes,t)}function d1(e,n){return e.body&&n.body?e.body.kind===n.body.kind&&(264!==e.body.kind||d1(e.body,n.body)):e.body===n.body}function u1(e){e.sort(_1)}function _1(e,n){return Xn(p1(e.node),p1(n.node))||Un(q0(e),q0(n))}function p1(e){if(264===e.kind)return y1(e);const n=Wc(e);if(n&&xd(n)){const e=wy(n);return e&&Mc(e)}switch(e.kind){case 215:case 216:case 228:return S1(e);default:return}}function f1(e,n){if(264===e.kind)return L1(y1(e));if(n){const e=AC(n)?n.text:Nk(n)?`[${W0(n.argumentExpression)}]`:W0(n);if(e.length>0)return L1(e)}switch(e.kind){case 308:const n=e;return kD(n)?`"${ov(lo(Hx(Eo(n.fileName))))}"`:"<global>";case 274:return XI(e)&&e.isExportEquals?"export=":"default";case 216:case 259:case 215:case 260:case 228:return 1024&Sb(e)?"default":S1(e);case 173:return"constructor";case 177:return"new()";case 176:return"()";case 178:return"[]";default:return"<unknown>"}}function m1(e){return{text:f1(e.node,e.name),kind:PJ(e.node),kindModifiers:x1(e.node),spans:g1(e),nameSpan:e.name&&T1(e.name),childItems:W(e.children,m1)}}function h1(e){return{text:f1(e.node,e.name),kind:PJ(e.node),kindModifiers:x1(e.node),spans:g1(e),childItems:W(e.children,(function(e){return{text:f1(e.node,e.name),kind:PJ(e.node),kindModifiers:MX(e.node),spans:g1(e),childItems:B0,indent:0,bolded:!1,grayed:!1}}))||B0,indent:e.indent,bolded:!1,grayed:!1}}function g1(e){const n=[T1(e.node)];if(e.additionalNodes)for(const t of e.additionalNodes)n.push(T1(t));return n}function y1(e){return ff(e)?tf(e.name):v1(e)}function v1(e){const n=[Ny(e.name)];for(;e.body&&264===e.body.kind;)e=e.body,n.push(Ny(e.name));return n.join(".")}function b1(e){return e.body&&MI(e.body)?b1(e.body):e}function E1(e){return!e.name||164===e.name.kind}function T1(e){return 308===e.kind?QX(e):XX(e,O0)}function x1(e){return e.parent&&257===e.parent.kind&&(e=e.parent),MX(e)}function S1(e){const{parent:n}=e;if(e.name&&gp(e.name)>0)return L1(Ff(e.name));if(kI(n))return L1(Ff(n.name));if(qk(n)&&63===n.operatorToken.kind)return W0(n.left).replace(R0,"");if(bw(n))return W0(n.name);if(1024&Sb(e))return"default";if(Dd(e))return"<class>";if(Dk(n)){let e=A1(n.expression);if(void 0!==e)return e=L1(e),e.length>N0?`${e} callback`:`${e}(${L1(ee(n.arguments,(e=>t_(e)?e.getText(O0):void 0)).join(", "))}) callback`}return"<function>"}function A1(e){if(AC(e))return e.text;if(Rk(e)){const n=A1(e.expression),t=e.name.text;return void 0===n?t:`${n}.${t}`}}function L1(e){return(e=e.length>N0?e.substring(0,N0)+"...":e).replace(/\\?(\r?\n|\r|\u2028|\u2029)/g,"")}var C1=E({"src/services/navigationBar.ts"(){ufe(),R0=/\s+/g,N0=150,M0=[],F0=[],B0=[],U0={5:!0,3:!0,7:!0,9:!0,0:!1,1:!1,2:!1,8:!1,6:!0,4:!1}}}),k1={};T(k1,{getNavigationBarItems:()=>j0,getNavigationTree:()=>H0});var I1,w1,R1,N1,D1,O1,M1,P1,F1,G1,B1,U1,V1,j1,H1,K1,W1,q1=E({"src/services/_namespaces/ts.NavigationBar.ts"(){C1()}});function z1(e,n,t,r){const i=Ql(e)?new w1(e,n,t):79===e?new O1(79,n,t):80===e?new M1(80,n,t):new D1(e,n,t);return i.parent=r,i.flags=50720768&r.flags,i}function J1(e,n,t,r){for($z.setTextPos(n);n<t;){const i=$z.scan(),a=$z.getTextPos();if(a<=t){if(79===i){if(qS(r))continue;Nt.fail(`Did not expect ${Nt.formatSyntaxKind(r.kind)} to have an Identifier in its trivia`)}e.push(z1(i,n,a,r))}if(n=a,1===i)break}}function X1(e){return Al(e).some((e=>"inheritDoc"===e.tagName.text||"inheritdoc"===e.tagName.text))}function Y1(e,n){if(!e)return i;let t=loe.getJsDocTagsFromDeclarations(e,n);if(n&&(0===t.length||e.some(X1))){const r=new Set;for(const i of e){const e=Q1(n,i,(e=>{var t;if(!r.has(e))return r.add(e),174===i.kind||175===i.kind?e.getContextualJsDocTags(i,n):1===(null==(t=e.declarations)?void 0:t.length)?e.getJsDocTags():void 0}));e&&(t=[...e,...t])}}return t}function $1(e,n){if(!e)return i;let t=loe.getJsDocCommentsFromDeclarations(e,n);if(n&&(0===t.length||e.some(X1))){const r=new Set;for(const i of e){const e=Q1(n,i,(e=>{if(!r.has(e))return r.add(e),174===i.kind||175===i.kind?e.getContextualDocumentationComment(i,n):e.getDocumentationComment(n)}));e&&(t=0===t.length?e.slice():e.concat(i$(),t))}}return t}function Q1(e,n,t){var r;const i=173===(null==(r=n.parent)?void 0:r.kind)?n.parent.parent:n.parent;if(!i)return;const a=_b(n);return C(_y(i),(r=>{const i=e.getTypeAtLocation(r),o=a&&i.symbol?e.getTypeOfSymbol(i.symbol):i,s=e.getPropertyOfType(o,n.symbol.name);return s?t(s):void 0}))}function Z1(e){let n=!0;for(const t in e)if(qe(e,t)&&!e2(t)){n=!1;break}if(n)return e;const t={};for(const n in e)qe(e,n)&&(t[e2(n)?n:n.charAt(0).toLowerCase()+n.substr(1)]=e[n]);return t}function e2(e){return!e.length||e.charAt(0)===e.charAt(0).toLowerCase()}function n2(e){return e?W(e,(e=>e.text)).join(""):""}function t2(){return{target:1,jsx:1}}function r2(){return Ote.getSupportedErrorCodes()}function i2(e,n,t){e.version=t,e.scriptSnapshot=n}function a2(e,n,t,r,i,a){const o=AD(e,sY(n),t,i,a);return i2(o,n,r),o}function o2(e,n,t,r,i){if(r&&t!==e.version){let a;const o=0!==r.span.start?e.text.substr(0,r.span.start):"",s=tc(r.span)!==e.text.length?e.text.substr(tc(r.span)):"";if(0===r.newLength)a=o&&s?o+s:o||s;else{const e=n.getText(r.span.start,r.span.start+r.newLength);a=o&&s?o+e+s:o?o+e:e+s}const c=ID(e,a,r,i);return i2(c,n,t),c.nameTable=void 0,e!==c&&e.scriptSnapshot&&(e.scriptSnapshot.dispose&&e.scriptSnapshot.dispose(),e.scriptSnapshot=void 0),c}const a={languageVersion:e.languageVersion,impliedNodeFormat:e.impliedNodeFormat,setExternalModuleIndicator:e.setExternalModuleIndicator};return a2(e.fileName,n,a,t,!0,e.scriptKind)}function s2(e,n=cZ(e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames(),e.getCurrentDirectory()),t){var r;let a;a=void 0===t?0:"boolean"==typeof t?t?2:0:t;const o=new U1(e);let s,c,l=0;const d=e.getCancellationToken?new j1(e.getCancellationToken()):V1,u=e.getCurrentDirectory();function _(n){e.log&&e.log(n)}yT(null==(r=e.getLocalizedDiagnosticMessages)?void 0:r.bind(e));const p=gv(e),f=lt(p),m=$Z({useCaseSensitiveFileNames:()=>p,getCurrentDirectory:()=>u,getProgram:y,fileExists:dn(e,e.fileExists),readFile:dn(e,e.readFile),getDocumentPositionMapper:dn(e,e.getDocumentPositionMapper),getSourceFileLike:dn(e,e.getSourceFileLike),log:_});function h(e){const n=s.getSourceFile(e);if(!n){const n=new Error(`Could not find source file: '${e}'.`);throw n.ProgramFiles=s.getSourceFiles().map((e=>e.fileName)),n}return n}function g(){var t,r,i;if(Nt.assert(2!==a),e.getProjectVersion){const n=e.getProjectVersion();if(n){if(c===n&&!(null==(t=e.hasChangedAutomaticTypeDirectiveNames)?void 0:t.call(e)))return;c=n}}const o=e.getTypeRootsVersion?e.getTypeRootsVersion():0;l!==o&&(_("TypeRoots version has changed; provide new program"),s=void 0,l=o);const h=e.getScriptFileNames().slice(),g=e.getCompilationSettings()||{target:1,jsx:1},y=e.hasInvalidatedResolutions||Sn,v=dn(e,e.hasChangedAutomaticTypeDirectiveNames),b=null==(r=e.getProjectReferences)?void 0:r.call(e);let E,T={getSourceFile:I,getSourceFileByPath:w,getCancellationToken:()=>d,getCanonicalFileName:f,useCaseSensitiveFileNames:()=>p,getNewLine:()=>cE(g),getDefaultLibFileName:n=>e.getDefaultLibFileName(n),writeFile:xn,getCurrentDirectory:()=>u,fileExists:n=>e.fileExists(n),readFile:n=>e.readFile&&e.readFile(n),getSymlinkCache:dn(e,e.getSymlinkCache),realpath:dn(e,e.realpath),directoryExists:n=>sE(n,e),getDirectories:n=>e.getDirectories?e.getDirectories(n):[],readDirectory:(n,t,r,i,a)=>(Nt.checkDefined(e.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'"),e.readDirectory(n,t,r,i,a)),onReleaseOldSourceFile:k,onReleaseParsedCommandLine:function(n,t,r){var i;e.getParsedCommandLine?null==(i=e.onReleaseParsedCommandLine)||i.call(e,n,t,r):t&&k(t.sourceFile,r)},hasInvalidatedResolutions:y,hasChangedAutomaticTypeDirectiveNames:v,trace:dn(e,e.trace),resolveModuleNames:dn(e,e.resolveModuleNames),getModuleResolutionCache:dn(e,e.getModuleResolutionCache),createHash:dn(e,e.createHash),resolveTypeReferenceDirectives:dn(e,e.resolveTypeReferenceDirectives),resolveModuleNameLiterals:dn(e,e.resolveModuleNameLiterals),resolveTypeReferenceDirectiveReferences:dn(e,e.resolveTypeReferenceDirectiveReferences),useSourceOfProjectReferenceRedirect:dn(e,e.useSourceOfProjectReferenceRedirect),getParsedCommandLine:C};const x=T.getSourceFile,{getSourceFileWithCache:S}=iH(T,(e=>xo(e,u,f)),((...e)=>x.call(T,...e)));T.getSourceFile=S,null==(i=e.setCompilerHost)||i.call(e,T);const A={useCaseSensitiveFileNames:p,fileExists:e=>T.fileExists(e),readFile:e=>T.readFile(e),readDirectory:(...e)=>T.readDirectory(...e),trace:T.trace,getCurrentDirectory:T.getCurrentDirectory,onUnRecoverableConfigFileDiagnostic:xn},L=n.getKeyForCompilationSettings(g);if(!IH(s,h,g,((n,t)=>e.getScriptVersion(t)),(e=>T.fileExists(e)),y,v,C,b))return s=DH({rootNames:h,options:g,host:T,oldProgram:s,projectReferences:b}),T=void 0,E=void 0,m.clearCache(),void s.getTypeChecker();function C(n){const t=xo(n,u,f),r=null==E?void 0:E.get(t);if(void 0!==r)return r||void 0;const i=e.getParsedCommandLine?e.getParsedCommandLine(n):function(e){const n=I(e,100);return n?(n.path=xo(e,u,f),n.resolvedPath=n.path,n.originalFileName=n.fileName,hM(n,A,bo(co(e),u),void 0,bo(e,u))):void 0}(n);return(E||(E=new Map)).set(t,i||!1),i}function k(e,t){const r=n.getKeyForCompilationSettings(t);n.releaseDocumentWithKey(e.resolvedPath,r,e.scriptKind,e.impliedNodeFormat)}function I(e,n,t,r){return w(e,xo(e,u,f),n,0,r)}function w(t,r,i,a,o){Nt.assert(T,"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.");const c=e.getScriptSnapshot(t);if(!c)return;const l=u$(t,e),d=e.getScriptVersion(t);if(!o){const a=s&&s.getSourceFileByPath(r);if(a){if(l===a.scriptKind)return n.updateDocumentWithKey(t,r,e,L,c,d,l,i);n.releaseDocumentWithKey(a.resolvedPath,n.getKeyForCompilationSettings(s.getCompilerOptions()),a.scriptKind,a.impliedNodeFormat)}}return n.acquireDocumentWithKey(t,r,e,L,c,d,l,i)}}function y(){if(2!==a)return g(),s;Nt.assert(void 0===s)}function v(e,n,t){const r=Eo(e);Nt.assert(t.some((e=>Eo(e)===r))),g();const i=ee(t,(e=>s.getSourceFile(e))),a=h(e);return iZ.getDocumentHighlights(s,d,a,n,i)}function b(e,n,t,r){g();const i=t&&t.use===bae.FindReferencesUse.Rename?s.getSourceFiles().filter((e=>!s.isSourceFileDefaultLibrary(e))):s.getSourceFiles();return bae.findReferenceOrRenameEntries(s,d,i,e,n,t,r)}const E=new Map(Object.entries({18:19,20:21,22:23,31:29}));function T(n){return Nt.assertEqual(n.type,"install package"),e.installPackage?e.installPackage({fileName:(t=n.file,xo(t,u,f)),packageName:n.packageName}):Promise.reject("Host does not implement `installPackage`");var t}function x(e,n){return{lineStarts:e.getLineStarts(),firstLine:e.getLineAndCharacterOfPosition(n.pos).line,lastLine:e.getLineAndCharacterOfPosition(n.end).line}}function S(e,n,t){const r=o.getCurrentSourceFile(e),i=[],{lineStarts:a,firstLine:s,lastLine:c}=x(r,n);let l=t||!1,d=Number.MAX_VALUE;const u=new Map,_=new RegExp(/\S/),p=LX(r,a[s]),f=p?"{/*":"//";for(let e=s;e<=c;e++){const n=r.text.substring(a[e],r.getLineEndOfPosition(a[e])),i=_.exec(n);i&&(d=Math.min(d,i.index),u.set(e.toString(),i.index),n.substr(i.index,f.length)!==f&&(l=void 0===t||t))}for(let t=s;t<=c;t++){if(s!==c&&a[t]===n.end)continue;const o=u.get(t.toString());void 0!==o&&(p?i.push.apply(i,L(e,{pos:a[t]+d,end:r.getLineEndOfPosition(a[t])},l,p)):l?i.push({newText:f,span:{length:0,start:a[t]+d}}):r.text.substr(a[t]+o,f.length)===f&&i.push({newText:"",span:{length:f.length,start:a[t]+o}}))}return i}function L(e,n,t,r){var i;const a=o.getCurrentSourceFile(e),s=[],{text:c}=a;let l=!1,d=t||!1;const u=[];let{pos:_}=n;const p=void 0!==r?r:LX(a,_),f=p?"{/*":"/*",m=p?"*/}":"*/",h=p?"\\{\\/\\*":"\\/\\*",g=p?"\\*\\/\\}":"\\*\\/";for(;_<=n.end;){const e=NX(a,_+(c.substr(_,f.length)===f?f.length:0));if(e)p&&(e.pos--,e.end++),u.push(e.pos),3===e.kind&&u.push(e.end),l=!0,_=e.end+1;else{const e=c.substring(_,n.end).search(`(${h})|(${g})`);d=void 0!==t?t:d||!PY(c,_,-1===e?n.end:_+e),_=-1===e?n.end+1:_+e+m.length}}if(d||!l){2!==(null==(i=NX(a,n.pos))?void 0:i.kind)&&me(u,n.pos,Un),me(u,n.end,Un);const e=u[0];c.substr(e,f.length)!==f&&s.push({newText:f,span:{length:0,start:e}});for(let e=1;e<u.length-1;e++)c.substr(u[e]-m.length,m.length)!==m&&s.push({newText:m,span:{length:0,start:u[e]}}),c.substr(u[e],f.length)!==f&&s.push({newText:f,span:{length:0,start:u[e]}});s.length%2!=0&&s.push({newText:m,span:{length:0,start:u[u.length-1]}})}else for(const e of u){const n=e-m.length>0?e-m.length:0,t=c.substr(n,m.length)===m?m.length:0;s.push({newText:"",span:{length:f.length,start:e-t}})}return s}function C({openingElement:e,closingElement:n,parent:t}){return!GD(e.tagName,n.tagName)||aw(t)&&GD(e.tagName,t.openingElement.tagName)&&C(t)}function k({closingFragment:e,parent:n}){return!!(131072&e.flags)||lw(n)&&k(n)}function I(n,t,r,i,a,o){const[s,c]="number"==typeof t?[t,void 0]:[t.pos,t.end];return{file:n,startPosition:s,endPosition:c,program:y(),host:e,formatContext:sfe.getFormatContext(i,e),cancellationToken:d,preferences:r,triggerReason:a,kind:o}}E.forEach(((e,n)=>E.set(e.toString(),Number(n))));const w={dispose:function(){if(s){const e=n.getKeyForCompilationSettings(s.getCompilerOptions());A(s.getSourceFiles(),(t=>n.releaseDocumentWithKey(t.resolvedPath,e,t.scriptKind,t.impliedNodeFormat))),s=void 0}e=void 0},cleanupSemanticCache:function(){s=void 0},getSyntacticDiagnostics:function(e){return g(),s.getSyntacticDiagnostics(h(e),d).slice()},getSemanticDiagnostics:function(e){g();const n=h(e),t=s.getSemanticDiagnostics(n,d);if(!tx(s.getCompilerOptions()))return t.slice();const r=s.getDeclarationDiagnostics(n,d);return[...t,...r]},getSuggestionDiagnostics:function(e){return g(),t0(h(e),s,d)},getCompilerOptionsDiagnostics:function(){return g(),[...s.getOptionsDiagnostics(d),...s.getGlobalDiagnostics(d)]},getSyntacticClassifications:function(e,n){return tZ(d,o.getCurrentSourceFile(e),n)},getSemanticClassifications:function(e,n,t){return g(),"2020"===(t||"original")?u4.v2020.getSemanticClassifications(s,d,h(e),n):YQ(s.getTypeChecker(),d,h(e),s.getClassifiableNames(),n)},getEncodedSyntacticClassifications:function(e,n){return rZ(d,o.getCurrentSourceFile(e),n)},getEncodedSemanticClassifications:function(e,n,t){return g(),"original"===(t||"original")?QQ(s.getTypeChecker(),d,h(e),s.getClassifiableNames(),n):u4.v2020.getEncodedSemanticClassifications(s,d,h(e),n)},getCompletionsAtPosition:function(n,t,r=Iz,i){const a={...r,includeCompletionsForModuleExports:r.includeCompletionsForModuleExports||r.includeExternalModuleExports,includeCompletionsWithInsertText:r.includeCompletionsWithInsertText||r.includeInsertTextCompletions};return g(),wie.getCompletionsAtPosition(e,s,_,h(n),t,a,r.triggerCharacter,r.triggerKind,d,i&&sfe.getFormatContext(i,e),r.includeSymbol)},getCompletionEntryDetails:function(n,t,r,i,a,o=Iz,c){return g(),wie.getCompletionEntryDetails(s,_,h(n),t,{name:r,source:a,data:c},e,i&&sfe.getFormatContext(i,e),o,d)},getCompletionEntrySymbol:function(n,t,r,i,a=Iz){return g(),wie.getCompletionEntrySymbol(s,_,h(n),t,{name:r,source:i},e,a)},getSignatureHelpItems:function(e,n,{triggerReason:t}=Iz){g();const r=h(e);return rue.getSignatureHelpItems(s,r,n,t,d)},getQuickInfoAtPosition:function(e,n){g();const t=h(e),r=dX(t,n);if(r===t)return;const i=s.getTypeChecker(),a=function(e){return Ok(e.parent)&&e.pos===e.parent.pos?e.parent.expression:dk(e.parent)&&e.pos===e.parent.pos||dm(e.parent)&&e.parent.name===e?e.parent:e}(r),o=function(e,n){const t=l2(e);if(t){const e=n.getContextualType(t.parent),r=e&&d2(t,n,e,!1);if(r&&1===r.length)return Me(r)}return n.getSymbolAtLocation(e)}(a,i);if(!o||i.isUnknownSymbol(o)){const e=function(e,n,t){switch(n.kind){case 79:return!LJ(n)&&!CJ(n)&&!Hl(n.parent);case 208:case 163:return!NX(e,t);case 108:case 194:case 106:case 199:return!0;case 233:return dm(n);default:return!1}}(t,a,n)?i.getTypeAtLocation(a):void 0;return e&&{kind:"",kindModifiers:"",textSpan:XX(a,t),displayParts:i.runWithCancellationToken(d,(n=>o$(n,e,MJ(a)))),documentation:e.symbol?e.symbol.getDocumentationComment(i):void 0,tags:e.symbol?e.symbol.getJsDocTags(i):void 0}}const{symbolKind:c,displayParts:l,documentation:u,tags:_}=i.runWithCancellationToken(d,(e=>Lue.getSymbolDisplayPartsDocumentationAndSymbolKind(e,o,t,MJ(a),a)));return{kind:c,kindModifiers:Lue.getSymbolModifiers(i,o),textSpan:XX(a,t),displayParts:l,documentation:u,tags:_}},getDefinitionAtPosition:function(e,n,t,r){return g(),Pae.getDefinitionAtPosition(s,h(e),n,t,r)},getDefinitionAndBoundSpan:function(e,n){return g(),Pae.getDefinitionAndBoundSpan(s,h(e),n)},getImplementationAtPosition:function(e,n){return g(),bae.getImplementationsAtPosition(s,d,s.getSourceFiles(),h(e),n)},getTypeDefinitionAtPosition:function(e,n){return g(),Pae.getTypeDefinitionAtPosition(s.getTypeChecker(),h(e),n)},getReferencesAtPosition:function(e,n){return g(),b(dX(h(e),n),n,{use:bae.FindReferencesUse.References},bae.toReferenceEntry)},findReferences:function(e,n){return g(),bae.findReferencedSymbols(s,d,s.getSourceFiles(),h(e),n)},getFileReferences:function(e){return g(),bae.Core.getReferencesForFileName(e,s,s.getSourceFiles()).map(bae.toReferenceEntry)},getOccurrencesAtPosition:function(e,n){return X(v(e,n,[e]),(e=>e.highlightSpans.map((n=>({fileName:e.fileName,textSpan:n.textSpan,isWriteAccess:"writtenReference"===n.kind,...n.isInString&&{isInString:!0},...n.contextSpan&&{contextSpan:n.contextSpan}})))))},getDocumentHighlights:v,getNameOrDottedNameSpan:function(e,n,t){const r=o.getCurrentSourceFile(e),i=dX(r,n);if(i===r)return;switch(i.kind){case 208:case 163:case 10:case 95:case 110:case 104:case 106:case 108:case 194:case 79:break;default:return}let a=i;for(;;)if(IJ(a)||kJ(a))a=a.parent;else{if(!RJ(a))break;if(264!==a.parent.parent.kind||a.parent.parent.body!==a.parent)break;a=a.parent.parent.name}return mc(a.getStart(),i.getEnd())},getBreakpointStatementAtPosition:function(e,n){const t=o.getCurrentSourceFile(e);return N2.spanInSourceFileAtLocation(t,n)},getNavigateToItems:function(e,n,t,r=!1){return g(),b0(t?[h(t)]:s.getSourceFiles(),s.getTypeChecker(),d,e,n,r)},getRenameInfo:function(e,n,t){return g(),Nde.getRenameInfo(s,h(e),n,t||{})},getSmartSelectionRange:function(e,n){return hue.getSmartSelectionRange(n,o.getCurrentSourceFile(e))},findRenameLocations:function(e,n,t,r,i){g();const a=h(e),o=lX(dX(a,n));if(Nde.nodeIsEligibleForRename(o)){if(AC(o)&&(sw(o.parent)||cw(o.parent))&&uv(o.escapedText)){const{openingElement:e,closingElement:n}=o.parent.parent;return[e,n].map((e=>{const n=XX(e.tagName,a);return{fileName:a.fileName,textSpan:n,...bae.toContextSpan(n,a,e.parent)}}))}return b(o,n,{findInStrings:t,findInComments:r,providePrefixAndSuffixTextForRename:i,use:bae.FindReferencesUse.Rename},((e,n,t)=>bae.toRenameLocation(e,n,t,i||!1)))}},getNavigationBarItems:function(e){return j0(o.getCurrentSourceFile(e),d)},getNavigationTree:function(e){return H0(o.getCurrentSourceFile(e),d)},getOutliningSpans:function(e){const n=o.getCurrentSourceFile(e);return Xoe.collectElements(n,d)},getTodoComments:function(e,n){g();const t=h(e);d.throwIfCancellationRequested();const r=t.text,i=[];if(n.length>0&&!rt(t.fileName,"/node_modules/")){const e=function(){const e="("+/(?:^(?:\s|\*)*)/.source+"|"+/(?:\/\/+\s*)/.source+"|"+/(?:\/\*+\s*)/.source+")",t="(?:"+W(n,(e=>"("+e.text.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")+")")).join("|")+")";return new RegExp(e+"("+t+/(?:.*?)/.source+")"+/(?:$|\*\/)/.source,"gim")}();let o;for(;o=e.exec(r);){d.throwIfCancellationRequested();const e=3;Nt.assert(o.length===n.length+e);const s=o[1],c=o.index+s.length;if(!NX(t,c))continue;let l;for(let t=0;t<n.length;t++)o[t+e]&&(l=n[t]);if(void 0===l)return Nt.fail();if((a=r.charCodeAt(c+l.text.length))>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57)continue;const u=o[2];i.push({descriptor:l,message:u,position:c})}}var a;return i},getBraceMatchingAtPosition:function(e,n){const t=o.getCurrentSourceFile(e),r=uX(t,n),a=r.getStart(t)===n?E.get(r.kind.toString()):void 0,s=a&&ZJ(r.parent,a,t);return s?[XX(r,t),XX(s,t)].sort(((e,n)=>e.start-n.start)):i},getIndentationAtPosition:function(e,n,t){let r=cr();const i=Z1(t),a=o.getCurrentSourceFile(e);_("getIndentationAtPosition: getCurrentSourceFile: "+(cr()-r)),r=cr();const s=sfe.SmartIndenter.getIndentation(n,a,i);return _("getIndentationAtPosition: computeIndentation : "+(cr()-r)),s},getFormattingEditsForRange:function(n,t,r,i){const a=o.getCurrentSourceFile(n);return sfe.formatSelection(t,r,a,sfe.getFormatContext(Z1(i),e))},getFormattingEditsForDocument:function(n,t){return sfe.formatDocument(o.getCurrentSourceFile(n),sfe.getFormatContext(Z1(t),e))},getFormattingEditsAfterKeystroke:function(n,t,r,i){const a=o.getCurrentSourceFile(n),s=sfe.getFormatContext(Z1(i),e);if(!NX(a,t))switch(r){case"{":return sfe.formatOnOpeningCurly(t,a,s);case"}":return sfe.formatOnClosingCurly(t,a,s);case";":return sfe.formatOnSemicolon(t,a,s);case"\n":return sfe.formatOnEnter(t,a,s)}return[]},getDocCommentTemplateAtPosition:function(n,t,r,i){const a=i?sfe.getFormatContext(i,e).options:void 0;return loe.getDocCommentTemplateAtPosition(r$(e,a),o.getCurrentSourceFile(n),t,r)},isValidBraceCompletionAtPosition:function(e,n,t){if(60===t)return!1;const r=o.getCurrentSourceFile(e);if(EX(r,n))return!1;if(TX(r,n))return 123===t;if(SX(r,n))return!1;switch(t){case 39:case 34:case 96:return!NX(r,n)}return!0},getJsxClosingTagAtPosition:function(e,n){const t=o.getCurrentSourceFile(e),r=gX(n,t);if(!r)return;const i=31===r.kind&&sw(r.parent)?r.parent.parent:lC(r)&&aw(r.parent)?r.parent:void 0;if(i&&C(i))return{newText:`</${i.openingElement.tagName.getText(t)}>`};const a=31===r.kind&&dw(r.parent)?r.parent.parent:lC(r)&&lw(r.parent)?r.parent:void 0;return a&&k(a)?{newText:"</>"}:void 0},getSpanOfEnclosingComment:function(e,n,t){const r=o.getCurrentSourceFile(e),i=sfe.getRangeOfEnclosingComment(r,n);return!i||t&&3!==i.kind?void 0:QX(i)},getCodeFixesAtPosition:function(n,t,r,i,a,o=Iz){g();const c=h(n),l=mc(t,r),u=sfe.getFormatContext(a,e);return X(pe(i,Pn,Un),(n=>(d.throwIfCancellationRequested(),Ote.getFixes({errorCode:n,sourceFile:c,span:l,program:s,host:e,cancellationToken:d,formatContext:u,preferences:o}))))},getCombinedCodeFix:function(n,t,r,i=Iz){g(),Nt.assert("file"===n.type);const a=h(n.fileName),o=sfe.getFormatContext(r,e);return Ote.getAllFixes({fixId:t,sourceFile:a,program:s,host:e,cancellationToken:d,formatContext:o,preferences:i})},applyCodeActionCommand:function(e,n){const t="string"==typeof e?n:e;return gn(t)?Promise.all(t.map((e=>T(e)))):T(t)},organizeImports:function(n,t,r=Iz){var i;g(),Nt.assert("file"===n.type);const a=h(n.fileName),o=sfe.getFormatContext(t,e),c=null!=(i=n.mode)?i:n.skipDestructiveCodeActions?"SortAndCombine":"All";return Goe.organizeImports(a,o,e,s,r,c)},getEditsForFileRename:function(n,t,r,i=Iz){return pZ(y(),n,t,e,sfe.getFormatContext(r,e),i,m)},getEmitOutput:function(n,t,r){g();const i=h(n),a=e.getCustomTransformers&&e.getCustomTransformers();return WH(s,i,!!t,d,a,r)},getNonBoundSourceFile:function(e){return o.getCurrentSourceFile(e)},getProgram:y,getCurrentProgram:()=>s,getAutoImportProvider:function(){var n;return null==(n=e.getPackageJsonAutoImportProvider)?void 0:n.call(e)},updateIsDefinitionOfReferencedSymbols:function(n,t){const r=s.getTypeChecker(),i=function(){for(const i of n)for(const n of i.references){if(t.has(n)){const e=a(n);return Nt.assertIsDefined(e),r.getSymbolAtLocation(e)}const i=GY(n,m,dn(e,e.fileExists));if(i&&t.has(i)){const e=a(i);if(e)return r.getSymbolAtLocation(e)}}}();if(!i)return!1;for(const r of n)for(const n of r.references){const r=a(n);if(Nt.assertIsDefined(r),t.has(n)||bae.isDeclarationOfSymbol(r,i)){t.add(n),n.isDefinition=!0;const r=GY(n,m,dn(e,e.fileExists));r&&t.add(r)}else n.isDefinition=!1}return!0;function a(e){const n=s.getSourceFile(e.fileName);if(!n)return;const t=dX(n,e.textSpan.start);return bae.Core.getAdjustedNode(t,{use:bae.FindReferencesUse.References})}},getApplicableRefactors:function(e,n,t=Iz,r,i){g();const a=h(e);return xde.getApplicableRefactors(I(a,n,t,Iz,r,i))},getEditsForRefactor:function(e,n,t,r,i,a=Iz){g();const o=h(e);return xde.getEditsForRefactor(I(o,t,a,n),r,i)},toLineColumnOffset:function(e,n){return 0===n?{line:0,character:0}:m.toLineColumnOffset(e,n)},getSourceMapper:()=>m,clearSourceMapperCache:()=>m.clearCache(),prepareCallHierarchy:function(e,n){g();const t=$2.resolveCallHierarchyDeclaration(s,dX(h(e),n));return t&&pQ(t,(e=>$2.createCallHierarchyItem(s,e)))},provideCallHierarchyIncomingCalls:function(e,n){g();const t=h(e),r=fQ($2.resolveCallHierarchyDeclaration(s,0===n?t:dX(t,n)));return r?$2.getIncomingCalls(s,r,d):[]},provideCallHierarchyOutgoingCalls:function(e,n){g();const t=h(e),r=fQ($2.resolveCallHierarchyDeclaration(s,0===n?t:dX(t,n)));return r?$2.getOutgoingCalls(s,r):[]},toggleLineComment:S,toggleMultilineComment:L,commentSelection:function(e,n){const t=o.getCurrentSourceFile(e),{firstLine:r,lastLine:i}=x(t,n);return r===i&&n.pos!==n.end?L(e,n,!0):S(e,n,!0)},uncommentSelection:function(e,n){const t=o.getCurrentSourceFile(e),r=[],{pos:i}=n;let{end:a}=n;i===a&&(a+=LX(t,i)?2:1);for(let n=i;n<=a;n++){const i=NX(t,n);if(i){switch(i.kind){case 2:r.push.apply(r,S(e,{end:i.end,pos:i.pos+1},!1));break;case 3:r.push.apply(r,L(e,{end:i.end,pos:i.pos+1},!1))}n=i.end+1}}return r},provideInlayHints:function(n,t,r=Iz){g();const i=h(n);return Hae.provideInlayHints(function(n,t,r){return{file:n,program:y(),host:e,span:t,preferences:r,cancellationToken:d}}(i,t,r))},getSupportedCodeFixes:r2};switch(a){case 0:break;case 1:K1.forEach((e=>w[e]=()=>{throw new Error(`LanguageService Operation: ${e} not allowed in LanguageServiceMode.PartialSemantic`)}));break;case 2:W1.forEach((e=>w[e]=()=>{throw new Error(`LanguageService Operation: ${e} not allowed in LanguageServiceMode.Syntactic`)}));break;default:Nt.assertNever(a)}return w}function c2(e){return e.nameTable||function(e){const n=e.nameTable=new Map;e.forEachChild((function e(t){if(AC(t)&&!CJ(t)&&t.escapedText||Ly(t)&&function(e){return Zg(e)||280===e.parent.kind||function(e){return e&&e.parent&&209===e.parent.kind&&e.parent.argumentExpression===e}(e)||ny(e)}(t)){const e=Dy(t);n.set(e,void 0===n.get(e)?t.pos:-1)}else if(LC(t)){const e=t.escapedText;n.set(e,void 0===n.get(e)?t.pos:-1)}if(ED(t,e),Xu(t))for(const n of t.jsDoc)ED(n,e)}))}(e),e.nameTable}function l2(e){const n=function(e){switch(e.kind){case 10:case 14:case 8:if(164===e.parent.kind)return Zu(e.parent.parent)?e.parent.parent:void 0;case 79:return!Zu(e.parent)||207!==e.parent.parent.kind&&289!==e.parent.parent.kind||e.parent.name!==e?void 0:e.parent}}(e);return n&&(wk(n.parent)||pw(n.parent))?n:void 0}function d2(e,n,t,r){const a=dY(e.name);if(!a)return i;if(!t.isUnion()){const e=t.getProperty(a);return e?[e]:i}const o=ee(t.types,(t=>(wk(e.parent)||pw(e.parent))&&n.isTypeInvalidDueToUnionDiscriminant(t,e.parent)?void 0:t.getProperty(a)));if(r&&(0===o.length||o.length===t.types.length)){const e=t.getProperty(a);if(e)return[e]}return 0===o.length?ee(t.types,(e=>e.getProperty(a))):o}function u2(e){if(Sa)return go(co(Eo(Sa.getExecutingFilePath())),nc(e));throw new Error("getDefaultLibFilePath is only supported when consumed as a node module. ")}var _2=E({"src/services/services.ts"(){ufe(),ufe(),V0(),q1(),I1="0.8",w1=class{constructor(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}assertHasRealPosition(e){Nt.assert(!Xx(this.pos)&&!Xx(this.end),e||"Node must have a real position for this operation")}getSourceFile(){return Ip(this)}getStart(e,n){return this.assertHasRealPosition(),$p(this,e,n)}getFullStart(){return this.assertHasRealPosition(),this.pos}getEnd(){return this.assertHasRealPosition(),this.end}getWidth(e){return this.assertHasRealPosition(),this.getEnd()-this.getStart(e)}getFullWidth(){return this.assertHasRealPosition(),this.end-this.pos}getLeadingTriviaWidth(e){return this.assertHasRealPosition(),this.getStart(e)-this.pos}getFullText(e){return this.assertHasRealPosition(),(e||this.getSourceFile()).text.substring(this.pos,this.end)}getText(e){return this.assertHasRealPosition(),e||(e=this.getSourceFile()),e.text.substring(this.getStart(e),this.getEnd())}getChildCount(e){return this.getChildren(e).length}getChildAt(e,n){return this.getChildren(n)[e]}getChildren(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=function(e,n){if(!Ql(e.kind))return i;const t=[];if(Wu(e))return e.forEachChild((e=>{t.push(e)})),t;$z.setText((n||e.getSourceFile()).text);let r=e.pos;const a=n=>{J1(t,r,n.pos,e),t.push(n),r=n.end};return A(e.jsDoc,a),r=e.pos,e.forEachChild(a,(n=>{J1(t,r,n.pos,e),t.push(function(e,n){const t=z1(354,e.pos,e.end,n);t._children=[];let r=e.pos;for(const i of e)J1(t._children,r,i.pos,n),t._children.push(i),r=i.end;return J1(t._children,r,e.end,n),t}(n,e)),r=n.end})),J1(t,r,e.end,e),$z.setText(void 0),t}(this,e))}getFirstToken(e){this.assertHasRealPosition();const n=this.getChildren(e);if(!n.length)return;const t=D(n,(e=>e.kind<312||e.kind>353));return t.kind<163?t:t.getFirstToken(e)}getLastToken(e){this.assertHasRealPosition();const n=Fe(this.getChildren(e));if(n)return n.kind<163?n:n.getLastToken(e)}forEachChild(e,n){return ED(this,e,n)}},R1=class{constructor(e,n){this.pos=e,this.end=n,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0}getSourceFile(){return Ip(this)}getStart(e,n){return $p(this,e,n)}getFullStart(){return this.pos}getEnd(){return this.end}getWidth(e){return this.getEnd()-this.getStart(e)}getFullWidth(){return this.end-this.pos}getLeadingTriviaWidth(e){return this.getStart(e)-this.pos}getFullText(e){return(e||this.getSourceFile()).text.substring(this.pos,this.end)}getText(e){return e||(e=this.getSourceFile()),e.text.substring(this.getStart(e),this.getEnd())}getChildCount(){return this.getChildren().length}getChildAt(e){return this.getChildren()[e]}getChildren(){return 1===this.kind&&this.jsDoc||i}getFirstToken(){}getLastToken(){}forEachChild(){}},N1=class{constructor(e,n){this.id=0,this.mergeId=0,this.flags=e,this.escapedName=n}getFlags(){return this.flags}get name(){return Gc(this)}getEscapedName(){return this.escapedName}getName(){return this.name}getDeclarations(){return this.declarations}getDocumentationComment(e){if(!this.documentationComment)if(this.documentationComment=i,!this.declarations&&sp(this)&&this.links.target&&sp(this.links.target)&&this.links.target.links.tupleLabelDeclaration){const n=this.links.target.links.tupleLabelDeclaration;this.documentationComment=$1([n],e)}else this.documentationComment=$1(this.declarations,e);return this.documentationComment}getContextualDocumentationComment(e,n){if(e){if(Ju(e)&&(this.contextualGetAccessorDocumentationComment||(this.contextualGetAccessorDocumentationComment=$1(j(this.declarations,Ju),n)),S(this.contextualGetAccessorDocumentationComment)))return this.contextualGetAccessorDocumentationComment;if(zu(e)&&(this.contextualSetAccessorDocumentationComment||(this.contextualSetAccessorDocumentationComment=$1(j(this.declarations,zu),n)),S(this.contextualSetAccessorDocumentationComment)))return this.contextualSetAccessorDocumentationComment}return this.getDocumentationComment(n)}getJsDocTags(e){return void 0===this.tags&&(this.tags=Y1(this.declarations,e)),this.tags}getContextualJsDocTags(e,n){if(e){if(Ju(e)&&(this.contextualGetAccessorTags||(this.contextualGetAccessorTags=Y1(j(this.declarations,Ju),n)),S(this.contextualGetAccessorTags)))return this.contextualGetAccessorTags;if(zu(e)&&(this.contextualSetAccessorTags||(this.contextualSetAccessorTags=Y1(j(this.declarations,zu),n)),S(this.contextualSetAccessorTags)))return this.contextualSetAccessorTags}return this.getJsDocTags(n)}},D1=class extends R1{constructor(e,n,t){super(n,t),this.kind=e}},(O1=class extends R1{constructor(e,n,t){super(n,t),this.kind=79}get text(){return Pc(this)}}).prototype.kind=79,(M1=class extends R1{constructor(e,n,t){super(n,t),this.kind=80}get text(){return Pc(this)}}).prototype.kind=80,P1=class{constructor(e,n){this.checker=e,this.flags=n}getFlags(){return this.flags}getSymbol(){return this.symbol}getProperties(){return this.checker.getPropertiesOfType(this)}getProperty(e){return this.checker.getPropertyOfType(this,e)}getApparentProperties(){return this.checker.getAugmentedPropertiesOfType(this)}getCallSignatures(){return this.checker.getSignaturesOfType(this,0)}getConstructSignatures(){return this.checker.getSignaturesOfType(this,1)}getStringIndexType(){return this.checker.getIndexTypeOfType(this,0)}getNumberIndexType(){return this.checker.getIndexTypeOfType(this,1)}getBaseTypes(){return this.isClassOrInterface()?this.checker.getBaseTypes(this):void 0}isNullableType(){return this.checker.isNullableType(this)}getNonNullableType(){return this.checker.getNonNullableType(this)}getNonOptionalType(){return this.checker.getNonOptionalType(this)}getConstraint(){return this.checker.getBaseConstraintOfType(this)}getDefault(){return this.checker.getDefaultFromTypeParameter(this)}isUnion(){return!!(1048576&this.flags)}isIntersection(){return!!(2097152&this.flags)}isUnionOrIntersection(){return!!(3145728&this.flags)}isLiteral(){return!!(2432&this.flags)}isStringLiteral(){return!!(128&this.flags)}isNumberLiteral(){return!!(256&this.flags)}isTypeParameter(){return!!(262144&this.flags)}isClassOrInterface(){return!!(3&qE(this))}isClass(){return!!(1&qE(this))}isIndexType(){return!!(4194304&this.flags)}get typeArguments(){if(4&qE(this))return this.checker.getTypeArguments(this)}},F1=class{constructor(e,n){this.checker=e,this.flags=n}getDeclaration(){return this.declaration}getTypeParameters(){return this.typeParameters}getParameters(){return this.parameters}getReturnType(){return this.checker.getReturnTypeOfSignature(this)}getTypeParameterAtPosition(e){const n=this.checker.getParameterType(this,e);if(n.isIndexType()&&BS(n.type)){const e=n.type.getConstraint();if(e)return this.checker.getIndexType(e)}return n}getDocumentationComment(){return this.documentationComment||(this.documentationComment=$1(Et(this.declaration),this.checker))}getJsDocTags(){return this.jsDocTags||(this.jsDocTags=Y1(Et(this.declaration),this.checker))}},G1=class extends w1{constructor(e,n,t){super(e,n,t),this.kind=308}update(e,n){return ID(this,e,n)}getLineAndCharacterOfPosition(e){return bs(this,e)}getLineStarts(){return hs(this)}getPositionOfLineAndCharacter(e,n,t){return ms(hs(this),e,n,this.text,t)}getLineEndOfPosition(e){const{line:n}=this.getLineAndCharacterOfPosition(e),t=this.getLineStarts();let r;n+1>=t.length&&(r=this.getEnd()),r||(r=t[n+1]-1);const i=this.getFullText();return"\n"===i[r]&&"\r"===i[r-1]?r-1:r}getNamedDeclarations(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations}computeNamedDeclarations(){const e=un();return this.forEachChild((function r(i){switch(i.kind){case 259:case 215:case 171:case 170:const a=i,o=t(a);if(o){const n=function(n){let t=e.get(n);return t||e.set(n,t=[]),t}(o),t=Fe(n);t&&a.parent===t.parent&&a.symbol===t.symbol?a.body&&!t.body&&(n[n.length-1]=a):n.push(a)}ED(i,r);break;case 260:case 228:case 261:case 262:case 263:case 264:case 268:case 278:case 273:case 270:case 271:case 174:case 175:case 184:n(i),ED(i,r);break;case 166:if(!db(i,16476))break;case 257:case 205:{const e=i;if(Kd(e.name)){ED(e.name,r);break}e.initializer&&r(e.initializer)}case 302:case 169:case 168:n(i);break;case 275:const s=i;s.exportClause&&($I(s.exportClause)?A(s.exportClause.elements,r):r(s.exportClause.name));break;case 269:const c=i.importClause;c&&(c.name&&n(c.name),c.namedBindings&&(271===c.namedBindings.kind?n(c.namedBindings):A(c.namedBindings.elements,r)));break;case 223:0!==Yh(i)&&n(i);default:ED(i,r)}})),e;function n(n){const r=t(n);r&&e.add(r,n)}function t(e){const n=Kc(e);return n&&(VC(n)&&Rk(n.expression)?n.expression.name.text:xd(n)?dY(n):void 0)}}},B1=class{constructor(e,n,t){this.fileName=e,this.text=n,this.skipTrivia=t}getLineAndCharacterOfPosition(e){return bs(this,e)}},U1=class{constructor(e){this.host=e}getCurrentSourceFile(e){var n,t,r,i,a,o,s,c;const l=this.host.getScriptSnapshot(e);if(!l)throw new Error("Could not find file: '"+e+"'.");const d=u$(e,this.host),u=this.host.getScriptVersion(e);let _;if(this.currentFileName!==e)_=a2(e,l,{languageVersion:99,impliedNodeFormat:RH(xo(e,this.host.getCurrentDirectory(),(null==(r=null==(t=(n=this.host).getCompilerHost)?void 0:t.call(n))?void 0:r.getCanonicalFileName)||yv(this.host)),null==(c=null==(s=null==(o=null==(a=(i=this.host).getCompilerHost)?void 0:a.call(i))?void 0:o.getModuleResolutionCache)?void 0:s.call(o))?void 0:c.getPackageJsonInfoCache(),this.host,this.host.getCompilationSettings()),setExternalModuleIndicator:GT(this.host.getCompilationSettings())},u,!0,d);else if(this.currentFileVersion!==u){const e=l.getChangeRange(this.currentFileScriptSnapshot);_=o2(this.currentSourceFile,l,u,e)}return _&&(this.currentFileVersion=u,this.currentFileName=e,this.currentFileScriptSnapshot=l,this.currentSourceFile=_),this.currentSourceFile}},V1={isCancellationRequested:Sn,throwIfCancellationRequested:xn},j1=class{constructor(e){this.cancellationToken=e}isCancellationRequested(){return this.cancellationToken.isCancellationRequested()}throwIfCancellationRequested(){var e;if(this.isCancellationRequested())throw null==(e=Vr)||e.instant(Vr.Phase.Session,"cancellationThrown",{kind:"CancellationTokenObject"}),new ei}},H1=class{constructor(e,n=20){this.hostCancellationToken=e,this.throttleWaitMilliseconds=n,this.lastCancellationCheckTime=0}isCancellationRequested(){const e=cr();return Math.abs(e-this.lastCancellationCheckTime)>=this.throttleWaitMilliseconds&&(this.lastCancellationCheckTime=e,this.hostCancellationToken.isCancellationRequested())}throwIfCancellationRequested(){var e;if(this.isCancellationRequested())throw null==(e=Vr)||e.instant(Vr.Phase.Session,"cancellationThrown",{kind:"ThrottledCancellationToken"}),new ei}},K1=["getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","provideInlayHints","getSupportedCodeFixes"],W1=[...K1,"getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getOccurrencesAtPosition","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors"],mT({getNodeConstructor:()=>w1,getTokenConstructor:()=>D1,getIdentifierConstructor:()=>O1,getPrivateIdentifierConstructor:()=>M1,getSourceFileConstructor:()=>G1,getSymbolConstructor:()=>N1,getTypeConstructor:()=>P1,getSignatureConstructor:()=>F1,getSourceMapSourceConstructor:()=>B1})}});function p2(e,n,t){const r=[];t=y0(t,r);const i=gn(e)?e:[e],a=VV(void 0,void 0,pA,t,i,n,!0);return a.diagnostics=de(a.diagnostics,r),a}var f2,m2,h2,g2,y2,v2,b2,E2,T2,x2=E({"src/services/transform.ts"(){ufe()}});function S2(e,n){e&&e.log("*INTERNAL ERROR* - Exception in typescript services: "+n.message)}function A2(e,n,t,r){return L2(e,n,!0,t,r)}function L2(e,n,t,r,i){try{const a=function(e,n,t,r){let i;r&&(e.log(n),i=cr());const a=t();if(r){const t=cr();if(e.log(`${n} completed in ${t-i} msec`),vn(a)){let n=a;n.length>128&&(n=n.substring(0,128)+"..."),e.log(` result.length=${n.length}, result='${JSON.stringify(n)}'`)}}return a}(e,n,r,i);return t?JSON.stringify({result:a}):a}catch(t){return t instanceof ei?JSON.stringify({canceled:!0}):(S2(e,t),t.description=n,JSON.stringify({error:t}))}}function C2(e,n){return e.map((e=>function(e,n){return{message:pH(e.messageText,n),start:e.start,length:e.length,category:fa(e),code:e.code,reportsUnnecessary:e.reportsUnnecessary,reportsDeprecated:e.reportsDeprecated}}(e,n)))}function k2(e){return{spans:e.spans.join(","),endOfLineState:e.endOfLineState}}var I2=E({"src/services/shims.ts"(){ufe(),f2=function(){return this}(),m2=class{constructor(e){this.scriptSnapshotShim=e}getText(e,n){return this.scriptSnapshotShim.getText(e,n)}getLength(){return this.scriptSnapshotShim.getLength()}getChangeRange(e){const n=e,t=this.scriptSnapshotShim.getChangeRange(n.scriptSnapshotShim);if(null===t)return null;const r=JSON.parse(t);return yc(fc(r.span.start,r.span.length),r.newLength)}dispose(){"dispose"in this.scriptSnapshotShim&&this.scriptSnapshotShim.dispose()}},h2=class{constructor(e){this.shimHost=e,this.loggingEnabled=!1,this.tracingEnabled=!1,"getModuleResolutionsForFile"in this.shimHost&&(this.resolveModuleNames=(e,n)=>{const t=JSON.parse(this.shimHost.getModuleResolutionsForFile(n));return W(e,(e=>{const n=ze(t,e);return n?{resolvedFileName:n,extension:Qx(n),isExternalLibraryImport:!1}:void 0}))}),"directoryExists"in this.shimHost&&(this.directoryExists=e=>this.shimHost.directoryExists(e)),"getTypeReferenceDirectiveResolutionsForFile"in this.shimHost&&(this.resolveTypeReferenceDirectives=(e,n)=>{const t=JSON.parse(this.shimHost.getTypeReferenceDirectiveResolutionsForFile(n));return W(e,(e=>ze(t,vn(e)?e:In(e.fileName))))})}log(e){this.loggingEnabled&&this.shimHost.log(e)}trace(e){this.tracingEnabled&&this.shimHost.trace(e)}error(e){this.shimHost.error(e)}getProjectVersion(){if(this.shimHost.getProjectVersion)return this.shimHost.getProjectVersion()}getTypeRootsVersion(){return this.shimHost.getTypeRootsVersion?this.shimHost.getTypeRootsVersion():0}useCaseSensitiveFileNames(){return!!this.shimHost.useCaseSensitiveFileNames&&this.shimHost.useCaseSensitiveFileNames()}getCompilationSettings(){const e=this.shimHost.getCompilationSettings();if(null===e||""===e)throw Error("LanguageServiceShimHostAdapter.getCompilationSettings: empty compilationSettings");const n=JSON.parse(e);return n.allowNonTsExtensions=!0,n}getScriptFileNames(){const e=this.shimHost.getScriptFileNames();return JSON.parse(e)}getScriptSnapshot(e){const n=this.shimHost.getScriptSnapshot(e);return n&&new m2(n)}getScriptKind(e){return"getScriptKind"in this.shimHost?this.shimHost.getScriptKind(e):0}getScriptVersion(e){return this.shimHost.getScriptVersion(e)}getLocalizedDiagnosticMessages(){const 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}}getCancellationToken(){const e=this.shimHost.getCancellationToken();return new H1(e)}getCurrentDirectory(){return this.shimHost.getCurrentDirectory()}getDirectories(e){return JSON.parse(this.shimHost.getDirectories(e))}getDefaultLibFileName(e){return this.shimHost.getDefaultLibFileName(JSON.stringify(e))}readDirectory(e,n,t,r,i){const a=Cx(e,t,r,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(e,JSON.stringify(n),JSON.stringify(a.basePaths),a.excludePattern,a.includeFilePattern,a.includeDirectoryPattern,i))}readFile(e,n){return this.shimHost.readFile(e,n)}fileExists(e){return this.shimHost.fileExists(e)}},g2=class{constructor(e){this.shimHost=e,this.useCaseSensitiveFileNames=!!this.shimHost.useCaseSensitiveFileNames&&this.shimHost.useCaseSensitiveFileNames(),"directoryExists"in this.shimHost?this.directoryExists=e=>this.shimHost.directoryExists(e):this.directoryExists=void 0,"realpath"in this.shimHost?this.realpath=e=>this.shimHost.realpath(e):this.realpath=void 0}readDirectory(e,n,t,r,i){const a=Cx(e,t,r,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(e,JSON.stringify(n),JSON.stringify(a.basePaths),a.excludePattern,a.includeFilePattern,a.includeDirectoryPattern,i))}fileExists(e){return this.shimHost.fileExists(e)}readFile(e){return this.shimHost.readFile(e)}getDirectories(e){return JSON.parse(this.shimHost.getDirectories(e))}},y2=class{constructor(e){this.factory=e,e.registerShim(this)}dispose(e){this.factory.unregisterShim(this)}},v2=class extends y2{constructor(e,n,t){super(e),this.host=n,this.languageService=t,this.logPerformance=!1,this.logger=this.host}forwardJSONCall(e,n){return A2(this.logger,e,n,this.logPerformance)}dispose(e){this.logger.log("dispose()"),this.languageService.dispose(),this.languageService=null,f2&&f2.CollectGarbage&&(f2.CollectGarbage(),this.logger.log("CollectGarbage()")),this.logger=null,super.dispose(e)}refresh(e){this.forwardJSONCall(`refresh(${e})`,(()=>null))}cleanupSemanticCache(){this.forwardJSONCall("cleanupSemanticCache()",(()=>(this.languageService.cleanupSemanticCache(),null)))}realizeDiagnostics(e){return C2(e,r$(this.host,void 0))}getSyntacticClassifications(e,n,t){return this.forwardJSONCall(`getSyntacticClassifications('${e}', ${n}, ${t})`,(()=>this.languageService.getSyntacticClassifications(e,fc(n,t))))}getSemanticClassifications(e,n,t){return this.forwardJSONCall(`getSemanticClassifications('${e}', ${n}, ${t})`,(()=>this.languageService.getSemanticClassifications(e,fc(n,t))))}getEncodedSyntacticClassifications(e,n,t){return this.forwardJSONCall(`getEncodedSyntacticClassifications('${e}', ${n}, ${t})`,(()=>k2(this.languageService.getEncodedSyntacticClassifications(e,fc(n,t)))))}getEncodedSemanticClassifications(e,n,t){return this.forwardJSONCall(`getEncodedSemanticClassifications('${e}', ${n}, ${t})`,(()=>k2(this.languageService.getEncodedSemanticClassifications(e,fc(n,t)))))}getSyntacticDiagnostics(e){return this.forwardJSONCall(`getSyntacticDiagnostics('${e}')`,(()=>{const n=this.languageService.getSyntacticDiagnostics(e);return this.realizeDiagnostics(n)}))}getSemanticDiagnostics(e){return this.forwardJSONCall(`getSemanticDiagnostics('${e}')`,(()=>{const n=this.languageService.getSemanticDiagnostics(e);return this.realizeDiagnostics(n)}))}getSuggestionDiagnostics(e){return this.forwardJSONCall(`getSuggestionDiagnostics('${e}')`,(()=>this.realizeDiagnostics(this.languageService.getSuggestionDiagnostics(e))))}getCompilerOptionsDiagnostics(){return this.forwardJSONCall("getCompilerOptionsDiagnostics()",(()=>{const e=this.languageService.getCompilerOptionsDiagnostics();return this.realizeDiagnostics(e)}))}getQuickInfoAtPosition(e,n){return this.forwardJSONCall(`getQuickInfoAtPosition('${e}', ${n})`,(()=>this.languageService.getQuickInfoAtPosition(e,n)))}getNameOrDottedNameSpan(e,n,t){return this.forwardJSONCall(`getNameOrDottedNameSpan('${e}', ${n}, ${t})`,(()=>this.languageService.getNameOrDottedNameSpan(e,n,t)))}getBreakpointStatementAtPosition(e,n){return this.forwardJSONCall(`getBreakpointStatementAtPosition('${e}', ${n})`,(()=>this.languageService.getBreakpointStatementAtPosition(e,n)))}getSignatureHelpItems(e,n,t){return this.forwardJSONCall(`getSignatureHelpItems('${e}', ${n})`,(()=>this.languageService.getSignatureHelpItems(e,n,t)))}getDefinitionAtPosition(e,n){return this.forwardJSONCall(`getDefinitionAtPosition('${e}', ${n})`,(()=>this.languageService.getDefinitionAtPosition(e,n)))}getDefinitionAndBoundSpan(e,n){return this.forwardJSONCall(`getDefinitionAndBoundSpan('${e}', ${n})`,(()=>this.languageService.getDefinitionAndBoundSpan(e,n)))}getTypeDefinitionAtPosition(e,n){return this.forwardJSONCall(`getTypeDefinitionAtPosition('${e}', ${n})`,(()=>this.languageService.getTypeDefinitionAtPosition(e,n)))}getImplementationAtPosition(e,n){return this.forwardJSONCall(`getImplementationAtPosition('${e}', ${n})`,(()=>this.languageService.getImplementationAtPosition(e,n)))}getRenameInfo(e,n,t){return this.forwardJSONCall(`getRenameInfo('${e}', ${n})`,(()=>this.languageService.getRenameInfo(e,n,t)))}getSmartSelectionRange(e,n){return this.forwardJSONCall(`getSmartSelectionRange('${e}', ${n})`,(()=>this.languageService.getSmartSelectionRange(e,n)))}findRenameLocations(e,n,t,r,i){return this.forwardJSONCall(`findRenameLocations('${e}', ${n}, ${t}, ${r}, ${i})`,(()=>this.languageService.findRenameLocations(e,n,t,r,i)))}getBraceMatchingAtPosition(e,n){return this.forwardJSONCall(`getBraceMatchingAtPosition('${e}', ${n})`,(()=>this.languageService.getBraceMatchingAtPosition(e,n)))}isValidBraceCompletionAtPosition(e,n,t){return this.forwardJSONCall(`isValidBraceCompletionAtPosition('${e}', ${n}, ${t})`,(()=>this.languageService.isValidBraceCompletionAtPosition(e,n,t)))}getSpanOfEnclosingComment(e,n,t){return this.forwardJSONCall(`getSpanOfEnclosingComment('${e}', ${n})`,(()=>this.languageService.getSpanOfEnclosingComment(e,n,t)))}getIndentationAtPosition(e,n,t){return this.forwardJSONCall(`getIndentationAtPosition('${e}', ${n})`,(()=>{const r=JSON.parse(t);return this.languageService.getIndentationAtPosition(e,n,r)}))}getReferencesAtPosition(e,n){return this.forwardJSONCall(`getReferencesAtPosition('${e}', ${n})`,(()=>this.languageService.getReferencesAtPosition(e,n)))}findReferences(e,n){return this.forwardJSONCall(`findReferences('${e}', ${n})`,(()=>this.languageService.findReferences(e,n)))}getFileReferences(e){return this.forwardJSONCall(`getFileReferences('${e})`,(()=>this.languageService.getFileReferences(e)))}getOccurrencesAtPosition(e,n){return this.forwardJSONCall(`getOccurrencesAtPosition('${e}', ${n})`,(()=>this.languageService.getOccurrencesAtPosition(e,n)))}getDocumentHighlights(e,n,t){return this.forwardJSONCall(`getDocumentHighlights('${e}', ${n})`,(()=>{const r=this.languageService.getDocumentHighlights(e,n,JSON.parse(t)),i=In(mo(e));return j(r,(e=>In(mo(e.fileName))===i))}))}getCompletionsAtPosition(e,n,t,r){return this.forwardJSONCall(`getCompletionsAtPosition('${e}', ${n}, ${t}, ${r})`,(()=>this.languageService.getCompletionsAtPosition(e,n,t,r)))}getCompletionEntryDetails(e,n,t,r,i,a,o){return this.forwardJSONCall(`getCompletionEntryDetails('${e}', ${n}, '${t}')`,(()=>{const s=void 0===r?void 0:JSON.parse(r);return this.languageService.getCompletionEntryDetails(e,n,t,s,i,a,o)}))}getFormattingEditsForRange(e,n,t,r){return this.forwardJSONCall(`getFormattingEditsForRange('${e}', ${n}, ${t})`,(()=>{const i=JSON.parse(r);return this.languageService.getFormattingEditsForRange(e,n,t,i)}))}getFormattingEditsForDocument(e,n){return this.forwardJSONCall(`getFormattingEditsForDocument('${e}')`,(()=>{const t=JSON.parse(n);return this.languageService.getFormattingEditsForDocument(e,t)}))}getFormattingEditsAfterKeystroke(e,n,t,r){return this.forwardJSONCall(`getFormattingEditsAfterKeystroke('${e}', ${n}, '${t}')`,(()=>{const i=JSON.parse(r);return this.languageService.getFormattingEditsAfterKeystroke(e,n,t,i)}))}getDocCommentTemplateAtPosition(e,n,t,r){return this.forwardJSONCall(`getDocCommentTemplateAtPosition('${e}', ${n})`,(()=>this.languageService.getDocCommentTemplateAtPosition(e,n,t,r)))}getNavigateToItems(e,n,t){return this.forwardJSONCall(`getNavigateToItems('${e}', ${n}, ${t})`,(()=>this.languageService.getNavigateToItems(e,n,t)))}getNavigationBarItems(e){return this.forwardJSONCall(`getNavigationBarItems('${e}')`,(()=>this.languageService.getNavigationBarItems(e)))}getNavigationTree(e){return this.forwardJSONCall(`getNavigationTree('${e}')`,(()=>this.languageService.getNavigationTree(e)))}getOutliningSpans(e){return this.forwardJSONCall(`getOutliningSpans('${e}')`,(()=>this.languageService.getOutliningSpans(e)))}getTodoComments(e,n){return this.forwardJSONCall(`getTodoComments('${e}')`,(()=>this.languageService.getTodoComments(e,JSON.parse(n))))}prepareCallHierarchy(e,n){return this.forwardJSONCall(`prepareCallHierarchy('${e}', ${n})`,(()=>this.languageService.prepareCallHierarchy(e,n)))}provideCallHierarchyIncomingCalls(e,n){return this.forwardJSONCall(`provideCallHierarchyIncomingCalls('${e}', ${n})`,(()=>this.languageService.provideCallHierarchyIncomingCalls(e,n)))}provideCallHierarchyOutgoingCalls(e,n){return this.forwardJSONCall(`provideCallHierarchyOutgoingCalls('${e}', ${n})`,(()=>this.languageService.provideCallHierarchyOutgoingCalls(e,n)))}provideInlayHints(e,n,t){return this.forwardJSONCall(`provideInlayHints('${e}', '${JSON.stringify(n)}', ${JSON.stringify(t)})`,(()=>this.languageService.provideInlayHints(e,n,t)))}getEmitOutput(e){return this.forwardJSONCall(`getEmitOutput('${e}')`,(()=>{const{diagnostics:n,...t}=this.languageService.getEmitOutput(e);return{...t,diagnostics:this.realizeDiagnostics(n)}}))}getEmitOutputObject(e){return L2(this.logger,`getEmitOutput('${e}')`,!1,(()=>this.languageService.getEmitOutput(e)),this.logPerformance)}toggleLineComment(e,n){return this.forwardJSONCall(`toggleLineComment('${e}', '${JSON.stringify(n)}')`,(()=>this.languageService.toggleLineComment(e,n)))}toggleMultilineComment(e,n){return this.forwardJSONCall(`toggleMultilineComment('${e}', '${JSON.stringify(n)}')`,(()=>this.languageService.toggleMultilineComment(e,n)))}commentSelection(e,n){return this.forwardJSONCall(`commentSelection('${e}', '${JSON.stringify(n)}')`,(()=>this.languageService.commentSelection(e,n)))}uncommentSelection(e,n){return this.forwardJSONCall(`uncommentSelection('${e}', '${JSON.stringify(n)}')`,(()=>this.languageService.uncommentSelection(e,n)))}},b2=class extends y2{constructor(e,n){super(e),this.logger=n,this.logPerformance=!1,this.classifier=WQ()}getEncodedLexicalClassifications(e,n,t=!1){return A2(this.logger,"getEncodedLexicalClassifications",(()=>k2(this.classifier.getEncodedLexicalClassifications(e,n,t))),this.logPerformance)}getClassificationsForLine(e,n,t=!1){const r=this.classifier.getClassificationsForLine(e,n,t);let i="";for(const e of r.entries)i+=e.length+"\n",i+=e.classification+"\n";return i+=r.finalLexState,i}},E2=class extends y2{constructor(e,n,t){super(e),this.logger=n,this.host=t,this.logPerformance=!1}forwardJSONCall(e,n){return A2(this.logger,e,n,this.logPerformance)}resolveModuleName(e,n,t){return this.forwardJSONCall(`resolveModuleName('${e}')`,(()=>{const r=JSON.parse(t),i=UP(n,mo(e),r,this.host);let a=i.resolvedModule?i.resolvedModule.resolvedFileName:void 0;return i.resolvedModule&&".ts"!==i.resolvedModule.extension&&".tsx"!==i.resolvedModule.extension&&".d.ts"!==i.resolvedModule.extension&&(a=void 0),{resolvedFileName:a,failedLookupLocations:i.failedLookupLocations,affectingLocations:i.affectingLocations}}))}resolveTypeReferenceDirective(e,n,t){return this.forwardJSONCall(`resolveTypeReferenceDirective(${e})`,(()=>{const r=JSON.parse(t),i=TP(n,mo(e),r,this.host);return{resolvedFileName:i.resolvedTypeReferenceDirective?i.resolvedTypeReferenceDirective.resolvedFileName:void 0,primary:!i.resolvedTypeReferenceDirective||i.resolvedTypeReferenceDirective.primary,failedLookupLocations:i.failedLookupLocations}}))}getPreProcessedFileInfo(e,n){return this.forwardJSONCall(`getPreProcessedFileInfo('${e}')`,(()=>{const e=JZ(sY(n),!0,!0);return{referencedFiles:this.convertFileReferences(e.referencedFiles),importedFiles:this.convertFileReferences(e.importedFiles),ambientExternalModules:e.ambientExternalModules,isLibFile:e.isLibFile,typeReferenceDirectives:this.convertFileReferences(e.typeReferenceDirectives),libReferenceDirectives:this.convertFileReferences(e.libReferenceDirectives)}}))}getAutomaticTypeDirectiveNames(e){return this.forwardJSONCall(`getAutomaticTypeDirectiveNames('${e}')`,(()=>LP(JSON.parse(e),this.host)))}convertFileReferences(e){if(!e)return;const n=[];for(const t of e)n.push({path:mo(t.fileName),position:t.pos,length:t.end-t.pos});return n}getTSConfigFileInfo(e,n){return this.forwardJSONCall(`getTSConfigFileInfo('${e}')`,(()=>{const t=CD(e,sY(n)),r=mo(e),i=hM(t,this.host,co(r),{},r);return{options:i.options,typeAcquisition:i.typeAcquisition,files:i.fileNames,raw:i.raw,errors:C2([...t.parseDiagnostics,...i.errors],"\r\n")}}))}getDefaultCompilationSettings(){return this.forwardJSONCall("getDefaultCompilationSettings()",(()=>({target:1,jsx:1})))}discoverTypings(e){const n=lt(!1);return this.forwardJSONCall("discoverTypings()",(()=>{const t=JSON.parse(e);return void 0===this.safeList&&(this.safeList=lz.loadSafeList(this.host,xo(t.safeListPath,t.safeListPath,n))),lz.discoverTypings(this.host,(e=>this.logger.log(e)),t.fileNames,xo(t.projectRootPath,t.projectRootPath,n),this.safeList,t.packageNameToTypingLocation,t.typeAcquisition,t.unresolvedImports,t.typesRegistry,Iz)}))}},T2=class{constructor(){this._shims=[]}getServicesVersion(){return I1}createLanguageServiceShim(e){try{void 0===this.documentRegistry&&(this.documentRegistry=cZ(e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames(),e.getCurrentDirectory()));const n=s2(new h2(e),this.documentRegistry,!1);return new v2(this,e,n)}catch(n){throw S2(e,n),n}}createClassifierShim(e){try{return new b2(this,e)}catch(n){throw S2(e,n),n}}createCoreServicesShim(e){try{const n=new g2(e);return new E2(this,e,n)}catch(n){throw S2(e,n),n}}close(){K(this._shims),this.documentRegistry=void 0}registerShim(e){this._shims.push(e)}unregisterShim(e){for(let n=0;n<this._shims.length;n++)if(this._shims[n]===e)return void delete this._shims[n];throw new Error("Invalid operation")}}}});function w2(e,n){if(e.isDeclarationFile)return;let t=_X(e,n);const r=e.getLineAndCharacterOfPosition(n).line;if(e.getLineAndCharacterOfPosition(t.getStart(e)).line>r){const n=gX(t.pos,e);if(!n||e.getLineAndCharacterOfPosition(n.getEnd()).line!==r)return;t=n}if(!(16777216&t.flags))return l(t);function i(n,t){const r=FN(n)?O(n.modifiers,KC):void 0;return mc(r?ks(e.text,r.end):n.getStart(e),(t||n).getEnd())}function a(n,t){return i(n,hX(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(gX(n.pos,e))}function c(n){return l(hX(n,n.parent,e))}function l(n){if(n){const{parent:d}=n;switch(n.kind){case 240:return u(n.declarationList.declarations[0]);case 257:case 169:case 168:return u(n);case 166:return function e(n){if(Kd(n.name))return m(n.name);if(function(e){return!!e.initializer||void 0!==e.dotDotDotToken||db(e,12)}(n))return i(n);{const t=n.parent,r=t.parameters.indexOf(n);return Nt.assert(-1!==r),0!==r?e(t.parameters[r-1]):l(t.body)}}(n);case 259:case 171:case 170:case 174:case 175:case 173:case 215:case 216:return function(e){if(e.body)return _(e)?i(e):l(e.body)}(n);case 238:if(Dm(n))return function(e){const n=e.statements.length?e.statements[0]:e.getLastToken();return _(e.parent)?o(e.parent,n):l(n)}(n);case 265:return p(n);case 295:return p(n.block);case 241:return i(n.expression);case 250:return i(n.getChildAt(0),n.expression);case 244:return a(n,n.expression);case 243:return l(n.statement);case 256:return i(n.getChildAt(0));case 242:return a(n,n.expression);case 253:return l(n.statement);case 249:case 248:return i(n.getChildAt(0),n.label);case 245:return(r=n).initializer?f(r):r.condition?i(r.condition):r.incrementor?i(r.incrementor):void 0;case 246:return a(n,n.expression);case 247:return f(n);case 252:return a(n,n.expression);case 292:case 293:return l(n.statements[0]);case 255:return p(n.tryBlock);case 254:case 274:return i(n,n.expression);case 268:return i(n,n.moduleReference);case 269:case 275:return i(n,n.moduleSpecifier);case 264:if(1!==BF(n))return;case 260:case 263:case 302:case 205:return i(n);case 251:return l(n.statement);case 167:return function(n,t,r){if(n){const i=n.indexOf(t);if(i>=0){let t=i,a=i+1;for(;t>0&&r(n[t-1]);)t--;for(;a<n.length&&r(n[a]);)a++;return mc(ks(e.text,n[t].pos),n[a-1].end)}}return i(t)}(d.modifiers,n,KC);case 203:case 204:return m(n);case 261:case 262:return;case 26:case 1:return o(gX(n.pos,e));case 27:return s(n);case 18:return function(n){switch(n.parent.kind){case 263:const t=n.parent;return o(gX(n.pos,e,n.parent),t.members.length?t.members[0]:t.getLastToken(e));case 260:const r=n.parent;return o(gX(n.pos,e,n.parent),r.members.length?r.members[0]:r.getLastToken(e));case 266:return o(n.parent.parent,n.parent.clauses[0])}return l(n.parent)}(n);case 19:return function(e){switch(e.parent.kind){case 265:if(1!==BF(e.parent.parent))return;case 263:case 260:return i(e);case 238:if(Dm(e.parent))return i(e);case 295:return l(Fe(e.parent.statements));case 266:const n=Fe(e.parent.clauses);return n?l(Fe(n.statements)):void 0;case 203:const t=e.parent;return l(Fe(t.elements)||t);default:if(KX(e.parent)){const n=e.parent;return i(Fe(n.properties)||n)}return l(e.parent)}}(n);case 23:return function(e){if(204===e.parent.kind){const n=e.parent;return i(Fe(n.elements)||n)}if(KX(e.parent)){const n=e.parent;return i(Fe(n.elements)||n)}return l(e.parent)}(n);case 20:return 243===(t=n).parent.kind||210===t.parent.kind||211===t.parent.kind?s(t):214===t.parent.kind?c(t):l(t.parent);case 21:return function(e){switch(e.parent.kind){case 215:case 259:case 216:case 171:case 170:case 174:case 175:case 173:case 244:case 243:case 245:case 247:case 210:case 211:case 214:return s(e);default:return l(e.parent)}}(n);case 58:return function(e){return Ad(e.parent)||299===e.parent.kind||166===e.parent.kind?s(e):l(e.parent)}(n);case 31:case 29:return function(e){return 213===e.parent.kind?c(e):l(e.parent)}(n);case 115:return function(e){return 243===e.parent.kind?a(e,e.parent.expression):l(e.parent)}(n);case 91:case 83:case 96:return c(n);case 162:return function(e){return 247===e.parent.kind?c(e):l(e.parent)}(n);default:if(KX(n))return h(n);if((79===n.kind||227===n.kind||299===n.kind||300===n.kind)&&KX(d))return i(n);if(223===n.kind){const{left:e,operatorToken:t}=n;if(KX(e))return h(e);if(63===t.kind&&KX(n.parent))return i(n);if(27===t.kind)return l(e)}if(mh(n))switch(d.kind){case 243:return s(n);case 167:return l(n.parent);case 245:case 247:return i(n);case 223:if(27===n.parent.operatorToken.kind)return i(n);break;case 216:if(n.parent.body===n)return i(n)}switch(n.parent.kind){case 299:if(n.parent.name===n&&!KX(n.parent.parent))return l(n.parent.initializer);break;case 213:if(n.parent.type===n)return c(n.parent.type);break;case 257:case 166:{const{initializer:e,type:t}=n.parent;if(e===n||t===n||Pb(n.kind))return s(n);break}case 223:{const{left:e}=n.parent;if(KX(e)&&n!==e)return s(n);break}default:if(Ad(n.parent)&&n.parent.type===n)return s(n)}return l(n.parent)}}var t,r;function d(n){return II(n.parent)&&n.parent.declarations[0]===n?i(gX(n.pos,e,n.parent),n):i(n)}function u(n){if(246===n.parent.parent.kind)return l(n.parent.parent);const t=n.parent;return Kd(n.name)?m(n.name):Qu(n)&&n.initializer||db(n,1)||247===t.parent.kind?d(n):II(n.parent)&&n.parent.declarations[0]!==n?l(gX(n.pos,e,n.parent)):void 0}function _(e){return db(e,1)||260===e.parent.kind&&173!==e.kind}function p(n){switch(n.parent.kind){case 264:if(1!==BF(n.parent))return;case 244:case 242:case 246:return o(n.parent,n.statements[0]);case 245:case 247:return o(gX(n.pos,e,n.parent),n.statements[0])}return l(n.statements[0])}function f(e){if(258!==e.initializer.kind)return l(e.initializer);{const n=e.initializer;if(n.declarations.length>0)return l(n.declarations[0])}}function m(e){const n=A(e.elements,(e=>229!==e.kind?e:void 0));return n?l(n):205===e.parent.kind?i(e.parent):d(e.parent)}function h(e){Nt.assert(204!==e.kind&&203!==e.kind);const n=A(206===e.kind?e.elements:e.properties,(e=>229!==e.kind?e:void 0));return n?l(n):i(223===e.parent.kind?e.parent:e)}}}var R2=E({"src/services/breakpoints.ts"(){ufe()}}),N2={};T(N2,{spanInSourceFileAtLocation:()=>w2});var D2=E({"src/services/_namespaces/ts.BreakpointResolver.ts"(){R2()}});function O2(e){return(Gk(e)||Bk(e)||$k(e))&&kI(e.parent)&&e===e.parent.initializer&&AC(e.parent.name)&&!!(2&kc(e.parent))}function M2(e){return Aw(e)||MI(e)||wI(e)||Gk(e)||RI(e)||$k(e)||XC(e)||JC(e)||zC(e)||$C(e)||QC(e)}function P2(e){return Aw(e)||MI(e)&&AC(e.name)||wI(e)||RI(e)||XC(e)||JC(e)||zC(e)||$C(e)||QC(e)||function(e){return(Gk(e)||$k(e))&&Hc(e)}(e)||O2(e)}function F2(e){return Aw(e)?e:Hc(e)?e.name:O2(e)?e.parent.name:Nt.checkDefined(e.modifiers&&D(e.modifiers,G2))}function G2(e){return 88===e.kind}function B2(e,n){const t=F2(n);return t&&e.getSymbolAtLocation(t)}function U2(e,n){if(n.body)return n;if(YC(n))return Bv(n.parent);if(wI(n)||JC(n)){const t=B2(e,n);return t&&t.valueDeclaration&&Cd(t.valueDeclaration)&&t.valueDeclaration.body?t.valueDeclaration:void 0}return n}function V2(e,n){const t=B2(e,n);let r;if(t&&t.declarations){const e=_e(t.declarations),n=W(t.declarations,(e=>({file:e.getSourceFile().fileName,pos:e.pos})));e.sort(((e,t)=>Wn(n[e].file,n[t].file)||n[e].pos-n[t].pos));const i=W(e,(e=>t.declarations[e]));let a;for(const e of i)P2(e)&&(a&&a.parent===e.parent&&a.end===e.pos||(r=Te(r,e)),a=e)}return r}function j2(e,n){var t,r,i;return XC(n)?n:Cd(n)?null!=(r=null!=(t=U2(e,n))?t:V2(e,n))?r:n:null!=(i=V2(e,n))?i:n}function H2(e,n){const t=e.getTypeChecker();let r=!1;for(;;){if(P2(n))return j2(t,n);if(M2(n)){const e=Rc(n,P2);return e&&j2(t,e)}if(Zg(n)){if(P2(n.parent))return j2(t,n.parent);if(M2(n.parent)){const e=Rc(n.parent,P2);return e&&j2(t,e)}return kI(n.parent)&&n.parent.initializer&&O2(n.parent.initializer)?n.parent.initializer:void 0}if(YC(n))return P2(n.parent)?n.parent:void 0;if(124!==n.kind||!XC(n.parent)){if(kI(n)&&n.initializer&&O2(n.initializer))return n.initializer;if(!r){let e=t.getSymbolAtLocation(n);if(e&&(2097152&e.flags&&(e=t.getAliasedSymbol(e)),e.valueDeclaration)){r=!0,n=e.valueDeclaration;continue}}return}n=n.parent}}function K2(e,n){const t=n.getSourceFile(),r=function(e,n){if(Aw(n))return{text:n.fileName,pos:0,end:0};if((wI(n)||RI(n))&&!Hc(n)){const e=n.modifiers&&D(n.modifiers,G2);if(e)return{text:"default",pos:e.getStart(),end:e.getEnd()}}if(XC(n)){const t=ks(n.getSourceFile().text,pE(n).pos),r=t+6,i=e.getTypeChecker(),a=i.getSymbolAtLocation(n.parent);return{text:(a?`${i.symbolToString(a,n.parent)} `:"")+"static {}",pos:t,end:r}}const t=O2(n)?n.parent.name:Nt.checkDefined(Wc(n),"Expected call hierarchy item to have a name");let r=AC(t)?Pc(t):Ly(t)?t.text:VC(t)&&Ly(t.expression)?t.expression.text:void 0;if(void 0===r){const i=e.getTypeChecker(),a=i.getSymbolAtLocation(t);a&&(r=i.symbolToString(a,n))}if(void 0===r){const e=zV();r=hp((t=>e.writeNode(4,n,n.getSourceFile(),t)))}return{text:r,pos:t.getStart(),end:t.getEnd()}}(e,n),i=function(e){var n,t;if(O2(e))return PI(e.parent.parent.parent.parent)&&AC(e.parent.parent.parent.parent.parent.name)?e.parent.parent.parent.parent.parent.name.getText():void 0;switch(e.kind){case 174:case 175:case 171:return 207===e.parent.kind?null==(n=qc(e.parent))?void 0:n.getText():null==(t=Wc(e.parent))?void 0:t.getText();case 259:case 260:case 264:if(PI(e.parent)&&AC(e.parent.parent.name))return e.parent.parent.name.getText()}}(n),a=PJ(n),o=MX(n),s=mc(ks(t.text,n.getFullStart(),!1,!0),n.getEnd()),c=mc(r.pos,r.end);return{file:t.fileName,kind:a,kindModifiers:o,name:r.text,containerName:i,span:s,selectionSpan:c}}function W2(e){return void 0!==e}function q2(e){if(e.kind===bae.EntryKind.Node){const{node:n}=e;if(_J(n,!0,!0)||pJ(n,!0,!0)||fJ(n,!0,!0)||mJ(n,!0,!0)||IJ(n)||wJ(n)){const e=n.getSourceFile();return{declaration:Rc(n,P2)||e,range:$X(n,e)}}}}function z2(e){return KG(e.declaration)}function J2(e,n,t){if(Aw(n)||MI(n)||XC(n))return[];const r=F2(n),i=j(bae.findReferenceOrRenameEntries(e,t,e.getSourceFiles(),r,0,{use:bae.FindReferencesUse.References},q2),W2);return i?an(i,z2,(n=>function(e,n){return{from:K2(e,n[0].declaration),fromSpans:W(n,(e=>QX(e.range)))}}(e,n))):[]}function X2(e,n){return 16777216&n.flags||zC(n)?[]:an(function(e,n){const t=[],r=function(e,n){function t(t){const r=Mk(t)?t.tag:ju(t)?t.tagName:eT(t)||XC(t)?t:t.expression,i=H2(e,r);if(i){const e=$X(r,t.getSourceFile());if(gn(i))for(const t of i)n.push({declaration:t,range:e});else n.push({declaration:i,range:e})}}return function e(n){if(n&&!(16777216&n.flags))if(P2(n)){if(Dd(n))for(const t of n.members)t.name&&VC(t.name)&&e(t.name.expression)}else{switch(n.kind){case 79:case 268:case 269:case 275:case 261:case 262:return;case 172:return void t(n);case 213:case 231:case 235:return void e(n.expression);case 257:case 166:return e(n.name),void e(n.initializer);case 210:case 211:return t(n),e(n.expression),void A(n.arguments,e);case 212:return t(n),e(n.tag),void e(n.template);case 283:case 282:return t(n),e(n.tagName),void e(n.attributes);case 167:return t(n),void e(n.expression);case 208:case 209:t(n),ED(n,e)}vm(n)||ED(n,e)}}}(e,t);switch(n.kind){case 308:!function(e,n){A(e.statements,n)}(n,r);break;case 264:!function(e,n){!db(e,2)&&e.body&&PI(e.body)&&A(e.body.statements,n)}(n,r);break;case 259:case 215:case 216:case 171:case 174:case 175:!function(e,n,t){const r=U2(e,n);r&&(A(r.parameters,t),t(r.body))}(e.getTypeChecker(),n,r);break;case 260:case 228:!function(e,n){A(e.modifiers,n);const t=dy(e);t&&n(t.expression);for(const t of e.members)PN(t)&&A(t.modifiers,n),qC(t)?n(t.initializer):YC(t)&&t.body?(A(t.parameters,n),n(t.body)):XC(t)&&n(t)}(n,r);break;case 172:!function(e,n){n(e.body)}(n,r);break;default:Nt.assertNever(n)}return t}(e,n),z2,(n=>function(e,n){return{to:K2(e,n[0].declaration),fromSpans:W(n,(e=>QX(e.range)))}}(e,n)))}var Y2=E({"src/services/callHierarchy.ts"(){ufe()}}),$2={};T($2,{createCallHierarchyItem:()=>K2,getIncomingCalls:()=>J2,getOutgoingCalls:()=>X2,resolveCallHierarchyDeclaration:()=>H2});var Q2,Z2,e4,n4,t4=E({"src/services/_namespaces/ts.CallHierarchy.ts"(){Y2()}});function r4(e,n,t,r){const i=i4(e,n,t,r);Nt.assert(i.spans.length%3==0);const a=i.spans,o=[];for(let e=0;e<a.length;e+=3)o.push({textSpan:fc(a[e],a[e+1]),classificationType:a[e+2]});return o}function i4(e,n,t,r){return{spans:a4(e,t,r,n),endOfLineState:0}}function a4(e,n,t,r){const i=[];return e&&n&&function(e,n,t,r,i){const a=e.getTypeChecker();let o=!1;!function s(c){switch(c.kind){case 264:case 260:case 261:case 259:case 228:case 215:case 216:i.throwIfCancellationRequested()}if(!c||!dc(t,c.pos,c.getFullWidth())||0===c.getFullWidth())return;const l=o;if((aw(c)||ow(c))&&(o=!0),mw(c)&&(o=!1),AC(c)&&!o&&!function(e){const n=e.parent;return n&&(VI(n)||JI(n)||WI(n))}(c)&&!NS(c.escapedText)){let t=a.getSymbolAtLocation(c);if(t){2097152&t.flags&&(t=a.getAliasedSymbol(t));let i=function(e,n){const 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;let r=e.valueDeclaration||e.declarations&&e.declarations[0];return r&&kk(r)&&(r=o4(r)),r&&n4.get(r.kind)}(t,cJ(c));if(void 0!==i){let o=0;c.parent&&(kk(c.parent)||n4.get(c.parent.kind)===i)&&c.parent.name===c&&(o=1),6===i&&s4(c)&&(i=9),i=function(e,n,t){if(7===t||9===t||6===t){const r=e.getTypeAtLocation(n);if(r){const e=e=>e(r)||r.isUnion()&&r.types.some(e);if(6!==t&&e((e=>e.getConstructSignatures().length>0)))return 0;if(e((e=>e.getCallSignatures().length>0))&&!e((e=>e.getProperties().length>0))||function(e){for(;s4(e);)e=e.parent;return Dk(e.parent)&&e.parent.expression===e}(n))return 9===t?11:10}}return t}(a,c,i);const s=t.valueDeclaration;if(s){const r=Lc(s),a=kc(s);32&r&&(o|=2),512&r&&(o|=4),0!==i&&2!==i&&(64&r||2&a||8&t.getFlags())&&(o|=8),7!==i&&10!==i||!function(e,n){return kk(e)&&(e=o4(e)),kI(e)?(!Aw(e.parent.parent.parent)||vw(e.parent))&&e.getSourceFile()===n:!!wI(e)&&(!Aw(e.parent)&&e.getSourceFile()===n)}(s,n)||(o|=32),e.isSourceFileDefaultLibrary(s.getSourceFile())&&(o|=16)}else t.declarations&&t.declarations.some((n=>e.isSourceFileDefaultLibrary(n.getSourceFile())))&&(o|=16);r(c,i,o)}}}ED(c,s),o=l}(n)}(e,n,t,((e,t,r)=>{i.push(e.getStart(n),e.getWidth(n),(t+1<<8)+r)}),r),i}function o4(e){for(;;){if(!kk(e.parent.parent))return e.parent.parent;e=e.parent.parent}}function s4(e){return UC(e.parent)&&e.parent.right===e||Rk(e.parent)&&e.parent.name===e}var c4=E({"src/services/classifier2020.ts"(){ufe(),Q2=(e=>(e[e.typeOffset=8]="typeOffset",e[e.modifierMask=255]="modifierMask",e))(Q2||{}),Z2=(e=>(e[e.class=0]="class",e[e.enum=1]="enum",e[e.interface=2]="interface",e[e.namespace=3]="namespace",e[e.typeParameter=4]="typeParameter",e[e.type=5]="type",e[e.parameter=6]="parameter",e[e.variable=7]="variable",e[e.enumMember=8]="enumMember",e[e.property=9]="property",e[e.function=10]="function",e[e.member=11]="member",e))(Z2||{}),e4=(e=>(e[e.declaration=0]="declaration",e[e.static=1]="static",e[e.async=2]="async",e[e.readonly=3]="readonly",e[e.defaultLibrary=4]="defaultLibrary",e[e.local=5]="local",e))(e4||{}),n4=new Map([[257,7],[166,6],[169,9],[264,3],[263,1],[302,8],[260,0],[171,11],[259,10],[215,10],[170,11],[174,9],[175,9],[168,9],[261,2],[262,5],[165,4],[299,9],[300,9]])}}),l4={};T(l4,{TokenEncodingConsts:()=>Q2,TokenModifier:()=>e4,TokenType:()=>Z2,getEncodedSemanticClassifications:()=>i4,getSemanticClassifications:()=>r4});var d4=E({"src/services/_namespaces/ts.classifier.v2020.ts"(){c4()}}),u4={};T(u4,{v2020:()=>l4});var _4,p4,f4=E({"src/services/_namespaces/ts.classifier.ts"(){d4()}});function m4(e,n,t){return y4(e,CQ(t),n,void 0,void 0)}function h4(e,n,t,r,i,a){return y4(e,CQ(t),n,r,CQ(i),a)}function g4(e,n,t,r,i,a){return y4(e,CQ(t),n,r,i&&CQ(i),a)}function y4(e,n,t,r,i,a){return{fixName:e,description:n,changes:t,fixId:r,fixAllDescription:i,commands:a?[a]:void 0}}function v4(e){for(const n of e.errorCodes)_4.add(String(n),e);if(e.fixIds)for(const n of e.fixIds)Nt.assert(!p4.has(n)),p4.set(n,e)}function b4(){return Qe(_4.keys())}function E4(e){const n=C4(e);return X(_4.get(String(e.errorCode)),(t=>W(t.getCodeActions(e),function(e,n){const{errorCodes:t}=e;let r=0;for(const e of n)if(G(t,e.code)&&r++,r>1)break;const i=r<2;return({fixId:e,fixAllDescription:n,...t})=>i?t:{...t,fixId:e,fixAllDescription:n}}(t,n))))}function T4(e){return p4.get(Tn(e.fixId,vn)).getAllCodeActions(e)}function x4(e,n){return{changes:e,commands:n}}function S4(e,n){return{fileName:e,textChanges:n}}function A4(e,n,t){const r=[];return x4(i_e.ChangeTracker.with(e,(i=>L4(e,n,(e=>t(i,e,r))))),0===r.length?void 0:r)}function L4(e,n,t){for(const r of C4(e))G(n,r.code)&&t(r)}function C4({program:e,sourceFile:n,cancellationToken:t}){return[...e.getSemanticDiagnostics(n,t),...e.getSyntacticDiagnostics(n,t),...t0(n,e,t)]}var k4,I4,w4=E({"src/services/codeFixProvider.ts"(){ufe(),_4=un(),p4=new Map}});function R4(e,n,t){const r=eI(t)?pA.createAsExpression(t.expression,pA.createKeywordTypeNode(157)):pA.createTypeAssertion(pA.createKeywordTypeNode(157),t.expression);e.replaceNode(n,t.expression,r)}function N4(e,n){if(!Ah(e))return Rc(_X(e,n),(e=>eI(e)||Pk(e)))}var D4,O4,M4=E({"src/services/codefixes/addConvertToUnknownForNonOverlappingTypes.ts"(){ufe(),Hte(),k4="addConvertToUnknownForNonOverlappingTypes",v4({errorCodes:I4=[Vo.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],getCodeActions:function(e){const n=N4(e.sourceFile,e.span.start);if(void 0===n)return;const t=i_e.ChangeTracker.with(e,(t=>R4(t,e.sourceFile,n)));return[h4(k4,t,Vo.Add_unknown_conversion_for_non_overlapping_types,k4,Vo.Add_unknown_to_all_conversions_of_non_overlapping_types)]},fixIds:[k4],getAllCodeActions:e=>A4(e,I4,((e,n)=>{const t=N4(n.file,n.start);t&&R4(e,n.file,t)}))})}}),P4=E({"src/services/codefixes/addEmptyExportDeclaration.ts"(){ufe(),Hte(),v4({errorCodes:[Vo.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,Vo.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){const{sourceFile:n}=e;return[m4("addEmptyExportDeclaration",i_e.ChangeTracker.with(e,(e=>{const t=pA.createExportDeclaration(void 0,!1,pA.createNamedExports([]),void 0);e.insertNodeAtEndOfScope(n,n,t)})),Vo.Add_export_to_make_this_file_into_a_module)]}})}});function F4(e,n,t,r){const i=t((t=>function(e,n,t,r){if(r&&r.has(KG(t)))return;null==r||r.add(KG(t));const i=pA.updateModifiers(g$(t,!0),pA.createNodeArray(pA.createModifiersFromModifierFlags(512|Sb(t))));e.replaceNode(n,t,i)}(t,e.sourceFile,n,r)));return h4(D4,i,Vo.Add_async_modifier_to_containing_function,D4,Vo.Add_all_missing_async_modifiers)}function G4(e,n){if(n)return Rc(_X(e,n.start),(t=>t.getStart(e)<n.start||t.getEnd()>tc(n)?"quit":(Bk(t)||JC(t)||Gk(t)||wI(t))&&DY(n,XX(t,e))))}var B4,U4,V4,j4,H4=E({"src/services/codefixes/addMissingAsync.ts"(){ufe(),Hte(),D4="addMissingAsync",O4=[Vo.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,Vo.Type_0_is_not_assignable_to_type_1.code,Vo.Type_0_is_not_comparable_to_type_1.code],v4({fixIds:[D4],errorCodes:O4,getCodeActions:function(e){const{sourceFile:n,errorCode:t,cancellationToken:r,program:i,span:a}=e,o=D(i.getTypeChecker().getDiagnostics(n,r),function(e,n){return({start:t,length:r,relatedInformation:i,code:a})=>bn(t)&&bn(r)&&DY({start:t,length:r},e)&&a===n&&!!i&&ce(i,(e=>e.code===Vo.Did_you_mean_to_mark_this_function_as_async.code))}(a,t)),s=G4(n,o&&o.relatedInformation&&D(o.relatedInformation,(e=>e.code===Vo.Did_you_mean_to_mark_this_function_as_async.code)));if(s)return[F4(e,s,(n=>i_e.ChangeTracker.with(e,n)))]},getAllCodeActions:e=>{const{sourceFile:n}=e,t=new Set;return A4(e,O4,((r,i)=>{const a=i.relatedInformation&&D(i.relatedInformation,(e=>e.code===Vo.Did_you_mean_to_mark_this_function_as_async.code)),o=G4(n,a);if(o)return F4(e,o,(e=>(e(r),[])),t)}))}})}});function K4(e,n,t,r,i){const a=_Q(e,t);return a&&function(e,n,t,r,i){return ce(i.getTypeChecker().getDiagnostics(e,r),(({start:e,length:r,relatedInformation:i,code:a})=>bn(e)&&bn(r)&&DY({start:e,length:r},t)&&a===n&&!!i&&ce(i,(e=>e.code===Vo.Did_you_forget_to_use_await.code))))}(e,n,t,r,i)&&J4(a)?a:void 0}function W4(e,n,t,r,i,a){const{sourceFile:o,program:s,cancellationToken:c}=e,l=function(e,n,t,r,i){const a=function(e,n){if(Rk(e.parent)&&AC(e.parent.expression))return{identifiers:[e.parent.expression],isCompleteFix:!0};if(AC(e))return{identifiers:[e],isCompleteFix:!0};if(qk(e)){let t,r=!0;for(const i of[e.left,e.right]){const e=n.getTypeAtLocation(i);if(n.getPromisedTypeOfPromise(e)){if(!AC(i)){r=!1;continue}(t||(t=[])).push(i)}}return t&&{identifiers:t,isCompleteFix:r}}}(e,i);if(!a)return;let o,s=a.isCompleteFix;for(const e of a.identifiers){const a=i.getSymbolAtLocation(e);if(!a)continue;const c=En(a.valueDeclaration,kI),l=c&&En(c.name,AC),d=my(c,240);if(!c||!d||c.type||!c.initializer||d.getSourceFile()!==n||db(d,1)||!l||!J4(c.initializer)){s=!1;continue}const u=r.getSemanticDiagnostics(n,t);bae.Core.eachSymbolReferenceInFile(l,i,n,(t=>e!==t&&!z4(t,u,n,i)))?s=!1:(o||(o=[])).push({expression:c.initializer,declarationSymbol:a})}return o&&{initializers:o,needsSecondPassForFixAll:!s}}(n,o,c,s,r);if(l)return m4("addMissingAwaitToInitializer",i((e=>{A(l.initializers,(({expression:n})=>X4(e,t,o,r,n,a))),a&&l.needsSecondPassForFixAll&&X4(e,t,o,r,n,a)})),1===l.initializers.length?[Vo.Add_await_to_initializer_for_0,l.initializers[0].declarationSymbol.name]:Vo.Add_await_to_initializers)}function q4(e,n,t,r,i,a){const o=i((i=>X4(i,t,e.sourceFile,r,n,a)));return h4(B4,o,Vo.Add_await,B4,Vo.Fix_all_expressions_possibly_missing_await)}function z4(e,n,t,r){const i=Rk(e.parent)?e.parent.name:qk(e.parent)?e.parent:e,a=D(n,(e=>e.start===i.getStart(t)&&e.start+e.length===i.getEnd()));return a&&G(j4,a.code)||1&r.getTypeAtLocation(i).flags}function J4(e){return 32768&e.kind||!!Rc(e,(e=>e.parent&&Bk(e.parent)&&e.parent.body===e||lI(e)&&(259===e.parent.kind||215===e.parent.kind||216===e.parent.kind||171===e.parent.kind)))}function X4(e,n,t,r,i,a){if(yI(i.parent)&&!i.parent.awaitModifier){const n=r.getTypeAtLocation(i),a=r.getAsyncIterableType();if(a&&r.isTypeAssignableTo(n,a)){const n=i.parent;return void e.replaceNode(t,n,pA.updateForOfStatement(n,pA.createToken(133),n.initializer,n.expression,n.statement))}}if(qk(i))for(const n of[i.left,i.right]){if(a&&AC(n)){const e=r.getSymbolAtLocation(n);if(e&&a.has(WG(e)))continue}const i=r.getTypeAtLocation(n),o=r.getPromisedTypeOfPromise(i)?pA.createAwaitExpression(n):n;e.replaceNode(t,n,o)}else if(n===U4&&Rk(i.parent)){if(a&&AC(i.parent.expression)){const e=r.getSymbolAtLocation(i.parent.expression);if(e&&a.has(WG(e)))return}e.replaceNode(t,i.parent.expression,pA.createParenthesizedExpression(pA.createAwaitExpression(i.parent.expression))),Y4(e,i.parent.expression,t)}else if(G(V4,n)&&ru(i.parent)){if(a&&AC(i)){const e=r.getSymbolAtLocation(i);if(e&&a.has(WG(e)))return}e.replaceNode(t,i,pA.createParenthesizedExpression(pA.createAwaitExpression(i))),Y4(e,i,t)}else{if(a&&kI(i.parent)&&AC(i.parent.name)){const e=r.getSymbolAtLocation(i.parent.name);if(e&&!ie(a,WG(e)))return}e.replaceNode(t,i,pA.createAwaitExpression(i))}}function Y4(e,n,t){const r=gX(n.pos,t);r&&z$(r.end,r.parent,t)&&e.insertText(t,n.getStart(t),";")}var $4,Q4,Z4=E({"src/services/codefixes/addMissingAwait.ts"(){ufe(),Hte(),B4="addMissingAwait",U4=Vo.Property_0_does_not_exist_on_type_1.code,V4=[Vo.This_expression_is_not_callable.code,Vo.This_expression_is_not_constructable.code],j4=[Vo.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type.code,Vo.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,Vo.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,Vo.Operator_0_cannot_be_applied_to_type_1.code,Vo.Operator_0_cannot_be_applied_to_types_1_and_2.code,Vo.This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap.code,Vo.This_condition_will_always_return_true_since_this_0_is_always_defined.code,Vo.Type_0_is_not_an_array_type.code,Vo.Type_0_is_not_an_array_type_or_a_string_type.code,Vo.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher.code,Vo.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,Vo.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,Vo.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator.code,Vo.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator.code,Vo.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,U4,...V4],v4({fixIds:[B4],errorCodes:j4,getCodeActions:function(e){const{sourceFile:n,errorCode:t,span:r,cancellationToken:i,program:a}=e,o=K4(n,t,r,i,a);if(!o)return;const s=e.program.getTypeChecker(),c=n=>i_e.ChangeTracker.with(e,n);return be([W4(e,o,t,s,c),q4(e,o,t,s,c)])},getAllCodeActions:e=>{const{sourceFile:n,program:t,cancellationToken:r}=e,i=e.program.getTypeChecker(),a=new Set;return A4(e,j4,((o,s)=>{const c=K4(n,s.code,s,r,t);if(!c)return;const l=e=>(e(o),[]);return W4(e,c,s.code,i,l,a)||q4(e,c,s.code,i,l,a)}))}})}});function e8(e,n,t,r,i){const a=_X(n,t),o=Rc(a,(e=>vu(e.parent)?e.parent.initializer===e:!function(e){switch(e.kind){case 79:case 206:case 207:case 299:case 300:return!0;default:return!1}}(e)&&"quit"));if(o)return n8(e,o,n,i);const s=a.parent;if(qk(s)&&63===s.operatorToken.kind&&_I(s.parent))return n8(e,a,n,i);if(Ik(s)){const t=r.getTypeChecker();if(!N(s.elements,(e=>function(e,n){const t=AC(e)?e:Bb(e,!0)&&AC(e.left)?e.left:void 0;return!!t&&!n.getSymbolAtLocation(t)}(e,t))))return;return n8(e,s,n,i)}const c=Rc(a,(e=>!!_I(e.parent)||!function(e){switch(e.kind){case 79:case 223:case 27:return!0;default:return!1}}(e)&&"quit"));if(c){if(!t8(c,r.getTypeChecker()))return;return n8(e,c,n,i)}}function n8(e,n,t,r){r&&!ie(r,n)||e.insertModifierBefore(t,85,n)}function t8(e,n){return!!qk(e)&&(27===e.operatorToken.kind?N([e.left,e.right],(e=>t8(e,n))):63===e.operatorToken.kind&&AC(e.left)&&!n.getSymbolAtLocation(e.left))}var r8,i8,a8=E({"src/services/codefixes/addMissingConst.ts"(){ufe(),Hte(),$4="addMissingConst",v4({errorCodes:Q4=[Vo.Cannot_find_name_0.code,Vo.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer.code],getCodeActions:function(e){const n=i_e.ChangeTracker.with(e,(n=>e8(n,e.sourceFile,e.span.start,e.program)));if(n.length>0)return[h4($4,n,Vo.Add_const_to_unresolved_variable,$4,Vo.Add_const_to_all_unresolved_variables)]},fixIds:[$4],getAllCodeActions:e=>{const n=new Set;return A4(e,Q4,((t,r)=>e8(t,r.file,r.start,e.program,n)))}})}});function o8(e,n,t,r){const i=_X(n,t);if(!AC(i))return;const a=i.parent;169!==a.kind||r&&!ie(r,a)||e.insertModifierBefore(n,136,a)}var s8,c8,l8=E({"src/services/codefixes/addMissingDeclareProperty.ts"(){ufe(),Hte(),r8="addMissingDeclareProperty",v4({errorCodes:i8=[Vo.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],getCodeActions:function(e){const n=i_e.ChangeTracker.with(e,(n=>o8(n,e.sourceFile,e.span.start)));if(n.length>0)return[h4(r8,n,Vo.Prefix_with_declare,r8,Vo.Prefix_all_incorrect_property_declarations_with_declare)]},fixIds:[r8],getAllCodeActions:e=>{const n=new Set;return A4(e,i8,((e,t)=>o8(e,t.file,t.start,n)))}})}});function d8(e,n,t){const r=Rc(_X(n,t),KC);Nt.assert(!!r,"Expected position to be owned by a decorator.");const i=pA.createCallExpression(r.expression,void 0,void 0);e.replaceNode(n,r.expression,i)}var u8,_8,p8=E({"src/services/codefixes/addMissingInvocationForDecorator.ts"(){ufe(),Hte(),s8="addMissingInvocationForDecorator",v4({errorCodes:c8=[Vo._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0.code],getCodeActions:function(e){const n=i_e.ChangeTracker.with(e,(n=>d8(n,e.sourceFile,e.span.start)));return[h4(s8,n,Vo.Call_decorator_expression,s8,Vo.Add_to_all_uncalled_decorators)]},fixIds:[s8],getAllCodeActions:e=>A4(e,c8,((e,n)=>d8(e,n.file,n.start)))})}});function f8(e,n,t){const r=_X(n,t),i=r.parent;if(!HC(i))return Nt.fail("Tried to add a parameter name to a non-parameter: "+Nt.formatSyntaxKind(r.kind));const a=i.parent.parameters.indexOf(i);Nt.assert(!i.type,"Tried to add a parameter name to a parameter that already had one."),Nt.assert(a>-1,"Parameter not found in parent parameter list.");const o=pA.createTypeReferenceNode(i.name,void 0),s=pA.createParameterDeclaration(i.modifiers,i.dotDotDotToken,"arg"+a,i.questionToken,i.dotDotDotToken?pA.createArrayTypeNode(o):o,i.initializer);e.replaceNode(n,i,s)}var m8,h8=E({"src/services/codefixes/addNameToNamelessParameter.ts"(){ufe(),Hte(),u8="addNameToNamelessParameter",v4({errorCodes:_8=[Vo.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code],getCodeActions:function(e){const n=i_e.ChangeTracker.with(e,(n=>f8(n,e.sourceFile,e.span.start)));return[h4(u8,n,Vo.Add_parameter_name,u8,Vo.Add_names_to_all_parameters_without_names)]},fixIds:[u8],getAllCodeActions:e=>A4(e,_8,((e,n)=>f8(e,n.file,n.start)))})}});function g8(e,n,t){var r,a;const o=y8(_Q(e,n),t);if(!o)return i;const{source:s,target:c}=o,l=function(e,n,t){return Rk(n)&&!!t.getExactOptionalProperties(t.getTypeAtLocation(n.expression)).length&&t.getTypeAtLocation(e)===t.getUndefinedType()}(s,c,t)?t.getTypeAtLocation(c.expression):t.getTypeAtLocation(c);return(null==(a=null==(r=l.symbol)?void 0:r.declarations)?void 0:a.some((e=>Ip(e).fileName.match(/\.d\.ts$/))))?i:t.getExactOptionalProperties(l)}function y8(e,n){var t;if(e){if(qk(e.parent)&&63===e.parent.operatorToken.kind)return{source:e.parent.right,target:e.parent.left};if(kI(e.parent)&&e.parent.initializer)return{source:e.parent.initializer,target:e.parent.name};if(Dk(e.parent)){const t=n.getSymbolAtLocation(e.parent.expression);if(!(null==t?void 0:t.valueDeclaration)||!wd(t.valueDeclaration.kind))return;if(!uu(e))return;const r=e.parent.arguments.indexOf(e);if(-1===r)return;const i=t.valueDeclaration.parameters[r].name;if(AC(i))return{source:e,target:i}}else if(bw(e.parent)&&AC(e.parent.name)||Ew(e.parent)){const r=y8(e.parent.parent,n);if(!r)return;const i=n.getPropertyOfType(n.getTypeAtLocation(r.target),e.parent.name.text),a=null==(t=null==i?void 0:i.declarations)?void 0:t[0];if(!a)return;return{source:bw(e.parent)?e.parent.initializer:e.parent.name,target:a}}}}var v8,b8,E8=E({"src/services/codefixes/addOptionalPropertyUndefined.ts"(){ufe(),Hte(),m8="addOptionalPropertyUndefined",v4({errorCodes:[Vo.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target.code,Vo.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,Vo.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code],getCodeActions(e){const n=e.program.getTypeChecker(),t=g8(e.sourceFile,e.span,n);if(!t.length)return;const r=i_e.ChangeTracker.with(e,(e=>function(e,n){for(const t of n){const n=t.valueDeclaration;if(n&&(WC(n)||qC(n))&&n.type){const t=pA.createUnionTypeNode([...189===n.type.kind?n.type.types:[n.type],pA.createTypeReferenceNode("undefined")]);e.replaceNode(n.getSourceFile(),n.type,t)}}}(e,t)));return[m4(m8,r,Vo.Add_undefined_to_optional_property_type)]},fixIds:[m8]})}});function T8(e,n){const t=_X(e,n);return En(HC(t.parent)?t.parent.parent:t.parent,x8)}function x8(e){return function(e){return Cd(e)||257===e.kind||168===e.kind||169===e.kind}(e)&&S8(e)}function S8(e){return Cd(e)?e.parameters.some(S8)||!e.type&&!!xl(e):!e.type&&!!Tl(e)}function A8(e,n,t){if(Cd(t)&&(xl(t)||t.parameters.some((e=>!!Tl(e))))){if(!t.typeParameters){const r=$v(t);r.length&&e.insertTypeParameters(n,t,r)}const r=Bk(t)&&!ZJ(t,20,n);r&&e.insertNodeBefore(n,Me(t.parameters),pA.createToken(20));for(const r of t.parameters)if(!r.type){const t=Tl(r);t&&e.tryInsertTypeAnnotation(n,r,tB(t,L8,jd))}if(r&&e.insertNodeAfter(n,Ge(t.parameters),pA.createToken(21)),!t.type){const r=xl(t);r&&e.tryInsertTypeAnnotation(n,t,tB(r,L8,jd))}}else{const r=Nt.checkDefined(Tl(t),"A JSDocType for this declaration should exist");Nt.assert(!t.type,"The JSDocType decl should have a type"),e.tryInsertTypeAnnotation(n,t,tB(r,L8,jd))}}function L8(e){switch(e.kind){case 315:case 316:return pA.createTypeReferenceNode("any",i);case 319:return function(e){return pA.createUnionTypeNode([tB(e.type,L8,jd),pA.createTypeReferenceNode("undefined",i)])}(e);case 318:return L8(e.type);case 317:return function(e){return pA.createUnionTypeNode([tB(e.type,L8,jd),pA.createTypeReferenceNode("null",i)])}(e);case 321:return function(e){return pA.createArrayTypeNode(tB(e.type,L8,jd))}(e);case 320:return function(e){var n;return pA.createFunctionTypeNode(i,e.parameters.map(C8),null!=(n=e.type)?n:pA.createKeywordTypeNode(131))}(e);case 180:return function(e){let n=e.typeName,t=e.typeArguments;if(AC(e.typeName)){if(Ih(e))return function(e){const n=pA.createParameterDeclaration(void 0,void 0,148===e.typeArguments[0].kind?"n":"s",void 0,pA.createTypeReferenceNode(148===e.typeArguments[0].kind?"number":"string",[]),void 0),t=pA.createTypeLiteralNode([pA.createIndexSignature(void 0,[n],e.typeArguments[1])]);return GA(t,1),t}(e);let r=e.typeName.text;switch(e.typeName.text){case"String":case"Boolean":case"Object":case"Number":r=r.toLowerCase();break;case"array":case"date":case"promise":r=r[0].toUpperCase()+r.slice(1)}n=pA.createIdentifier(r),t="Array"!==r&&"Promise"!==r||e.typeArguments?rB(e.typeArguments,L8,jd):pA.createNodeArray([pA.createTypeReferenceNode("any",i)])}return pA.createTypeReferenceNode(n,t)}(e);case 325:return function(e){const n=pA.createTypeLiteralNode(W(e.jsDocPropertyTags,(e=>pA.createPropertySignature(void 0,AC(e.name)?e.name:e.name.right,KS(e)?pA.createToken(57):void 0,e.typeExpression&&tB(e.typeExpression.type,L8,jd)||pA.createKeywordTypeNode(131)))));return GA(n,1),n}(e);default:const n=_B(e,L8,RV);return GA(n,1),n}}function C8(e){const n=e.parent.parameters.indexOf(e),t=321===e.type.kind&&n===e.parent.parameters.length-1,r=e.name||(t?"rest":"arg"+n),i=t?pA.createToken(25):e.dotDotDotToken;return pA.createParameterDeclaration(e.modifiers,i,r,e.questionToken,tB(e.type,L8,jd),e.initializer)}var k8,I8,w8=E({"src/services/codefixes/annotateWithTypeFromJSDoc.ts"(){ufe(),Hte(),v8="annotateWithTypeFromJSDoc",v4({errorCodes:b8=[Vo.JSDoc_types_may_be_moved_to_TypeScript_types.code],getCodeActions(e){const n=T8(e.sourceFile,e.span.start);if(!n)return;const t=i_e.ChangeTracker.with(e,(t=>A8(t,e.sourceFile,n)));return[h4(v8,t,Vo.Annotate_with_type_from_JSDoc,v8,Vo.Annotate_everything_with_types_from_JSDoc)]},fixIds:[v8],getAllCodeActions:e=>A4(e,b8,((e,n)=>{const t=T8(n.file,n.start);t&&A8(e,n.file,t)}))})}});function R8(e,n,t,r,i,a){const o=r.getSymbolAtLocation(_X(n,t));if(!(o&&o.valueDeclaration&&19&o.flags))return;const s=o.valueDeclaration;if(wI(s)||Gk(s))e.replaceNode(n,s,function(e){const n=c(o);e.body&&n.unshift(pA.createConstructorDeclaration(void 0,e.parameters,e.body));const t=N8(e,93);return pA.createClassDeclaration(t,e.name,void 0,void 0,n)}(s));else if(kI(s)){const t=function(e){const n=e.initializer;if(!n||!Gk(n)||!AC(e.name))return;const t=c(e.symbol);n.body&&t.unshift(pA.createConstructorDeclaration(void 0,n.parameters,n.body));const r=N8(e.parent.parent,93);return pA.createClassDeclaration(r,e.name,void 0,void 0,t)}(s);if(!t)return;const r=s.parent.parent;II(s.parent)&&s.parent.declarations.length>1?(e.delete(n,s),e.insertNodeAfter(n,r,t)):e.replaceNode(n,r,t)}function c(t){const r=[];return t.exports&&t.exports.forEach((e=>{if("prototype"===e.name&&e.declarations){const n=e.declarations[0];1===e.declarations.length&&Rk(n)&&qk(n.parent)&&63===n.parent.operatorToken.kind&&wk(n.parent.right)&&o(n.parent.right.symbol,void 0,r)}else o(e,[pA.createToken(124)],r)})),t.members&&t.members.forEach(((i,a)=>{var s,c,l,d;if("constructor"===a&&i.valueDeclaration){const r=null==(d=null==(l=null==(c=null==(s=t.exports)?void 0:s.get("prototype"))?void 0:c.declarations)?void 0:l[0])?void 0:d.parent;r&&qk(r)&&wk(r.right)&&ce(r.right.properties,D8)||e.delete(n,i.valueDeclaration.parent)}else o(i,void 0,r)})),r;function o(t,r,o){if(!(8192&t.flags||4096&t.flags))return;const s=t.valueDeclaration,c=s.parent,l=c.right;if(u=l,!(eT(d=s)?Rk(d)&&D8(d)||Ad(u):N(d.properties,(e=>!!(JC(e)||Ol(e)||bw(e)&&Gk(e.initializer)&&e.name||D8(e))))))return;var d,u;if(ce(o,(e=>{const n=Wc(e);return!(!n||!AC(n)||Pc(n)!==Gc(t))})))return;const _=c.parent&&241===c.parent.kind?c.parent:c;if(e.delete(n,_),l)if(eT(s)&&(Gk(l)||Bk(l))){const e=EY(n,i),t=function(e,n,t){if(Rk(e))return e.name;const r=e.argumentExpression;return oC(r)?r:t_(r)?Ks(r.text,BT(n))?pA.createIdentifier(r.text):uC(r)?pA.createStringLiteral(r.text,0===t):r:void 0}(s,a,e);t&&p(o,l,t)}else{if(!wk(l)){if(xh(n))return;if(!Rk(s))return;const e=pA.createPropertyDeclaration(r,s.name,void 0,void 0,l);return w$(c.parent,e,n),void o.push(e)}A(l.properties,(e=>{(JC(e)||Ol(e))&&o.push(e),bw(e)&&Gk(e.initializer)&&p(o,e.initializer,e.name),D8(e)}))}else o.push(pA.createPropertyDeclaration(r,t.name,void 0,void 0,void 0));function p(e,t,i){return Gk(t)?function(e,t,i){const a=de(r,N8(t,132)),o=pA.createMethodDeclaration(a,void 0,i,void 0,void 0,t.parameters,void 0,t.body);return w$(c,o,n),void e.push(o)}(e,t,i):function(e,t,i){const a=t.body;let o;o=238===a.kind?a:pA.createBlock([pA.createReturnStatement(a)]);const s=de(r,N8(t,132)),l=pA.createMethodDeclaration(s,void 0,i,void 0,void 0,t.parameters,void 0,o);w$(c,l,n),e.push(l)}(e,t,i)}}}}function N8(e,n){return PN(e)?j(e.modifiers,(e=>e.kind===n)):void 0}function D8(e){return!!e.name&&!(!AC(e.name)||"constructor"!==e.name.text)}var O8,M8,P8,F8=E({"src/services/codefixes/convertFunctionToEs6Class.ts"(){ufe(),Hte(),k8="convertFunctionToEs6Class",v4({errorCodes:I8=[Vo.This_constructor_function_may_be_converted_to_a_class_declaration.code],getCodeActions(e){const n=i_e.ChangeTracker.with(e,(n=>R8(n,e.sourceFile,e.span.start,e.program.getTypeChecker(),e.preferences,e.program.getCompilerOptions())));return[h4(k8,n,Vo.Convert_function_to_an_ES2015_class,k8,Vo.Convert_all_constructor_functions_to_classes)]},fixIds:[k8],getAllCodeActions:e=>A4(e,I8,((n,t)=>R8(n,t.file,t.start,e.program.getTypeChecker(),e.preferences,e.program.getCompilerOptions())))})}});function G8(e,n,t,r){const a=_X(n,t);let o;if(o=AC(a)&&kI(a.parent)&&a.parent.initializer&&Cd(a.parent.initializer)?a.parent.initializer:En(Hm(_X(n,t)),_0),!o)return;const s=new Map,c=Ah(o),l=function(e,n){if(!e.body)return new Set;const t=new Set;return ED(e.body,(function e(r){B8(r,n,"then")?(t.add(KG(r)),A(r.arguments,e)):B8(r,n,"catch")||B8(r,n,"finally")?(t.add(KG(r)),ED(r,e)):j8(r,n)?t.add(KG(r)):ED(r,e)})),t}(o,r),d=function(e,n,t){const r=new Map,i=un();return ED(e,(function e(a){if(!AC(a))return void ED(a,e);const o=n.getSymbolAtLocation(a);if(o){const e=n6(n.getTypeAtLocation(a),n),s=WG(o).toString();if(!e||HC(a.parent)||Cd(a.parent)||t.has(s)){if(a.parent&&(HC(a.parent)||kI(a.parent)||kk(a.parent))){const e=a.text,n=i.get(e);if(n&&n.some((e=>e!==o))){const n=H8(a,i);r.set(s,n.identifier),t.set(s,n),i.add(e,o)}else{const n=g$(a);t.set(s,a6(n)),i.add(e,o)}}}else{const n=De(e.parameters),r=(null==n?void 0:n.valueDeclaration)&&HC(n.valueDeclaration)&&En(n.valueDeclaration.name,AC)||pA.createUniqueName("result",16),a=H8(r,i);t.set(s,a),i.add(r.text,o)}}})),y$(e,!0,(e=>{if(kk(e)&&AC(e.name)&&Lk(e.parent)){const t=n.getSymbolAtLocation(e.name),i=t&&r.get(String(WG(t)));if(i&&i.text!==(e.name||e.propertyName).getText())return pA.createBindingElement(e.dotDotDotToken,e.propertyName||e.name,i,e.initializer)}else if(AC(e)){const t=n.getSymbolAtLocation(e),i=t&&r.get(String(WG(t)));if(i)return pA.createIdentifier(i.text)}}))}(o,r,s);if(!a0(d,r))return;const u=d.body&&lI(d.body)?function(e,n){const t=[];return Em(e,(e=>{o0(e,n)&&t.push(e)})),t}(d.body,r):i,_={checker:r,synthNamesMap:s,setOfExpressionsToReturn:l,isInJSFile:c};if(!u.length)return;const p=ks(n.text,pE(o).pos);e.insertModifierAt(n,p,132,{suffix:" "});for(const t of u)if(ED(t,(function r(i){if(Dk(i)){const r=q8(i,i,_,!1);if(K8())return!0;e.replaceNodeWithNodes(n,t,r)}else if(!Ad(i)&&(ED(i,r),K8()))return!0})),K8())return}function B8(e,n,t){if(!Dk(e))return!1;const r=xJ(e,t)&&n.getTypeAtLocation(e);return!(!r||!n.getPromisedTypeOfPromise(r))}function U8(e,n){return 0!=(4&qE(e))&&e.target===n}function V8(e,n,t){if("finally"===e.expression.name.escapedText)return;const r=t.getTypeAtLocation(e.expression.expression);if(U8(r,t.getPromiseType())||U8(r,t.getPromiseLikeType())){if("then"!==e.expression.name.escapedText)return c(e.typeArguments,0);if(n===c(e.arguments,0))return c(e.typeArguments,0);if(n===c(e.arguments,1))return c(e.typeArguments,1)}}function j8(e,n){return!!uu(e)&&!!n.getPromisedTypeOfPromise(n.getTypeAtLocation(e))}function H8(e,n){const t=(n.get(e.text)||i).length;return a6(0===t?e:pA.createIdentifier(e.text+"_"+t))}function K8(){return!P8}function W8(){return P8=!1,i}function q8(e,n,t,r,i){if(B8(n,t.checker,"then"))return function(e,n,t,r,i,a){if(!n||z8(r,n))return Y8(e,t,r,i,a);if(t&&!z8(r,t))return W8();const o=r6(n,r),s=q8(e.expression.expression,e.expression.expression,r,!0,o);if(K8())return W8();const c=Z8(n,i,a,o,e,r);return K8()?W8():de(s,c)}(n,c(n.arguments,0),c(n.arguments,1),t,r,i);if(B8(n,t.checker,"catch"))return Y8(n,c(n.arguments,0),t,r,i);if(B8(n,t.checker,"finally"))return function(e,n,t,r,i){if(!n||z8(t,n))return q8(e,e.expression.expression,t,r,i);const a=J8(e,t,i),o=q8(e,e.expression.expression,t,!0,a);if(K8())return W8();const s=Z8(n,r,void 0,void 0,e,t);if(K8())return W8();const c=pA.createBlock(o),l=pA.createBlock(s);return X8(e,t,pA.createTryStatement(c,void 0,l),a,i)}(n,c(n.arguments,0),t,r,i);if(Rk(n))return q8(e,n.expression,t,r,i);const a=t.checker.getTypeAtLocation(n);return a&&t.checker.getPromisedTypeOfPromise(a)?(Nt.assertNode(wc(n).parent,Rk),function(e,n,t,r,i){if(u6(e,t)){let e=g$(n);return r&&(e=pA.createAwaitExpression(e)),[pA.createReturnStatement(e)]}return $8(i,pA.createAwaitExpression(n),void 0)}(e,n,t,r,i)):W8()}function z8({checker:e},n){if(104===n.kind)return!0;if(AC(n)&&!fd(n)&&"undefined"===Pc(n)){const t=e.getSymbolAtLocation(n);return!t||e.isUndefinedSymbol(t)}return!1}function J8(e,n,t){let r;return t&&!u6(e,n)&&(d6(t)?(r=t,n.synthNamesMap.forEach(((e,r)=>{if(e.identifier.text===t.identifier.text){const e=(i=t,a6(pA.createUniqueName(i.identifier.text,16)));n.synthNamesMap.set(r,e)}var i}))):r=a6(pA.createUniqueName("result",16),t.types),l6(r)),r}function X8(e,n,t,r,i){const a=[];let o;if(r&&!u6(e,n)){o=g$(l6(r));const e=r.types,t=n.checker.getUnionType(e,2),i=n.isInJSFile?void 0:n.checker.typeToTypeNode(t,void 0,void 0),s=[pA.createVariableDeclaration(o,void 0,i)],c=pA.createVariableStatement(void 0,pA.createVariableDeclarationList(s,1));a.push(c)}return a.push(t),i&&o&&1===i.kind&&a.push(pA.createVariableStatement(void 0,pA.createVariableDeclarationList([pA.createVariableDeclaration(g$(c6(i)),void 0,void 0,o)],2))),a}function Y8(e,n,t,r,i){if(!n||z8(t,n))return q8(e,e.expression.expression,t,r,i);const a=r6(n,t),o=J8(e,t,i),s=q8(e,e.expression.expression,t,!0,o);if(K8())return W8();const c=Z8(n,r,o,a,e,t);if(K8())return W8();const l=pA.createBlock(s),d=pA.createCatchClause(a&&g$(s6(a)),pA.createBlock(c));return X8(e,t,pA.createTryStatement(l,d,void 0),o,i)}function $8(e,n,t){return!e||i6(e)?[pA.createExpressionStatement(n)]:d6(e)&&e.hasBeenDeclared?[pA.createExpressionStatement(pA.createAssignment(g$(o6(e)),n))]:[pA.createVariableStatement(void 0,pA.createVariableDeclarationList([pA.createVariableDeclaration(g$(s6(e)),void 0,t,n)],2))]}function Q8(e,n){if(n&&e){const t=pA.createUniqueName("result",16);return[...$8(a6(t),e,n),pA.createReturnStatement(t)]}return[pA.createReturnStatement(e)]}function Z8(e,n,t,r,a,o){var s;switch(e.kind){case 104:break;case 208:case 79:if(!r)break;const c=pA.createCallExpression(g$(e),void 0,d6(r)?[o6(r)]:[]);if(u6(a,o))return Q8(c,V8(a,e,o.checker));const l=o.checker.getTypeAtLocation(e),d=o.checker.getSignaturesOfType(l,0);if(!d.length)return W8();const u=d[0].getReturnType(),_=$8(t,pA.createAwaitExpression(c),V8(a,e,o.checker));return t&&t.types.push(o.checker.getAwaitedType(u)||u),_;case 215:case 216:{const r=e.body,c=null==(s=n6(o.checker.getTypeAtLocation(e),o.checker))?void 0:s.getReturnType();if(lI(r)){let i=[],s=!1;for(const l of r.statements)if(EI(l))if(s=!0,o0(l,o.checker))i=i.concat(t6(o,l,n,t));else{const n=c&&l.expression?e6(o.checker,c,l.expression):l.expression;i.push(...Q8(n,V8(a,e,o.checker)))}else{if(n&&Em(l,An))return W8();i.push(l)}return u6(a,o)?i.map((e=>g$(e))):function(e,n,t,r){const i=[];for(const r of e)if(EI(r)){if(r.expression){const e=j8(r.expression,t.checker)?pA.createAwaitExpression(r.expression):r.expression;void 0===n?i.push(pA.createExpressionStatement(e)):d6(n)&&n.hasBeenDeclared?i.push(pA.createExpressionStatement(pA.createAssignment(o6(n),e))):i.push(pA.createVariableStatement(void 0,pA.createVariableDeclarationList([pA.createVariableDeclaration(s6(n),void 0,void 0,e)],2)))}}else i.push(g$(r));return r||void 0===n||i.push(pA.createVariableStatement(void 0,pA.createVariableDeclarationList([pA.createVariableDeclaration(s6(n),void 0,void 0,pA.createIdentifier("undefined"))],2))),i}(i,t,o,s)}{const s=s0(r,o.checker)?t6(o,pA.createReturnStatement(r),n,t):i;if(s.length>0)return s;if(c){const n=e6(o.checker,c,r);if(u6(a,o))return Q8(n,V8(a,e,o.checker));{const e=$8(t,n,void 0);return t&&t.types.push(o.checker.getAwaitedType(c)||c),e}}return W8()}}default:return W8()}return i}function e6(e,n,t){const r=g$(t);return e.getPromisedTypeOfPromise(n)?pA.createAwaitExpression(r):r}function n6(e,n){return Fe(n.getSignaturesOfType(e,0))}function t6(e,n,t,r){let i=[];return ED(n,(function n(a){if(Dk(a)){const n=q8(a,a,e,t,r);if(i=i.concat(n),i.length>0)return}else Ad(a)||ED(a,n)})),i}function r6(e,n){const t=[];let r;if(Cd(e)?e.parameters.length>0&&(r=function e(n){if(AC(n))return a(n);return function(e,n=i,t=[]){return{kind:1,bindingPattern:e,elements:n,types:t}}(n,X(n.elements,(n=>Qk(n)?[]:[e(n.name)])))}(e.parameters[0].name)):AC(e)?r=a(e):Rk(e)&&AC(e.name)&&(r=a(e.name)),r&&(!("identifier"in r)||"undefined"!==r.identifier.text))return r;function a(e){var r;const i=function(e){var t,r;return null!=(r=null==(t=En(e,ku))?void 0:t.symbol)?r:n.checker.getSymbolAtLocation(e)}((r=e).original?r.original:r);return i&&n.synthNamesMap.get(WG(i).toString())||a6(e,t)}}function i6(e){return!e||(d6(e)?!e.identifier.text:N(e.elements,i6))}function a6(e,n=[]){return{kind:0,identifier:e,types:n,hasBeenDeclared:!1,hasBeenReferenced:!1}}function o6(e){return e.hasBeenReferenced=!0,e.identifier}function s6(e){return d6(e)?l6(e):c6(e)}function c6(e){for(const n of e.elements)s6(n);return e.bindingPattern}function l6(e){return e.hasBeenDeclared=!0,e.identifier}function d6(e){return 0===e.kind}function u6(e,n){return!!e.original&&n.setOfExpressionsToReturn.has(KG(e.original))}var _6=E({"src/services/codefixes/convertToAsyncFunction.ts"(){ufe(),Hte(),O8="convertToAsyncFunction",M8=[Vo.This_may_be_converted_to_an_async_function.code],P8=!0,v4({errorCodes:M8,getCodeActions(e){P8=!0;const n=i_e.ChangeTracker.with(e,(n=>G8(n,e.sourceFile,e.span.start,e.program.getTypeChecker())));return P8?[h4(O8,n,Vo.Convert_to_async_function,O8,Vo.Convert_all_to_async_functions)]:[]},fixIds:[O8],getAllCodeActions:e=>A4(e,M8,((n,t)=>G8(n,t.file,t.start,e.program.getTypeChecker())))})}});function p6(e,n,t,r){for(const i of e.imports){const a=yp(e,i.text,gH(e,i));if(!a||a.resolvedFileName!==n.fileName)continue;const o=pg(i);switch(o.kind){case 268:t.replaceNode(e,o,yY(o.name,void 0,i,r));break;case 210:wh(o,!1)&&t.replaceNode(e,o,pA.createPropertyAccessExpression(g$(o),"default"))}}}function f6(e,n){e.forEachChild((function t(r){if(Rk(r)&&qF(e,r.expression)&&AC(r.name)){const{parent:e}=r;n(r,qk(e)&&e.left===r&&63===e.operatorToken.kind)}r.forEachChild(t)}))}function m6(e,n,t,r,i,o,s,c,l){switch(n.kind){case 240:return h6(e,n,r,t,i,o,l),!1;case 241:{const{expression:i}=n;switch(i.kind){case 210:return wh(i,!0)&&r.replaceNode(e,n,yY(void 0,void 0,i.arguments[0],l)),!1;case 223:{const{operatorToken:n}=i;return 63===n.kind&&function(e,n,t,r,i,o){const{left:s,right:c}=t;if(!Rk(s))return!1;if(qF(e,s)){if(!qF(e,c)){const i=wk(c)?function(e,n){const t=Z(e.properties,(e=>{switch(e.kind){case 174:case 175:case 300:case 301:return;case 299:return AC(e.name)?function(e,n,t){const r=[pA.createToken(93)];switch(n.kind){case 215:{const{name:t}=n;if(t&&t.text!==e)return i()}case 216:return x6(e,r,n,t);case 228:return function(e,n,t,r){return pA.createClassDeclaration(de(n,b$(t.modifiers)),e,b$(t.typeParameters),b$(t.heritageClauses),v6(t.members,r))}(e,r,n,t);default:return i()}function i(){return L6(r,pA.createIdentifier(e),v6(n,t))}}(e.name.text,e.initializer,n):void 0;case 171:return AC(e.name)?x6(e.name.text,[pA.createToken(93)],e,n):void 0;default:Nt.assertNever(e,`Convert to ES6 got invalid prop kind ${e.kind}`)}}));return t&&[t,!1]}(c,o):wh(c,!0)?function(e,n){const t=e.text,r=n.getSymbolAtLocation(e),i=r?r.exports:a;return i.has("export=")?[[y6(t)],!0]:i.has("default")?i.size>1?[[g6(t),y6(t)],!0]:[[y6(t)],!0]:[[g6(t)],!1]}(c.arguments[0],n):void 0;return i?(r.replaceNodeWithNodes(e,t.parent,i[0]),i[1]):(r.replaceRangeWithText(e,lE(s.getStart(e),c.pos),"export default"),!0)}r.delete(e,t.parent)}else qF(e,s.expression)&&function(e,n,t,r){const{text:i}=n.left.name,a=r.get(i);if(void 0!==a){const r=[L6(void 0,a,n.right),C6([pA.createExportSpecifier(!1,a,i)])];t.replaceNodeWithNodes(e,n.parent,r)}else!function({left:e,right:n,parent:t},r,i){const a=e.name.text;if(!(Gk(n)||Bk(n)||$k(n))||n.name&&n.name.text!==a)i.replaceNodeRangeWithNodes(r,e.expression,ZJ(e,24,r),[pA.createToken(93),pA.createToken(85)],{joiner:" ",suffix:" "});else{i.replaceRange(r,{pos:e.getStart(r),end:n.getStart(r)},pA.createToken(93),{suffix:" "}),n.name||i.insertName(r,n,a);const o=ZJ(t,26,r);o&&i.delete(r,o)}}(n,e,t)}(e,t,r,i);return!1}(e,t,i,r,s,c)}}}default:return!1}}function h6(e,n,t,r,i,a,o){const{declarationList:s}=n;let c=!1;const l=W(s.declarations,(n=>{const{name:t,initializer:l}=n;if(l){if(qF(e,l))return c=!0,k6([]);if(wh(l,!0))return c=!0,function(e,n,t,r,i,a){switch(e.kind){case 203:{const t=Z(e.elements,(e=>e.dotDotDotToken||e.initializer||e.propertyName&&!AC(e.propertyName)||!AC(e.name)?void 0:A6(e.propertyName&&e.propertyName.text,e.name.text)));if(t)return k6([yY(void 0,t,n,a)])}case 204:{const t=b6(G3(n.text,i),r);return k6([yY(pA.createIdentifier(t),void 0,n,a),L6(void 0,g$(e),pA.createIdentifier(t))])}case 79:return function(e,n,t,r,i){const a=t.getSymbolAtLocation(e),o=new Map;let s,c=!1;for(const n of r.original.get(e.text)){if(t.getSymbolAtLocation(n)!==a||n===e)continue;const{parent:i}=n;if(Rk(i)){const{name:{text:e}}=i;if("default"===e){c=!0;const e=n.getText();(null!=s?s:s=new Map).set(i,pA.createIdentifier(e))}else{Nt.assert(i.expression===n,"Didn't expect expression === use");let t=o.get(e);void 0===t&&(t=b6(e,r),o.set(e,t)),(null!=s?s:s=new Map).set(i,pA.createIdentifier(t))}}else c=!0}const l=0===o.size?void 0:Qe(q(o.entries(),(([e,n])=>pA.createImportSpecifier(!1,e===n?void 0:pA.createIdentifier(e),pA.createIdentifier(n)))));return l||(c=!0),k6([yY(c?g$(e):void 0,l,n,i)],s)}(e,n,t,r,a);default:return Nt.assertNever(e,`Convert to ES module got invalid name kind ${e.kind}`)}}(t,l.arguments[0],r,i,a,o);if(Rk(l)&&wh(l.expression,!0))return c=!0,function(e,n,t,r,i){switch(e.kind){case 203:case 204:{const a=b6(n,r);return k6([S6(a,n,t,i),L6(void 0,e,pA.createIdentifier(a))])}case 79:return k6([S6(e.text,n,t,i)]);default:return Nt.assertNever(e,`Convert to ES module got invalid syntax form ${e.kind}`)}}(t,l.name.text,l.expression.arguments[0],i,o)}return k6([pA.createVariableStatement(void 0,pA.createVariableDeclarationList([n],s.flags))])}));if(c){let r;return t.replaceNodeWithNodes(e,n,X(l,(e=>e.newImports))),A(l,(e=>{e.useSitesToUnqualify&&mp(e.useSitesToUnqualify,null!=r?r:r=new Map)})),r}}function g6(e){return C6(void 0,e)}function y6(e){return C6([pA.createExportSpecifier(!1,void 0,"default")],e)}function v6(e,n){return n&&ce(Qe(n.keys()),(n=>BJ(e,n)))?gn(e)?E$(e,!0,t):y$(e,!0,t):e;function t(e){if(208===e.kind){const t=n.get(e);return n.delete(e),t}}}function b6(e,n){for(;n.original.has(e)||n.additional.has(e);)e=`_${e}`;return n.additional.add(e),e}function E6(e){const n=un();return T6(e,(e=>n.add(e.text,e))),n}function T6(e,n){AC(e)&&function(e){const{parent:n}=e;switch(n.kind){case 208:return n.name!==e;case 205:case 273:return n.propertyName!==e;default:return!0}}(e)&&n(e),e.forEachChild((e=>T6(e,n)))}function x6(e,n,t,r){return pA.createFunctionDeclaration(de(n,b$(t.modifiers)),g$(t.asteriskToken),e,b$(t.typeParameters),b$(t.parameters),g$(t.type),pA.converters.convertToFunctionBlock(v6(t.body,r)))}function S6(e,n,t,r){return"default"===n?yY(pA.createIdentifier(e),void 0,t,r):yY(void 0,[A6(n,e)],t,r)}function A6(e,n){return pA.createImportSpecifier(!1,void 0!==e&&e!==n?pA.createIdentifier(e):void 0,pA.createIdentifier(n))}function L6(e,n,t){return pA.createVariableStatement(e,pA.createVariableDeclarationList([pA.createVariableDeclaration(n,void 0,void 0,t)],2))}function C6(e,n){return pA.createExportDeclaration(void 0,!1,e&&pA.createNamedExports(e),void 0===n?void 0:pA.createStringLiteral(n))}function k6(e,n){return{newImports:e,useSitesToUnqualify:n}}var I6,w6,R6=E({"src/services/codefixes/convertToEsModule.ts"(){ufe(),Hte(),v4({errorCodes:[Vo.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module.code],getCodeActions(e){const{sourceFile:n,program:t,preferences:r}=e;return[m4("convertToEsModule",i_e.ChangeTracker.with(e,(e=>{if(function(e,n,t,r,i){const a={original:E6(e),additional:new Set},o=function(e,n,t){const r=new Map;return f6(e,(e=>{const{text:i}=e.name;r.has(i)||!Ty(e.name)&&!n.resolveName(i,e,111551,!0)||r.set(i,b6(`_${i}`,t))})),r}(e,n,a);!function(e,n,t){f6(e,((r,i)=>{if(i)return;const{text:a}=r.name;t.replaceNode(e,r,pA.createIdentifier(n.get(a)||a))}))}(e,o,t);let s,c=!1;for(const o of j(e.statements,dI)){const c=h6(e,o,t,n,a,r,i);c&&mp(c,null!=s?s:s=new Map)}for(const l of j(e.statements,(e=>!dI(e)))){const d=m6(e,l,n,t,a,r,o,s,i);c=c||d}return null==s||s.forEach(((n,r)=>{t.replaceNode(e,r,n)})),c}(n,t.getTypeChecker(),e,BT(t.getCompilerOptions()),EY(n,r)))for(const i of t.getSourceFiles())p6(i,n,e,EY(i,r))})),Vo.Convert_to_ES_module)]}})}});function N6(e,n){const t=Rc(_X(e,n),UC);return Nt.assert(!!t,"Expected position to be owned by a qualified name."),AC(t.left)?t:void 0}function D6(e,n,t){const r=t.right.text,i=pA.createIndexedAccessTypeNode(pA.createTypeReferenceNode(t.left,void 0),pA.createLiteralTypeNode(pA.createStringLiteral(r)));e.replaceNode(n,t,i)}var O6,M6,P6=E({"src/services/codefixes/correctQualifiedNameToIndexedAccessType.ts"(){ufe(),Hte(),I6="correctQualifiedNameToIndexedAccessType",v4({errorCodes:w6=[Vo.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],getCodeActions(e){const n=N6(e.sourceFile,e.span.start);if(!n)return;const t=i_e.ChangeTracker.with(e,(t=>D6(t,e.sourceFile,n))),r=`${n.left.text}["${n.right.text}"]`;return[h4(I6,t,[Vo.Rewrite_as_the_indexed_access_type_0,r],I6,Vo.Rewrite_all_as_indexed_access_types)]},fixIds:[I6],getAllCodeActions:e=>A4(e,w6,((e,n)=>{const t=N6(n.file,n.start);t&&D6(e,n.file,t)}))})}});function F6(e,n){return En(_X(n,e.start).parent,QI)}function G6(e,n,t){if(!n)return;const r=n.parent,i=r.parent,a=function(e,n){const t=e.parent;if(1===t.elements.length)return t.elements;const r=dQ(XX(t),n.program.getSemanticDiagnostics(n.sourceFile,n.cancellationToken));return j(t.elements,(n=>{var t;return n===e||(null==(t=lQ(n,r))?void 0:t.code)===O6[0]}))}(n,t);if(a.length===r.elements.length)e.insertModifierBefore(t.sourceFile,154,r);else{const n=pA.updateExportDeclaration(i,i.modifiers,!1,pA.updateNamedExports(r,j(r.elements,(e=>!G(a,e)))),i.moduleSpecifier,void 0),o=pA.createExportDeclaration(void 0,!0,pA.createNamedExports(a),i.moduleSpecifier,void 0);e.replaceNode(t.sourceFile,i,n,{leadingTriviaOption:i_e.LeadingTriviaOption.IncludeAll,trailingTriviaOption:i_e.TrailingTriviaOption.Exclude}),e.insertNodeAfter(t.sourceFile,i,o)}}var B6,U6,V6=E({"src/services/codefixes/convertToTypeOnlyExport.ts"(){ufe(),Hte(),v4({errorCodes:O6=[Vo.Re_exporting_a_type_when_0_is_enabled_requires_using_export_type.code],getCodeActions:function(e){const n=i_e.ChangeTracker.with(e,(n=>G6(n,F6(e.span,e.sourceFile),e)));if(n.length)return[h4(M6,n,Vo.Convert_to_type_only_export,M6,Vo.Convert_all_re_exported_types_to_type_only_exports)]},fixIds:[M6="convertToTypeOnlyExport"],getAllCodeActions:function(e){const n=new Map;return A4(e,O6,((t,r)=>{const i=F6(r,e.sourceFile);i&&$E(n,KG(i.parent.parent))&&G6(t,i,e)}))}})}});function j6(e,n){const{parent:t}=_X(e,n);return JI(t)||UI(t)&&t.importClause?t:void 0}function H6(e,n,t){if(JI(t))e.replaceNode(n,t,pA.updateImportSpecifier(t,!0,t.propertyName,t.name));else{const r=t.importClause;if(r.name&&r.namedBindings)e.replaceNodeWithNodes(n,t,[pA.createImportDeclaration(b$(t.modifiers,!0),pA.createImportClause(!0,g$(r.name,!0),void 0),g$(t.moduleSpecifier,!0),g$(t.assertClause,!0)),pA.createImportDeclaration(b$(t.modifiers,!0),pA.createImportClause(!0,void 0,g$(r.namedBindings,!0)),g$(t.moduleSpecifier,!0),g$(t.assertClause,!0))]);else{const i=pA.updateImportDeclaration(t,t.modifiers,pA.updateImportClause(r,!0,r.name,r.namedBindings),t.moduleSpecifier,t.assertClause);e.replaceNode(n,t,i)}}}var K6,W6,q6=E({"src/services/codefixes/convertToTypeOnlyImport.ts"(){ufe(),Hte(),v4({errorCodes:B6=[Vo.This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error.code,Vo._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled.code],getCodeActions:function(e){const n=j6(e.sourceFile,e.span.start);if(n){const t=i_e.ChangeTracker.with(e,(t=>H6(t,e.sourceFile,n)));return[h4(U6,t,Vo.Convert_to_type_only_import,U6,Vo.Convert_all_imports_not_used_as_a_value_to_type_only_imports)]}},fixIds:[U6="convertToTypeOnlyImport"],getAllCodeActions:function(e){return A4(e,B6,((e,n)=>{const t=j6(n.file,n.start);t&&H6(e,n.file,t)}))}})}});function z6(e,n){const t=_X(e,n);if(AC(t)){const n=Tn(t.parent.parent,WC),r=t.getText(e);return{container:Tn(n.parent,sk),typeNode:n.type,constraint:r,name:"K"===r?"P":"K"}}}function J6(e,n,{container:t,typeNode:r,constraint:i,name:a}){e.replaceNode(n,t,pA.createMappedTypeNode(void 0,pA.createTypeParameterDeclaration(void 0,a,pA.createTypeReferenceNode(i)),void 0,void 0,r,void 0))}var X6,Y6,$6=E({"src/services/codefixes/convertLiteralTypeToMappedType.ts"(){ufe(),Hte(),K6="convertLiteralTypeToMappedType",v4({errorCodes:W6=[Vo._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0.code],getCodeActions:function(e){const{sourceFile:n,span:t}=e,r=z6(n,t.start);if(!r)return;const{name:i,constraint:a}=r,o=i_e.ChangeTracker.with(e,(e=>J6(e,n,r)));return[h4(K6,o,[Vo.Convert_0_to_1_in_0,a,i],K6,Vo.Convert_all_type_literals_to_mapped_type)]},fixIds:[K6],getAllCodeActions:e=>A4(e,W6,((e,n)=>{const t=z6(n.file,n.start);t&&J6(e,n.file,t)}))})}});function Q6(e,n){return Nt.checkDefined(Wm(_X(e,n)),"There should be a containing class")}function Z6(e){return!(e.valueDeclaration&&8&Tb(e.valueDeclaration))}function e3(e,n,t,r,i,a){const o=e.program.getTypeChecker(),s=function(e,n){const t=ly(e);if(!t)return op();const r=n.getTypeAtLocation(t);return op(n.getPropertiesOfType(r).filter(Z6))}(r,o),c=o.getTypeAtLocation(n),l=o.getPropertiesOfType(c).filter(gt(Z6,(e=>!s.has(e.escapedName)))),d=o.getTypeAtLocation(r),u=D(r.members,(e=>YC(e)));d.getNumberIndexType()||p(c,1),d.getStringIndexType()||p(c,0);const _=a3(t,e.program,a,e.host);function p(n,i){const a=o.getIndexInfoOfType(n,i);a&&f(t,r,o.indexInfoToIndexSignatureDeclaration(a,r,void 0,Bee(e)))}function f(e,n,t){u?i.insertNodeAfter(e,u,t):i.insertMemberAtStart(e,n,t)}Gee(r,l,t,e,a,_,(e=>f(t,r,e))),_.writeFixes(i)}var n3,t3,r3,i3=E({"src/services/codefixes/fixClassIncorrectlyImplementsInterface.ts"(){ufe(),Hte(),v4({errorCodes:X6=[Vo.Class_0_incorrectly_implements_interface_1.code,Vo.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code],getCodeActions(e){const{sourceFile:n,span:t}=e,r=Q6(n,t.start);return ee(uy(r),(t=>{const i=i_e.ChangeTracker.with(e,(i=>e3(e,t,n,r,i,e.preferences)));return 0===i.length?void 0:h4(Y6,i,[Vo.Implement_interface_0,t.getText(n)],Y6,Vo.Implement_all_unimplemented_interfaces)}))},fixIds:[Y6="fixClassIncorrectlyImplementsInterface"],getAllCodeActions(e){const n=new Map;return A4(e,X6,((t,r)=>{const i=Q6(r.file,r.start);if($E(n,KG(i)))for(const n of uy(i))e3(e,n,r.file,i,t,e.preferences)}))}})}});function a3(e,n,t,r,i){return o3(e,n,!1,t,r,i)}function o3(e,n,t,r,i,a){const o=n.getCompilerOptions(),s=[],c=[],l=new Map,d=new Map;return{addImportFromDiagnostic:function(e,n){const r=v3(n,e.code,e.start,t);r&&r.length&&u(Me(r))},addImportFromExportedSymbol:function(t,s){const c=Nt.checkDefined(t.parent),l=hQ(t,BT(o)),d=n.getTypeChecker(),_=d.getMergedSymbol(ME(t,d)),p=_3(e,_,l,c,!1,n,i,r,a),f=g3(e,n),m=d3(e,Nt.checkDefined(p),n,void 0,!!s,f,i,r);m&&u({fix:m,symbolName:l,errorIdentifierText:void 0})},writeFixes:function(n){const t=EY(e,r);for(const t of s)I3(n,e,t);for(const r of c)w3(n,e,r,t);let i;l.forEach((({importClauseOrBindingPattern:t,defaultImport:i,namedImports:a})=>{k3(n,e,t,i,Qe(a.entries(),(([e,n])=>({addAsTypeOnly:n,name:e}))),o,r)})),d.forEach((({useRequire:e,defaultImport:n,namedImports:r,namespaceLikeImport:a},s)=>{const c=(e?O3:D3)(s.slice(2),t,n,r&&Qe(r.entries(),(([e,n])=>({addAsTypeOnly:n,name:e}))),a,o);i=xe(i,c)})),i&&RY(n,e,i,!0,r)},hasFixes:function(){return s.length>0||c.length>0||l.size>0||d.size>0}};function u(e){var n,t;const{fix:r,symbolName:i}=e;switch(r.kind){case 0:s.push(r);break;case 1:c.push(r);break;case 2:{const{importClauseOrBindingPattern:e,importKind:t,addAsTypeOnly:o}=r,s=String(KG(e));let c=l.get(s);if(c||l.set(s,c={importClauseOrBindingPattern:e,defaultImport:void 0,namedImports:new Map}),0===t){const e=null==c?void 0:c.namedImports.get(i);c.namedImports.set(i,a(e,o))}else Nt.assert(void 0===c.defaultImport||c.defaultImport.name===i,"(Add to Existing) Default import should be missing or match symbolName"),c.defaultImport={name:i,addAsTypeOnly:a(null==(n=c.defaultImport)?void 0:n.addAsTypeOnly,o)};break}case 3:{const{moduleSpecifier:e,importKind:n,useRequire:s,addAsTypeOnly:c}=r,l=function(e,n,t,r){const i=o(e,!0),a=o(e,!1),s=d.get(i),c=d.get(a),l={defaultImport:void 0,namedImports:void 0,namespaceLikeImport:void 0,useRequire:t};return 1===n&&2===r?s||(d.set(i,l),l):1===r&&(s||c)?s||c:c||(d.set(a,l),l)}(e,n,s,c);switch(Nt.assert(l.useRequire===s,"(Add new) Tried to add an `import` and a `require` for the same module"),n){case 1:Nt.assert(void 0===l.defaultImport||l.defaultImport.name===i,"(Add new) Default import should be missing or match symbolName"),l.defaultImport={name:i,addAsTypeOnly:a(null==(t=l.defaultImport)?void 0:t.addAsTypeOnly,c)};break;case 0:const e=(l.namedImports||(l.namedImports=new Map)).get(i);l.namedImports.set(i,a(e,c));break;case 3:case 2:Nt.assert(void 0===l.namespaceLikeImport||l.namespaceLikeImport.name===i,"Namespacelike import shoudl be missing or match symbolName"),l.namespaceLikeImport={importKind:n,name:i,addAsTypeOnly:c}}break}case 4:break;default:Nt.assertNever(r,`fix wasn't never - got kind ${r.kind}`)}function a(e,n){return Math.max(null!=e?e:0,n)}function o(e,n){return`${n?1:0}|${e}`}}}function s3(e,n,t,r){const i=aQ(e,r,t),a=h3(n.getTypeChecker(),e,n.getCompilerOptions());return{getModuleSpecifierForBestExportInfo:function(o,s,c,l){const{fixes:d,computedWithoutCacheCount:u}=f3(o,s,c,!1,n,e,t,r,a,l),_=b3(d,e,n,i,t);return _&&{..._,computedWithoutCacheCount:u}}}}function c3(e,n,t,r,i,a,o,s,c,l,d,u){const _=s.getCompilerOptions();let p;t?(p=BQ(r,o,s,d,u).get(r.path,t),Nt.assertIsDefined(p,"Some exportInfo should match the specified exportMapKey")):(p=eo(dv(n.name))?[p3(e,i,n,s,o)]:_3(r,e,i,n,a,s,o,d,u),Nt.assertIsDefined(p,"Some exportInfo should match the specified symbol / moduleSymbol"));const f=g3(r,s),m=mS(_X(r,l)),h=Nt.checkDefined(d3(r,p,s,l,m,f,o,d));return{moduleSpecifier:h.moduleSpecifier,codeAction:u3(L3({host:o,formatContext:c,preferences:d},r,i,h,!1,_,d))}}function l3(e,n,t,r,i,a){const o=t.getCompilerOptions(),s=Ue(A3(e,t.getTypeChecker(),n,o)),c=S3(e,n,s,t),l=s!==n.text;return c&&u3(L3({host:r,formatContext:i,preferences:a},e,s,c,l,o,a))}function d3(e,n,t,r,i,a,o,s){const c=aQ(e,s,o);return b3(f3(n,r,i,a,t,e,o,s).fixes,e,t,c,o)}function u3({description:e,changes:n,commands:t}){return{description:e,changes:n,commands:t}}function _3(e,n,t,r,i,a,o,s,c){const l=y3(a,o);return BQ(e,o,a,s,c).search(e.path,i,(e=>e===t),(e=>{if(ME(e[0].symbol,l(e[0].isFromPackageJson))===n&&e.some((e=>e.moduleSymbol===r||e.symbol.parent===r)))return e}))}function p3(e,n,t,r,i){var a,o;const s=r.getCompilerOptions(),c=d(r.getTypeChecker(),!1);if(c)return c;const l=null==(o=null==(a=i.getPackageJsonAutoImportProvider)?void 0:a.call(i))?void 0:o.getTypeChecker();return Nt.checkDefined(l&&d(l,!0),"Could not find symbol in specified module for code actions");function d(r,i){const a=UQ(t,r,s);if(a&&ME(a.symbol,r)===e)return{symbol:a.symbol,moduleSymbol:t,moduleFileName:void 0,exportKind:a.exportKind,targetFlags:ME(e,r).flags,isFromPackageJson:i};const o=r.tryGetMemberInModuleExportsAndProperties(n,t);return o&&ME(o,r)===e?{symbol:o,moduleSymbol:t,moduleFileName:void 0,exportKind:0,targetFlags:ME(e,r).flags,isFromPackageJson:i}:void 0}}function f3(e,n,t,r,a,o,s,c,l=h3(a.getTypeChecker(),o,a.getCompilerOptions()),d){const u=a.getTypeChecker(),_=X(e,l.getImportsForExportInfo),p=void 0!==n&&function(e,n){return C(e,(({declaration:e,importKind:t})=>{var r;if(0!==t)return;const i=function(e){var n,t,r;switch(e.kind){case 257:return null==(n=En(e.name,AC))?void 0:n.text;case 268:return e.name.text;case 269:return null==(r=En(null==(t=e.importClause)?void 0:t.namedBindings,WI))?void 0:r.name.text;default:return Nt.assertNever(e)}}(e),a=i&&(null==(r=_g(e))?void 0:r.text);return a?{kind:0,namespacePrefix:i,usagePosition:n,moduleSpecifier:a}:void 0}))}(_,n),f=function(e,n,t,r){return C(e,(({declaration:e,importKind:i,symbol:a,targetFlags:o})=>{if(3===i||2===i||268===e.kind)return;if(257===e.kind)return 0!==i&&1!==i||203!==e.name.kind?void 0:{kind:2,importClauseOrBindingPattern:e.name,importKind:i,moduleSpecifier:e.initializer.arguments[0].text,addAsTypeOnly:4};const{importClause:s}=e;if(!s||!t_(e.moduleSpecifier))return;const{name:c,namedBindings:l}=s;if(s.isTypeOnly&&(0!==i||!l))return;const d=m3(n,!1,a,o,t,r);return 1===i&&(c||2===d&&l)||0===i&&271===(null==l?void 0:l.kind)?void 0:{kind:2,importClauseOrBindingPattern:s,importKind:i,moduleSpecifier:e.moduleSpecifier.text,addAsTypeOnly:d}}))}(_,t,u,a.getCompilerOptions());if(f)return{computedWithoutCacheCount:0,fixes:[...p?[p]:i,f]};const{fixes:m,computedWithoutCacheCount:h=0}=function(e,n,t,r,i,a,o,s,c,l){const d=C(n,(e=>function({declaration:e,importKind:n,symbol:t,targetFlags:r},i,a,o,s){var c;const l=null==(c=_g(e))?void 0:c.text;if(l)return{kind:3,moduleSpecifier:l,importKind:n,addAsTypeOnly:a?4:m3(i,!0,t,r,o,s),useRequire:a}}(e,a,o,t.getTypeChecker(),t.getCompilerOptions())));return d?{fixes:[d]}:function(e,n,t,r,i,a,o,s,c){const l=xh(n),d=e.getCompilerOptions(),u=fY(e,o),_=y3(e,o),p=hY(jT(d)),f=c?e=>({moduleSpecifiers:LG.tryGetModuleSpecifiersFromCache(e,n,u,s),computedWithoutCache:!1}):(e,t)=>LG.getModuleSpecifiersWithCacheInfo(e,t,d,n,u,s);let m=0;const h=X(a,((e,a)=>{const o=_(e.isFromPackageJson),{computedWithoutCache:s,moduleSpecifiers:c}=f(e.moduleSymbol,o),u=!!(111551&e.targetFlags),h=m3(r,!0,e.symbol,e.targetFlags,o,d);return m+=s?1:0,ee(c,(r=>{var s;if(p&&XP(r))return;if(!u&&l&&void 0!==t)return{kind:1,moduleSpecifier:r,usagePosition:t,exportInfo:e,isReExport:a>0};const c=x3(n,e.exportKind,d);let _;if(void 0!==t&&3===c&&0===e.exportKind){const n=o.resolveExternalModuleSymbol(e.moduleSymbol);let r;n!==e.moduleSymbol&&(r=null==(s=jQ(n,o,d))?void 0:s.name),r||(r=F3(e.moduleSymbol,BT(d),!1)),_={namespacePrefix:r,usagePosition:t}}return{kind:3,moduleSpecifier:r,importKind:c,useRequire:i,addAsTypeOnly:h,exportInfo:e,isReExport:a>0,qualification:_}}))}));return{computedWithoutCacheCount:m,fixes:h}}(t,r,i,a,o,e,s,c,l)}(e,_,a,o,n,t,r,s,c,d);return{computedWithoutCacheCount:h,fixes:[...p?[p]:i,...m]}}function m3(e,n,t,r,i,a){return e?n&&2===a.importsNotUsedAsValues?2:!qT(a)||111551&r&&!i.getTypeOnlyAliasDeclaration(t)?1:2:4}function h3(e,n,t){let r;for(const t of n.imports){const n=pg(t);if(Rh(n.parent)){const i=e.resolveExternalModuleName(t);i&&(r||(r=un())).add(WG(i),n.parent)}else if(269===n.kind||268===n.kind){const i=e.getSymbolAtLocation(t);i&&(r||(r=un())).add(WG(i),n)}}return{getImportsForExportInfo:({moduleSymbol:e,exportKind:a,targetFlags:o,symbol:s})=>{if(!(111551&o)&&xh(n))return i;const c=null==r?void 0:r.get(WG(e));if(!c)return i;const l=x3(n,a,t);return c.map((e=>({declaration:e,importKind:l,symbol:s,targetFlags:o})))}}}function g3(e,n){if(!xh(e))return!1;if(e.commonJsModuleIndicator&&!e.externalModuleIndicator)return!0;if(e.externalModuleIndicator&&!e.commonJsModuleIndicator)return!1;const t=n.getCompilerOptions();if(t.configFile)return UT(t)<5;for(const t of n.getSourceFiles())if(t!==e&&xh(t)&&!n.isSourceFileFromExternalLibrary(t)){if(t.commonJsModuleIndicator&&!t.externalModuleIndicator)return!0;if(t.externalModuleIndicator&&!t.commonJsModuleIndicator)return!1}return!0}function y3(e,n){return Nn((t=>t?n.getPackageJsonAutoImportProvider().getTypeChecker():e.getTypeChecker()))}function v3(e,n,t,r){const i=_X(e.sourceFile,t);let a;if(n===Vo._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code)a=function({sourceFile:e,program:n,host:t,preferences:r},i){const a=n.getTypeChecker(),o=function(e,n){const t=AC(e)?n.getSymbolAtLocation(e):void 0;if(JE(t))return t;const{parent:r}=e;if(ju(r)&&r.tagName===e||dw(r)){const t=n.resolveName(n.getJsxNamespace(r),ju(r)?e:r,111551,!1);if(JE(t))return t}}(i,a);if(!o)return;const s=a.getAliasedSymbol(o),c=o.name;return f3([{symbol:o,moduleSymbol:s,moduleFileName:void 0,exportKind:3,targetFlags:s.flags,isFromPackageJson:!1}],void 0,!1,g3(e,n),n,e,t,r).fixes.map((e=>{var n;return{fix:e,symbolName:c,errorIdentifierText:null==(n=En(i,AC))?void 0:n.text}}))}(e,i);else{if(!AC(i))return;if(n===Vo._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type.code){const n=Ue(A3(e.sourceFile,e.program.getTypeChecker(),i,e.program.getCompilerOptions())),t=S3(e.sourceFile,i,n,e.program);return t&&[{fix:t,symbolName:n,errorIdentifierText:i.text}]}a=function({sourceFile:e,program:n,cancellationToken:t,host:r,preferences:i},a,o){const s=n.getTypeChecker(),c=n.getCompilerOptions();return X(A3(e,s,a,c),(s=>{if("default"===s)return;const c=mS(a),l=g3(e,n),d=function(e,n,t,r,i,a,o,s,c){var l;const d=un(),u=aQ(i,c,s),_=null==(l=s.getModuleSpecifierCache)?void 0:l.call(s),p=Nn((e=>fY(e?s.getPackageJsonAutoImportProvider():a,s)));function f(e,n,t,r,a,o){const s=p(o);if(n&&PQ(a,i,n,c,u,s,_)||!n&&u.allowsImportingAmbientModule(e,s)){const i=a.getTypeChecker();d.add(f$(t,i).toString(),{symbol:t,moduleSymbol:e,moduleFileName:null==n?void 0:n.fileName,exportKind:r,targetFlags:ME(t,i).flags,isFromPackageJson:o})}}return FQ(a,s,c,o,((i,a,o,s)=>{const c=o.getTypeChecker();r.throwIfCancellationRequested();const l=o.getCompilerOptions(),d=UQ(i,c,l);d&&(d.name===e||F3(i,BT(l),n)===e)&&P3(d.resolvedSymbol,t)&&f(i,a,d.symbol,d.exportKind,o,s);const u=c.tryGetMemberInModuleExportsAndProperties(e,i);u&&P3(u,t)&&f(i,a,u,0,o,s)})),d}(s,fh(a),cJ(a),t,e,n,o,r,i);return Qe($(d.values(),(t=>f3(t,a.getStart(e),c,l,n,e,r,i).fixes)),(e=>({fix:e,symbolName:s,errorIdentifierText:a.text,isJsxNamespaceFix:s!==a.text})))}))}(e,i,r)}const o=aQ(e.sourceFile,e.preferences,e.host);return a&&function(e,n,t,r,i){const a=e=>xo(e,i.getCurrentDirectory(),yv(i));return Ie(e,((e,i)=>$n(!!e.isJsxNamespaceFix,!!i.isJsxNamespaceFix)||Un(e.fix.kind,i.fix.kind)||E3(e.fix,i.fix,n,t,r.allowsImportingSpecifier,a)))}(a,e.sourceFile,e.program,o,e.host)}function b3(e,n,t,r,i){if(ce(e))return 0===e[0].kind||2===e[0].kind?e[0]:e.reduce(((e,a)=>-1===E3(a,e,n,t,r.allowsImportingSpecifier,(e=>xo(e,i.getCurrentDirectory(),yv(i))))?a:e))}function E3(e,n,t,r,i,a){return 0!==e.kind&&0!==n.kind?$n(i(n.moduleSpecifier),i(e.moduleSpecifier))||function(e,n,t,r){return pt(e,"node:")&&!pt(n,"node:")?AQ(t,r)?-1:1:pt(n,"node:")&&!pt(e,"node:")?AQ(t,r)?1:-1:0}(e.moduleSpecifier,n.moduleSpecifier,t,r)||$n(T3(e,t,r.getCompilerOptions(),a),T3(n,t,r.getCompilerOptions(),a))||jx(e.moduleSpecifier,n.moduleSpecifier):0}function T3(e,n,t,r){var i;if(e.isReExport&&(null==(i=e.exportInfo)?void 0:i.moduleFileName)&&2===jT(t)&&"index"===lo(e.exportInfo.moduleFileName,[".js",".jsx",".d.ts",".ts",".tsx"],!0)){const t=r(co(e.exportInfo.moduleFileName));return pt(n.path,t)}return!1}function x3(e,n,t,r){if(t.verbatimModuleSyntax&&(1===UT(t)||1===e.impliedNodeFormat))return 3;switch(n){case 0:return 0;case 1:return 1;case 2:return function(e,n,t){const r=$T(n),i=Ah(e);if(!i&&UT(n)>=5)return r?1:2;if(i)return kD(e)||t?r?1:2:3;for(const n of e.statements)if(BI(n)&&!Fp(n.moduleReference))return 3;return r?1:3}(e,t,!!r);case 3:return function(e,n,t){if($T(n))return 1;const r=UT(n);switch(r){case 2:case 1:case 3:return Ah(e)&&(kD(e)||t)?2:3;case 4:case 5:case 6:case 7:case 99:case 0:return 2;case 100:case 199:return 99===e.impliedNodeFormat?2:3;default:return Nt.assertNever(r,`Unexpected moduleKind ${r}`)}}(e,t,!!r);default:return Nt.assertNever(n)}}function S3(e,n,t,r){const i=r.getTypeChecker(),a=i.resolveName(t,n,111551,!0);if(!a)return;const o=i.getTypeOnlyAliasDeclaration(a);return o&&Ip(o)===e?{kind:4,typeOnlyAliasDeclaration:o}:void 0}function A3(e,n,t,r){const i=t.parent;if((ju(i)||cw(i))&&i.tagName===t&&IQ(r.jsx)){const r=n.getJsxNamespace(e);if(function(e,n,t){if(uv(n.text))return!0;const r=t.resolveName(e,n,111551,!0);return!r||ce(r.declarations,ud)&&!(111551&r.flags)}(r,t,n))return uv(t.text)||n.resolveName(t.text,t,111551,!1)?[r]:[t.text,r]}return[t.text]}function L3(e,n,t,r,a,o,s){let c;const l=i_e.ChangeTracker.with(e,(e=>{c=function(e,n,t,r,a,o,s){const c=EY(n,s);switch(r.kind){case 0:return I3(e,n,r),[Vo.Change_0_to_1,t,`${r.namespacePrefix}.${t}`];case 1:return w3(e,n,r,c),[Vo.Change_0_to_1,t,R3(r.moduleSpecifier,c)+t];case 2:{const{importClauseOrBindingPattern:c,importKind:l,addAsTypeOnly:d,moduleSpecifier:u}=r;k3(e,n,c,1===l?{name:t,addAsTypeOnly:d}:void 0,0===l?[{name:t,addAsTypeOnly:d}]:i,o,s);const _=dv(u);return a?[Vo.Import_0_from_1,t,_]:[Vo.Update_import_from_0,_]}case 3:{const{importKind:i,moduleSpecifier:l,addAsTypeOnly:d,useRequire:u,qualification:_}=r;return RY(e,n,(u?O3:D3)(l,c,1===i?{name:t,addAsTypeOnly:d}:void 0,0===i?[{name:t,addAsTypeOnly:d}]:void 0,2===i||3===i?{importKind:i,name:(null==_?void 0:_.namespacePrefix)||t,addAsTypeOnly:d}:void 0,o),!0,s),_&&I3(e,n,_),a?[Vo.Import_0_from_1,t,l]:[Vo.Add_import_from_0,l]}case 4:{const{typeOnlyAliasDeclaration:i}=r,a=function(e,n,t,r,i){const a=qT(t);switch(n.kind){case 273:if(n.isTypeOnly){const t=Goe.detectImportSpecifierSorting(n.parent.elements,i);if(n.parent.elements.length>1&&t){e.delete(r,n);const a=pA.updateImportSpecifier(n,!1,n.propertyName,n.name),o=Goe.getOrganizeImportsComparer(i,2===t),s=Goe.getImportSpecifierInsertionIndex(n.parent.elements,a,o);e.insertImportSpecifierAtIndex(r,a,n.parent,s)}else e.deleteRange(r,n.getFirstToken());return n}return Nt.assert(n.parent.parent.isTypeOnly),o(n.parent.parent),n.parent.parent;case 270:return o(n),n;case 271:return o(n.parent),n.parent;case 268:return e.deleteRange(r,n.getChildAt(1)),n;default:Nt.failBadSyntaxKind(n)}function o(t){if(e.delete(r,NY(t,r)),a){const a=En(t.namedBindings,zI);if(a&&a.elements.length>1){Goe.detectImportSpecifierSorting(a.elements,i)&&273===n.kind&&0!==a.elements.indexOf(n)&&(e.delete(r,n),e.insertImportSpecifierAtIndex(r,n,a,0));for(const t of a.elements)t===n||t.isTypeOnly||e.insertModifierBefore(r,154,t)}}}}(e,i,o,n,s);return 273===a.kind?[Vo.Remove_type_from_import_of_0_from_1,t,C3(a.parent.parent)]:[Vo.Remove_type_from_import_declaration_from_0,C3(a)]}default:return Nt.assertNever(r,`Unexpected fix kind ${r.kind}`)}}(e,n,t,r,a,o,s)}));return h4(n3,l,c,t3,Vo.Add_all_missing_imports)}function C3(e){var n,t;return 268===e.kind?(null==(t=En(null==(n=En(e.moduleReference,iw))?void 0:n.expression,t_))?void 0:t.text)||e.moduleReference.getText():Tn(e.parent.moduleSpecifier,cC).text}function k3(e,n,t,r,i,a,o){var s;if(203===t.kind){r&&u(t,r.name,"default");for(const e of i)u(t,e.name,void 0);return}const c=t.isTypeOnly&&ce([r,...i],(e=>4===(null==e?void 0:e.addAsTypeOnly))),l=t.namedBindings&&(null==(s=En(t.namedBindings,zI))?void 0:s.elements),d=c&&qT(a);if(r&&(Nt.assert(!t.name,"Cannot add a default import to an import clause that already has one"),e.insertNodeAt(n,t.getStart(n),pA.createIdentifier(r.name),{suffix:", "})),i.length){let r;if("boolean"==typeof o.organizeImportsIgnoreCase)r=o.organizeImportsIgnoreCase;else if(l){const e=Goe.detectImportSpecifierSorting(l,o);3!==e&&(r=2===e)}void 0===r&&(r=2===Goe.detectSorting(n,o));const a=Goe.getOrganizeImportsComparer(o,r),s=Re(i.map((e=>pA.createImportSpecifier((!t.isTypeOnly||c)&&N3(e),void 0,pA.createIdentifier(e.name)))),((e,n)=>Goe.compareImportOrExportSpecifiers(e,n,a))),u=(null==l?void 0:l.length)&&Goe.detectImportSpecifierSorting(l,o);if(!u||r&&1===u){if(null==l?void 0:l.length)for(const t of s)e.insertNodeInListAfter(n,Ge(l),t,l);else if(s.length){const r=pA.createNamedImports(s);t.namedBindings?e.replaceNode(n,t.namedBindings,r):e.insertNodeAfter(n,Nt.checkDefined(t.name,"Import clause must have either named imports or a default import"),r)}}else for(const r of s){const i=d&&!r.isTypeOnly?0:Goe.getImportSpecifierInsertionIndex(l,r,a);e.insertImportSpecifierAtIndex(n,r,t.namedBindings,i)}}if(c&&(e.delete(n,NY(t,n)),d&&l))for(const t of l)e.insertModifierBefore(n,154,t);function u(t,r,i){const a=pA.createBindingElement(void 0,i,r);t.elements.length?e.insertNodeInListAfter(n,Ge(t.elements),a):e.replaceNode(n,t,pA.createObjectBindingPattern([a]))}}function I3(e,n,{namespacePrefix:t,usagePosition:r}){e.insertText(n,r,t+".")}function w3(e,n,{moduleSpecifier:t,usagePosition:r},i){e.insertText(n,r,R3(t,i))}function R3(e,n){const t=TY(n);return`import(${t}${e}${t}).`}function N3({addAsTypeOnly:e}){return 2===e}function D3(e,n,t,r,i,a){const o=vY(e,n);let s;if(void 0!==t||(null==r?void 0:r.length)){const i=(!t||N3(t))&&N(r,N3)||a.verbatimModuleSyntax&&4!==(null==t?void 0:t.addAsTypeOnly)&&!ce(r,(e=>4===e.addAsTypeOnly));s=xe(s,yY(t&&pA.createIdentifier(t.name),null==r?void 0:r.map((({addAsTypeOnly:e,name:n})=>pA.createImportSpecifier(!i&&2===e,void 0,pA.createIdentifier(n)))),e,n,i))}return i&&(s=xe(s,3===i.importKind?pA.createImportEqualsDeclaration(void 0,N3(i),pA.createIdentifier(i.name),pA.createExternalModuleReference(o)):pA.createImportDeclaration(void 0,pA.createImportClause(N3(i),void 0,pA.createNamespaceImport(pA.createIdentifier(i.name))),o,void 0))),Nt.checkDefined(s)}function O3(e,n,t,r,i){const a=vY(e,n);let o;if(t||(null==r?void 0:r.length)){const e=(null==r?void 0:r.map((({name:e})=>pA.createBindingElement(void 0,void 0,e))))||[];t&&e.unshift(pA.createBindingElement(void 0,"default",t.name)),o=xe(o,M3(pA.createObjectBindingPattern(e),a))}return i&&(o=xe(o,M3(i.name,a))),Nt.checkDefined(o)}function M3(e,n){return pA.createVariableStatement(void 0,pA.createVariableDeclarationList([pA.createVariableDeclaration("string"==typeof e?pA.createIdentifier(e):e,void 0,void 0,pA.createCallExpression(pA.createIdentifier("require"),void 0,[n]))],2))}function P3({declarations:e},n){return ce(e,(e=>!!(sJ(e)&n)))}function F3(e,n,t){return G3(Hx(dv(e.name)),n,t)}function G3(e,n,t){const r=lo(nt(e,"/index"));let i="",a=!0;const o=r.charCodeAt(0);js(o,n)?(i+=String.fromCharCode(o),t&&(i=i.toUpperCase())):a=!1;for(let e=1;e<r.length;e++){const t=r.charCodeAt(e),o=Hs(t,n);if(o){let e=String.fromCharCode(t);a||(e=e.toUpperCase()),i+=e}a=o}return by(i)?`_${i}`:i||"_"}var B3,U3,V3=E({"src/services/codefixes/importFixes.ts"(){ufe(),Hte(),n3="import",t3="fixMissingImport",v4({errorCodes:r3=[Vo.Cannot_find_name_0.code,Vo.Cannot_find_name_0_Did_you_mean_1.code,Vo.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,Vo.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,Vo.Cannot_find_namespace_0.code,Vo._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code,Vo._0_only_refers_to_a_type_but_is_being_used_as_a_value_here.code,Vo.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer.code,Vo._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type.code],getCodeActions(e){const{errorCode:n,preferences:t,sourceFile:r,span:i,program:a}=e,o=v3(e,n,i.start,!0);if(o)return o.map((({fix:n,symbolName:i,errorIdentifierText:o})=>L3(e,r,i,n,i!==o,a.getCompilerOptions(),t)))},fixIds:[t3],getAllCodeActions:e=>{const{sourceFile:n,program:t,preferences:r,host:i,cancellationToken:a}=e,o=o3(n,t,!0,r,i,a);return L4(e,r3,(n=>o.addImportFromDiagnostic(n,e))),x4(i_e.ChangeTracker.with(e,o.writeFixes))}})}});function j3(e,n,t){const r=D(e.getSemanticDiagnostics(n),(e=>e.start===t.start&&e.length===t.length));if(void 0===r||void 0===r.relatedInformation)return;const i=D(r.relatedInformation,(e=>e.code===Vo.This_type_parameter_might_need_an_extends_0_constraint.code));if(void 0===i||void 0===i.file||void 0===i.start||void 0===i.length)return;let a=ine(i.file,fc(i.start,i.length));if(void 0!==a&&(AC(a)&&jC(a.parent)&&(a=a.parent),jC(a))){if(Ek(a.parent))return;const r=_X(n,t.start);return{constraint:function(e,n){if(jd(n.parent))return e.getTypeArgumentConstraint(n.parent);return(uu(n)?e.getContextualType(n):void 0)||e.getTypeAtLocation(n)}(e.getTypeChecker(),r)||function(e){const[n,t]=pH(e,"\n",0).match(/`extends (.*)`/)||[];return t}(i.messageText),declaration:a,token:r}}}function H3(e,n,t,r,i,a){const{declaration:o,constraint:s}=a,c=n.getTypeChecker();if(vn(s))e.insertText(i,o.name.end,` extends ${s}`);else{const a=BT(n.getCompilerOptions()),l=Bee({program:n,host:r}),d=a3(i,n,t,r),u=Kee(c,d,s,void 0,a,void 0,l);u&&(e.replaceNode(i,o,pA.updateTypeParameterDeclaration(o,void 0,o.name,u,o.default)),d.writeFixes(e))}}var K3,W3,q3,z3,J3,X3=E({"src/services/codefixes/fixAddMissingConstraint.ts"(){ufe(),Hte(),B3="addMissingConstraint",v4({errorCodes:U3=[Vo.Type_0_is_not_comparable_to_type_1.code,Vo.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated.code,Vo.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,Vo.Type_0_is_not_assignable_to_type_1.code,Vo.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,Vo.Property_0_is_incompatible_with_index_signature.code,Vo.Property_0_in_type_1_is_not_assignable_to_type_2.code,Vo.Type_0_does_not_satisfy_the_constraint_1.code],getCodeActions(e){const{sourceFile:n,span:t,program:r,preferences:i,host:a}=e,o=j3(r,n,t);if(void 0===o)return;const s=i_e.ChangeTracker.with(e,(e=>H3(e,r,i,a,n,o)));return[h4(B3,s,Vo.Add_extends_constraint,B3,Vo.Add_extends_constraint_to_all_type_parameters)]},fixIds:[B3],getAllCodeActions:e=>{const{program:n,preferences:t,host:r}=e,i=new Map;return x4(i_e.ChangeTracker.with(e,(a=>{L4(e,U3,(e=>{const o=j3(n,e.file,fc(e.start,e.length));if(o&&$E(i,KG(o.declaration)))return H3(a,n,t,r,e.file,o)}))})))}})}});function Y3(e,n,t,r){switch(t){case Vo.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code:case Vo.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code:case Vo.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code:case Vo.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code:case Vo.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code:return function(e,n,t){const r=Q3(n,t);if(xh(n))return void e.addJSDocTags(n,r,[pA.createJSDocOverrideTag(pA.createIdentifier("override"))]);const a=r.modifiers||i,o=D(a,DC),s=D(a,OC),c=D(a,(e=>jX(e.kind))),l=O(a,KC),d=s?s.end:o?o.end:c?c.end:l?ks(n.text,l.end):r.getStart(n),u=c||o||s?{prefix:" "}:{suffix:" "};e.insertModifierAt(n,d,161,u)}(e,n.sourceFile,r);case Vo.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code:case Vo.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code:case Vo.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code:case Vo.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code:return function(e,n,t){const r=Q3(n,t);if(xh(n))return void e.filterJSDocTags(n,r,vt(Zw));const i=D(r.modifiers,MC);Nt.assertIsDefined(i),e.deleteModifier(n,i)}(e,n.sourceFile,r);default:Nt.fail("Unexpected error code: "+t)}}function $3(e){switch(e.kind){case 173:case 169:case 171:case 174:case 175:return!0;case 166:return Ec(e,e.parent);default:return!1}}function Q3(e,n){const t=Rc(_X(e,n),(e=>Dd(e)?"quit":$3(e)));return Nt.assert(t&&$3(t)),t}var Z3,e5,n5=E({"src/services/codefixes/fixOverrideModifier.ts"(){ufe(),Hte(),K3="fixOverrideModifier",W3="fixAddOverrideModifier",q3="fixRemoveOverrideModifier",z3=[Vo.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code,Vo.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code,Vo.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code,Vo.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code,Vo.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code,Vo.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code,Vo.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code,Vo.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code,Vo.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code],J3={[Vo.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code]:{descriptions:Vo.Add_override_modifier,fixId:W3,fixAllDescriptions:Vo.Add_all_missing_override_modifiers},[Vo.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code]:{descriptions:Vo.Add_override_modifier,fixId:W3,fixAllDescriptions:Vo.Add_all_missing_override_modifiers},[Vo.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code]:{descriptions:Vo.Remove_override_modifier,fixId:q3,fixAllDescriptions:Vo.Remove_all_unnecessary_override_modifiers},[Vo.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code]:{descriptions:Vo.Remove_override_modifier,fixId:q3,fixAllDescriptions:Vo.Remove_override_modifier},[Vo.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code]:{descriptions:Vo.Add_override_modifier,fixId:W3,fixAllDescriptions:Vo.Add_all_missing_override_modifiers},[Vo.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code]:{descriptions:Vo.Add_override_modifier,fixId:W3,fixAllDescriptions:Vo.Add_all_missing_override_modifiers},[Vo.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code]:{descriptions:Vo.Add_override_modifier,fixId:W3,fixAllDescriptions:Vo.Remove_all_unnecessary_override_modifiers},[Vo.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code]:{descriptions:Vo.Remove_override_modifier,fixId:q3,fixAllDescriptions:Vo.Remove_all_unnecessary_override_modifiers},[Vo.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code]:{descriptions:Vo.Remove_override_modifier,fixId:q3,fixAllDescriptions:Vo.Remove_all_unnecessary_override_modifiers}},v4({errorCodes:z3,getCodeActions:function(e){const{errorCode:n,span:t}=e,r=J3[n];if(!r)return i;const{descriptions:a,fixId:o,fixAllDescriptions:s}=r,c=i_e.ChangeTracker.with(e,(r=>Y3(r,e,n,t.start)));return[g4(K3,c,a,o,s)]},fixIds:[K3,W3,q3],getAllCodeActions:e=>A4(e,z3,((n,t)=>{const{code:r,start:i}=t,a=J3[r];a&&a.fixId===e.fixId&&Y3(n,e,r,i)}))})}});function t5(e,n,t,r){const i=EY(n,r),a=pA.createStringLiteral(t.name.text,0===i);e.replaceNode(n,t,Ml(t)?pA.createElementAccessChain(t.expression,t.questionDotToken,a):pA.createElementAccessExpression(t.expression,a))}function r5(e,n){return Tn(_X(e,n).parent,Rk)}var i5,a5,o5=E({"src/services/codefixes/fixNoPropertyAccessFromIndexSignature.ts"(){ufe(),Hte(),Z3="fixNoPropertyAccessFromIndexSignature",v4({errorCodes:e5=[Vo.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0.code],fixIds:[Z3],getCodeActions(e){const{sourceFile:n,span:t,preferences:r}=e,i=r5(n,t.start),a=i_e.ChangeTracker.with(e,(n=>t5(n,e.sourceFile,i,r)));return[h4(Z3,a,[Vo.Use_element_access_for_0,i.name.text],Z3,Vo.Use_element_access_for_all_undeclared_properties)]},getAllCodeActions:e=>A4(e,e5,((n,t)=>t5(n,t.file,r5(t.file,t.start),e.preferences)))})}});function s5(e,n,t,r){const i=_X(n,t);if(!FJ(i))return;const a=Jm(i,!1,!1);if((wI(a)||Gk(a))&&!Aw(Jm(a,!1,!1))){const t=Nt.checkDefined(ZJ(a,98,n)),{name:i}=a,o=Nt.checkDefined(a.body);if(Gk(a)){if(i&&bae.Core.isSymbolReferencedInFile(i,r,n,o))return;return e.delete(n,t),i&&e.delete(n,i),e.insertText(n,o.pos," =>"),[Vo.Convert_function_expression_0_to_arrow_function,i?i.text:iJ]}return e.replaceNode(n,t,pA.createToken(85)),e.insertText(n,i.end," = "),e.insertText(n,o.pos," =>"),[Vo.Convert_function_declaration_0_to_arrow_function,i.text]}}var c5,l5,d5=E({"src/services/codefixes/fixImplicitThis.ts"(){ufe(),Hte(),i5="fixImplicitThis",v4({errorCodes:a5=[Vo.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code],getCodeActions:function(e){const{sourceFile:n,program:t,span:r}=e;let a;const o=i_e.ChangeTracker.with(e,(e=>{a=s5(e,n,r.start,t.getTypeChecker())}));return a?[h4(i5,o,a,i5,Vo.Fix_all_implicit_this_errors)]:i},fixIds:[i5],getAllCodeActions:e=>A4(e,a5,((n,t)=>{s5(n,t.file,t.start,e.program.getTypeChecker())}))})}});function u5(e,n,t){var r;const i=_X(e,n);if(AC(i)){const n=Rc(i,UI);if(void 0===n)return;const a=cC(n.moduleSpecifier)?n.moduleSpecifier.text:void 0;if(void 0===a)return;const o=yp(e,a,void 0);if(void 0===o)return;const s=t.getSourceFile(o.resolvedFileName);if(void 0===s||wQ(t,s))return;const c=null==(r=En(s.symbol.valueDeclaration,Iu))?void 0:r.locals;if(void 0===c)return;const l=c.get(i.escapedText);if(void 0===l)return;const d=function(e){if(void 0===e.valueDeclaration)return De(e.declarations);const n=e.valueDeclaration,t=kI(n)?En(n.parent.parent,dI):void 0;return t&&1===S(t.declarationList.declarations)?t:n}(l);if(void 0===d)return;return{exportName:{node:i,isTypeOnly:jS(d)},node:d,moduleSourceFile:s,moduleSpecifier:a}}}function _5(e,n,t,r,i){S(r)&&(i?f5(e,n,t,i,r):m5(e,n,t,r))}function p5(e,n){return O(e.statements,(e=>YI(e)&&(n&&e.isTypeOnly||!e.isTypeOnly)))}function f5(e,n,t,r,i){const a=r.exportClause&&$I(r.exportClause)?r.exportClause.elements:pA.createNodeArray([]),o=!(r.isTypeOnly||!WT(n.getCompilerOptions())&&!D(a,(e=>e.isTypeOnly)));e.replaceNode(t,r,pA.updateExportDeclaration(r,r.modifiers,r.isTypeOnly,pA.createNamedExports(pA.createNodeArray([...a,...h5(i,o)],a.hasTrailingComma)),r.moduleSpecifier,r.assertClause))}function m5(e,n,t,r){e.insertNodeAtEndOfScope(t,t,pA.createExportDeclaration(void 0,!1,pA.createNamedExports(h5(r,WT(n.getCompilerOptions()))),void 0,void 0))}function h5(e,n){return pA.createNodeArray(W(e,(e=>pA.createExportSpecifier(n&&e.isTypeOnly,void 0,e.node))))}var g5,y5,v5,b5=E({"src/services/codefixes/fixImportNonExportedMember.ts"(){ufe(),Hte(),c5="fixImportNonExportedMember",v4({errorCodes:l5=[Vo.Module_0_declares_1_locally_but_it_is_not_exported.code],fixIds:[c5],getCodeActions(e){const{sourceFile:n,span:t,program:r}=e,i=u5(n,t.start,r);if(void 0===i)return;const a=i_e.ChangeTracker.with(e,(e=>function(e,n,{exportName:t,node:r,moduleSourceFile:i}){const a=p5(i,t.isTypeOnly);a?f5(e,n,i,a,[t]):HS(r)?e.insertExportModifier(i,r):m5(e,n,i,[t])}(e,r,i)));return[h4(c5,a,[Vo.Export_0_from_module_1,i.exportName.node.text,i.moduleSpecifier],c5,Vo.Export_all_referenced_locals)]},getAllCodeActions(e){const{program:n}=e;return x4(i_e.ChangeTracker.with(e,(t=>{const r=new Map;L4(e,l5,(e=>{const i=u5(e.file,e.start,n);if(void 0===i)return;const{exportName:a,node:o,moduleSourceFile:s}=i;if(void 0===p5(s,a.isTypeOnly)&&HS(o))t.insertExportModifier(s,o);else{const e=r.get(s)||{typeOnlyExports:[],exports:[]};a.isTypeOnly?e.typeOnlyExports.push(a):e.exports.push(a),r.set(s,e)}})),r.forEach(((e,r)=>{const i=p5(r,!0);i&&i.isTypeOnly?(_5(t,n,r,e.typeOnlyExports,i),_5(t,n,r,e.exports,p5(r,!1))):_5(t,n,r,[...e.exports,...e.typeOnlyExports],i)}))})))}})}}),E5=E({"src/services/codefixes/fixIncorrectNamedTupleSyntax.ts"(){ufe(),Hte(),g5="fixIncorrectNamedTupleSyntax",v4({errorCodes:[Vo.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,Vo.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type.code],getCodeActions:function(e){const{sourceFile:n,span:t}=e,r=function(e,n){return Rc(_X(e,n),(e=>199===e.kind))}(n,t.start),i=i_e.ChangeTracker.with(e,(e=>function(e,n,t){if(!t)return;let r=t.type,i=!1,a=!1;for(;187===r.kind||188===r.kind||193===r.kind;)187===r.kind?i=!0:188===r.kind&&(a=!0),r=r.type;const o=pA.updateNamedTupleMember(t,t.dotDotDotToken||(a?pA.createToken(25):void 0),t.name,t.questionToken||(i?pA.createToken(57):void 0),r);o!==t&&e.replaceNode(n,t,o)}(e,n,r)));return[h4(g5,i,Vo.Move_labeled_tuple_element_modifiers_to_labels,g5,Vo.Move_labeled_tuple_element_modifiers_to_labels)]},fixIds:[g5]})}});function T5(e,n,t,r){const i=_X(e,n),a=i.parent;if((r===Vo.No_overload_matches_this_call.code||r===Vo.Type_0_is_not_assignable_to_type_1.code)&&!_w(a))return;const o=t.program.getTypeChecker();let s;if(Rk(a)&&a.name===i){Nt.assert(Dl(i),"Expected an identifier for spelling (property access)");let e=o.getTypeAtLocation(a.expression);32&a.flags&&(e=o.getNonNullableType(e)),s=o.getSuggestedSymbolForNonexistentProperty(i,e)}else if(qk(a)&&101===a.operatorToken.kind&&a.left===i&&LC(i)){const e=o.getTypeAtLocation(a.right);s=o.getSuggestedSymbolForNonexistentProperty(i,e)}else if(UC(a)&&a.right===i){const e=o.getSymbolAtLocation(a.left);e&&1536&e.flags&&(s=o.getSuggestedSymbolForNonexistentModule(a.right,e))}else if(JI(a)&&a.name===i){Nt.assertNode(i,AC,"Expected an identifier for spelling (import)");const n=function(e,n,t){if(!t||!t_(t.moduleSpecifier))return;const r=yp(e,t.moduleSpecifier.text,gH(e,t.moduleSpecifier));return r?n.program.getSourceFile(r.resolvedFileName):void 0}(e,t,Rc(i,UI));n&&n.symbol&&(s=o.getSuggestedSymbolForNonexistentModule(i,n.symbol))}else if(_w(a)&&a.name===i){Nt.assertNode(i,AC,"Expected an identifier for JSX attribute");const e=Rc(i,ju),n=o.getContextualTypeForArgumentAtIndex(e,0);s=o.getSuggestedSymbolForNonexistentJSXAttribute(i,n)}else if(db(a,16384)&&Nd(a)&&a.name===i){const e=Rc(i,Dd),n=e?ly(e):void 0,t=n?o.getTypeAtLocation(n):void 0;t&&(s=o.getSuggestedSymbolForNonexistentClassMember(tf(i),t))}else{const e=cJ(i),n=tf(i);Nt.assert(void 0!==n,"name should be defined"),s=o.getSuggestedSymbolForNonexistentSymbol(i,n,function(e){let n=0;return 4&e&&(n|=1920),2&e&&(n|=788968),1&e&&(n|=111551),n}(e))}return void 0===s?void 0:{node:i,suggestedSymbol:s}}function x5(e,n,t,r,i){const a=Gc(r);if(!Ks(a,i)&&Rk(t.parent)){const i=r.valueDeclaration;i&&Hc(i)&&LC(i.name)?e.replaceNode(n,t,pA.createIdentifier(a)):e.replaceNode(n,t.parent,pA.createElementAccessExpression(t.parent.expression,pA.createStringLiteral(a)))}else e.replaceNode(n,t,pA.createIdentifier(a))}var S5,A5,L5,C5,k5,I5=E({"src/services/codefixes/fixSpelling.ts"(){ufe(),Hte(),y5="fixSpelling",v4({errorCodes:v5=[Vo.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,Vo.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,Vo.Cannot_find_name_0_Did_you_mean_1.code,Vo.Could_not_find_name_0_Did_you_mean_1.code,Vo.Cannot_find_namespace_0_Did_you_mean_1.code,Vo.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,Vo.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,Vo._0_has_no_exported_member_named_1_Did_you_mean_2.code,Vo.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,Vo.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,Vo.No_overload_matches_this_call.code,Vo.Type_0_is_not_assignable_to_type_1.code],getCodeActions(e){const{sourceFile:n,errorCode:t}=e,r=T5(n,e.span.start,e,t);if(!r)return;const{node:i,suggestedSymbol:a}=r,o=BT(e.host.getCompilationSettings());return[h4("spelling",i_e.ChangeTracker.with(e,(e=>x5(e,n,i,a,o))),[Vo.Change_spelling_to_0,Gc(a)],y5,Vo.Fix_all_detected_spelling_errors)]},fixIds:[y5],getAllCodeActions:e=>A4(e,v5,((n,t)=>{const r=T5(t.file,t.start,e,t.code),i=BT(e.host.getCompilationSettings());r&&x5(n,e.sourceFile,r.node,r.suggestedSymbol,i)}))})}});function w5(e,n,t){const r=e.createSymbol(4,n.escapedText);r.links.type=e.getTypeAtLocation(t);const i=op([r]);return e.createAnonymousType(void 0,i,[],[],[])}function R5(e,n,t,r){if(!n.body||!lI(n.body)||1!==S(n.body.statements))return;const i=Me(n.body.statements);if(_I(i)&&N5(e,n,e.getTypeAtLocation(i.expression),t,r))return{declaration:n,kind:0,expression:i.expression,statement:i,commentSource:i.expression};if(SI(i)&&_I(i.statement)){const a=pA.createObjectLiteralExpression([pA.createPropertyAssignment(i.label,i.statement.expression)]);if(N5(e,n,w5(e,i.label,i.statement.expression),t,r))return Bk(n)?{declaration:n,kind:1,expression:a,statement:i,commentSource:i.statement.expression}:{declaration:n,kind:0,expression:a,statement:i,commentSource:i.statement.expression}}else if(lI(i)&&1===S(i.statements)){const a=Me(i.statements);if(SI(a)&&_I(a.statement)){const o=pA.createObjectLiteralExpression([pA.createPropertyAssignment(a.label,a.statement.expression)]);if(N5(e,n,w5(e,a.label,a.statement.expression),t,r))return{declaration:n,kind:0,expression:o,statement:i,commentSource:a}}}}function N5(e,n,t,r,i){if(i){const r=e.getSignatureFromDeclaration(n);if(r){db(n,512)&&(t=e.createPromiseType(t));const i=e.createSignature(n,r.typeParameters,r.thisParameter,r.parameters,t,void 0,r.minArgumentCount,r.flags);t=e.createAnonymousType(void 0,op(),[i],[],[])}else t=e.getAnyType()}return e.isTypeAssignableTo(t,r)}function D5(e,n,t,r){const i=_X(n,t);if(!i.parent)return;const a=Rc(i.parent,Cd);switch(r){case Vo.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code:if(!(a&&a.body&&a.type&&BJ(a.type,i)))return;return R5(e,a,e.getTypeFromTypeNode(a.type),!1);case Vo.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code:if(!a||!Dk(a.parent)||!a.body)return;const n=a.parent.arguments.indexOf(a),t=e.getContextualTypeForArgumentAtIndex(a.parent,n);if(!t)return;return R5(e,a,t,!0);case Vo.Type_0_is_not_assignable_to_type_1.code:if(!Zg(i)||!Am(i.parent)&&!_w(i.parent))return;const r=function(e){switch(e.kind){case 257:case 166:case 205:case 169:case 299:return e.initializer;case 288:return e.initializer&&(mw(e.initializer)?e.initializer.expression:void 0);case 300:case 168:case 302:case 351:case 344:return}}(i.parent);if(!r||!Cd(r)||!r.body)return;return R5(e,r,e.getTypeAtLocation(i.parent),!0)}}function O5(e,n,t,r){T$(t);const i=J$(n);e.replaceNode(n,r,pA.createReturnStatement(t),{leadingTriviaOption:i_e.LeadingTriviaOption.Exclude,trailingTriviaOption:i_e.TrailingTriviaOption.Exclude,suffix:i?";":void 0})}function M5(e,n,t,r,i,a){const o=a||M$(r)?pA.createParenthesizedExpression(r):r;T$(i),A$(i,o),e.replaceNode(n,t.body,o)}function P5(e,n,t,r){e.replaceNode(n,t.body,pA.createParenthesizedExpression(r))}function F5(e,n,t){const r=i_e.ChangeTracker.with(e,(r=>O5(r,e.sourceFile,n,t)));return h4(S5,r,Vo.Add_a_return_statement,A5,Vo.Add_all_missing_return_statement)}function G5(e,n,t){const r=i_e.ChangeTracker.with(e,(r=>P5(r,e.sourceFile,n,t)));return h4(S5,r,Vo.Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal,C5,Vo.Wrap_all_object_literal_with_parentheses)}var B5,U5,V5,j5,H5,K5=E({"src/services/codefixes/returnValueCorrect.ts"(){ufe(),Hte(),S5="returnValueCorrect",A5="fixAddReturnStatement",L5="fixRemoveBracesFromArrowFunctionBody",C5="fixWrapTheBlockWithParen",v4({errorCodes:k5=[Vo.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code,Vo.Type_0_is_not_assignable_to_type_1.code,Vo.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code],fixIds:[A5,L5,C5],getCodeActions:function(e){const{program:n,sourceFile:t,span:{start:r},errorCode:i}=e,a=D5(n.getTypeChecker(),t,r,i);if(a)return 0===a.kind?Te([F5(e,a.expression,a.statement)],Bk(a.declaration)?function(e,n,t,r){const i=i_e.ChangeTracker.with(e,(i=>M5(i,e.sourceFile,n,t,r,!1)));return h4(S5,i,Vo.Remove_braces_from_arrow_function_body,L5,Vo.Remove_braces_from_all_arrow_function_bodies_with_relevant_issues)}(e,a.declaration,a.expression,a.commentSource):void 0):[G5(e,a.declaration,a.expression)]},getAllCodeActions:e=>A4(e,k5,((n,t)=>{const r=D5(e.program.getTypeChecker(),t.file,t.start,t.code);if(r)switch(e.fixId){case A5:O5(n,t.file,r.expression,r.statement);break;case L5:if(!Bk(r.declaration))return;M5(n,t.file,r.declaration,r.expression,r.commentSource,!1);break;case C5:if(!Bk(r.declaration))return;P5(n,t.file,r.declaration,r.expression);break;default:Nt.fail(JSON.stringify(e.fixId))}}))})}});function W5(e,n,t,r,a){var o;const s=_X(e,n),c=s.parent;if(t===Vo.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code){if(18!==s.kind||!wk(c)||!Dk(c.parent))return;const e=M(c.parent.arguments,(e=>e===c));if(e<0)return;const n=r.getResolvedSignature(c.parent);if(!(n&&n.declaration&&n.parameters[e]))return;const t=n.parameters[e].valueDeclaration;if(!(t&&HC(t)&&AC(t.name)))return;const i=Qe(r.getUnmatchedProperties(r.getTypeAtLocation(c),r.getParameterType(n,e),!1,!1));if(!S(i))return;return{kind:3,token:t.name,properties:i,parentDeclaration:c}}if(!Dl(s))return;if(AC(s)&&$u(c)&&c.initializer&&wk(c.initializer)){const e=Qe(r.getUnmatchedProperties(r.getTypeAtLocation(c.initializer),r.getTypeAtLocation(s),!1,!1));if(!S(e))return;return{kind:3,token:s,properties:e,parentDeclaration:c.initializer}}if(AC(s)&&ju(s.parent)){const e=function(e,n,t){const r=e.getContextualType(t.attributes);if(void 0===r)return i;const a=r.getProperties();if(!S(a))return i;const o=new Set;for(const n of t.attributes.properties)if(_w(n)&&o.add(n.name.escapedText),fw(n)){const t=e.getTypeAtLocation(n.expression);for(const e of t.getProperties())o.add(e.escapedName)}return j(a,(e=>Ks(e.name,n,1)&&!(16777216&e.flags||48&DE(e)||o.has(e.escapedName))))}(r,BT(a.getCompilerOptions()),s.parent);if(!S(e))return;return{kind:4,token:s,attributes:e,parentDeclaration:s.parent}}if(AC(s)){const n=null==(o=r.getContextualType(s))?void 0:o.getNonNullableType();if(n&&16&qE(n)){const t=De(r.getSignaturesOfType(n,0));if(void 0===t)return;return{kind:5,token:s,signature:t,sourceFile:e,parentDeclaration:i7(s)}}if(Dk(c)&&c.expression===s)return{kind:2,token:s,call:c,sourceFile:e,modifierFlags:0,parentDeclaration:i7(s)}}if(!Rk(c))return;const l=lY(r.getTypeAtLocation(c.expression)),d=l.symbol;if(!d||!d.declarations)return;if(AC(s)&&Dk(c.parent)){const n=D(d.declarations,MI),t=null==n?void 0:n.getSourceFile();if(n&&t&&!wQ(a,t))return{kind:2,token:s,call:c.parent,sourceFile:e,modifierFlags:1,parentDeclaration:n};const r=D(d.declarations,Aw);if(e.commonJsModuleIndicator)return;if(r&&!wQ(a,r))return{kind:2,token:s,call:c.parent,sourceFile:r,modifierFlags:1,parentDeclaration:r}}const u=D(d.declarations,Dd);if(!u&&LC(s))return;const _=u||D(d.declarations,(e=>NI(e)||sk(e)));if(_&&!wQ(a,_.getSourceFile())){const e=!sk(_)&&(l.target||l)!==r.getDeclaredTypeOfSymbol(d);if(e&&(LC(s)||NI(_)))return;const n=_.getSourceFile(),t=sk(_)?0:(e?32:0)|(EQ(s.text)?8:0),i=xh(n);return{kind:0,token:s,call:En(c.parent,Dk),modifierFlags:t,parentDeclaration:_,declSourceFile:n,isJSFile:i}}const p=D(d.declarations,OI);return!p||1056&l.flags||LC(s)||wQ(a,p.getSourceFile())?void 0:{kind:1,token:s,parentDeclaration:p}}function q5(e,n,t,r,i){const a=r.text;if(i){if(228===t.kind)return;const r=t.name.getText(),i=z5(pA.createIdentifier(r),a);e.insertNodeAfter(n,t,i)}else if(LC(r)){const r=pA.createPropertyDeclaration(void 0,a,void 0,void 0,void 0),i=Y5(t);i?e.insertNodeAfter(n,i,r):e.insertMemberAtStart(n,t,r)}else{const r=Bv(t);if(!r)return;const i=z5(pA.createThis(),a);e.insertNodeAtConstructorEnd(n,r,i)}}function z5(e,n){return pA.createExpressionStatement(pA.createAssignment(pA.createPropertyAccessExpression(e,n),r7()))}function J5(e,n,t){let r;if(223===t.parent.parent.kind){const i=t.parent.parent,a=t.parent===i.left?i.right:i.left,o=e.getWidenedType(e.getBaseTypeOfLiteralType(e.getTypeAtLocation(a)));r=e.typeToTypeNode(o,n,1)}else{const n=e.getContextualType(t.parent);r=n?e.typeToTypeNode(n,void 0,1):void 0}return r||pA.createKeywordTypeNode(131)}function X5(e,n,t,r,i,a){const o=a?pA.createNodeArray(pA.createModifiersFromModifierFlags(a)):void 0,s=Dd(t)?pA.createPropertyDeclaration(o,r,void 0,i,void 0):pA.createPropertySignature(void 0,r,void 0,i),c=Y5(t);c?e.insertNodeAfter(n,c,s):e.insertMemberAtStart(n,t,s)}function Y5(e){let n;for(const t of e.members){if(!qC(t))break;n=t}return n}function $5(e,n,t,r,i,a,o){const s=a3(o,e.program,e.preferences,e.host),c=jee(Dd(a)?171:170,e,s,t,r,i,a),l=function(e,n){if(sk(e))return;const t=Rc(n,(e=>JC(e)||YC(e)));return t&&t.parent===e?t:void 0}(a,t);l?n.insertNodeAfter(o,l,c):n.insertMemberAtStart(o,a,c),s.writeFixes(n)}function Q5(e,n,{token:t,parentDeclaration:r}){const i=ce(r.members,(e=>{const t=n.getTypeAtLocation(e);return!!(t&&402653316&t.flags)})),a=pA.createEnumMember(t,i?pA.createStringLiteral(t.text):void 0);e.replaceNode(r.getSourceFile(),r,pA.updateEnumDeclaration(r,r.modifiers,r.name,de(r.members,Et(a))),{leadingTriviaOption:i_e.LeadingTriviaOption.IncludeAll,trailingTriviaOption:i_e.TrailingTriviaOption.Exclude})}function Z5(e,n,t){const r=EY(n.sourceFile,n.preferences),i=a3(n.sourceFile,n.program,n.preferences,n.host),a=2===t.kind?jee(259,n,i,t.call,Pc(t.token),t.modifierFlags,t.parentDeclaration):Vee(259,n,r,t.signature,Yee(Vo.Function_not_implemented.message,r),t.token,void 0,void 0,void 0,i);void 0===a&&Nt.fail("fixMissingFunctionDeclaration codefix got unexpected error."),EI(t.parentDeclaration)?e.insertNodeBefore(t.sourceFile,t.parentDeclaration,a,!0):e.insertNodeAtEndOfScope(t.sourceFile,t.parentDeclaration,a),i.writeFixes(e)}function e7(e,n,t){const r=a3(n.sourceFile,n.program,n.preferences,n.host),i=EY(n.sourceFile,n.preferences),a=n.program.getTypeChecker(),o=t.parentDeclaration.attributes,s=ce(o.properties,fw),c=W(t.attributes,(e=>{const o=t7(n,a,r,i,a.getTypeOfSymbol(e),t.parentDeclaration),s=pA.createIdentifier(e.name),c=pA.createJsxAttribute(s,pA.createJsxExpression(void 0,o));return xS(s,c),c})),l=pA.createJsxAttributes(s?[...c,...o.properties]:[...o.properties,...c]),d={prefix:o.pos===o.end?" ":void 0};e.replaceNode(n.sourceFile,o,l,d),r.writeFixes(e)}function n7(e,n,t){const r=a3(n.sourceFile,n.program,n.preferences,n.host),i=EY(n.sourceFile,n.preferences),a=BT(n.program.getCompilerOptions()),o=n.program.getTypeChecker(),s=W(t.properties,(e=>{const s=t7(n,o,r,i,o.getTypeOfSymbol(e),t.parentDeclaration);return pA.createPropertyAssignment(function(e,n,t,r){if(sp(e)){const n=r.symbolToNode(e,111551,void 0,1073741824);if(n&&VC(n))return n}return GS(e.name,n,0===t)}(e,a,i,o),s)})),c={leadingTriviaOption:i_e.LeadingTriviaOption.Exclude,trailingTriviaOption:i_e.TrailingTriviaOption.Exclude,indentation:t.indentation};e.replaceNode(n.sourceFile,t.parentDeclaration,pA.createObjectLiteralExpression([...t.parentDeclaration.properties,...s],!0),c),r.writeFixes(e)}function t7(e,n,t,r,a,o){if(3&a.flags)return r7();if(134217732&a.flags)return pA.createStringLiteral("",0===r);if(8&a.flags)return pA.createNumericLiteral(0);if(64&a.flags)return pA.createBigIntLiteral("0n");if(16&a.flags)return pA.createFalse();if(1056&a.flags){const e=a.symbol.exports?Oe(a.symbol.exports.values()):a.symbol,t=n.symbolToExpression(a.symbol.parent?a.symbol.parent:a.symbol,111551,void 0,void 0);return void 0===e||void 0===t?pA.createNumericLiteral(0):pA.createPropertyAccessExpression(t,n.symbolToString(e))}if(256&a.flags)return pA.createNumericLiteral(a.value);if(2048&a.flags)return pA.createBigIntLiteral(a.value);if(128&a.flags)return pA.createStringLiteral(a.value,0===r);if(512&a.flags)return a===n.getFalseType()||a===n.getFalseType(!0)?pA.createFalse():pA.createTrue();if(65536&a.flags)return pA.createNull();if(1048576&a.flags){const i=C(a.types,(i=>t7(e,n,t,r,i,o)));return null!=i?i:r7()}if(n.isArrayLikeType(a))return pA.createArrayLiteralExpression();if(function(e){return 524288&e.flags&&(128&qE(e)||e.symbol&&En(Be(e.symbol.declarations),sk))}(a)){const i=W(n.getPropertiesOfType(a),(i=>{const a=t7(e,n,t,r,n.getTypeOfSymbol(i),o);return pA.createPropertyAssignment(i.name,a)}));return pA.createObjectLiteralExpression(i,!0)}if(16&qE(a)){if(void 0===D(a.symbol.declarations||i,yt(ik,zC,JC)))return r7();const s=n.getSignaturesOfType(a,0);if(void 0===s)return r7();const c=Vee(215,e,r,s[0],Yee(Vo.Function_not_implemented.message,r),void 0,void 0,void 0,o,t);return null!=c?c:r7()}if(1&qE(a)){const e=WE(a.symbol);if(void 0===e||fb(e))return r7();const n=Bv(e);return n&&S(n.parameters)?r7():pA.createNewExpression(pA.createIdentifier(a.symbol.name),void 0,void 0)}return r7()}function r7(){return pA.createIdentifier("undefined")}function i7(e){if(Rc(e,mw)){const n=Rc(e.parent,EI);if(n)return n}return Ip(e)}var a7,o7,s7=E({"src/services/codefixes/fixAddMissingMember.ts"(){ufe(),Hte(),B5="fixMissingMember",U5="fixMissingProperties",V5="fixMissingAttributes",j5="fixMissingFunctionDeclaration",v4({errorCodes:H5=[Vo.Property_0_does_not_exist_on_type_1.code,Vo.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,Vo.Property_0_is_missing_in_type_1_but_required_in_type_2.code,Vo.Type_0_is_missing_the_following_properties_from_type_1_Colon_2.code,Vo.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more.code,Vo.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,Vo.Cannot_find_name_0.code],getCodeActions(e){const n=e.program.getTypeChecker(),t=W5(e.sourceFile,e.span.start,e.errorCode,n,e.program);if(t){if(3===t.kind){const n=i_e.ChangeTracker.with(e,(n=>n7(n,e,t)));return[h4(U5,n,Vo.Add_missing_properties,U5,Vo.Add_all_missing_properties)]}if(4===t.kind){const n=i_e.ChangeTracker.with(e,(n=>e7(n,e,t)));return[h4(V5,n,Vo.Add_missing_attributes,V5,Vo.Add_all_missing_attributes)]}if(2===t.kind||5===t.kind){const n=i_e.ChangeTracker.with(e,(n=>Z5(n,e,t)));return[h4(j5,n,[Vo.Add_missing_function_declaration_0,t.token.text],j5,Vo.Add_all_missing_function_declarations)]}if(1===t.kind){const n=i_e.ChangeTracker.with(e,(n=>Q5(n,e.program.getTypeChecker(),t)));return[h4(B5,n,[Vo.Add_missing_enum_member_0,t.token.text],B5,Vo.Add_all_missing_members)]}return de(function(e,n){const{parentDeclaration:t,declSourceFile:r,modifierFlags:i,token:a,call:o}=n;if(void 0===o)return;if(LC(a))return;const s=a.text,c=n=>i_e.ChangeTracker.with(e,(i=>$5(e,i,o,a,n,t,r))),l=[h4(B5,c(32&i),[32&i?Vo.Declare_static_method_0:Vo.Declare_method_0,s],B5,Vo.Add_all_missing_members)];return 8&i&&l.unshift(m4(B5,c(8),[Vo.Declare_private_method_0,s])),l}(e,t),function(e,n){return n.isJSFile?Et(function(e,{parentDeclaration:n,declSourceFile:t,modifierFlags:r,token:i}){if(NI(n)||sk(n))return;const a=i_e.ChangeTracker.with(e,(e=>q5(e,t,n,i,!!(32&r))));if(0===a.length)return;const o=32&r?Vo.Initialize_static_property_0:LC(i)?Vo.Declare_a_private_field_named_0:Vo.Initialize_property_0_in_the_constructor;return h4(B5,a,[o,i.text],B5,Vo.Add_all_missing_members)}(e,n)):function(e,{parentDeclaration:n,declSourceFile:t,modifierFlags:r,token:i}){const a=i.text,o=32&r,s=J5(e.program.getTypeChecker(),n,i),c=r=>i_e.ChangeTracker.with(e,(e=>X5(e,t,n,a,s,r))),l=[h4(B5,c(32&r),[o?Vo.Declare_static_property_0:Vo.Declare_property_0,a],B5,Vo.Add_all_missing_members)];return o||LC(i)||(8&r&&l.unshift(m4(B5,c(8),[Vo.Declare_private_property_0,a])),l.push(function(e,n,t,r,i){const a=pA.createKeywordTypeNode(152),o=pA.createParameterDeclaration(void 0,void 0,"x",void 0,a,void 0),s=pA.createIndexSignature(void 0,[o],i),c=i_e.ChangeTracker.with(e,(e=>e.insertMemberAtStart(n,t,s)));return m4(B5,c,[Vo.Add_index_signature_for_property_0,r])}(e,t,n,i.text,s))),l}(e,n)}(e,t))}},fixIds:[B5,j5,U5,V5],getAllCodeActions:e=>{const{program:n,fixId:t}=e,r=n.getTypeChecker(),i=new Map,a=new Map;return x4(i_e.ChangeTracker.with(e,(n=>{L4(e,H5,(o=>{const s=W5(o.file,o.start,o.code,r,e.program);if(s&&$E(i,KG(s.parentDeclaration)+"#"+s.token.text))if(t!==j5||2!==s.kind&&5!==s.kind){if(t===U5&&3===s.kind)n7(n,e,s);else if(t===V5&&4===s.kind)e7(n,e,s);else if(1===s.kind&&Q5(n,r,s),0===s.kind){const{parentDeclaration:e,token:n}=s,t=re(a,e,(()=>[]));t.some((e=>e.token.text===n.text))||t.push(s)}}else Z5(n,e,s)})),a.forEach(((t,i)=>{const o=sk(i)?void 0:pne(i,r);for(const i of t){if(null==o?void 0:o.some((e=>{const n=a.get(e);return!!n&&n.some((({token:e})=>e.text===i.token.text))})))continue;const{parentDeclaration:t,declSourceFile:s,modifierFlags:c,token:l,call:d,isJSFile:u}=i;if(d&&!LC(l))$5(e,n,d,l,32&c,t,s);else if(!u||NI(t)||sk(t)){const e=J5(r,t,l);X5(n,s,t,l.text,e,32&c)}else q5(n,s,t,l,!!(32&c))}}))})))}})}});function c7(e,n,t){const r=Tn(function(e,n){let t=_X(e,n.start);const r=tc(n);for(;t.end<r;)t=t.parent;return t}(n,t),Dk),i=pA.createNewExpression(r.expression,r.typeArguments,r.arguments);e.replaceNode(n,r,i)}var l7,d7,u7,_7=E({"src/services/codefixes/fixAddMissingNewOperator.ts"(){ufe(),Hte(),a7="addMissingNewOperator",v4({errorCodes:o7=[Vo.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new.code],getCodeActions(e){const{sourceFile:n,span:t}=e,r=i_e.ChangeTracker.with(e,(e=>c7(e,n,t)));return[h4(a7,r,Vo.Add_missing_new_operator_to_call,a7,Vo.Add_missing_new_operator_to_all_calls)]},fixIds:[a7],getAllCodeActions:e=>A4(e,o7,((n,t)=>c7(n,e.sourceFile,t)))})}});function p7(e,n){return{type:"install package",file:e,packageName:n}}function f7(e,n){const t=En(_X(e,n),cC);if(!t)return;const r=t.text,{packageName:i}=fF(r);return Zs(i)?void 0:i}function m7(e,n,t){var r;return t===d7?lz.nodeCoreModules.has(e)?"@types/node":void 0:(null==(r=n.isKnownTypesPackageName)?void 0:r.call(n,e))?LF(e):void 0}var h7,g7,y7=E({"src/services/codefixes/fixCannotFindModule.ts"(){ufe(),Hte(),l7="installTypesPackage",d7=Vo.Cannot_find_module_0_or_its_corresponding_type_declarations.code,v4({errorCodes:u7=[d7,Vo.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type.code],getCodeActions:function(e){const{host:n,sourceFile:t,span:{start:r}}=e,i=f7(t,r);if(void 0===i)return;const a=m7(i,n,e.errorCode);return void 0===a?[]:[h4("fixCannotFindModule",[],[Vo.Install_0,a],l7,Vo.Install_all_missing_types_packages,p7(t.fileName,a))]},fixIds:[l7],getAllCodeActions:e=>A4(e,u7,((n,t,r)=>{const i=f7(t.file,t.start);if(void 0!==i)switch(e.fixId){case l7:{const n=m7(i,e.host,t.code);n&&r.push(p7(t.file.fileName,n));break}default:Nt.fail(`Bad fixId: ${e.fixId}`)}}))})}});function v7(e,n){return Tn(_X(e,n).parent,Dd)}function b7(e,n,t,r,i){const a=ly(e),o=t.program.getTypeChecker(),s=o.getTypeAtLocation(a),c=o.getPropertiesOfType(s).filter(E7),l=a3(n,t.program,i,t.host);Gee(e,c,n,t,i,l,(t=>r.insertMemberAtStart(n,e,t))),l.writeFixes(r)}function E7(e){const n=Sb(Me(e.getDeclarations()));return!(8&n||!(256&n))}var T7,x7,S7=E({"src/services/codefixes/fixClassDoesntImplementInheritedAbstractMember.ts"(){ufe(),Hte(),v4({errorCodes:h7=[Vo.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2.code,Vo.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1.code],getCodeActions:function(e){const{sourceFile:n,span:t}=e,r=i_e.ChangeTracker.with(e,(r=>b7(v7(n,t.start),n,e,r,e.preferences)));return 0===r.length?void 0:[h4(g7,r,Vo.Implement_inherited_abstract_class,g7,Vo.Implement_all_inherited_abstract_classes)]},fixIds:[g7="fixClassDoesntImplementInheritedAbstractMember"],getAllCodeActions:function(e){const n=new Map;return A4(e,h7,((t,r)=>{const i=v7(r.file,r.start);$E(n,KG(i))&&b7(i,e.sourceFile,e,t,e.preferences)}))}})}});function A7(e,n,t,r){e.insertNodeAtConstructorStart(n,t,r),e.delete(n,r)}function L7(e,n){const t=_X(e,n);if(108!==t.kind)return;const r=Hm(t),i=C7(r.body);return i&&!i.expression.arguments.some((e=>Rk(e)&&e.expression===t))?{constructor:r,superCall:i}:void 0}function C7(e){return _I(e)&&cm(e.expression)?e:Ad(e)?void 0:ED(e,C7)}var k7,I7,w7=E({"src/services/codefixes/fixClassSuperMustPrecedeThisAccess.ts"(){ufe(),Hte(),T7="classSuperMustPrecedeThisAccess",v4({errorCodes:x7=[Vo.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class.code],getCodeActions(e){const{sourceFile:n,span:t}=e,r=L7(n,t.start);if(!r)return;const{constructor:i,superCall:a}=r,o=i_e.ChangeTracker.with(e,(e=>A7(e,n,i,a)));return[h4(T7,o,Vo.Make_super_call_the_first_statement_in_the_constructor,T7,Vo.Make_all_super_calls_the_first_statement_in_their_constructor)]},fixIds:[T7],getAllCodeActions(e){const{sourceFile:n}=e,t=new Map;return A4(e,x7,((e,r)=>{const i=L7(r.file,r.start);if(!i)return;const{constructor:a,superCall:o}=i;$E(t,KG(a.parent))&&A7(e,n,a,o)}))}})}});function R7(e,n){const t=_X(e,n);return Nt.assert(YC(t.parent),"token should be at the constructor declaration"),t.parent}function N7(e,n,t){const r=pA.createExpressionStatement(pA.createCallExpression(pA.createSuper(),void 0,i));e.insertNodeAtConstructorStart(n,t,r)}var D7,O7,M7=E({"src/services/codefixes/fixConstructorForDerivedNeedSuperCall.ts"(){ufe(),Hte(),k7="constructorForDerivedNeedSuperCall",v4({errorCodes:I7=[Vo.Constructors_for_derived_classes_must_contain_a_super_call.code],getCodeActions(e){const{sourceFile:n,span:t}=e,r=R7(n,t.start),i=i_e.ChangeTracker.with(e,(e=>N7(e,n,r)));return[h4(k7,i,Vo.Add_missing_super_call,k7,Vo.Add_all_missing_super_calls)]},fixIds:[k7],getAllCodeActions:e=>A4(e,I7,((n,t)=>N7(n,e.sourceFile,R7(t.file,t.start))))})}});function P7(e,n){Qee(e,n,"jsx",pA.createStringLiteral("react"))}var F7,G7,B7=E({"src/services/codefixes/fixEnableJsxFlag.ts"(){ufe(),Hte(),D7="fixEnableJsxFlag",v4({errorCodes:O7=[Vo.Cannot_use_JSX_unless_the_jsx_flag_is_provided.code],getCodeActions:function(e){const{configFile:n}=e.program.getCompilerOptions();if(void 0===n)return;const t=i_e.ChangeTracker.with(e,(e=>P7(e,n)));return[m4(D7,t,Vo.Enable_the_jsx_flag_in_your_configuration_file)]},fixIds:[D7],getAllCodeActions:e=>A4(e,O7,(n=>{const{configFile:t}=e.program.getCompilerOptions();void 0!==t&&P7(n,t)}))})}});function U7(e,n,t){const r=D(e.getSemanticDiagnostics(n),(e=>e.start===t.start&&e.length===t.length));if(void 0===r||void 0===r.relatedInformation)return;const i=D(r.relatedInformation,(e=>e.code===Vo.Did_you_mean_0.code));if(void 0===i||void 0===i.file||void 0===i.start||void 0===i.length)return;const a=ine(i.file,fc(i.start,i.length));return void 0!==a&&uu(a)&&qk(a.parent)?{suggestion:j7(i.messageText),expression:a.parent,arg:a}:void 0}function V7(e,n,t,r){const i=pA.createCallExpression(pA.createPropertyAccessExpression(pA.createIdentifier("Number"),pA.createIdentifier("isNaN")),void 0,[t]),a=r.operatorToken.kind;e.replaceNode(n,r,37===a||35===a?pA.createPrefixUnaryExpression(53,i):i)}function j7(e){const[n,t]=pH(e,"\n",0).match(/\'(.*)\'/)||[];return t}var H7,K7,W7=E({"src/services/codefixes/fixNaNEquality.ts"(){ufe(),Hte(),F7="fixNaNEquality",v4({errorCodes:G7=[Vo.This_condition_will_always_return_0.code],getCodeActions(e){const{sourceFile:n,span:t,program:r}=e,i=U7(r,n,t);if(void 0===i)return;const{suggestion:a,expression:o,arg:s}=i,c=i_e.ChangeTracker.with(e,(e=>V7(e,n,s,o)));return[h4(F7,c,[Vo.Use_0,a],F7,Vo.Use_Number_isNaN_in_all_conditions)]},fixIds:[F7],getAllCodeActions:e=>A4(e,G7,((n,t)=>{const r=U7(e.program,t.file,fc(t.start,t.length));r&&V7(n,t.file,r.arg,r.expression)}))})}}),q7=E({"src/services/codefixes/fixModuleAndTargetOptions.ts"(){ufe(),Hte(),v4({errorCodes:[Vo.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher.code,Vo.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher.code],getCodeActions:function(e){const n=e.program.getCompilerOptions(),{configFile:t}=n;if(void 0===t)return;const r=[],i=UT(n);if(i>=5&&i<99){const n=i_e.ChangeTracker.with(e,(e=>{Qee(e,t,"module",pA.createStringLiteral("esnext"))}));r.push(m4("fixModuleOption",n,[Vo.Set_the_module_option_in_your_configuration_file_to_0,"esnext"]))}const a=BT(n);if(a<4||a>99){const n=i_e.ChangeTracker.with(e,(e=>{if(!Um(t))return;const n=[["target",pA.createStringLiteral("es2017")]];1===i&&n.push(["module",pA.createStringLiteral("commonjs")]),$ee(e,t,n)}));r.push(m4("fixTargetOption",n,[Vo.Set_the_target_option_in_your_configuration_file_to_0,"es2017"]))}return r.length?r:void 0}})}});function z7(e,n,t){e.replaceNode(n,t,pA.createPropertyAssignment(t.name,t.objectAssignmentInitializer))}function J7(e,n){return Tn(_X(e,n).parent,Ew)}var X7,Y7,$7=E({"src/services/codefixes/fixPropertyAssignment.ts"(){ufe(),Hte(),H7="fixPropertyAssignment",v4({errorCodes:K7=[Vo.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],fixIds:[H7],getCodeActions(e){const{sourceFile:n,span:t}=e,r=J7(n,t.start),i=i_e.ChangeTracker.with(e,(n=>z7(n,e.sourceFile,r)));return[h4(H7,i,[Vo.Change_0_to_1,"=",":"],H7,[Vo.Switch_each_misused_0_to_1,"=",":"])]},getAllCodeActions:e=>A4(e,K7,((e,n)=>z7(e,n.file,J7(n.file,n.start))))})}});function Q7(e,n){const t=Wm(_X(e,n)).heritageClauses,r=t[0].getFirstToken();return 94===r.kind?{extendsToken:r,heritageClauses:t}:void 0}function Z7(e,n,t,r){if(e.replaceNode(n,t,pA.createToken(117)),2===r.length&&94===r[0].token&&117===r[1].token){const t=r[1].getFirstToken(),i=t.getFullStart();e.replaceRange(n,{pos:i,end:i},pA.createToken(27));const a=n.text;let o=t.end;for(;o<a.length&&Ts(a.charCodeAt(o));)o++;e.deleteRange(n,{pos:t.getStart(),end:o})}}var e9,n9,t9,r9=E({"src/services/codefixes/fixExtendsInterfaceBecomesImplements.ts"(){ufe(),Hte(),X7="extendsInterfaceBecomesImplements",v4({errorCodes:Y7=[Vo.Cannot_extend_an_interface_0_Did_you_mean_implements.code],getCodeActions(e){const{sourceFile:n}=e,t=Q7(n,e.span.start);if(!t)return;const{extendsToken:r,heritageClauses:i}=t,a=i_e.ChangeTracker.with(e,(e=>Z7(e,n,r,i)));return[h4(X7,a,Vo.Change_extends_to_implements,X7,Vo.Change_all_extended_interfaces_to_implements)]},fixIds:[X7],getAllCodeActions:e=>A4(e,Y7,((e,n)=>{const t=Q7(n.file,n.start);t&&Z7(e,n.file,t.extendsToken,t.heritageClauses)}))})}});function i9(e,n,t){const r=_X(e,n);if(AC(r)||LC(r))return{node:r,className:t===n9?Wm(r).name.text:void 0}}function a9(e,n,{node:t,className:r}){T$(t),e.replaceNode(n,t,pA.createPropertyAccessExpression(r?pA.createIdentifier(r):pA.createThis(),t))}var o9,s9,c9,l9,d9=E({"src/services/codefixes/fixForgottenThisPropertyAccess.ts"(){ufe(),Hte(),e9="forgottenThisPropertyAccess",n9=Vo.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,v4({errorCodes:t9=[Vo.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,Vo.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression.code,n9],getCodeActions(e){const{sourceFile:n}=e,t=i9(n,e.span.start,e.errorCode);if(!t)return;const r=i_e.ChangeTracker.with(e,(e=>a9(e,n,t)));return[h4(e9,r,[Vo.Add_0_to_unresolved_variable,t.className||"this"],e9,Vo.Add_qualifier_to_all_unresolved_variables_matching_a_member_name)]},fixIds:[e9],getAllCodeActions:e=>A4(e,t9,((n,t)=>{const r=i9(t.file,t.start,t.code);r&&a9(n,e.sourceFile,r)}))})}});function u9(e,n,t,r,i){const a=t.getText()[r];if(!function(e){return qe(l9,e)}(a))return;const o=i?l9[a]:`{${F$(t,n,a)}}`;e.replaceRangeWithText(t,{pos:r,end:r+1},o)}var _9,p9,f9,m9=E({"src/services/codefixes/fixInvalidJsxCharacters.ts"(){ufe(),Hte(),o9="fixInvalidJsxCharacters_expression",s9="fixInvalidJsxCharacters_htmlEntity",v4({errorCodes:c9=[Vo.Unexpected_token_Did_you_mean_or_gt.code,Vo.Unexpected_token_Did_you_mean_or_rbrace.code],fixIds:[o9,s9],getCodeActions(e){const{sourceFile:n,preferences:t,span:r}=e,i=i_e.ChangeTracker.with(e,(e=>u9(e,t,n,r.start,!1))),a=i_e.ChangeTracker.with(e,(e=>u9(e,t,n,r.start,!0)));return[h4(o9,i,Vo.Wrap_invalid_character_in_an_expression_container,o9,Vo.Wrap_all_invalid_characters_in_an_expression_container),h4(s9,a,Vo.Convert_invalid_character_to_its_html_entity_code,s9,Vo.Convert_all_invalid_characters_to_HTML_entity_code)]},getAllCodeActions:e=>A4(e,c9,((n,t)=>u9(n,e.preferences,t.file,t.start,e.fixId===s9)))}),l9={">":"&gt;","}":"&rbrace;"}}});function h9(e,n){const t=_X(e,n);if(t.parent&&iR(t.parent)&&AC(t.parent.name)){const e=t.parent,n=Fg(e),r=Mg(e);if(n&&r)return{jsDocHost:n,signature:r,name:t.parent.name,jsDocParameterTag:e}}}var g9,y9,v9,b9,E9,T9,x9,S9=E({"src/services/codefixes/fixUnmatchedParameter.ts"(){ufe(),Hte(),_9="deleteUnmatchedParameter",p9="renameUnmatchedParameter",f9=[Vo.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name.code],v4({fixIds:[_9,p9],errorCodes:f9,getCodeActions:function(e){const{sourceFile:n,span:t}=e,r=[],i=h9(n,t.start);if(i)return Te(r,function(e,{name:n,jsDocHost:t,jsDocParameterTag:r}){const i=i_e.ChangeTracker.with(e,(n=>n.filterJSDocTags(e.sourceFile,t,(e=>e!==r))));return h4(_9,i,[Vo.Delete_unused_param_tag_0,n.getText(e.sourceFile)],_9,Vo.Delete_all_unused_param_tags)}(e,i)),Te(r,function(e,{name:n,jsDocHost:t,signature:r,jsDocParameterTag:i}){if(!S(r.parameters))return;const a=e.sourceFile,o=Al(r),s=new Set;for(const e of o)iR(e)&&AC(e.name)&&s.add(e.name.escapedText);const c=C(r.parameters,(e=>AC(e.name)&&!s.has(e.name.escapedText)?e.name.getText(a):void 0));if(void 0===c)return;const l=pA.updateJSDocParameterTag(i,i.tagName,pA.createIdentifier(c),i.isBracketed,i.typeExpression,i.isNameFirst,i.comment),d=i_e.ChangeTracker.with(e,(e=>e.replaceJSDocComment(a,t,W(o,(e=>e===i?l:e)))));return m4(p9,d,[Vo.Rename_param_tag_name_0_to_1,n.getText(a),c])}(e,i)),r},getAllCodeActions:function(e){const n=new Map;return x4(i_e.ChangeTracker.with(e,(t=>{L4(e,f9,(({file:e,start:t})=>{const r=h9(e,t);r&&n.set(r.signature,Te(n.get(r.signature),r.jsDocParameterTag))})),n.forEach(((n,r)=>{if(e.fixId===_9){const e=new Set(n);t.filterJSDocTags(r.getSourceFile(),r,(n=>!e.has(n)))}}))})))}})}}),A9=E({"src/services/codefixes/fixUnreferenceableDecoratorMetadata.ts"(){ufe(),Hte(),g9="fixUnreferenceableDecoratorMetadata",v4({errorCodes:[Vo.A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled.code],getCodeActions:e=>{const n=function(e,n,t){const r=En(_X(e,t),AC);if(!r||180!==r.parent.kind)return;const a=n.getTypeChecker().getSymbolAtLocation(r);return D((null==a?void 0:a.declarations)||i,yt(VI,JI,BI))}(e.sourceFile,e.program,e.span.start);if(!n)return;const t=i_e.ChangeTracker.with(e,(t=>273===n.kind&&function(e,n,t,r){xde.doChangeNamedToNamespaceOrDefault(n,r,e,t.parent)}(t,e.sourceFile,n,e.program))),r=i_e.ChangeTracker.with(e,(t=>function(e,n,t,r){if(268===t.kind)return void e.insertModifierBefore(n,154,t.name);const i=270===t.kind?t:t.parent.parent;if(i.name&&i.namedBindings)return;const a=r.getTypeChecker();yg(i,(e=>{if(111551&ME(e.symbol,a).flags)return!0}))||e.insertModifierBefore(n,154,i)}(t,e.sourceFile,n,e.program)));let a;return t.length&&(a=Te(a,m4(g9,t,Vo.Convert_named_imports_to_namespace_import))),r.length&&(a=Te(a,m4(g9,r,Vo.Convert_to_type_only_import))),a},fixIds:[g9]})}});function L9(e,n,t){e.replaceNode(n,t.parent,pA.createKeywordTypeNode(157))}function C9(e,n){return h4(y9,e,n,b9,Vo.Delete_all_unused_declarations)}function k9(e,n,t){e.delete(n,Nt.checkDefined(Tn(t.parent,If).typeParameters,"The type parameter to delete should exist"))}function I9(e){return 100===e.kind||79===e.kind&&(273===e.parent.kind||270===e.parent.kind)}function w9(e){return 100===e.kind?En(e.parent,UI):void 0}function R9(e,n){return II(n.parent)&&Me(n.parent.getChildren(e))===n}function N9(e,n,t){e.delete(n,240===t.parent.kind?t.parent:t)}function D9(e,n,t,r){n!==Vo.Property_0_is_declared_but_its_value_is_never_read.code&&(138===r.kind&&(r=Tn(r.parent,hk).typeParameter.name),AC(r)&&function(e){switch(e.parent.kind){case 166:case 165:return!0;case 257:switch(e.parent.parent.parent.kind){case 247:case 246:return!0}}return!1}(r)&&(e.replaceNode(t,r,pA.createIdentifier(`_${r.text}`)),HC(r.parent)&&Yc(r.parent).forEach((n=>{AC(n.name)&&e.replaceNode(t,n.name,pA.createIdentifier(`_${n.name.text}`))}))))}function O9(e,n,t,r,i,a,o,s){!function(e,n,t,r,i,a,o,s){const{parent:c}=e;if(HC(c))!function(e,n,t,r,i,a,o,s=!1){if(function(e,n,t,r,i,a,o){const{parent:s}=t;switch(s.kind){case 171:case 173:const c=s.parameters.indexOf(t),l=JC(s)?s.name:s,d=bae.Core.getReferencedSymbolsForNode(s.pos,l,i,r,a);if(d)for(const e of d)for(const n of e.references)if(n.kind===bae.EntryKind.Node){const e=FC(n.node)&&Dk(n.node.parent)&&n.node.parent.arguments.length>c,r=Rk(n.node.parent)&&FC(n.node.parent.expression)&&Dk(n.node.parent.parent)&&n.node.parent.parent.arguments.length>c,i=(JC(n.node.parent)||zC(n.node.parent))&&n.node.parent!==t.parent&&n.node.parent.parameters.length>c;if(e||r||i)return!1}return!0;case 259:return!s.name||!function(e,n,t){return!!bae.Core.eachSymbolReferenceInFile(t,e,n,(e=>AC(e)&&Dk(e.parent)&&e.parent.arguments.indexOf(e)>=0))}(e,n,s.name)||P9(s,t,o);case 215:case 216:return P9(s,t,o);case 175:return!1;case 174:return!0;default:return Nt.failBadSyntaxKind(s)}}(r,n,t,i,a,o,s))if(t.modifiers&&t.modifiers.length>0&&(!AC(t.name)||bae.Core.isSymbolReferencedInFile(t.name,r,n)))for(const r of t.modifiers)Ed(r)&&e.deleteModifier(n,r);else!t.initializer&&M9(t,r,i)&&e.delete(n,t)}(n,t,c,r,i,a,o,s);else if(!(s&&AC(e)&&bae.Core.isSymbolReferencedInFile(e,r,t))){const r=VI(c)?e:VC(c)?c.parent:c;Nt.assert(r!==t,"should not delete whole source file"),n.delete(t,r)}}(n,t,e,r,i,a,o,s),AC(n)&&bae.Core.eachSymbolReferenceInFile(n,r,e,(n=>{var r;Rk(n.parent)&&n.parent.name===n&&(n=n.parent),!s&&(qk((r=n).parent)&&r.parent.left===r||(Wk(r.parent)||Kk(r.parent))&&r.parent.operand===r)&&_I(r.parent.parent)&&t.delete(e,n.parent.parent)}))}function M9(e,n,t){const r=e.parent.parameters.indexOf(e);return!bae.Core.someSignatureUsage(e.parent,t,n,((e,n)=>!n||n.arguments.length>r))}function P9(e,n,t){const r=e.parameters,i=r.indexOf(n);return Nt.assert(-1!==i,"The parameter should already be in the list"),t?r.slice(i+1).every((e=>AC(e.name)&&!e.symbol.isReferenced)):i===r.length-1}var F9,G9,B9=E({"src/services/codefixes/fixUnusedIdentifier.ts"(){ufe(),Hte(),y9="unusedIdentifier",v9="unusedIdentifier_prefix",b9="unusedIdentifier_delete",E9="unusedIdentifier_deleteImports",T9="unusedIdentifier_infer",v4({errorCodes:x9=[Vo._0_is_declared_but_its_value_is_never_read.code,Vo._0_is_declared_but_never_used.code,Vo.Property_0_is_declared_but_its_value_is_never_read.code,Vo.All_imports_in_import_declaration_are_unused.code,Vo.All_destructured_elements_are_unused.code,Vo.All_variables_are_unused.code,Vo.All_type_parameters_are_unused.code],getCodeActions(e){const{errorCode:n,sourceFile:t,program:r,cancellationToken:i}=e,a=r.getTypeChecker(),o=r.getSourceFiles(),s=_X(t,e.span.start);if(cR(s))return[C9(i_e.ChangeTracker.with(e,(e=>e.delete(t,s))),Vo.Remove_template_tag)];if(29===s.kind)return[C9(i_e.ChangeTracker.with(e,(e=>k9(e,t,s))),Vo.Remove_type_parameters)];const c=w9(s);if(c){const n=i_e.ChangeTracker.with(e,(e=>e.delete(t,c)));return[h4(y9,n,[Vo.Remove_import_from_0,XE(c)],E9,Vo.Delete_all_unused_imports)]}if(I9(s)){const n=i_e.ChangeTracker.with(e,(e=>O9(t,s,e,a,o,r,i,!1)));if(n.length)return[h4(y9,n,[Vo.Remove_unused_declaration_for_Colon_0,s.getText(t)],E9,Vo.Delete_all_unused_imports)]}if(Lk(s.parent)||Ck(s.parent)){if(HC(s.parent.parent)){const n=s.parent.elements,r=[n.length>1?Vo.Remove_unused_declarations_for_Colon_0:Vo.Remove_unused_declaration_for_Colon_0,W(n,(e=>e.getText(t))).join(", ")];return[C9(i_e.ChangeTracker.with(e,(e=>function(e,n,t){A(t.elements,(t=>e.delete(n,t)))}(e,t,s.parent))),r)]}return[C9(i_e.ChangeTracker.with(e,(e=>e.delete(t,s.parent.parent))),Vo.Remove_unused_destructuring_declaration)]}if(R9(t,s))return[C9(i_e.ChangeTracker.with(e,(e=>N9(e,t,s.parent))),Vo.Remove_variable_statement)];const l=[];if(138===s.kind){const n=i_e.ChangeTracker.with(e,(e=>L9(e,t,s))),r=Tn(s.parent,hk).typeParameter.name.text;l.push(h4(y9,n,[Vo.Replace_infer_0_with_unknown,r],T9,Vo.Replace_all_unused_infer_with_unknown))}else{const n=i_e.ChangeTracker.with(e,(e=>O9(t,s,e,a,o,r,i,!1)));if(n.length){const e=VC(s.parent)?s.parent:s;l.push(C9(n,[Vo.Remove_unused_declaration_for_Colon_0,e.getText(t)]))}}const d=i_e.ChangeTracker.with(e,(e=>D9(e,n,t,s)));return d.length&&l.push(h4(y9,d,[Vo.Prefix_0_with_an_underscore,s.getText(t)],v9,Vo.Prefix_all_unused_declarations_with_where_possible)),l},fixIds:[v9,b9,E9,T9],getAllCodeActions:e=>{const{sourceFile:n,program:t,cancellationToken:r}=e,i=t.getTypeChecker(),a=t.getSourceFiles();return A4(e,x9,((o,s)=>{const c=_X(n,s.start);switch(e.fixId){case v9:D9(o,s.code,n,c);break;case E9:{const e=w9(c);e?o.delete(n,e):I9(c)&&O9(n,c,o,i,a,t,r,!0);break}case b9:if(138===c.kind||I9(c))break;if(cR(c))o.delete(n,c);else if(29===c.kind)k9(o,n,c);else if(Lk(c.parent)){if(c.parent.parent.initializer)break;HC(c.parent.parent)&&!M9(c.parent.parent,i,a)||o.delete(n,c.parent.parent)}else{if(Ck(c.parent.parent)&&c.parent.parent.parent.initializer)break;R9(n,c)?N9(o,n,c.parent):O9(n,c,o,i,a,t,r,!0)}break;case T9:138===c.kind&&L9(o,n,c);break;default:Nt.fail(JSON.stringify(e.fixId))}}))}})}});function U9(e,n,t,r,a){const o=_X(n,t),s=Rc(o,Mu);if(s.getStart(n)!==o.getStart(n)){const e=JSON.stringify({statementKind:Nt.formatSyntaxKind(s.kind),tokenKind:Nt.formatSyntaxKind(o.kind),errorCode:a,start:t,length:r});Nt.fail("Token and statement should start at the same point. "+e)}const c=(lI(s.parent)?s.parent:s).parent;if(!lI(s.parent)||s===Me(s.parent.statements))switch(c.kind){case 242:if(c.elseStatement){if(lI(s.parent))break;return void e.replaceNode(n,s,pA.createBlock(i))}case 244:case 245:return void e.delete(n,c)}if(lI(s.parent)){const i=t+r,a=Nt.checkDefined(function(e,n){let t;for(const n of e){if(!(n.pos<i))break;t=n}return t}(rS(s.parent.statements,s)),"Some statement should be last");e.deleteNodeRange(n,s,a)}else e.delete(n,s)}var V9,j9,H9=E({"src/services/codefixes/fixUnreachableCode.ts"(){ufe(),Hte(),F9="fixUnreachableCode",v4({errorCodes:G9=[Vo.Unreachable_code_detected.code],getCodeActions(e){if(e.program.getSyntacticDiagnostics(e.sourceFile,e.cancellationToken).length)return;const n=i_e.ChangeTracker.with(e,(n=>U9(n,e.sourceFile,e.span.start,e.span.length,e.errorCode)));return[h4(F9,n,Vo.Remove_unreachable_code,F9,Vo.Remove_all_unreachable_code)]},fixIds:[F9],getAllCodeActions:e=>A4(e,G9,((e,n)=>U9(e,n.file,n.start,n.length,n.code)))})}});function K9(e,n,t){const r=_X(n,t),i=Tn(r.parent,SI),a=r.getStart(n),o=i.statement.getStart(n),s=SE(a,o,n)?o:ks(n.text,ZJ(i,58,n).end,!0);e.deleteRange(n,{pos:a,end:s})}var W9,q9,z9,J9=E({"src/services/codefixes/fixUnusedLabel.ts"(){ufe(),Hte(),V9="fixUnusedLabel",v4({errorCodes:j9=[Vo.Unused_label.code],getCodeActions(e){const n=i_e.ChangeTracker.with(e,(n=>K9(n,e.sourceFile,e.span.start)));return[h4(V9,n,Vo.Remove_unused_label,V9,Vo.Remove_all_unused_labels)]},fixIds:[V9],getAllCodeActions:e=>A4(e,j9,((e,n)=>K9(e,n.file,n.start)))})}});function X9(e,n,t,r,i){e.replaceNode(n,t,i.typeToTypeNode(r,t,void 0))}function Y9(e,n,t){const r=Rc(_X(e,n),$9),i=r&&r.type;return i&&{typeNode:i,type:Q9(t,i)}}function $9(e){switch(e.kind){case 231:case 176:case 177:case 259:case 174:case 178:case 197:case 171:case 170:case 166:case 169:case 168:case 175:case 262:case 213:case 257:return!0;default:return!1}}function Q9(e,n){if(Pw(n)){const t=e.getTypeFromTypeNode(n.type);return t===e.getNeverType()||t===e.getVoidType()?t:e.getUnionType(Te([t,e.getUndefinedType()],n.postfix?void 0:e.getNullType()))}return e.getTypeFromTypeNode(n)}var Z9,eee,nee=E({"src/services/codefixes/fixJSDocTypes.ts"(){ufe(),Hte(),W9="fixJSDocTypes_plain",q9="fixJSDocTypes_nullable",v4({errorCodes:z9=[Vo.JSDoc_types_can_only_be_used_inside_documentation_comments.code,Vo._0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1.code,Vo._0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1.code],getCodeActions(e){const{sourceFile:n}=e,t=e.program.getTypeChecker(),r=Y9(n,e.span.start,t);if(!r)return;const{typeNode:i,type:a}=r,o=i.getText(n),s=[c(a,W9,Vo.Change_all_jsdoc_style_types_to_TypeScript)];return 317===i.kind&&s.push(c(a,q9,Vo.Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types)),s;function c(r,a,s){return h4("jdocTypes",i_e.ChangeTracker.with(e,(e=>X9(e,n,i,r,t))),[Vo.Change_0_to_1,o,t.typeToString(r)],a,s)}},fixIds:[W9,q9],getAllCodeActions(e){const{fixId:n,program:t,sourceFile:r}=e,i=t.getTypeChecker();return A4(e,z9,((e,t)=>{const a=Y9(t.file,t.start,i);if(!a)return;const{typeNode:o,type:s}=a,c=317===o.kind&&n===q9?i.getNullableType(s,32768):s;X9(e,r,o,c,i)}))}})}});function tee(e,n,t){e.replaceNodeWithText(n,t,`${t.text}()`)}function ree(e,n){const t=_X(e,n);if(Rk(t.parent)){let e=t.parent;for(;Rk(e.parent);)e=e.parent;return e.name}if(AC(t))return t}var iee,aee,oee=E({"src/services/codefixes/fixMissingCallParentheses.ts"(){ufe(),Hte(),Z9="fixMissingCallParentheses",v4({errorCodes:eee=[Vo.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead.code],fixIds:[Z9],getCodeActions(e){const{sourceFile:n,span:t}=e,r=ree(n,t.start);if(!r)return;const i=i_e.ChangeTracker.with(e,(n=>tee(n,e.sourceFile,r)));return[h4(Z9,i,Vo.Add_missing_call_parentheses,Z9,Vo.Add_all_missing_call_parentheses)]},getAllCodeActions:e=>A4(e,eee,((e,n)=>{const t=ree(n.file,n.start);t&&tee(e,n.file,t)}))})}});function see(e,n){const t=Hm(_X(e,n));if(!t)return;let r;switch(t.kind){case 171:r=t.name;break;case 259:case 215:r=ZJ(t,98,e);break;case 216:r=ZJ(t,t.typeParameters?29:20,e)||Me(t.parameters);break;default:return}return r&&{insertBefore:r,returnType:(i=t,i.type?i.type:kI(i.parent)&&i.parent.type&&ik(i.parent.type)?i.parent.type.type:void 0)};var i}function cee(e,n,{insertBefore:t,returnType:r}){if(r){const t=ah(r);t&&79===t.kind&&"Promise"===t.text||e.replaceNode(n,r,pA.createTypeReferenceNode("Promise",pA.createNodeArray([r])))}e.insertModifierBefore(n,132,t)}var lee,dee,uee=E({"src/services/codefixes/fixAwaitInSyncFunction.ts"(){ufe(),Hte(),iee="fixAwaitInSyncFunction",v4({errorCodes:aee=[Vo.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,Vo.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,Vo.Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function.code],getCodeActions(e){const{sourceFile:n,span:t}=e,r=see(n,t.start);if(!r)return;const i=i_e.ChangeTracker.with(e,(e=>cee(e,n,r)));return[h4(iee,i,Vo.Add_async_modifier_to_containing_function,iee,Vo.Add_all_missing_async_modifiers)]},fixIds:[iee],getAllCodeActions:function(e){const n=new Map;return A4(e,aee,((t,r)=>{const i=see(r.file,r.start);i&&$E(n,KG(i.insertBefore))&&cee(t,e.sourceFile,i)}))}})}});function _ee(e,n,t,r,i){let a,o;if(r===Vo._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code)a=n,o=n+t;else if(r===Vo._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code){const t=i.program.getTypeChecker(),r=_X(e,n).parent;Nt.assert(Od(r),"error span of fixPropertyOverrideAccessor should only be on an accessor");const s=r.parent;Nt.assert(Dd(s),"erroneous accessors should only be inside classes");const c=Be(pne(s,t));if(!c)return[];const l=Mc(Vf(r.name)),d=t.getPropertyOfType(t.getTypeAtLocation(c),l);if(!d||!d.valueDeclaration)return[];a=d.valueDeclaration.pos,o=d.valueDeclaration.end,e=Ip(d.valueDeclaration)}else Nt.fail("fixPropertyOverrideAccessor codefix got unexpected error code "+r);return one(e,i.program,a,o,i,Vo.Generate_get_and_set_accessors.message)}var pee,fee,mee=E({"src/services/codefixes/fixPropertyOverrideAccessor.ts"(){ufe(),Hte(),v4({errorCodes:lee=[Vo._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code,Vo._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code],getCodeActions(e){const n=_ee(e.sourceFile,e.span.start,e.span.length,e.errorCode,e);if(n)return[h4(dee,n,Vo.Generate_get_and_set_accessors,dee,Vo.Generate_get_and_set_accessors_for_all_overriding_properties)]},fixIds:[dee="fixPropertyOverrideAccessor"],getAllCodeActions:e=>A4(e,lee,((n,t)=>{const r=_ee(t.file,t.start,t.length,t.code,e);if(r)for(const t of r)n.pushRaw(e.sourceFile,t)}))})}});function hee(e,n){switch(e){case Vo.Parameter_0_implicitly_has_an_1_type.code:case Vo.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return QC(Hm(n))?Vo.Infer_type_of_0_from_usage:Vo.Infer_parameter_types_from_usage;case Vo.Rest_parameter_0_implicitly_has_an_any_type.code:case Vo.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:return Vo.Infer_parameter_types_from_usage;case Vo.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:return Vo.Infer_this_type_of_0_from_usage;default:return Vo.Infer_type_of_0_from_usage}}function gee(e,n,t,r,i,a,o,s,c){if(!vd(t.kind)&&79!==t.kind&&25!==t.kind&&108!==t.kind)return;const{parent:l}=t,d=a3(n,i,c,s);switch(r=function(e){switch(e){case Vo.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code:return Vo.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code;case Vo.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return Vo.Variable_0_implicitly_has_an_1_type.code;case Vo.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return Vo.Parameter_0_implicitly_has_an_1_type.code;case Vo.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:return Vo.Rest_parameter_0_implicitly_has_an_any_type.code;case Vo.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code:return Vo.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code;case Vo._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code:return Vo._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code;case Vo.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code:return Vo.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code;case Vo.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return Vo.Member_0_implicitly_has_an_1_type.code}return e}(r)){case Vo.Member_0_implicitly_has_an_1_type.code:case Vo.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code:if(kI(l)&&o(l)||qC(l)||WC(l))return yee(e,d,n,l,i,s,a),d.writeFixes(e),l;if(Rk(l)){const t=j$(xee(l.name,i,a),l,i,s);if(t){const r=pA.createJSDocTypeTag(void 0,pA.createJSDocTypeExpression(t),void 0);e.addJSDocTags(n,Tn(l.parent.parent,_I),[r])}return d.writeFixes(e),l}return;case Vo.Variable_0_implicitly_has_an_1_type.code:{const n=i.getTypeChecker().getSymbolAtLocation(t);return n&&n.valueDeclaration&&kI(n.valueDeclaration)&&o(n.valueDeclaration)?(yee(e,d,Ip(n.valueDeclaration),n.valueDeclaration,i,s,a),d.writeFixes(e),n.valueDeclaration):void 0}}const u=Hm(t);if(void 0===u)return;let _;switch(r){case Vo.Parameter_0_implicitly_has_an_1_type.code:if(QC(u)){vee(e,d,n,u,i,s,a),_=u;break}case Vo.Rest_parameter_0_implicitly_has_an_any_type.code:if(o(u)){const t=Tn(l,HC);!function(e,n,t,r,i,a,o,s){if(!AC(r.name))return;const c=function(e,n,t,r){const i=See(e,n,t,r);return i&&Aee(t,i,r).parameters(e)||e.parameters.map((e=>({declaration:e,type:AC(e.name)?xee(e.name,t,r):t.getTypeChecker().getAnyType()})))}(i,t,a,s);if(Nt.assert(i.parameters.length===c.length,"Parameter count and inference count should match"),Ah(i))Eee(e,t,c,a,o);else{const r=Bk(i)&&!ZJ(i,20,t);r&&e.insertNodeBefore(t,Me(i.parameters),pA.createToken(20));for(const{declaration:r,type:i}of c)!r||r.type||r.initializer||bee(e,n,t,r,i,a,o);r&&e.insertNodeAfter(t,Ge(i.parameters),pA.createToken(21))}}(e,d,n,t,u,i,s,a),_=t}break;case Vo.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code:case Vo._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code:$C(u)&&AC(u.name)&&(bee(e,d,n,u,xee(u.name,i,a),i,s),_=u);break;case Vo.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code:QC(u)&&(vee(e,d,n,u,i,s,a),_=u);break;case Vo.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:i_e.isThisTypeAnnotatable(u)&&o(u)&&(function(e,n,t,r,i,a){const o=See(t,n,r,a);if(!o||!o.length)return;const s=j$(Aee(r,o,a).thisParameter(),t,r,i);s&&(Ah(t)?function(e,n,t,r){e.addJSDocTags(n,t,[pA.createJSDocThisTag(void 0,pA.createJSDocTypeExpression(r))])}(e,n,t,s):e.tryInsertThisTypeAnnotation(n,t,s))}(e,n,u,i,s,a),_=u);break;default:return Nt.fail(String(r))}return d.writeFixes(e),_}function yee(e,n,t,r,i,a,o){AC(r.name)&&bee(e,n,t,r,xee(r.name,i,o),i,a)}function vee(e,n,t,r,i,a,o){const s=De(r.parameters);if(s&&AC(r.name)&&AC(s.name)){let c=xee(r.name,i,o);c===i.getTypeChecker().getAnyType()&&(c=xee(s.name,i,o)),Ah(r)?Eee(e,t,[{declaration:s,type:c}],i,a):bee(e,n,t,s,c,i,a)}}function bee(e,n,t,r,i,a,o){const s=j$(i,r,a,o);if(s)if(Ah(t)&&168!==r.kind){const n=kI(r)?En(r.parent.parent,dI):r;if(!n)return;const i=pA.createJSDocTypeExpression(s),a=$C(r)?pA.createJSDocReturnTag(void 0,i,void 0):pA.createJSDocTypeTag(void 0,i,void 0);e.addJSDocTags(t,n,[a])}else(function(e,n,t,r,i,a){const o=nne(e,a);return!(!o||!r.tryInsertTypeAnnotation(t,n,o.typeNode))&&(A(o.symbols,(e=>i.addImportFromExportedSymbol(e,!0))),!0)})(s,r,t,e,n,BT(a.getCompilerOptions()))||e.tryInsertTypeAnnotation(t,r,s)}function Eee(e,n,t,r,i){const a=t.length&&t[0].declaration.parent;if(!a)return;const o=ee(t,(e=>{const n=e.declaration;if(n.initializer||Tl(n)||!AC(n.name))return;const t=e.type&&j$(e.type,n,r,i);return t?(GA(pA.cloneNode(n.name),7168),{name:pA.cloneNode(n.name),param:n,isOptional:!!e.isOptional,typeNode:t}):void 0}));if(o.length)if(Bk(a)||Gk(a)){const t=Bk(a)&&!ZJ(a,20,n);t&&e.insertNodeBefore(n,Me(a.parameters),pA.createToken(20)),A(o,(({typeNode:t,param:r})=>{const i=pA.createJSDocTypeTag(void 0,pA.createJSDocTypeExpression(t)),a=pA.createJSDocComment(void 0,[i]);e.insertNodeAt(n,r.getStart(n),a,{suffix:" "})})),t&&e.insertNodeAfter(n,Ge(a.parameters),pA.createToken(21))}else{const t=W(o,(({name:e,typeNode:n,isOptional:t})=>pA.createJSDocParameterTag(void 0,e,!!t,pA.createJSDocTypeExpression(n),!1,void 0)));e.addJSDocTags(n,a,t)}}function Tee(e,n,t){return ee(bae.getReferenceEntriesForNode(-1,e,n,n.getSourceFiles(),t),(e=>e.kind!==bae.EntryKind.Span?En(e.node,AC):void 0))}function xee(e,n,t){return Aee(n,Tee(e,n,t),t).single()}function See(e,n,t,r){let i;switch(e.kind){case 173:i=ZJ(e,135,n);break;case 216:case 215:const t=e.parent;i=(kI(t)||qC(t))&&AC(t.name)?t.name:e.name;break;case 259:case 171:case 170:i=e.name}if(i)return Tee(i,t,r)}function Aee(e,n,t){const r=e.getTypeChecker(),a={string:()=>r.getStringType(),number:()=>r.getNumberType(),Array:e=>r.createArrayType(e),Promise:e=>r.createPromiseType(e)},o=[r.getStringType(),r.getNumberType(),r.createArrayType(r.getAnyType()),r.createPromiseType(r.getAnyType())];return{single:function(){return _(c(n))},parameters:function(i){if(0===n.length||!i.parameters)return;const a={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};for(const e of n)t.throwIfCancellationRequested(),l(e,a);const o=[...a.constructs||[],...a.calls||[]];return i.parameters.map(((n,a)=>{const s=[],l=a_(n);let d=!1;for(const e of o)if(e.argumentTypes.length<=a)d=Ah(i),s.push(r.getUndefinedType());else if(l)for(let n=a;n<e.argumentTypes.length;n++)s.push(r.getBaseTypeOfLiteralType(e.argumentTypes[n]));else s.push(r.getBaseTypeOfLiteralType(e.argumentTypes[a]));if(AC(n.name)){const i=c(Tee(n.name,e,t));s.push(...l?ee(i,r.getElementTypeOfArrayType):i)}const u=_(s);return{type:l?r.createArrayType(u):u,isOptional:d&&!l,declaration:n}}))},thisParameter:function(){const e={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};for(const r of n)t.throwIfCancellationRequested(),l(r,e);return _(e.candidateThisTypes||i)}};function s(e){const n=new Map;for(const t of e)t.properties&&t.properties.forEach(((e,t)=>{n.has(t)||n.set(t,[]),n.get(t).push(e)}));const t=new Map;return n.forEach(((e,n)=>{t.set(n,s(e))})),{isNumber:e.some((e=>e.isNumber)),isString:e.some((e=>e.isString)),isNumberOrString:e.some((e=>e.isNumberOrString)),candidateTypes:X(e,(e=>e.candidateTypes)),properties:t,calls:X(e,(e=>e.calls)),constructs:X(e,(e=>e.constructs)),numberIndex:A(e,(e=>e.numberIndex)),stringIndex:A(e,(e=>e.stringIndex)),candidateThisTypes:X(e,(e=>e.candidateThisTypes)),inferredTypes:void 0}}function c(e){const n={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};for(const r of e)t.throwIfCancellationRequested(),l(r,n);return p(n)}function l(e,n){for(;Xb(e);)e=e.parent;switch(e.parent.kind){case 241:!function(e,n){g(n,Dk(e)?r.getVoidType():r.getAnyType())}(e,n);break;case 222:n.isNumber=!0;break;case 221:!function(e,n){switch(e.operator){case 45:case 46:case 40:case 54:n.isNumber=!0;break;case 39:n.isNumberOrString=!0}}(e.parent,n);break;case 223:!function(e,n,t){switch(n.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:const i=r.getTypeAtLocation(n.left===e?n.right:n.left);1056&i.flags?g(t,i):t.isNumber=!0;break;case 64:case 39:const a=r.getTypeAtLocation(n.left===e?n.right:n.left);1056&a.flags?g(t,a):296&a.flags?t.isNumber=!0:402653316&a.flags?t.isString=!0:1&a.flags||(t.isNumberOrString=!0);break;case 63:case 34:case 36:case 37:case 35:g(t,r.getTypeAtLocation(n.left===e?n.right:n.left));break;case 101:e===n.left&&(t.isString=!0);break;case 56:case 60:e!==n.left||257!==e.parent.parent.kind&&!Bb(e.parent.parent,!0)||g(t,r.getTypeAtLocation(n.right))}}(e,e.parent,n);break;case 292:case 293:!function(e,n){g(n,r.getTypeAtLocation(e.parent.parent.expression))}(e.parent,n);break;case 210:case 211:e.parent.expression===e?function(e,n){const t={argumentTypes:[],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}};if(e.arguments)for(const n of e.arguments)t.argumentTypes.push(r.getTypeAtLocation(n));l(e,t.return_),210===e.kind?(n.calls||(n.calls=[])).push(t):(n.constructs||(n.constructs=[])).push(t)}(e.parent,n):d(e,n);break;case 208:!function(e,n){const t=Oc(e.name.text);n.properties||(n.properties=new Map);const r=n.properties.get(t)||{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};l(e,r),n.properties.set(t,r)}(e.parent,n);break;case 209:!function(e,n,t){if(n!==e.argumentExpression){const n=r.getTypeAtLocation(e.argumentExpression),i={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};l(e,i),296&n.flags?t.numberIndex=i:t.stringIndex=i}else t.isNumberOrString=!0}(e.parent,e,n);break;case 299:case 300:!function(e,n){const t=kI(e.parent.parent)?e.parent.parent:e.parent;y(n,r.getTypeAtLocation(t))}(e.parent,n);break;case 169:!function(e,n){y(n,r.getTypeAtLocation(e.parent))}(e.parent,n);break;case 257:{const{name:t,initializer:i}=e.parent;if(e===t){i&&g(n,r.getTypeAtLocation(i));break}}default:return d(e,n)}}function d(e,n){mh(e)&&g(n,r.getContextualType(e))}function u(e){return _(p(e))}function _(e){if(!e.length)return r.getAnyType();const n=r.getUnionType([r.getStringType(),r.getNumberType()]);let t=function(e,n){const t=[];for(const r of e)for(const{high:e,low:i}of n)e(r)&&(Nt.assert(!i(r),"Priority can't have both low and high"),t.push(i));return e.filter((e=>t.every((n=>!n(e)))))}(e,[{high:e=>e===r.getStringType()||e===r.getNumberType(),low:e=>e===n},{high:e=>!(16385&e.flags),low:e=>!!(16385&e.flags)},{high:e=>!(114689&e.flags||16&qE(e)),low:e=>!!(16&qE(e))}]);const i=t.filter((e=>16&qE(e)));return i.length&&(t=t.filter((e=>!(16&qE(e)))),t.push(function(e){if(1===e.length)return e[0];const n=[],t=[],i=[],a=[];let o=!1,s=!1;const c=un();for(const l of e){for(const e of r.getPropertiesOfType(l))c.add(e.name,e.valueDeclaration?r.getTypeOfSymbolAtLocation(e,e.valueDeclaration):r.getAnyType());n.push(...r.getSignaturesOfType(l,0)),t.push(...r.getSignaturesOfType(l,1));const e=r.getIndexInfoOfType(l,0);e&&(i.push(e.type),o=o||e.isReadonly);const d=r.getIndexInfoOfType(l,1);d&&(a.push(d.type),s=s||d.isReadonly)}const l=se(c,((n,t)=>{const i=t.length<e.length?16777216:0,a=r.createSymbol(4|i,n);return a.links.type=r.getUnionType(t),[n,a]})),d=[];return i.length&&d.push(r.createIndexInfo(r.getStringType(),r.getUnionType(i),o)),a.length&&d.push(r.createIndexInfo(r.getNumberType(),r.getUnionType(a),s)),r.createAnonymousType(e[0].symbol,l,n,t,d)}(i))),r.getWidenedType(r.getUnionType(t.map(r.getBaseTypeOfLiteralType),2))}function p(e){var n,t,s;const c=[];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)?void 0:n.size)||(null==(t=e.constructs)?void 0:t.length)||e.stringIndex)&&c.push(f(e));const l=(e.candidateTypes||[]).map((e=>r.getBaseTypeOfLiteralType(e))),d=(null==(s=e.calls)?void 0:s.length)?f(e):void 0;return d&&l?c.push(r.getUnionType([d,...l],2)):(d&&c.push(d),S(l)&&c.push(...l)),c.push(...function(e){if(!e.properties||!e.properties.size)return[];const n=o.filter((n=>function(e,n){return!!n.properties&&!pp(n.properties,((n,t)=>{const a=r.getTypeOfPropertyOfType(e,t);return!a||(n.calls?!r.getSignaturesOfType(a,0).length||!r.isTypeAssignableTo(a,(o=n.calls,r.createAnonymousType(void 0,op(),[h(o)],i,i))):!r.isTypeAssignableTo(a,u(n)));var o}))}(n,e)));return 0<n.length&&n.length<3?n.map((n=>function(e,n){if(!(4&qE(e)&&n.properties))return e;const t=e.target,i=Be(t.typeParameters);if(!i)return e;const o=[];return n.properties.forEach(((e,n)=>{const a=r.getTypeOfPropertyOfType(t,n);Nt.assert(!!a,"generic should have all the properties of its reference."),o.push(...m(a,u(e),i))})),a[e.symbol.escapedName](_(o))}(n,e))):[]}(e)),c}function f(e){const n=new Map;e.properties&&e.properties.forEach(((e,t)=>{const i=r.createSymbol(4,t);i.links.type=u(e),n.set(t,i)}));const t=e.calls?[h(e.calls)]:[],i=e.constructs?[h(e.constructs)]:[],a=e.stringIndex?[r.createIndexInfo(r.getStringType(),u(e.stringIndex),!1)]:[];return r.createAnonymousType(void 0,n,t,i,a)}function m(e,n,t){if(e===t)return[n];if(3145728&e.flags)return X(e.types,(e=>m(e,n,t)));if(4&qE(e)&&4&qE(n)){const i=r.getTypeArguments(e),a=r.getTypeArguments(n),o=[];if(i&&a)for(let e=0;e<i.length;e++)a[e]&&o.push(...m(i[e],a[e],t));return o}const i=r.getSignaturesOfType(e,0),a=r.getSignaturesOfType(n,0);return 1===i.length&&1===a.length?function(e,n,t){var i;const a=[];for(let o=0;o<e.parameters.length;o++){const s=e.parameters[o],c=n.parameters[o],l=e.declaration&&a_(e.declaration.parameters[o]);if(!c)break;let d=s.valueDeclaration?r.getTypeOfSymbolAtLocation(s,s.valueDeclaration):r.getAnyType();const u=l&&r.getElementTypeOfArrayType(d);u&&(d=u);const _=(null==(i=En(c,sp))?void 0:i.links.type)||(c.valueDeclaration?r.getTypeOfSymbolAtLocation(c,c.valueDeclaration):r.getAnyType());a.push(...m(d,_,t))}const o=r.getReturnTypeOfSignature(e),s=r.getReturnTypeOfSignature(n);return a.push(...m(o,s,t)),a}(i[0],a[0],t):[]}function h(e){const n=[],t=Math.max(...e.map((e=>e.argumentTypes.length)));for(let i=0;i<t;i++){const t=r.createSymbol(1,Oc(`arg${i}`));t.links.type=_(e.map((e=>e.argumentTypes[i]||r.getUndefinedType()))),e.some((e=>void 0===e.argumentTypes[i]))&&(t.flags|=16777216),n.push(t)}const i=u(s(e.map((e=>e.return_))));return r.createSignature(void 0,void 0,void 0,n,i,void 0,t,0)}function g(e,n){!n||1&n.flags||131072&n.flags||(e.candidateTypes||(e.candidateTypes=[])).push(n)}function y(e,n){!n||1&n.flags||131072&n.flags||(e.candidateThisTypes||(e.candidateThisTypes=[])).push(n)}}var Lee,Cee,kee=E({"src/services/codefixes/inferFromUsage.ts"(){ufe(),Hte(),pee="inferFromUsage",v4({errorCodes:fee=[Vo.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code,Vo.Variable_0_implicitly_has_an_1_type.code,Vo.Parameter_0_implicitly_has_an_1_type.code,Vo.Rest_parameter_0_implicitly_has_an_any_type.code,Vo.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code,Vo._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code,Vo.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code,Vo.Member_0_implicitly_has_an_1_type.code,Vo.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code,Vo.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,Vo.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,Vo.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code,Vo.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code,Vo._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code,Vo.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code,Vo.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,Vo.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code],getCodeActions(e){const{sourceFile:n,program:t,span:{start:r},errorCode:i,cancellationToken:a,host:o,preferences:s}=e,c=_X(n,r);let l;const d=i_e.ChangeTracker.with(e,(e=>{l=gee(e,n,c,i,t,a,An,o,s)})),u=l&&Wc(l);return u&&0!==d.length?[h4(pee,d,[hee(i,c),tf(u)],pee,Vo.Infer_all_types_from_usage)]:void 0},fixIds:[pee],getAllCodeActions(e){const{sourceFile:n,program:t,cancellationToken:r,host:i,preferences:a}=e,o=oY();return A4(e,fee,((e,s)=>{gee(e,n,_X(s.file,s.start),s.code,t,r,o,i,a)}))}})}});function Iee(e,n,t){if(Ah(e))return;const r=Rc(_X(e,t),Cd),i=null==r?void 0:r.type;if(!i)return;const a=n.getTypeFromTypeNode(i),o=n.getAwaitedType(a)||n.getVoidType(),s=n.typeToTypeNode(o,i,void 0);return s?{returnTypeNode:i,returnType:a,promisedTypeNode:s,promisedType:o}:void 0}function wee(e,n,t,r){e.replaceNode(n,t,pA.createTypeReferenceNode("Promise",[r]))}var Ree,Nee,Dee,Oee=E({"src/services/codefixes/fixReturnTypeInAsyncFunction.ts"(){ufe(),Hte(),Lee="fixReturnTypeInAsyncFunction",v4({errorCodes:Cee=[Vo.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0.code],fixIds:[Lee],getCodeActions:function(e){const{sourceFile:n,program:t,span:r}=e,i=t.getTypeChecker(),a=Iee(n,t.getTypeChecker(),r.start);if(!a)return;const{returnTypeNode:o,returnType:s,promisedTypeNode:c,promisedType:l}=a,d=i_e.ChangeTracker.with(e,(e=>wee(e,n,o,c)));return[h4(Lee,d,[Vo.Replace_0_with_Promise_1,i.typeToString(s),i.typeToString(l)],Lee,Vo.Fix_all_incorrect_return_type_of_an_async_functions)]},getAllCodeActions:e=>A4(e,Cee,((n,t)=>{const r=Iee(t.file,e.program.getTypeChecker(),t.start);r&&wee(n,t.file,r.returnTypeNode,r.promisedTypeNode)}))})}});function Mee(e,n,t,r){const{line:i}=bs(n,t);r&&!ie(r,i)||e.insertCommentBeforeLine(n,i,t," @ts-ignore")}var Pee,Fee=E({"src/services/codefixes/disableJsDiagnostics.ts"(){ufe(),Hte(),Ree="disableJsDiagnostics",Nee="disableJsDiagnostics",v4({errorCodes:Dee=ee(Object.keys(Vo),(e=>{const n=Vo[e];return 1===n.category?n.code:void 0})),getCodeActions:function(e){const{sourceFile:n,program:t,span:r,host:i,formatContext:a}=e;if(!Ah(n)||!nS(n,t.getCompilerOptions()))return;const o=n.checkJsDirective?"":r$(i,a.options),s=[m4(Ree,[S4(n.fileName,[nY(n.checkJsDirective?mc(n.checkJsDirective.pos,n.checkJsDirective.end):fc(0,0),`// @ts-nocheck${o}`)])],Vo.Disable_checking_for_this_file)];return i_e.isValidLocationToAddComment(n,r.start)&&s.unshift(h4(Ree,i_e.ChangeTracker.with(e,(e=>Mee(e,n,r.start))),Vo.Ignore_this_error_message,Nee,Vo.Add_ts_ignore_to_all_error_messages)),s},fixIds:[Nee],getAllCodeActions:e=>{const n=new Set;return A4(e,Dee,((e,t)=>{i_e.isValidLocationToAddComment(t.file,t.start)&&Mee(e,t.file,t.start,n)}))}})}});function Gee(e,n,t,r,i,a,o){const s=e.symbol.members;for(const c of n)s.has(c.escapedName)||Uee(c,e,t,r,i,a,o,void 0)}function Bee(e){return{trackSymbol:()=>!1,moduleResolverHost:mY(e.program,e.host)}}function Uee(e,n,t,r,a,o,s,c,l=3,d=!1){var u;const _=e.getDeclarations(),p=null==_?void 0:_[0],f=r.program.getTypeChecker(),m=BT(r.program.getCompilerOptions()),h=null!=(u=null==p?void 0:p.kind)?u:168,g=g$(Wc(p),!1),y=p?Tb(p):0;let v=4&y?4:16&y?16:0;p&&Md(p)&&(v|=128);const b=function(){let e;return v&&(e=xe(e,pA.createModifiersFromModifierFlags(v))),r.program.getCompilerOptions().noImplicitOverride&&p&&fb(p)&&(e=Te(e,pA.createToken(161))),e&&pA.createNodeArray(e)}(),E=f.getWidenedType(f.getTypeOfSymbolAtLocation(e,n)),T=!!(16777216&e.flags),x=!!(16777216&n.flags)||d,A=EY(t,a);switch(h){case 168:case 169:const t=0===A?268435456:void 0;let a=f.typeToTypeNode(E,n,t,Bee(r));if(o){const e=nne(a,m);e&&(a=e.typeNode,rne(o,e.symbols))}s(pA.createPropertyDeclaration(b,p?C(g):e.getName(),T&&2&l?pA.createToken(57):void 0,a,void 0));break;case 174:case 175:{Nt.assertIsDefined(_);let e=f.typeToTypeNode(E,n,void 0,Bee(r));const t=zv(_,p),a=t.secondAccessor?[t.firstAccessor,t.secondAccessor]:[t.firstAccessor];if(o){const n=nne(e,m);n&&(e=n.typeNode,rne(o,n.symbols))}for(const n of a)if($C(n))s(pA.createGetAccessorDeclaration(b,C(g),i,I(e),k(c,A,x)));else{Nt.assertNode(n,QC,"The counterpart to a getter should be a setter");const t=Uv(n),r=t&&AC(t.name)?Pc(t.name):void 0;s(pA.createSetAccessorDeclaration(b,C(g),Jee(1,[r],[I(e)],1,!1),k(c,A,x)))}break}case 170:case 171:Nt.assertIsDefined(_);const d=E.isUnion()?X(E.types,(e=>e.getCallSignatures())):E.getCallSignatures();if(!ce(d))break;if(1===_.length){Nt.assert(1===d.length,"One declaration implies one signature");const e=d[0];L(A,e,b,C(g),k(c,A,x));break}for(const e of d)L(A,e,b,C(g));if(!x)if(_.length>d.length){const e=f.getSignatureFromDeclaration(_[_.length-1]);L(A,e,b,C(g),k(c,A))}else Nt.assert(_.length===d.length,"Declarations and signatures should match count"),s(function(e,n,t,r,i,a,o,s,c){let l=r[0],d=r[0].minArgumentCount,u=!1;for(const e of r)d=Math.min(e.minArgumentCount,d),QG(e)&&(u=!0),e.parameters.length>=l.parameters.length&&(!QG(e)||QG(l))&&(l=e);const _=l.parameters.length-(QG(l)?1:0),p=l.parameters.map((e=>e.name)),f=Jee(_,p,void 0,d,!1);if(u){const e=pA.createParameterDeclaration(void 0,pA.createToken(25),p[_]||"rest",_>=d?pA.createToken(57):void 0,pA.createArrayTypeNode(pA.createKeywordTypeNode(157)),void 0);f.push(e)}return function(e,n,t,r,i,a,o,s){return pA.createMethodDeclaration(e,void 0,n,t?pA.createToken(57):void 0,void 0,i,a,s||Xee(o))}(o,i,a,0,f,function(e,n,t,r){if(S(e)){const i=n.getUnionType(W(e,n.getReturnTypeOfSignature));return n.typeToTypeNode(i,r,1,Bee(t))}}(r,e,n,t),s,c)}(f,r,n,d,C(g),T&&!!(1&l),b,A,c))}function L(e,t,i,a,c){const d=Vee(171,r,e,t,c,a,i,T&&!!(1&l),n,o);d&&s(d)}function C(e){return AC(e)&&"constructor"===e.escapedText?pA.createComputedPropertyName(pA.createStringLiteral(Pc(e),0===A)):g$(e,!1)}function k(e,n,t){return t?void 0:g$(e,!1)||Xee(n)}function I(e){return g$(e,!1)}}function Vee(e,n,t,r,i,a,o,s,c,l){const d=n.program,u=d.getTypeChecker(),_=BT(d.getCompilerOptions()),p=Ah(c),f=524545|(0===t?268435456:0),m=u.signatureToSignatureDeclaration(r,e,c,f,Bee(n));if(!m)return;let h=p?void 0:m.typeParameters,g=m.parameters,y=p?void 0:m.type;if(l){if(h){const e=z(h,(e=>{let n=e.constraint,t=e.default;if(n){const e=nne(n,_);e&&(n=e.typeNode,rne(l,e.symbols))}if(t){const e=nne(t,_);e&&(t=e.typeNode,rne(l,e.symbols))}return pA.updateTypeParameterDeclaration(e,e.modifiers,e.name,n,t)}));h!==e&&(h=MN(pA.createNodeArray(e,h.hasTrailingComma),h))}const e=z(g,(e=>{let n=p?void 0:e.type;if(n){const e=nne(n,_);e&&(n=e.typeNode,rne(l,e.symbols))}return pA.updateParameterDeclaration(e,e.modifiers,e.dotDotDotToken,e.name,p?void 0:e.questionToken,n,e.initializer)}));if(g!==e&&(g=MN(pA.createNodeArray(e,g.hasTrailingComma),g)),y){const e=nne(y,_);e&&(y=e.typeNode,rne(l,e.symbols))}}const v=s?pA.createToken(57):void 0,b=m.asteriskToken;return Gk(m)?pA.updateFunctionExpression(m,o,m.asteriskToken,En(a,AC),h,g,y,null!=i?i:m.body):Bk(m)?pA.updateArrowFunction(m,o,h,g,y,m.equalsGreaterThanToken,null!=i?i:m.body):JC(m)?pA.updateMethodDeclaration(m,o,b,null!=a?a:pA.createIdentifier(""),v,h,g,y,i):wI(m)?pA.updateFunctionDeclaration(m,o,m.asteriskToken,En(a,AC),h,g,y,null!=i?i:m.body):void 0}function jee(e,n,t,r,i,a,o){const s=EY(n.sourceFile,n.preferences),c=BT(n.program.getCompilerOptions()),l=Bee(n),d=n.program.getTypeChecker(),u=Ah(o),{typeArguments:_,arguments:p,parent:f}=r,m=u?void 0:d.getContextualType(r),h=W(p,(e=>AC(e)?e.text:Rk(e)&&AC(e.name)?e.name.text:void 0)),g=u?[]:W(p,(e=>d.getTypeAtLocation(e))),{argumentTypeNodes:y,argumentTypeParameters:v}=qee(d,t,g,o,c,void 0,l),b=a?pA.createNodeArray(pA.createModifiersFromModifierFlags(a)):void 0,E=Xk(f)?pA.createToken(41):void 0,T=u?void 0:function(e,n,t){const r=new Set(n.map((e=>e[0]))),i=new Map(n);if(t){const i=t.filter((t=>!n.some((n=>{var r;return e.getTypeAtLocation(t)===(null==(r=n[1])?void 0:r.argumentType)})))),a=r.size+i.length;for(let e=0;r.size<a;e+=1)r.add(Hee(e))}return Qe(r.values(),(e=>{var n;return pA.createTypeParameterDeclaration(void 0,e,null==(n=i.get(e))?void 0:n.constraint)}))}(d,v,_),x=Jee(p.length,h,y,void 0,u),S=u||void 0===m?void 0:d.typeToTypeNode(m,o,void 0,l);switch(e){case 171:return pA.createMethodDeclaration(b,E,i,void 0,T,x,S,Xee(s));case 170:return pA.createMethodSignature(b,i,void 0,T,x,void 0===S?pA.createKeywordTypeNode(157):S);case 259:return pA.createFunctionDeclaration(b,E,i,T,x,S,Yee(Vo.Function_not_implemented.message,s));default:Nt.fail("Unexpected kind")}}function Hee(e){return 84+e<=90?String.fromCharCode(84+e):`T${e}`}function Kee(e,n,t,r,i,a,o){let s=e.typeToTypeNode(t,r,a,o);if(s&&xk(s)){const e=nne(s,i);e&&(rne(n,e.symbols),s=e.typeNode)}return g$(s)}function Wee(e){return e.isUnionOrIntersection()?e.types.some(Wee):262144&e.flags}function qee(e,n,t,r,i,a,o){const s=[],c=new Map;for(let d=0;d<t.length;d+=1){const u=t[d];if(u.isUnionOrIntersection()&&u.types.some(Wee)){const e=Hee(d);s.push(pA.createTypeReferenceNode(e)),c.set(e,void 0);continue}const _=e.getBaseTypeOfLiteralType(u),p=Kee(e,n,_,r,i,a,o);if(!p)continue;s.push(p);const f=zee(u),m=!u.isTypeParameter()||!u.constraint||524288&(l=u.constraint).flags&&16===l.objectFlags?void 0:Kee(e,n,u.constraint,r,i,a,o);f&&c.set(f,{argumentType:u,constraint:m})}var l;return{argumentTypeNodes:s,argumentTypeParameters:Qe(c.entries())}}function zee(e){var n;if(3145728&e.flags)for(const n of e.types){const e=zee(n);if(e)return e}return 262144&e.flags?null==(n=e.getSymbol())?void 0:n.getName():void 0}function Jee(e,n,t,r,i){const a=[],o=new Map;for(let s=0;s<e;s++){const e=(null==n?void 0:n[s])||`arg${s}`,c=o.get(e);o.set(e,(c||0)+1);const l=pA.createParameterDeclaration(void 0,void 0,e+(c||""),void 0!==r&&s>=r?pA.createToken(57):void 0,i?void 0:(null==t?void 0:t[s])||pA.createKeywordTypeNode(157),void 0);a.push(l)}return a}function Xee(e){return Yee(Vo.Method_not_implemented.message,e)}function Yee(e,n){return pA.createBlock([pA.createThrowStatement(pA.createNewExpression(pA.createIdentifier("Error"),void 0,[pA.createStringLiteral(e,0===n)]))],!0)}function $ee(e,n,t){const r=Um(n);if(!r)return;const i=ene(r,"compilerOptions");if(void 0===i)return void e.insertNodeAtObjectStart(n,r,Zee("compilerOptions",pA.createObjectLiteralExpression(t.map((([e,n])=>Zee(e,n))),!0)));const a=i.initializer;if(wk(a))for(const[r,i]of t){const t=ene(a,r);void 0===t?e.insertNodeAtObjectStart(n,a,Zee(r,i)):e.replaceNode(n,t.initializer,i)}}function Qee(e,n,t,r){$ee(e,n,[[t,r]])}function Zee(e,n){return pA.createPropertyAssignment(pA.createStringLiteral(e),n)}function ene(e,n){return D(e.properties,(e=>bw(e)&&!!e.name&&cC(e.name)&&e.name.text===n))}function nne(e,n){let t;const r=tB(e,(function e(r){if(um(r)&&r.qualifier){const i=Kb(r.qualifier),a=hQ(i.symbol,n),o=a!==i.text?tne(r.qualifier,pA.createIdentifier(a)):r.qualifier;t=Te(t,i.symbol);const s=rB(r.typeArguments,e,jd);return pA.createTypeReferenceNode(o,s)}return _B(r,e,RV)}),jd);if(t&&r)return{typeNode:r,symbols:t}}function tne(e,n){return 79===e.kind?n:pA.createQualifiedName(tne(e.left,n),e.right)}function rne(e,n){n.forEach((n=>e.addImportFromExportedSymbol(n,!0)))}function ine(e,n){const t=tc(n);let r=_X(e,n.start);for(;r.end<t;)r=r.parent;return r}var ane=E({"src/services/codefixes/helpers.ts"(){ufe(),Pee=(e=>(e[e.Method=1]="Method",e[e.Property=2]="Property",e[e.All=3]="All",e))(Pee||{})}});function one(e,n,t,r,i,a){const o=dne(e,n,t,r);if(!o||xde.isRefactorErrorInfo(o))return;const s=i_e.ChangeTracker.fromContext(i),{isStatic:c,isReadonly:l,fieldName:d,accessorName:u,originalName:_,type:p,container:f,declaration:m}=o;let h,g;if(T$(d),T$(u),T$(m),T$(f),Dd(f)){const n=Tb(m);if(xh(e)){const e=pA.createModifiersFromModifierFlags(n);h=e,g=e}else h=pA.createModifiersFromModifierFlags(function(e){return e&=-65,16&(e&=-9)||(e|=4),e}(n)),g=pA.createModifiersFromModifierFlags(function(e){return e&=-5,e&=-17,e|=8}(n));FN(m)&&(g=de(zc(m),g))}!function(e,n,t,r,i,a){qC(t)?function(e,n,t,r,i,a){const o=pA.updatePropertyDeclaration(t,a,i,t.questionToken||t.exclamationToken,r,t.initializer);e.replaceNode(n,t,o)}(e,n,t,r,i,a):bw(t)?function(e,n,t,r){let i=pA.updatePropertyAssignment(t,r,t.initializer);(i.modifiers||i.questionToken||i.exclamationToken)&&(i===t&&(i=pA.cloneNode(i)),i.modifiers=void 0,i.questionToken=void 0,i.exclamationToken=void 0),e.replacePropertyAssignment(n,t,i)}(e,n,t,i):e.replaceNode(n,t,pA.updateParameterDeclaration(t,a,t.dotDotDotToken,Tn(i,AC),t.questionToken,t.type,t.initializer))}(s,e,m,p,d,g);const y=function(e,n,t,r,i,a){return pA.createGetAccessorDeclaration(r,n,[],t,pA.createBlock([pA.createReturnStatement(lne(e,i,a))],!0))}(d,u,p,h,c,f);if(T$(y),une(s,e,y,m,f),l){const n=Bv(f);n&&function(e,n,t,r,i){t.body&&t.body.forEachChild((function t(a){Nk(a)&&108===a.expression.kind&&cC(a.argumentExpression)&&a.argumentExpression.text===i&&GE(a)&&e.replaceNode(n,a.argumentExpression,pA.createStringLiteral(r)),Rk(a)&&108===a.expression.kind&&a.name.text===i&&GE(a)&&e.replaceNode(n,a.name,pA.createIdentifier(r)),Ad(a)||Dd(a)||a.forEachChild(t)}))}(s,e,n,d.text,_)}else{const n=function(e,n,t,r,i,a){return pA.createSetAccessorDeclaration(r,n,[pA.createParameterDeclaration(void 0,void 0,pA.createIdentifier("value"),void 0,t)],pA.createBlock([pA.createExpressionStatement(pA.createAssignment(lne(e,i,a),pA.createIdentifier("value")))],!0))}(d,u,p,h,c,f);T$(n),une(s,e,n,m,f)}return s.getChanges()}function sne(e){return Ec(e,e.parent)||qC(e)||bw(e)}function cne(e,n){return AC(n)?pA.createIdentifier(e):pA.createStringLiteral(e)}function lne(e,n,t){const r=n?t.name:pA.createThis();return AC(e)?pA.createPropertyAccessExpression(r,e):pA.createElementAccessExpression(r,pA.createStringLiteralFromNode(e))}function dne(e,n,t,r,i=!0){const a=t===r&&i,o=Rc(_X(e,t).parent,sne);if(!o||!qJ(o.name,e,t,r)&&!a)return{error:vT(Vo.Could_not_find_property_for_which_to_generate_accessor)};if(!function(e){return AC(e)||cC(e)}(o.name))return{error:vT(Vo.Name_is_not_valid)};if(124!=(126975&Tb(o)|124))return{error:vT(Vo.Can_only_convert_property_with_modifier)};const s=o.name.text,c=EQ(s),l=cne(c?s:k$(`_${s}`,e),o.name),d=cne(c?k$(s.substring(1),e):s,o.name);return{isStatic:_b(o),isReadonly:gb(o),type:_ne(o,n),container:166===o.kind?o.parent.parent:o.parent,originalName:o.name.text,declaration:o,fieldName:l,accessorName:d,renameAccessor:c}}function une(e,n,t,r,i){Ec(r,r.parent)?e.insertMemberAtStart(n,i,t):bw(r)?e.insertNodeAfterComma(n,r,t):e.insertNodeAfter(n,r,t)}function _ne(e,n){const t=Xv(e);if(qC(e)&&t&&e.questionToken){const e=n.getTypeChecker(),r=e.getTypeFromTypeNode(t);if(!e.isTypeAssignableTo(e.getUndefinedType(),r)){const e=pk(t)?t.types:[t];return pA.createUnionTypeNode([...e,pA.createKeywordTypeNode(155)])}}return t}function pne(e,n){const t=[];for(;e;){const r=dy(e),i=r&&n.getSymbolAtLocation(r.expression);if(!i)break;const a=2097152&i.flags?n.getAliasedSymbol(i):i,o=a.declarations&&D(a.declarations,Dd);if(!o)break;t.push(o),e=o}return t}var fne,mne=E({"src/services/codefixes/generateAccessors.ts"(){ufe()}});function hne(e,n,t,r){const i=i_e.ChangeTracker.with(e,(e=>e.replaceNode(n,t,r)));return m4(fne,i,[Vo.Replace_import_with_0,i[0].textChanges[0].newText])}function gne(e){const n=e.sourceFile,t=Vo.This_expression_is_not_callable.code===e.errorCode?210:211,r=Rc(_X(n,e.span.start),(e=>e.kind===t));return r?vne(e,r.expression):[]}function yne(e){const n=Rc(_X(e.sourceFile,e.span.start),(n=>n.getStart()===e.span.start&&n.getEnd()===e.span.start+e.span.length));return n?vne(e,n):[]}function vne(e,n){const t=e.program.getTypeChecker().getTypeAtLocation(n);if(!(t.symbol&&sp(t.symbol)&&t.symbol.links.originatingImport))return[];const r=[],i=t.symbol.links.originatingImport;if(lm(i)||Ae(r,function(e,n){const t=Ip(n),r=hg(n),i=e.program.getCompilerOptions(),a=[];return a.push(hne(e,t,n,yY(r.name,void 0,n.moduleSpecifier,EY(t,e.preferences)))),1===UT(i)&&a.push(hne(e,t,n,pA.createImportEqualsDeclaration(void 0,!1,r.name,pA.createExternalModuleReference(n.moduleSpecifier)))),a}(e,i)),uu(n)&&(!Hc(n.parent)||n.parent.name!==n)){const t=e.sourceFile,i=i_e.ChangeTracker.with(e,(e=>e.replaceNode(t,n,pA.createPropertyAccessExpression(n,"default"),{})));r.push(m4(fne,i,Vo.Use_synthetic_default_member))}return r}var bne,Ene,Tne,xne,Sne,Ane=E({"src/services/codefixes/fixInvalidImportSyntax.ts"(){ufe(),Hte(),fne="invalidImportSyntax",v4({errorCodes:[Vo.This_expression_is_not_callable.code,Vo.This_expression_is_not_constructable.code],getCodeActions:gne}),v4({errorCodes:[Vo.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,Vo.Type_0_does_not_satisfy_the_constraint_1.code,Vo.Type_0_is_not_assignable_to_type_1.code,Vo.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated.code,Vo.Type_predicate_0_is_not_assignable_to_1.code,Vo.Property_0_of_type_1_is_not_assignable_to_2_index_type_3.code,Vo._0_index_type_1_is_not_assignable_to_2_index_type_3.code,Vo.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2.code,Vo.Property_0_in_type_1_is_not_assignable_to_type_2.code,Vo.Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property.code,Vo.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1.code],getCodeActions:yne})}});function Lne(e,n){const t=_X(e,n);if(AC(t)&&qC(t.parent)){const e=Jv(t.parent);if(e)return{type:e,prop:t.parent,isJs:Ah(t.parent)}}}function Cne(e,n,t){T$(t);const r=pA.updatePropertyDeclaration(t,t.modifiers,t.name,pA.createToken(53),t.type,t.initializer);e.replaceNode(n,t,r)}function kne(e,n,t){const r=pA.createKeywordTypeNode(155),i=pk(t.type)?t.type.types.concat(r):[t.type,r],a=pA.createUnionTypeNode(i);t.isJs?e.addJSDocTags(n,t.prop,[pA.createJSDocTypeTag(void 0,pA.createJSDocTypeExpression(a))]):e.replaceNode(n,t.type,a)}function Ine(e,n,t,r){T$(t);const i=pA.updatePropertyDeclaration(t,t.modifiers,t.name,t.questionToken,t.type,r);e.replaceNode(n,t,i)}function wne(e,n){return Rne(e,e.getTypeFromTypeNode(n.type))}function Rne(e,n){if(512&n.flags)return n===e.getFalseType()||n===e.getFalseType(!0)?pA.createFalse():pA.createTrue();if(n.isStringLiteral())return pA.createStringLiteral(n.value);if(n.isNumberLiteral())return pA.createNumericLiteral(n.value);if(2048&n.flags)return pA.createBigIntLiteral(n.value);if(n.isUnion())return C(n.types,(n=>Rne(e,n)));if(n.isClass()){const e=WE(n.symbol);if(!e||db(e,256))return;const t=Bv(e);if(t&&t.parameters.length)return;return pA.createNewExpression(pA.createIdentifier(n.symbol.name),void 0,void 0)}return e.isArrayLikeType(n)?pA.createArrayLiteralExpression():void 0}var Nne,Dne,One=E({"src/services/codefixes/fixStrictClassInitialization.ts"(){ufe(),Hte(),bne="strictClassInitialization",Ene="addMissingPropertyDefiniteAssignmentAssertions",Tne="addMissingPropertyUndefinedType",xne="addMissingPropertyInitializer",v4({errorCodes:Sne=[Vo.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor.code],getCodeActions:function(e){const n=Lne(e.sourceFile,e.span.start);if(!n)return;const t=[];return Te(t,function(e,n){const t=i_e.ChangeTracker.with(e,(t=>kne(t,e.sourceFile,n)));return h4(bne,t,[Vo.Add_undefined_type_to_property_0,n.prop.name.getText()],Tne,Vo.Add_undefined_type_to_all_uninitialized_properties)}(e,n)),Te(t,function(e,n){if(n.isJs)return;const t=i_e.ChangeTracker.with(e,(t=>Cne(t,e.sourceFile,n.prop)));return h4(bne,t,[Vo.Add_definite_assignment_assertion_to_property_0,n.prop.getText()],Ene,Vo.Add_definite_assignment_assertions_to_all_uninitialized_properties)}(e,n)),Te(t,function(e,n){if(n.isJs)return;const t=wne(e.program.getTypeChecker(),n.prop);if(!t)return;const r=i_e.ChangeTracker.with(e,(r=>Ine(r,e.sourceFile,n.prop,t)));return h4(bne,r,[Vo.Add_initializer_to_property_0,n.prop.name.getText()],xne,Vo.Add_initializers_to_all_uninitialized_properties)}(e,n)),t},fixIds:[Ene,Tne,xne],getAllCodeActions:e=>A4(e,Sne,((n,t)=>{const r=Lne(t.file,t.start);if(r)switch(e.fixId){case Ene:Cne(n,t.file,r.prop);break;case Tne:kne(n,t.file,r);break;case xne:const i=wne(e.program.getTypeChecker(),r.prop);if(!i)return;Ine(n,t.file,r.prop,i);break;default:Nt.fail(JSON.stringify(e.fixId))}}))})}});function Mne(e,n,t){const{allowSyntheticDefaults:r,defaultImportName:i,namedImports:a,statement:o,required:s}=t;e.replaceNode(n,o,i&&!r?pA.createImportEqualsDeclaration(void 0,!1,i,pA.createExternalModuleReference(s)):pA.createImportDeclaration(void 0,pA.createImportClause(!1,i,a),s,void 0))}function Pne(e,n,t){const{parent:r}=_X(e,t);if(!wh(r,!0))throw Nt.failBadSyntaxKind(r);const i=Tn(r.parent,kI),a=En(i.name,AC),o=Lk(i.name)?function(e){const n=[];for(const t of e.elements){if(!AC(t.name)||t.initializer)return;n.push(pA.createImportSpecifier(!1,En(t.propertyName,AC),t.name))}if(n.length)return pA.createNamedImports(n)}(i.name):void 0;if(a||o)return{allowSyntheticDefaults:$T(n.getCompilerOptions()),defaultImportName:a,namedImports:o,statement:Tn(i.parent.parent,dI),required:Me(r.arguments)}}var Fne,Gne,Bne=E({"src/services/codefixes/requireInTs.ts"(){ufe(),Hte(),Nne="requireInTs",v4({errorCodes:Dne=[Vo.require_call_may_be_converted_to_an_import.code],getCodeActions(e){const n=Pne(e.sourceFile,e.program,e.span.start);if(!n)return;const t=i_e.ChangeTracker.with(e,(t=>Mne(t,e.sourceFile,n)));return[h4(Nne,t,Vo.Convert_require_to_import,Nne,Vo.Convert_all_require_to_import)]},fixIds:[Nne],getAllCodeActions:e=>A4(e,Dne,((n,t)=>{const r=Pne(t.file,e.program,t.start);r&&Mne(n,e.sourceFile,r)}))})}});function Une(e,n){const t=_X(e,n);if(!AC(t))return;const{parent:r}=t;if(BI(r)&&iw(r.moduleReference))return{importNode:r,name:t,moduleSpecifier:r.moduleReference.expression};if(WI(r)){const e=r.parent.parent;return{importNode:e,name:t,moduleSpecifier:e.moduleSpecifier}}}function Vne(e,n,t,r){e.replaceNode(n,t.importNode,yY(t.name,void 0,t.moduleSpecifier,EY(n,r)))}var jne,Hne,Kne=E({"src/services/codefixes/useDefaultImport.ts"(){ufe(),Hte(),Fne="useDefaultImport",v4({errorCodes:Gne=[Vo.Import_may_be_converted_to_a_default_import.code],getCodeActions(e){const{sourceFile:n,span:{start:t}}=e,r=Une(n,t);if(!r)return;const i=i_e.ChangeTracker.with(e,(t=>Vne(t,n,r,e.preferences)));return[h4(Fne,i,Vo.Convert_to_default_import,Fne,Vo.Convert_all_to_default_imports)]},fixIds:[Fne],getAllCodeActions:e=>A4(e,Gne,((n,t)=>{const r=Une(t.file,t.start);r&&Vne(n,t.file,r,e.preferences)}))})}});function Wne(e,n,t){const r=En(_X(n,t.start),oC);if(!r)return;const i=r.getText(n)+"n";e.replaceNode(n,r,pA.createBigIntLiteral(i))}var qne,zne,Jne=E({"src/services/codefixes/useBigintLiteral.ts"(){ufe(),Hte(),jne="useBigintLiteral",v4({errorCodes:Hne=[Vo.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers.code],getCodeActions:function(e){const n=i_e.ChangeTracker.with(e,(n=>Wne(n,e.sourceFile,e.span)));if(n.length>0)return[h4(jne,n,Vo.Convert_to_a_bigint_numeric_literal,jne,Vo.Convert_all_to_bigint_numeric_literals)]},fixIds:[jne],getAllCodeActions:e=>A4(e,Hne,((e,n)=>Wne(e,n.file,n)))})}});function Xne(e,n){const t=_X(e,n);return Nt.assert(100===t.kind,"This token should be an ImportKeyword"),Nt.assert(202===t.parent.kind,"Token parent should be an ImportType"),t.parent}function Yne(e,n,t){const r=pA.updateImportTypeNode(t,t.argument,t.assertions,t.qualifier,t.typeArguments,!0);e.replaceNode(n,t,r)}var $ne,Qne,Zne=E({"src/services/codefixes/fixAddModuleReferTypeMissingTypeof.ts"(){ufe(),Hte(),qne="fixAddModuleReferTypeMissingTypeof",v4({errorCodes:zne=[Vo.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0.code],getCodeActions:function(e){const{sourceFile:n,span:t}=e,r=Xne(n,t.start),i=i_e.ChangeTracker.with(e,(e=>Yne(e,n,r)));return[h4(qne,i,Vo.Add_missing_typeof,qne,Vo.Add_missing_typeof)]},fixIds:[qne],getAllCodeActions:e=>A4(e,zne,((n,t)=>Yne(n,e.sourceFile,Xne(t.file,t.start))))})}});function ete(e,n){let t=_X(e,n).parent.parent;if((qk(t)||(t=t.parent,qk(t)))&&Fp(t.operatorToken))return t}function nte(e,n,t){const r=function(e){const n=[];let t=e;for(;;){if(qk(t)&&Fp(t.operatorToken)&&27===t.operatorToken.kind){if(n.push(t.left),Bu(t.right))return n.push(t.right),n;if(qk(t.right)){t=t.right;continue}return}return}}(t);r&&e.replaceNode(n,t,pA.createJsxFragment(pA.createJsxOpeningFragment(),r,pA.createJsxJsxClosingFragment()))}var tte,rte,ite=E({"src/services/codefixes/wrapJsxInFragment.ts"(){ufe(),Hte(),$ne="wrapJsxInFragment",v4({errorCodes:Qne=[Vo.JSX_expressions_must_have_one_parent_element.code],getCodeActions:function(e){const{sourceFile:n,span:t}=e,r=ete(n,t.start);if(!r)return;const i=i_e.ChangeTracker.with(e,(e=>nte(e,n,r)));return[h4($ne,i,Vo.Wrap_in_JSX_fragment,$ne,Vo.Wrap_all_unparented_JSX_in_JSX_fragment)]},fixIds:[$ne],getAllCodeActions:e=>A4(e,Qne,((n,t)=>{const r=ete(e.sourceFile,t.start);r&&nte(n,e.sourceFile,r)}))})}});function ate(e,n){const t=En(_X(e,n).parent.parent,nk);if(!t)return;const r=NI(t.parent)?t.parent:En(t.parent.parent,DI);return r?{indexSignature:t,container:r}:void 0}function ote(e,n,{indexSignature:t,container:r}){const a=(NI(r)?r.members:r.type.members).filter((e=>!nk(e))),o=Me(t.parameters),s=pA.createTypeParameterDeclaration(void 0,Tn(o.name,AC),o.type),c=pA.createMappedTypeNode(gb(t)?pA.createModifier(146):void 0,s,void 0,t.questionToken,t.type,void 0),l=pA.createIntersectionTypeNode([..._y(r),c,...a.length?[pA.createTypeLiteralNode(a)]:i]);var d,u;e.replaceNode(n,r,(d=r,u=l,pA.createTypeAliasDeclaration(d.modifiers,d.name,d.typeParameters,u)))}var ste,cte,lte,dte=E({"src/services/codefixes/convertToMappedObjectType.ts"(){ufe(),Hte(),tte="fixConvertToMappedObjectType",v4({errorCodes:rte=[Vo.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead.code],getCodeActions:function(e){const{sourceFile:n,span:t}=e,r=ate(n,t.start);if(!r)return;const i=i_e.ChangeTracker.with(e,(e=>ote(e,n,r))),a=Pc(r.container.name);return[h4(tte,i,[Vo.Convert_0_to_mapped_object_type,a],tte,[Vo.Convert_0_to_mapped_object_type,a])]},fixIds:[tte],getAllCodeActions:e=>A4(e,rte,((e,n)=>{const t=ate(n.file,n.start);t&&ote(e,n.file,t)}))})}}),ute=E({"src/services/codefixes/removeAccidentalCallParentheses.ts"(){ufe(),Hte(),ste="removeAccidentalCallParentheses",v4({errorCodes:[Vo.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without.code],getCodeActions(e){const n=Rc(_X(e.sourceFile,e.span.start),Dk);if(!n)return;const t=i_e.ChangeTracker.with(e,(t=>{t.deleteRange(e.sourceFile,{pos:n.expression.end,end:n.end})}));return[m4(ste,t,Vo.Remove_parentheses)]},fixIds:[ste]})}});function _te(e,n,t){const r=En(_X(n,t.start),(e=>133===e.kind)),i=r&&En(r.parent,Hk);if(!i)return;let a=i;if(Fk(i.parent)&&AC(oT(i.expression,!1))){const e=gX(i.parent.pos,n);e&&103!==e.kind&&(a=i.parent)}e.replaceNode(n,a,i.expression)}var pte,fte,mte=E({"src/services/codefixes/removeUnnecessaryAwait.ts"(){ufe(),Hte(),cte="removeUnnecessaryAwait",v4({errorCodes:lte=[Vo.await_has_no_effect_on_the_type_of_this_expression.code],getCodeActions:function(e){const n=i_e.ChangeTracker.with(e,(n=>_te(n,e.sourceFile,e.span)));if(n.length>0)return[h4(cte,n,Vo.Remove_unnecessary_await,cte,Vo.Remove_all_unnecessary_uses_of_await)]},fixIds:[cte],getAllCodeActions:e=>A4(e,lte,((e,n)=>_te(e,n.file,n)))})}});function hte(e,n){return Rc(_X(e,n.start),UI)}function gte(e,n,t){if(!n)return;const r=Nt.checkDefined(n.importClause);e.replaceNode(t.sourceFile,n,pA.updateImportDeclaration(n,n.modifiers,pA.updateImportClause(r,r.isTypeOnly,r.name,void 0),n.moduleSpecifier,n.assertClause)),e.insertNodeAfter(t.sourceFile,n,pA.createImportDeclaration(void 0,pA.updateImportClause(r,r.isTypeOnly,void 0,r.namedBindings),n.moduleSpecifier,n.assertClause))}var yte,vte,bte=E({"src/services/codefixes/splitTypeOnlyImport.ts"(){ufe(),Hte(),v4({errorCodes:pte=[Vo.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both.code],fixIds:[fte="splitTypeOnlyImport"],getCodeActions:function(e){const n=i_e.ChangeTracker.with(e,(n=>gte(n,hte(e.sourceFile,e.span),e)));if(n.length)return[h4(fte,n,Vo.Split_into_two_separate_import_declarations,fte,Vo.Split_all_invalid_type_only_imports)]},getAllCodeActions:e=>A4(e,pte,((n,t)=>{gte(n,hte(e.sourceFile,t),e)}))})}});function Ete(e,n,t){var r;const i=t.getTypeChecker().getSymbolAtLocation(_X(e,n));if(void 0===i)return;const a=En(null==(r=null==i?void 0:i.valueDeclaration)?void 0:r.parent,II);if(void 0===a)return;const o=ZJ(a,85,e);return void 0!==o?{symbol:i,token:o}:void 0}function Tte(e,n,t){e.replaceNode(n,t,pA.createToken(119))}var xte,Ste,Ate,Lte=E({"src/services/codefixes/convertConstToLet.ts"(){ufe(),Hte(),yte="fixConvertConstToLet",v4({errorCodes:vte=[Vo.Cannot_assign_to_0_because_it_is_a_constant.code],getCodeActions:function(e){const{sourceFile:n,span:t,program:r}=e,i=Ete(n,t.start,r);if(void 0===i)return;const a=i_e.ChangeTracker.with(e,(e=>Tte(e,n,i.token)));return[g4(yte,a,Vo.Convert_const_to_let,yte,Vo.Convert_all_const_to_let)]},getAllCodeActions:e=>{const{program:n}=e,t=new Map;return x4(i_e.ChangeTracker.with(e,(r=>{L4(e,vte,(e=>{const i=Ete(e.file,e.start,n);if(i&&$E(t,WG(i.symbol)))return Tte(r,e.file,i.token)}))})))},fixIds:[yte]})}});function Cte(e,n,t){const r=_X(e,n);return 26===r.kind&&r.parent&&(wk(r.parent)||Ik(r.parent))?{node:r}:void 0}function kte(e,n,{node:t}){const r=pA.createToken(27);e.replaceNode(n,t,r)}var Ite,wte,Rte=E({"src/services/codefixes/fixExpectedComma.ts"(){ufe(),Hte(),xte="fixExpectedComma",Ste=Vo._0_expected.code,v4({errorCodes:Ate=[Ste],getCodeActions(e){const{sourceFile:n}=e,t=Cte(n,e.span.start,e.errorCode);if(!t)return;const r=i_e.ChangeTracker.with(e,(e=>kte(e,n,t)));return[h4(xte,r,[Vo.Change_0_to_1,";",","],xte,[Vo.Change_0_to_1,";",","])]},fixIds:[xte],getAllCodeActions:e=>A4(e,Ate,((n,t)=>{const r=Cte(t.file,t.start,t.code);r&&kte(n,e.sourceFile,r)}))})}});function Nte(e,n,t,r,i){const a=_X(n,t.start);if(!AC(a)||!Dk(a.parent)||a.parent.expression!==a||0!==a.parent.arguments.length)return;const o=r.getTypeChecker(),s=o.getSymbolAtLocation(a),c=null==s?void 0:s.valueDeclaration;if(!c||!HC(c)||!Ok(c.parent.parent))return;if(null==i?void 0:i.has(c))return;null==i||i.add(c);const l=function(e){var n;if(!Ah(e))return e.typeArguments;if(Fk(e.parent)){const t=null==(n=El(e.parent))?void 0:n.typeExpression.type;if(t&&rk(t)&&AC(t.typeName)&&"Promise"===Pc(t.typeName))return t.typeArguments}}(c.parent.parent);if(ce(l)){const t=l[0],r=!pk(t)&&!gk(t)&&gk(pA.createUnionTypeNode([t,pA.createKeywordTypeNode(114)]).types[0]);r&&e.insertText(n,t.pos,"("),e.insertText(n,t.end,r?") | void":" | void")}else{const t=o.getResolvedSignature(a.parent),r=null==t?void 0:t.parameters[0],i=r&&o.getTypeOfSymbolAtLocation(r,c.parent.parent);Ah(c)?(!i||3&i.flags)&&(e.insertText(n,c.parent.parent.end,")"),e.insertText(n,ks(n.text,c.parent.parent.pos),"/** @type {Promise<void>} */(")):(!i||2&i.flags)&&e.insertText(n,c.parent.parent.expression.end,"<void>")}}var Dte=E({"src/services/codefixes/fixAddVoidToPromise.ts"(){ufe(),Hte(),Ite="addVoidToPromise",v4({errorCodes:wte=[Vo.Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments.code,Vo.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise.code],fixIds:[Ite],getCodeActions(e){const n=i_e.ChangeTracker.with(e,(n=>Nte(n,e.sourceFile,e.span,e.program)));if(n.length>0)return[h4("addVoidToPromise",n,Vo.Add_void_to_Promise_resolved_without_a_value,Ite,Vo.Add_void_to_all_Promises_resolved_without_a_value)]},getAllCodeActions:e=>A4(e,wte,((n,t)=>Nte(n,t.file,t,e.program,new Set)))})}}),Ote={};T(Ote,{PreserveOptionalFlags:()=>Pee,addNewNodeForMemberSymbol:()=>Uee,codeFixAll:()=>A4,createCodeFixAction:()=>h4,createCodeFixActionMaybeFixAll:()=>g4,createCodeFixActionWithoutFixAll:()=>m4,createCombinedCodeActions:()=>x4,createFileTextChanges:()=>S4,createImportAdder:()=>a3,createImportSpecifierResolver:()=>s3,createJsonPropertyAssignment:()=>Zee,createMissingMemberNodes:()=>Gee,createSignatureDeclarationFromCallExpression:()=>jee,createSignatureDeclarationFromSignature:()=>Vee,createStubbedBody:()=>Yee,eachDiagnostic:()=>L4,findAncestorMatchingSpan:()=>ine,findJsonProperty:()=>ene,generateAccessorFromProperty:()=>one,getAccessorConvertiblePropertyAtPosition:()=>dne,getAllFixes:()=>T4,getAllSupers:()=>pne,getArgumentTypesAndTypeParameters:()=>qee,getFixes:()=>E4,getImportCompletionAction:()=>c3,getImportKind:()=>x3,getNoopSymbolTrackerWithResolver:()=>Bee,getPromoteTypeOnlyCompletionAction:()=>l3,getSupportedErrorCodes:()=>b4,importFixName:()=>n3,importSymbols:()=>rne,moduleSpecifierToValidIdentifier:()=>G3,moduleSymbolToValidIdentifier:()=>F3,parameterShouldGetTypeFromJSDoc:()=>x8,registerCodeFix:()=>v4,setJsonCompilerOptionValue:()=>Qee,setJsonCompilerOptionValues:()=>$ee,tryGetAutoImportableReferenceFromTypeNode:()=>nne,typeToAutoImportableTypeNode:()=>Kee});var Mte,Pte,Fte,Gte,Bte,Ute,Vte,jte,Hte=E({"src/services/_namespaces/ts.codefix.ts"(){w4(),M4(),P4(),H4(),Z4(),a8(),l8(),p8(),h8(),E8(),w8(),F8(),_6(),R6(),P6(),V6(),q6(),$6(),i3(),V3(),X3(),n5(),o5(),d5(),b5(),E5(),I5(),K5(),s7(),_7(),y7(),S7(),w7(),M7(),B7(),W7(),q7(),$7(),r9(),d9(),m9(),S9(),A9(),B9(),H9(),J9(),nee(),oee(),uee(),mee(),kee(),Oee(),Fee(),ane(),mne(),Ane(),One(),Bne(),Kne(),Jne(),Zne(),ite(),dte(),ute(),mte(),bte(),Lte(),Rte(),Dte()}});function Kte(e){return!!(e&&4&e.kind)}function Wte(e){return!(!e||32!==e.kind)}function qte(e){return(Kte(e)||Wte(e))&&!!e.isFromPackageJson}function zte(e){return!!(e&&64&e.kind)}function Jte(e){return!!(e&&128&e.kind)}function Xte(e){return!!(e&&512&e.kind)}function Yte(e,n,t,r,i,a,o,s,c){var l,d,u;const _=cr(),p=o||QT(jT(r.getCompilerOptions()));let f=!1,m=0,h=0,g=0,y=0;const v=c({tryResolve:function(e,n){if(n){const n=t.getModuleSpecifierForBestExportInfo(e,i,s);return n&&m++,n||"failed"}const r=p||a.allowIncompleteCompletions&&h<Mte,o=!r&&a.allowIncompleteCompletions&&y<Pte,c=r||o?t.getModuleSpecifierForBestExportInfo(e,i,s,o):void 0;return(!r&&!o||o&&!c)&&(f=!0),h+=(null==c?void 0:c.computedWithoutCacheCount)||0,g+=e.length-((null==c?void 0:c.computedWithoutCacheCount)||0),o&&y++,c||(p?"failed":"skipped")},skippedAny:()=>f,resolvedAny:()=>h>0,resolvedBeyondLimit:()=>h>Mte}),b=y?` (${(g/y*100).toFixed(1)}% hit rate)`:"";return null==(l=n.log)||l.call(n,`${e}: resolved ${h} module specifiers, plus ${m} ambient and ${g} from cache${b}`),null==(d=n.log)||d.call(n,`${e}: response is ${f?"incomplete":"complete"}`),null==(u=n.log)||u.call(n,`${e}: ${cr()-_}`),v}function $te(e,n,t,r,i,a,o,s,c,l,d=!1){var u;const{previousToken:_}=Cre(i,r);if(o&&!EX(r,i,_)&&!function(e,n,t,r){switch(n){case".":case"@":return!0;case'"':case"'":case"`":return!!t&&B$(t)&&r===t.getStart(e)+1;case"#":return!!t&&LC(t)&&!!Wm(t);case"<":return!!t&&29===t.kind&&(!qk(t.parent)||Vre(t.parent));case"/":return!!t&&(t_(t)?!!fg(t):43===t.kind&&cw(t.parent));case" ":return!!t&&GC(t)&&308===t.parent.kind;default:return Nt.assertNever(n)}}(r,o,_,i))return;if(" "===o)return a.includeCompletionsForImportStatements&&a.includeCompletionsWithInsertText?{isGlobalCompletion:!0,isMemberCompletion:!1,isNewIdentifierLocation:!0,isIncomplete:!0,entries:[]}:void 0;const p=n.getCompilerOptions(),f=a.allowIncompleteCompletions?null==(u=e.getIncompleteCompletionsCache)?void 0:u.call(e):void 0;if(f&&3===s&&_&&AC(_)){const t=function(e,n,t,r,i,a,o,s){const c=e.get();if(!c)return;const l=dX(n,s),d=t.text.toLowerCase(),u=BQ(n,i,r,a,o),_=Yte("continuePreviousIncompleteResponse",i,Ote.createImportSpecifierResolver(n,r,i,a),r,t.getStart(),a,!1,mS(t),(e=>{const t=ee(c.entries,(t=>{var a;if(!t.hasAction||!t.source||!t.data||Zte(t.data))return t;if(!Yre(t.name,d))return;const{origin:o}=Nt.checkDefined(kre(t.name,t.data,r,i)),s=u.get(n.path,t.data.exportMapKey),c=s&&e.tryResolve(s,!Zs(dv(o.moduleSymbol.name)));if("skipped"===c)return t;if(!c||"failed"===c)return void(null==(a=i.log)||a.call(i,`Unexpected failure resolving auto import for '${t.name}' from '${t.source}'`));const l={...o,kind:32,moduleSpecifier:c.moduleSpecifier};return t.data=pre(l),t.source=gre(l),t.sourceDisplay=[YY(l.moduleSpecifier)],t}));return e.skippedAny()||(c.isIncomplete=void 0),t}));return c.entries=_,c.flags=4|(c.flags||0),c.optionalReplacementSpan=tre(l),c}(f,r,_,n,e,a,c,i);if(t)return t}else null==f||f.clear();const m=kie.getStringLiteralCompletions(r,i,_,p,e,n,t,a,d);if(m)return m;if(_&&ql(_.parent)&&(81===_.kind||86===_.kind||79===_.kind))return function(e){const n=function(e){const n=[],t=new Map;let r=e;for(;r&&!Ad(r);){if(SI(r)){const e=r.label.text;t.has(e)||(t.set(e,!0),n.push({name:e,kindModifiers:"",kind:"label",sortText:Fte.LocationPriority}))}r=r.parent}return n}(e);if(n.length)return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:n}}(_.parent);const h=Lre(n,t,r,p,i,a,void 0,e,l,c);var g;if(h)switch(h.kind){case 0:const o=function(e,n,t,r,i,a,o,s,c,l){const{symbols:d,contextToken:u,completionKind:_,isInSnippetScope:p,isNewIdentifierLocation:f,location:m,propertyAccessToConvert:h,keywordFilters:g,symbolToOriginInfoMap:y,recommendedCompletion:v,isJsxInitializer:b,isTypeOnlyLocation:E,isJsxIdentifierExpected:T,isRightOfOpenTag:x,isRightOfDotOrQuestionDot:S,importStatementCompletion:A,insideJsDocTagTypeExpression:L,symbolToSortTextMap:C,hasUnresolvedAutoImports:k}=a;let I=a.literals;const w=t.getTypeChecker();if(1===OT(e.scriptKind)){const n=function(e,n){const t=Rc(e,(e=>{switch(e.kind){case 284:return!0;case 43:case 31:case 79:case 208:return!1;default:return"quit"}}));if(t){const e=!!ZJ(t,31,n),r=t.parent.openingElement.tagName.getText(n)+(e?"":">");return{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:!1,optionalReplacementSpan:XX(t.tagName),entries:[{name:r,kind:"class",kindModifiers:void 0,sortText:Fte.LocationPriority}]}}}(m,e);if(n)return n}const R=Rc(u,hw);if(R&&(BC(u)||Qg(u,R.expression))){const e=RQ(w,R.parent.clauses);I=I.filter((n=>!e.hasValue(n))),d.forEach(((n,t)=>{if(n.valueDeclaration&&xw(n.valueDeclaration)){const r=w.getConstantValue(n.valueDeclaration);void 0!==r&&e.hasValue(r)&&(y[t]={kind:256})}}))}const N=[],D=rre(e,r);if(D&&!f&&(!d||0===d.length)&&0===g)return;const O=yre(d,N,void 0,u,m,c,e,n,t,BT(r),i,_,o,r,s,E,h,T,b,A,v,y,C,T,x,l);if(0!==g)for(const n of wre(g,!L&&xh(e)))(E&&tY(_s(n.name))||!O.has(n.name))&&(O.add(n.name),me(N,n,Qte,!0));for(const e of function(e,n){const t=[];if(e){const r=e.getSourceFile(),i=e.parent,a=r.getLineAndCharacterOfPosition(e.end).line,o=r.getLineAndCharacterOfPosition(n).line;(UI(i)||YI(i)&&i.moduleSpecifier)&&e===i.moduleSpecifier&&a===o&&t.push({name:us(130),kind:"keyword",kindModifiers:"",sortText:Fte.GlobalsOrKeywords})}return t}(u,c))O.has(e.name)||(O.add(e.name),me(N,e,Qte,!0));for(const n of I){const t=lre(e,o,n);O.add(t.name),me(N,t,Qte,!0)}let M;if(D||function(e,n,t,r,i){c2(e).forEach(((e,a)=>{if(e===n)return;const o=Mc(a);!t.has(o)&&Ks(o,r)&&(t.add(o),me(i,{name:o,kind:"warning",kindModifiers:"",sortText:Fte.JavascriptIdentifiers,isFromUncheckedFile:!0},Qte))}))}(e,m.pos,O,BT(r),N),o.includeCompletionsWithInsertText&&u&&!x&&!S&&(M=Rc(u,FI))){const i=ire(M,e,o,r,n,t,s);i&&N.push(i.entry)}return{flags:a.flags,isGlobalCompletion:p,isIncomplete:!(!o.allowIncompleteCompletions||!k)||void 0,isMemberCompletion:sre(_),isNewIdentifierLocation:f,optionalReplacementSpan:tre(m),entries:N}}(r,e,n,p,t,h,a,l,i,d);return(null==o?void 0:o.isIncomplete)&&(null==f||f.set(o)),o;case 1:return ere(loe.getJSDocTagNameCompletions());case 2:return ere(loe.getJSDocTagCompletions());case 3:return ere(loe.getJSDocParameterNameCompletions(h.tag));case 4:return g=h.keywordCompletions,{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:h.isNewIdentifierLocation,entries:g.slice()};default:return Nt.assertNever(h)}}function Qte(e,n){var t,r;let i=Xn(e.sortText,n.sortText);return 0===i&&(i=Xn(e.name,n.name)),0===i&&(null==(t=e.data)?void 0:t.moduleSpecifier)&&(null==(r=n.data)?void 0:r.moduleSpecifier)&&(i=jx(e.data.moduleSpecifier,n.data.moduleSpecifier)),0===i?-1:i}function Zte(e){return!!(null==e?void 0:e.moduleSpecifier)}function ere(e){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:e}}function nre(e,n,t){return{kind:4,keywordCompletions:wre(e,n),isNewIdentifierLocation:t}}function tre(e){return 79===(null==e?void 0:e.kind)?XX(e):void 0}function rre(e,n){return!xh(e)||!!nS(e,n)}function ire(e,n,t,r,i,a,o){const s=e.clauses,c=a.getTypeChecker(),l=c.getTypeAtLocation(e.parent.expression);if(l&&l.isUnion()&&N(l.types,(e=>e.isLiteral()))){const d=RQ(c,s),u=BT(r),_=EY(n,t),p=Ote.createImportAdder(n,a,t,i),f=[];for(const n of l.types)if(1024&n.flags){Nt.assert(n.symbol,"An enum member type should have a symbol"),Nt.assert(n.symbol.parent,"An enum member type should have a parent symbol (the enum symbol)");const t=n.symbol.valueDeclaration&&c.getConstantValue(n.symbol.valueDeclaration);if(void 0!==t){if(d.hasValue(t))continue;d.addValue(t)}const r=Ote.typeToAutoImportableTypeNode(c,p,n,e,u);if(!r)return;const i=are(r,u,_);if(!i)return;f.push(i)}else if(!d.hasValue(n.value))switch(typeof n.value){case"object":f.push(n.value.negative?pA.createPrefixUnaryExpression(40,pA.createBigIntLiteral({negative:!1,base10Value:n.value.base10Value})):pA.createBigIntLiteral(n.value));break;case"number":f.push(n.value<0?pA.createPrefixUnaryExpression(40,pA.createNumericLiteral(-n.value)):pA.createNumericLiteral(n.value));break;case"string":f.push(pA.createStringLiteral(n.value,0===_))}if(0===f.length)return;const m=W(f,(e=>pA.createCaseClause(e,[]))),h=r$(i,null==o?void 0:o.options),g=_re({removeComments:!0,module:r.module,target:r.target,newLine:LQ(h)}),y=o?e=>g.printAndFormatNode(4,e,n,o):e=>g.printNode(4,e,n),v=W(m,((e,n)=>t.includeCompletionsWithSnippetText?`${y(e)}$${n+1}`:`${y(e)}`)).join(h);return{entry:{name:`${g.printNode(4,m[0],n)} ...`,kind:"",sortText:Fte.GlobalsOrKeywords,insertText:v,hasAction:p.hasFixes()||void 0,source:"SwitchCases/",isSnippet:!!t.includeCompletionsWithSnippetText||void 0},importAdder:p}}}function are(e,n,t){switch(e.kind){case 180:return ore(e.typeName,n,t);case 196:const r=are(e.objectType,n,t),i=are(e.indexType,n,t);return r&&i&&pA.createElementAccessExpression(r,i);case 198:const a=e.literal;switch(a.kind){case 10:return pA.createStringLiteral(a.text,0===t);case 8:return pA.createNumericLiteral(a.text,a.numericLiteralFlags)}return;case 193:const o=are(e.type,n,t);return o&&(AC(o)?o:pA.createParenthesizedExpression(o));case 183:return ore(e.exprName,n,t);case 202:Nt.fail("We should not get an import type after calling 'codefix.typeToAutoImportableTypeNode'.")}}function ore(e,n,t){if(AC(e))return e;const r=Mc(e.right.escapedText);return WS(r,n)?pA.createPropertyAccessExpression(ore(e.left,n,t),r):pA.createElementAccessExpression(ore(e.left,n,t),pA.createStringLiteral(r,0===t))}function sre(e){switch(e){case 0:case 3:case 2:return!0;default:return!1}}function cre(e,n,t){return"object"==typeof t?uS(t)+"n":vn(t)?F$(e,n,t):JSON.stringify(t)}function lre(e,n,t){return{name:cre(e,n,t),kind:"string",kindModifiers:"",sortText:Fte.LocationPriority}}function dre(e,n,t,r,i,a,o,s,c,l,d,u,_,p,f,m,h,g,y,v,b,E,T,x){let S,A,L,C,k,I,w=JX(t),R=gre(u);const O=c.getTypeChecker(),M=u&&function(e){return!!(16&e.kind)}(u),P=u&&function(e){return!!(2&e.kind)}(u)||d;if(u&&function(e){return!!(1&e.kind)}(u))S=d?`this${M?"?.":""}[${mre(o,y,l)}]`:`this${M?"?.":"."}${l}`;else if((P||M)&&p){S=P?d?`[${mre(o,y,l)}]`:`[${l}]`:l,(M||p.questionDotToken)&&(S=`?.${S}`);const e=ZJ(p,24,o)||ZJ(p,28,o);if(!e)return;const n=pt(l,p.name.text)?p.name.end:e.end;w=mc(e.getStart(o),n)}if(f&&(void 0===S&&(S=l),S=`{${S}}`,"boolean"!=typeof f&&(w=XX(f,o))),u&&function(e){return!!(8&e.kind)}(u)&&p){void 0===S&&(S=l);const e=gX(p.pos,o);let n="";e&&z$(e.end,e.parent,o)&&(n=";"),n+=`(await ${p.expression.getText()})`,S=d?`${n}${S}`:`${n}${M?"?.":"."}${S}`,w=mc((En(p.parent,Hk)?p.parent:p.expression).getStart(o),p.end)}if(Wte(u)&&(C=[YY(u.moduleSpecifier)],m&&(({insertText:S,replacementSpan:w}=function(e,n,t,r,i,a,o){const s=n.replacementSpan,c=F$(i,o,PS(t.moduleSpecifier)),l=t.isDefaultExport?1:"export="===t.exportName?2:0,d=o.includeCompletionsWithSnippetText?"$1":"",u=Ote.getImportKind(i,l,a,!0),_=n.couldBeTypeOnlyImportSpecifier,p=n.isTopLevelTypeOnly?` ${us(154)} `:" ",f=_?`${us(154)} `:"",m=r?";":"";switch(u){case 3:return{replacementSpan:s,insertText:`import${p}${PS(e)}${d} = require(${c})${m}`};case 1:return{replacementSpan:s,insertText:`import${p}${PS(e)}${d} from ${c}${m}`};case 2:return{replacementSpan:s,insertText:`import${p}* as ${PS(e)} from ${c}${m}`};case 0:return{replacementSpan:s,insertText:`import${p}{ ${f}${PS(e)}${d} } from ${c}${m}`}}}(l,m,u,h,o,g,y)),L=!!y.includeCompletionsWithSnippetText||void 0)),64===(null==u?void 0:u.kind)&&(k=!0),y.includeCompletionsWithClassMemberSnippets&&y.includeCompletionsWithInsertText&&3===v&&function(e,n,t){if(Ah(n))return!1;return!!(106500&e.flags)&&(Dd(n)||n.parent&&n.parent.parent&&Nd(n.parent)&&n===n.parent.name&&n.parent.getLastToken(t)===n.parent.name&&Dd(n.parent.parent)||n.parent&&mR(n)&&Dd(n.parent))}(e,i,o)){let t;({insertText:S,isSnippet:L,importAdder:t,replacementSpan:w}=ure(s,c,g,y,l,e,i,a,r,b)),n=Fte.ClassMemberSnippets,(null==t?void 0:t.hasFixes())&&(k=!0,R="ClassMemberSnippet/")}if(u&&Jte(u)&&(({insertText:S,isSnippet:L,labelDetails:I}=u),y.useLabelDetailsInCompletionEntries||(l+=I.detail,I=void 0),R="ObjectLiteralMethodSnippet/",n=Fte.SortBelow(n)),E&&!T&&y.includeCompletionsWithSnippetText&&y.jsxAttributeCompletionStyle&&"none"!==y.jsxAttributeCompletionStyle&&(!_w(i.parent)||!i.parent.initializer)){let n="braces"===y.jsxAttributeCompletionStyle;const t=O.getTypeOfSymbolAtLocation(e,i);"auto"!==y.jsxAttributeCompletionStyle||528&t.flags||1048576&t.flags&&D(t.types,(e=>!!(528&e.flags)))||(402653316&t.flags||1048576&t.flags&&N(t.types,(e=>!!(402686084&e.flags||BX(e))))?(S=`${PS(l)}=${F$(o,y,"$1")}`,L=!0):n=!0),n&&(S=`${PS(l)}={$1}`,L=!0)}if(void 0===S||y.includeCompletionsWithInsertText)return(Kte(u)||Wte(u))&&(A=pre(u),k=!m),{name:l,kind:Lue.getSymbolKind(O,e,i),kindModifiers:Lue.getSymbolModifiers(O,e),sortText:n,source:R,hasAction:!!k||void 0,isRecommended:hre(e,_,O)||void 0,insertText:S,replacementSpan:w,sourceDisplay:C,labelDetails:I,isSnippet:L,isPackageJsonImport:qte(u)||void 0,isImportStatementCompletion:!!m||void 0,data:A,...x?{symbol:e}:void 0}}function ure(e,n,t,r,i,a,o,s,c,l){const d=Rc(o,Dd);if(!d)return{insertText:i};let u,_,p=i;const f=n.getTypeChecker(),m=o.getSourceFile(),h=_re({removeComments:!0,module:t.module,target:t.target,omitTrailingSemicolon:!1,newLine:LQ(r$(e,null==l?void 0:l.options))}),g=Ote.createImportAdder(m,n,r,e);let y;if(r.includeCompletionsWithSnippetText){u=!0;const e=pA.createEmptyStatement();y=pA.createBlock([e],!0),uL(e,{kind:0,order:0})}else y=pA.createBlock([],!0);let v=0;const{modifiers:b,span:E}=function(e,n,t){if(!e||bs(n,t).line>bs(n,e.getEnd()).line)return{modifiers:0};let r,i,a=0;return(i=function(e){if(Ed(e))return e.kind;if(AC(e)){const n=Fc(e);if(n&&yd(n))return n}}(e))&&(a|=Ib(i),r=XX(e)),qC(e.parent)&&(a|=126975&kb(e.parent.modifiers),r=XX(e.parent)),{modifiers:a,span:r}}(c,m,s),T=!!(256&b),x=[];if(Ote.addNewNodeForMemberSymbol(a,d,m,{program:n,host:e},r,g,(e=>{let n=0;T&&(n|=256),Nd(e)&&1===f.getMemberOverrideModifierStatus(d,e,a)&&(n|=16384),x.length||(v=e.modifierFlagsCache|n|b),e=pA.updateModifiers(e,v),x.push(e)}),y,Ote.PreserveOptionalFlags.Property,T),x.length){const e=131073;_=E,p=l?h.printAndFormatSnippetList(e,pA.createNodeArray(x),m,l):h.printSnippetList(e,pA.createNodeArray(x),m)}return{insertText:p,isSnippet:u,importAdder:g,replacementSpan:_}}function _re(e){let n;const t=i_e.createWriter(cE(e)),r=yj(e,t),i={...t,write:e=>a(e,(()=>t.write(e))),nonEscapingWrite:t.write,writeLiteral:e=>a(e,(()=>t.writeLiteral(e))),writeStringLiteral:e=>a(e,(()=>t.writeStringLiteral(e))),writeSymbol:(e,n)=>a(e,(()=>t.writeSymbol(e,n))),writeParameter:e=>a(e,(()=>t.writeParameter(e))),writeComment:e=>a(e,(()=>t.writeComment(e))),writeProperty:e=>a(e,(()=>t.writeProperty(e)))};return{printSnippetList:function(e,t,r){const i=o(e,t,r);return n?i_e.applyChanges(i,n):i},printAndFormatSnippetList:function(e,t,r,i){const a={text:o(e,t,r),getLineAndCharacterOfPosition(e){return bs(this,e)}},s=kQ(i,r),c=X(t,(e=>{const n=i_e.assignPositionsToNode(e);return sfe.formatNodeGivenIndentation(n,a,r.languageVariant,0,0,{...i,options:s})})),l=n?Re(de(c,n),((e,n)=>Vn(e.span,n.span))):c;return i_e.applyChanges(a.text,l)},printNode:function(e,t,r){const i=s(e,t,r);return n?i_e.applyChanges(i,n):i},printAndFormatNode:function(e,t,r,i){const a={text:s(e,t,r),getLineAndCharacterOfPosition(e){return bs(this,e)}},o=kQ(i,r),c=i_e.assignPositionsToNode(t),l=sfe.formatNodeGivenIndentation(c,a,r.languageVariant,0,0,{...i,options:o}),d=n?Re(de(l,n),((e,n)=>Vn(e.span,n.span))):l;return i_e.applyChanges(a.text,d)}};function a(e,r){const i=PS(e);if(i!==e){const e=t.getTextPos();r();const a=t.getTextPos();n=Te(n||(n=[]),{newText:i,span:{start:e,length:a-e}})}else r()}function o(e,t,a){return n=void 0,i.clear(),r.writeList(e,t,a,i),i.getText()}function s(e,t,a){return n=void 0,i.clear(),r.writeNode(e,t,a,i),i.getText()}}function pre(e){const n=e.fileName?void 0:dv(e.moduleSymbol.name),t=!!e.isFromPackageJson||void 0;return Wte(e)?{exportName:e.exportName,exportMapKey:e.exportMapKey,moduleSpecifier:e.moduleSpecifier,ambientModuleName:n,fileName:e.fileName,isPackageJsonImport:t}:{exportName:e.exportName,exportMapKey:e.exportMapKey,fileName:e.fileName,ambientModuleName:e.fileName?void 0:dv(e.moduleSymbol.name),isPackageJsonImport:!!e.isFromPackageJson||void 0}}function fre(e,n,t){const r="default"===e.exportName,i=!!e.isPackageJsonImport;return Zte(e)?{kind:32,exportName:e.exportName,exportMapKey:e.exportMapKey,moduleSpecifier:e.moduleSpecifier,symbolName:n,fileName:e.fileName,moduleSymbol:t,isDefaultExport:r,isFromPackageJson:i}:{kind:4,exportName:e.exportName,exportMapKey:e.exportMapKey,symbolName:n,fileName:e.fileName,moduleSymbol:t,isDefaultExport:r,isFromPackageJson:i}}function mre(e,n,t){return/^\d+$/.test(t)?t:F$(e,n,t)}function hre(e,n,t){return e===n||!!(1048576&e.flags)&&t.getExportSymbolOfSymbol(e)===n}function gre(e){return Kte(e)?dv(e.moduleSymbol.name):Wte(e)?e.moduleSpecifier:1===(null==e?void 0:e.kind)?"ThisProperty/":64===(null==e?void 0:e.kind)?"TypeOnlyAlias/":void 0}function yre(e,n,t,r,i,a,o,s,c,l,d,u,_,p,f,m,h,g,y,v,b,E,T,x,S,A=!1){var L;const C=cr(),k=Rc(i,(e=>Dm(e)||function(e){return e.parent&&Bk(e.parent)&&e.parent.body===e}(e)||Kd(e)?"quit":kI(e))),I=J$(o),w=c.getTypeChecker(),R=new Map;for(let d=0;d<e.length;d++){const m=e[d],C=null==E?void 0:E[d],k=Ire(m,l,C,u,!!g);if(!k||R.get(k.name)&&(!C||!Jte(C))||1===u&&T&&!N(m,T))continue;const{name:D,needsConvertPropertyAccess:O}=k,M=null!=(L=null==T?void 0:T[WG(m)])?L:Fte.LocationPriority,P=dre(m,Xre(m,w)?Fte.Deprecated(M):M,t,r,i,a,o,s,c,D,O,C,b,h,y,v,I,p,_,u,f,x,S,A);if(!P)continue;const F=(!C||zte(C))&&!(void 0===m.parent&&!ce(m.declarations,(e=>e.getSourceFile()===i.getSourceFile())));R.set(D,F),me(n,P,Qte,!0)}return d("getCompletionsAtPosition: getCompletionEntriesFromSymbols: "+(cr()-C)),{has:e=>R.has(e),add:e=>R.set(e,!0)};function N(e,n){let t=e.flags;if(!Aw(i)){if(XI(i.parent))return!0;if(k&&e.valueDeclaration===k)return!1;const r=ME(e,w);if(o.externalModuleIndicator&&!p.allowUmdGlobalAccess&&n[WG(e)]===Fte.GlobalsOrKeywords&&(n[WG(r)]===Fte.AutoImportSuggestions||n[WG(r)]===Fte.LocationPriority))return!1;if(t|=PE(r),lJ(i))return!!(1920&t);if(m)return Jre(e,w)}return!!(111551&t)}}function vre(e,n,t,r,i,a,o){if("SwitchCases/"===i.source)return{type:"cases"};if(i.data){const n=kre(i.name,i.data,e,a);if(n){const{contextToken:e,previousToken:i}=Cre(r,t);return{type:"symbol",symbol:n.symbol,location:dX(t,r),previousToken:i,contextToken:e,isJsxInitializer:!1,isTypeOnlyLocation:!1,origin:n.origin}}}const s=e.getCompilerOptions(),c=Lre(e,n,t,s,r,{includeCompletionsForModuleExports:!0,includeCompletionsWithInsertText:!0},i,a,void 0);if(!c)return{type:"none"};if(0!==c.kind)return{type:"request",request:c};const{symbols:l,literals:d,location:u,completionKind:_,symbolToOriginInfoMap:p,contextToken:f,previousToken:m,isJsxInitializer:h,isTypeOnlyLocation:g}=c,y=D(d,(e=>cre(t,o,e)===i.name));return void 0!==y?{type:"literal",literal:y}:C(l,((e,n)=>{const t=p[n],r=Ire(e,BT(s),t,_,c.isJsxIdentifierExpected);return r&&r.name===i.name&&("ClassMemberSnippet/"===i.source&&106500&e.flags||"ObjectLiteralMethodSnippet/"===i.source&&8196&e.flags||gre(t)===i.source)?{type:"symbol",symbol:e,location:u,origin:t,contextToken:f,previousToken:m,isJsxInitializer:h,isTypeOnlyLocation:g}:void 0}))||{type:"none"}}function bre(e,n,t,r,i,a,o,s,c){const l=e.getTypeChecker(),d=e.getCompilerOptions(),{name:u,source:_,data:p}=i,{previousToken:f,contextToken:m}=Cre(r,t);if(EX(t,r,f))return kie.getStringLiteralCompletionDetails(u,t,r,f,l,d,a,c,s);const h=vre(e,n,t,r,i,a,s);switch(h.type){case"request":{const{request:e}=h;switch(e.kind){case 1:return loe.getJSDocTagNameCompletionDetails(u);case 2:return loe.getJSDocTagCompletionDetails(u);case 3:return loe.getJSDocParameterNameCompletionDetails(u);case 4:return ce(e.keywordCompletions,(e=>e.name===u))?Ere(u,"keyword",5):void 0;default:return Nt.assertNever(e)}}case"symbol":{const{symbol:n,location:i,contextToken:f,origin:m,previousToken:g}=h,{codeActions:y,sourceDisplay:v}=function(e,n,t,r,i,a,o,s,c,l,d,u,_,p,f,m){if((null==p?void 0:p.moduleSpecifier)&&d&&jre(t||d).replacementSpan)return{codeActions:void 0,sourceDisplay:[YY(p.moduleSpecifier)]};if("ClassMemberSnippet/"===f){const{importAdder:r}=ure(o,a,s,_,e,i,n,l,t,u);if(r)return{sourceDisplay:void 0,codeActions:[{changes:i_e.ChangeTracker.with({host:o,formatContext:u,preferences:_},r.writeFixes),description:CQ([Vo.Includes_imports_of_types_referenced_by_0,e])}]}}if(zte(r)){const e=Ote.getPromoteTypeOnlyCompletionAction(c,r.declaration.name,a,o,u,_);return Nt.assertIsDefined(e,"Expected to have a code action for promoting type-only alias"),{codeActions:[e],sourceDisplay:void 0}}if(!r||!Kte(r)&&!Wte(r))return{codeActions:void 0,sourceDisplay:void 0};const h=r.isFromPackageJson?o.getPackageJsonAutoImportProvider().getTypeChecker():a.getTypeChecker(),{moduleSymbol:g}=r,y=h.getMergedSymbol(ME(i.exportSymbol||i,h)),v=29===(null==t?void 0:t.kind)&&ju(t.parent),{moduleSpecifier:b,codeAction:E}=Ote.getImportCompletionAction(y,g,null==p?void 0:p.exportMapKey,c,e,v,o,a,u,d&&AC(d)?d.getStart(c):l,_,m);return Nt.assert(!(null==p?void 0:p.moduleSpecifier)||b===p.moduleSpecifier),{sourceDisplay:[YY(b)],codeActions:[E]}}(u,i,f,m,n,e,a,d,t,r,g,o,s,p,_,c);return Tre(n,Xte(m)?m.symbolName:n.name,l,t,i,c,y,v)}case"literal":{const{literal:e}=h;return Ere(cre(t,s,e),"string","string"==typeof e?8:7)}case"cases":{const{entry:n,importAdder:r}=ire(m.parent,t,s,e.getCompilerOptions(),a,e,void 0);if(r.hasFixes()){const e=i_e.ChangeTracker.with({host:a,formatContext:o,preferences:s},r.writeFixes);return{name:n.name,kind:"",kindModifiers:"",displayParts:[],sourceDisplay:void 0,codeActions:[{changes:e,description:CQ([Vo.Includes_imports_of_types_referenced_by_0,u])}]}}return{name:n.name,kind:"",kindModifiers:"",displayParts:[],sourceDisplay:void 0}}case"none":return jte().some((e=>e.name===u))?Ere(u,"keyword",5):void 0;default:Nt.assertNever(h)}}function Ere(e,n,t){return xre(e,"",n,[jY(e,t)])}function Tre(e,n,t,r,i,a,o,s){const{displayParts:c,documentation:l,symbolKind:d,tags:u}=t.runWithCancellationToken(a,(n=>Lue.getSymbolDisplayPartsDocumentationAndSymbolKind(n,e,r,i,i,7)));return xre(n,Lue.getSymbolModifiers(t,e),d,c,l,u,o,s)}function xre(e,n,t,r,i,a,o,s){return{name:e,kindModifiers:n,kind:t,displayParts:r,documentation:i,tags:a,codeActions:o,source:s,sourceDisplay:s}}function Sre(e,n,t,r,i,a,o){const s=vre(e,n,t,r,i,a,o);return"symbol"===s.type?s.symbol:void 0}function Are(e,n,t){const r=t.getAccessibleSymbolChain(e,n,67108863,!1);return r?Me(r):e.parent&&(function(e){var n;return!!(null==(n=e.declarations)?void 0:n.some((e=>308===e.kind)))}(e.parent)?e:Are(e.parent,n,t))}function Lre(e,n,t,r,i,a,o,s,c,l){const d=e.getTypeChecker(),u=rre(t,r);let _=cr(),p=_X(t,i);n("getCompletionData: Get current token: "+(cr()-_)),_=cr();const f=NX(t,i,p);n("getCompletionData: Is inside comment: "+(cr()-_));let m=!1,h=!1;if(f){if(DX(t,i)){if(64===t.text.charCodeAt(i-1))return{kind:1};{const e=GJ(i,t);if(!/[^\*|\s(/)]/.test(t.text.substring(e,i)))return{kind:2}}}const e=function(e,n){return Rc(e,(e=>!(!qu(e)||!VJ(e,n))||!!jw(e)&&"quit"))}(p,i);if(e){if(e.tagName.pos<=i&&i<=e.tagName.end)return{kind:1};const n=function(e){if(function(e){switch(e.kind){case 344:case 351:case 345:case 347:case 349:case 352:case 353:return!0;case 348:return!!e.constraint;default:return!1}}(e)){const n=cR(e)?e.constraint:e.typeExpression;return n&&312===n.kind?n:void 0}if(Ww(e)||_R(e))return e.class}(e);if(n&&(p=_X(t,i),p&&(Zg(p)||351===p.parent.kind&&p.parent.name===p)||(m=he(n))),!m&&iR(e)&&(Fp(e.name)||e.name.pos<=i&&i<=e.name.end))return{kind:3,tag:e}}if(!m)return void n("Returning an empty list because completion was inside a regular comment or plain text part of a JsDoc comment.")}_=cr();const g=!m&&xh(t),y=Cre(i,t),v=y.previousToken;let b=y.contextToken;n("getCompletionData: Get previous token: "+(cr()-_));let E,T,x=p,S=!1,L=!1,k=!1,I=!1,w=!1,R=!1,N=dX(t,i),O=0,M=!1,P=0;if(b){const e=jre(b);if(e.keywordCompletion){if(e.isKeywordOnlyCompletion)return{kind:4,keywordCompletions:[(F=e.keywordCompletion,{name:us(F),kind:"keyword",kindModifiers:"",sortText:Fte.GlobalsOrKeywords})],isNewIdentifierLocation:e.isNewIdentifierLocation};O=function(e){if(154===e)return 8;Nt.fail("Unknown mapping from SyntaxKind to KeywordCompletionFilters")}(e.keywordCompletion)}if(e.replacementSpan&&a.includeCompletionsForImportStatements&&a.includeCompletionsWithInsertText&&(P|=2,T=e,M=e.isNewIdentifierLocation),!e.replacementSpan&&function(e){const r=cr(),a=function(e){return(dC(e)||pd(e))&&(jJ(e,i)||i===e.end&&(!!e.isUnterminated||dC(e)))}(e)||function(e){const n=e.parent,r=n.kind;switch(e.kind){case 27:return 257===r||258===(a=e).parent.kind&&!IX(a,t,d)||240===r||263===r||_e(r)||261===r||204===r||262===r||Dd(n)&&!!n.typeParameters&&n.typeParameters.end>=e.pos;case 24:case 22:return 204===r;case 58:return 205===r;case 20:return 295===r||_e(r);case 18:return 263===r;case 29:return 260===r||228===r||261===r||262===r||wd(r);case 124:return 169===r&&!Dd(n.parent);case 25:return 166===r||!!n.parent&&204===n.parent.kind;case 123:case 121:case 122:return 166===r&&!YC(n.parent);case 128:return 273===r||278===r||271===r;case 137:case 151:return!Ure(e);case 79:if(273===r&&e===n.name&&"type"===e.text)return!1;break;case 84:case 92:case 118:case 98:case 113:case 100:case 119:case 85:case 138:return!0;case 154:return 273!==r;case 41:return Ad(e.parent)&&!JC(e.parent)}var a;if(Dre(Mre(e))&&Ure(e))return!1;if(le(e)&&(!AC(e)||vd(Mre(e))||he(e)))return!1;switch(Mre(e)){case 126:case 84:case 85:case 136:case 92:case 98:case 118:case 119:case 121:case 122:case 123:case 124:case 113:return!0;case 132:return qC(e.parent)}if(Rc(e.parent,Dd)&&e===v&&ue(e,i))return!1;const o=my(e.parent,169);if(o&&e!==v&&Dd(v.parent.parent)&&i<=v.end){if(ue(e,v.end))return!1;if(63!==e.kind&&(eU(o)||Yu(o)))return!0}return Zg(e)&&!Ew(e.parent)&&!_w(e.parent)&&!(Dd(e.parent)&&(e!==v||i>v.end))}(e)||function(e){if(8===e.kind){const n=e.getFullText();return"."===n.charAt(n.length-1)}return!1}(e)||function(e){if(11===e.kind)return!0;if(31===e.kind&&e.parent){if(N===e.parent&&(283===N.kind||282===N.kind))return!1;if(283===e.parent.kind)return 283!==N.parent.kind;if(284===e.parent.kind||282===e.parent.kind)return!!e.parent.parent&&281===e.parent.parent.kind}return!1}(e)||sC(e);return n("getCompletionsAtPosition: isCompletionListBlocker: "+(cr()-r)),a}(b))return n("Returning an empty list because completion was requested in an invalid position."),O?nre(O,g,se()):void 0;let r=b.parent;if(24===b.kind||28===b.kind)switch(S=24===b.kind,L=28===b.kind,r.kind){case 208:if(E=r,x=E.expression,Fp(iT(E))||(Dk(x)||Ad(x))&&x.end===b.pos&&x.getChildCount(t)&&21!==Ge(x.getChildren(t)).kind)return;break;case 163:x=r.left;break;case 264:x=r.name;break;case 202:x=r;break;case 233:x=r.getFirstToken(t),Nt.assert(100===x.kind||103===x.kind);break;default:return}else if(!T){if(r&&208===r.kind&&(b=r,r=r.parent),p.parent===N)switch(p.kind){case 31:281!==p.parent.kind&&283!==p.parent.kind||(N=p);break;case 43:282===p.parent.kind&&(N=p)}switch(r.kind){case 284:43===b.kind&&(I=!0,N=b);break;case 223:if(!Vre(r))break;case 282:case 281:case 283:R=!0,29===b.kind&&(k=!0,N=b);break;case 291:case 290:(19===v.kind||79===v.kind&&288===v.parent.kind)&&(R=!0);break;case 288:if(r.initializer===v&&v.end<i){R=!0;break}switch(v.kind){case 63:w=!0;break;case 79:R=!0,r!==v.parent&&!r.initializer&&ZJ(r,63,t)&&(w=v)}}}}var F;const G=cr();let B,U=5,V=!1,H=!1,K=[];const W=[],q=[],z=new Map,J=m||!!T&&ud(N.parent)||!((Y=b)&&(112===Y.kind&&(183===Y.parent.kind||Vk(Y.parent))||129===Y.kind&&179===Y.parent.kind))&&(IX(b,t,d)||vm(N)||function(e){if(e){const n=e.parent.kind;switch(e.kind){case 58:return 169===n||168===n||166===n||257===n||wd(n);case 63:return 262===n;case 128:return 231===n;case 29:return 180===n||213===n;case 94:return 165===n;case 150:return 235===n}}return!1}(b));var Y;const $=Nn((n=>fY(n?s.getPackageJsonAutoImportProvider():e,s)));if(S||L)!function(){U=2;const e=um(x),n=m||e&&!x.isTypeOf||vm(x.parent)||IX(b,t,d),r=lJ(x);if(Td(x)||e||Rk(x)){const t=MI(x.parent);t&&(M=!0);let i=d.getSymbolAtLocation(x);if(i&&(i=ME(i,d),1920&i.flags)){const o=d.getExportsOfModule(i);Nt.assertEachIsDefined(o,"getExportsOfModule() should all be defined");const s=n=>d.isValidPropertyAccess(e?x:x.parent,n.name),c=e=>Jre(e,d),l=t?e=>{var n;return!!(1920&e.flags)&&!(null==(n=e.declarations)?void 0:n.every((e=>e.parent===x.parent)))}:r?e=>c(e)||s(e):n?c:s;for(const e of o)l(e)&&K.push(e);if(!n&&i.declarations&&i.declarations.some((e=>308!==e.kind&&264!==e.kind&&263!==e.kind))){let e=d.getTypeOfSymbolAtLocation(i,x).getNonOptionalType(),n=!1;if(e.isNullableType()){const t=S&&!L&&!1!==a.includeAutomaticOptionalChainCompletions;(t||L)&&(e=e.getNonNullableType(),t&&(n=!0))}te(e,!!(32768&x.flags),n)}return}}if(!n){d.tryGetThisTypeAt(x,!1);let e=d.getTypeAtLocation(x).getNonOptionalType(),n=!1;if(e.isNullableType()){const t=S&&!L&&!1!==a.includeAutomaticOptionalChainCompletions;(t||L)&&(e=e.getNonNullableType(),t&&(n=!0))}te(e,!!(32768&x.flags),n)}}();else if(k)K=d.getJsxIntrinsicTagNamesAt(N),Nt.assertEachIsDefined(K,"getJsxIntrinsicTagNames() should all be defined"),ae(),U=1,O=0;else if(I){const e=b.parent.parent.openingElement.tagName,n=d.getSymbolAtLocation(e);n&&(K=[n]),U=1,O=0}else if(!ae())return O?nre(O,g,M):void 0;n("getCompletionData: Semantic work: "+(cr()-G));const Q=v&&function(e,n,t,r){const{parent:i}=e;switch(e.kind){case 79:return P$(e,r);case 63:switch(i.kind){case 257:return r.getContextualType(i.initializer);case 223:return r.getTypeAtLocation(i.left);case 288:return r.getContextualTypeForJsxAttribute(i);default:return}case 103:return r.getContextualType(i);case 82:const a=En(i,hw);return a?V$(a,r):void 0;case 18:return!mw(i)||aw(i.parent)||lw(i.parent)?void 0:r.getContextualTypeForJsxAttribute(i.parent);default:const o=rue.getArgumentInfoForCompletions(e,n,t);return o?r.getContextualTypeForArgumentAtIndex(o.invocation,o.argumentIndex+(27===e.kind?1:0)):G$(e.kind)&&qk(i)&&G$(i.operatorToken.kind)?r.getTypeAtLocation(i.left):r.getContextualType(e)}}(v,i,t,d),Z=ee(Q&&(Q.isUnion()?Q.types:[Q]),(e=>!e.isLiteral()||1024&e.flags?void 0:e.value)),ne=v&&Q&&function(e,n,t){return C(n&&(n.isUnion()?n.types:[n]),(n=>{const r=n&&n.symbol;return r&&424&r.flags&&!KE(r)?Are(r,e,t):void 0}))}(v,Q,d);return{kind:0,symbols:K,completionKind:U,isInSnippetScope:h,propertyAccessToConvert:E,isNewIdentifierLocation:M,location:N,keywordFilters:O,literals:Z,symbolToOriginInfoMap:W,recommendedCompletion:ne,previousToken:v,contextToken:b,isJsxInitializer:w,insideJsDocTagTypeExpression:m,symbolToSortTextMap:q,isTypeOnlyLocation:J,isJsxIdentifierExpected:R,isRightOfOpenTag:k,isRightOfDotOrQuestionDot:S||L,importStatementCompletion:T,hasUnresolvedAutoImports:H,flags:P};function te(e,n,t){M=!!e.getStringIndexType(),L&&ce(e.getCallSignatures())&&(M=!0);const r=202===x.kind?x:x.parent;if(u)for(const n of e.getApparentProperties())d.isValidPropertyAccessForCompletions(r,e,n)&&re(n,!1,t);else K.push(...j(Gre(e,d),(n=>d.isValidPropertyAccessForCompletions(r,e,n))));if(n&&a.includeCompletionsWithInsertText){const n=d.getPromisedTypeOfPromise(e);if(n)for(const e of n.getApparentProperties())d.isValidPropertyAccessForCompletions(r,n,e)&&re(e,!0,t)}}function re(n,r,o){var c;const l=C(n.declarations,(e=>En(Wc(e),VC)));if(l){const r=ie(l.expression),o=r&&d.getSymbolAtLocation(r),f=o&&Are(o,b,d);if(f&&$E(z,WG(f))){const n=K.length;K.push(f);const r=f.parent;if(r&&aY(r)&&d.tryGetMemberInModuleExportsAndProperties(f.name,r)===f){const o=Zs(dv(r.name))?null==(c=wp(r))?void 0:c.fileName:void 0,{moduleSpecifier:l}=(B||(B=Ote.createImportSpecifierResolver(t,e,s,a))).getModuleSpecifierForBestExportInfo([{exportKind:0,moduleFileName:o,isFromPackageJson:!1,moduleSymbol:r,symbol:f,targetFlags:ME(f,d).flags}],i,mS(N))||{};if(l){const e={kind:p(6),moduleSymbol:r,isDefaultExport:!1,symbolName:f.name,exportName:f.name,fileName:o,moduleSpecifier:l};W[n]=e}}else W[n]={kind:p(2)}}else a.includeCompletionsWithInsertText&&(_(n),u(n),K.push(n))}else _(n),u(n),K.push(n);function u(e){(function(e){return!!(e.valueDeclaration&&32&Tb(e.valueDeclaration)&&Dd(e.valueDeclaration.parent))})(e)&&(q[WG(e)]=Fte.LocalDeclarationPriority)}function _(e){a.includeCompletionsWithInsertText&&(r&&$E(z,WG(e))?W[K.length]={kind:p(8)}:o&&(W[K.length]={kind:16}))}function p(e){return o?16|e:e}}function ie(e){return AC(e)?e:Rk(e)?ie(e.expression):void 0}function ae(){const n=function(){const e=function(e){if(!e)return;const n=e.parent;switch(e.kind){case 18:if(sk(n))return n;break;case 26:case 27:case 79:if(168===n.kind&&sk(n.parent))return n.parent}}(b);if(!e)return 0;const n=(fk(e.parent)?e.parent:void 0)||e,t=Bre(n,d);if(!t)return 0;const r=d.getTypeFromTypeNode(n),i=Gre(t,d),a=Gre(r,d),o=new Set;return a.forEach((e=>o.add(e.escapedName))),K=de(K,j(i,(e=>!o.has(e.escapedName)))),U=0,M=!0,1}()||function(){const n=K.length,t=function(e){if(e){const{parent:n}=e;switch(e.kind){case 18:case 27:if(wk(n)||Lk(n))return n;break;case 41:return JC(n)?En(n.parent,wk):void 0;case 79:return"async"===e.text&&Ew(e.parent)?e.parent.parent:void 0}}}(b);if(!t)return 0;let i,o;if(U=0,207===t.kind){const e=function(e,n){const t=n.getContextualType(e);if(t)return t;const r=zg(e.parent);return qk(r)&&63===r.operatorToken.kind&&e===r.left?n.getTypeAtLocation(r):uu(r)?n.getContextualType(r):void 0}(t,d);if(void 0===e)return 33554432&t.flags?2:(V=!0,0);const n=d.getContextualType(t,4),r=(n||e).getStringIndexType(),a=(n||e).getNumberIndexType();if(M=!!r||!!a,i=Pre(e,n,t,d),o=t.properties,0===i.length&&!a)return V=!0,0}else{Nt.assert(203===t.kind),M=!1;const e=Wy(t.parent);if(!Am(e))return Nt.fail("Root declaration is not variable-like.");let n=$u(e)||!!Jv(e)||247===e.parent.parent.kind;if(n||166!==e.kind||(uu(e.parent)?n=!!d.getContextualType(e.parent):171!==e.parent.kind&&175!==e.parent.kind||(n=uu(e.parent.parent)&&!!d.getContextualType(e.parent.parent))),n){const e=d.getTypeAtLocation(t);if(!e)return 2;i=d.getPropertiesOfType(e).filter((n=>d.isPropertyAccessible(t,!1,!1,e,n))),o=t.elements}}if(i&&i.length>0){const d=function(e,n){if(0===n.length)return e;const t=new Set,r=new Set;for(const e of n){if(299!==e.kind&&300!==e.kind&&205!==e.kind&&171!==e.kind&&174!==e.kind&&175!==e.kind&&301!==e.kind)continue;if(he(e))continue;let n;if(Tw(e))pe(e,t);else if(kk(e)&&e.propertyName)79===e.propertyName.kind&&(n=e.propertyName.escapedText);else{const t=Wc(e);n=t&&Ry(t)?Dy(t):void 0}void 0!==n&&r.add(n)}const i=e.filter((e=>!r.has(e.escapedName)));return me(t,i),i}(i,Nt.checkDefined(o));K=de(K,d),fe(),207===t.kind&&a.includeCompletionsWithObjectLiteralMethodSnippets&&a.includeCompletionsWithInsertText&&(function(e){var n;for(let t=e;t<K.length;t++){const e=K[t],i=WG(e),a=null==W?void 0:W[t],o=Ire(e,BT(r),a,0,!1);if(o){const e=null!=(n=q[i])?n:Fte.LocationPriority,{name:t}=o;q[i]=Fte.ObjectLiteralProperty(e,t)}}}(n),l=d,u=t,Ah(N)||l.forEach((n=>{if(!(8196&n.flags))return;const t=Ire(n,BT(r),void 0,0,!1);if(!t)return;const{name:i}=t,o=function(e,n,t,r,i,a,o,s){const c=o.includeCompletionsWithSnippetText||void 0;let l=n;const d=t.getSourceFile(),u=function(e,n,t,r,i,a){const o=e.getDeclarations();if(!o||!o.length)return;const s=r.getTypeChecker(),c=o[0],l=g$(Wc(c),!1),d=s.getWidenedType(s.getTypeOfSymbolAtLocation(e,n)),u=33554432|(0===EY(t,a)?268435456:0);switch(c.kind){case 168:case 169:case 170:case 171:{let e=1048576&d.flags&&d.types.length<10?s.getUnionType(d.types,2):d;if(1048576&e.flags){const n=j(e.types,(e=>s.getSignaturesOfType(e,0).length>0));if(1!==n.length)return;e=n[0]}if(1!==s.getSignaturesOfType(e,0).length)return;const t=s.typeToTypeNode(e,n,u,Ote.getNoopSymbolTrackerWithResolver({program:r,host:i}));if(!t||!ik(t))return;let o;if(a.includeCompletionsWithSnippetText){const e=pA.createEmptyStatement();o=pA.createBlock([e],!0),uL(e,{kind:0,order:0})}else o=pA.createBlock([],!0);const c=t.parameters.map((e=>pA.createParameterDeclaration(void 0,e.dotDotDotToken,e.name,void 0,void 0,e.initializer)));return pA.createMethodDeclaration(void 0,void 0,l,void 0,void 0,c,void 0,o)}default:return}}(e,t,d,r,i,o);if(!u)return;const _=_re({removeComments:!0,module:a.module,target:a.target,omitTrailingSemicolon:!1,newLine:LQ(r$(i,null==s?void 0:s.options))});l=s?_.printAndFormatSnippetList(80,pA.createNodeArray([u],!0),d,s):_.printSnippetList(80,pA.createNodeArray([u],!0),d);const p=yj({removeComments:!0,module:a.module,target:a.target,omitTrailingSemicolon:!0}),f=pA.createMethodSignature(void 0,"",u.questionToken,u.typeParameters,u.parameters,u.type);return{isSnippet:c,insertText:l,labelDetails:{detail:p.printNode(4,f,d)}}}(n,i,u,e,s,r,a,c);if(!o)return;const l={kind:128,...o};P|=32,W[K.length]=l,K.push(n)})))}var l,u;return 1}()||(T?(M=!0,oe(),1):0)||function(){if(!b)return 0;const e=18===b.kind||27===b.kind?En(b.parent,rT):iY(b)?En(b.parent.parent,rT):void 0;if(!e)return 0;iY(b)||(O=8);const{moduleSpecifier:n}=272===e.kind?e.parent.parent:e.parent;if(!n)return M=!0,272===e.kind?2:0;const t=d.getSymbolAtLocation(n);if(!t)return M=!0,2;U=3,M=!1;const r=d.getExportsAndPropertiesOfModule(t),i=new Set(e.elements.filter((e=>!he(e))).map((e=>(e.propertyName||e.name).escapedText))),a=r.filter((e=>"default"!==e.escapedName&&!i.has(e.escapedName)));return K=de(K,a),a.length||(O=0),1}()||function(){var e;const n=!b||18!==b.kind&&27!==b.kind?void 0:En(b.parent,$I);if(!n)return 0;const t=Rc(n,yt(Aw,MI));return U=5,M=!1,null==(e=t.locals)||e.forEach(((e,n)=>{var r,i;K.push(e),(null==(i=null==(r=t.symbol)?void 0:r.exports)?void 0:i.has(n))&&(q[WG(e)]=Fte.OptionalMember)})),1}()||(function(e){if(e){const n=e.parent;switch(e.kind){case 20:case 27:return YC(e.parent)?e.parent:void 0;default:if(le(e))return n.parent}}}(b)?(U=5,M=!0,O=4,1):0)||function(){const e=function(e,n,t,r){var i;switch(t.kind){case 354:return En(t.parent,QE);case 1:const n=En(Fe(Tn(t.parent,Aw).statements),QE);if(n&&!ZJ(n,19,e))return n;break;case 79:if(Fc(t))return;if(qC(t.parent)&&t.parent.initializer===t)return;if(Ure(t))return Rc(t,QE)}if(n){if(135===t.kind||AC(n)&&qC(n.parent)&&Dd(t))return Rc(n,Dd);switch(n.kind){case 63:return;case 26:case 19:return Ure(t)&&t.parent.name===t?t.parent.parent:En(t,QE);case 18:case 27:return En(n.parent,QE);default:if(QE(t)){if(bs(e,n.getEnd()).line!==bs(e,r).line)return t;const a=Dd(n.parent.parent)?Dre:Nre;return a(n.kind)||41===n.kind||AC(n)&&a(null!=(i=Fc(n))?i:0)?n.parent.parent:void 0}return}}}(t,b,N,i);if(!e)return 0;if(U=3,M=!0,O=41===b.kind?0:Dd(e)?2:3,!Dd(e))return 1;const n=26===b.kind?b.parent.parent:b.parent;let r=Nd(n)?Tb(n):0;if(79===b.kind&&!he(b))switch(b.getText()){case"private":r|=8;break;case"static":r|=32;break;case"override":r|=16384}if(XC(n)&&(r|=32),!(8&r)){const n=X(Dd(e)&&16384&r?Et(ly(e)):_y(e),(n=>{const t=d.getTypeAtLocation(n);return 32&r?(null==t?void 0:t.symbol)&&d.getPropertiesOfType(d.getTypeOfSymbolAtLocation(t.symbol,e)):t&&d.getPropertiesOfType(t)}));K=de(K,function(e,n,t){const r=new Set;for(const e of n){if(169!==e.kind&&171!==e.kind&&174!==e.kind&&175!==e.kind)continue;if(he(e))continue;if(lb(e,8))continue;if(ub(e)!==!!(32&t))continue;const n=wy(e.name);n&&r.add(n)}return e.filter((e=>!(r.has(e.escapedName)||!e.declarations||8&OE(e)||e.valueDeclaration&&hd(e.valueDeclaration))))}(n,e.members,r)),A(K,((e,n)=>{const t=null==e?void 0:e.valueDeclaration;if(t&&Nd(t)&&t.name&&VC(t.name)){const t={kind:512,symbolName:d.symbolToString(e)};W[n]=t}}))}return 1}()||function(){const e=function(e){if(e){const n=e.parent;switch(e.kind){case 31:case 30:case 43:case 79:case 208:case 289:case 288:case 290:if(n&&(282===n.kind||283===n.kind)){if(31===e.kind){const r=gX(e.pos,t,void 0);if(!n.typeArguments||r&&43===r.kind)break}return n}if(288===n.kind)return n.parent.parent;break;case 10:if(n&&(288===n.kind||290===n.kind))return n.parent.parent;break;case 19:if(n&&291===n.kind&&n.parent&&288===n.parent.kind)return n.parent.parent.parent;if(n&&290===n.kind)return n.parent.parent}}}(b),n=e&&d.getContextualType(e.attributes);if(!n)return 0;const r=e&&d.getContextualType(e.attributes,4);return K=de(K,function(e,n){const t=new Set,r=new Set;for(const e of n)he(e)||(288===e.kind?t.add(e.name.escapedText):fw(e)&&pe(e,r));const i=e.filter((e=>!t.has(e.escapedName)));return me(r,i),i}(Pre(n,r,e.attributes,d),e.attributes.properties)),fe(),U=3,M=!1,1}()||(function(){O=function(e){if(e){let n;const t=Rc(e.parent,(e=>Dd(e)?"quit":!(!Cd(e)||n!==e.body)||(n=e,!1)));return t&&t}}(b)?5:1,U=1,M=se(),v!==b&&Nt.assert(!!v,"Expected 'contextToken' to be defined when different from 'previousToken'.");const e=v!==b?v.getStart():i,n=function(e,n,t){let r=e;for(;r&&!JJ(r,n,t);)r=r.parent;return r}(b,e,t)||t;h=function(e){switch(e.kind){case 308:case 225:case 291:case 238:return!0;default:return Mu(e)}}(n);const r=2887656|(J?0:111551),o=v&&!mS(v);K=de(K,d.getSymbolsInScope(n,r)),Nt.assertEachIsDefined(K,"getSymbolsInScope() should all be defined");for(let e=0;e<K.length;e++){const n=K[e];if(d.isArgumentsSymbol(n)||ce(n.declarations,(e=>e.getSourceFile()===t))||(q[WG(n)]=Fte.GlobalsOrKeywords),o&&!(111551&n.flags)){const t=n.declarations&&D(n.declarations,ld);if(t){const n={kind:64,declaration:t};W[e]=n}}}if(a.includeCompletionsWithInsertText&&308!==n.kind){const e=d.tryGetThisTypeAt(n,!1,Dd(n.parent)?n:void 0);if(e&&!function(e,n,t){const r=t.resolveName("self",void 0,111551,!1);if(r&&t.getTypeOfSymbolAtLocation(r,n)===e)return!0;const i=t.resolveName("global",void 0,111551,!1);if(i&&t.getTypeOfSymbolAtLocation(i,n)===e)return!0;const a=t.resolveName("globalThis",void 0,111551,!1);return!(!a||t.getTypeOfSymbolAtLocation(a,n)!==e)}(e,t,d))for(const n of Gre(e,d))W[K.length]={kind:1},K.push(n),q[WG(n)]=Fte.SuggestedClassMembers}oe(),J&&(O=b&&_u(b.parent)?6:7)}(),1);return 1===n}function oe(){var n,r;if(!(T||!V&&a.includeCompletionsForModuleExports&&(t.externalModuleIndicator||t.commonJsModuleIndicator||pY(e.getCompilerOptions())||uY(e))))return;if(Nt.assert(!(null==o?void 0:o.data),"Should not run 'collectAutoImports' when faster path is available via `data`"),o&&!o.source)return;P|=1;const c=v===b&&T?"":v&&AC(v)?v.text.toLowerCase():"",d=null==(n=s.getModuleSpecifierCache)?void 0:n.call(s),u=BQ(t,s,e,a,l),_=null==(r=s.getPackageJsonAutoImportProvider)?void 0:r.call(s),p=o?void 0:aQ(t,a,s);function f(n){const r=En(n.moduleSymbol.valueDeclaration,Aw);if(!r){const r=dv(n.moduleSymbol.name);return(!lz.nodeCoreModules.has(r)||pt(r,"node:")===AQ(t,e))&&(!p||p.allowsImportingAmbientModule(n.moduleSymbol,$(n.isFromPackageJson)))}return PQ(n.isFromPackageJson?_:e,t,r,a,p,$(n.isFromPackageJson),d)}Yte("collectAutoImports",s,B||(B=Ote.createImportSpecifierResolver(t,e,s,a)),e,i,a,!!T,mS(N),(e=>{u.search(t.path,k,((e,n)=>{if(!Ks(e,BT(s.getCompilationSettings())))return!1;if(!o&&by(e))return!1;if(!(J||T||111551&n))return!1;if(J&&!(790504&n))return!1;const t=e.charCodeAt(0);return(!k||!(t<65||t>90))&&(!!o||Yre(e,c))}),((n,t,r,i)=>{if(o&&!ce(n,(e=>o.source===dv(e.moduleSymbol.name))))return;if(!(n=j(n,f)).length)return;const a=e.tryResolve(n,r)||{};if("failed"===a)return;let s,c=n[0];"skipped"!==a&&({exportInfo:c=n[0],moduleSpecifier:s}=a);const l=1===c.exportKind;!function(e,n){const t=WG(e);q[t]!==Fte.GlobalsOrKeywords&&(W[K.length]=n,q[t]=T?Fte.LocationPriority:Fte.AutoImportSuggestions,K.push(e))}(l&&eE(c.symbol)||c.symbol,{kind:s?32:4,moduleSpecifier:s,symbolName:t,exportMapKey:i,exportName:2===c.exportKind?"export=":c.symbol.name,fileName:c.moduleFileName,isDefaultExport:l,moduleSymbol:c.moduleSymbol,isFromPackageJson:c.isFromPackageJson})})),H=e.skippedAny(),P|=e.resolvedAny()?8:0,P|=e.resolvedBeyondLimit()?16:0}))}function se(){if(b){const e=b.parent.kind,n=Mre(b);switch(n){case 27:return 210===e||173===e||211===e||206===e||223===e||181===e||207===e;case 20:return 210===e||173===e||211===e||214===e||193===e;case 22:return 206===e||178===e||164===e;case 142:case 143:case 100:return!0;case 24:return 264===e;case 18:return 260===e||207===e;case 63:return 257===e||223===e;case 15:return 225===e;case 16:return 236===e;case 132:return 171===e||300===e;case 41:return 171===e}if(Dre(n))return!0}return!1}function le(e){return!!e.parent&&HC(e.parent)&&YC(e.parent.parent)&&(vd(e.kind)||Zg(e))}function ue(e,n){return 63!==e.kind&&(26===e.kind||!SE(e.end,n,t))}function _e(e){return wd(e)&&173!==e}function pe(e,n){const t=e.expression,r=d.getSymbolAtLocation(t),i=r&&d.getTypeOfSymbolAtLocation(r,t),a=i&&i.properties;a&&a.forEach((e=>{n.add(e.name)}))}function fe(){K.forEach((e=>{var n;if(16777216&e.flags){const t=WG(e);q[t]=null!=(n=q[t])?n:Fte.OptionalMember}}))}function me(e,n){if(0!==e.size)for(const t of n)e.has(t.name)&&(q[WG(t)]=Fte.MemberDeclaredBySpreadAssignment)}function he(e){return e.getStart(t)<=i&&i<=e.getEnd()}}function Cre(e,n){const t=gX(e,n);return t&&e<=t.end&&(Dl(t)||hy(t.kind))?{contextToken:gX(t.getFullStart(),n,void 0),previousToken:t}:{contextToken:t,previousToken:t}}function kre(e,n,t,r){const i=n.isPackageJsonImport?r.getPackageJsonAutoImportProvider():t,a=i.getTypeChecker(),o=n.ambientModuleName?a.tryFindAmbientModule(n.ambientModuleName):n.fileName?a.getMergedSymbol(Nt.checkDefined(i.getSourceFile(n.fileName)).symbol):void 0;if(!o)return;let s="export="===n.exportName?a.resolveExternalModuleSymbol(o):a.tryGetMemberInModuleExportsAndProperties(n.exportName,o);return s?(s="default"===n.exportName&&eE(s)||s,{symbol:s,origin:fre(n,e,o)}):void 0}function Ire(e,n,t,r,i){if(function(e){return!!(e&&256&e.kind)}(t))return;const a=function(e){return Kte(e)||Wte(e)||Xte(e)}(t)?t.symbolName:e.name;if(void 0===a||1536&e.flags&&Ph(a.charCodeAt(0))||Py(e))return;const o={name:a,needsConvertPropertyAccess:!1};if(Ks(a,n,i?1:0)||e.valueDeclaration&&hd(e.valueDeclaration))return o;switch(r){case 3:return Xte(t)?{name:t.symbolName,needsConvertPropertyAccess:!1}:void 0;case 0:return{name:JSON.stringify(a),needsConvertPropertyAccess:!1};case 2:case 1:return 32===a.charCodeAt(0)?void 0:{name:a,needsConvertPropertyAccess:!0};case 5:case 4:return o;default:Nt.assertNever(r)}}function wre(e,n){if(!n)return Rre(e);const t=e+8+1;return Vte[t]||(Vte[t]=Rre(e).filter((e=>!function(e){switch(e){case 126:case 131:case 160:case 134:case 136:case 92:case 159:case 117:case 138:case 118:case 140:case 141:case 142:case 143:case 144:case 148:case 149:case 161:case 121:case 122:case 123:case 146:case 152:case 153:case 154:case 156:case 157:return!0;default:return!1}}(_s(e.name)))))}function Rre(e){return Vte[e]||(Vte[e]=jte().filter((n=>{const t=_s(n.name);switch(e){case 0:return!1;case 1:return Ore(t)||136===t||142===t||154===t||143===t||126===t||tY(t)&&155!==t;case 5:return Ore(t);case 2:return Dre(t);case 3:return Nre(t);case 4:return vd(t);case 6:return tY(t)||85===t;case 7:return tY(t);case 8:return 154===t;default:return Nt.assertNever(e)}})))}function Nre(e){return 146===e}function Dre(e){switch(e){case 126:case 127:case 135:case 137:case 151:case 132:case 136:case 161:return!0;default:return bd(e)}}function Ore(e){return 132===e||133===e||128===e||150===e||154===e||!gy(e)&&!Dre(e)}function Mre(e){var n;return AC(e)?null!=(n=Fc(e))?n:0:e.kind}function Pre(e,n,t,r){const i=n&&n!==e,a=!i||3&n.flags?e:r.getUnionType([e,n]),o=function(e,n,t){return e.isUnion()?t.getAllPossiblePropertiesOfTypes(j(e.types,(e=>!(134348796&e.flags||t.isArrayLikeType(e)||t.isTypeInvalidDueToUnionDiscriminant(e,n)||t.typeHasCallOrConstructSignatures(e)||e.isClass()&&Fre(e.getApparentProperties()))))):e.getApparentProperties()}(a,t,r);return a.isClass()&&Fre(o)?[]:i?j(o,(function(e){return!S(e.declarations)||ce(e.declarations,(e=>e.parent!==t))})):o}function Fre(e){return ce(e,(e=>!!(24&OE(e))))}function Gre(e,n){return e.isUnion()?Nt.checkEachDefined(n.getAllPossiblePropertiesOfTypes(e.types),"getAllPossiblePropertiesOfTypes() should all be defined"):Nt.checkEachDefined(e.getApparentProperties(),"getApparentProperties() should all be defined")}function Bre(e,n){if(!e)return;if(jd(e)&&e_(e.parent))return n.getTypeArgumentConstraint(e);const t=Bre(e.parent,n);if(t)switch(e.kind){case 168:return n.getTypeOfPropertyOfContextualType(t,e.symbol.escapedName);case 190:case 184:case 189:return t}}function Ure(e){return e.parent&&Ud(e.parent)&&QE(e.parent.parent)}function Vre({left:e}){return Fp(e)}function jre(e){var n,t,r;let i,a=!1;const o=function(){const n=e.parent;if(BI(n))return i=154===e.kind?void 0:154,zre(n.moduleReference)?n:void 0;if(Wre(n,e)&&qre(n.parent))return n;if(!zI(n)&&!WI(n))return GC(e)&&Aw(n)?(i=154,e):GC(e)&&UI(n)?(i=154,zre(n.moduleSpecifier)?n:void 0):void 0;if(n.parent.isTypeOnly||18!==e.kind&&100!==e.kind&&27!==e.kind||(i=154),qre(n)){if(19!==e.kind&&79!==e.kind)return n.parent.parent;a=!0,i=158}}();return{isKeywordOnlyCompletion:a,keywordCompletion:i,isNewIdentifierLocation:!(!o&&154!==i),isTopLevelTypeOnly:!!(null==(t=null==(n=En(o,UI))?void 0:n.importClause)?void 0:t.isTypeOnly)||!!(null==(r=En(o,BI))?void 0:r.isTypeOnly),couldBeTypeOnlyImportSpecifier:!!o&&Wre(o,e),replacementSpan:Hre(o)}}function Hre(e){var n,t,r;if(!e)return;const i=null!=(n=Rc(e,yt(UI,BI)))?n:e,a=i.getSourceFile();if(hE(i,a))return XX(i,a);Nt.assert(100!==i.kind&&273!==i.kind);const o=269===i.kind?null!=(r=Kre(null==(t=i.importClause)?void 0:t.namedBindings))?r:i.moduleSpecifier:i.moduleReference,s={pos:i.getFirstToken().getStart(),end:o.pos};return hE(s,a)?QX(s):void 0}function Kre(e){var n;return D(null==(n=En(e,zI))?void 0:n.elements,(n=>{var t;return!n.propertyName&&by(n.name.text)&&27!==(null==(t=gX(n.name.pos,e.getSourceFile(),e))?void 0:t.kind)}))}function Wre(e,n){return JI(e)&&(e.isTypeOnly||n===e.name&&iY(n))}function qre(e){if(!zre(e.parent.parent.moduleSpecifier)||e.parent.name)return!1;if(zI(e)){const n=Kre(e);return(n?e.elements.indexOf(n):e.elements.length)<2}return!0}function zre(e){var n;return!!Fp(e)||!(null==(n=En(iw(e)?e.expression:e,t_))?void 0:n.text)}function Jre(e,n,t=new Map){return r(e)||r(ME(e.exportSymbol||e,n));function r(e){return!!(788968&e.flags)||n.isUnknownSymbol(e)||!!(1536&e.flags)&&$E(t,WG(e))&&n.getExportsOfModule(e).some((e=>Jre(e,n,t)))}}function Xre(e,n){const t=ME(e,n).declarations;return!!S(t)&&N(t,SQ)}function Yre(e,n){if(0===n.length)return!0;let t,r=!1,i=0;const a=e.length;for(let s=0;s<a;s++){const a=e.charCodeAt(s),c=n.charCodeAt(i);if((a===c||a===(97<=(o=c)&&o<=122?o-32:o))&&(r||(r=void 0===t||97<=t&&t<=122&&65<=a&&a<=90||95===t&&95!==a),r&&i++,i===n.length))return!0;t=a}var o;return!1}var $re,Qre,Zre,eie=E({"src/services/completions.ts"(){ufe(),Die(),Mte=100,Pte=1e3,Fte={LocalDeclarationPriority:"10",LocationPriority:"11",OptionalMember:"12",MemberDeclaredBySpreadAssignment:"13",SuggestedClassMembers:"14",GlobalsOrKeywords:"15",AutoImportSuggestions:"16",ClassMemberSnippets:"17",JavascriptIdentifiers:"18",Deprecated:e=>"z"+e,ObjectLiteralProperty:(e,n)=>`${e}\0${n}\0`,SortBelow:e=>e+"1"},Gte=(e=>(e.ThisProperty="ThisProperty/",e.ClassMemberSnippet="ClassMemberSnippet/",e.TypeOnlyAlias="TypeOnlyAlias/",e.ObjectLiteralMethodSnippet="ObjectLiteralMethodSnippet/",e.SwitchCases="SwitchCases/",e))(Gte||{}),Bte=(e=>(e[e.ThisType=1]="ThisType",e[e.SymbolMember=2]="SymbolMember",e[e.Export=4]="Export",e[e.Promise=8]="Promise",e[e.Nullable=16]="Nullable",e[e.ResolvedExport=32]="ResolvedExport",e[e.TypeOnlyAlias=64]="TypeOnlyAlias",e[e.ObjectLiteralMethod=128]="ObjectLiteralMethod",e[e.Ignore=256]="Ignore",e[e.ComputedPropertyName=512]="ComputedPropertyName",e[e.SymbolMemberNoExport=2]="SymbolMemberNoExport",e[e.SymbolMemberExport=6]="SymbolMemberExport",e))(Bte||{}),Ute=(e=>(e[e.ObjectPropertyDeclaration=0]="ObjectPropertyDeclaration",e[e.Global=1]="Global",e[e.PropertyAccess=2]="PropertyAccess",e[e.MemberLike=3]="MemberLike",e[e.String=4]="String",e[e.None=5]="None",e))(Ute||{}),Vte=[],jte=Rn((()=>{const e=[];for(let n=81;n<=162;n++)e.push({name:us(n),kind:"keyword",kindModifiers:"",sortText:Fte.GlobalsOrKeywords});return e}))}});function nie(){const e=new Map;return{add:function(n){const t=e.get(n.name);(!t||$re[t.kind]<$re[n.kind])&&e.set(n.name,n)},has:e.has.bind(e),values:e.values.bind(e)}}function tie(e,n,t,r,i,a,o,s,c){if(WX(e,n)){const t=function(e,n,t,r){const i=_X(e,n),a=Bs(e.text,i.pos),o=a&&D(a,(e=>n>=e.pos&&n<=e.end));if(!o)return;const s=e.text.slice(o.pos,n),c=Qre.exec(s);if(!c)return;const[,l,d,u]=c,_=co(e.path),p="path"===d?hie(u,_,fie(t,0,e),r,!0,e.path):"types"===d?Aie(r,t,_,Eie(u),fie(t,1,e)):Nt.fail();return _ie(u,o.pos+l.length,Qe(p.values()))}(e,n,r,i);return t&&iie(t)}if(EX(e,n,t)){if(!t||!t_(t))return;return function(e,n,t,r,i,a,o,s,c,l){if(void 0===e)return;const d=YX(n);switch(e.kind){case 0:return iie(e.paths);case 1:{const u=[];return yre(e.symbols,u,n,n,t,c,t,r,i,99,a,4,s,o,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,l),{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:e.hasIndexSignature,optionalReplacementSpan:d,entries:u}}case 2:{const t=e.types.map((e=>({name:e.value,kindModifiers:"",kind:"string",sortText:Fte.LocationPriority,replacementSpan:JX(n)})));return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:e.isNewIdentifier,optionalReplacementSpan:d,entries:t}}default:return Nt.assertNever(e)}}(oie(e,t,n,a.getTypeChecker(),r,i,s),t,e,i,a,o,r,s,n,c)}}function rie(e,n,t,r,i,a,o,s,c){if(!r||!t_(r))return;const l=oie(n,r,t,i,a,o,c);return l&&function(e,n,t,r,i,a){switch(t.kind){case 0:{const n=D(t.paths,(n=>n.name===e));return n&&xre(e,aie(n.extension),n.kind,[YY(e)])}case 1:{const o=D(t.symbols,(n=>n.name===e));return o&&Tre(o,o.name,i,r,n,a)}case 2:return D(t.types,(n=>n.value===e))?xre(e,"","string",[YY(e)]):void 0;default:return Nt.assertNever(t)}}(e,r,l,n,i,s)}function iie(e){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!0,entries:e.map((({name:e,kind:n,span:t,extension:r})=>({name:e,kind:n,kindModifiers:aie(r),sortText:Fte.LocationPriority,replacementSpan:t})))}}function aie(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".d.mts":return".d.mts";case".mjs":return".mjs";case".mts":return".mts";case".d.cts":return".d.cts";case".cjs":return".cjs";case".cts":return".cts";case".tsbuildinfo":return Nt.fail("Extension .tsbuildinfo is unsupported.");case void 0:return"";default:return Nt.assertNever(e)}}function oie(e,n,t,r,i,a,o){const s=sie(n.parent);switch(s.kind){case 198:{const l=sie(s.parent);switch(l.kind){case 230:case 180:{const e=Rc(s,(e=>e.parent===l));return e?{kind:2,types:lie(r.getTypeArgumentConstraint(e)),isNewIdentifier:!1}:void 0}case 196:const{indexType:d,objectType:u}=l;if(!VJ(d,t))return;return cie(r.getTypeFromTypeNode(u));case 202:return{kind:0,paths:pie(e,n,i,a,r,o)};case 189:{if(!rk(l.parent))return;const e=(c=s,ee(l.types,(e=>e!==c&&Tk(e)&&cC(e.literal)?e.literal.text:void 0)));return{kind:2,types:lie(r.getTypeArgumentConstraint(l)).filter((n=>!G(e,n.value))),isNewIdentifier:!1}}default:return}}case 299:return wk(s.parent)&&s.name===n?function(e,n){const t=e.getContextualType(n);if(!t)return;return{kind:1,symbols:Pre(t,e.getContextualType(n,4),n,e),hasIndexSignature:U$(t)}}(r,s.parent):l()||l(0);case 209:{const{expression:e,argumentExpression:t}=s;return n===Yg(t)?cie(r.getTypeAtLocation(e)):void 0}case 210:case 211:case 288:if(!function(e){return Dk(e.parent)&&De(e.parent.arguments)===e&&AC(e.parent.expression)&&"require"===e.parent.expression.escapedText}(n)&&!lm(s)){const i=rue.getArgumentInfoForCompletions(288===s.kind?s.parent:n,t,e);return i&&function(e,n,t,r){let i=!1;const a=new Map,o=[],s=ju(e)?Nt.checkDefined(Rc(n.parent,_w)):n;r.getResolvedSignatureForStringLiteralCompletions(e,s,o);const c=X(o,(n=>{if(!QG(n)&&t.argumentCount>n.parameters.length)return;let o=n.getTypeParameterAtPosition(t.argumentIndex);if(ju(e)){const e=r.getTypeOfPropertyOfType(o,s.name.text);e&&(o=e)}return i=i||!!(4&o.flags),lie(o,a)}));return S(c)?{kind:2,types:c,isNewIdentifier:i}:void 0}(i.invocation,n,i,r)||l()}case 269:case 275:case 280:return{kind:0,paths:pie(e,n,i,a,r,o)};case 292:const d=RQ(r,s.parent.clauses),u=l();if(!u)return;return{kind:2,types:u.types.filter((e=>!d.hasValue(e.value))),isNewIdentifier:!1};default:return l()}var c;function l(e=4){const t=lie(P$(n,r,e));if(t.length)return{kind:2,types:t,isNewIdentifier:!1}}}function sie(e){switch(e.kind){case 193:return qg(e);case 214:return zg(e);default:return e}}function cie(e){return e&&{kind:1,symbols:j(e.getApparentProperties(),(e=>!(e.valueDeclaration&&hd(e.valueDeclaration)))),hasIndexSignature:U$(e)}}function lie(e,n=new Map){return e?(e=lY(e)).isUnion()?X(e.types,(e=>lie(e,n))):!e.isStringLiteral()||1024&e.flags||!$E(n,e.value)?i:[e]:i}function die(e,n,t){return{name:e,kind:n,extension:t}}function uie(e){return die(e,"directory",void 0)}function _ie(e,n,t){const r=function(e,n){const t=Math.max(e.lastIndexOf(ja),e.lastIndexOf(Ha)),r=-1!==t?t+1:0,i=e.length-r;return 0===i||Ks(e.substr(r,i),99)?void 0:fc(n+r,i)}(e,n),i=0===e.length?void 0:fc(n,e.length);return t.map((({name:e,kind:n,extension:t})=>-1!==Math.max(e.indexOf(ja),e.indexOf(Ha))?{name:e,kind:n,extension:t,span:i}:{name:e,kind:n,extension:t,span:r}))}function pie(e,n,t,r,a,o){return _ie(n.text,n.getStart(e)+1,function(e,n,t,r,a,o){const s=mo(n.text),c=t_(n)?gH(e,n):void 0,l=e.path,d=co(l),u=fie(t,1,e,a,o,c);return function(e){if(e&&e.length>=2&&46===e.charCodeAt(0)){const n=e.length>=3&&46===e.charCodeAt(1)?2:1,t=e.charCodeAt(n);return 47===t||92===t}return!1}(s)||!t.baseUrl&&(Ya(s)||Xa(s))?function(e,n,t,r,i,a){return t.rootDirs?function(e,n,t,r,i,a,o){const s=function(e,n,t,r){const i=C(e=e.map((e=>Eo(Ya(e)?e:go(n,e)))),(e=>No(e,t,n,r)?t.substr(e.length):void 0));return pe([...e.map((e=>go(e,i))),t],Gn,Wn)}(e,i.project||a.getCurrentDirectory(),t,!(a.useCaseSensitiveFileNames&&a.useCaseSensitiveFileNames()));return X(s,(e=>Qe(hie(n,e,r,a,!0,o).values())))}(t.rootDirs,e,n,a,t,r,i):Qe(hie(e,n,a,r,!1,i).values())}(s,d,t,r,l,u):function(e,n,t,r,a,o,s){const{baseUrl:c,paths:l}=r,d=nie(),u=jT(r);if(c){const n=Eo(go(r.project||a.getCurrentDirectory(),c));hie(e,n,o,a,!1,void 0,d),l&&yie(d,e,n,o,a,l)}const _=Eie(e);for(const n of function(e,n,t){const r=t.getAmbientModules().map((e=>dv(e.name))).filter((n=>pt(n,e)&&n.indexOf("*")<0));if(void 0!==n){const e=Ao(n);return r.map((n=>ft(n,e)))}return r}(e,_,s))d.add(die(n,"external module name",void 0));if(Aie(a,r,n,_,o,d),hY(u)){let s=!1;if(void 0===_)for(const e of function(e,n){if(!e.readFile||!e.fileExists)return i;const t=[];for(const r of nQ(n,e)){const n=oE(r,e);for(const e of Zre){const r=n[e];if(r)for(const e in r)qe(r,e)&&!pt(e,"@types/")&&t.push(e)}}return t}(a,n)){const n=die(e,"external module name",void 0);d.has(n.name)||(s=!0,d.add(n))}if(!s){let i=n=>{const t=go(n,"node_modules");Q$(a,t)&&hie(e,t,o,a,!1,void 0,d)};if(_&&ZT(r)){const n=i;i=r=>{const i=po(e);i.shift();let s=i.shift();if(!s)return n(r);if(pt(s,"@")){const e=i.shift();if(!e)return n(r);s=go(s,e)}const c=go(r,"node_modules",s),l=go(c,"package.json");if($$(a,l)){const n=oE(l,a).exports;if(n){if("object"!=typeof n||null===n)return;const r=Je(n),s=i.join("/")+(i.length&&io(e)?"/":""),l=99===t?["node","import","types"]:["node","require","types"];return void vie(d,s,c,o,a,r,(e=>Et(bie(n[e],l))),gF)}}return n(r)}}Bo(n,i)}}return Qe(d.values())}(s,d,c,t,r,u,a)}(e,n,t,r,a,o))}function fie(e,n,t,r,i,a){return{extensionsToSearch:J(mie(e,r)),referenceKind:n,importingSourceFile:t,endingPreference:null==i?void 0:i.importModuleSpecifierEnding,resolutionMode:a}}function mie(e,n){const t=n?ee(n.getAmbientModules(),(e=>{const n=e.name.slice(1,-1);if(n.startsWith("*.")&&!n.includes("/"))return n.slice(1)})):[],r=[...Ox(e),t];return hY(jT(e))?Mx(e,r):r}function hie(e,n,t,r,i,a,o=nie()){var s;void 0===e&&(e=""),io(e=mo(e))||(e=co(e)),""===e&&(e="."+ja);const c=yo(n,e=Ao(e)),l=io(c)?c:co(c);if(!i){const e=tQ(l,r);if(e){const n=oE(e,r).typesVersions;if("object"==typeof n){const i=null==(s=vP(n))?void 0:s.paths;if(i){const n=co(e);if(yie(o,c.slice(Ao(n).length),n,t,r,i))return o}}}}const d=!(r.useCaseSensitiveFileNames&&r.useCaseSensitiveFileNames());if(!Q$(r,l))return o;const u=Y$(r,l,t.extensionsToSearch,void 0,["./*"]);if(u)for(let e of u){if(e=Eo(e),a&&0===Ro(e,a,n,d))continue;const{name:i,extension:s}=gie(lo(e),r.getCompilationSettings(),t);o.add(die(i,"script",s))}const _=X$(r,l);if(_)for(const e of _){const n=lo(Eo(e));"@types"!==n&&o.add(uie(n))}return o}function gie(e,n,t){const r=LG.tryGetRealFileNameForNonJsDeclarationFileName(e);if(r)return{name:r,extension:eS(r)};if(0===t.referenceKind)return{name:e,extension:eS(e)};const i=Bx(t.endingPreference,t.resolutionMode,n,t.importingSourceFile);if(3===i){if(ro(e,Z_))return{name:e,extension:eS(e)};const t=LG.tryGetJSExtensionForFile(e,n);return t?{name:qx(e,t),extension:t}:{name:e,extension:eS(e)}}if((0===i||1===i)&&ro(e,[".js",".jsx",".ts",".tsx",".d.ts"]))return{name:Hx(e),extension:eS(e)};const a=LG.tryGetJSExtensionForFile(e,n);return a?{name:qx(e,a),extension:a}:{name:e,extension:eS(e)}}function yie(e,n,t,r,i,a){return vie(e,n,t,r,i,Je(a),(e=>a[e]),((e,n)=>{const t=zx(e),r=zx(n),i="object"==typeof t?t.prefix.length:e.length;return Un("object"==typeof r?r.prefix.length:n.length,i)}))}function vie(e,n,t,r,i,a,o,s){let c,l=[];for(const e of a){if("."===e)continue;const a=e.replace(/^\.\//,""),d=o(e);if(d){const o=zx(a);if(!o)continue;const u="object"==typeof o&&ht(o,n);u&&(void 0===c||-1===s(e,c))&&(c=e,l=l.filter((e=>!e.matchedPattern))),"string"!=typeof o&&void 0!==c&&1===s(e,c)||l.push({matchedPattern:u,results:Tie(a,d,n,t,r,i).map((({name:e,kind:n,extension:t})=>die(e,n,t)))})}}return l.forEach((n=>n.results.forEach((n=>e.add(n))))),void 0!==c}function bie(e,n){if("string"==typeof e)return e;if(e&&"object"==typeof e&&!gn(e))for(const t in e)if("default"===t||n.indexOf(t)>-1||bF(n,t))return bie(e[t],n)}function Eie(e){return Lie(e)?io(e)?e:co(e):void 0}function Tie(e,n,t,r,a,o){if(!et(e,"*"))return rt(e,"*")?i:l(e,"script");const s=e.slice(0,e.length-1),c=mt(t,s);return void 0===c?"/"===e[e.length-2]?l(s,"directory"):X(n,(e=>{var n;return null==(n=xie("",r,e,a,o))?void 0:n.map((({name:e,...n})=>({name:s+e,...n})))})):X(n,(e=>xie(c,r,e,a,o)));function l(e,n){return pt(e,t)?[{name:So(e),kind:n,extension:void 0}]:i}}function xie(e,n,t,r,a){if(!a.readDirectory)return;const o=zx(t);if(void 0===o||vn(o))return;const s=yo(o.prefix),c=io(o.prefix)?s:co(s),l=io(o.prefix)?"":lo(s),d=Lie(e),u=d?io(e)?e:co(e):void 0,_=d?go(c,l+u):c,p=Eo(o.suffix),f=Eo(go(n,_)),m=d?f:Ao(f)+l,h=p?"**/*"+p:"./*";return[...ee(Y$(a,f,r.extensionsToSearch,void 0,[h]),(e=>{const n=function(e){const n=(t=Eo(e),i=p,pt(t,r=m)&&et(t,i)?t.slice(r.length,t.length-i.length):void 0);var t,r,i;return void 0===n?void 0:Sie(n)}(e);if(n){if(Lie(n))return uie(po(Sie(n))[1]);const{name:e,extension:t}=gie(n,a.getCompilationSettings(),r);return die(e,"script",t)}})),...p?i:ee(X$(a,f),(e=>"node_modules"===e?void 0:uie(e)))]}function Sie(e){return e[0]===ja?e.slice(1):e}function Aie(e,n,t,r,a,o=nie()){const s=new Map,c=Z$((()=>bP(n,e)))||i;for(const e of c)l(e);for(const n of nQ(t,e))l(go(co(n),"node_modules/@types"));return o;function l(t){if(Q$(e,t))for(const i of X$(e,t)){const c=IF(i);if(!n.types||G(n.types,c))if(void 0===r)s.has(c)||(o.add(die(c,"external module name",void 0)),s.set(c,!0));else{const n=go(t,i),s=yx(r,c,yv(e));void 0!==s&&hie(s,n,a,e,!1,void 0,o)}}}}function Lie(e){return rt(e,ja)}var Cie=E({"src/services/stringCompletions.ts"(){ufe(),Die(),$re={directory:0,script:1,"external module name":2},Qre=/^(\/\/\/\s*<reference\s+(path|types)\s*=\s*(?:'|"))([^\3"]*)$/,Zre=["dependencies","devDependencies","peerDependencies","optionalDependencies"]}}),kie={};T(kie,{getStringLiteralCompletionDetails:()=>rie,getStringLiteralCompletions:()=>tie});var Iie=E({"src/services/_namespaces/ts.Completions.StringCompletions.ts"(){Cie()}}),wie={};T(wie,{CompletionKind:()=>Ute,CompletionSource:()=>Gte,SortText:()=>Fte,StringCompletions:()=>kie,SymbolOriginInfoKind:()=>Bte,createCompletionDetails:()=>xre,createCompletionDetailsForSymbol:()=>Tre,getCompletionEntriesFromSymbols:()=>yre,getCompletionEntryDetails:()=>bre,getCompletionEntrySymbol:()=>Sre,getCompletionsAtPosition:()=>$te,getPropertiesForObjectExpression:()=>Pre,moduleSpecifierResolutionCacheAttemptLimit:()=>Pte,moduleSpecifierResolutionLimit:()=>Mte});var Rie,Nie,Die=E({"src/services/_namespaces/ts.Completions.ts"(){eie(),Iie()}});function Oie(e,n,t,r){const i=function(e,n,t){const r=new Map;for(const i of e)t&&t.throwIfCancellationRequested(),Gie(i,((e,t)=>{const i=n.getSymbolAtLocation(t);if(i){const n=WG(i).toString();let t=r.get(n);t||r.set(n,t=[]),t.push(e)}}));return r}(e,t,r);return(a,o,s)=>{const{directImports:c,indirectUsers:l}=function(e,n,t,{exportingModuleSymbol:r,exportKind:i},a,o){const s=oY(),c=oY(),l=[],d=!!r.globalExports,u=d?void 0:[];return function e(n){const t=m(n);if(t)for(const n of t)if(s(n))switch(o&&o.throwIfCancellationRequested(),n.kind){case 210:if(lm(n)){f(Rc(r=n,Hie)||r.getSourceFile(),!!_(r,!0));break}if(!d){const e=n.parent;if(2===i&&257===e.kind){const{name:n}=e;if(79===n.kind){l.push(n);break}}}break;case 79:break;case 268:p(n,n.name,db(n,1),!1);break;case 269:l.push(n);const t=n.importClause&&n.importClause.namedBindings;t&&271===t.kind?p(n,t.name,!1,!0):!d&&gg(n)&&f(jie(n));break;case 275:n.exportClause?277===n.exportClause.kind?f(jie(n),!0):l.push(n):e(Vie(n,a));break;case 202:!d&&n.isTypeOf&&!n.qualifier&&_(n)&&f(n.getSourceFile(),!0),l.push(n);break;default:Nt.failBadSyntaxKind(n,"Unexpected import kind.")}var r}(r),{directImports:l,indirectUsers:function(){if(d)return e;if(r.declarations)for(const e of r.declarations)Ef(e)&&n.has(e.getSourceFile().fileName)&&f(e);return u.map(Ip)}()};function _(e,n=!1){return Rc(e,(e=>n&&Hie(e)?"quit":PN(e)&&ce(e.modifiers,CC)))}function p(e,n,t,r){if(2===i)r||l.push(e);else if(!d){const r=jie(e);Nt.assert(308===r.kind||264===r.kind),t||function(e,n,t){const r=t.getSymbolAtLocation(n);return!!Fie(e,(e=>{if(!YI(e))return;const{exportClause:n,moduleSpecifier:i}=e;return!i&&n&&$I(n)&&n.elements.some((e=>t.getExportSpecifierLocalTargetSymbol(e)===r))}))}(r,n,a)?f(r,!0):f(r)}}function f(e,n=!1){if(Nt.assert(!d),!c(e))return;if(u.push(e),!n)return;const t=a.getMergedSymbol(e.symbol);if(!t)return;Nt.assert(!!(1536&t.flags));const r=m(t);if(r)for(const e of r)xk(e)||f(jie(e),!0)}function m(e){return t.get(WG(e).toString())}}(e,n,i,o,t,r);return{indirectUsers:l,...Mie(c,a,o.exportKind,t,s)}}}function Mie(e,n,t,r,i){const a=[],o=[];function s(e,n){a.push([e,n])}if(e)for(const n of e)c(n);return{importSearches:a,singleReferences:o};function c(e){if(268===e.kind)return void(Kie(e)&&l(e.name));if(79===e.kind)return void l(e);if(202===e.kind){if(e.qualifier){const t=Kb(e.qualifier);t.escapedText===Gc(n)&&o.push(t)}else 2===t&&o.push(e.argument.literal);return}if(10!==e.moduleSpecifier.kind)return;if(275===e.kind)return void(e.exportClause&&$I(e.exportClause)&&d(e.exportClause));const{name:a,namedBindings:c}=e.importClause||{name:void 0,namedBindings:void 0};if(c)switch(c.kind){case 271:l(c.name);break;case 272:0!==t&&1!==t||d(c);break;default:Nt.assertNever(c)}!a||1!==t&&2!==t||i&&a.escapedText!==SY(n)||s(a,r.getSymbolAtLocation(a))}function l(e){2!==t||i&&!u(e.escapedText)||s(e,r.getSymbolAtLocation(e))}function d(e){if(e)for(const t of e.elements){const{name:e,propertyName:a}=t;u((a||e).escapedText)&&(a?(o.push(a),i&&e.escapedText!==n.escapedName||s(e,r.getSymbolAtLocation(e))):s(e,278===t.kind&&t.propertyName?r.getExportSpecifierLocalTargetSymbol(t):r.getSymbolAtLocation(e)))}}function u(e){return e===n.escapedName||0!==t&&"default"===e}}function Pie(e,n,t){var r;const i=[],a=e.getTypeChecker();for(const o of n){const n=t.valueDeclaration;if(308===(null==n?void 0:n.kind)){for(const t of o.referencedFiles)e.getSourceFileFromReference(o,t)===n&&i.push({kind:"reference",referencingFile:o,ref:t});for(const t of o.typeReferenceDirectives){const a=null==(r=e.getResolvedTypeReferenceDirectives().get(t.fileName,t.resolutionMode||o.impliedNodeFormat))?void 0:r.resolvedTypeReferenceDirective;void 0!==a&&a.resolvedFileName===n.fileName&&i.push({kind:"reference",referencingFile:o,ref:t})}}Gie(o,((e,n)=>{a.getSymbolAtLocation(n)===t&&i.push({kind:"import",literal:n})}))}return i}function Fie(e,n){return A(308===e.kind?e.statements:e.body.statements,(e=>n(e)||Hie(e)&&A(e.body&&e.body.statements,n)))}function Gie(e,n){if(e.externalModuleIndicator||void 0!==e.imports)for(const t of e.imports)n(pg(t),t);else Fie(e,(e=>{switch(e.kind){case 275:case 269:{const t=e;t.moduleSpecifier&&cC(t.moduleSpecifier)&&n(t,t.moduleSpecifier);break}case 268:{const t=e;Kie(t)&&n(t,t.moduleReference.expression);break}}}))}function Bie(e,n,t,r){return r?i():i()||function(){if(!function(e){const{parent:n}=e;switch(n.kind){case 268:return n.name===e&&Kie(n);case 273:return!n.propertyName;case 270:case 271:return Nt.assert(n.name===e),!0;case 205:return Ah(e)&&Nh(n.parent.parent);default:return!1}}(e))return;let r=t.getImmediateAliasedSymbol(n);if(!r)return;if(r=function(e,n){if(e.declarations)for(const t of e.declarations){if(QI(t)&&!t.propertyName&&!t.parent.parent.moduleSpecifier)return n.getExportSpecifierLocalTargetSymbol(t)||e;if(Rk(t)&&Xh(t.expression)&&!LC(t.name))return n.getSymbolAtLocation(t);if(Ew(t)&&qk(t.parent.parent)&&2===Yh(t.parent.parent))return n.getExportSpecifierLocalTargetSymbol(t.name)}return e}(r,t),"export="===r.escapedName&&(r=function(e,n){var t,r;if(2097152&e.flags)return n.getImmediateAliasedSymbol(e);const i=Nt.checkDefined(e.valueDeclaration);return XI(i)?null==(t=En(i.expression,ku))?void 0:t.symbol:qk(i)?null==(r=En(i.right,ku))?void 0:r.symbol:Aw(i)?i.symbol:void 0}(r,t),void 0===r))return;const i=SY(r);return void 0===i||"default"===i||i===n.escapedName?{kind:0,symbol:r}:void 0}();function i(){var i;const{parent:s}=e,c=s.parent;if(n.exportSymbol)return 208===s.kind?(null==(i=n.declarations)?void 0:i.some((e=>e===s)))&&qk(c)?d(c,!1):void 0:a(n.exportSymbol,o(s));{const i=function(e,n){const t=kI(e)?e:kk(e)?Sc(e):void 0;return t?e.name!==n||vw(t.parent)?void 0:dI(t.parent.parent)?t.parent.parent:void 0:e}(s,e);if(i&&db(i,1)){if(BI(i)&&i.moduleReference===e){if(r)return;return{kind:0,symbol:t.getSymbolAtLocation(i.name)}}return a(n,o(i))}if(qI(s))return a(n,0);if(XI(s))return l(s);if(XI(c))return l(c);if(qk(s))return d(s,!0);if(qk(c))return d(c,!0);if(lR(s)||Jw(s))return a(n,0)}function l(e){if(!e.symbol.parent)return;const t=e.isExportEquals?2:1;return{kind:1,symbol:n,exportInfo:{exportingModuleSymbol:e.symbol.parent,exportKind:t}}}function d(e,r){let i;switch(Yh(e)){case 1:i=0;break;case 2:i=2;break;default:return}const o=r?t.getSymbolAtLocation(nT(Tn(e.left,eT))):n;return o&&a(o,i)}}function a(e,n){const r=Uie(e,n,t);return r&&{kind:1,symbol:e,exportInfo:r}}function o(e){return db(e,1024)?1:0}}function Uie(e,n,t){const r=e.parent;if(!r)return;const i=t.getMergedSymbol(r);return aY(i)?{exportingModuleSymbol:i,exportKind:n}:void 0}function Vie(e,n){return n.getMergedSymbol(jie(e).symbol)}function jie(e){if(210===e.kind)return e.getSourceFile();const{parent:n}=e;return 308===n.kind?n:(Nt.assert(265===n.kind),Tn(n.parent,Hie))}function Hie(e){return 264===e.kind&&10===e.name.kind}function Kie(e){return 280===e.moduleReference.kind&&10===e.moduleReference.expression.kind}var Wie,qie,zie,Jie,Xie=E({"src/services/importTracker.ts"(){ufe(),Rie=(e=>(e[e.Named=0]="Named",e[e.Default=1]="Default",e[e.ExportEquals=2]="ExportEquals",e))(Rie||{}),Nie=(e=>(e[e.Import=0]="Import",e[e.Export=1]="Export",e))(Nie||{})}});function Yie(e,n=1){return{kind:n,node:e.name||e,context:Qie(e)}}function $ie(e){return e&&void 0===e.kind}function Qie(e){if(Nu(e))return Zie(e);if(e.parent){if(!Nu(e.parent)&&!XI(e.parent)){if(Ah(e)){const n=qk(e.parent)?e.parent:eT(e.parent)&&qk(e.parent.parent)&&e.parent.parent.left===e.parent?e.parent.parent:void 0;if(n&&0!==Yh(n))return Zie(n)}if(sw(e.parent)||cw(e.parent))return e.parent.parent;if(ow(e.parent)||SI(e.parent)||ql(e.parent))return e.parent;if(t_(e)){const n=fg(e);if(n){const e=Rc(n,(e=>Nu(e)||Mu(e)||qu(e)));return Nu(e)?Zie(e):e}}const n=Rc(e,VC);return n?Zie(n.parent):void 0}return e.parent.name===e||YC(e.parent)||XI(e.parent)||(cd(e.parent)||kk(e.parent))&&e.parent.propertyName===e||88===e.kind&&db(e.parent,1025)?Zie(e.parent):void 0}}function Zie(e){if(e)switch(e.kind){case 257:return II(e.parent)&&1===e.parent.declarations.length?dI(e.parent.parent)?e.parent.parent:vu(e.parent.parent)?Zie(e.parent.parent):e.parent:e;case 205:return Zie(e.parent.parent);case 273:return e.parent.parent.parent;case 278:case 271:return e.parent.parent;case 270:case 277:return e.parent;case 223:return _I(e.parent)?e.parent:e;case 247:case 246:return{start:e.initializer,end:e.expression};case 299:case 300:return KX(e.parent)?Zie(Rc(e.parent,(e=>qk(e)||vu(e)))):e;default:return e}}function eae(e,n,t){if(!t)return;const r=$ie(t)?mae(t.start,n,t.end):mae(t,n);return r.start!==e.start||r.length!==e.length?{contextSpan:r}:void 0}function nae(e,n,t,r,i){const a=dX(r,i),o={use:1},s=Jie.getReferencedSymbolsForNode(i,a,e,t,n,o),c=e.getTypeChecker(),l=Jie.getAdjustedNode(a,o),d=function(e){return 88===e.kind||!!ey(e)||ny(e)||135===e.kind&&YC(e.parent)}(l)?c.getSymbolAtLocation(l):void 0;return s&&s.length?ee(s,(({definition:e,references:t})=>e&&{definition:c.runWithCancellationToken(n,(n=>function(e,n,t){const r=(()=>{switch(e.type){case 0:{const{symbol:r}=e,{displayParts:i,kind:a}=cae(r,n,t),o=i.map((e=>e.text)).join(""),s=r.declarations&&De(r.declarations);return{...sae(s?Wc(s)||s:t),name:o,kind:a,displayParts:i,context:Zie(s)}}case 1:{const{node:n}=e;return{...sae(n),name:n.text,kind:"label",displayParts:[jY(n.text,17)]}}case 2:{const{node:n}=e,t=us(n.kind);return{...sae(n),name:t,kind:"keyword",displayParts:[{text:t,kind:"keyword"}]}}case 3:{const{node:t}=e,r=n.getSymbolAtLocation(t),i=r&&Lue.getSymbolDisplayPartsDocumentationAndSymbolKind(n,r,t.getSourceFile(),MJ(t),t).displayParts||[YY("this")];return{...sae(t),name:"this",kind:"var",displayParts:i}}case 4:{const{node:n}=e;return{...sae(n),name:n.text,kind:"var",displayParts:[jY(tf(n),8)]}}case 5:return{textSpan:QX(e.reference),sourceFile:e.file,name:e.reference.fileName,kind:"string",displayParts:[jY(`"${e.reference.fileName}"`,8)]};default:return Nt.assertNever(e)}})(),{sourceFile:i,textSpan:a,name:o,kind:s,displayParts:c,context:l}=r;return{containerKind:"",containerName:"",fileName:i.fileName,kind:s,name:o,textSpan:a,displayParts:c,...eae(a,i,l)}}(e,n,a))),references:t.map((e=>function(e,n){const t=dae(e);return n?{...t,isDefinition:0!==e.kind&&yae(e.node,n)}:t}(e,d)))})):void 0}function tae(e,n,t,r,i){const a=dX(r,i);let o;const s=rae(e,n,t,a,i);if(208===a.parent.kind||205===a.parent.kind||209===a.parent.kind||106===a.kind)o=s&&[...s];else if(s){const r=mn(s),i=new Map;for(;!r.isEmpty();){const a=r.dequeue();if(!$E(i,KG(a.node)))continue;o=Te(o,a);const s=rae(e,n,t,a.node,a.node.pos);s&&r.enqueue(...s)}}const c=e.getTypeChecker();return W(o,(e=>function(e,n){const t=uae(e);if(0!==e.kind){const{node:r}=e;return{...t,...pae(r,n)}}return{...t,kind:"",displayParts:[]}}(e,c)))}function rae(e,n,t,r,i){if(308===r.kind)return;const a=e.getTypeChecker();if(300===r.parent.kind){const e=[];return Jie.getReferenceEntriesForShorthandPropertyAssignment(r,a,(n=>e.push(Yie(n)))),e}if(106===r.kind||nh(r.parent)){const e=a.getSymbolAtLocation(r);return e.valueDeclaration&&[Yie(e.valueDeclaration)]}return aae(i,r,e,t,n,{implementations:!0,use:1})}function iae(e,n,t,r,i,a,o){return W(oae(Jie.getReferencedSymbolsForNode(i,r,e,t,n,a)),(n=>o(n,r,e.getTypeChecker())))}function aae(e,n,t,r,i,a={},o=new Set(r.map((e=>e.fileName)))){return oae(Jie.getReferencedSymbolsForNode(e,n,t,r,i,a,o))}function oae(e){return e&&X(e,(e=>e.references))}function sae(e){const n=e.getSourceFile();return{sourceFile:n,textSpan:mae(VC(e)?e.expression:e,n)}}function cae(e,n,t){const r=Jie.getIntersectingMeaningFromDeclarations(t,e),i=e.declarations&&De(e.declarations)||t,{displayParts:a,symbolKind:o}=Lue.getSymbolDisplayPartsDocumentationAndSymbolKind(n,e,i.getSourceFile(),i,i,r);return{displayParts:a,kind:o}}function lae(e,n,t,r){return{...uae(e),...r&&_ae(e,n,t)}}function dae(e){const n=uae(e);if(0===e.kind)return{...n,isWriteAccess:!1};const{kind:t,node:r}=e;return{...n,isWriteAccess:gae(r),isInString:2===t||void 0}}function uae(e){if(0===e.kind)return{textSpan:e.textSpan,fileName:e.fileName};{const n=e.node.getSourceFile(),t=mae(e.node,n);return{textSpan:t,fileName:n.fileName,...eae(t,n,e.context)}}}function _ae(e,n,t){if(0!==e.kind&&AC(n)){const{node:r,kind:i}=e,a=r.parent,o=n.text,s=Ew(a);if(s||LY(a)&&a.name===r&&void 0===a.dotDotDotToken){const e={prefixText:o+": "},n={suffixText:": "+o};if(3===i)return e;if(4===i)return n;if(s){const t=a.parent;return wk(t)&&qk(t.parent)&&Xh(t.parent.left)?e:n}return e}if(JI(a)&&!a.propertyName)return G((QI(n.parent)?t.getExportSpecifierLocalTargetSymbol(n.parent):t.getSymbolAtLocation(n)).declarations,a)?{prefixText:o+" as "}:Iz;if(QI(a)&&!a.propertyName)return n===e.node||t.getSymbolAtLocation(n)===t.getSymbolAtLocation(e.node)?{prefixText:o+" as "}:{suffixText:" as "+o}}return Iz}function pae(e,n){const t=n.getSymbolAtLocation(Nu(e)&&e.name?e.name:e);return t?cae(t,n,e):207===e.kind?{kind:"interface",displayParts:[WY(20),YY("object literal"),WY(21)]}:228===e.kind?{kind:"local class",displayParts:[WY(20),YY("anonymous local class"),WY(21)]}:{kind:PJ(e),displayParts:[]}}function fae(e){const n=uae(e);if(0===e.kind)return{fileName:n.fileName,span:{textSpan:n.textSpan,kind:"reference"}};const t=gae(e.node),r={textSpan:n.textSpan,kind:t?"writtenReference":"reference",isInString:2===e.kind||void 0,...n.contextSpan&&{contextSpan:n.contextSpan}};return{fileName:n.fileName,span:r}}function mae(e,n,t){let r=e.getStart(n),i=(t||e).getEnd();return t_(e)&&i-r>2&&(Nt.assert(void 0===t),r+=1,i-=1),mc(r,i)}function hae(e){return 0===e.kind?e.textSpan:mae(e.node,e.node.getSourceFile())}function gae(e){const n=ey(e);return!!n&&function(e){if(16777216&e.flags)return!0;switch(e.kind){case 223:case 205:case 260:case 228:case 88:case 263:case 302:case 278:case 270:case 268:case 273:case 261:case 341:case 349:case 288:case 264:case 267:case 271:case 277:case 166:case 300:case 262:case 165:return!0;case 299:return!KX(e.parent);case 259:case 215:case 173:case 171:case 174:case 175:return!!e.body;case 257:case 169:return!!e.initializer||vw(e.parent);case 170:case 168:case 351:case 344:return!1;default:return Nt.failBadSyntaxKind(e)}}(n)||88===e.kind||GE(e)}function yae(e,n){var t;if(!n)return!1;const r=ey(e)||(88===e.kind?e.parent:ny(e)||135===e.kind&&YC(e.parent)?e.parent.parent:void 0),i=r&&qk(r)?r.left:void 0;return!(!r||!(null==(t=n.declarations)?void 0:t.some((e=>e===r||e===i))))}var vae=E({"src/services/findAllReferences.ts"(){ufe(),Eae(),Wie=(e=>(e[e.Symbol=0]="Symbol",e[e.Label=1]="Label",e[e.Keyword=2]="Keyword",e[e.This=3]="This",e[e.String=4]="String",e[e.TripleSlashReference=5]="TripleSlashReference",e))(Wie||{}),qie=(e=>(e[e.Span=0]="Span",e[e.Node=1]="Node",e[e.StringLiteral=2]="StringLiteral",e[e.SearchedLocalFoundProperty=3]="SearchedLocalFoundProperty",e[e.SearchedPropertyFoundLocal=4]="SearchedPropertyFoundLocal",e))(qie||{}),zie=(e=>(e[e.Other=0]="Other",e[e.References=1]="References",e[e.Rename=2]="Rename",e))(zie||{}),(e=>{function n(e,n){return 1===n.use?e=cX(e):2===n.use&&(e=lX(e)),e}function t(e,n,t){let r;const a=n.get(e.path)||i;for(const e of a)if(LH(e)){const n=t.getSourceFileByPath(e.file),i=kH(t.getSourceFileByPath,e);CH(i)&&(r=Te(r,{kind:0,fileName:n.fileName,textSpan:QX(i)}))}return r}function r(e,n,t){if(e.parent&&GI(e.parent)){const e=t.getAliasedSymbol(n),r=t.getMergedSymbol(e);if(e!==r)return r}}function a(e,n,t,r,i,a){const s=1536&e.flags&&e.declarations&&D(e.declarations,Aw);if(!s)return;const l=e.exports.get("export="),u=c(n,e,!!l,t,a);if(!l||!a.has(s.fileName))return u;const _=n.getTypeChecker();return o(n,u,d(e=ME(l,_),void 0,t,a,_,r,i))}function o(e,...n){let t;for(const r of n)if(r&&r.length)if(t)for(const n of r){if(!n.definition||0!==n.definition.type){t.push(n);continue}const r=n.definition.symbol,i=M(t,(e=>!!e.definition&&0===e.definition.type&&e.definition.symbol===r));if(-1===i){t.push(n);continue}const a=t[i];t[i]={definition:a.definition,references:a.references.concat(n.references).sort(((n,t)=>{const r=s(e,n),i=s(e,t);if(r!==i)return Un(r,i);const a=hae(n),o=hae(t);return a.start!==o.start?Un(a.start,o.start):Un(a.length,o.length)}))}}else t=r;return t}function s(e,n){const t=0===n.kind?e.getSourceFile(n.fileName):n.node.getSourceFile();return e.getSourceFiles().indexOf(t)}function c(e,n,t,r,a){Nt.assert(!!n.valueDeclaration);const o=ee(Pie(e,r,n),(e=>{if("import"===e.kind){const n=e.literal.parent;if(Tk(n)){const e=Tn(n.parent,xk);if(t&&!e.qualifier)return}return Yie(e.literal)}return{kind:0,fileName:e.referencingFile.fileName,textSpan:QX(e.ref)}}));if(n.declarations)for(const e of n.declarations)switch(e.kind){case 308:break;case 264:a.has(e.getSourceFile().fileName)&&o.push(Yie(e.name));break;default:Nt.assert(!!(33554432&n.flags),"Expected a module symbol to be declared by a SourceFile or ModuleDeclaration.")}const s=n.exports.get("export=");if(null==s?void 0:s.declarations)for(const e of s.declarations){const n=e.getSourceFile();if(a.has(n.fileName)){const t=qk(e)&&Rk(e.left)?e.left.expression:XI(e)?Nt.checkDefined(ZJ(e,93,n)):Wc(e)||e;o.push(Yie(t))}}return o.length?[{definition:{type:0,symbol:n},references:o}]:i}function l(e){return 146===e.kind&&vk(e.parent)&&146===e.parent.operator}function d(e,n,t,r,i,a,o){const s=n&&function(e,n,t,r){const{parent:i}=n;return QI(i)&&r?w(n,e,i,t):C(e.declarations,(r=>{if(!r.parent){if(33554432&e.flags)return;Nt.fail(`Unexpected symbol at ${Nt.formatSyntaxKind(n.kind)}: ${Nt.formatSymbol(e)}`)}return sk(r.parent)&&pk(r.parent.parent)?t.getPropertyOfType(t.getTypeFromTypeNode(r.parent.parent),e.name):void 0}))}(e,n,i,!z(o))||e,c=n?K(n,s):7,l=[],d=new m(t,r,n?function(e){switch(e.kind){case 173:case 135:return 1;case 79:if(Dd(e.parent))return Nt.assert(e.parent.name===e),2;default:return 0}}(n):0,i,a,c,o,l),_=z(o)&&s.declarations?D(s.declarations,QI):void 0;if(_)I(_.name,s,_,d.createSearch(n,e,void 0),d,!0,!0);else if(n&&88===n.kind&&"default"===s.escapedName&&s.parent)R(n,s,d),h(n,s,{exportingModuleSymbol:s.parent,exportKind:1},d);else{const e=d.createSearch(n,s,void 0,{allSearchSymbols:n?U(s,n,i,2===o.use,!!o.providePrefixAndSuffixTextForRename,!!o.implementations):[s]});u(s,d,e)}return l}function u(e,n,t){const r=function(e){const{declarations:n,flags:t,parent:r,valueDeclaration:i}=e;if(i&&(215===i.kind||228===i.kind))return i;if(!n)return;if(8196&t){const e=D(n,(e=>lb(e,8)||hd(e)));return e?my(e,260):void 0}if(n.some(LY))return;const a=r&&!(262144&e.flags);if(a&&(!aY(r)||r.globalExports))return;let o;for(const e of n){const n=MJ(e);if(o&&o!==n)return;if(!n||308===n.kind&&!tm(n))return;if(o=n,Gk(o)){let e;for(;e=Ng(o);)o=e}}return a?o.getSourceFile():o}(e);if(r)A(r,r.getSourceFile(),t,n,!(Aw(r)&&!G(n.sourceFiles,r)));else for(const e of n.sourceFiles)n.cancellationToken.throwIfCancellationRequested(),v(e,t,n)}let _;var p;function f(e){if(!(33555968&e.flags))return;const n=e.declarations&&D(e.declarations,(e=>!Aw(e)&&!MI(e)));return n&&n.symbol}e.getReferencedSymbolsForNode=function(e,s,u,_,p,f={},m=new Set(_.map((e=>e.fileName)))){var h,g,y;if(Aw(s=n(s,f))){const n=Pae.getReferenceAtPosition(s,e,u);if(!(null==n?void 0:n.file))return;const r=u.getTypeChecker().getMergedSymbol(n.file.symbol);if(r)return c(u,r,!1,_,m);const a=u.getFileIncludeReasons();if(!a)return;return[{definition:{type:5,reference:n.reference,file:s},references:t(n.file,a,u)||i}]}if(!f.implementations){const e=function(e,n,t){if(tY(e.kind)){if(114===e.kind&&jk(e.parent))return;if(146===e.kind&&!l(e))return;return function(e,n,t,r){const i=X(e,(e=>(t.throwIfCancellationRequested(),ee(E(e,us(n),e),(e=>{if(e.kind===n&&(!r||r(e)))return Yie(e)})))));return i.length?[{definition:{type:2,node:i[0].node},references:i}]:void 0}(n,e.kind,t,146===e.kind?l:void 0)}if(dm(e.parent)&&e.parent.name===e)return function(e,n){const t=X(e,(e=>(n.throwIfCancellationRequested(),ee(E(e,"meta",e),(e=>{const n=e.parent;if(dm(n))return Yie(n)})))));return t.length?[{definition:{type:2,node:t[0].node},references:t}]:void 0}(n,t);if(DC(e)&&XC(e.parent))return[{definition:{type:2,node:e},references:[Yie(e)]}];if(SJ(e)){const n=TJ(e.parent,e.text);return n&&x(n.parent,n)}return AJ(e)?x(e.parent,e):FJ(e)?function(e,n,t){let r=Jm(e,!1,!1),i=32;switch(r.kind){case 171:case 170:if(Om(r)){i&=Sb(r),r=r.parent;break}case 169:case 168:case 173:case 174:case 175:i&=Sb(r),r=r.parent;break;case 308:if(kD(r)||B(e))return;case 259:case 215:break;default:return}const a=X(308===r.kind?n:[r.getSourceFile()],(e=>(t.throwIfCancellationRequested(),E(e,"this",Aw(r)?e:r).filter((e=>{if(!FJ(e))return!1;const n=Jm(e,!1,!1);if(!ku(n))return!1;switch(r.kind){case 215:case 259:return r.symbol===n.symbol;case 171:case 170:return Om(r)&&r.symbol===n.symbol;case 228:case 260:case 207:return n.parent&&ku(n.parent)&&r.symbol===n.parent.symbol&&ub(n)===!!i;case 308:return 308===n.kind&&!kD(n)&&!B(e)}}))))).map((e=>Yie(e)));return[{definition:{type:3,node:C(a,(e=>HC(e.node.parent)?e.node:void 0))||e},references:a}]}(e,n,t):106===e.kind?function(e){let n=Qm(e,!1);if(!n)return;let t=32;switch(n.kind){case 169:case 168:case 171:case 170:case 173:case 174:case 175:t&=Sb(n),n=n.parent;break;default:return}const r=ee(E(n.getSourceFile(),"super",n),(e=>{if(106!==e.kind)return;const r=Qm(e,!1);return r&&ub(r)===!!t&&r.parent.symbol===n.symbol?Yie(e):void 0}));return[{definition:{type:0,symbol:n.symbol},references:r}]}(e):void 0}(s,_,p);if(e)return e}const v=u.getTypeChecker(),b=v.getSymbolAtLocation(YC(s)&&s.parent.name||s);if(!b){if(!f.implementations&&t_(s)){if(AY(s)){const e=u.getFileIncludeReasons(),n=null==(y=null==(g=null==(h=s.getSourceFile().resolvedModules)?void 0:h.get(s.text,gH(s.getSourceFile(),s)))?void 0:g.resolvedModule)?void 0:y.resolvedFileName,r=n?u.getSourceFile(n):void 0;if(r)return[{definition:{type:4,node:s},references:t(r,e,u)||i}]}return function(e,n,t,r){const i=iX(e,t),a=X(n,(n=>(r.throwIfCancellationRequested(),ee(E(n,e.text),(r=>{if(t_(r)&&r.text===e.text){if(!i)return uC(r)&&!hE(r,n)?void 0:Yie(r,2);{const e=iX(r,t);if(i!==t.getStringType()&&i===e)return Yie(r,2)}}})))));return[{definition:{type:4,node:e},references:a}]}(s,_,v,p)}return}if("export="===b.escapedName)return c(u,b.parent,!1,_,m);const T=a(b,u,_,p,f,m);if(T&&!(33554432&b.flags))return T;const S=r(s,b,v),A=S&&a(S,u,_,p,f,m);return o(u,T,d(b,s,_,m,v,p,f),A)},e.getAdjustedNode=n,e.getReferencesForFileName=function(e,n,r,a=new Set(r.map((e=>e.fileName)))){var o,s;const l=null==(o=n.getSourceFile(e))?void 0:o.symbol;if(l)return(null==(s=c(n,l,!1,r,a)[0])?void 0:s.references)||i;const d=n.getFileIncludeReasons(),u=n.getSourceFile(e);return u&&d&&t(u,d,n)||i},(p=_||(_={}))[p.None=0]="None",p[p.Constructor=1]="Constructor",p[p.Class=2]="Class";class m{constructor(e,n,t,r,i,a,o,s){this.sourceFiles=e,this.sourceFilesSet=n,this.specialSearchKind=t,this.checker=r,this.cancellationToken=i,this.searchMeaning=a,this.options=o,this.result=s,this.inheritsFromCache=new Map,this.markSeenContainingTypeReference=oY(),this.markSeenReExportRHS=oY(),this.symbolIdToReferences=[],this.sourceFileToSeenSymbols=[]}includesSourceFile(e){return this.sourceFilesSet.has(e.fileName)}getImportSearches(e,n){return this.importTracker||(this.importTracker=Oie(this.sourceFiles,this.sourceFilesSet,this.checker,this.cancellationToken)),this.importTracker(e,n,2===this.options.use)}createSearch(e,n,t,r={}){const{text:i=dv(Gc(eE(n)||f(n)||n)),allSearchSymbols:a=[n]}=r,o=Oc(i),s=this.options.implementations&&e?function(e,n,t){const r=IJ(e)?e.parent:void 0,i=r&&t.getTypeAtLocation(r.expression),a=ee(i&&(i.isUnionOrIntersection()?i.types:i.symbol===n.parent?void 0:[i]),(e=>e.symbol&&96&e.symbol.flags?e.symbol:void 0));return 0===a.length?void 0:a}(e,n,this.checker):void 0;return{symbol:n,comingFrom:t,text:i,escapedText:o,parents:s,allSearchSymbols:a,includes:e=>G(a,e)}}referenceAdder(e){const n=WG(e);let t=this.symbolIdToReferences[n];return t||(t=this.symbolIdToReferences[n]=[],this.result.push({definition:{type:0,symbol:e},references:t})),(e,n)=>t.push(Yie(e,n))}addStringOrCommentReference(e,n){this.result.push({definition:void 0,references:[{kind:0,fileName:e,textSpan:n}]})}markSearchedSymbols(e,n){const t=KG(e),r=this.sourceFileToSeenSymbols[t]||(this.sourceFileToSeenSymbols[t]=new Set);let i=!1;for(const e of n)i=ie(r,WG(e))||i;return i}}function h(e,n,t,r){const{importSearches:i,singleReferences:a,indirectUsers:o}=r.getImportSearches(n,t);if(a.length){const e=r.referenceAdder(n);for(const n of a)g(n,r)&&e(n)}for(const[e,n]of i)S(e.getSourceFile(),r.createSearch(e,n,1),r);if(o.length){let i;switch(t.exportKind){case 0:i=r.createSearch(e,n,1);break;case 1:i=2===r.options.use?void 0:r.createSearch(e,n,1,{text:"default"})}if(i)for(const e of o)v(e,i,r)}}function g(e,n){return!(!L(e,n)||2===n.options.use&&(!AC(e)||cd(e.parent)&&"default"===e.escapedText))}function y(e,n){if(e.declarations)for(const t of e.declarations){const r=t.getSourceFile();S(r,n.createSearch(t,e,0),n,n.includesSourceFile(r))}}function v(e,n,t){void 0!==c2(e).get(n.escapedText)&&S(e,n,t)}function b(e,n,t,r,i=t){const a=Ec(e.parent,e.parent.parent)?Me(n.getSymbolsOfParameterPropertyDeclaration(e.parent,e.text)):n.getSymbolAtLocation(e);if(a)for(const o of E(t,a.name,i)){if(!AC(o)||o===e||o.escapedText!==e.escapedText)continue;const t=n.getSymbolAtLocation(o);if(t===a||n.getShorthandAssignmentValueSymbol(o.parent)===a||QI(o.parent)&&w(o,t,o.parent,n)===a){const e=r(o);if(e)return e}}}function E(e,n,t=e){return T(e,n,t).map((n=>dX(e,n)))}function T(e,n,t=e){const r=[];if(!n||!n.length)return r;const i=e.text,a=i.length,o=n.length;let s=i.indexOf(n,t.pos);for(;s>=0&&!(s>t.end);){const e=s+o;0!==s&&Hs(i.charCodeAt(s-1),99)||e!==a&&Hs(i.charCodeAt(e),99)||r.push(s),s=i.indexOf(n,s+o+1)}return r}function x(e,n){const t=e.getSourceFile(),r=n.text,i=ee(E(t,r,e),(e=>e===n||SJ(e)&&TJ(e,r)===n?Yie(e):void 0));return[{definition:{type:1,node:n},references:i}]}function S(e,n,t,r=!0){return t.cancellationToken.throwIfCancellationRequested(),A(e,e,n,t,r)}function A(e,n,t,r,i){if(r.markSearchedSymbols(n,t.allSearchSymbols))for(const a of T(n,t.text,e))k(n,a,t,r,i)}function L(e,n){return!!(cJ(e)&n.searchMeaning)}function k(e,n,t,r,i){const a=dX(e,n);if(!function(e,n){switch(e.kind){case 80:if(ww(e.parent))return!0;case 79:return e.text.length===n.length;case 14:case 10:{const t=e;return(DJ(t)||RJ(e)||OJ(e)||Dk(e.parent)&&$h(e.parent)&&e.parent.arguments[1]===e)&&t.text.length===n.length}case 8:return DJ(e)&&e.text.length===n.length;case 88:return 7===n.length;default:return!1}}(a,t.text))return void(!r.options.implementations&&(r.options.findInStrings&&EX(e,n)||r.options.findInComments&&qX(e,n))&&r.addStringOrCommentReference(e.fileName,fc(n,t.text.length)));if(!L(a,r))return;let o=r.checker.getSymbolAtLocation(a);if(!o)return;const s=a.parent;if(JI(s)&&s.propertyName===a)return;if(QI(s))return Nt.assert(79===a.kind),void I(a,o,s,t,r,i);const c=function(e,n,t,r){const{checker:i}=r;return V(n,t,i,!1,2!==r.options.use||!!r.options.providePrefixAndSuffixTextForRename,((t,r,i,a)=>(i&&H(n)!==H(i)&&(i=void 0),e.includes(i||r||t)?{symbol:!r||6&DE(t)?t:r,kind:a}:void 0)),(n=>!(e.parents&&!e.parents.some((e=>F(n.parent,e,r.inheritsFromCache,i))))))}(t,o,a,r);if(c){switch(r.specialSearchKind){case 0:i&&R(a,c,r);break;case 1:!function(e,n,t,r){uJ(e)&&R(e,t.symbol,r);const i=()=>r.referenceAdder(t.symbol);if(Dd(e.parent))Nt.assert(88===e.kind||e.parent.name===e),function(e,n,t){const r=N(e);if(r&&r.declarations)for(const e of r.declarations){const r=ZJ(e,135,n);Nt.assert(173===e.kind&&!!r),t(r)}e.exports&&e.exports.forEach((e=>{const n=e.valueDeclaration;if(n&&171===n.kind){const e=n.body;e&&q(e,108,(e=>{uJ(e)&&t(e)}))}}))}(t.symbol,n,i());else{const n=Fb(bJ(e).parent);n&&(function(e,n){const t=N(e.symbol);if(t&&t.declarations)for(const e of t.declarations){Nt.assert(173===e.kind);const t=e.body;t&&q(t,106,(e=>{dJ(e)&&n(e)}))}}(n,i()),function(e,n){if(function(e){return!!N(e.symbol)}(e))return;const t=e.symbol,r=n.createSearch(void 0,t,void 0);u(t,n,r)}(n,r))}}(a,e,t,r);break;case 2:!function(e,n,t){R(e,n.symbol,t);const r=e.parent;if(2===t.options.use||!Dd(r))return;Nt.assert(r.name===e);const i=t.referenceAdder(n.symbol);for(const e of r.members)Pd(e)&&ub(e)&&e.body&&e.body.forEachChild((function e(n){108===n.kind?i(n):Ad(n)||Dd(n)||n.forEachChild(e)}))}(a,t,r);break;default:Nt.assertNever(r.specialSearchKind)}Ah(a)&&kk(a.parent)&&Nh(a.parent.parent.parent)&&(o=a.parent.symbol,!o)||function(e,n,t,r){const i=Bie(e,n,r.checker,1===t.comingFrom);if(!i)return;const{symbol:a}=i;0===i.kind?z(r.options)||y(a,r):h(e,a,i.exportInfo,r)}(a,o,t,r)}else!function({flags:e,valueDeclaration:n},t,r){const i=r.checker.getShorthandAssignmentValueSymbol(n),a=n&&Wc(n);33554432&e||!a||!t.includes(i)||R(a,i,r)}(o,t,r)}function I(e,n,t,r,i,a,o){Nt.assert(!o||!!i.options.providePrefixAndSuffixTextForRename,"If alwaysGetReferences is true, then prefix/suffix text must be enabled");const{parent:s,propertyName:c,name:l}=t,d=s.parent,u=w(e,n,t,i.checker);if(o||r.includes(u)){if(c?e===c?(d.moduleSpecifier||_(),a&&2!==i.options.use&&i.markSeenReExportRHS(l)&&R(l,Nt.checkDefined(t.symbol),i)):i.markSeenReExportRHS(e)&&_():2===i.options.use&&"default"===l.escapedText||_(),!z(i.options)||o){const n="default"===e.escapedText||"default"===t.name.escapedText?1:0,r=Nt.checkDefined(t.symbol),a=Uie(r,n,i.checker);a&&h(e,r,a,i)}if(1!==r.comingFrom&&d.moduleSpecifier&&!c&&!z(i.options)){const e=i.checker.getExportSpecifierLocalTargetSymbol(t);e&&y(e,i)}}function _(){a&&R(e,u,i)}}function w(e,n,t,r){return function(e,n){const{parent:t,propertyName:r,name:i}=n;return Nt.assert(r===e||i===e),r?r===e:!t.parent.moduleSpecifier}(e,t)&&r.getExportSpecifierLocalTargetSymbol(t)||n}function R(e,n,t){const{kind:r,symbol:i}="kind"in n?n:{kind:void 0,symbol:n};if(2===t.options.use&&88===e.kind)return;const a=t.referenceAdder(i);t.options.implementations?function(e,n,t){if(Zg(e)&&(16777216&(r=e.parent).flags?!NI(r)&&!DI(r):Am(r)?$u(r):Cd(r)?r.body:Dd(r)||Cu(r)))return void n(e);var r;if(79!==e.kind)return;300===e.parent.kind&&W(e,t.checker,n);const i=O(e);if(i)return void n(i);const a=Rc(e,(e=>!UC(e.parent)&&!jd(e.parent)&&!Bd(e.parent))),o=a.parent;if(Yu(o)&&o.type===a&&t.markSeenContainingTypeReference(o))if($u(o))s(o.initializer);else if(Ad(o)&&o.body){const e=o.body;238===e.kind?Em(e,(e=>{e.expression&&s(e.expression)})):s(e)}else _u(o)&&s(o.expression);function s(e){P(e)&&n(e)}}(e,a,t):a(e,r)}function N(e){return e.members&&e.members.get("__constructor")}function O(e){return AC(e)||Rk(e)?O(e.parent):Zk(e)?En(e.parent.parent,Dd):void 0}function P(e){switch(e.kind){case 214:return P(e.expression);case 216:case 215:case 207:case 228:case 206:return!0;default:return!1}}function F(e,n,t,r){if(e===n)return!0;const i=WG(e)+","+WG(n),a=t.get(i);if(void 0!==a)return a;t.set(i,!1);const o=!!e.declarations&&e.declarations.some((e=>_y(e).some((e=>{const i=r.getTypeAtLocation(e);return!!i&&!!i.symbol&&F(i.symbol,n,t,r)}))));return t.set(i,o),o}function B(e){return 79===e.kind&&166===e.parent.kind&&e.parent.name===e}function U(e,n,t,r,i,a){const o=[];return V(e,n,t,r,!(r&&i),((n,t,r)=>{r&&H(e)!==H(r)&&(r=void 0),o.push(r||t||n)}),(()=>!a)),o}function V(e,n,t,i,a,o,s){const c=l2(n);if(c){const e=t.getShorthandAssignmentValueSymbol(n.parent);if(e&&i)return o(e,void 0,void 0,3);const r=t.getContextualType(c.parent),a=r&&C(d2(c,t,r,!0),(e=>_(e,4)));if(a)return a;const s=function(e,n){return KX(e.parent.parent)?n.getPropertySymbolOfDestructuringAssignment(e):void 0}(n,t),l=s&&o(s,void 0,void 0,4);if(l)return l;const d=e&&o(e,void 0,void 0,3);if(d)return d}const l=r(n,e,t);if(l){const e=o(l,void 0,void 0,1);if(e)return e}const d=_(e);if(d)return d;if(e.valueDeclaration&&Ec(e.valueDeclaration,e.valueDeclaration.parent)){const n=t.getSymbolsOfParameterPropertyDeclaration(Tn(e.valueDeclaration,HC),e.name);return Nt.assert(2===n.length&&!!(1&n[0].flags)&&!!(4&n[1].flags)),_(1&e.flags?n[1]:n[0])}const u=ip(e,278);if(!i||u&&!u.propertyName){const e=u&&t.getExportSpecifierLocalTargetSymbol(u);if(e){const n=o(e,void 0,void 0,1);if(n)return n}}if(!i){let r;return r=a?LY(n.parent)?CY(t,n.parent):void 0:p(e,t),r&&_(r,4)}if(Nt.assert(i),a){const n=p(e,t);return n&&_(n,4)}function _(e,n){return C(t.getRootSymbols(e),(r=>o(e,r,void 0,n)||(r.parent&&96&r.parent.flags&&s(r)?function(e,n,t,r){const i=new Map;return function e(a){if(96&a.flags&&$E(i,WG(a)))return C(a.declarations,(i=>C(_y(i),(i=>{const a=t.getTypeAtLocation(i),o=a&&a.symbol&&t.getPropertyOfType(a,n);return a&&o&&(C(t.getRootSymbols(o),r)||e(a.symbol))}))))}(e)}(r.parent,r.name,t,(t=>o(e,r,t,n))):void 0)))}function p(e,n){const t=ip(e,205);if(t&&LY(t))return CY(n,t)}}function H(e){return!!e.valueDeclaration&&!!(32&Tb(e.valueDeclaration))}function K(e,n){let t=cJ(e);const{declarations:r}=n;if(r){let e;do{e=t;for(const e of r){const n=sJ(e);n&t&&(t|=n)}}while(t!==e)}return t}function W(e,n,t){const r=n.getSymbolAtLocation(e),i=n.getShorthandAssignmentValueSymbol(r.valueDeclaration);if(i)for(const e of i.getDeclarations())1&sJ(e)&&t(e)}function q(e,n,t){ED(e,(e=>{e.kind===n&&t(e),q(e,n,t)}))}function z(e){return 2===e.use&&e.providePrefixAndSuffixTextForRename}e.eachExportReference=function(e,n,t,r,i,a,o,s){const c=Oie(e,new Set(e.map((e=>e.fileName))),n,t),{importSearches:l,indirectUsers:d,singleReferences:u}=c(r,{exportKind:o?1:0,exportingModuleSymbol:i},!1);for(const[e]of l)s(e);for(const e of u)AC(e)&&xk(e.parent)&&s(e);for(const e of d)for(const t of E(e,o?"default":a)){const e=n.getSymbolAtLocation(t),i=ce(null==e?void 0:e.declarations,(e=>!!En(e,XI)));!AC(t)||cd(t.parent)||e!==r&&!i||s(t)}},e.isSymbolReferencedInFile=function(e,n,t,r=t){return b(e,n,t,(()=>!0),r)||!1},e.eachSymbolReferenceInFile=b,e.getTopMostDeclarationNamesInFile=function(e,n){return j(E(n,e),(e=>!!ey(e))).reduce(((e,n)=>{const t=function(e){let n=0;for(;e;)e=MJ(e),n++;return n}(n);return ce(e.declarationNames)&&t!==e.depth?t<e.depth&&(e.declarationNames=[n],e.depth=t):(e.declarationNames.push(n),e.depth=t),e}),{depth:1/0,declarationNames:[]}).declarationNames},e.someSignatureUsage=function(e,n,t,r){if(!e.name||!AC(e.name))return!1;const i=Nt.checkDefined(t.getSymbolAtLocation(e.name));for(const a of n)for(const n of E(a,i.name)){if(!AC(n)||n===e.name||n.escapedText!==e.name.escapedText)continue;const a=bJ(n),o=Dk(a.parent)&&a.parent.expression===a?a.parent:void 0,s=t.getSymbolAtLocation(n);if(s&&t.getRootSymbols(s).some((e=>e===i))&&r(n,o))return!0}return!1},e.getIntersectingMeaningFromDeclarations=K,e.getReferenceEntriesForShorthandPropertyAssignment=W})(Jie||(Jie={}))}}),bae={};T(bae,{Core:()=>Jie,DefinitionKind:()=>Wie,EntryKind:()=>qie,ExportKind:()=>Rie,FindReferencesUse:()=>zie,ImportExport:()=>Nie,createImportTracker:()=>Oie,findModuleReferences:()=>Pie,findReferenceOrRenameEntries:()=>iae,findReferencedSymbols:()=>nae,getContextNode:()=>Zie,getExportInfo:()=>Uie,getImplementationsAtPosition:()=>tae,getImportOrExportSymbol:()=>Bie,getReferenceEntriesForNode:()=>aae,getTextSpanOfEntry:()=>hae,isContextWithStartAndEndNode:()=>$ie,isDeclarationOfSymbol:()=>yae,nodeEntry:()=>Yie,toContextSpan:()=>eae,toHighlightSpan:()=>fae,toReferenceEntry:()=>dae,toRenameLocation:()=>lae});var Eae=E({"src/services/_namespaces/ts.FindAllReferences.ts"(){Xie(),vae()}});function Tae(e,n,t,r,a){var o,s;const c=Sae(n,t,e),l=c&&[(d=c.reference.fileName,u=c.fileName,_=c.unverified,{fileName:u,textSpan:mc(0,0),kind:"script",name:d,containerName:void 0,containerKind:void 0,unverified:_})]||i;var d,u,_;if(null==c?void 0:c.file)return l;const p=dX(n,t);if(p===n)return;const{parent:f}=p,m=e.getTypeChecker();if(161===p.kind||AC(p)&&Zw(f)&&f.tagName===p)return function(e,n){const t=Rc(n,Nd);if(!t||!t.name)return;const r=Rc(t,Dd);if(!r)return;const i=ly(r);if(!i)return;const a=Yg(i.expression),o=$k(a)?a.symbol:e.getSymbolAtLocation(a);if(!o)return;const s=Mc(Vf(t.name)),c=_b(t)?e.getPropertyOfType(e.getTypeOfSymbol(o),s):e.getPropertyOfType(e.getDeclaredTypeOfSymbol(o),s);return c?Iae(e,c,n):void 0}(m,p)||i;if(SJ(p)){const e=TJ(p.parent,p.text);return e?[Rae(m,e,"label",p.text,void 0)]:void 0}if(105===p.kind){const e=Rc(p.parent,(e=>XC(e)?"quit":Cd(e)));return e?[Dae(m,e)]:void 0}if(133===p.kind){const e=Rc(p,(e=>Cd(e)));return e&&ce(e.modifiers,(e=>132===e.kind))?[Dae(m,e)]:void 0}if(125===p.kind){const e=Rc(p,(e=>Cd(e)));return e&&e.asteriskToken?[Dae(m,e)]:void 0}if(DC(p)&&XC(p.parent)){const e=p.parent.parent,{symbol:n,failedAliasResolution:t}=kae(e,m,a),r=j(e.members,XC),i=n?m.symbolToString(n,e):"",o=p.getSourceFile();return W(r,(e=>{let{pos:n}=pE(e);return n=ks(o.text,n),Rae(m,e,"constructor","static {}",i,!1,t,{start:n,length:6})}))}let{symbol:h,failedAliasResolution:g}=kae(p,m,a),y=p;if(r&&g){const e=A([p,...(null==h?void 0:h.declarations)||i],(e=>Rc(e,Rf))),n=e&&_g(e);n&&(({symbol:h,failedAliasResolution:g}=kae(n,m,a)),y=n)}if(!h&&AY(y)){const e=null==(s=null==(o=n.resolvedModules)?void 0:o.get(y.text,gH(n,y)))?void 0:s.resolvedModule;if(e)return[{name:y.text,fileName:e.resolvedFileName,containerName:void 0,containerKind:void 0,kind:"script",textSpan:fc(0,0),failedAliasResolution:g,isAmbient:ND(e.resolvedFileName),unverified:y!==p}]}if(!h)return de(l,function(e,n){return ee(n.getIndexInfosAtLocation(e),(e=>e.declaration&&Dae(n,e.declaration)))}(p,m));if(r&&N(h.declarations,(e=>e.getSourceFile().fileName===n.fileName)))return;const v=function(e,n){const t=function(e){const n=Rc(e,(e=>!IJ(e))),t=null==n?void 0:n.parent;return t&&tu(t)&&oh(t)===n?t:void 0}(n),r=t&&e.getResolvedSignature(t);return En(r&&r.declaration,(e=>Ad(e)&&!ik(e)))}(m,p);if(v&&(!ju(p.parent)||!function(e){switch(e.kind){case 173:case 182:case 177:return!0;default:return!1}}(v))){const e=Dae(m,v,g);if(m.getRootSymbols(h).some((e=>function(e,n){var t;return e===n.symbol||e===n.symbol.parent||Bb(n.parent)||!tu(n.parent)&&e===(null==(t=En(n.parent,ku))?void 0:t.symbol)}(e,v))))return[e];{const n=Iae(m,h,p,g,v)||i;return 106===p.kind?[e,...n]:[...n,e]}}if(300===p.parent.kind){const e=m.getShorthandAssignmentValueSymbol(h.valueDeclaration);return de((null==e?void 0:e.declarations)?e.declarations.map((n=>wae(n,m,e,p,!1,g))):i,xae(m,p)||i)}if(xd(p)&&kk(f)&&Lk(f.parent)&&p===(f.propertyName||f.name)){const e=dY(p),n=m.getTypeAtLocation(f.parent);return void 0===e?i:X(n.isUnion()?n.types:[n],(n=>{const t=n.getProperty(e);return t&&Iae(m,t,p)}))}return de(l,xae(m,p)||Iae(m,h,p,g))}function xae(e,n){const t=l2(n);if(t){const r=t&&e.getContextualType(t.parent);if(r)return X(d2(t,e,r,!1),(t=>Iae(e,t,n)))}}function Sae(e,n,t){var r,i,a,o;const s=Oae(e.referencedFiles,n);if(s){const n=t.getSourceFileFromReference(e,s);return n&&{reference:s,fileName:n.fileName,file:n,unverified:!1}}const c=Oae(e.typeReferenceDirectives,n);if(c){const n=null==(r=t.getResolvedTypeReferenceDirectives().get(c.fileName,c.resolutionMode||e.impliedNodeFormat))?void 0:r.resolvedTypeReferenceDirective,i=n&&t.getSourceFile(n.resolvedFileName);return i&&{reference:c,fileName:i.fileName,file:i,unverified:!1}}const l=Oae(e.libReferenceDirectives,n);if(l){const e=t.getLibFileFromReference(l);return e&&{reference:l,fileName:e.fileName,file:e,unverified:!1}}if(null==(i=e.resolvedModules)?void 0:i.size()){const r=uX(e,n);if(AY(r)&&Zs(r.text)&&e.resolvedModules.has(r.text,gH(e,r))){const n=null==(o=null==(a=e.resolvedModules.get(r.text,gH(e,r)))?void 0:a.resolvedModule)?void 0:o.resolvedFileName,i=n||yo(co(e.fileName),r.text);return{file:t.getSourceFile(i),fileName:i,reference:{pos:r.getStart(),end:r.getEnd(),fileName:r.text},unverified:!n}}}}function Aae(e,n,t){const r=dX(n,t);if(r===n)return;if(dm(r.parent)&&r.parent.name===r)return Lae(e.getTypeAtLocation(r.parent),e,r.parent,!1);const{symbol:i,failedAliasResolution:a}=kae(r,e,!1);if(!i)return;const o=e.getTypeOfSymbolAtLocation(i,r),s=function(e,n,t){if(n.symbol===e||e.valueDeclaration&&n.symbol&&kI(e.valueDeclaration)&&e.valueDeclaration.initializer===n.symbol.valueDeclaration){const e=n.getCallSignatures();if(1===e.length)return t.getReturnTypeOfSignature(Me(e))}}(i,o,e),c=s&&Lae(s,e,r,a),l=c&&0!==c.length?c:Lae(o,e,r,a);return l.length?l:!(111551&i.flags)&&788968&i.flags?Iae(e,ME(i,e),r,a):void 0}function Lae(e,n,t,r){return X(!e.isUnion()||32&e.flags?[e]:e.types,(e=>e.symbol&&Iae(n,e.symbol,t,r)))}function Cae(e,n,t){const r=Tae(e,n,t);if(!r||0===r.length)return;const i=Oae(n.referencedFiles,t)||Oae(n.typeReferenceDirectives,t)||Oae(n.libReferenceDirectives,t);if(i)return{definitions:r,textSpan:QX(i)};const a=dX(n,t);return{definitions:r,textSpan:fc(a.getStart(),a.getWidth())}}function kae(e,n,t){const r=n.getSymbolAtLocation(e);let i=!1;if((null==r?void 0:r.declarations)&&2097152&r.flags&&!t&&function(e,n){return 79===e.kind&&(e.parent===n||271!==n.kind)}(e,r.declarations[0])){const e=n.getAliasedSymbol(r);if(e.declarations)return{symbol:e};i=!0}return{symbol:r,failedAliasResolution:i}}function Iae(e,n,t,r,i){const a=j(n.declarations,(e=>e!==i)),o=j(a,(e=>!function(e){if(!Gh(e))return!1;const n=Rc(e,(e=>!!Bb(e)||!Gh(e)&&"quit"));return!!n&&5===Yh(n)}(e))),s=ce(o)?o:a;return function(){if(32&n.flags&&!(19&n.flags)&&(uJ(t)||135===t.kind))return c((D(a,Dd)||Nt.fail("Expected declaration to have at least one class-like declaration")).members,!0)}()||(_J(t)||NJ(t)?c(a,!1):void 0)||W(s,(i=>wae(i,e,n,t,!1,r)));function c(i,a){if(!i)return;const o=i.filter(a?YC:Ad),s=o.filter((e=>!!e.body));return o.length?0!==s.length?s.map((r=>wae(r,e,n,t))):[wae(Ge(o),e,n,t,!1,r)]:void 0}}function wae(e,n,t,r,i,a){const o=n.symbolToString(t),s=Lue.getSymbolKind(n,t,r),c=t.parent?n.symbolToString(t.parent,r):"";return Rae(n,e,s,o,c,i,a)}function Rae(e,n,t,r,i,a,o,s){const c=n.getSourceFile();return s||(s=XX(Wc(n)||n,c)),{fileName:c.fileName,textSpan:s,kind:t,name:r,containerKind:void 0,containerName:i,...bae.toContextSpan(s,c,bae.getContextNode(n)),isLocal:!Nae(e,n),isAmbient:!!(16777216&n.flags),unverified:a,failedAliasResolution:o}}function Nae(e,n){if(e.isDeclarationVisible(n))return!0;if(!n.parent)return!1;if($u(n.parent)&&n.parent.initializer===n)return Nae(e,n.parent);switch(n.kind){case 169:case 174:case 175:case 171:if(lb(n,8))return!1;case 173:case 299:case 300:case 207:case 228:case 216:case 215:return Nae(e,n.parent);default:return!1}}function Dae(e,n,t){return wae(n,e,n.symbol,n,!1,t)}function Oae(e,n){return D(e,(e=>ac(e,n)))}var Mae=E({"src/services/goToDefinition.ts"(){ufe()}}),Pae={};T(Pae,{createDefinitionInfo:()=>wae,findReferenceInPosition:()=>Oae,getDefinitionAndBoundSpan:()=>Cae,getDefinitionAtPosition:()=>Tae,getReferenceAtPosition:()=>Sae,getTypeDefinitionAtPosition:()=>Aae});var Fae,Gae,Bae=E({"src/services/_namespaces/ts.GoToDefinition.ts"(){Mae()}});function Uae(e){return"literals"===e.includeInlayParameterNameHints}function Vae(e){const{file:n,program:t,span:r,cancellationToken:i,preferences:a}=e,o=n.text,s=t.getCompilerOptions(),c=t.getTypeChecker(),l=[];return function e(t){if(t&&0!==t.getFullWidth()){switch(t.kind){case 264:case 260:case 261:case 259:case 228:case 215:case 171:case 216:i.throwIfCancellationRequested()}if(dc(r,t.pos,t.getFullWidth())&&(!jd(t)||Zk(t)))return a.includeInlayVariableTypeHints&&kI(t)||a.includeInlayPropertyDeclarationTypeHints&&qC(t)?function(e){if(!e.initializer||Kd(e.name)||kI(e)&&!v(e))return;if(Jv(e))return;const n=c.getTypeAtLocation(e);if(_(n))return;const t=y(n);if(t){if(!1===a.includeInlayVariableTypeHintsWhenTypeMatchesName&&Fn(e.name.getText(),t))return;u(t,e.name.end)}}(t):a.includeInlayEnumMemberValueHints&&xw(t)?function(e){if(e.initializer)return;const n=c.getConstantValue(e);var t,r;void 0!==n&&(t=n.toString(),r=e.end,l.push({text:`= ${g(t,Fae)}`,position:r,kind:"Enum",whitespaceBefore:!0}))}(t):function(e){return"literals"===e.includeInlayParameterNameHints||"all"===e.includeInlayParameterNameHints}(a)&&(Dk(t)||Ok(t))?function(e){const n=e.arguments;if(!n||!n.length)return;const t=[],r=c.getResolvedSignatureForSignatureHelp(e,t);if(r&&t.length)for(let e=0;e<n.length;++e){const t=n[e],i=Yg(t);if(Uae(a)&&!m(i))continue;const o=c.getParameterIdentifierNameAtPosition(r,e);if(o){const[e,n]=o;if(!a.includeInlayParameterNameHintsWhenArgumentMatchesName&&p(i,e)&&!n)continue;const r=Mc(e);if(f(i,r))continue;d(r,t.getStart(),n)}}}(t):(a.includeInlayFunctionParameterTypeHints&&Cd(t)&&RS(t)&&function(e){const n=c.getSignatureFromDeclaration(e);if(n)for(let t=0;t<e.parameters.length&&t<n.parameters.length;++t){const r=e.parameters[t];if(!v(r))continue;if(Jv(r))continue;const i=h(n.parameters[t]);i&&u(i,r.questionToken?r.questionToken.end:r.name.end)}}(t),a.includeInlayFunctionLikeReturnTypeHints&&function(e){return Bk(e)||Gk(e)||wI(e)||JC(e)||$C(e)}(t)&&function(e){if(Bk(e)&&!ZJ(e,20,n))return;if(Yv(e)||!e.body)return;const t=c.getSignatureFromDeclaration(e);if(!t)return;const r=c.getReturnTypeOfSignature(t);if(_(r))return;const i=y(r);i&&u(i,function(e){const t=ZJ(e,21,n);return t?t.end:e.parameters.end}(e))}(t)),ED(t,e)}}(n),l;function d(e,n,t){l.push({text:`${t?"...":""}${g(e,Fae)}:`,position:n,kind:"Parameter",whitespaceAfter:!0})}function u(e,n){l.push({text:`: ${g(e,Fae)}`,position:n,kind:"Type",whitespaceBefore:!0})}function _(e){return e.symbol&&1536&e.symbol.flags}function p(e,n){return AC(e)?e.text===n:!!Rk(e)&&e.name.text===n}function f(e,t){if(!Ks(t,s.target,OT(n.scriptKind)))return!1;const r=Bs(o,e.pos);if(!(null==r?void 0:r.length))return!1;const i=Gae(t);return ce(r,(e=>i.test(o.substring(e.pos,e.end))))}function m(e){switch(e.kind){case 221:{const n=e.operand;return rd(n)||AC(n)&&NS(n.escapedText)}case 110:case 95:case 104:case 14:case 225:return!0;case 79:{const n=e.escapedText;return function(e){return"undefined"===e}(n)||NS(n)}}return rd(e)}function h(e){const n=e.valueDeclaration;if(!n||!HC(n))return;const t=c.getTypeOfSymbolAtLocation(e,n);return _(t)?void 0:y(t)}function g(e,n){return e.length>n?e.substr(0,n-3)+"...":e}function y(e){const t=WV();return hp((r=>{const i=c.typeToTypeNode(e,void 0,71286784);Nt.assertIsDefined(i,"should always get typenode"),t.writeNode(4,i,n,r)}))}function v(e){if((Ky(e)||kI(e)&&om(e))&&e.initializer){const n=Yg(e.initializer);return!(m(n)||Ok(n)||wk(n)||_u(n))}return!0}}var jae=E({"src/services/inlayHints.ts"(){ufe(),Fae=30,Gae=e=>new RegExp(`^\\s?/\\*\\*?\\s?${e}\\s?\\*\\/\\s?$`)}}),Hae={};T(Hae,{provideInlayHints:()=>Vae});var Kae,Wae,qae,zae,Jae=E({"src/services/_namespaces/ts.InlayHints.ts"(){jae()}});function Xae(e,n){const t=[];return MY(e,(e=>{for(const r of function(e){switch(e.kind){case 344:case 351:return[e];case 341:case 349:return[e,e.parent];default:return Ig(e)}}(e)){const i=jw(r)&&r.tags&&D(r.tags,(e=>330===e.kind&&("inheritDoc"===e.tagName.escapedText||"inheritdoc"===e.tagName.escapedText)));if(void 0===r.comment&&!i||jw(r)&&349!==e.kind&&341!==e.kind&&r.tags&&r.tags.some((e=>349===e.kind||341===e.kind))&&!r.tags.some((e=>344===e.kind||345===e.kind)))continue;let a=r.comment?Qae(r.comment,n):[];i&&i.comment&&(a=a.concat(Qae(i.comment,n))),G(t,a,Yae)||t.push(a)}})),J(R(t,[i$()]))}function Yae(e,n){return B(e,n,((e,n)=>e.kind===n.kind&&e.text===n.text))}function $ae(e,n){const t=[];return MY(e,(e=>{const r=Al(e);if(!r.some((e=>349===e.kind||341===e.kind))||r.some((e=>344===e.kind||345===e.kind)))for(const e of r)t.push({name:e.tagName.text,text:Zae(e,n)})})),t}function Qae(e,n){return"string"==typeof e?[YY(e)]:X(e,(e=>324===e.kind?[YY(e.text)]:t$(e,n)))}function Zae(e,n){const{comment:t,kind:r}=e,i=function(e){switch(e){case 344:return zY;case 351:return JY;case 348:return QY;case 349:case 341:return $Y;default:return YY}}(r);switch(r){case 352:const r=e.typeExpression;return r?a(r):void 0===t?void 0:Qae(t,n);case 332:case 331:return a(e.class);case 348:const o=e,s=[];if(o.constraint&&s.push(YY(o.constraint.getText())),S(o.typeParameters)){S(s)&&s.push(HY());const e=o.typeParameters[o.typeParameters.length-1];A(o.typeParameters,(n=>{s.push(i(n.getText())),e!==n&&s.push(WY(27),HY())}))}return t&&s.push(HY(),...Qae(t,n)),s;case 347:case 353:return a(e.typeExpression);case 349:case 341:case 351:case 344:case 350:const{name:c}=e;return c?a(c):void 0===t?void 0:Qae(t,n);default:return void 0===t?void 0:Qae(t,n)}function a(e){return r=e.getText(),t?r.match(/^https?$/)?[YY(r),...Qae(t,n)]:[i(r),HY(),...Qae(t,n)]:[YY(r)];var r}}function eoe(){return Wae||(Wae=W(Kae,(e=>({name:e,kind:"keyword",kindModifiers:"",sortText:wie.SortText.LocationPriority}))))}function noe(){return qae||(qae=W(Kae,(e=>({name:`@${e}`,kind:"keyword",kindModifiers:"",sortText:wie.SortText.LocationPriority}))))}function toe(e){return{name:e,kind:"",kindModifiers:"",displayParts:[YY(e)],documentation:i,tags:void 0,codeActions:void 0}}function roe(e){if(!AC(e.name))return i;const n=e.name.text,t=e.parent,r=t.parent;return Ad(r)?ee(r.parameters,(r=>{if(!AC(r.name))return;const i=r.name.text;return t.tags.some((n=>n!==e&&iR(n)&&AC(n.name)&&n.name.escapedText===i))||void 0!==n&&!pt(i,n)?void 0:{name:i,kind:"parameter",kindModifiers:"",sortText:wie.SortText.LocationPriority}})):[]}function ioe(e){return{name:e,kind:"parameter",kindModifiers:"",displayParts:[YY(e)],documentation:i,tags:void 0,codeActions:void 0}}function aoe(e,n,t,r){const i=_X(n,t),a=Rc(i,jw);if(a&&(void 0!==a.comment||S(a.tags)))return;const o=i.getStart(n);if(!a&&o<t)return;const s=function(e,n){return _p(e,(e=>ooe(e,n)))}(i,r);if(!s)return;const{commentOwner:c,parameters:l,hasReturn:d}=s,u=Xu(c)&&c.jsDoc?c.jsDoc:void 0,_=Fe(u);if(c.getStart(n)<t||_&&a&&_!==a)return;const p=function(e,n){const{text:t}=e,r=GJ(n,e);let i=r;for(;i<=n&&Ts(t.charCodeAt(i));i++);return t.slice(r,i)}(n,t),f=Px(n.fileName),m=(l?function(e,n,t,r){return e.map((({name:e,dotDotDotToken:i},a)=>{const o=79===e.kind?e.text:"param"+a;return`${t} * @param ${n?i?"{...any} ":"{any} ":""}${o}${r}`})).join("")}(l||[],f,p,e):"")+(d?function(e,n){return`${e} * @returns${n}`}(p,e):""),h=(u||[]).some((e=>!!e.tags));if(m&&!h){const n="/**"+e+p+" * ";return{newText:n+e+m+p+" */"+(o===t?e+p:""),caretOffset:n.length}}return{newText:"/** */",caretOffset:3}}function ooe(e,n){switch(e.kind){case 259:case 215:case 171:case 173:case 170:case 216:const t=e;return{commentOwner:e,parameters:t.parameters,hasReturn:soe(t,n)};case 299:return ooe(e.initializer,n);case 260:case 261:case 263:case 302:case 262:return{commentOwner:e};case 168:{const t=e;return t.type&&ik(t.type)?{commentOwner:e,parameters:t.type.parameters,hasReturn:soe(t.type,n)}:{commentOwner:e}}case 240:{const t=e.declarationList.declarations,r=1===t.length&&t[0].initializer?function(e){for(;214===e.kind;)e=e.expression;switch(e.kind){case 215:case 216:return e;case 228:return D(e.members,YC)}}(t[0].initializer):void 0;return r?{commentOwner:e,parameters:r.parameters,hasReturn:soe(r,n)}:{commentOwner:e}}case 308:return"quit";case 264:return 264===e.parent.kind?void 0:{commentOwner:e};case 241:return ooe(e.expression,n);case 223:{const t=e;return 0===Yh(t)?"quit":Ad(t.right)?{commentOwner:e,parameters:t.right.parameters,hasReturn:soe(t.right,n)}:{commentOwner:e}}case 169:const r=e.initializer;if(r&&(Gk(r)||Bk(r)))return{commentOwner:e,parameters:r.parameters,hasReturn:soe(r,n)}}}function soe(e,n){return!!(null==n?void 0:n.generateReturnInDocTemplate)&&(ik(e)||Bk(e)&&uu(e.body)||Cd(e)&&e.body&&lI(e.body)&&!!Em(e.body,(e=>e)))}var coe=E({"src/services/jsDoc.ts"(){ufe(),Kae=["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","linkcode","linkplain","listens","member","memberof","method","mixes","module","name","namespace","overload","override","package","param","private","prop","property","protected","public","readonly","requires","returns","satisfies","see","since","static","summary","template","this","throws","todo","tutorial","type","typedef","var","variation","version","virtual","yields"],zae=toe}}),loe={};T(loe,{getDocCommentTemplateAtPosition:()=>aoe,getJSDocParameterNameCompletionDetails:()=>ioe,getJSDocParameterNameCompletions:()=>roe,getJSDocTagCompletionDetails:()=>toe,getJSDocTagCompletions:()=>noe,getJSDocTagNameCompletionDetails:()=>zae,getJSDocTagNameCompletions:()=>eoe,getJsDocCommentsFromDeclarations:()=>Xae,getJsDocTagsFromDeclarations:()=>$ae});var doe,uoe=E({"src/services/_namespaces/ts.JsDoc.ts"(){coe()}});function _oe(e,n,t,r,i,a){const o=i_e.ChangeTracker.fromContext({host:t,formatContext:n,preferences:i}),s="SortAndCombine"===a||"All"===a,c=s,l="RemoveUnused"===a||"All"===a,d=poe(e,e.statements.filter(UI)),u=function(e,n){var t;return Poe(e,"boolean"==typeof e.organizeImportsIgnoreCase?e.organizeImportsIgnoreCase:null!=(t=null==n?void 0:n())&&t)}(i,s?()=>2===koe(d,i):void 0),_=n=>(l&&(n=function(e,n,t){const r=t.getTypeChecker(),i=t.getCompilerOptions(),a=r.getJsxNamespace(n),o=r.getJsxFragmentFactory(n),s=!!(2&n.transformFlags),c=[];for(const t of e){const{importClause:e,moduleSpecifier:r}=t;if(!e){c.push(t);continue}let{name:i,namedBindings:a}=e;if(i&&!l(i)&&(i=void 0),a)if(WI(a))l(a.name)||(a=void 0);else{const e=a.elements.filter((e=>l(e.name)));e.length<a.elements.length&&(a=e.length?pA.updateNamedImports(a,e):void 0)}i||a?c.push(Eoe(t,i,a)):moe(n,r)&&(n.isDeclarationFile?c.push(pA.createImportDeclaration(t.modifiers,void 0,r,void 0)):c.push(t))}return c;function l(e){return s&&(e.text===a||o&&e.text===o)&&IQ(i.jsx)||bae.Core.isSymbolReferencedInFile(e,r,n)}}(n,e,r)),c&&(n=yoe(n,u,e)),s&&(n=Re(n,((e,n)=>Noe(e,n,u)))),n);d.forEach((e=>p(e,_))),"RemoveUnused"!==a&&p(e.statements.filter(YI),(e=>boe(e,u)));for(const n of e.statements.filter(ff))n.body&&(poe(e,n.body.statements.filter(UI)).forEach((e=>p(e,_))),"RemoveUnused"!==a&&p(n.body.statements.filter(YI),(e=>boe(e,u))));return o.getChanges();function p(r,i){if(0===S(r))return;x$(r[0]);const a=c?an(r,(e=>hoe(e.moduleSpecifier))):[r],l=X(s?Re(a,((e,n)=>Aoe(e[0].moduleSpecifier,n[0].moduleSpecifier,u))):a,(e=>hoe(e[0].moduleSpecifier)?i(e):e));if(0===l.length)o.deleteNodes(e,r,{leadingTriviaOption:i_e.LeadingTriviaOption.Exclude,trailingTriviaOption:i_e.TrailingTriviaOption.Include},!0);else{const i={leadingTriviaOption:i_e.LeadingTriviaOption.Exclude,trailingTriviaOption:i_e.TrailingTriviaOption.Include,suffix:r$(t,n.options)};o.replaceNodeWithNodes(e,r[0],l,i);const a=o.nodeHasTrailingComment(e,r[0],i);o.deleteNodes(e,r.slice(1),{trailingTriviaOption:i_e.TrailingTriviaOption.Include},a)}}}function poe(e,n){const t=Ws(e.languageVersion,!1,e.languageVariant),r=[];let i=0;for(const a of n)r[i]&&foe(e,a,t)&&i++,r[i]||(r[i]=[]),r[i].push(a);return r}function foe(e,n,t){const r=n.getFullStart(),i=n.getStart();t.setText(e.text,r,i-r);let a=0;for(;t.getTokenPos()<i;)if(4===t.scan()&&(a++,a>=2))return!0;return!1}function moe(e,n){const t=cC(n)&&n.text;return vn(t)&&ce(e.moduleAugmentations,(e=>cC(e)&&e.text===t))}function hoe(e){return void 0!==e&&t_(e)?e.text:void 0}function goe(e,n,t){return yoe(e,Moe(n),t)}function yoe(e,n,t){if(0===e.length)return e;const{importWithoutClause:r,typeOnlyImports:a,regularImports:o}=function(e){let n;const t={defaultImports:[],namespaceImports:[],namedImports:[]},r={defaultImports:[],namespaceImports:[],namedImports:[]};for(const i of e){if(void 0===i.importClause){n=n||i;continue}const e=i.importClause.isTypeOnly?t:r,{name:a,namedBindings:o}=i.importClause;a&&e.defaultImports.push(i),o&&(WI(o)?e.namespaceImports.push(i):e.namedImports.push(i))}return{importWithoutClause:n,typeOnlyImports:t,regularImports:r}}(e),s=[];r&&s.push(r);for(const e of[o,a]){const r=e===a,{defaultImports:o,namespaceImports:c,namedImports:l}=e;if(!r&&1===o.length&&1===c.length&&0===l.length){const e=o[0];s.push(Eoe(e,e.importClause.name,c[0].importClause.namedBindings));continue}const d=Re(c,((e,t)=>n(e.importClause.namedBindings.name.text,t.importClause.namedBindings.name.text)));for(const e of d)s.push(Eoe(e,void 0,e.importClause.namedBindings));const u=De(o),_=De(l),p=null!=u?u:_;if(!p)continue;let f;const m=[];if(1===o.length)f=o[0].importClause.name;else for(const e of o)m.push(pA.createImportSpecifier(!1,pA.createIdentifier("default"),e.importClause.name));m.push(...Ooe(l));const h=pA.createNodeArray(Toe(m,n),null==_?void 0:_.importClause.namedBindings.elements.hasTrailingComma),g=0===h.length?f?void 0:pA.createNamedImports(i):_?pA.updateNamedImports(_.importClause.namedBindings,h):pA.createNamedImports(h);t&&g&&(null==_?void 0:_.importClause.namedBindings)&&!hE(_.importClause.namedBindings,t)&&GA(g,2),r&&f&&g?(s.push(Eoe(p,f,void 0)),s.push(Eoe(null!=_?_:p,void 0,g))):s.push(Eoe(p,f,g))}return s}function voe(e,n){return boe(e,Moe(n))}function boe(e,n){if(0===e.length)return e;const{exportWithoutClause:t,namedExports:r,typeOnlyExports:a}=function(e){let n;const t=[],r=[];for(const i of e)void 0===i.exportClause?n=n||i:i.isTypeOnly?r.push(i):t.push(i);return{exportWithoutClause:n,namedExports:t,typeOnlyExports:r}}(e),o=[];t&&o.push(t);for(const e of[r,a]){if(0===e.length)continue;const t=[];t.push(...X(e,(e=>e.exportClause&&$I(e.exportClause)?e.exportClause.elements:i)));const r=Toe(t,n),a=e[0];o.push(pA.updateExportDeclaration(a,a.modifiers,a.isTypeOnly,a.exportClause&&($I(a.exportClause)?pA.updateNamedExports(a.exportClause,r):pA.updateNamespaceExport(a.exportClause,a.exportClause.name)),a.moduleSpecifier,a.assertClause))}return o}function Eoe(e,n,t){return pA.updateImportDeclaration(e,e.modifiers,pA.updateImportClause(e.importClause,e.importClause.isTypeOnly,n,t),e.moduleSpecifier,e.assertClause)}function Toe(e,n){return Re(e,((e,t)=>xoe(e,t,n)))}function xoe(e,n,t){return $n(e.isTypeOnly,n.isTypeOnly)||t(e.name.text,n.name.text)}function Soe(e,n,t){return Aoe(e,n,Moe(!!t))}function Aoe(e,n,t){const r=void 0===e?void 0:hoe(e),i=void 0===n?void 0:hoe(n);return $n(void 0===r,void 0===i)||$n(Zs(r),Zs(i))||t(r,i)}function Loe(e){var n;switch(e.kind){case 268:return null==(n=En(e.moduleReference,iw))?void 0:n.expression;case 269:return e.moduleSpecifier;case 240:return e.declarationList.declarations[0].initializer.arguments[0]}}function Coe(e,n){return koe(poe(e,e.statements.filter(UI)),n)}function koe(e,n){const t=Poe(n,!1),r=Poe(n,!0);let i=3,a=!1;for(const o of e){if(o.length>1){const e=ye(o,(e=>{var n,t;return null!=(t=null==(n=En(e.moduleSpecifier,cC))?void 0:n.text)?t:""}),t,r);if(e&&(i&=e,a=!0),!i)return i}const e=D(o,(e=>{var n,t;return(null==(t=En(null==(n=e.importClause)?void 0:n.namedBindings,zI))?void 0:t.elements.length)>1}));if(e){const t=doe(e.importClause.namedBindings.elements,n);if(t&&(i&=t,a=!0),!i)return i}if(3!==i)return i}return a?0:i}function Ioe(e,n){return ye(e,(e=>hoe(Loe(e))||""),Poe(n,!1),Poe(n,!0))}function woe(e,n,t){const r=He(e,n,Cn,((e,n)=>Noe(e,n,t)));return r<0?~r:r}function Roe(e,n,t){const r=He(e,n,Cn,((e,n)=>xoe(e,n,t)));return r<0?~r:r}function Noe(e,n,t){return Aoe(Loe(e),Loe(n),t)||function(e,n){return Un(Doe(e),Doe(n))}(e,n)}function Doe(e){var n;switch(e.kind){case 269:return e.importClause?e.importClause.isTypeOnly?1:271===(null==(n=e.importClause.namedBindings)?void 0:n.kind)?2:e.importClause.name?3:4:0;case 268:return 5;case 240:return 6}}function Ooe(e){return X(e,(e=>W(function(e){var n;return(null==(n=e.importClause)?void 0:n.namedBindings)&&zI(e.importClause.namedBindings)?e.importClause.namedBindings.elements:void 0}(e),(e=>e.name&&e.propertyName&&e.name.escapedText===e.propertyName.escapedText?pA.updateImportSpecifier(e,e.isTypeOnly,void 0,e.name):e))))}function Moe(e){return e?Kn:Wn}function Poe(e,n){var t;return"unicode"===(null!=(t=e.organizeImportsCollation)?t:"ordinal")?function(e,n){var t,r,i;const a=function(e){let n=e.organizeImportsLocale;"auto"===n&&(n=zn()),void 0===n&&(n="en");const t=Intl.Collator.supportedLocalesOf(n);return t.length?t[0]:"en"}(n),o=null!=(t=n.organizeImportsCaseFirst)&&t,s=null!=(r=n.organizeImportsNumericCollation)&&r,c=null==(i=n.organizeImportsAccentCollation)||i,l=e?c?"accent":"base":c?"variant":"case";return new Intl.Collator(a,{usage:"sort",caseFirst:o||"false",sensitivity:l,numeric:s}).compare}(n,e):Moe(n)}var Foe=E({"src/services/organizeImports.ts"(){ufe(),doe=On(((e,n)=>ge(e,((e,n)=>$n(e.isTypeOnly,n.isTypeOnly)))?ye(e,(e=>e.name.text),Poe(n,!1),Poe(n,!0)):0),new class{has([e,n]){return!(this._lastPreferences!==n||!this._cache)&&this._cache.has(e)}get([e,n]){if(this._lastPreferences===n&&this._cache)return this._cache.get(e)}set([e,n],t){this._lastPreferences!==n&&(this._lastPreferences=n,this._cache=void 0),null!=this._cache||(this._cache=new WeakMap),this._cache.set(e,t)}})}}),Goe={};T(Goe,{coalesceExports:()=>voe,coalesceImports:()=>goe,compareImportOrExportSpecifiers:()=>xoe,compareImportsOrRequireStatements:()=>Noe,compareModuleSpecifiers:()=>Soe,detectImportDeclarationSorting:()=>Ioe,detectImportSpecifierSorting:()=>doe,detectSorting:()=>Coe,getImportDeclarationInsertionIndex:()=>woe,getImportSpecifierInsertionIndex:()=>Roe,getOrganizeImportsComparer:()=>Poe,organizeImports:()=>_oe});var Boe,Uoe=E({"src/services/_namespaces/ts.OrganizeImports.ts"(){Foe()}});function Voe(e,n){const t=[];return function(e,n,t){let r=40,i=0;const a=[...e.statements,e.endOfFileToken],o=a.length;for(;i<o;){for(;i<o&&!wf(a[i]);)s(a[i]),i++;if(i===o)break;const n=i;for(;i<o&&wf(a[i]);)s(a[i]),i++;const r=i-1;r!==n&&t.push(Woe(ZJ(a[n],100,e).getStart(e),a[r].getEnd(),"imports"))}function s(i){var a;if(0===r)return;n.throwIfCancellationRequested(),(Nu(i)||dI(i)||EI(i)||ru(i)||1===i.kind)&&Koe(i,e,n,t),Ad(i)&&qk(i.parent)&&Rk(i.parent.left)&&Koe(i.parent.left,e,n,t),(lI(i)||PI(i))&&Hoe(i.statements.end,e,n,t),(Dd(i)||NI(i))&&Hoe(i.members.end,e,n,t);const o=function(e,n){switch(e.kind){case 238:if(Ad(e.parent))return function(e,n,t){const r=function(e,n,t){if(xE(e.parameters,t)){const n=ZJ(e,20,t);if(n)return n}return ZJ(n,18,t)}(e,n,t),i=ZJ(n,19,t);return r&&i&&qoe(r,i,e,t,216!==e.kind)}(e.parent,e,n);switch(e.parent.kind){case 243:case 246:case 247:case 245:case 242:case 244:case 251:case 295:return i(e.parent);case 255:const t=e.parent;if(t.tryBlock===e)return i(e.parent);if(t.finallyBlock===e){const e=ZJ(t,96,n);if(e)return i(e)}default:return zoe(XX(e,n),"code")}case 265:return i(e.parent);case 260:case 228:case 261:case 263:case 266:case 184:case 203:return i(e);case 186:return i(e,!1,!lk(e.parent),22);case 292:case 293:return(t=e.statements).length?zoe(QX(t),"code"):void 0;case 207:return r(e);case 206:return r(e,22);case 281:return function(e){const t=mc(e.openingElement.getStart(n),e.closingElement.getEnd()),r=e.openingElement.tagName.getText(n);return zoe(t,"code",t,!1,"<"+r+">...</"+r+">")}(e);case 285:return function(e){const t=mc(e.openingFragment.getStart(n),e.closingFragment.getEnd());return zoe(t,"code",t,!1,"<>...</>")}(e);case 282:case 283:return function(e){if(0!==e.properties.length)return Woe(e.getStart(n),e.getEnd(),"code")}(e.attributes);case 225:case 14:return function(e){if(14!==e.kind||0!==e.text.length)return Woe(e.getStart(n),e.getEnd(),"code")}(e);case 204:return i(e,!1,!kk(e.parent),22);case 216:return function(e){if(lI(e.body)||Fk(e.body)||SE(e.body.getFullStart(),e.body.getEnd(),n))return;return zoe(mc(e.body.getFullStart(),e.body.getEnd()),"code",XX(e))}(e);case 210:return function(e){if(!e.arguments.length)return;const t=ZJ(e,20,n),r=ZJ(e,21,n);return t&&r&&!SE(t.pos,r.pos,n)?qoe(t,r,e,n,!1,!0):void 0}(e);case 214:return function(e){if(SE(e.getStart(),e.getEnd(),n))return;return zoe(mc(e.getStart(),e.getEnd()),"code",XX(e))}(e);case 272:case 276:case 296:return function(e){if(!e.elements.length)return;const t=ZJ(e,18,n),r=ZJ(e,19,n);return t&&r&&!SE(t.pos,r.pos,n)?qoe(t,r,e,n,!1,!1):void 0}(e)}var t;function r(e,n=18){return i(e,!1,!Ik(e.parent)&&!Dk(e.parent),n)}function i(t,r=!1,i=!0,a=18,o=(18===a?19:23)){const s=ZJ(e,a,n),c=ZJ(e,o,n);return s&&c&&qoe(s,c,t,n,r,i)}}(i,e);o&&t.push(o),r--,Dk(i)?(r++,s(i.expression),r--,i.arguments.forEach(s),null==(a=i.typeArguments)||a.forEach(s)):pI(i)&&i.elseStatement&&pI(i.elseStatement)?(s(i.expression),s(i.thenStatement),r++,s(i.elseStatement),r--):i.forEachChild(s),r++}}(e,n,t),function(e,n){const t=[],r=e.getLineStarts();for(const i of r){const r=e.getLineEndOfPosition(i),a=joe(e.text.substring(i,r));if(a&&!NX(e,i))if(a[1]){const e=t.pop();e&&(e.textSpan.length=r-e.textSpan.start,e.hintSpan.length=r-e.textSpan.start,n.push(e))}else{const n=mc(e.text.indexOf("//",i),r);t.push(zoe(n,"region",n,!1,a[2]||"#region"))}}}(e,t),t.sort(((e,n)=>e.textSpan.start-n.textSpan.start))}function joe(e){return pt(e=y(e),"//")?(e=h(e.slice(2)),Boe.exec(e)):null}function Hoe(e,n,t,r){const i=Bs(n.text,e);if(!i)return;let a=-1,o=-1,s=0;const c=n.getFullText();for(const{kind:e,pos:n,end:d}of i)switch(t.throwIfCancellationRequested(),e){case 2:if(joe(c.slice(n,d))){l(),s=0;break}0===s&&(a=n),o=d,s++;break;case 3:l(),r.push(Woe(n,d,"comment")),s=0;break;default:Nt.assertNever(e)}function l(){s>1&&r.push(Woe(a,o,"comment"))}l()}function Koe(e,n,t,r){lC(e)||Hoe(e.pos,n,t,r)}function Woe(e,n,t){return zoe(mc(e,n),t)}function qoe(e,n,t,r,i=!1,a=!0){return zoe(mc(a?e.getFullStart():e.getStart(r),n.getEnd()),"code",XX(t,r),i)}function zoe(e,n,t=e,r=!1,i="..."){return{textSpan:e,kind:n,hintSpan:t,bannerText:i,autoCollapse:r}}var Joe=E({"src/services/outliningElementsCollector.ts"(){ufe(),Boe=/^#(end)?region(?:\s+(.*))?(?:\r)?$/}}),Xoe={};T(Xoe,{collectElements:()=>Voe});var Yoe,$oe=E({"src/services/_namespaces/ts.OutliningElementsCollector.ts"(){Joe()}});function Qoe(e,n){Yoe.set(e,n)}function Zoe(e){return Qe($(Yoe.values(),(n=>{var t;return e.cancellationToken&&e.cancellationToken.isCancellationRequested()||!(null==(t=n.kinds)?void 0:t.some((n=>Lse(n,e.kind))))?void 0:n.getAvailableActions(e)})))}function ese(e,n,t){const r=Yoe.get(n);return r&&r.getEditsForAction(e,t)}var nse,tse,rse,ise=E({"src/services/refactorProvider.ts"(){ufe(),Sde(),Yoe=new Map}});function ase(e,n=!0){const{file:t,program:r}=e,i=uQ(e),a=_X(t,i.start),o=a.parent&&1&Sb(a.parent)&&n?a.parent:kY(a,t,i);if(!o||!(Aw(o.parent)||PI(o.parent)&&ff(o.parent.parent)))return{error:vT(Vo.Could_not_find_export_statement)};const s=r.getTypeChecker(),c=function(e,n){if(Aw(e))return e.symbol;const t=e.parent.symbol;return t.valueDeclaration&&Ef(t.valueDeclaration)?n.getMergedSymbol(t):t}(o.parent,s),l=Sb(o)||(XI(o)&&!o.isExportEquals?1025:0),d=!!(1024&l);if(!(1&l)||!d&&c.exports.has("default"))return{error:vT(Vo.This_file_already_has_a_default_export)};const u=e=>AC(e)&&s.getSymbolAtLocation(e)?void 0:{error:vT(Vo.Can_only_convert_named_export)};switch(o.kind){case 259:case 260:case 261:case 263:case 262:case 264:{const e=o;if(!e.name)return;return u(e.name)||{exportNode:e,exportName:e.name,wasDefault:d,exportingModuleSymbol:c}}case 240:{const e=o;if(!(2&e.declarationList.flags)||1!==e.declarationList.declarations.length)return;const n=Me(e.declarationList.declarations);if(!n.initializer)return;return Nt.assert(!d,"Can't have a default flag here"),u(n.name)||{exportNode:e,exportName:n.name,wasDefault:d,exportingModuleSymbol:c}}case 274:{const e=o;if(e.isExportEquals)return;return u(e.expression)||{exportNode:e,exportName:e.expression,wasDefault:d,exportingModuleSymbol:c}}default:return}}function ose(e,n){return pA.createImportSpecifier(!1,e===n?void 0:pA.createIdentifier(e),pA.createIdentifier(n))}function sse(e,n){return pA.createExportSpecifier(!1,e===n?void 0:pA.createIdentifier(e),pA.createIdentifier(n))}var cse,lse,dse=E({"src/services/refactors/convertExport.ts"(){ufe(),Sde(),nse="Convert export",tse={name:"Convert default export to named export",description:Vo.Convert_default_export_to_named_export.message,kind:"refactor.rewrite.export.named"},rse={name:"Convert named export to default export",description:Vo.Convert_named_export_to_default_export.message,kind:"refactor.rewrite.export.default"},Qoe(nse,{kinds:[tse.kind,rse.kind],getAvailableActions:function(e){const n=ase(e,"invoked"===e.triggerReason);if(!n)return i;if(!Ase(n)){const e=n.wasDefault?tse:rse;return[{name:nse,description:e.description,actions:[e]}]}return e.preferences.provideRefactorNotApplicableReason?[{name:nse,description:Vo.Convert_default_export_to_named_export.message,actions:[{...tse,notApplicableReason:n.error},{...rse,notApplicableReason:n.error}]}]:i},getEditsForAction:function(e,n){Nt.assert(n===tse.name||n===rse.name,"Unexpected action name");const t=ase(e);return Nt.assert(t&&!Ase(t),"Expected applicable refactor info"),{edits:i_e.ChangeTracker.with(e,(n=>function(e,n,t,r,i){!function(e,{wasDefault:n,exportNode:t,exportName:r},i,a){if(n)if(XI(t)&&!t.isExportEquals){const n=t.expression,r=sse(n.text,n.text);i.replaceNode(e,t,pA.createExportDeclaration(void 0,!1,pA.createNamedExports([r])))}else i.delete(e,Nt.checkDefined(wY(t,88),"Should find a default keyword in modifier list"));else{const n=Nt.checkDefined(wY(t,93),"Should find an export keyword in modifier list");switch(t.kind){case 259:case 260:case 261:i.insertNodeAfter(e,n,pA.createToken(88));break;case 240:const o=Me(t.declarationList.declarations);if(!bae.Core.isSymbolReferencedInFile(r,a,e)&&!o.type){i.replaceNode(e,t,pA.createExportDefault(Nt.checkDefined(o.initializer,"Initializer was previously known to be present")));break}case 263:case 262:case 264:i.deleteModifier(e,n),i.insertNodeAfter(e,t,pA.createExportDefault(pA.createIdentifier(r.text)));break;default:Nt.fail(`Unexpected exportNode kind ${t.kind}`)}}}(e,t,r,n.getTypeChecker()),function(e,{wasDefault:n,exportName:t,exportingModuleSymbol:r},i,a){const o=e.getTypeChecker(),s=Nt.checkDefined(o.getSymbolAtLocation(t),"Export name should resolve to a symbol");bae.Core.eachExportReference(e.getSourceFiles(),o,a,s,r,t.text,n,(e=>{if(t===e)return;const r=e.getSourceFile();n?function(e,n,t,r){const{parent:i}=n;switch(i.kind){case 208:t.replaceNode(e,n,pA.createIdentifier(r));break;case 273:case 278:{const n=i;t.replaceNode(e,n,ose(r,n.name.text));break}case 270:{const a=i;Nt.assert(a.name===n,"Import clause name should match provided ref");const o=ose(r,n.text),{namedBindings:s}=a;if(s)if(271===s.kind){t.deleteRange(e,{pos:n.getStart(e),end:s.getStart(e)});const i=cC(a.parent.moduleSpecifier)?bY(a.parent.moduleSpecifier,e):1,o=yY(void 0,[ose(r,n.text)],a.parent.moduleSpecifier,i);t.insertNodeAfter(e,a.parent,o)}else t.delete(e,n),t.insertNodeAtEndOfList(e,s.elements,o);else t.replaceNode(e,n,pA.createNamedImports([o]));break}case 202:const a=i;t.replaceNode(e,i,pA.createImportTypeNode(a.argument,a.assertions,pA.createIdentifier(r),a.typeArguments,a.isTypeOf));break;default:Nt.failBadSyntaxKind(i)}}(r,e,i,t.text):function(e,n,t){const r=n.parent;switch(r.kind){case 208:t.replaceNode(e,n,pA.createIdentifier("default"));break;case 273:{const n=pA.createIdentifier(r.name.text);1===r.parent.elements.length?t.replaceNode(e,r.parent,n):(t.delete(e,r),t.insertNodeBefore(e,r.parent,n));break}case 278:t.replaceNode(e,r,sse("default",r.name.text));break;default:Nt.assertNever(r,`Unexpected parent kind ${r.kind}`)}}(r,e,i)}))}(n,t,r,i)}(e.file,e.program,t,n,e.cancellationToken))),renameFilename:void 0,renameLocation:void 0}}})}});function use(e,n=!0){const{file:t}=e,r=uQ(e),i=_X(t,r.start),a=n?Rc(i,UI):kY(i,t,r);if(!a||!UI(a))return{error:"Selection is not an import declaration."};const o=r.start+r.length,s=hX(a,a.parent,t);if(s&&o>s.getStart())return;const{importClause:c}=a;return c?c.namedBindings?271===c.namedBindings.kind?{convertTo:0,import:c.namedBindings}:_se(e.program,c)?{convertTo:1,import:c.namedBindings}:{convertTo:2,import:c.namedBindings}:{error:vT(Vo.Could_not_find_namespace_import_or_named_imports)}:{error:vT(Vo.Could_not_find_import_clause)}}function _se(e,n){return $T(e.getCompilerOptions())&&function(e,n){const t=n.resolveExternalModuleName(e);if(!t)return!1;return t!==n.resolveExternalModuleSymbol(t)}(n.parent.moduleSpecifier,e.getTypeChecker())}function pse(e){return Rk(e)?e.name:e.right}function fse(e,n,t,r,i=_se(n,r.parent)){const a=n.getTypeChecker(),o=r.parent.parent,{moduleSpecifier:s}=o,c=new Set;r.elements.forEach((e=>{const n=a.getSymbolAtLocation(e.name);n&&c.add(n)}));const l=s&&cC(s)?Ote.moduleSpecifierToValidIdentifier(s.text,99):"module",d=r.elements.some((function(n){return!!bae.Core.eachSymbolReferenceInFile(n.name,a,e,(e=>{const n=a.resolveName(l,e,67108863,!0);return!!n&&(!c.has(n)||QI(e.parent))}))}))?k$(l,e):l,u=new Set;for(const n of r.elements){const r=(n.propertyName||n.name).text;bae.Core.eachSymbolReferenceInFile(n.name,a,e,(i=>{const a=pA.createPropertyAccessExpression(pA.createIdentifier(d),r);Ew(i.parent)?t.replaceNode(e,i.parent,pA.createPropertyAssignment(i.text,a)):QI(i.parent)?u.add(n):t.replaceNode(e,i,a)}))}if(t.replaceNode(e,r,i?pA.createIdentifier(d):pA.createNamespaceImport(pA.createIdentifier(d))),u.size){const n=Qe(u.values(),(e=>pA.createImportSpecifier(e.isTypeOnly,e.propertyName&&pA.createIdentifier(e.propertyName.text),pA.createIdentifier(e.name.text))));t.insertNodeAfter(e,r.parent.parent,mse(o,void 0,n))}}function mse(e,n,t){return pA.createImportDeclaration(void 0,pA.createImportClause(!1,n,t&&t.length?pA.createNamedImports(t):void 0),e.moduleSpecifier,void 0)}var hse,gse,yse,vse,bse=E({"src/services/refactors/convertImport.ts"(){ufe(),Sde(),cse="Convert import",lse={0:{name:"Convert namespace import to named imports",description:Vo.Convert_namespace_import_to_named_imports.message,kind:"refactor.rewrite.import.named"},2:{name:"Convert named imports to namespace import",description:Vo.Convert_named_imports_to_namespace_import.message,kind:"refactor.rewrite.import.namespace"},1:{name:"Convert named imports to default import",description:Vo.Convert_named_imports_to_default_import.message,kind:"refactor.rewrite.import.default"}},Qoe(cse,{kinds:Ye(lse).map((e=>e.kind)),getAvailableActions:function(e){const n=use(e,"invoked"===e.triggerReason);if(!n)return i;if(!Ase(n)){const e=lse[n.convertTo];return[{name:cse,description:e.description,actions:[e]}]}return e.preferences.provideRefactorNotApplicableReason?Ye(lse).map((e=>({name:cse,description:e.description,actions:[{...e,notApplicableReason:n.error}]}))):i},getEditsForAction:function(e,n){Nt.assert(ce(Ye(lse),(e=>e.name===n)),"Unexpected action name");const t=use(e);return Nt.assert(t&&!Ase(t),"Expected applicable refactor info"),{edits:i_e.ChangeTracker.with(e,(n=>function(e,n,t,r){const i=n.getTypeChecker();0===r.convertTo?function(e,n,t,r,i){let a=!1;const o=[],s=new Map;bae.Core.eachSymbolReferenceInFile(r.name,n,e,(e=>{if(nu(e.parent)){const r=pse(e.parent).text;n.resolveName(r,e,67108863,!0)&&s.set(r,!0),Nt.assert((Rk(t=e.parent)?t.expression:t.left)===e,"Parent expression should match id"),o.push(e.parent)}else a=!0;var t}));const c=new Map;for(const n of o){const r=pse(n).text;let i=c.get(r);void 0===i&&c.set(r,i=s.has(r)?k$(r,e):r),t.replaceNode(e,n,pA.createIdentifier(i))}const l=[];c.forEach(((e,n)=>{l.push(pA.createImportSpecifier(!1,e===n?void 0:pA.createIdentifier(n),pA.createIdentifier(e)))}));const d=r.parent.parent;a&&!i?t.insertNodeAfter(e,d,mse(d,void 0,l)):t.replaceNode(e,d,mse(d,a?pA.createIdentifier(r.name.text):void 0,l))}(e,i,t,r.import,$T(n.getCompilerOptions())):fse(e,n,t,r.import,1===r.convertTo)}(e.file,e.program,n,t))),renameFilename:void 0,renameLocation:void 0}}})}});function Ese(e,n=!0){const{file:t,startPosition:r}=e,a=xh(t),o=_X(t,r),s=ZX(uQ(e)),c=s.pos===s.end&&n,l=Rc(o,(e=>e.parent&&jd(e)&&!xse(s,e.parent,t)&&(c||qJ(o,t,s.pos,s.end))));if(!l||!jd(l))return{error:vT(Vo.Selection_is_not_a_valid_type_node)};const d=e.program.getTypeChecker(),u=function(e,n){return Rc(e,Mu)||(n?Rc(e,jw):void 0)}(l,a);if(void 0===u)return{error:vT(Vo.No_type_could_be_extracted_from_this_type_node)};const _=function(e,n,t,r){const a=[];return function o(s){if(rk(s)){if(AC(s.typeName)){const o=s.typeName,c=e.resolveName(o.text,o,262144,!0);for(const e of(null==c?void 0:c.declarations)||i)if(jC(e)&&e.getSourceFile()===r){if(e.name.escapedText===o.escapedText&&xse(e,n,r))return!0;if(xse(t,e,r)&&!xse(n,e,r)){Le(a,e);break}}}}else if(hk(s)){const e=Rc(s,(e=>mk(e)&&xse(e.extendsType,s,r)));if(!e||!xse(n,e,r))return!0}else if(tk(s)||yk(s)){const e=Rc(s.parent,Ad);if(e&&e.type&&xse(e.type,s,r)&&!xse(n,e,r))return!0}else if(ok(s))if(AC(s.exprName)){const i=e.resolveName(s.exprName.text,s.exprName,111551,!1);if((null==i?void 0:i.valueDeclaration)&&xse(t,i.valueDeclaration,r)&&!xse(n,i.valueDeclaration,r))return!0}else if(Kv(s.exprName.left)&&!xse(n,s.parent,r))return!0;return r&&lk(s)&&bs(r,s.pos).line===bs(r,s.end).line&&GA(s,1),ED(s,o)}(n)?void 0:a}(d,l,u,t);return _?{isJS:a,selection:l,enclosingNode:u,typeParameters:_,typeElements:Tse(d,l)}:{error:vT(Vo.No_type_could_be_extracted_from_this_type_node)}}function Tse(e,n){if(n){if(fk(n)){const t=[],r=new Map;for(const i of n.types){const n=Tse(e,i);if(!n||!n.every((e=>e.name&&$E(r,dY(e.name)))))return;Ae(t,n)}return t}return gk(n)?Tse(e,n.type):sk(n)?n.members:void 0}}function xse(e,n,t){return KJ(e,ks(t.text,n.pos),n.end)}var Sse=E({"src/services/refactors/extractType.ts"(){ufe(),Sde(),hse="Extract type",gse={name:"Extract to type alias",description:vT(Vo.Extract_to_type_alias),kind:"refactor.extract.type"},yse={name:"Extract to interface",description:vT(Vo.Extract_to_interface),kind:"refactor.extract.interface"},vse={name:"Extract to typedef",description:vT(Vo.Extract_to_typedef),kind:"refactor.extract.typedef"},Qoe(hse,{kinds:[gse.kind,yse.kind,vse.kind],getAvailableActions:function(e){const n=Ese(e,"invoked"===e.triggerReason);return n?Ase(n)?e.preferences.provideRefactorNotApplicableReason?[{name:hse,description:vT(Vo.Extract_type),actions:[{...vse,notApplicableReason:n.error},{...gse,notApplicableReason:n.error},{...yse,notApplicableReason:n.error}]}]:i:[{name:hse,description:vT(Vo.Extract_type),actions:n.isJS?[vse]:Te([gse],n.typeElements&&yse)}]:i},getEditsForAction:function(e,n){const{file:t}=e,r=Ese(e);Nt.assert(r&&!Ase(r),"Expected to find a range to extract");const i=k$("NewType",t),a=i_e.ChangeTracker.with(e,(a=>{switch(n){case gse.name:return Nt.assert(!r.isJS,"Invalid actionName/JS combo"),function(e,n,t,r){const{enclosingNode:i,selection:a,typeParameters:o}=r,s=pA.createTypeAliasDeclaration(void 0,t,o.map((e=>pA.updateTypeParameterDeclaration(e,e.modifiers,e.name,e.constraint,void 0))),a);e.insertNodeBefore(n,i,_L(s),!0),e.replaceNode(n,a,pA.createTypeReferenceNode(t,o.map((e=>pA.createTypeReferenceNode(e.name,void 0)))),{leadingTriviaOption:i_e.LeadingTriviaOption.Exclude,trailingTriviaOption:i_e.TrailingTriviaOption.ExcludeWhitespace})}(a,t,i,r);case vse.name:return Nt.assert(r.isJS,"Invalid actionName/JS combo"),function(e,n,t,r,i){var a;const{enclosingNode:o,selection:s,typeParameters:c}=i;GA(s,7168);const l=pA.createJSDocTypedefTag(pA.createIdentifier("typedef"),pA.createJSDocTypeExpression(s),pA.createIdentifier(r)),d=[];A(c,(e=>{const n=Nl(e),t=pA.createTypeParameterDeclaration(void 0,e.name),r=pA.createJSDocTemplateTag(pA.createIdentifier("template"),n&&Tn(n,kw),[t]);d.push(r)}));const u=pA.createJSDocComment(void 0,pA.createNodeArray(de(d,[l])));if(jw(o)){const r=o.getStart(t),i=r$(n.host,null==(a=n.formatContext)?void 0:a.options);e.insertNodeAt(t,o.getStart(t),u,{suffix:i+i+t.text.slice(h$(t.text,r-1),r)})}else e.insertNodeBefore(t,o,u,!0);e.replaceNode(t,s,pA.createTypeReferenceNode(r,c.map((e=>pA.createTypeReferenceNode(e.name,void 0)))))}(a,e,t,i,r);case yse.name:return Nt.assert(!r.isJS&&!!r.typeElements,"Invalid actionName/JS combo"),function(e,n,t,r){var i;const{enclosingNode:a,selection:o,typeParameters:s,typeElements:c}=r,l=pA.createInterfaceDeclaration(void 0,t,s,void 0,c);MN(l,null==(i=c[0])?void 0:i.parent),e.insertNodeBefore(n,a,_L(l),!0),e.replaceNode(n,o,pA.createTypeReferenceNode(t,s.map((e=>pA.createTypeReferenceNode(e.name,void 0)))),{leadingTriviaOption:i_e.LeadingTriviaOption.Exclude,trailingTriviaOption:i_e.TrailingTriviaOption.ExcludeWhitespace})}(a,t,i,r);default:Nt.fail("Unexpected action name")}})),o=t.fileName;return{edits:a,renameFilename:o,renameLocation:I$(a,o,i,!1)}}})}});function Ase(e){return void 0!==e.error}function Lse(e,n){return!n||e.substr(0,n.length)===n}var Cse,kse,Ise,wse,Rse=E({"src/services/refactors/helpers.ts"(){}});function Nse(e){const n=function(e){const{file:n}=e,t=ZX(uQ(e)),{statements:r}=n,i=M(r,(e=>e.end>t.pos));if(-1===i)return;const a=r[i];if(Hc(a)&&a.name&&BJ(a.name,t))return{toMove:[r[i]],afterLast:r[i+1]};if(t.pos>a.getStart(n))return;const o=M(r,(e=>e.end>t.end),i);return-1!==o&&(0===o||r[o].getStart(n)<t.end)?void 0:{toMove:r.slice(i,-1===o?r.length:o),afterLast:-1===o?void 0:r[o]}}(e);if(void 0===n)return;const t=[],r=[],{toMove:i,afterLast:a}=n;return le(i,Dse,((e,n)=>{for(let r=e;r<n;r++)t.push(i[r]);r.push({first:i[e],afterLast:a})})),0===t.length?void 0:{all:t,ranges:r}}function Dse(e){return!function(e){switch(e.kind){case 269:return!0;case 268:return!db(e,1);case 240:return e.declarationList.declarations.every((e=>!!e.initializer&&wh(e.initializer,!0)));default:return!1}}(e)&&!_m(e)}function Ose(e,n,t){for(const{first:r,afterLast:i}of n)t.deleteNodeRangeExcludingEnd(e,r,i)}function Mse(e){switch(e.kind){case 269:return e.importClause&&e.importClause.namedBindings&&271===e.importClause.namedBindings.kind?e.importClause.namedBindings.name:void 0;case 268:return e.name;case 257:return En(e.name,AC);default:return Nt.assertNever(e,`Unexpected node kind ${e.kind}`)}}function Pse(e,n,t,r,i,a,o){const s=Ote.moduleSpecifierToValidIdentifier(i,99);let c=!1;const l=[];if(bae.Core.eachSymbolReferenceInFile(a,t,n,(e=>{Rk(e.parent)&&(c=c||!!t.resolveName(s,e,67108863,!0),r.has(t.getSymbolAtLocation(e.parent.name))&&l.push(e))})),l.length){const t=c?k$(s,n):s;for(const r of l)e.replaceNode(n,r,pA.createIdentifier(t));e.insertNodeAfter(n,o,function(e,n,t){const r=pA.createIdentifier(n),i=pA.createStringLiteral(t);switch(e.kind){case 269:return pA.createImportDeclaration(void 0,pA.createImportClause(!1,void 0,pA.createNamespaceImport(r)),i,void 0);case 268:return pA.createImportEqualsDeclaration(void 0,!1,r,pA.createExternalModuleReference(i));case 257:return pA.createVariableDeclaration(r,void 0,void 0,Vse(i));default:return Nt.assertNever(e,`Unexpected node kind ${e.kind}`)}}(o,s,i))}}function Fse(e){return 269===e.kind?e.moduleSpecifier:268===e.kind?e.moduleReference.expression:e.initializer.arguments[0]}function Gse(e,n){if(UI(e))cC(e.moduleSpecifier)&&n(e);else if(BI(e))iw(e.moduleReference)&&t_(e.moduleReference.expression)&&n(e);else if(dI(e))for(const t of e.declarationList.declarations)t.initializer&&wh(t.initializer,!0)&&n(t)}function Bse(e,n,t,r,i,a,o,s){const c=yo(co(e.path),r),l=eG(i.getCompilerOptions(),e,e.path,c,fY(i,a));if(o)return gY(n,t.map((e=>pA.createImportSpecifier(!1,void 0,pA.createIdentifier(e)))),l,s);{Nt.assert(!n,"No default import should exist");const e=t.map((e=>pA.createBindingElement(void 0,void 0,e)));return e.length?Use(pA.createObjectBindingPattern(e),void 0,Vse(pA.createStringLiteral(l))):void 0}}function Use(e,n,t,r=2){return pA.createVariableStatement(void 0,pA.createVariableDeclarationList([pA.createVariableDeclaration(e,void 0,n,t)],r))}function Vse(e){return pA.createCallExpression(pA.createIdentifier("require"),void 0,[e])}function jse(e,n,t,r){switch(n.kind){case 269:!function(e,n,t,r){if(!n.importClause)return;const{name:i,namedBindings:a}=n.importClause,o=!i||r(i),s=!a||(271===a.kind?r(a.name):0!==a.elements.length&&a.elements.every((e=>r(e.name))));if(o&&s)t.delete(e,n);else if(i&&o&&t.delete(e,i),a)if(s)t.replaceNode(e,n.importClause,pA.updateImportClause(n.importClause,n.importClause.isTypeOnly,i,void 0));else if(272===a.kind)for(const n of a.elements)r(n.name)&&t.delete(e,n)}(e,n,t,r);break;case 268:r(n.name)&&t.delete(e,n);break;case 257:!function(e,n,t,r){const{name:i}=n;switch(i.kind){case 79:r(i)&&(n.initializer&&wh(n.initializer,!0)?t.delete(e,II(n.parent)&&1===S(n.parent.declarations)?n.parent.parent:n):t.delete(e,i));break;case 204:break;case 203:if(i.elements.every((e=>AC(e.name)&&r(e.name))))t.delete(e,II(n.parent)&&1===n.parent.declarations.length?n.parent.parent:n);else for(const n of i.elements)AC(n.name)&&r(n.name)&&t.delete(e,n.name)}}(e,n,t,r);break;default:Nt.assertNever(n,`Unexpected import decl kind ${n.kind}`)}}function Hse(e){switch(e.kind){case 268:case 273:case 270:case 271:return!0;case 257:return Kse(e);case 205:return kI(e.parent.parent)&&Kse(e.parent.parent);default:return!1}}function Kse(e){return Aw(e.parent.parent.parent)&&!!e.initializer&&wh(e.initializer,!0)}function Wse(e,n,t){switch(e.kind){case 269:{const r=e.importClause;if(!r)return;const i=r.name&&t(r.name)?r.name:void 0,a=r.namedBindings&&function(e,n){if(271===e.kind)return n(e.name)?e:void 0;{const t=e.elements.filter((e=>n(e.name)));return t.length?pA.createNamedImports(t):void 0}}(r.namedBindings,t);return i||a?pA.createImportDeclaration(void 0,pA.createImportClause(r.isTypeOnly,i,a),n,void 0):void 0}case 268:return t(e.name)?e:void 0;case 257:{const r=function(e,n){switch(e.kind){case 79:return n(e)?e:void 0;case 204:return e;case 203:{const t=e.elements.filter((e=>e.propertyName||!AC(e.name)||n(e.name)));return t.length?pA.createObjectBindingPattern(t):void 0}}}(e.name,t);return r?Use(r,e.type,Vse(n),e.parent.flags):void 0}default:return Nt.assertNever(e,`Unexpected import kind ${e.kind}`)}}function qse(e,n,t){e.forEachChild((function e(r){if(AC(r)&&!Zg(r)){const e=n.getSymbolAtLocation(r);e&&t(e)}else r.forEachChild(e)}))}function zse(e){return Jse(e)&&Aw(e.parent)||kI(e)&&Aw(e.parent.parent.parent)}function Jse(e){switch(e.kind){case 259:case 260:case 264:case 263:case 262:case 261:case 268:return!0;default:return!1}}function Xse(e,n){switch(e.kind){case 259:case 260:case 264:case 263:case 262:case 261:case 268:return n(e);case 240:return C(e.declarationList.declarations,(e=>Yse(e.name,n)));case 241:{const{expression:t}=e;return qk(t)&&1===Yh(t)?n(e):void 0}}}function Yse(e,n){switch(e.kind){case 79:return n(Tn(e.parent,(e=>kI(e)||kk(e))));case 204:case 203:return C(e.elements,(e=>Qk(e)?void 0:Yse(e.name,n)));default:return Nt.assertNever(e,`Unexpected name kind ${e.kind}`)}}function $se(e){switch(e.kind){case 257:return e.parent.parent;case 205:return $se(Tn(e.parent.parent,(e=>kI(e)||kk(e))));default:return e}}function Qse(e,n,t,r,i){if(!Zse(e,n,i,t))if(i)_I(n)||r.insertExportModifier(e,n);else{const t=nce(n);0!==t.length&&r.insertNodesAfter(e,n,t.map(tce))}}function Zse(e,n,t,r){var i;return t?!_I(n)&&db(n,1)||!(!r||!(null==(i=e.symbol.exports)?void 0:i.has(r.escapedText))):!!e.symbol&&!!e.symbol.exports&&nce(n).some((n=>e.symbol.exports.has(Oc(n))))}function ece(e){const n=PN(e)?de([pA.createModifier(93)],Jc(e)):void 0;switch(e.kind){case 259:return pA.updateFunctionDeclaration(e,n,e.asteriskToken,e.name,e.typeParameters,e.parameters,e.type,e.body);case 260:const t=FN(e)?zc(e):void 0;return pA.updateClassDeclaration(e,de(t,n),e.name,e.typeParameters,e.heritageClauses,e.members);case 240:return pA.updateVariableStatement(e,n,e.declarationList);case 264:return pA.updateModuleDeclaration(e,n,e.name,e.body);case 263:return pA.updateEnumDeclaration(e,n,e.name,e.members);case 262:return pA.updateTypeAliasDeclaration(e,n,e.name,e.typeParameters,e.type);case 261:return pA.updateInterfaceDeclaration(e,n,e.name,e.typeParameters,e.heritageClauses,e.members);case 268:return pA.updateImportEqualsDeclaration(e,n,e.isTypeOnly,e.name,e.moduleReference);case 241:return Nt.fail();default:return Nt.assertNever(e,`Unexpected declaration kind ${e.kind}`)}}function nce(e){switch(e.kind){case 259:case 260:return[e.name.text];case 240:return ee(e.declarationList.declarations,(e=>AC(e.name)?e.name.text:void 0));case 264:case 263:case 262:case 261:case 268:return i;case 241:return Nt.fail("Can't export an ExpressionStatement");default:return Nt.assertNever(e,`Unexpected decl kind ${e.kind}`)}}function tce(e){return pA.createExpressionStatement(pA.createBinaryExpression(pA.createPropertyAccessExpression(pA.createIdentifier("exports"),pA.createIdentifier(e)),63,pA.createIdentifier(e)))}var rce,ice,ace,oce=E({"src/services/refactors/moveToNewFile.ts"(){AG(),ufe(),Sde(),Cse="Move to a new file",kse=vT(Vo.Move_to_a_new_file),Qoe(Cse,{kinds:[(Ise={name:Cse,description:kse,kind:"refactor.move.newFile"}).kind],getAvailableActions:function(e){const n=Nse(e);return e.preferences.allowTextChangesInNewFiles&&n?[{name:Cse,description:kse,actions:[Ise]}]:e.preferences.provideRefactorNotApplicableReason?[{name:Cse,description:kse,actions:[{...Ise,notApplicableReason:vT(Vo.Selection_is_not_a_valid_statement_or_statements)}]}]:i},getEditsForAction:function(e,n){Nt.assert(n===Cse,"Wrong refactor invoked");const t=Nt.checkDefined(Nse(e));return{edits:i_e.ChangeTracker.with(e,(n=>function(e,n,t,r,i,a){const o=n.getTypeChecker(),s=function(e,n,t){const r=new wse,i=new wse,a=new wse,o=function(e){if(void 0===e)return;const n=t.getJsxNamespace(e),r=t.resolveName(n,e,1920,!0);return r&&ce(r.declarations,Hse)?r:void 0}(D(n,(e=>!!(2&e.transformFlags))));o&&i.add(o);for(const e of n)Xse(e,(e=>{r.add(Nt.checkDefined(_I(e)?t.getSymbolAtLocation(e.expression.left):e.symbol,"Need a symbol here"))}));for(const o of n)qse(o,t,(n=>{if(n.declarations)for(const o of n.declarations)Hse(o)?i.add(n):zse(o)&&(kI(t=o)?t.parent.parent.parent:t.parent)===e&&!r.has(n)&&a.add(n);var t}));const s=i.clone(),c=new wse;for(const i of e.statements)G(n,i)||(o&&2&i.transformFlags&&s.delete(o),qse(i,t,(e=>{r.has(e)&&c.add(e),s.delete(e)})));return{movedSymbols:r,newFileImportsFromOldFile:a,oldFileImportsFromNewFile:c,oldImportsNeededByNewFile:i,unusedImportsFromOldFile:s}}(e,t.all,o),c=co(e.fileName),l=Qx(e.fileName),d=go(c,function(e,n,t,r){let i=e;for(let a=1;;a++){const o=go(t,i+n);if(!r.fileExists(o))return i;i=`${e}.${a}`}}((u=s.oldFileImportsFromNewFile,_=s.movedSymbols,u.forEachEntry(xY)||_.forEachEntry(xY)||"newFile"),l,c,i))+l;var u,_;r.createNewFile(e,d,function(e,n,t,r,i,a,o,s){const c=i.getTypeChecker(),l=Ct(e.statements,_m);if(void 0===e.externalModuleIndicator&&void 0===e.commonJsModuleIndicator&&0===n.oldImportsNeededByNewFile.size())return Ose(e,r.ranges,t),[...l,...r.all];const d=!!e.externalModuleIndicator,u=EY(e,s),_=function(e,n,t,r,i,a,o){let s;const c=[];return n.forEach((e=>{"default"===e.escapedName?s=pA.createIdentifier(xY(e)):c.push(e.name)})),Bse(e,s,c,t,r,i,a,o)}(e,n.oldFileImportsFromNewFile,o,i,a,d,u);_&&RY(t,e,_,!0,s),function(e,n,t,r,i){for(const a of e.statements)G(n,a)||Gse(a,(n=>jse(e,n,t,(e=>r.has(i.getSymbolAtLocation(e))))))}(e,r.all,t,n.unusedImportsFromOldFile,c),Ose(e,r.ranges,t),function(e,n,t,r,i,a){const o=n.getTypeChecker();for(const s of n.getSourceFiles())if(s!==r)for(const c of s.statements)Gse(c,(l=>{if(o.getSymbolAtLocation(Fse(l))!==r.symbol)return;const d=e=>{const n=kk(e.parent)?CY(o,e.parent):ME(o.getSymbolAtLocation(e),o);return!!n&&i.has(n)};jse(s,l,e,d);const u=yo(co(r.path),a),_=eG(n.getCompilerOptions(),s,s.path,u,fY(n,t)),p=Wse(l,pA.createStringLiteral(_),d);p&&e.insertNodeAfter(s,c,p);const f=Mse(l);f&&Pse(e,s,o,i,_,f,l)}))}(t,i,a,e,n.movedSymbols,o);const p=function(e,n,t,r,i,a,o,s,c){const l=[];for(const t of e.statements)Gse(t,(e=>{Te(l,Wse(e,Fse(e),(e=>n.has(i.getSymbolAtLocation(e)))))}));let d;const u=[],_=oY();return t.forEach((n=>{if(n.declarations)for(const i of n.declarations){if(!zse(i))continue;const n=_I(t=i)?En(t.expression.left.name,AC):En(t.name,AC);if(!n)continue;const a=$se(i);_(a)&&Qse(e,a,n,r,s),db(i,1024)?d=n:u.push(n.text)}var t})),Te(l,Bse(e,d,u,lo(e.fileName),a,o,s,c)),l}(e,n.oldImportsNeededByNewFile,n.newFileImportsFromOldFile,t,c,i,a,d,u),f=function(e,n,t,r){return X(n,(n=>{if(i=n,Nt.assert(Aw(i.parent),"Node parent should be a SourceFile"),(Jse(i)||dI(i))&&!Zse(e,n,r)&&Xse(n,(e=>{var n;return t.has(Nt.checkDefined(null==(n=En(e,ku))?void 0:n.symbol))}))){const e=function(e,n){return n?[ece(e)]:function(e){return[e,...nce(e).map(tce)]}(e)}(n,r);if(e)return e}var i;return n}))}(e,r.all,n.oldFileImportsFromNewFile,d);return p.length&&f.length?[...l,...p,4,...f]:[...l,...p,...f]}(e,s,r,t,n,i,d,a)),function(e,n,t,r,i){const a=e.getCompilerOptions().configFile;if(!a)return;const o=Eo(go(t,"..",r)),s=Fo(a.fileName,o,i),c=a.statements[0]&&En(a.statements[0].expression,wk),l=c&&D(c.properties,(e=>bw(e)&&cC(e.name)&&"files"===e.name.text));l&&Ik(l.initializer)&&n.insertNodeInListAfter(a,Ge(l.initializer.elements),pA.createStringLiteral(s),l.initializer.elements)}(n,r,e.fileName,d,yv(i))}(e.file,e.program,t,n,e.host,e.preferences))),renameFilename:void 0,renameLocation:void 0}}}),wse=class{constructor(){this.map=new Map}add(e){this.map.set(String(WG(e)),e)}has(e){return this.map.has(String(WG(e)))}delete(e){this.map.delete(String(WG(e)))}forEach(e){this.map.forEach(e)}forEachEntry(e){return pp(this.map,e)}clone(){const e=new wse;return mp(this.map,e.map),e}size(){return this.map.size}}}});function sce(e){const{file:n,startPosition:t,program:r}=e;return dce(n,t,r)?[{name:rce,description:ice,actions:[ace]}]:i}function cce(e){const{file:n,startPosition:t,program:r}=e,i=dce(n,t,r);if(!i)return;const a=r.getTypeChecker(),o=i[i.length-1];let s=o;switch(o.kind){case 170:s=pA.updateMethodSignature(o,o.modifiers,o.name,o.questionToken,o.typeParameters,c(i),o.type);break;case 171:s=pA.updateMethodDeclaration(o,o.modifiers,o.asteriskToken,o.name,o.questionToken,o.typeParameters,c(i),o.type,o.body);break;case 176:s=pA.updateCallSignature(o,o.typeParameters,c(i),o.type);break;case 173:s=pA.updateConstructorDeclaration(o,o.modifiers,c(i),o.body);break;case 177:s=pA.updateConstructSignature(o,o.typeParameters,c(i),o.type);break;case 259:s=pA.updateFunctionDeclaration(o,o.modifiers,o.asteriskToken,o.name,o.typeParameters,c(i),o.type,o.body);break;default:return Nt.failBadSyntaxKind(o,"Unhandled signature kind in overload list conversion refactoring")}if(s!==o)return{renameFilename:void 0,renameLocation:void 0,edits:i_e.ChangeTracker.with(e,(e=>{e.replaceNodeRange(n,i[0],i[i.length-1],s)}))};function c(e){const n=e[e.length-1];return Cd(n)&&n.body&&(e=e.slice(0,e.length-1)),pA.createNodeArray([pA.createParameterDeclaration(void 0,pA.createToken(25),"args",void 0,pA.createUnionTypeNode(W(e,l)))])}function l(e){const n=W(e.parameters,d);return GA(pA.createTupleTypeNode(n),ce(n,(e=>!!S(YA(e))))?0:1)}function d(e){Nt.assert(AC(e.name));const n=MN(pA.createNamedTupleMember(e.dotDotDotToken,e.name,e.questionToken,e.type||pA.createKeywordTypeNode(131)),e),t=e.symbol&&e.symbol.getDocumentationComment(a);if(t){const e=n2(t);e.length&&$A(n,[{text:`*\n${e.split("\n").map((e=>` * ${e}`)).join("\n")}\n `,kind:3,pos:-1,end:-1,hasTrailingNewLine:!0,hasLeadingNewline:!0}])}return n}}function lce(e){switch(e.kind){case 170:case 171:case 176:case 173:case 177:case 259:return!0}return!1}function dce(e,n,t){const r=Rc(_X(e,n),lce);if(!r)return;if(Cd(r)&&r.body&&VJ(r.body,n))return;const i=t.getTypeChecker(),a=r.symbol;if(!a)return;const o=a.declarations;if(S(o)<=1)return;if(!N(o,(n=>Ip(n)===e)))return;if(!lce(o[0]))return;const s=o[0].kind;if(!N(o,(e=>e.kind===s)))return;const c=o;if(ce(c,(e=>!!e.typeParameters||ce(e.parameters,(e=>!!e.modifiers||!AC(e.name))))))return;const l=ee(c,(e=>i.getSignatureFromDeclaration(e)));if(S(l)!==S(o))return;const d=i.getReturnTypeOfSignature(l[0]);return N(l,(e=>i.getReturnTypeOfSignature(e)===d))?c:void 0}var uce,_ce,pce,fce,mce=E({"src/services/refactors/convertOverloadListToSingleSignature.ts"(){ufe(),Sde(),rce="Convert overload list to single signature",ice=Vo.Convert_overload_list_to_single_signature.message,Qoe(rce,{kinds:[(ace={name:rce,description:ice,kind:"refactor.rewrite.function.overloadList"}).kind],getEditsForAction:cce,getAvailableActions:sce})}});function hce(e){const{file:n,startPosition:t,triggerReason:r}=e,a=yce(n,t,"invoked"===r);return a?Ase(a)?e.preferences.provideRefactorNotApplicableReason?[{name:uce,description:_ce,actions:[{...pce,notApplicableReason:a.error},{...fce,notApplicableReason:a.error}]}]:i:[{name:uce,description:_ce,actions:[a.addBraces?pce:fce]}]:i}function gce(e,n){const{file:t,startPosition:r}=e,i=yce(t,r);Nt.assert(i&&!Ase(i),"Expected applicable refactor info");const{expression:a,returnStatement:o,func:s}=i;let c;if(n===pce.name){const e=pA.createReturnStatement(a);c=pA.createBlock([e],!0),w$(a,e,t,3,!0)}else if(n===fce.name&&o){const e=a||pA.createVoidZero();c=M$(e)?pA.createParenthesizedExpression(e):e,N$(o,c,t,3,!1),w$(o,c,t,3,!1),R$(o,c,t,3,!1)}else Nt.fail("invalid action");return{renameFilename:void 0,renameLocation:void 0,edits:i_e.ChangeTracker.with(e,(e=>{e.replaceNode(t,s.body,c)}))}}function yce(e,n,t=!0,r){const i=_X(e,n),a=Hm(i);if(!a)return{error:vT(Vo.Could_not_find_a_containing_arrow_function)};if(!Bk(a))return{error:vT(Vo.Containing_function_is_not_an_arrow_function)};if(BJ(a,i)&&(!BJ(a.body,i)||t)){if(Lse(pce.kind,r)&&uu(a.body))return{func:a,addBraces:!0,expression:a.body};if(Lse(fce.kind,r)&&lI(a.body)&&1===a.body.statements.length){const e=Me(a.body.statements);if(EI(e))return{func:a,addBraces:!1,expression:e.expression,returnStatement:e}}}}var vce,bce,Ece,Tce,xce,Sce=E({"src/services/refactors/addOrRemoveBracesToArrowFunction.ts"(){ufe(),Sde(),uce="Add or remove braces in an arrow function",_ce=Vo.Add_or_remove_braces_in_an_arrow_function.message,pce={name:"Add braces to arrow function",description:Vo.Add_braces_to_arrow_function.message,kind:"refactor.rewrite.arrow.braces.add"},fce={name:"Remove braces from arrow function",description:Vo.Remove_braces_from_arrow_function.message,kind:"refactor.rewrite.arrow.braces.remove"},Qoe(uce,{kinds:[fce.kind],getEditsForAction:gce,getAvailableActions:hce})}}),Ace={},Lce=E({"src/services/_namespaces/ts.refactor.addOrRemoveBracesToArrowFunction.ts"(){mce(),Sce()}});function Cce(e){const{file:n,startPosition:t,program:r,kind:a}=e,o=wce(n,t,r);if(!o)return i;const{selectedVariableDeclaration:s,func:c}=o,l=[],d=[];if(Lse(Tce.kind,a)){const e=s||Bk(c)&&kI(c.parent)?void 0:vT(Vo.Could_not_convert_to_named_function);e?d.push({...Tce,notApplicableReason:e}):l.push(Tce)}if(Lse(Ece.kind,a)){const e=!s&&Bk(c)?void 0:vT(Vo.Could_not_convert_to_anonymous_function);e?d.push({...Ece,notApplicableReason:e}):l.push(Ece)}if(Lse(xce.kind,a)){const e=Gk(c)?void 0:vT(Vo.Could_not_convert_to_arrow_function);e?d.push({...xce,notApplicableReason:e}):l.push(xce)}return[{name:vce,description:bce,actions:0===l.length&&e.preferences.provideRefactorNotApplicableReason?d:l}]}function kce(e,n){const{file:t,startPosition:r,program:i}=e,a=wce(t,r,i);if(!a)return;const{func:o}=a,s=[];switch(n){case Ece.name:s.push(...function(e,n){const{file:t}=e,r=Rce(n.body),i=pA.createFunctionExpression(n.modifiers,n.asteriskToken,void 0,n.typeParameters,n.parameters,n.type,r);return i_e.ChangeTracker.with(e,(e=>e.replaceNode(t,n,i)))}(e,o));break;case Tce.name:const n=function(e){const n=e.parent;if(!kI(n)||!Cm(n))return;const t=n.parent,r=t.parent;return II(t)&&dI(r)&&AC(n.name)?{variableDeclaration:n,variableDeclarationList:t,statement:r,name:n.name}:void 0}(o);if(!n)return;s.push(...function(e,n,t){const{file:r}=e,i=Rce(n.body),{variableDeclaration:a,variableDeclarationList:o,statement:s,name:c}=t;x$(s);const l=1&Lc(a)|Tb(n),d=pA.createModifiersFromModifierFlags(l),u=pA.createFunctionDeclaration(S(d)?d:void 0,n.asteriskToken,c,n.typeParameters,n.parameters,n.type,i);return 1===o.declarations.length?i_e.ChangeTracker.with(e,(e=>e.replaceNode(r,s,u))):i_e.ChangeTracker.with(e,(e=>{e.delete(r,a),e.insertNodeAfter(r,s,u)}))}(e,o,n));break;case xce.name:if(!Gk(o))return;s.push(...function(e,n){const{file:t}=e,r=n.body.statements[0];let i;!function(e,n){return 1===e.statements.length&&EI(n)&&!!n.expression}(n.body,r)?i=n.body:(i=r.expression,T$(i),A$(r,i));const a=pA.createArrowFunction(n.modifiers,n.typeParameters,n.parameters,n.type,pA.createToken(38),i);return i_e.ChangeTracker.with(e,(e=>e.replaceNode(t,n,a)))}(e,o));break;default:return Nt.fail("invalid action")}return{renameFilename:void 0,renameLocation:void 0,edits:s}}function Ice(e){let n=!1;return e.forEachChild((function e(t){FJ(t)?n=!0:Dd(t)||wI(t)||Gk(t)||ED(t,e)})),n}function wce(e,n,t){const r=_X(e,n),i=t.getTypeChecker(),a=function(e,n,t){if(!function(e){return kI(e)||II(e)&&1===e.declarations.length}(t))return;const r=(kI(t)?t:Me(t.declarations)).initializer;return r&&(Bk(r)||Gk(r)&&!Nce(e,n,r))?r:void 0}(e,i,r.parent);if(a&&!Ice(a.body)&&!i.containsArgumentsReference(a))return{selectedVariableDeclaration:!0,func:a};const o=Hm(r);if(o&&(Gk(o)||Bk(o))&&!BJ(o.body,r)&&!Ice(o.body)&&!i.containsArgumentsReference(o)){if(Gk(o)&&Nce(e,i,o))return;return{selectedVariableDeclaration:!1,func:o}}}function Rce(e){if(uu(e)){const n=pA.createReturnStatement(e),t=e.getSourceFile();return MN(n,e),T$(n),N$(e,n,t,void 0,!0),pA.createBlock([n],!0)}return e}function Nce(e,n,t){return!!t.name&&bae.Core.isSymbolReferencedInFile(t.name,n,e)}var Dce,Oce,Mce,Pce,Fce=E({"src/services/refactors/convertArrowFunctionOrFunctionExpression.ts"(){ufe(),Sde(),vce="Convert arrow function or function expression",bce=vT(Vo.Convert_arrow_function_or_function_expression),Ece={name:"Convert to anonymous function",description:vT(Vo.Convert_to_anonymous_function),kind:"refactor.rewrite.function.anonymous"},Tce={name:"Convert to named function",description:vT(Vo.Convert_to_named_function),kind:"refactor.rewrite.function.named"},xce={name:"Convert to arrow function",description:vT(Vo.Convert_to_arrow_function),kind:"refactor.rewrite.function.arrow"},Qoe(vce,{kinds:[Ece.kind,Tce.kind,xce.kind],getEditsForAction:kce,getAvailableActions:Cce})}}),Gce={},Bce=E({"src/services/_namespaces/ts.refactor.convertArrowFunctionOrFunctionExpression.ts"(){Fce()}});function Uce(e){const{file:n,startPosition:t}=e;return xh(n)?i:Jce(n,t,e.program.getTypeChecker())?[{name:Dce,description:Mce,actions:[Pce]}]:i}function Vce(e,n){Nt.assert(n===Dce,"Unexpected action name");const{file:t,startPosition:r,program:i,cancellationToken:a,host:o}=e,s=Jce(t,r,i.getTypeChecker());if(!s||!a)return;const c=function(e,n,t){const r=function(e){switch(e.kind){case 259:return e.name?[e.name]:[Nt.checkDefined(wY(e,88),"Nameless function declaration should be a default export")];case 171:return[e.name];case 173:const n=Nt.checkDefined(ZJ(e,135,e.getSourceFile()),"Constructor declaration should have constructor keyword");return 228===e.parent.kind?[e.parent.parent.name,n]:[n];case 216:return[e.parent.name];case 215:return e.name?[e.name,e.parent.name]:[e.parent.name];default:return Nt.assertNever(e,`Unexpected function declaration kind ${e.kind}`)}}(e),i=YC(e)?function(e){switch(e.parent.kind){case 260:const n=e.parent;return n.name?[n.name]:[Nt.checkDefined(wY(n,88),"Nameless class declaration should be a default export")];case 228:const t=e.parent,r=e.parent.parent,i=t.name;return i?[i,r.name]:[r.name]}}(e):[],a=pe([...r,...i],Pn),o=n.getTypeChecker(),s=function(n){const t={accessExpressions:[],typeUsages:[]},a={functionCalls:[],declarations:[],classReferences:t,valid:!0},s=W(r,c),l=W(i,c),d=YC(e),u=W(r,(e=>jce(e,o)));for(const r of n){if(r.kind===bae.EntryKind.Span){a.valid=!1;continue}if(G(u,c(r.node))){if(zC(_=r.node.parent)&&(NI(_.parent)||sk(_.parent))){a.signature=r.node.parent;continue}const e=Wce(r);if(e){a.functionCalls.push(e);continue}}const n=jce(r.node,o);if(n&&G(u,n)){const e=Kce(r);if(e){a.declarations.push(e);continue}}if(G(s,c(r.node))||uJ(r.node)){if(Hce(r))continue;const e=Kce(r);if(e){a.declarations.push(e);continue}const n=Wce(r);if(n){a.functionCalls.push(n);continue}}if(d&&G(l,c(r.node))){if(Hce(r))continue;const n=Kce(r);if(n){a.declarations.push(n);continue}const i=qce(r);if(i){t.accessExpressions.push(i);continue}if(RI(e.parent)){const e=zce(r);if(e){t.typeUsages.push(e);continue}}}a.valid=!1}var _;return a}(X(a,(e=>bae.getReferenceEntriesForNode(-1,e,n,n.getSourceFiles(),t))));return N(s.declarations,(e=>G(a,e)))||(s.valid=!1),s;function c(e){const n=o.getSymbolAtLocation(e);return n&&_$(n,o)}}(s,i,a);if(c.valid){const n=i_e.ChangeTracker.with(e,(e=>function(e,n,t,r,i,a){const o=a.signature,s=W(nle(i,n,t),(e=>g$(e)));o&&l(o,W(nle(o,n,t),(e=>g$(e)))),l(i,s);const c=he(a.functionCalls,((e,n)=>Un(e.pos,n.pos)));for(const e of c)if(e.arguments&&e.arguments.length){const n=g$(ele(i,e.arguments),!0);r.replaceNodeRange(Ip(e),Me(e.arguments),Ge(e.arguments),n,{leadingTriviaOption:i_e.LeadingTriviaOption.IncludeAll,trailingTriviaOption:i_e.TrailingTriviaOption.Include})}function l(n,t){r.replaceNodeRangeWithNodes(e,Me(n.parameters),Ge(n.parameters),t,{joiner:", ",indentation:0,leadingTriviaOption:i_e.LeadingTriviaOption.IncludeAll,trailingTriviaOption:i_e.TrailingTriviaOption.Include})}}(t,i,o,e,s,c)));return{renameFilename:void 0,renameLocation:void 0,edits:n}}return{edits:[]}}function jce(e,n){const t=l2(e);if(t){const e=n.getContextualTypeForObjectLiteralElement(t),r=null==e?void 0:e.getSymbol();if(r&&!(6&DE(r)))return r}}function Hce(e){const n=e.node;return JI(n.parent)||VI(n.parent)||BI(n.parent)||WI(n.parent)||QI(n.parent)||XI(n.parent)?n:void 0}function Kce(e){if(Nu(e.node.parent))return e.node}function Wce(e){if(e.node.parent){const n=e.node,t=n.parent;switch(t.kind){case 210:case 211:const e=En(t,ru);if(e&&e.expression===n)return e;break;case 208:const r=En(t,Rk);if(r&&r.parent&&r.name===n){const e=En(r.parent,ru);if(e&&e.expression===r)return e}break;case 209:const i=En(t,Nk);if(i&&i.parent&&i.argumentExpression===n){const e=En(i.parent,ru);if(e&&e.expression===i)return e}}}}function qce(e){if(e.node.parent){const n=e.node,t=n.parent;switch(t.kind){case 208:const e=En(t,Rk);if(e&&e.expression===n)return e;break;case 209:const r=En(t,Nk);if(r&&r.expression===n)return r}}}function zce(e){const n=e.node;if(2===cJ(n)||jb(n.parent))return n}function Jce(e,n,t){const r=uX(e,n),i=Km(r);if(!function(e){const n=Rc(e,Ku);if(n){const e=Rc(n,(e=>!Ku(e)));return!!e&&Cd(e)}return!1}(r))return!(i&&function(e,n){var t;if(!function(e,n){return function(e){return Qce(e)?e.length-1:e.length}(e)>=Oce&&N(e,(e=>function(e,n){if(a_(e)){const t=n.getTypeAtLocation(e);if(!n.isArrayType(t)&&!n.isTupleType(t))return!1}return!e.modifiers&&AC(e.name)}(e,n)))}(e.parameters,n))return!1;switch(e.kind){case 259:return Yce(e)&&Xce(e,n);case 171:if(wk(e.parent)){const r=jce(e.name,n);return 1===(null==(t=null==r?void 0:r.declarations)?void 0:t.length)&&Xce(e,n)}return Xce(e,n);case 173:return RI(e.parent)?Yce(e.parent)&&Xce(e,n):$ce(e.parent.parent)&&Xce(e,n);case 215:case 216:return $ce(e.parent)}return!1}(i,t)&&BJ(i,r))||i.body&&BJ(i.body,r)?void 0:i}function Xce(e,n){return!!e.body&&!n.isImplementationOfOverload(e)}function Yce(e){return!!e.name||!!wY(e,88)}function $ce(e){return kI(e)&&om(e)&&AC(e.name)&&!e.type}function Qce(e){return e.length>0&&FJ(e[0].name)}function Zce(e){return Qce(e)&&(e=pA.createNodeArray(e.slice(1),e.hasTrailingComma)),e}function ele(e,n){const t=Zce(e.parameters),r=a_(Ge(t)),i=W(r?n.slice(0,t.length-1):n,((e,n)=>{const r=(i=tle(t[n]),AC(a=e)&&Ny(a)===i?pA.createShorthandPropertyAssignment(i):pA.createPropertyAssignment(i,a));var i,a;return T$(r.name),bw(r)&&T$(r.initializer),A$(e,r),r}));if(r&&n.length>=t.length){const e=n.slice(t.length-1),r=pA.createPropertyAssignment(tle(Ge(t)),pA.createArrayLiteralExpression(e));i.push(r)}return pA.createObjectLiteralExpression(i,!1)}function nle(e,n,t){const r=n.getTypeChecker(),i=Zce(e.parameters),a=W(i,(function(e){const n=pA.createBindingElement(void 0,void 0,tle(e),a_(e)&&u(e)?pA.createArrayLiteralExpression():e.initializer);return T$(n),e.initializer&&n.initializer&&A$(e.initializer,n.initializer),n})),o=pA.createObjectBindingPattern(a),s=function(e){const n=W(e,d);return BA(pA.createTypeLiteralNode(n),1)}(i);let c;N(i,u)&&(c=pA.createObjectLiteralExpression());const l=pA.createParameterDeclaration(void 0,void 0,o,void 0,s,c);if(Qce(e.parameters)){const n=e.parameters[0],t=pA.createParameterDeclaration(void 0,void 0,n.name,void 0,n.type);return T$(t.name),A$(n.name,t.name),n.type&&(T$(t.type),A$(n.type,t.type)),pA.createNodeArray([t,l])}return pA.createNodeArray([l]);function d(e){let i=e.type;var a;i||!e.initializer&&!a_(e)||(a=e,i=j$(r.getTypeAtLocation(a),a,n,t));const o=pA.createPropertySignature(void 0,tle(e),u(e)?pA.createToken(57):e.questionToken,i);return T$(o),A$(e.name,o.name),e.type&&o.type&&A$(e.type,o.type),o}function u(e){if(a_(e)){const n=r.getTypeAtLocation(e);return!r.isTupleType(n)}return r.isOptionalParameter(e)}}function tle(e){return Ny(e.name)}var rle,ile,ale,ole,sle,cle=E({"src/services/refactors/convertParamsToDestructuredObject.ts"(){ufe(),Sde(),Dce="Convert parameters to destructured object",Oce=1,Mce=vT(Vo.Convert_parameters_to_destructured_object),Qoe(Dce,{kinds:[(Pce={name:Dce,description:Mce,kind:"refactor.rewrite.parameters.toDestructured"}).kind],getEditsForAction:Vce,getAvailableActions:Uce})}}),lle={},dle=E({"src/services/_namespaces/ts.refactor.convertParamsToDestructuredObject.ts"(){cle()}});function ule(e){const{file:n,startPosition:t}=e,r=mle(_le(n,t)),a={name:rle,description:ile,actions:[]};return qk(r)&&hle(r).isValidConcatenation?(a.actions.push(ale),[a]):e.preferences.provideRefactorNotApplicableReason?(a.actions.push({...ale,notApplicableReason:vT(Vo.Can_only_convert_string_concatenation)}),[a]):i}function _le(e,n){const t=_X(e,n),r=mle(t);return!hle(r).isValidConcatenation&&Fk(r.parent)&&qk(r.parent.parent)?r.parent.parent:t}function ple(e,n){const{file:t,startPosition:r}=e,i=_le(t,r);return n===ile?{edits:fle(e,i)}:Nt.fail("invalid action")}function fle(e,n){const t=mle(n),r=e.file,i=function({nodes:e,operators:n},t){const r=ole(n,t),i=sle(e,t,r),[a,o,s,c]=yle(0,e);if(a===e.length){const e=pA.createNoSubstitutionTemplateLiteral(o,s);return i(c,e),e}const l=[],d=pA.createTemplateHead(o,s);i(c,d);for(let n=a;n<e.length;n++){const t=ble(e[n]);r(n,t);const[a,o,s,c]=yle(n+1,e);n=a-1;const d=n===e.length-1;if(Jk(t)){const e=W(t.templateSpans,((e,n)=>{vle(e);const r=n===t.templateSpans.length-1,i=e.literal.text+(r?o:""),a=gle(e.literal)+(r?s:"");return pA.createTemplateSpan(e.expression,d&&r?pA.createTemplateTail(i,a):pA.createTemplateMiddle(i,a))}));l.push(...e)}else{const e=d?pA.createTemplateTail(o,s):pA.createTemplateMiddle(o,s);i(c,e),l.push(pA.createTemplateSpan(t,e))}}return pA.createTemplateExpression(d,l)}(hle(t),r),a=Us(r.text,t.end);if(a){const n=a[a.length-1],o={pos:a[0].pos,end:n.end};return i_e.ChangeTracker.with(e,(e=>{e.deleteRange(r,o),e.replaceNode(r,t,i)}))}return i_e.ChangeTracker.with(e,(e=>e.replaceNode(r,t,i)))}function mle(e){return Rc(e.parent,(e=>{switch(e.kind){case 208:case 209:return!1;case 225:case 223:return!(qk(e.parent)&&(n=e.parent,63!==n.operatorToken.kind));default:return"quit"}var n}))||e}function hle(e){const n=e=>{if(!qk(e))return{nodes:[e],operators:[],validOperators:!0,hasString:cC(e)||uC(e)};const{nodes:t,operators:r,hasString:i,validOperators:a}=n(e.left);if(!(i||cC(e.right)||Jk(e.right)))return{nodes:[e],operators:[],hasString:!1,validOperators:!0};const o=39===e.operatorToken.kind,s=a&&o;return t.push(e.right),r.push(e.operatorToken),{nodes:t,operators:r,hasString:!0,validOperators:s}},{nodes:t,operators:r,validOperators:i,hasString:a}=n(e);return{nodes:t,operators:r,isValidConcatenation:i&&a}}function gle(e){const n=_C(e)||pC(e)?-2:-1;return tf(e).slice(1,n)}function yle(e,n){const t=[];let r="",i="";for(;e<n.length;){const a=n[e];if(!t_(a)){if(Jk(a)){r+=a.head.text,i+=gle(a.head);break}break}r+=a.text,i+=tf(a).slice(1,-1).replace(/\\.|[$`]/g,(e=>"\\"===e[0]?e:"\\"+e)),t.push(e),e++}return[e,r,i,t]}function vle(e){const n=e.getSourceFile();R$(e,e.expression,n,3,!1),N$(e.expression,e.expression,n,3,!1)}function ble(e){return Fk(e)&&(vle(e),e=e.expression),e}var Ele,Tle,xle,Sle=E({"src/services/refactors/convertStringOrTemplateLiteral.ts"(){ufe(),Sde(),rle="Convert to template string",ile=vT(Vo.Convert_to_template_string),Qoe(rle,{kinds:[(ale={name:rle,description:ile,kind:"refactor.rewrite.string"}).kind],getEditsForAction:ple,getAvailableActions:ule}),ole=(e,n)=>(t,r)=>{t<e.length&&R$(e[t],r,n,3,!1)},sle=(e,n,t)=>(r,i)=>{for(;r.length>0;){const a=r.shift();R$(e[a],i,n,3,!1),t(a,i)}}}}),Ale={},Lle=E({"src/services/_namespaces/ts.refactor.convertStringOrTemplateLiteral.ts"(){Sle()}});function Cle(e){const n=Rle(e,"invoked"===e.triggerReason);return n?Ase(n)?e.preferences.provideRefactorNotApplicableReason?[{name:Ele,description:Tle,actions:[{...xle,notApplicableReason:n.error}]}]:i:[{name:Ele,description:Tle,actions:[xle]}]:i}function kle(e,n){const t=Rle(e);Nt.assert(t&&!Ase(t),"Expected applicable refactor info");const r=i_e.ChangeTracker.with(e,(n=>function(e,n,t,r,i){const{finalExpression:a,occurrences:o,expression:s}=r,c=o[o.length-1],l=Ple(n,a,o);l&&(Rk(l)||Nk(l)||Dk(l))&&(qk(s)?t.replaceNodeRange(e,c,a,l):zk(s)&&t.replaceNode(e,s,pA.createBinaryExpression(l,pA.createToken(60),s.whenFalse)))}(e.file,e.program.getTypeChecker(),n,t)));return{edits:r,renameFilename:void 0,renameLocation:void 0}}function Ile(e){return qk(e)||zk(e)}function wle(e){return Ile(e)||function(e){return _I(e)||EI(e)||dI(e)}(e)}function Rle(e,n=!0){const{file:t,program:r}=e,i=uQ(e),a=0===i.length;if(a&&!n)return;const o=_X(t,i.start),s=mX(t,i.start+i.length),c=mc(o.pos,s&&s.end>=o.pos?s.getEnd():o.getEnd()),l=a?function(e){for(;e.parent;){if(wle(e)&&!wle(e.parent))return e;e=e.parent}}(o):function(e,n){for(;e.parent;){if(wle(e)&&0!==n.length&&e.end>=n.start+n.length)return e;e=e.parent}}(o,c),d=l&&wle(l)?function(e){if(Ile(e))return e;if(dI(e)){const n=Ag(e),t=null==n?void 0:n.initializer;return t&&Ile(t)?t:void 0}return e.expression&&Ile(e.expression)?e.expression:void 0}(l):void 0;if(!d)return{error:vT(Vo.Could_not_find_convertible_access_expression)};const u=r.getTypeChecker();return zk(d)?function(e,n){const t=e.condition,r=Mle(e.whenTrue);if(!r||n.isNullableType(n.getTypeAtLocation(r)))return{error:vT(Vo.Could_not_find_convertible_access_expression)};if((Rk(t)||AC(t))&&Dle(t,r.expression))return{finalExpression:r,occurrences:[t],expression:e};if(qk(t)){const n=Nle(r.expression,t);return n?{finalExpression:r,occurrences:n,expression:e}:{error:vT(Vo.Could_not_find_matching_access_expressions)}}}(d,u):function(e){if(55!==e.operatorToken.kind)return{error:vT(Vo.Can_only_convert_logical_AND_access_chains)};const n=Mle(e.right);if(!n)return{error:vT(Vo.Could_not_find_convertible_access_expression)};const t=Nle(n.expression,e.left);return t?{finalExpression:n,occurrences:t,expression:e}:{error:vT(Vo.Could_not_find_matching_access_expressions)}}(d)}function Nle(e,n){const t=[];for(;qk(n)&&55===n.operatorToken.kind;){const r=Dle(Yg(e),Yg(n.right));if(!r)break;t.push(r),e=r,n=n.left}const r=Dle(e,n);return r&&t.push(r),t.length>0?t:void 0}function Dle(e,n){if(AC(n)||Rk(n)||Nk(n))return function(e,n){for(;(Dk(e)||Rk(e)||Nk(e))&&Ole(e)!==Ole(n);)e=e.expression;for(;Rk(e)&&Rk(n)||Nk(e)&&Nk(n);){if(Ole(e)!==Ole(n))return!1;e=e.expression,n=n.expression}return AC(e)&&AC(n)&&e.getText()===n.getText()}(e,n)?n:void 0}function Ole(e){return AC(e)||Ly(e)?e.getText():Rk(e)?Ole(e.name):Nk(e)?Ole(e.argumentExpression):void 0}function Mle(e){return qk(e=Yg(e))?Mle(e.left):(Rk(e)||Nk(e)||Dk(e))&&!Gl(e)?e:void 0}function Ple(e,n,t){if(Rk(n)||Nk(n)||Dk(n)){const r=Ple(e,n.expression,t),i=t.length>0?t[t.length-1]:void 0,a=(null==i?void 0:i.getText())===n.expression.getText();if(a&&t.pop(),Dk(n))return a?pA.createCallChain(r,pA.createToken(28),n.typeArguments,n.arguments):pA.createCallChain(r,n.questionDotToken,n.typeArguments,n.arguments);if(Rk(n))return a?pA.createPropertyAccessChain(r,pA.createToken(28),n.name):pA.createPropertyAccessChain(r,n.questionDotToken,n.name);if(Nk(n))return a?pA.createElementAccessChain(r,pA.createToken(28),n.argumentExpression):pA.createElementAccessChain(r,n.questionDotToken,n.argumentExpression)}return n}var Fle,Gle,Ble,Ule,Vle,jle=E({"src/services/refactors/convertToOptionalChainExpression.ts"(){ufe(),Sde(),Ele="Convert to optional chain expression",Tle=vT(Vo.Convert_to_optional_chain_expression),Qoe(Ele,{kinds:[(xle={name:Ele,description:Tle,kind:"refactor.rewrite.expression.optionalChain"}).kind],getEditsForAction:kle,getAvailableActions:Cle})}}),Hle={},Kle=E({"src/services/_namespaces/ts.refactor.convertToOptionalChainExpression.ts"(){jle()}});function Wle(e){const n=e.kind,t=zle(e.file,uQ(e),"invoked"===e.triggerReason),r=t.targetRange;if(void 0===r){if(!t.errors||0===t.errors.length||!e.preferences.provideRefactorNotApplicableReason)return i;const r=[];return Lse(Ble.kind,n)&&r.push({name:Fle,description:Ble.description,actions:[{...Ble,notApplicableReason:f(t.errors)}]}),Lse(Gle.kind,n)&&r.push({name:Fle,description:Gle.description,actions:[{...Gle,notApplicableReason:f(t.errors)}]}),r}const a=function(e,n){const{scopes:t,readsAndWrites:{functionErrorsPerScope:r,constantErrorsPerScope:i}}=Yle(e,n),a=t.map(((e,n)=>{const t=function(e){return Cd(e)?"inner function":Dd(e)?"method":"function"}(e),a=function(e){return Dd(e)?"readonly field":"constant"}(e),o=Cd(e)?function(e){switch(e.kind){case 173:return"constructor";case 215:case 259:return e.name?`function '${e.name.text}'`:iJ;case 216:return"arrow function";case 171:return`method '${e.name.getText()}'`;case 174:return`'get ${e.name.getText()}'`;case 175:return`'set ${e.name.getText()}'`;default:throw Nt.assertNever(e,`Unexpected scope kind ${e.kind}`)}}(e):Dd(e)?function(e){return 260===e.kind?e.name?`class '${e.name.text}'`:"anonymous class declaration":e.name?`class expression '${e.name.text}'`:"anonymous class expression"}(e):function(e){return 265===e.kind?`namespace '${e.parent.name.getText()}'`:e.externalModuleIndicator?0:1}(e);let s,c;return 1===o?(s=hT(vT(Vo.Extract_to_0_in_1_scope),[t,"global"]),c=hT(vT(Vo.Extract_to_0_in_1_scope),[a,"global"])):0===o?(s=hT(vT(Vo.Extract_to_0_in_1_scope),[t,"module"]),c=hT(vT(Vo.Extract_to_0_in_1_scope),[a,"module"])):(s=hT(vT(Vo.Extract_to_0_in_1),[t,o]),c=hT(vT(Vo.Extract_to_0_in_1),[a,o])),0!==n||Dd(e)||(c=hT(vT(Vo.Extract_to_0_in_enclosing_scope),[a])),{functionExtraction:{description:s,errors:r[n]},constantExtraction:{description:c,errors:i[n]}}}));return a}(r,e);if(void 0===a)return i;const o=[],s=new Map;let c;const l=[],d=new Map;let u,_=0;for(const{functionExtraction:e,constantExtraction:t}of a){if(Lse(Ble.kind,n)){const n=e.description;0===e.errors.length?s.has(n)||(s.set(n,!0),o.push({description:n,name:`function_scope_${_}`,kind:Ble.kind})):c||(c={description:n,name:`function_scope_${_}`,notApplicableReason:f(e.errors),kind:Ble.kind})}if(Lse(Gle.kind,n)){const e=t.description;0===t.errors.length?d.has(e)||(d.set(e,!0),l.push({description:e,name:`constant_scope_${_}`,kind:Gle.kind})):u||(u={description:e,name:`constant_scope_${_}`,notApplicableReason:f(t.errors),kind:Gle.kind})}_++}const p=[];return o.length?p.push({name:Fle,description:vT(Vo.Extract_function),actions:o}):e.preferences.provideRefactorNotApplicableReason&&c&&p.push({name:Fle,description:vT(Vo.Extract_function),actions:[c]}),l.length?p.push({name:Fle,description:vT(Vo.Extract_constant),actions:l}):e.preferences.provideRefactorNotApplicableReason&&u&&p.push({name:Fle,description:vT(Vo.Extract_constant),actions:[u]}),p.length?p:i;function f(e){let n=e[0].messageText;return"string"!=typeof n&&(n=n.messageText),n}}function qle(e,n){const t=zle(e.file,uQ(e)).targetRange,r=/^function_scope_(\d+)$/.exec(n);if(r){const n=+r[1];return Nt.assert(isFinite(n),"Expected to parse a finite number from the function scope index"),function(e,n,t){const{scopes:r,readsAndWrites:{target:a,usagesPerScope:o,functionErrorsPerScope:s,exposedVariableDeclarations:c}}=Yle(e,n);return Nt.assert(!s[t].length,"The extraction went missing? How?"),n.cancellationToken.throwIfCancellationRequested(),function(e,n,{usages:t,typeParameterUsages:r,substitutions:a},o,s,c){const l=c.program.getTypeChecker(),d=BT(c.program.getCompilerOptions()),u=Ote.createImportAdder(c.file,c.program,c.preferences,c.host),_=n.getSourceFile(),p=k$(Dd(n)?"newMethod":"newFunction",_),f=Ah(n),m=pA.createIdentifier(p);let h;const g=[],y=[];let v;t.forEach(((e,t)=>{let r;if(!f){let t=l.getTypeOfSymbolAtLocation(e.symbol,e.node);t=l.getBaseTypeOfLiteralType(t),r=Ote.typeToAutoImportableTypeNode(l,u,t,n,d,1)}const i=pA.createParameterDeclaration(void 0,void 0,t,void 0,r);g.push(i),2===e.usage&&(v||(v=[])).push(e),y.push(pA.createIdentifier(t))}));const b=Qe(r.values(),(e=>({type:e,declaration:$le(e)}))).sort(Qle),E=0===b.length?void 0:b.map((e=>e.declaration)),T=void 0!==E?E.map((e=>pA.createTypeReferenceNode(e.name,void 0))):void 0;if(uu(e)&&!f){const t=l.getContextualType(e);h=l.typeToTypeNode(t,n,1)}const{body:x,returnValueProperty:S}=function(e,n,t,r,i){const a=void 0!==t||n.length>0;if(lI(e)&&!a&&0===r.size)return{body:pA.createBlock(e.statements,!0),returnValueProperty:void 0};let o,s=!1;const c=pA.createNodeArray(lI(e)?e.statements.slice(0):[Mu(e)?e:pA.createReturnStatement(Yg(e))]);if(a||r.size){const l=rB(c,(function e(i){if(!s&&EI(i)&&a){const r=Zle(n,t);return i.expression&&(o||(o="__return"),r.unshift(pA.createPropertyAssignment(o,tB(i.expression,e,uu)))),1===r.length?pA.createReturnStatement(r[0].name):pA.createReturnStatement(pA.createObjectLiteralExpression(r))}{const n=s;s=s||Cd(i)||Dd(i);const t=r.get(KG(i).toString()),a=t?g$(t):_B(i,e,RV);return s=n,a}}),Mu).slice();if(a&&!i&&Mu(e)){const e=Zle(n,t);1===e.length?l.push(pA.createReturnStatement(e[0].name)):l.push(pA.createReturnStatement(pA.createObjectLiteralExpression(e)))}return{body:pA.createBlock(l,!0),returnValueProperty:o}}return{body:pA.createBlock(c,!0),returnValueProperty:void 0}}(e,o,v,a,!!(1&s.facts));let A;T$(x);const L=!!(16&s.facts);if(Dd(n)){const e=f?[]:[pA.createModifier(121)];32&s.facts&&e.push(pA.createModifier(124)),4&s.facts&&e.push(pA.createModifier(132)),A=pA.createMethodDeclaration(e.length?e:void 0,2&s.facts?pA.createToken(41):void 0,m,void 0,E,g,h,x)}else L&&g.unshift(pA.createParameterDeclaration(void 0,void 0,"this",void 0,l.typeToTypeNode(l.getTypeAtLocation(s.thisNode),n,1),void 0)),A=pA.createFunctionDeclaration(4&s.facts?[pA.createToken(132)]:void 0,2&s.facts?pA.createToken(41):void 0,m,E,g,h,x);const C=i_e.ChangeTracker.fromContext(c),k=function(e,n){return D(function(e){if(Cd(e)){const n=e.body;if(lI(n))return n.statements}else{if(PI(e)||Aw(e))return e.statements;if(Dd(e))return e.members}return i}(n),(n=>n.pos>=e&&Cd(n)&&!YC(n)))}((ede(s.range)?Ge(s.range):s.range).end,n);k?C.insertNodeBefore(c.file,k,A,!0):C.insertNodeAtEndOfScope(c.file,n,A),u.writeFixes(C);const I=[],w=function(e,n,t){const r=pA.createIdentifier(t);if(Dd(e)){const t=32&n.facts?pA.createIdentifier(e.name.text):pA.createThis();return pA.createPropertyAccessExpression(t,r)}return r}(n,s,p);L&&y.unshift(pA.createIdentifier("this"));let R=pA.createCallExpression(L?pA.createPropertyAccessExpression(w,"call"):w,T,y);if(2&s.facts&&(R=pA.createYieldExpression(pA.createToken(41),R)),4&s.facts&&(R=pA.createAwaitExpression(R)),rde(e)&&(R=pA.createJsxExpression(void 0,R)),o.length&&!v)if(Nt.assert(!S,"Expected no returnValueProperty"),Nt.assert(!(1&s.facts),"Expected RangeFacts.HasReturn flag to be unset"),1===o.length){const e=o[0];I.push(pA.createVariableStatement(void 0,pA.createVariableDeclarationList([pA.createVariableDeclaration(g$(e.name),void 0,g$(e.type),R)],e.parent.flags)))}else{const e=[],t=[];let r=o[0].parent.flags,i=!1;for(const a of o){e.push(pA.createBindingElement(void 0,void 0,g$(a.name)));const o=l.typeToTypeNode(l.getBaseTypeOfLiteralType(l.getTypeAtLocation(a)),n,1);t.push(pA.createPropertySignature(void 0,a.symbol.name,void 0,o)),i=i||void 0!==a.type,r&=a.parent.flags}const a=i?pA.createTypeLiteralNode(t):void 0;a&&GA(a,1),I.push(pA.createVariableStatement(void 0,pA.createVariableDeclarationList([pA.createVariableDeclaration(pA.createObjectBindingPattern(e),void 0,a,R)],r)))}else if(o.length||v){if(o.length)for(const e of o){let n=e.parent.flags;2&n&&(n=-3&n|1),I.push(pA.createVariableStatement(void 0,pA.createVariableDeclarationList([pA.createVariableDeclaration(e.symbol.name,void 0,M(e.type))],n)))}S&&I.push(pA.createVariableStatement(void 0,pA.createVariableDeclarationList([pA.createVariableDeclaration(S,void 0,M(h))],1)));const e=Zle(o,v);S&&e.unshift(pA.createShorthandPropertyAssignment(S)),1===e.length?(Nt.assert(!S,"Shouldn't have returnValueProperty here"),I.push(pA.createExpressionStatement(pA.createAssignment(e[0].name,R))),1&s.facts&&I.push(pA.createReturnStatement())):(I.push(pA.createExpressionStatement(pA.createAssignment(pA.createObjectLiteralExpression(e),R))),S&&I.push(pA.createReturnStatement(pA.createIdentifier(S))))}else 1&s.facts?I.push(pA.createReturnStatement(R)):ede(s.range)?I.push(pA.createExpressionStatement(R)):I.push(R);ede(s.range)?C.replaceNodeRangeWithNodes(c.file,Me(s.range),Ge(s.range),I):C.replaceNodeWithNodes(c.file,s.range,I);const N=C.getChanges(),O=(ede(s.range)?Me(s.range):s.range).getSourceFile().fileName;return{renameFilename:O,renameLocation:I$(N,O,p,!1),edits:N};function M(e){if(void 0===e)return;const n=g$(e);let t=n;for(;gk(t);)t=t.type;return pk(t)&&D(t.types,(e=>155===e.kind))?n:pA.createUnionTypeNode([n,pA.createKeywordTypeNode(155)])}}(a,r[t],o[t],c,e,n)}(t,e,n)}const a=/^constant_scope_(\d+)$/.exec(n);if(a){const n=+a[1];return Nt.assert(isFinite(n),"Expected to parse a finite number from the constant scope index"),function(e,n,t){const{scopes:r,readsAndWrites:{target:i,usagesPerScope:a,constantErrorsPerScope:o,exposedVariableDeclarations:s}}=Yle(e,n);return Nt.assert(!o[t].length,"The extraction went missing? How?"),Nt.assert(0===s.length,"Extract constant accepted a range containing a variable declaration?"),n.cancellationToken.throwIfCancellationRequested(),function(e,n,{substitutions:t},r,i){const a=i.program.getTypeChecker(),o=n.getSourceFile(),s=!Rk(e)||Dd(n)||a.resolveName(e.name.text,e,111551,!1)||LC(e.name)||Fc(e.name)?k$(Dd(n)?"newProperty":"newLocal",o):e.name.text,c=Ah(n);let l=c||!a.isContextSensitive(e)?void 0:a.typeToTypeNode(a.getContextualType(e),n,1),d=function(e,n){return n.size?function e(t){const r=n.get(KG(t).toString());return r?g$(r):_B(t,e,RV)}(e):e}(Yg(e),t);({variableType:l,initializer:d}=function(t,r){if(void 0===t)return{variableType:t,initializer:r};if(!Gk(r)&&!Bk(r)||r.typeParameters)return{variableType:t,initializer:r};const i=a.getTypeAtLocation(e),o=Be(a.getSignaturesOfType(i,0));if(!o)return{variableType:t,initializer:r};if(o.getTypeParameters())return{variableType:t,initializer:r};const s=[];let c=!1;for(const e of r.parameters)if(e.type)s.push(e);else{const t=a.getTypeAtLocation(e);t===a.getAnyType()&&(c=!0),s.push(pA.updateParameterDeclaration(e,e.modifiers,e.dotDotDotToken,e.name,e.questionToken,e.type||a.typeToTypeNode(t,n,1),e.initializer))}if(c)return{variableType:t,initializer:r};if(t=void 0,Bk(r))r=pA.updateArrowFunction(r,PN(e)?Jc(e):void 0,r.typeParameters,s,r.type||a.typeToTypeNode(o.getReturnType(),n,1),r.equalsGreaterThanToken,r.body);else{if(o&&o.thisParameter){const t=De(s);if(!t||AC(t.name)&&"this"!==t.name.escapedText){const t=a.getTypeOfSymbolAtLocation(o.thisParameter,e);s.splice(0,0,pA.createParameterDeclaration(void 0,void 0,"this",void 0,a.typeToTypeNode(t,n,1)))}}r=pA.updateFunctionExpression(r,PN(e)?Jc(e):void 0,r.asteriskToken,r.name,r.typeParameters,s,r.type||a.typeToTypeNode(o.getReturnType(),n,1),r.body)}return{variableType:t,initializer:r}}(l,d)),T$(d);const u=i_e.ChangeTracker.fromContext(i);if(Dd(n)){Nt.assert(!c,"Cannot extract to a JS class");const t=[];t.push(pA.createModifier(121)),32&r&&t.push(pA.createModifier(124)),t.push(pA.createModifier(146));const a=pA.createPropertyDeclaration(t,s,void 0,l,d);let o=pA.createPropertyAccessExpression(32&r?pA.createIdentifier(n.name.getText()):pA.createThis(),pA.createIdentifier(s));rde(e)&&(o=pA.createJsxExpression(void 0,o));const _=function(e,n){const t=n.members;let r;Nt.assert(t.length>0,"Found no members");let i=!0;for(const n of t){if(n.pos>e)return r||t[0];if(i&&!qC(n)){if(void 0!==r)return n;i=!1}r=n}return void 0===r?Nt.fail():r}(e.pos,n);u.insertNodeBefore(i.file,_,a,!0),u.replaceNode(i.file,e,o)}else{const t=pA.createVariableDeclaration(s,void 0,l,d),r=function(e,n){let t;for(;void 0!==e&&e!==n;){if(kI(e)&&e.initializer===t&&II(e.parent)&&e.parent.declarations.length>1)return e;t=e,e=e.parent}}(e,n);if(r){u.insertNodeBefore(i.file,r,t);const n=pA.createIdentifier(s);u.replaceNode(i.file,e,n)}else if(241===e.parent.kind&&n===Rc(e,Xle)){const n=pA.createVariableStatement(void 0,pA.createVariableDeclarationList([t],2));u.replaceNode(i.file,e.parent,n)}else{const r=pA.createVariableStatement(void 0,pA.createVariableDeclarationList([t],2)),a=function(e,n){let t;Nt.assert(!Dd(n));for(let r=e;r!==n;r=r.parent)Xle(r)&&(t=r);for(let r=(t||e).parent;;r=r.parent){if(tde(r)){let n;for(const t of r.statements){if(t.pos>e.pos)break;n=t}return!n&&hw(r)?(Nt.assert(xI(r.parent.parent),"Grandparent isn't a switch statement"),r.parent.parent):Nt.checkDefined(n,"prevStatement failed to get set")}Nt.assert(r!==n,"Didn't encounter a block-like before encountering scope")}}(e,n);if(0===a.pos?u.insertNodeAtTopOfFile(i.file,r,!1):u.insertNodeBefore(i.file,a,r,!1),241===e.parent.kind)u.delete(i.file,e.parent);else{let n=pA.createIdentifier(s);rde(e)&&(n=pA.createJsxExpression(void 0,n)),u.replaceNode(i.file,e,n)}}}const _=u.getChanges(),p=e.getSourceFile().fileName;return{renameFilename:p,renameLocation:I$(_,p,s,!0),edits:_}}(uu(i)?i:i.statements[0].expression,r[t],a[t],e.facts,n)}(t,e,n)}Nt.fail("Unrecognized action name")}function zle(e,n,t=!0){const{length:r}=n;if(0===r&&!t)return{errors:[ST(e,n.start,r,Ule.cannotExtractEmpty)]};const i=0===r&&t,a=fX(e,n.start),o=mX(e,tc(n)),s=a&&o&&t?function(e,n,t){const r=e.getStart(t);let i=n.getEnd();return 59===t.text.charCodeAt(i)&&i++,{start:r,length:i-r}}(a,o,e):n,c=i?function(e){return Rc(e,(e=>e.parent&&nde(e)&&!qk(e.parent)))}(a):kY(a,e,s),l=i?c:kY(o,e,s);let d,u=0;if(!c||!l)return{errors:[ST(e,n.start,r,Ule.cannotExtractRange)]};if(8388608&c.flags)return{errors:[ST(e,n.start,r,Ule.cannotExtractJSDoc)]};if(c.parent!==l.parent)return{errors:[ST(e,n.start,r,Ule.cannotExtractRange)]};if(c!==l){if(!tde(c.parent))return{errors:[ST(e,n.start,r,Ule.cannotExtractRange)]};const t=[];for(const e of c.parent.statements){if(e===c||t.length){const n=f(e);if(n)return{errors:n};t.push(e)}if(e===l)break}return t.length?{targetRange:{range:t,facts:u,thisNode:d}}:{errors:[ST(e,n.start,r,Ule.cannotExtractRange)]}}if(EI(c)&&!c.expression)return{errors:[ST(e,n.start,r,Ule.cannotExtractRange)]};const _=function(e){if(EI(e)){if(e.expression)return e.expression}else if(dI(e)||II(e)){const n=dI(e)?e.declarationList.declarations:e.declarations;let t,r=0;for(const e of n)e.initializer&&(r++,t=e.initializer);if(1===r)return t}else if(kI(e)&&e.initializer)return e.initializer;return e}(c),p=function(e){if(AC(_I(e)?e.expression:e))return[Hf(e,Ule.cannotExtractIdentifier)]}(_)||f(_);return p?{errors:p}:{targetRange:{range:Jle(_),facts:u,thisNode:d}};function f(e){let t;var r;if((r=t||(t={}))[r.None=0]="None",r[r.Break=1]="Break",r[r.Continue=2]="Continue",r[r.Return=4]="Return",Nt.assert(e.pos<=e.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (1)"),Nt.assert(!Xx(e.pos),"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (2)"),!(Mu(e)||mh(e)&&nde(e)||ide(e)))return[Hf(e,Ule.statementOrExpressionExpected)];if(16777216&e.flags)return[Hf(e,Ule.cannotExtractAmbientBlock)];const i=Wm(e);let a;i&&function(e,n){let t=e;for(;t!==n;){if(169===t.kind){ub(t)&&(u|=32);break}if(166===t.kind){173===Hm(t).kind&&(u|=32);break}171===t.kind&&ub(t)&&(u|=32),t=t.parent}}(e,i);let o,s=4;if(function e(t){if(a)return!0;if(Nu(t)&&db(257===t.kind?t.parent.parent:t,1))return(a||(a=[])).push(Hf(t,Ule.cannotExtractExportedEntity)),!0;switch(t.kind){case 269:return(a||(a=[])).push(Hf(t,Ule.cannotExtractImport)),!0;case 274:return(a||(a=[])).push(Hf(t,Ule.cannotExtractExportedEntity)),!0;case 106:if(210===t.parent.kind){const e=Wm(t);if(void 0===e||e.pos<n.start||e.end>=n.start+n.length)return(a||(a=[])).push(Hf(t,Ule.cannotExtractSuper)),!0}else u|=8,d=t;break;case 216:ED(t,(function e(n){if(FJ(n))u|=8,d=t;else{if(Dd(n)||Ad(n)&&!Bk(n))return!1;ED(n,e)}}));case 260:case 259:Aw(t.parent)&&void 0===t.parent.externalModuleIndicator&&(a||(a=[])).push(Hf(t,Ule.functionWillNotBeVisibleInTheNewScope));case 228:case 215:case 171:case 173:case 174:case 175:return!1}const r=s;switch(t.kind){case 242:s&=-5;break;case 255:s=0;break;case 238:t.parent&&255===t.parent.kind&&t.parent.finallyBlock===t&&(s=4);break;case 293:case 292:s|=1;break;default:fu(t,!1)&&(s|=3)}switch(t.kind){case 194:case 108:u|=8,d=t;break;case 253:{const n=t.label;(o||(o=[])).push(n.escapedText),ED(t,e),o.pop();break}case 249:case 248:{const e=t.label;e?G(o,e.escapedText)||(a||(a=[])).push(Hf(t,Ule.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange)):s&(249===t.kind?1:2)||(a||(a=[])).push(Hf(t,Ule.cannotExtractRangeContainingConditionalBreakOrContinueStatements));break}case 220:u|=4;break;case 226:u|=2;break;case 250:4&s?u|=1:(a||(a=[])).push(Hf(t,Ule.cannotExtractRangeContainingConditionalReturnStatement));break;default:ED(t,e)}s=r}(e),8&u){const n=Jm(e,!1,!1);(259===n.kind||171===n.kind&&207===n.parent.kind||215===n.kind)&&(u|=16)}return a}}function Jle(e){return Mu(e)?[e]:mh(e)?_I(e.parent)?[e.parent]:e:ide(e)?e:void 0}function Xle(e){return Bk(e)?Eu(e.body):Cd(e)||Aw(e)||PI(e)||Dd(e)}function Yle(e,n){const{file:t}=n,r=function(e){let n=ede(e.range)?Me(e.range):e.range;if(8&e.facts&&!(16&e.facts)){const e=Wm(n);if(e){const t=Rc(n,Cd);return t?[t,e]:[e]}}const t=[];for(;;)if(n=n.parent,166===n.kind&&(n=Rc(n,(e=>Cd(e))).parent),Xle(n)&&(t.push(n),308===n.kind))return t}(e),i=function(e,n){return ede(e.range)?{pos:Me(e.range).getStart(n),end:Ge(e.range).getEnd()}:e.range}(e,t),a=function(e,n,t,r,i,a){const o=new Map,s=[],c=[],l=[],d=[],u=[],_=new Map,p=[];let f;const m=ede(e.range)?1===e.range.length&&_I(e.range[0])?e.range[0].expression:void 0:e.range;let h;if(void 0===m){const n=e.range,t=Me(n).getStart(),i=Ge(n).end;h=ST(r,t,i-t,Ule.expressionExpected)}else 147456&i.getTypeAtLocation(m).flags&&(h=Hf(m,Ule.uselessConstantType));for(const e of n){s.push({usages:new Map,typeParameterUsages:new Map,substitutions:new Map}),c.push(new Map),l.push([]);const n=[];h&&n.push(h),Dd(e)&&Ah(e)&&n.push(Hf(e,Ule.cannotExtractToJSClass)),Bk(e)&&!lI(e.body)&&n.push(Hf(e,Ule.cannotExtractToExpressionArrowFunction)),d.push(n)}const g=new Map,y=ede(e.range)?pA.createBlock(e.range):e.range,v=ede(e.range)?Me(e.range):e.range,b=!!Rc(v,(e=>kf(e)&&0!==Rl(e).length));if(function a(o,_=1){b&&E(i.getTypeAtLocation(o));if(Nu(o)&&o.symbol&&u.push(o),Bb(o))a(o.left,2),a(o.right);else if(lu(o))a(o.operand,2);else if(Rk(o)||Nk(o))ED(o,a);else if(AC(o)){if(!o.parent)return;if(UC(o.parent)&&o!==o.parent.left)return;if(Rk(o.parent)&&o!==o.parent.expression)return;!function(a,o,u){const _=function(a,o,u){const _=T(a);if(!_)return;const p=WG(_).toString(),f=g.get(p);if(f&&f>=o)return p;if(g.set(p,o),f){for(const e of s)e.usages.get(a.text)&&e.usages.set(a.text,{usage:o,symbol:_,node:a});return p}const m=_.getDeclarations(),h=m&&D(m,(e=>e.getSourceFile()===r));if(h&&!KJ(t,h.getStart(),h.end)){if(2&e.facts&&2===o){const e=Hf(a,Ule.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators);for(const n of l)n.push(e);for(const n of d)n.push(e)}for(let e=0;e<n.length;e++){const t=n[e];if(i.resolveName(_.name,t,_.flags,!1)!==_&&!c[e].has(p)){const n=x(_.exportSymbol||_,t,u);if(n)c[e].set(p,n);else if(u){if(!(262144&_.flags)){const n=Hf(a,Ule.typeWillNotBeVisibleInTheNewScope);l[e].push(n),d[e].push(n)}}else s[e].usages.set(a.text,{usage:o,symbol:_,node:a})}}return p}}(a,o,u);if(_)for(let e=0;e<n.length;e++){const n=c[e].get(_);n&&s[e].substitutions.set(KG(a).toString(),n)}}(o,_,vm(o))}else ED(o,a)}(y),!b||ede(e.range)||_w(e.range)||E(i.getContextualType(e.range)),o.size>0){const e=new Map;let t=0;for(let r=v;void 0!==r&&t<n.length;r=r.parent)if(r===n[t]&&(e.forEach(((e,n)=>{s[t].typeParameterUsages.set(n,e)})),t++),kf(r))for(const n of Rl(r)){const t=i.getTypeAtLocation(n);o.has(t.id.toString())&&e.set(t.id.toString(),t)}Nt.assert(t===n.length,"Should have iterated all scopes")}u.length&&ED(Cf(n[0],n[0].parent)?n[0]:Mf(n[0]),(function n(t){if(t===e.range||ede(e.range)&&e.range.indexOf(t)>=0)return;const r=AC(t)?T(t):i.getSymbolAtLocation(t);if(r){const e=D(u,(e=>e.symbol===r));if(e)if(kI(e)){const n=e.symbol.id.toString();_.has(n)||(p.push(e),_.set(n,!0))}else f=f||e}ED(t,n)}));for(let t=0;t<n.length;t++){const r=s[t];if(t>0&&(r.usages.size>0||r.typeParameterUsages.size>0)){const n=ede(e.range)?e.range[0]:e.range;d[t].push(Hf(n,Ule.cannotAccessVariablesFromNestedScopes))}16&e.facts&&Dd(n[t])&&l[t].push(Hf(e.thisNode,Ule.cannotExtractFunctionsContainingThisToMethod));let i,a=!1;if(s[t].usages.forEach((e=>{2===e.usage&&(a=!0,106500&e.symbol.flags&&e.symbol.valueDeclaration&&lb(e.symbol.valueDeclaration,64)&&(i=e.symbol.valueDeclaration))})),Nt.assert(ede(e.range)||0===p.length,"No variable declarations expected if something was extracted"),a&&!ede(e.range)){const n=Hf(e.range,Ule.cannotWriteInExpression);l[t].push(n),d[t].push(n)}else if(i&&t>0){const e=Hf(i,Ule.cannotExtractReadonlyPropertyInitializerOutsideConstructor);l[t].push(e),d[t].push(e)}else if(f){const e=Hf(f,Ule.cannotExtractExportedEntity);l[t].push(e),d[t].push(e)}}return{target:y,usagesPerScope:s,functionErrorsPerScope:l,constantErrorsPerScope:d,exposedVariableDeclarations:p};function E(e){const n=i.getSymbolWalker((()=>(a.throwIfCancellationRequested(),!0))),{visitedTypes:t}=n.walkType(e);for(const e of t)e.isTypeParameter()&&o.set(e.id.toString(),e)}function T(e){return e.parent&&Ew(e.parent)&&e.parent.name===e?i.getShorthandAssignmentValueSymbol(e.parent):i.getSymbolAtLocation(e)}function x(e,n,t){if(!e)return;const r=e.getDeclarations();if(r&&r.some((e=>e.parent===n)))return pA.createIdentifier(e.name);const i=x(e.parent,n,t);return void 0!==i?t?pA.createQualifiedName(i,pA.createIdentifier(e.name)):pA.createPropertyAccessExpression(i,e.name):void 0}}(e,r,i,t,n.program.getTypeChecker(),n.cancellationToken);return{scopes:r,readsAndWrites:a}}function $le(e){let n;const t=e.symbol;if(t&&t.declarations)for(const e of t.declarations)(void 0===n||e.pos<n.pos)&&(n=e);return n}function Qle({type:e,declaration:n},{type:t,declaration:r}){return Yn(n,r,"pos",Un)||Wn(e.symbol?e.symbol.getName():"",t.symbol?t.symbol.getName():"")||Un(e.id,t.id)}function Zle(e,n){const t=W(e,(e=>pA.createShorthandPropertyAssignment(e.symbol.name))),r=W(n,(e=>pA.createShorthandPropertyAssignment(e.symbol.name)));return void 0===t?r:void 0===r?t:t.concat(r)}function ede(e){return gn(e)}function nde(e){const{parent:n}=e;if(302===n.kind)return!1;switch(e.kind){case 10:return 269!==n.kind&&273!==n.kind;case 227:case 203:case 205:return!1;case 79:return 205!==n.kind&&273!==n.kind&&278!==n.kind}return!0}function tde(e){switch(e.kind){case 238:case 308:case 265:case 292:return!0;default:return!1}}function rde(e){return ide(e)||(aw(e)||ow(e)||lw(e))&&(aw(e.parent)||lw(e.parent))}function ide(e){return cC(e)&&e.parent&&_w(e.parent)}var ade=E({"src/services/refactors/extractSymbol.ts"(){ufe(),Sde(),Fle="Extract Symbol",Gle={name:"Extract Constant",description:vT(Vo.Extract_constant),kind:"refactor.extract.constant"},Ble={name:"Extract Function",description:vT(Vo.Extract_function),kind:"refactor.extract.function"},Qoe(Fle,{kinds:[Gle.kind,Ble.kind],getEditsForAction:qle,getAvailableActions:Wle}),(e=>{function n(e){return{message:e,code:0,category:3,key:e}}e.cannotExtractRange=n("Cannot extract range."),e.cannotExtractImport=n("Cannot extract import statement."),e.cannotExtractSuper=n("Cannot extract super call."),e.cannotExtractJSDoc=n("Cannot extract JSDoc."),e.cannotExtractEmpty=n("Cannot extract empty range."),e.expressionExpected=n("expression expected."),e.uselessConstantType=n("No reason to extract constant of type."),e.statementOrExpressionExpected=n("Statement or expression expected."),e.cannotExtractRangeContainingConditionalBreakOrContinueStatements=n("Cannot extract range containing conditional break or continue statements."),e.cannotExtractRangeContainingConditionalReturnStatement=n("Cannot extract range containing conditional return statement."),e.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange=n("Cannot extract range containing labeled break or continue with target outside of the range."),e.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators=n("Cannot extract range containing writes to references located outside of the target range in generators."),e.typeWillNotBeVisibleInTheNewScope=n("Type will not visible in the new scope."),e.functionWillNotBeVisibleInTheNewScope=n("Function will not visible in the new scope."),e.cannotExtractIdentifier=n("Select more than a single identifier."),e.cannotExtractExportedEntity=n("Cannot extract exported declaration"),e.cannotWriteInExpression=n("Cannot write back side-effects when extracting an expression"),e.cannotExtractReadonlyPropertyInitializerOutsideConstructor=n("Cannot move initialization of read-only class property outside of the constructor"),e.cannotExtractAmbientBlock=n("Cannot extract code from ambient contexts"),e.cannotAccessVariablesFromNestedScopes=n("Cannot access variables from nested scopes"),e.cannotExtractToJSClass=n("Cannot extract constant to a class scope in JS"),e.cannotExtractToExpressionArrowFunction=n("Cannot extract constant to an arrow function without a block"),e.cannotExtractFunctionsContainingThisToMethod=n("Cannot extract functions containing this to method")})(Ule||(Ule={})),Vle=(e=>(e[e.None=0]="None",e[e.HasReturn=1]="HasReturn",e[e.IsGenerator=2]="IsGenerator",e[e.IsAsyncFunction=4]="IsAsyncFunction",e[e.UsesThis=8]="UsesThis",e[e.UsesThisInFunction=16]="UsesThisInFunction",e[e.InStaticRegion=32]="InStaticRegion",e))(Vle||{})}}),ode={};T(ode,{Messages:()=>Ule,RangeFacts:()=>Vle,getRangeToExtract:()=>zle,getRefactorActionsToExtractSymbol:()=>Wle,getRefactorEditsToExtractSymbol:()=>qle});var sde,cde,lde,dde,ude,_de,pde=E({"src/services/_namespaces/ts.refactor.extractSymbol.ts"(){ade()}}),fde=E({"src/services/refactors/generateGetAccessorAndSetAccessor.ts"(){ufe(),Sde(),sde="Generate 'get' and 'set' accessors",cde=Vo.Generate_get_and_set_accessors.message,Qoe(sde,{kinds:[(lde={name:sde,description:cde,kind:"refactor.rewrite.property.generateAccessors"}).kind],getEditsForAction:function(e,n){if(!e.endPosition)return;const t=Ote.getAccessorConvertiblePropertyAtPosition(e.file,e.program,e.startPosition,e.endPosition);Nt.assert(t&&!Ase(t),"Expected applicable refactor info");const r=Ote.generateAccessorFromProperty(e.file,e.program,e.startPosition,e.endPosition,e,n);if(!r)return;const i=e.file.fileName,a=t.renameAccessor?t.accessorName:t.fieldName;return{renameFilename:i,renameLocation:(AC(a)?0:-1)+I$(r,i,a.text,HC(t.declaration)),edits:r}},getAvailableActions(e){if(!e.endPosition)return i;const n=Ote.getAccessorConvertiblePropertyAtPosition(e.file,e.program,e.startPosition,e.endPosition,"invoked"===e.triggerReason);return n?Ase(n)?e.preferences.provideRefactorNotApplicableReason?[{name:sde,description:cde,actions:[{...lde,notApplicableReason:n.error}]}]:i:[{name:sde,description:cde,actions:[lde]}]:i}})}}),mde={},hde=E({"src/services/_namespaces/ts.refactor.generateGetAccessorAndSetAccessor.ts"(){fde()}});function gde(e){const n=vde(e);if(n&&!Ase(n))return{renameFilename:void 0,renameLocation:void 0,edits:i_e.ChangeTracker.with(e,(t=>function(e,n,t,r){const i=ZJ(t,21,e),a=Bk(t)&&void 0===i,o=a?Me(t.parameters):i;o&&(a&&(n.insertNodeBefore(e,o,pA.createToken(20)),n.insertNodeAfter(e,o,pA.createToken(21))),n.insertNodeAt(e,o.end,r,{prefix:": "}))}(e.file,t,n.declaration,n.returnTypeNode)))}}function yde(e){const n=vde(e);return n?Ase(n)?e.preferences.provideRefactorNotApplicableReason?[{name:dde,description:ude,actions:[{..._de,notApplicableReason:n.error}]}]:i:[{name:dde,description:ude,actions:[_de]}]:i}function vde(e){if(Ah(e.file)||!Lse(_de.kind,e.kind))return;const n=Rc(_X(e.file,e.startPosition),(e=>lI(e)||e.parent&&Bk(e.parent)&&(38===e.kind||e.parent.body===e)?"quit":function(e){switch(e.kind){case 259:case 215:case 216:case 171:return!0;default:return!1}}(e)));if(!n||!n.body||n.type)return{error:vT(Vo.Return_type_must_be_inferred_from_a_function)};const t=e.program.getTypeChecker(),r=function(e,n){if(e.isImplementationOfOverload(n)){const t=e.getTypeAtLocation(n).getCallSignatures();if(t.length>1)return e.getUnionType(ee(t,(e=>e.getReturnType())))}const t=e.getSignatureFromDeclaration(n);if(t)return e.getReturnTypeOfSignature(t)}(t,n);if(!r)return{error:vT(Vo.Could_not_determine_function_return_type)};const i=t.typeToTypeNode(r,n,1);return i?{declaration:n,returnTypeNode:i}:void 0}var bde=E({"src/services/refactors/inferFunctionReturnType.ts"(){ufe(),Sde(),dde="Infer function return type",ude=Vo.Infer_function_return_type.message,Qoe(dde,{kinds:[(_de={name:dde,description:ude,kind:"refactor.rewrite.function.returnType"}).kind],getEditsForAction:gde,getAvailableActions:yde})}}),Ede={},Tde=E({"src/services/_namespaces/ts.refactor.inferFunctionReturnType.ts"(){bde()}}),xde={};T(xde,{addOrRemoveBracesToArrowFunction:()=>Ace,convertArrowFunctionOrFunctionExpression:()=>Gce,convertParamsToDestructuredObject:()=>lle,convertStringOrTemplateLiteral:()=>Ale,convertToOptionalChainExpression:()=>Hle,doChangeNamedToNamespaceOrDefault:()=>fse,extractSymbol:()=>ode,generateGetAccessorAndSetAccessor:()=>mde,getApplicableRefactors:()=>Zoe,getEditsForRefactor:()=>ese,inferFunctionReturnType:()=>Ede,isRefactorErrorInfo:()=>Ase,refactorKindBeginsWith:()=>Lse,registerRefactor:()=>Qoe});var Sde=E({"src/services/_namespaces/ts.refactor.ts"(){ise(),dse(),bse(),Sse(),Rse(),oce(),Lce(),Bce(),dle(),Lle(),Kle(),pde(),hde(),Tde()}});function Ade(e,n,t,r){const i=lX(dX(n,t));if(wde(i)){const t=function(e,n,t,r,i){const a=n.getSymbolAtLocation(e);if(!a){if(t_(e)){const r=iX(e,n);if(r&&(128&r.flags||1048576&r.flags&&N(r.types,(e=>!!(128&e.flags)))))return Cde(e.text,e.text,"string","",e,t)}else if(LJ(e)){const n=tf(e);return Cde(n,n,"label","",e,t)}return}const{declarations:o}=a;if(!o||0===o.length)return;if(o.some((e=>function(e,n){const t=n.getSourceFile();return e.isSourceFileDefaultLibrary(t)&&to(t.fileName,".d.ts")}(r,e))))return kde(Vo.You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library);if(AC(e)&&"default"===e.escapedText&&a.parent&&1536&a.parent.flags)return;if(t_(e)&&fg(e))return i.allowRenameOfImportPath?function(e,n,t){if(!Zs(e.text))return kde(Vo.You_cannot_rename_a_module_via_a_global_import);const r=t.declarations&&D(t.declarations,Aw);if(!r)return;const i=et(e.text,"/index")||et(e.text,"/index.js")?void 0:tt(Hx(r.fileName),"/index"),a=void 0===i?r.fileName:i,o=void 0===i?"module":"directory",s=e.text.lastIndexOf("/")+1;return{canRename:!0,fileToRename:a,kind:o,displayName:a,fullDisplayName:a,kindModifiers:"",triggerSpan:fc(e.getStart(n)+1+s,e.text.length-s)}}(e,t,a):void 0;const s=function(e,n,t,r){if(!r.providePrefixAndSuffixTextForRename&&2097152&n.flags){const e=n.declarations&&D(n.declarations,(e=>JI(e)));e&&!e.propertyName&&(n=t.getAliasedSymbol(n))}const{declarations:i}=n;if(!i)return;const a=Lde(e.path);if(void 0===a)return ce(i,(e=>sQ(e.getSourceFile().path)))?Vo.You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder:void 0;for(const e of i){const n=Lde(e.getSourceFile().path);if(n){const e=Math.min(a.length,n.length);for(let t=0;t<=e;t++)if(0!==Wn(a[t],n[t]))return Vo.You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder}}}(t,a,n,i);if(s)return kde(s);const c=Lue.getSymbolKind(n,a,e),l=d$(e)||Ly(e)&&164===e.parent.kind?dv(Ny(e)):void 0;return Cde(l||n.symbolToString(a),l||n.getFullyQualifiedName(a),c,Lue.getSymbolModifiers(n,a),e,t)}(i,e.getTypeChecker(),n,e,r);if(t)return t}return kde(Vo.You_cannot_rename_this_element)}function Lde(e){const n=po(e),t=n.lastIndexOf("node_modules");if(-1!==t)return n.slice(0,t+2)}function Cde(e,n,t,r,i,a){return{canRename:!0,fileToRename:void 0,kind:t,displayName:e,fullDisplayName:n,kindModifiers:r,triggerSpan:Ide(i,a)}}function kde(e){return{canRename:!1,localizedErrorMessage:vT(e)}}function Ide(e,n){let t=e.getStart(n),r=e.getWidth(n);return t_(e)&&(t+=1,r-=2),fc(t,r)}function wde(e){switch(e.kind){case 79:case 80:case 10:case 14:case 108:return!0;case 8:return DJ(e);default:return!1}}var Rde=E({"src/services/rename.ts"(){ufe()}}),Nde={};T(Nde,{getRenameInfo:()=>Ade,nodeIsEligibleForRename:()=>wde});var Dde,Ode,Mde=E({"src/services/_namespaces/ts.Rename.ts"(){Rde()}});function Pde(e,n,t,r,i){const a=e.getTypeChecker(),o=mX(n,t);if(!o)return;const s=!!r&&"characterTyped"===r.kind;if(s&&(EX(n,t,o)||NX(n,t)))return;const c=!!r&&"invoked"===r.kind,l=function(e,n,t,r,i){for(let a=e;!Aw(a)&&(i||!lI(a));a=a.parent){Nt.assert(BJ(a.parent,a),"Not a subspan",(()=>`Child: ${Nt.formatSyntaxKind(a.kind)}, parent: ${Nt.formatSyntaxKind(a.parent.kind)}`));const e=Vde(a,n,t,r);if(e)return e}}(o,t,n,a,c);if(!l)return;i.throwIfCancellationRequested();const d=function({invocation:e,argumentCount:n},t,r,i,a){switch(e.kind){case 0:{if(a&&!function(e,n,t){if(!ru(n))return!1;const r=n.getChildren(t);switch(e.kind){case 20:return G(r,e);case 27:{const n=eX(e);return!!n&&G(r,n)}case 29:return Fde(e,t,n.expression);default:return!1}}(i,e.node,r))return;const o=[],s=t.getResolvedSignatureForSignatureHelp(e.node,o,n);return 0===o.length?void 0:{kind:0,candidates:o,resolvedSignature:s}}case 1:{const{called:o}=e;if(a&&!Fde(i,r,AC(o)?o.parent:o))return;const s=wX(o,n,t);if(0!==s.length)return{kind:0,candidates:s,resolvedSignature:Me(s)};const c=t.getSymbolAtLocation(o);return c&&{kind:1,symbol:c}}case 2:return{kind:0,candidates:[e.signature],resolvedSignature:e.signature};default:return Nt.assertNever(e)}}(l,a,n,o,s);return i.throwIfCancellationRequested(),d?a.runWithCancellationToken(i,(e=>0===d.kind?Yde(d.candidates,d.resolvedSignature,l,n,e):function(e,{argumentCount:n,argumentsSpan:t,invocation:r,argumentIndex:i},a,o){const s=o.getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(e);if(!s)return;return{items:[$de(e,s,o,Xde(r),a)],applicableSpan:t,selectedItemIndex:0,argumentIndex:i,argumentCount:n}}(d.symbol,l,n,e))):xh(n)?function(e,n,t){if(2===e.invocation.kind)return;const r=Jde(e.invocation),i=Rk(r)?r.name.text:void 0,a=n.getTypeChecker();return void 0===i?void 0:C(n.getSourceFiles(),(n=>C(n.getNamedDeclarations().get(i),(r=>{const i=r.symbol&&a.getTypeOfSymbolAtLocation(r.symbol,r),o=i&&i.getCallSignatures();if(o&&o.length)return a.runWithCancellationToken(t,(t=>Yde(o,o[0],e,n,t,!0)))}))))}(l,e,i):void 0}function Fde(e,n,t){const r=e.getFullStart();let i=e.parent;for(;i;){const e=gX(r,n,i,!0);if(e)return BJ(t,e);i=i.parent}return Nt.fail("Could not find preceding token")}function Gde(e,n,t){const r=Ude(e,n,t);return!r||r.isTypeParameterList||0!==r.invocation.kind?void 0:{invocation:r.invocation.node,argumentCount:r.argumentCount,argumentIndex:r.argumentIndex}}function Bde(e,n,t){const r=function(e,n){if(29===e.kind||20===e.kind)return{list:zde(e.parent,e,n),argumentIndex:0};{const n=eX(e);return n&&{list:n,argumentIndex:Kde(n,e)}}}(e,t);if(!r)return;const{list:i,argumentIndex:a}=r,o=function(e,n){const t=e.getChildren();let r=V(t,(e=>27!==e.kind));return!n&&t.length>0&&27===Ge(t).kind&&r++,r}(i,EX(t,n,e));0!==a&&Nt.assertLessThan(a,o);const s=function(e,n){const t=e.getFullStart();return fc(t,ks(n.text,e.getEnd(),!1)-t)}(i,t);return{list:i,argumentIndex:a,argumentCount:o,argumentsSpan:s}}function Ude(e,n,t){const{parent:r}=e;if(ru(r)){const i=r,a=Bde(e,n,t);if(!a)return;const{list:o,argumentIndex:s,argumentCount:c,argumentsSpan:l}=a;return{isTypeParameterList:!!r.typeArguments&&r.typeArguments.pos===o.pos,invocation:{kind:0,node:i},argumentsSpan:l,argumentIndex:s,argumentCount:c}}if(uC(e)&&Mk(r))return VX(e,n,t)?Wde(r,0,t):void 0;if(_C(e)&&212===r.parent.kind){const i=r,a=i.parent;return Nt.assert(225===i.kind),Wde(a,VX(e,n,t)?0:1,t)}if(sI(r)&&Mk(r.parent.parent)){const i=r,a=r.parent.parent;if(fC(e)&&!VX(e,n,t))return;const o=function(e,n,t,r){return Nt.assert(t>=n.getStart(),"Assumed 'position' could not occur before node."),od(n)?VX(n,t,r)?0:e+2:e+1}(i.parent.templateSpans.indexOf(i),e,n,t);return Wde(a,o,t)}if(ju(r)){const e=r.attributes.pos;return{isTypeParameterList:!1,invocation:{kind:0,node:r},argumentsSpan:fc(e,ks(t.text,r.attributes.end,!1)-e),argumentIndex:0,argumentCount:1}}{const n=RX(e,t);if(n){const{called:r,nTypeArguments:i}=n;return{isTypeParameterList:!0,invocation:{kind:1,called:r},argumentsSpan:mc(r.getStart(t),e.end),argumentIndex:i,argumentCount:i+1}}return}}function Vde(e,n,t,r){return function(e,n,t,r){const i=function(e,n,t,r){if(20!==e.kind&&27!==e.kind)return;const{parent:i}=e;switch(i.kind){case 214:case 171:case 215:case 216:const a=Bde(e,t,n);if(!a)return;const{argumentIndex:o,argumentCount:s,argumentsSpan:c}=a,l=JC(i)?r.getContextualTypeForObjectLiteralElement(i):r.getContextualType(i);return l&&{contextualType:l,argumentIndex:o,argumentCount:s,argumentsSpan:c};case 223:{const n=jde(i),t=r.getContextualType(n),a=20===e.kind?0:Hde(i)-1,o=Hde(n);return t&&{contextualType:t,argumentIndex:a,argumentCount:o,argumentsSpan:XX(i)}}default:return}}(e,t,n,r);if(!i)return;const{contextualType:a,argumentIndex:o,argumentCount:s,argumentsSpan:c}=i,l=a.getNonNullableType(),d=l.symbol;if(void 0===d)return;const u=Fe(l.getCallSignatures());var _;return void 0!==u?{isTypeParameterList:!1,invocation:{kind:2,signature:u,node:e,symbol:(_=d,"__type"===_.name&&C(_.declarations,(e=>{var n;return ik(e)?null==(n=En(e.parent,ku))?void 0:n.symbol:void 0}))||_)},argumentsSpan:c,argumentIndex:o,argumentCount:s}:void 0}(e,n,t,r)||Ude(e,n,t)}function jde(e){return qk(e.parent)?jde(e.parent):e}function Hde(e){return qk(e.left)?Hde(e.left)+1:2}function Kde(e,n){let t=0;for(const r of e.getChildren()){if(r===n)break;27!==r.kind&&t++}return t}function Wde(e,n,t){const r=uC(e.template)?1:e.template.templateSpans.length+1;return 0!==n&&Nt.assertLessThan(n,r),{isTypeParameterList:!1,invocation:{kind:0,node:e},argumentsSpan:qde(e,t),argumentIndex:n,argumentCount:r}}function qde(e,n){const t=e.template,r=t.getStart();let i=t.getEnd();return 225===t.kind&&0===Ge(t.templateSpans).literal.getFullWidth()&&(i=ks(n.text,i,!1)),fc(r,i-r)}function zde(e,n,t){const r=e.getChildren(t),i=r.indexOf(n);return Nt.assert(i>=0&&r.length>i+1),r[i+1]}function Jde(e){return 0===e.kind?oh(e.node):e.called}function Xde(e){return 0===e.kind?e.node:1===e.kind?e.called:e.node}function Yde(e,n,{isTypeParameterList:t,argumentCount:r,argumentsSpan:a,invocation:o,argumentIndex:s},c,l,d){var u;const _=Xde(o),p=2===o.kind?o.symbol:l.getSymbolAtLocation(Jde(o))||d&&(null==(u=n.declaration)?void 0:u.symbol),f=p?s$(l,p,d?c:void 0,void 0):i,m=W(e,(e=>function(e,n,t,r,i,a){return W((t?Zde:eue)(e,r,i,a),(({isVariadic:t,parameters:a,prefix:o,suffix:s})=>{const c=[...n,...o],l=[...s,...Qde(e,i,r)],d=e.getDocumentationComment(r),u=e.getJsDocTags();return{isVariadic:t,prefixDisplayParts:c,suffixDisplayParts:l,separatorDisplayParts:Ode,parameters:a,documentation:d,tags:u}}))}(e,f,t,l,_,c)));0!==s&&Nt.assertLessThan(s,r);let h=0,g=0;for(let t=0;t<m.length;t++){const i=m[t];if(e[t]===n&&(h=g,i.length>1)){let e=0;for(const n of i){if(n.isVariadic||n.parameters.length>=r){h=g+e;break}e++}}g+=i.length}Nt.assert(-1!==h);const y={items:Y(m,Cn),applicableSpan:a,selectedItemIndex:h,argumentIndex:s,argumentCount:r},v=y.items[h];if(v.isVariadic){const e=M(v.parameters,(e=>!!e.isRest));-1<e&&e<v.parameters.length-1?y.argumentIndex=v.parameters.length:y.argumentIndex=Math.min(y.argumentIndex,v.parameters.length-1)}return y}function $de(e,n,t,r,i){const a=s$(t,e),o=WV(),s=n.map((e=>nue(e,t,r,i,o))),c=e.getDocumentationComment(t),l=e.getJsDocTags(t);return{isVariadic:!1,prefixDisplayParts:[...a,WY(29)],suffixDisplayParts:[WY(31)],separatorDisplayParts:Ode,parameters:s,documentation:c,tags:l}}function Qde(e,n,t){return a$((r=>{r.writePunctuation(":"),r.writeSpace(" ");const i=t.getTypePredicateOfSignature(e);i?t.writeTypePredicate(i,n,void 0,r):t.writeType(t.getReturnTypeOfSignature(e),n,void 0,r)}))}function Zde(e,n,t,r){const a=(e.target||e).typeParameters,o=WV(),s=(a||i).map((e=>nue(e,n,t,r,o))),c=e.thisParameter?[n.symbolToParameterDeclaration(e.thisParameter,t,Dde)]:[];return n.getExpandedParameters(e).map((e=>{const i=pA.createNodeArray([...c,...W(e,(e=>n.symbolToParameterDeclaration(e,t,Dde)))]),a=a$((e=>{o.writeList(2576,i,r,e)}));return{isVariadic:!1,parameters:s,prefix:[WY(29)],suffix:[WY(31),...a]}}))}function eue(e,n,t,r){const i=WV(),a=a$((a=>{if(e.typeParameters&&e.typeParameters.length){const o=pA.createNodeArray(e.typeParameters.map((e=>n.typeParameterToDeclaration(e,t,Dde))));i.writeList(53776,o,r,a)}})),o=n.getExpandedParameters(e),s=n.hasEffectiveRestParameter(e)?1===o.length?e=>!0:e=>{var n;return!!(e.length&&32768&(null==(n=En(e[e.length-1],sp))?void 0:n.links.checkFlags))}:e=>!1;return o.map((e=>({isVariadic:s(e),parameters:e.map((e=>function(e,n,t,r,i){const a=a$((a=>{const o=n.symbolToParameterDeclaration(e,t,Dde);i.writeNode(4,o,r,a)})),o=n.isOptionalParameter(e.valueDeclaration),s=sp(e)&&!!(32768&e.links.checkFlags);return{name:e.name,documentation:e.getDocumentationComment(n),displayParts:a,isOptional:o,isRest:s}}(e,n,t,r,i))),prefix:[...a,WY(20)],suffix:[WY(21)]})))}function nue(e,n,t,r,i){const a=a$((a=>{const o=n.typeParameterToDeclaration(e,t,Dde);i.writeNode(4,o,r,a)}));return{name:e.symbol.name,documentation:e.symbol.getDocumentationComment(n),displayParts:a,isOptional:!1,isRest:!1}}var tue=E({"src/services/signatureHelp.ts"(){ufe(),Dde=70246400,Ode=[WY(27),HY()]}}),rue={};T(rue,{getArgumentInfoForCompletions:()=>Gde,getSignatureHelpItems:()=>Pde});var iue,aue=E({"src/services/_namespaces/ts.SignatureHelp.ts"(){tue()}});function oue(e,n){var t,r;let i={textSpan:mc(n.getFullStart(),n.getEnd())},a=n;e:for(;;){const i=cue(a);if(!i.length)break;for(let c=0;c<i.length;c++){const l=i[c-1],d=i[c],u=i[c+1];if($p(d,n,!0)>e)break e;const _=Be(Us(n.text,d.end));if(_&&2===_.kind&&s(_.pos,_.end),sue(n,e,d)){if(Eu(d)&&Cd(a)&&!SE(d.getStart(n),d.getEnd(),n)&&o(d.getStart(n),d.getEnd()),lI(d)||sI(d)||_C(d)||fC(d)||l&&_C(l)||II(d)&&dI(a)||mR(d)&&II(a)||kI(d)&&mR(a)&&1===i.length||kw(d)||Kw(d)||Hw(d)){a=d;break}sI(a)&&u&&sd(u)&&o(d.getFullStart()-2,u.getStart()+1);const e=mR(d)&&_ue(l)&&pue(u)&&!SE(l.getStart(),u.getStart(),n);let s=e?l.getEnd():d.getStart();const c=e?u.getStart():fue(n,d);if(Xu(d)&&(null==(t=d.jsDoc)?void 0:t.length)&&o(Me(d.jsDoc).getStart(),c),mR(d)){const e=d.getChildren()[0];e&&Xu(e)&&(null==(r=e.jsDoc)?void 0:r.length)&&e.getStart()!==d.pos&&(s=Math.min(s,Me(e.jsDoc).getStart()))}o(s,c),(cC(d)||iu(d))&&o(s+1,c-1),a=d;break}if(c===i.length-1)break e}}return i;function o(n,t){if(n!==t){const r=mc(n,t);(!i||!DY(r,i.textSpan)&&_c(r,e))&&(i={textSpan:r,...i&&{parent:i}})}}function s(e,t){o(e,t);let r=e;for(;47===n.text.charCodeAt(r);)r++;o(r,t)}}function sue(e,n,t){return Nt.assert(t.pos<=n),n<t.end||t.getEnd()===n&&dX(e,n).pos<t.end}function cue(e){var n;if(Aw(e))return lue(e.getChildAt(0).getChildren(),iue);if(Ek(e)){const[n,...t]=e.getChildren(),r=Nt.checkDefined(t.pop());Nt.assertEqual(n.kind,18),Nt.assertEqual(r.kind,19);const i=lue(t,(n=>n===e.readonlyToken||146===n.kind||n===e.questionToken||57===n.kind));return[n,uue(due(lue(i,(({kind:e})=>22===e||165===e||23===e)),(({kind:e})=>58===e))),r]}if(WC(e)){const t=lue(e.getChildren(),(n=>n===e.name||G(e.modifiers,n))),r=323===(null==(n=t[0])?void 0:n.kind)?t[0]:void 0,i=due(r?t.slice(1):t,(({kind:e})=>58===e));return r?[r,uue(i)]:i}if(HC(e)){const n=lue(e.getChildren(),(n=>n===e.dotDotDotToken||n===e.name));return due(lue(n,(t=>t===n[0]||t===e.questionToken)),(({kind:e})=>63===e))}return kk(e)?due(e.getChildren(),(({kind:e})=>63===e)):e.getChildren()}function lue(e,n){const t=[];let r;for(const i of e)n(i)?(r=r||[],r.push(i)):(r&&(t.push(uue(r)),r=void 0),t.push(i));return r&&t.push(uue(r)),t}function due(e,n,t=!0){if(e.length<2)return e;const r=M(e,n);if(-1===r)return e;const i=e.slice(0,r),a=e[r],o=Ge(e),s=t&&26===o.kind,c=e.slice(r+1,s?e.length-1:void 0),l=be([i.length?uue(i):void 0,a,c.length?uue(c):void 0]);return s?l.concat(o):l}function uue(e){return Nt.assertGreaterThanOrEqual(e.length,1),bS(KN.createSyntaxList(e),e[0].pos,Ge(e).end)}function _ue(e){const n=e&&e.kind;return 18===n||22===n||20===n||283===n}function pue(e){const n=e&&e.kind;return 19===n||23===n||21===n||284===n}function fue(e,n){switch(n.kind){case 344:case 341:case 351:case 349:case 346:return e.getLineEndOfPosition(n.getStart());default:return n.getEnd()}}var mue=E({"src/services/smartSelection.ts"(){ufe(),iue=yt(UI,BI)}}),hue={};T(hue,{getSmartSelectionRange:()=>oue});var gue,yue=E({"src/services/_namespaces/ts.SmartSelectionRange.ts"(){mue()}});function vue(e,n,t){const r=bue(e,n,t);if(""!==r)return r;const i=PE(n);return 32&i?ip(n,228)?"local class":"class":384&i?"enum":524288&i?"type":64&i?"interface":262144&i?"type parameter":8&i?"enum member":2097152&i?"alias":1536&i?"module":r}function bue(e,n,t){const r=e.getRootSymbols(n);if(1===r.length&&8192&Me(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&&uu(t)||Wv(t))return"parameter";const i=PE(n);if(3&i)return UY(n)?"parameter":n.valueDeclaration&&om(n.valueDeclaration)?"const":A(n.declarations,sm)?"let":Sue(n)?"local var":"var";if(16&i)return Sue(n)?"local function":"function";if(32768&i)return"getter";if(65536&i)return"setter";if(8192&i)return"method";if(16384&i)return"constructor";if(131072&i)return"index";if(4&i){if(33554432&i&&6&n.links.checkFlags){const r=A(e.getRootSymbols(n),(e=>{if(98311&e.getFlags())return"property"}));return r||(e.getTypeOfSymbolAtLocation(n,t).getCallSignatures().length?"method":"property")}return"property"}return""}function Eue(e){if(e.declarations&&e.declarations.length){const[n,...t]=e.declarations,r=MX(n,S(t)&&SQ(n)&&ce(t,(e=>!SQ(e)))?8192:0);if(r)return r.split(",")}return[]}function Tue(e,n){if(!n)return"";const t=new Set(Eue(n));if(2097152&n.flags){const r=e.getAliasedSymbol(n);r!==n&&A(Eue(r),(e=>{t.add(e)}))}return 16777216&n.flags&&t.add("optional"),t.size>0?Qe(t.values()).join(","):""}function xue(e,n,t,r,a,o=cJ(a),s){var c;const l=[];let d=[],u=[];const _=PE(n);let p=1&o?bue(e,n,a):"",f=!1;const m=108===a.kind&&hh(a)||Wv(a);let h,g,y,v=!1;if(108===a.kind&&!m)return{displayParts:[KY(108)],documentation:[],symbolKind:"primitive type",tags:void 0};if(""!==p||32&_||2097152&_){if("getter"===p||"setter"===p){const e=D(n.declarations,(e=>e.name===a));if(e)switch(e.kind){case 174:p="getter";break;case 175:p="setter";break;case 169:p="accessor";break;default:Nt.assertNever(e)}else p="property"}let t,i;if(h=m?e.getTypeAtLocation(a):e.getTypeOfSymbolAtLocation(n,a),a.parent&&208===a.parent.kind){const e=a.parent.name;(e===a||e&&0===e.getFullWidth())&&(a=a.parent)}if(ru(a)?i=a:(dJ(a)||uJ(a)||a.parent&&(ju(a.parent)||Mk(a.parent))&&Ad(n.valueDeclaration))&&(i=a.parent),i){t=e.getResolvedSignature(i);const a=211===i.kind||Dk(i)&&106===i.expression.kind,o=a?h.getConstructSignatures():h.getCallSignatures();if(!t||G(o,t.target)||G(o,t)||(t=o.length?o[0]:void 0),t){switch(a&&32&_?(p="constructor",L(h.symbol,p)):2097152&_?(p="alias",k(p),l.push(HY()),a&&(4&t.flags&&(l.push(KY(126)),l.push(HY())),l.push(KY(103)),l.push(HY())),S(n)):L(n,p),p){case"JSX attribute":case"property":case"var":case"const":case"let":case"parameter":case"local var":l.push(WY(58)),l.push(HY()),16&qE(h)||!h.symbol||(Ae(l,s$(e,h.symbol,r,void 0,5)),l.push(i$())),a&&(4&t.flags&&(l.push(KY(126)),l.push(HY())),l.push(KY(103)),l.push(HY())),I(t,o,262144);break;default:I(t,o)}f=!0,v=o.length>1}}else if(NJ(a)&&!(98304&_)||135===a.kind&&173===a.parent.kind){const r=a.parent;if(n.declarations&&D(n.declarations,(e=>e===(135===a.kind?r.parent:r)))){const i=173===r.kind?h.getNonNullableType().getConstructSignatures():h.getNonNullableType().getCallSignatures();t=e.isImplementationOfOverload(r)?i[0]:e.getSignatureFromDeclaration(r),173===r.kind?(p="constructor",L(h.symbol,p)):L(176!==r.kind||2048&h.symbol.flags||4096&h.symbol.flags?n:h.symbol,p),t&&I(t,i),f=!0,v=i.length>1}}}if(32&_&&!f&&!m&&(T(),ip(n,228)?k("local class"):l.push(KY(84)),l.push(HY()),S(n),w(n,t)),64&_&&2&o&&(E(),l.push(KY(118)),l.push(HY()),S(n),w(n,t)),524288&_&&2&o&&(E(),l.push(KY(154)),l.push(HY()),S(n),w(n,t),l.push(HY()),l.push(qY(63)),l.push(HY()),Ae(l,o$(e,Hl(a.parent)?e.getTypeAtLocation(a.parent):e.getDeclaredTypeOfSymbol(n),r,8388608))),384&_&&(E(),ce(n.declarations,(e=>OI(e)&&im(e)))&&(l.push(KY(85)),l.push(HY())),l.push(KY(92)),l.push(HY()),S(n)),1536&_&&!m){E();const e=ip(n,264),t=e&&e.name&&79===e.name.kind;l.push(KY(t?143:142)),l.push(HY()),S(n)}if(262144&_&&2&o)if(E(),l.push(WY(20)),l.push(YY("type parameter")),l.push(WY(21)),l.push(HY()),S(n),n.parent)x(),S(n.parent,r),w(n.parent,r);else{const r=ip(n,165);if(void 0===r)return Nt.fail();const i=r.parent;if(i)if(Ad(i)){x();const n=e.getSignatureFromDeclaration(i);177===i.kind?(l.push(KY(103)),l.push(HY())):176!==i.kind&&i.name&&S(i.symbol),Ae(l,c$(e,n,t,32))}else DI(i)&&(x(),l.push(KY(154)),l.push(HY()),S(i.symbol),w(i.symbol,t))}if(8&_){p="enum member",L(n,"enum member");const t=null==(c=n.declarations)?void 0:c[0];if(302===(null==t?void 0:t.kind)){const n=e.getConstantValue(t);void 0!==n&&(l.push(HY()),l.push(qY(63)),l.push(HY()),l.push(jY(df(n),"number"==typeof n?7:8)))}}if(2097152&n.flags){if(E(),!f){const t=e.getAliasedSymbol(n);if(t!==n&&t.declarations&&t.declarations.length>0){const r=t.declarations[0],i=Wc(r);if(i){const a=mf(r)&&db(r,2),s="default"!==n.name&&!a,c=xue(e,t,Ip(r),r,i,o,s?n:t);l.push(...c.displayParts),l.push(i$()),g=c.documentation,y=c.tags}else g=t.getContextualDocumentationComment(r,e),y=t.getJsDocTags(e)}}if(n.declarations)switch(n.declarations[0].kind){case 267:l.push(KY(93)),l.push(HY()),l.push(KY(143));break;case 274:l.push(KY(93)),l.push(HY()),l.push(KY(n.declarations[0].isExportEquals?63:88));break;case 278:l.push(KY(93));break;default:l.push(KY(100))}l.push(HY()),S(n),A(n.declarations,(n=>{if(268===n.kind){const t=n;if(vh(t))l.push(HY()),l.push(qY(63)),l.push(HY()),l.push(KY(147)),l.push(WY(20)),l.push(jY(tf(bh(t)),8)),l.push(WY(21));else{const n=e.getSymbolAtLocation(t.moduleReference);n&&(l.push(HY()),l.push(qY(63)),l.push(HY()),S(n,r))}return!0}}))}if(!f)if(""!==p){if(h)if(m?(E(),l.push(KY(108))):L(n,p),"property"===p||"accessor"===p||"getter"===p||"setter"===p||"JSX attribute"===p||3&_||"local var"===p||"index"===p||m){if(l.push(WY(58)),l.push(HY()),h.symbol&&262144&h.symbol.flags&&"index"!==p){const n=a$((n=>{const t=e.typeParameterToDeclaration(h,r,gue);b().writeNode(4,t,Ip(Dc(r)),n)}));Ae(l,n)}else Ae(l,o$(e,h,r));if(sp(n)&&n.links.target&&sp(n.links.target)&&n.links.target.links.tupleLabelDeclaration){const e=n.links.target.links.tupleLabelDeclaration;Nt.assertNode(e.name,AC),l.push(HY()),l.push(WY(20)),l.push(YY(Pc(e.name))),l.push(WY(21))}}else if(16&_||8192&_||16384&_||131072&_||98304&_||"method"===p){const e=h.getNonNullableType().getCallSignatures();e.length&&(I(e[0],e),v=e.length>1)}}else p=vue(e,n,a);if(0!==d.length||v||(d=n.getContextualDocumentationComment(r,e)),0===d.length&&4&_&&n.parent&&n.declarations&&A(n.parent.declarations,(e=>308===e.kind)))for(const t of n.declarations){if(!t.parent||223!==t.parent.kind)continue;const n=e.getSymbolAtLocation(t.parent.right);if(n&&(d=n.getDocumentationComment(e),u=n.getJsDocTags(e),d.length>0))break}if(0===d.length&&AC(a)&&n.valueDeclaration&&kk(n.valueDeclaration)){const t=n.valueDeclaration,r=t.parent;if(AC(t.name)&&Lk(r)){const n=Ny(t.name),a=e.getTypeAtLocation(r);d=C(a.isUnion()?a.types:[a],(t=>{const r=t.getProperty(n);return r?r.getDocumentationComment(e):void 0}))||i}}return 0!==u.length||v||(u=n.getContextualJsDocTags(r,e)),0===d.length&&g&&(d=g),0===u.length&&y&&(u=y),{displayParts:l,documentation:d,symbolKind:p,tags:0===u.length?void 0:u};function b(){return WV()}function E(){l.length&&l.push(i$()),T()}function T(){s&&(k("alias"),l.push(HY()))}function x(){l.push(HY()),l.push(KY(101)),l.push(HY())}function S(r,i){let a;s&&r===n&&(r=s),"index"===p&&(a=e.getIndexInfosOfIndexSymbol(r));let o=[];131072&r.flags&&a?(r.parent&&(o=s$(e,r.parent)),o.push(WY(22)),a.forEach(((n,t)=>{o.push(...o$(e,n.keyType)),t!==a.length-1&&(o.push(HY()),o.push(WY(51)),o.push(HY()))})),o.push(WY(23))):o=s$(e,r,i||t,void 0,7),Ae(l,o),16777216&n.flags&&l.push(WY(57))}function L(e,n){E(),n&&(k(n),e&&!ce(e.declarations,(e=>Bk(e)||(Gk(e)||$k(e))&&!e.name))&&(l.push(HY()),S(e)))}function k(e){switch(e){case"var":case"function":case"let":case"const":case"constructor":return void l.push(XY(e));default:return l.push(WY(20)),l.push(XY(e)),void l.push(WY(21))}}function I(n,t,i=0){Ae(l,c$(e,n,r,32|i)),t.length>1&&(l.push(HY()),l.push(WY(20)),l.push(qY(39)),l.push(jY((t.length-1).toString(),7)),l.push(HY()),l.push(YY(2===t.length?"overload":"overloads")),l.push(WY(21))),d=n.getDocumentationComment(e),u=n.getJsDocTags(),t.length>1&&0===d.length&&0===u.length&&(d=t[0].getDocumentationComment(e),u=t[0].getJsDocTags().filter((e=>"deprecated"!==e.name)))}function w(n,t){const r=a$((r=>{const i=e.symbolToTypeParameterDeclarations(n,t,gue);b().writeList(53776,i,Ip(Dc(t)),r)}));Ae(l,r)}}function Sue(e){return!e.parent&&A(e.declarations,(e=>{if(215===e.kind)return!0;if(257!==e.kind&&259!==e.kind)return!1;for(let n=e.parent;!Dm(n);n=n.parent)if(308===n.kind||265===n.kind)return!1;return!0}))}var Aue=E({"src/services/symbolDisplay.ts"(){ufe(),gue=70246400}}),Lue={};T(Lue,{getSymbolDisplayPartsDocumentationAndSymbolKind:()=>xue,getSymbolKind:()=>vue,getSymbolModifiers:()=>Tue});var Cue,kue,Iue,wue,Rue,Nue,Due,Oue=E({"src/services/_namespaces/ts.SymbolDisplay.ts"(){Aue()}});function Mue(e){const n=e.__pos;return Nt.assert("number"==typeof n),n}function Pue(e,n){Nt.assert("number"==typeof n),e.__pos=n}function Fue(e){const n=e.__end;return Nt.assert("number"==typeof n),n}function Gue(e,n){Nt.assert("number"==typeof n),e.__end=n}function Bue(e,n){return ks(e,n,!1,!0)}function Uue(e,n,t,r){return{pos:Vue(e,n,r),end:Hue(e,t,r)}}function Vue(e,n,t,r=!1){var i,a;const{leadingTriviaOption:o}=t;if(0===o)return n.getStart(e);if(3===o){const t=n.getStart(e),r=GJ(t,e);return VJ(n,r)?r:t}if(2===o){const t=ym(n,e.text);if(null==t?void 0:t.length)return GJ(t[0].pos,e)}const s=n.getFullStart(),c=n.getStart(e);if(s===c)return c;const l=GJ(s,e);if(GJ(c,e)===l)return 1===o?s:c;if(r){const n=(null==(i=Bs(e.text,s))?void 0:i[0])||(null==(a=Us(e.text,s))?void 0:a[0]);if(n)return ks(e.text,n.end,!0,!0)}const d=s>0?1:0;let u=Dp(Fv(e,l)+d,e);return u=Bue(e.text,u),Dp(Fv(e,u),e)}function jue(e,n,t){const{end:r}=n,{trailingTriviaOption:i}=t;if(2===i){const t=Us(e.text,r);if(t){const r=Fv(e,n.end);for(const n of t){if(2===n.kind||Fv(e,n.pos)>r)break;if(Fv(e,n.end)>r)return ks(e.text,n.end,!0,!0)}}}}function Hue(e,n,t){var r;const{end:i}=n,{trailingTriviaOption:a}=t;if(0===a)return i;if(1===a){const n=de(Us(e.text,i),Bs(e.text,i));return(null==(r=null==n?void 0:n[n.length-1])?void 0:r.end)||i}const o=jue(e,n,t);if(o)return o;const s=ks(e.text,i,!0);return s===i||2!==a&&!xs(e.text.charCodeAt(s-1))?i:s}function Kue(e,n){return!!n&&!!e.parent&&(27===n.kind||26===n.kind&&207===e.parent.kind)}function Wue(e){return Gk(e)||wI(e)}function que(e,n){return ks(e.text,Vue(e,n,{leadingTriviaOption:1}),!1,!0)}function zue(e,n,t,r){const i=que(e,r);if(void 0===t||SE(Hue(e,n,{}),i,e))return i;const a=gX(r.getStart(e),e);if(Kue(n,a)){const r=gX(n.getStart(e),e);if(Kue(t,r)){const n=ks(e.text,a.getEnd(),!0,!0);if(SE(r.getStart(e),a.getStart(e),e))return xs(e.text.charCodeAt(n-1))?n-1:n;if(xs(e.text.charCodeAt(n)))return n}}return i}function Jue(e){return wk(e)?e.properties:e.members}function Xue(e,n,t,r){return Rue.newFileChangesWorker(void 0,n,e,t,r)}function Yue(e,n){for(let t=n.length-1;t>=0;t--){const{span:r,newText:i}=n[t];e=`${e.substring(0,r.start)}${i}${e.substring(tc(r))}`}return e}function $ue(e){const n=_B(e,$ue,Nue,Que,$ue),t=zy(n)?n:Object.create(n);return bS(t,Mue(e),Fue(e)),t}function Que(e,n,t,r,i){const a=rB(e,n,t,r,i);if(!a)return a;Nt.assert(e);const o=a===e?pA.createNodeArray(a.slice(0)):a;return bS(o,Mue(e),Fue(e)),o}function Zue(e){let n=0;const t=mv(e);function r(e,r){if(r||!function(e){return ks(e,0)===e.length}(e)){n=t.getTextPos();let r=0;for(;Es(e.charCodeAt(e.length-r-1));)r++;n-=r}}return{onBeforeEmitNode:e=>{e&&Pue(e,n)},onAfterEmitNode:e=>{e&&Gue(e,n)},onBeforeEmitNodeArray:e=>{e&&Pue(e,n)},onAfterEmitNodeArray:e=>{e&&Gue(e,n)},onBeforeEmitToken:e=>{e&&Pue(e,n)},onAfterEmitToken:e=>{e&&Gue(e,n)},write:function(e){t.write(e),r(e,!1)},writeComment:function(e){t.writeComment(e)},writeKeyword:function(e){t.writeKeyword(e),r(e,!1)},writeOperator:function(e){t.writeOperator(e),r(e,!1)},writePunctuation:function(e){t.writePunctuation(e),r(e,!1)},writeTrailingSemicolon:function(e){t.writeTrailingSemicolon(e),r(e,!1)},writeParameter:function(e){t.writeParameter(e),r(e,!1)},writeProperty:function(e){t.writeProperty(e),r(e,!1)},writeSpace:function(e){t.writeSpace(e),r(e,!1)},writeStringLiteral:function(e){t.writeStringLiteral(e),r(e,!1)},writeSymbol:function(e,n){t.writeSymbol(e,n),r(e,!1)},writeLine:function(e){t.writeLine(e)},increaseIndent:function(){t.increaseIndent()},decreaseIndent:function(){t.decreaseIndent()},getText:function(){return t.getText()},rawWrite:function(e){t.rawWrite(e),r(e,!1)},writeLiteral:function(e){t.writeLiteral(e),r(e,!0)},getTextPos:function(){return t.getTextPos()},getLine:function(){return t.getLine()},getColumn:function(){return t.getColumn()},getIndent:function(){return t.getIndent()},isAtStartOfLine:function(){return t.isAtStartOfLine()},hasTrailingComment:()=>t.hasTrailingComment(),hasTrailingWhitespace:()=>t.hasTrailingWhitespace(),clear:function(){t.clear(),n=0}}}function e_e(e,n){return!(NX(e,n)||EX(e,n)||SX(e,n)||AX(e,n))}function n_e(e,n,t,r={leadingTriviaOption:1}){const i=Vue(n,t,r),a=Hue(n,t,r);e.deleteRange(n,{pos:i,end:a})}function t_e(e,n,t,r){const i=Nt.checkDefined(sfe.SmartIndenter.getContainingList(r,t)),a=af(i,r);Nt.assert(-1!==a),1!==i.length?(Nt.assert(!n.has(r),"Deleting a node twice"),n.add(r),e.deleteRange(t,{pos:que(t,r),end:a===i.length-1?Hue(t,r,{}):zue(t,r,i[a-1],i[a+1])})):n_e(e,t,r)}var r_e=E({"src/services/textChanges.ts"(){ufe(),Cue=(e=>(e[e.Exclude=0]="Exclude",e[e.IncludeAll=1]="IncludeAll",e[e.JSDoc=2]="JSDoc",e[e.StartLine=3]="StartLine",e))(Cue||{}),kue=(e=>(e[e.Exclude=0]="Exclude",e[e.ExcludeWhitespace=1]="ExcludeWhitespace",e[e.Include=2]="Include",e))(kue||{}),Iue={leadingTriviaOption:0,trailingTriviaOption:0},wue=class{constructor(e,n){this.newLineCharacter=e,this.formatContext=n,this.changes=[],this.newFiles=[],this.classesWithNodesInsertedAtStart=new Map,this.deletedNodes=[]}static fromContext(e){return new wue(r$(e.host,e.formatContext.options),e.formatContext)}static with(e,n){const t=wue.fromContext(e);return n(t),t.getChanges()}pushRaw(e,n){Nt.assertEqual(e.fileName,n.fileName);for(const t of n.textChanges)this.changes.push({kind:3,sourceFile:e,text:t.newText,range:ZX(t.span)})}deleteRange(e,n){this.changes.push({kind:0,sourceFile:e,range:n})}delete(e,n){this.deletedNodes.push({sourceFile:e,node:n})}deleteNode(e,n,t={leadingTriviaOption:1}){this.deleteRange(e,Uue(e,n,n,t))}deleteNodes(e,n,t={leadingTriviaOption:1},r){for(const i of n){const n=Vue(e,i,t,r),a=Hue(e,i,t);this.deleteRange(e,{pos:n,end:a}),r=!!jue(e,i,t)}}deleteModifier(e,n){this.deleteRange(e,{pos:n.getStart(e),end:ks(e.text,n.end,!0)})}deleteNodeRange(e,n,t,r={leadingTriviaOption:1}){const i=Vue(e,n,r),a=Hue(e,t,r);this.deleteRange(e,{pos:i,end:a})}deleteNodeRangeExcludingEnd(e,n,t,r={leadingTriviaOption:1}){const i=Vue(e,n,r),a=void 0===t?e.text.length:Vue(e,t,r);this.deleteRange(e,{pos:i,end:a})}replaceRange(e,n,t,r={}){this.changes.push({kind:1,sourceFile:e,range:n,options:r,node:t})}replaceNode(e,n,t,r=Iue){this.replaceRange(e,Uue(e,n,n,r),t,r)}replaceNodeRange(e,n,t,r,i=Iue){this.replaceRange(e,Uue(e,n,t,i),r,i)}replaceRangeWithNodes(e,n,t,r={}){this.changes.push({kind:2,sourceFile:e,range:n,options:r,nodes:t})}replaceNodeWithNodes(e,n,t,r=Iue){this.replaceRangeWithNodes(e,Uue(e,n,n,r),t,r)}replaceNodeWithText(e,n,t){this.replaceRangeWithText(e,Uue(e,n,n,Iue),t)}replaceNodeRangeWithNodes(e,n,t,r,i=Iue){this.replaceRangeWithNodes(e,Uue(e,n,t,i),r,i)}nodeHasTrailingComment(e,n,t=Iue){return!!jue(e,n,t)}nextCommaToken(e,n){const t=hX(n,n.parent,e);return t&&27===t.kind?t:void 0}replacePropertyAssignment(e,n,t){const r=this.nextCommaToken(e,n)?"":","+this.newLineCharacter;this.replaceNode(e,n,t,{suffix:r})}insertNodeAt(e,n,t,r={}){this.replaceRange(e,lE(n),t,r)}insertNodesAt(e,n,t,r={}){this.replaceRangeWithNodes(e,lE(n),t,r)}insertNodeAtTopOfFile(e,n,t){this.insertAtTopOfFile(e,n,t)}insertNodesAtTopOfFile(e,n,t){this.insertAtTopOfFile(e,n,t)}insertAtTopOfFile(e,n,t){const r=function(e){let n;for(const t of e.statements){if(!_m(t))break;n=t}let t=0;const r=e.text;if(n)return t=n.end,c(),t;const i=Vs(r);void 0!==i&&(t=i.length,c());const a=Bs(r,t);if(!a)return t;let o,s;for(const n of a){if(3===n.kind){if(Xp(r,n.pos)){o={range:n,pinnedOrTripleSlash:!0};continue}}else if(Jp(r,n.pos,n.end)){o={range:n,pinnedOrTripleSlash:!0};continue}if(o){if(o.pinnedOrTripleSlash)break;if(e.getLineAndCharacterOfPosition(n.pos).line>=e.getLineAndCharacterOfPosition(o.range.end).line+2)break}if(e.statements.length&&(void 0===s&&(s=e.getLineAndCharacterOfPosition(e.statements[0].getStart()).line),s<e.getLineAndCharacterOfPosition(n.end).line+2))break;o={range:n,pinnedOrTripleSlash:!1}}return o&&(t=o.range.end,c()),t;function c(){if(t<r.length){const e=r.charCodeAt(t);xs(e)&&(t++,t<r.length&&13===e&&10===r.charCodeAt(t)&&t++)}}}(e),i={prefix:0===r?void 0:this.newLineCharacter,suffix:(xs(e.text.charCodeAt(r))?"":this.newLineCharacter)+(t?this.newLineCharacter:"")};gn(n)?this.insertNodesAt(e,r,n,i):this.insertNodeAt(e,r,n,i)}insertFirstParameter(e,n,t){const r=De(n);r?this.insertNodeBefore(e,r,t):this.insertNodeAt(e,n.pos,t)}insertNodeBefore(e,n,t,r=!1,i={}){this.insertNodeAt(e,Vue(e,n,i),t,this.getOptionsForInsertNodeBefore(n,t,r))}insertModifierAt(e,n,t,r={}){this.insertNodeAt(e,n,pA.createToken(t),r)}insertModifierBefore(e,n,t){return this.insertModifierAt(e,t.getStart(e),n,{suffix:" "})}insertCommentBeforeLine(e,n,t,r){const i=Dp(n,e),a=m$(e.text,i),o=e_e(e,a),s=uX(e,o?a:t),c=e.text.slice(i,a),l=`${o?"":this.newLineCharacter}//${r}${this.newLineCharacter}${c}`;this.insertText(e,s.getStart(e),l)}insertJsdocCommentBefore(e,n,t){const r=n.getStart(e);if(n.jsDoc)for(const t of n.jsDoc)this.deleteRange(e,{pos:GJ(t.getStart(e),e),end:Hue(e,t,{})});const i=h$(e.text,r-1),a=e.text.slice(i,r);this.insertNodeAt(e,r,t,{suffix:this.newLineCharacter+a})}createJSDocText(e,n){const t=X(n.jsDoc,(e=>vn(e.comment)?pA.createJSDocText(e.comment):e.comment)),r=Be(n.jsDoc);return r&&SE(r.pos,r.end,e)&&0===S(t)?void 0:pA.createNodeArray(R(t,pA.createJSDocText("\n")))}replaceJSDocComment(e,n,t){this.insertJsdocCommentBefore(e,function(e){if(216!==e.kind)return e;const n=169===e.parent.kind?e.parent:e.parent.parent;return n.jsDoc=e.jsDoc,n}(n),pA.createJSDocComment(this.createJSDocText(e,n),pA.createNodeArray(t)))}addJSDocTags(e,n,t){const r=Y(n.jsDoc,(e=>e.tags)),i=t.filter((e=>!r.some(((n,t)=>{const i=function(e,n){if(e.kind===n.kind)switch(e.kind){case 344:{const t=e,r=n;return AC(t.name)&&AC(r.name)&&t.name.escapedText===r.name.escapedText?pA.createJSDocParameterTag(void 0,r.name,!1,r.typeExpression,r.isNameFirst,t.comment):void 0}case 345:return pA.createJSDocReturnTag(void 0,n.typeExpression,e.comment);case 347:return pA.createJSDocTypeTag(void 0,n.typeExpression,e.comment)}}(n,e);return i&&(r[t]=i),!!i}))));this.replaceJSDocComment(e,n,[...r,...i])}filterJSDocTags(e,n,t){this.replaceJSDocComment(e,n,j(Y(n.jsDoc,(e=>e.tags)),t))}replaceRangeWithText(e,n,t){this.changes.push({kind:3,sourceFile:e,range:n,text:t})}insertText(e,n,t){this.replaceRangeWithText(e,lE(n),t)}tryInsertTypeAnnotation(e,n,t){var r;let i;if(Ad(n)){if(i=ZJ(n,21,e),!i){if(!Bk(n))return!1;i=Me(n.parameters)}}else i=null!=(r=257===n.kind?n.exclamationToken:n.questionToken)?r:n.name;return this.insertNodeAt(e,i.end,t,{prefix:": "}),!0}tryInsertThisTypeAnnotation(e,n,t){const r=ZJ(n,20,e).getStart(e)+1,i=n.parameters.length?", ":"";this.insertNodeAt(e,r,t,{prefix:"this: ",suffix:i})}insertTypeParameters(e,n,t){const r=(ZJ(n,20,e)||Me(n.parameters)).getStart(e);this.insertNodesAt(e,r,t,{prefix:"<",suffix:">",joiner:", "})}getOptionsForInsertNodeBefore(e,n,t){return Mu(e)||Nd(e)?{suffix:t?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}:kI(e)?{suffix:", "}:HC(e)?HC(n)?{suffix:", "}:{}:cC(e)&&UI(e.parent)||zI(e)?{suffix:", "}:JI(e)?{suffix:","+(t?this.newLineCharacter:" ")}:Nt.failBadSyntaxKind(e)}insertNodeAtConstructorStart(e,n,t){const r=De(n.body.statements);r&&n.body.multiLine?this.insertNodeBefore(e,r,t):this.replaceConstructorBody(e,n,[t,...n.body.statements])}insertNodeAtConstructorStartAfterSuperCall(e,n,t){const r=D(n.body.statements,(e=>_I(e)&&cm(e.expression)));r&&n.body.multiLine?this.insertNodeAfter(e,r,t):this.replaceConstructorBody(e,n,[...n.body.statements,t])}insertNodeAtConstructorEnd(e,n,t){const r=Fe(n.body.statements);r&&n.body.multiLine?this.insertNodeAfter(e,r,t):this.replaceConstructorBody(e,n,[...n.body.statements,t])}replaceConstructorBody(e,n,t){this.replaceNode(e,n.body,pA.createBlock(t,!0))}insertNodeAtEndOfScope(e,n,t){const r=Vue(e,n.getLastToken(),{});this.insertNodeAt(e,r,t,{prefix:xs(e.text.charCodeAt(n.getLastToken().pos))?this.newLineCharacter:this.newLineCharacter+this.newLineCharacter,suffix:this.newLineCharacter})}insertMemberAtStart(e,n,t){this.insertNodeAtStartWorker(e,n,t)}insertNodeAtObjectStart(e,n,t){this.insertNodeAtStartWorker(e,n,t)}insertNodeAtStartWorker(e,n,t){var r;const i=null!=(r=this.guessIndentationFromExistingMembers(e,n))?r:this.computeIndentationForNewMember(e,n);this.insertNodeAt(e,Jue(n).pos,t,this.getInsertNodeAtStartInsertOptions(e,n,i))}guessIndentationFromExistingMembers(e,n){let t,r=n;for(const i of Jue(n)){if(gE(r,i,e))return;const n=i.getStart(e),a=sfe.SmartIndenter.findFirstNonWhitespaceColumn(GJ(n,e),n,e,this.formatContext.options);if(void 0===t)t=a;else if(a!==t)return;r=i}return t}computeIndentationForNewMember(e,n){var t;const r=n.getStart(e);return sfe.SmartIndenter.findFirstNonWhitespaceColumn(GJ(r,e),r,e,this.formatContext.options)+(null!=(t=this.formatContext.options.indentSize)?t:4)}getInsertNodeAtStartInsertOptions(e,n,t){const r=0===Jue(n).length,i=$E(this.classesWithNodesInsertedAtStart,KG(n),{node:n,sourceFile:e}),a=wk(n)&&(!rm(e)||!r);return{indentation:t,prefix:(wk(n)&&rm(e)&&r&&!i?",":"")+this.newLineCharacter,suffix:a?",":NI(n)&&r?";":""}}insertNodeAfterComma(e,n,t){const r=this.insertNodeAfterWorker(e,this.nextCommaToken(e,n)||n,t);this.insertNodeAt(e,r,t,this.getInsertNodeAfterOptions(e,n))}insertNodeAfter(e,n,t){const r=this.insertNodeAfterWorker(e,n,t);this.insertNodeAt(e,r,t,this.getInsertNodeAfterOptions(e,n))}insertNodeAtEndOfList(e,n,t){this.insertNodeAt(e,n.end,t,{prefix:", "})}insertNodesAfter(e,n,t){const r=this.insertNodeAfterWorker(e,n,Me(t));this.insertNodesAt(e,r,t,this.getInsertNodeAfterOptions(e,n))}insertNodeAfterWorker(e,n,t){var r,i;return i=t,((WC(r=n)||qC(r))&&Ud(i)&&164===i.name.kind||Ou(r)&&Ou(i))&&59!==e.text.charCodeAt(n.end-1)&&this.replaceRange(e,lE(n.end),pA.createToken(26)),Hue(e,n,{})}getInsertNodeAfterOptions(e,n){const t=this.getInsertNodeAfterOptionsWorker(n);return{...t,prefix:n.end===e.end&&Mu(n)?t.prefix?`\n${t.prefix}`:"\n":t.prefix}}getInsertNodeAfterOptionsWorker(e){switch(e.kind){case 260:case 264:return{prefix:this.newLineCharacter,suffix:this.newLineCharacter};case 257:case 10:case 79:return{prefix:", "};case 299:return{suffix:","+this.newLineCharacter};case 93:return{prefix:" "};case 166:return{};default:return Nt.assert(Mu(e)||Ud(e)),{suffix:this.newLineCharacter}}}insertName(e,n,t){if(Nt.assert(!n.name),216===n.kind){const r=ZJ(n,38,e),i=ZJ(n,20,e);i?(this.insertNodesAt(e,i.getStart(e),[pA.createToken(98),pA.createIdentifier(t)],{joiner:" "}),n_e(this,e,r)):(this.insertText(e,Me(n.parameters).getStart(e),`function ${t}(`),this.replaceRange(e,r,pA.createToken(21))),238!==n.body.kind&&(this.insertNodesAt(e,n.body.getStart(e),[pA.createToken(18),pA.createToken(105)],{joiner:" ",suffix:" "}),this.insertNodesAt(e,n.body.end,[pA.createToken(26),pA.createToken(19)],{joiner:" "}))}else{const r=ZJ(n,215===n.kind?98:84,e).end;this.insertNodeAt(e,r,pA.createIdentifier(t),{prefix:" "})}}insertExportModifier(e,n){this.insertText(e,n.getStart(e),"export ")}insertImportSpecifierAtIndex(e,n,t,r){const i=t.elements[r-1];i?this.insertNodeInListAfter(e,i,n):this.insertNodeBefore(e,t.elements[0],n,!SE(t.elements[0].getStart(),t.parent.parent.getStart(),e))}insertNodeInListAfter(e,n,t,r=sfe.SmartIndenter.getContainingList(n,e)){if(!r)return void Nt.fail("node is not a list element");const i=af(r,n);if(i<0)return;const a=n.getEnd();if(i!==r.length-1){const a=_X(e,n.end);if(a&&Kue(n,a)){const n=r[i+1],o=Bue(e.text,n.getFullStart()),s=`${us(a.kind)}${e.text.substring(a.end,o)}`;this.insertNodesAt(e,o,[t],{suffix:s})}}else{const o=n.getStart(e),s=GJ(o,e);let c,l=!1;if(1===r.length)c=27;else{const t=gX(n.pos,e);c=Kue(n,t)?t.kind:27,l=GJ(r[i-1].getStart(e),e)!==s}if(function(e,n){let t=n;for(;t<e.length;){const n=e.charCodeAt(t);if(!Ts(n))return 47===n;t++}return!1}(e.text,n.end)&&(l=!0),l){this.replaceRange(e,lE(a),pA.createToken(c));const n=sfe.SmartIndenter.findFirstNonWhitespaceColumn(s,o,e,this.formatContext.options);let r=ks(e.text,a,!0,!1);for(;r!==a&&xs(e.text.charCodeAt(r-1));)r--;this.replaceRange(e,lE(r),t,{indentation:n,prefix:this.newLineCharacter})}else this.replaceRange(e,lE(a),t,{prefix:`${us(c)} `})}}parenthesizeExpression(e,n){this.replaceRange(e,oS(n),pA.createParenthesizedExpression(n))}finishClassesWithNodesInsertedAtStart(){this.classesWithNodesInsertedAtStart.forEach((({node:e,sourceFile:n})=>{const[t,r]=function(e,n){const t=ZJ(e,18,n),r=ZJ(e,19,n);return[null==t?void 0:t.end,null==r?void 0:r.end]}(e,n);if(void 0!==t&&void 0!==r){const i=0===Jue(e).length,a=SE(t,r,n);i&&a&&t!==r-1&&this.deleteRange(n,lE(t,r-1)),a&&this.insertText(n,r-1,this.newLineCharacter)}}))}finishDeleteDeclarations(){const e=new Set;for(const{sourceFile:n,node:t}of this.deletedNodes)this.deletedNodes.some((e=>e.sourceFile===n&&UJ(e.node,t)))||(gn(t)?this.deleteRange(n,sS(n,t)):Due.deleteDeclaration(this,e,n,t));e.forEach((n=>{const t=n.getSourceFile(),r=sfe.SmartIndenter.getContainingList(n,t);if(n!==Ge(r))return;const i=P(r,(n=>!e.has(n)),r.length-2);-1!==i&&this.deleteRange(t,{pos:r[i].end,end:que(t,r[i+1])})}))}getChanges(e){this.finishDeleteDeclarations(),this.finishClassesWithNodesInsertedAtStart();const n=Rue.getTextChangesFromChanges(this.changes,this.newLineCharacter,this.formatContext,e);for(const{oldFile:e,fileName:t,statements:r}of this.newFiles)n.push(Rue.newFileChanges(e,t,r,this.newLineCharacter,this.formatContext));return n}createNewFile(e,n,t){this.newFiles.push({oldFile:e,fileName:n,statements:t})}},(e=>{function n(e,n,r,i,a){const o=r.map((n=>4===n?"":t(n,e,i).text)).join(i),s=AD("any file name",o,99,!0,n);return Yue(o,sfe.formatDocument(s,a))+i}function t(e,n,t){const r=Zue(t);return yj({newLine:LQ(t),neverAsciiEscape:!0,preserveSourceNewlines:!0,terminateUnterminatedLiterals:!0},r).writeNode(4,e,n,r),{text:r.getText(),node:$ue(e)}}e.getTextChangesFromChanges=function(e,n,r,i){return ee(an(e,(e=>e.sourceFile.path)),(e=>{const a=e[0].sourceFile,o=Re(e,((e,n)=>e.range.pos-n.range.pos||e.range.end-n.range.end));for(let e=0;e<o.length-1;e++)Nt.assert(o[e].range.end<=o[e+1].range.pos,"Changes overlap",(()=>`${JSON.stringify(o[e].range)} and ${JSON.stringify(o[e+1].range)}`));const s=ee(o,(e=>{const o=QX(e.range),s=function(e,n,r,i,a){var o;if(0===e.kind)return"";if(3===e.kind)return e.text;const{options:s={},range:{pos:c}}=e,l=e=>function(e,n,r,{indentation:i,prefix:a,delta:o},s,c,l){const{node:d,text:u}=t(e,n,s);l&&l(d,u);const _=kQ(c,n),p=void 0!==i?i:sfe.SmartIndenter.getIndentation(r,n,_,a===s||GJ(r,n)===r);void 0===o&&(o=sfe.SmartIndenter.shouldIndentChildNode(_,e)&&_.indentSize||0);const f={text:u,getLineAndCharacterOfPosition(e){return bs(this,e)}};return Yue(u,sfe.formatNodeGivenIndentation(d,f,n.languageVariant,p,o,{...c,options:_}))}(e,n,c,s,r,i,a),d=2===e.kind?e.nodes.map((e=>nt(l(e),r))).join((null==(o=e.options)?void 0:o.joiner)||r):l(e.node),u=void 0!==s.indentation||GJ(c,n)===c?d:d.replace(/^\s+/,"");return(s.prefix||"")+u+(!s.suffix||et(u,s.suffix)?"":s.suffix)}(e,a,n,r,i);if(o.length!==s.length||!bQ(a.text,s,o.start))return nY(o,s)}));return s.length>0?{fileName:a.fileName,textChanges:s}:void 0}))},e.newFileChanges=function(e,t,r,i,a){const o=n(e,Dx(t),r,i,a);return{fileName:t,textChanges:[nY(fc(0,0),o)],isNewFile:!0}},e.newFileChangesWorker=n,e.getNonformattedText=t})(Rue||(Rue={})),Nue={...RV,factory:gA(1|RV.factory.flags,RV.factory.baseFactory)},(e=>{function n(e,n,t){if(t.parent.name){const r=Nt.checkDefined(_X(n,t.pos-1));e.deleteRange(n,{pos:r.getStart(n),end:t.end})}else n_e(e,n,my(t,269))}e.deleteDeclaration=function(e,t,r,i){switch(i.kind){case 166:{const n=i.parent;Bk(n)&&1===n.parameters.length&&!ZJ(n,20,r)?e.replaceNodeWithText(r,i,"()"):t_e(e,t,r,i);break}case 269:case 268:n_e(e,r,i,{leadingTriviaOption:r.imports.length&&i===Me(r.imports).parent||i===D(r.statements,wf)?0:Xu(i)?2:3});break;case 205:const a=i.parent;204===a.kind&&i!==Ge(a.elements)?n_e(e,r,i):t_e(e,t,r,i);break;case 257:!function(e,n,t,r){const{parent:i}=r;if(295===i.kind)return void e.deleteNodeRange(t,ZJ(i,20,t),ZJ(i,21,t));if(1!==i.declarations.length)return void t_e(e,n,t,r);const a=i.parent;switch(a.kind){case 247:case 246:e.replaceNode(t,r,pA.createObjectLiteralExpression());break;case 245:n_e(e,t,i);break;case 240:n_e(e,t,a,{leadingTriviaOption:Xu(a)?2:3});break;default:Nt.assertNever(a)}}(e,t,r,i);break;case 165:t_e(e,t,r,i);break;case 273:const o=i.parent;1===o.elements.length?n(e,r,o):t_e(e,t,r,i);break;case 271:n(e,r,i);break;case 26:n_e(e,r,i,{trailingTriviaOption:0});break;case 98:n_e(e,r,i,{leadingTriviaOption:0});break;case 260:case 259:n_e(e,r,i,{leadingTriviaOption:Xu(i)?2:3});break;default:i.parent?VI(i.parent)&&i.parent.name===i?function(e,n,t){if(t.namedBindings){const r=t.name.getStart(n),i=_X(n,t.name.end);if(i&&27===i.kind){const t=ks(n.text,i.end,!1,!0);e.deleteRange(n,{pos:r,end:t})}else n_e(e,n,t.name)}else n_e(e,n,t.parent)}(e,r,i.parent):Dk(i.parent)&&G(i.parent.arguments,i)?t_e(e,t,r,i):n_e(e,r,i):n_e(e,r,i)}}})(Due||(Due={}))}}),i_e={};T(i_e,{ChangeTracker:()=>wue,LeadingTriviaOption:()=>Cue,TrailingTriviaOption:()=>kue,applyChanges:()=>Yue,assignPositionsToNode:()=>$ue,createWriter:()=>Zue,deleteNode:()=>n_e,getNewFileText:()=>Xue,isThisTypeAnnotatable:()=>Wue,isValidLocationToAddComment:()=>e_e});var a_e,o_e,s_e,c_e,l_e=E({"src/services/_namespaces/ts.textChanges.ts"(){r_e()}}),d_e=E({"src/services/formatting/formattingContext.ts"(){ufe(),a_e=(e=>(e[e.FormatDocument=0]="FormatDocument",e[e.FormatSelection=1]="FormatSelection",e[e.FormatOnEnter=2]="FormatOnEnter",e[e.FormatOnSemicolon=3]="FormatOnSemicolon",e[e.FormatOnOpeningCurlyBrace=4]="FormatOnOpeningCurlyBrace",e[e.FormatOnClosingCurlyBrace=5]="FormatOnClosingCurlyBrace",e))(a_e||{}),o_e=class{constructor(e,n,t){this.sourceFile=e,this.formattingRequestKind=n,this.options=t}updateContext(e,n,t,r,i){this.currentTokenSpan=Nt.checkDefined(e),this.currentTokenParent=Nt.checkDefined(n),this.nextTokenSpan=Nt.checkDefined(t),this.nextTokenParent=Nt.checkDefined(r),this.contextNode=Nt.checkDefined(i),this.contextNodeAllOnSameLine=void 0,this.nextNodeAllOnSameLine=void 0,this.tokensAreOnSameLine=void 0,this.contextNodeBlockIsOnOneLine=void 0,this.nextNodeBlockIsOnOneLine=void 0}ContextNodeAllOnSameLine(){return void 0===this.contextNodeAllOnSameLine&&(this.contextNodeAllOnSameLine=this.NodeIsOnOneLine(this.contextNode)),this.contextNodeAllOnSameLine}NextNodeAllOnSameLine(){return void 0===this.nextNodeAllOnSameLine&&(this.nextNodeAllOnSameLine=this.NodeIsOnOneLine(this.nextTokenParent)),this.nextNodeAllOnSameLine}TokensAreOnSameLine(){if(void 0===this.tokensAreOnSameLine){const e=this.sourceFile.getLineAndCharacterOfPosition(this.currentTokenSpan.pos).line,n=this.sourceFile.getLineAndCharacterOfPosition(this.nextTokenSpan.pos).line;this.tokensAreOnSameLine=e===n}return this.tokensAreOnSameLine}ContextNodeBlockIsOnOneLine(){return void 0===this.contextNodeBlockIsOnOneLine&&(this.contextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.contextNode)),this.contextNodeBlockIsOnOneLine}NextNodeBlockIsOnOneLine(){return void 0===this.nextNodeBlockIsOnOneLine&&(this.nextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.nextTokenParent)),this.nextNodeBlockIsOnOneLine}NodeIsOnOneLine(e){return this.sourceFile.getLineAndCharacterOfPosition(e.getStart(this.sourceFile)).line===this.sourceFile.getLineAndCharacterOfPosition(e.getEnd()).line}BlockIsOnOneLine(e){const n=ZJ(e,18,this.sourceFile),t=ZJ(e,19,this.sourceFile);return!(!n||!t)&&this.sourceFile.getLineAndCharacterOfPosition(n.getEnd()).line===this.sourceFile.getLineAndCharacterOfPosition(t.getStart(this.sourceFile)).line}}}});function u_e(e,n,t,r,i){const a=1===n?c_e:s_e;a.setText(e),a.setTextPos(t);let o,s,c,l,d,u=!0;const _=i({advance:function(){d=void 0,a.getStartPos()!==t?u=!!s&&4===Ge(s).kind:a.scan(),o=void 0,s=void 0;let e=a.getStartPos();for(;e<r;){const n=a.getToken();if(!xy(n))break;a.scan();const t={pos:e,end:a.getStartPos(),kind:n};e=a.getStartPos(),o=Te(o,t)}c=a.getStartPos()},readTokenInfo:function(e){Nt.assert(p());const n=function(e){switch(e.kind){case 33:case 71:case 72:case 49:case 48:return!0}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 288:case 283:case 284:case 282:return hy(e.kind)||79===e.kind}return!1}(e)?4:lC(t=e)||aw(t)&&11===(null==d?void 0:d.token.kind)?5:function(e){return e.parent&&_w(e.parent)&&e.parent.initializer===e}(e)?6:0;var t;if(d&&n===l)return m(d,e);a.getStartPos()!==c&&(Nt.assert(void 0!==d),a.setTextPos(c),a.scan());let i=function(e,n){const t=a.getToken();switch(l=0,n){case 1:if(31===t){l=1;const n=a.reScanGreaterToken();return Nt.assert(e.kind===n),n}break;case 2:if(43===(r=t)||68===r){l=2;const n=a.reScanSlashToken();return Nt.assert(e.kind===n),n}break;case 3:if(19===t)return l=3,a.reScanTemplateToken(!1);break;case 4:return l=4,a.scanJsxIdentifier();case 5:return l=5,a.reScanJsxToken(!1);case 6:return l=6,a.reScanJsxAttributeValue();case 0:break;default:Nt.assertNever(n)}var r;return t}(e,n);const u=jpe(a.getStartPos(),a.getTextPos(),i);for(s&&(s=void 0);a.getStartPos()<r&&(i=a.scan(),xy(i));){const e=jpe(a.getStartPos(),a.getTextPos(),i);if(s||(s=[]),s.push(e),4===i){a.scan();break}}return d={leadingTrivia:o,trailingTrivia:s,token:u},m(d,e)},readEOFTokenRange:function(){return Nt.assert(f()),jpe(a.getStartPos(),a.getTextPos(),1)},isOnToken:p,isOnEOF:f,getCurrentLeadingTrivia:()=>o,lastTrailingTriviaWasNewLine:()=>u,skipToEndOf:function(e){a.setTextPos(e.end),c=a.getStartPos(),l=void 0,d=void 0,u=!1,o=void 0,s=void 0},skipToStartOf:function(e){a.setTextPos(e.pos),c=a.getStartPos(),l=void 0,d=void 0,u=!1,o=void 0,s=void 0},getStartPos:()=>{var e;return null!=(e=null==d?void 0:d.token.pos)?e:a.getTokenPos()}});return d=void 0,a.setText(void 0),_;function p(){const e=d?d.token.kind:a.getToken();return 1!==e&&!xy(e)}function f(){return 1===(d?d.token.kind:a.getToken())}function m(e,n){return ed(n)&&e.token.kind!==n.kind&&(e.token.kind=n.kind),e}}var __e,p_e,f_e,m_e=E({"src/services/formatting/formattingScanner.ts"(){ufe(),dfe(),s_e=Ws(99,!1,0),c_e=Ws(99,!1,1)}}),h_e=E({"src/services/formatting/rule.ts"(){ufe(),__e=i,p_e=(e=>(e[e.None=0]="None",e[e.StopProcessingSpaceActions=1]="StopProcessingSpaceActions",e[e.StopProcessingTokenActions=2]="StopProcessingTokenActions",e[e.InsertSpace=4]="InsertSpace",e[e.InsertNewLine=8]="InsertNewLine",e[e.DeleteSpace=16]="DeleteSpace",e[e.DeleteToken=32]="DeleteToken",e[e.InsertTrailingSemicolon=64]="InsertTrailingSemicolon",e[e.StopAction=3]="StopAction",e[e.ModifySpaceAction=28]="ModifySpaceAction",e[e.ModifyTokenAction=96]="ModifyTokenAction",e))(p_e||{}),f_e=(e=>(e[e.None=0]="None",e[e.CanDeleteNewLines=1]="CanDeleteNewLines",e))(f_e||{})}});function g_e(){const e=[];for(let n=0;n<=162;n++)1!==n&&e.push(n);function n(...n){return{tokens:e.filter((e=>!n.some((n=>n===e)))),isSpecific:!1}}const t={tokens:e,isSpecific:!1},r=v_e([...e,3]),i=v_e([...e,1]),a=E_e(81,162),o=E_e(29,78),s=[101,102,162,128,140,150],c=[79,...eJ],l=r,d=v_e([79,3,84,93,100]),u=v_e([21,3,90,111,96,91]);return[y_e("IgnoreBeforeComment",t,[2,3],__e,1),y_e("IgnoreAfterLineComment",2,t,__e,1),y_e("NotSpaceBeforeColon",t,58,[tpe,R_e,N_e],16),y_e("SpaceAfterColon",58,t,[tpe,R_e],4),y_e("NoSpaceBeforeQuestionMark",t,57,[tpe,R_e,N_e],16),y_e("SpaceAfterQuestionMarkInConditionalOperator",57,t,[tpe,O_e],4),y_e("NoSpaceAfterQuestionMark",57,t,[tpe],16),y_e("NoSpaceBeforeDot",t,[24,28],[tpe,Cpe],16),y_e("NoSpaceAfterDot",[24,28],t,[tpe],16),y_e("NoSpaceBetweenImportParenInImportType",100,20,[tpe,npe],16),y_e("NoSpaceAfterUnaryPrefixOperator",[45,46,54,53],[8,9,79,20,22,18,108,103],[tpe,R_e],16),y_e("NoSpaceAfterUnaryPreincrementOperator",45,[79,20,108,103],[tpe],16),y_e("NoSpaceAfterUnaryPredecrementOperator",46,[79,20,108,103],[tpe],16),y_e("NoSpaceBeforeUnaryPostincrementOperator",[79,21,23,103],45,[tpe,Spe],16),y_e("NoSpaceBeforeUnaryPostdecrementOperator",[79,21,23,103],46,[tpe,Spe],16),y_e("SpaceAfterPostincrementWhenFollowedByAdd",45,39,[tpe,w_e],4),y_e("SpaceAfterAddWhenFollowedByUnaryPlus",39,39,[tpe,w_e],4),y_e("SpaceAfterAddWhenFollowedByPreincrement",39,45,[tpe,w_e],4),y_e("SpaceAfterPostdecrementWhenFollowedBySubtract",46,40,[tpe,w_e],4),y_e("SpaceAfterSubtractWhenFollowedByUnaryMinus",40,40,[tpe,w_e],4),y_e("SpaceAfterSubtractWhenFollowedByPredecrement",40,46,[tpe,w_e],4),y_e("NoSpaceAfterCloseBrace",19,[27,26],[tpe],16),y_e("NewLineBeforeCloseBraceInBlockContext",r,19,[G_e],8),y_e("SpaceAfterCloseBrace",19,n(21),[tpe,z_e],4),y_e("SpaceBetweenCloseBraceAndElse",19,91,[tpe],4),y_e("SpaceBetweenCloseBraceAndWhile",19,115,[tpe],4),y_e("NoSpaceBetweenEmptyBraceBrackets",18,19,[tpe,X_e],16),y_e("SpaceAfterConditionalClosingParen",21,22,[J_e],4),y_e("NoSpaceBetweenFunctionKeywordAndStar",98,41,[K_e],16),y_e("SpaceAfterStarInGeneratorDeclaration",41,79,[K_e],4),y_e("SpaceAfterFunctionInFuncDecl",98,t,[j_e],4),y_e("NewLineAfterOpenBraceInBlockContext",18,t,[G_e],8),y_e("SpaceAfterGetSetInMember",[137,151],79,[j_e],4),y_e("NoSpaceBetweenYieldKeywordAndStar",125,41,[tpe,Tpe],16),y_e("SpaceBetweenYieldOrYieldStarAndOperand",[125,41],t,[tpe,Tpe],4),y_e("NoSpaceBetweenReturnAndSemicolon",105,26,[tpe],16),y_e("SpaceAfterCertainKeywords",[113,109,103,89,105,112,133],t,[tpe],4),y_e("SpaceAfterLetConstInVariableDeclaration",[119,85],t,[tpe,_pe],4),y_e("NoSpaceBeforeOpenParenInFuncCall",t,20,[tpe,Y_e,$_e],16),y_e("SpaceBeforeBinaryKeywordOperator",t,s,[tpe,w_e],4),y_e("SpaceAfterBinaryKeywordOperator",s,t,[tpe,w_e],4),y_e("SpaceAfterVoidOperator",114,t,[tpe,Epe],4),y_e("SpaceBetweenAsyncAndOpenParen",132,20,[epe,tpe],4),y_e("SpaceBetweenAsyncAndFunctionKeyword",132,[98,79],[tpe],4),y_e("NoSpaceBetweenTagAndTemplateString",[79,21],[14,15],[tpe],16),y_e("SpaceBeforeJsxAttribute",t,79,[ope,tpe],4),y_e("SpaceBeforeSlashInJsxOpeningElement",t,43,[cpe,tpe],4),y_e("NoSpaceBeforeGreaterThanTokenInJsxOpeningElement",43,31,[cpe,tpe],16),y_e("NoSpaceBeforeEqualInJsxAttribute",t,63,[spe,tpe],16),y_e("NoSpaceAfterEqualInJsxAttribute",63,t,[spe,tpe],16),y_e("NoSpaceAfterModuleImport",[142,147],20,[tpe],16),y_e("SpaceAfterCertainTypeScriptKeywords",[126,127,84,136,88,92,93,94,137,117,100,118,142,143,121,123,122,146,151,124,154,158,141,138],t,[tpe],4),y_e("SpaceBeforeCertainTypeScriptKeywords",t,[94,117,158],[tpe],4),y_e("SpaceAfterModuleName",10,18,[fpe],4),y_e("SpaceBeforeArrow",t,38,[tpe],4),y_e("SpaceAfterArrow",38,t,[tpe],4),y_e("NoSpaceAfterEllipsis",25,79,[tpe],16),y_e("NoSpaceAfterOptionalParameters",57,[21,27],[tpe,R_e],16),y_e("NoSpaceBetweenEmptyInterfaceBraceBrackets",18,19,[tpe,mpe],16),y_e("NoSpaceBeforeOpenAngularBracket",c,29,[tpe,ype],16),y_e("NoSpaceBetweenCloseParenAndAngularBracket",21,29,[tpe,ype],16),y_e("NoSpaceAfterOpenAngularBracket",29,t,[tpe,ype],16),y_e("NoSpaceBeforeCloseAngularBracket",t,31,[tpe,ype],16),y_e("NoSpaceAfterCloseAngularBracket",31,[20,22,31,27],[tpe,ype,H_e,bpe],16),y_e("SpaceBeforeAt",[21,79],59,[tpe],4),y_e("NoSpaceAfterAt",59,t,[tpe],16),y_e("SpaceAfterDecorator",t,[126,79,93,88,84,124,123,121,122,137,151,22,41],[dpe],4),y_e("NoSpaceBeforeNonNullAssertionOperator",t,53,[tpe,xpe],16),y_e("NoSpaceAfterNewKeywordOnConstructorSignature",103,20,[tpe,hpe],16),y_e("SpaceLessThanAndNonJSXTypeAnnotation",29,29,[tpe],4),y_e("SpaceAfterConstructor",135,20,[x_e("insertSpaceAfterConstructor"),tpe],4),y_e("NoSpaceAfterConstructor",135,20,[A_e("insertSpaceAfterConstructor"),tpe],16),y_e("SpaceAfterComma",27,t,[x_e("insertSpaceAfterCommaDelimiter"),tpe,ipe,Q_e,Z_e],4),y_e("NoSpaceAfterComma",27,t,[A_e("insertSpaceAfterCommaDelimiter"),tpe,ipe],16),y_e("SpaceAfterAnonymousFunctionKeyword",[98,41],20,[x_e("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),j_e],4),y_e("NoSpaceAfterAnonymousFunctionKeyword",[98,41],20,[A_e("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),j_e],16),y_e("SpaceAfterKeywordInControl",a,20,[x_e("insertSpaceAfterKeywordsInControlFlowStatements"),J_e],4),y_e("NoSpaceAfterKeywordInControl",a,20,[A_e("insertSpaceAfterKeywordsInControlFlowStatements"),J_e],16),y_e("SpaceAfterOpenParen",20,t,[x_e("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),tpe],4),y_e("SpaceBeforeCloseParen",t,21,[x_e("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),tpe],4),y_e("SpaceBetweenOpenParens",20,20,[x_e("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),tpe],4),y_e("NoSpaceBetweenParens",20,21,[tpe],16),y_e("NoSpaceAfterOpenParen",20,t,[A_e("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),tpe],16),y_e("NoSpaceBeforeCloseParen",t,21,[A_e("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),tpe],16),y_e("SpaceAfterOpenBracket",22,t,[x_e("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),tpe],4),y_e("SpaceBeforeCloseBracket",t,23,[x_e("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),tpe],4),y_e("NoSpaceBetweenBrackets",22,23,[tpe],16),y_e("NoSpaceAfterOpenBracket",22,t,[A_e("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),tpe],16),y_e("NoSpaceBeforeCloseBracket",t,23,[A_e("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),tpe],16),y_e("SpaceAfterOpenBrace",18,t,[C_e("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),P_e],4),y_e("SpaceBeforeCloseBrace",t,19,[C_e("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),P_e],4),y_e("NoSpaceBetweenEmptyBraceBrackets",18,19,[tpe,X_e],16),y_e("NoSpaceAfterOpenBrace",18,t,[S_e("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),tpe],16),y_e("NoSpaceBeforeCloseBrace",t,19,[S_e("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),tpe],16),y_e("SpaceBetweenEmptyBraceBrackets",18,19,[x_e("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces")],4),y_e("NoSpaceBetweenEmptyBraceBrackets",18,19,[S_e("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces"),tpe],16),y_e("SpaceAfterTemplateHeadAndMiddle",[15,16],t,[x_e("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),rpe],4,1),y_e("SpaceBeforeTemplateMiddleAndTail",t,[16,17],[x_e("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),tpe],4),y_e("NoSpaceAfterTemplateHeadAndMiddle",[15,16],t,[A_e("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),rpe],16,1),y_e("NoSpaceBeforeTemplateMiddleAndTail",t,[16,17],[A_e("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),tpe],16),y_e("SpaceAfterOpenBraceInJsxExpression",18,t,[x_e("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),tpe,ape],4),y_e("SpaceBeforeCloseBraceInJsxExpression",t,19,[x_e("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),tpe,ape],4),y_e("NoSpaceAfterOpenBraceInJsxExpression",18,t,[A_e("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),tpe,ape],16),y_e("NoSpaceBeforeCloseBraceInJsxExpression",t,19,[A_e("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),tpe,ape],16),y_e("SpaceAfterSemicolonInFor",26,t,[x_e("insertSpaceAfterSemicolonInForStatements"),tpe,k_e],4),y_e("NoSpaceAfterSemicolonInFor",26,t,[A_e("insertSpaceAfterSemicolonInForStatements"),tpe,k_e],16),y_e("SpaceBeforeBinaryOperator",t,o,[x_e("insertSpaceBeforeAndAfterBinaryOperators"),tpe,w_e],4),y_e("SpaceAfterBinaryOperator",o,t,[x_e("insertSpaceBeforeAndAfterBinaryOperators"),tpe,w_e],4),y_e("NoSpaceBeforeBinaryOperator",t,o,[A_e("insertSpaceBeforeAndAfterBinaryOperators"),tpe,w_e],16),y_e("NoSpaceAfterBinaryOperator",o,t,[A_e("insertSpaceBeforeAndAfterBinaryOperators"),tpe,w_e],16),y_e("SpaceBeforeOpenParenInFuncDecl",t,20,[x_e("insertSpaceBeforeFunctionParenthesis"),tpe,j_e],4),y_e("NoSpaceBeforeOpenParenInFuncDecl",t,20,[A_e("insertSpaceBeforeFunctionParenthesis"),tpe,j_e],16),y_e("NewLineBeforeOpenBraceInControl",u,18,[x_e("placeOpenBraceOnNewLineForControlBlocks"),J_e,F_e],8,1),y_e("NewLineBeforeOpenBraceInFunction",l,18,[x_e("placeOpenBraceOnNewLineForFunctions"),j_e,F_e],8,1),y_e("NewLineBeforeOpenBraceInTypeScriptDeclWithBlock",d,18,[x_e("placeOpenBraceOnNewLineForFunctions"),W_e,F_e],8,1),y_e("SpaceAfterTypeAssertion",31,t,[x_e("insertSpaceAfterTypeAssertion"),tpe,vpe],4),y_e("NoSpaceAfterTypeAssertion",31,t,[A_e("insertSpaceAfterTypeAssertion"),tpe,vpe],16),y_e("SpaceBeforeTypeAnnotation",t,[57,58],[x_e("insertSpaceBeforeTypeAnnotation"),tpe,D_e],4),y_e("NoSpaceBeforeTypeAnnotation",t,[57,58],[A_e("insertSpaceBeforeTypeAnnotation"),tpe,D_e],16),y_e("NoOptionalSemicolon",26,i,[T_e("semicolons","remove"),Ape],32),y_e("OptionalSemicolon",t,i,[T_e("semicolons","insert"),Lpe],64),y_e("NoSpaceBeforeSemicolon",t,26,[tpe],16),y_e("SpaceBeforeOpenBraceInControl",u,18,[L_e("placeOpenBraceOnNewLineForControlBlocks"),J_e,ppe,M_e],4,1),y_e("SpaceBeforeOpenBraceInFunction",l,18,[L_e("placeOpenBraceOnNewLineForFunctions"),j_e,U_e,ppe,M_e],4,1),y_e("SpaceBeforeOpenBraceInTypeScriptDeclWithBlock",d,18,[L_e("placeOpenBraceOnNewLineForFunctions"),W_e,ppe,M_e],4,1),y_e("NoSpaceBeforeComma",t,27,[tpe],16),y_e("NoSpaceBeforeOpenBracket",n(132,82),22,[tpe],16),y_e("NoSpaceAfterCloseBracket",23,t,[tpe,lpe],16),y_e("SpaceAfterSemicolon",26,t,[tpe],4),y_e("SpaceBetweenForAndAwaitKeyword",97,133,[tpe],4),y_e("SpaceBetweenStatements",[21,90,91,82],t,[tpe,ipe,I_e],4),y_e("SpaceAfterTryCatchFinally",[111,83,96],18,[tpe],4)]}function y_e(e,n,t,r,i,a=0){return{leftTokenRange:b_e(n),rightTokenRange:b_e(t),rule:{debugName:e,context:r,action:i,flags:a}}}function v_e(e){return{tokens:e,isSpecific:!0}}function b_e(e){return"number"==typeof e?v_e([e]):gn(e)?v_e(e):e}function E_e(e,n,t=[]){const r=[];for(let i=e;i<=n;i++)G(t,i)||r.push(i);return v_e(r)}function T_e(e,n){return t=>t.options&&t.options[e]===n}function x_e(e){return n=>n.options&&qe(n.options,e)&&!!n.options[e]}function S_e(e){return n=>n.options&&qe(n.options,e)&&!n.options[e]}function A_e(e){return n=>!n.options||!qe(n.options,e)||!n.options[e]}function L_e(e){return n=>!n.options||!qe(n.options,e)||!n.options[e]||n.TokensAreOnSameLine()}function C_e(e){return n=>!n.options||!qe(n.options,e)||!!n.options[e]}function k_e(e){return 245===e.contextNode.kind}function I_e(e){return!k_e(e)}function w_e(e){switch(e.contextNode.kind){case 223:return 27!==e.contextNode.operatorToken.kind;case 224:case 191:case 231:case 278:case 273:case 179:case 189:case 190:case 235:return!0;case 205:case 262:case 268:case 274:case 257:case 166:case 302:case 169:case 168:return 63===e.currentTokenSpan.kind||63===e.nextTokenSpan.kind;case 246:case 165:return 101===e.currentTokenSpan.kind||101===e.nextTokenSpan.kind||63===e.currentTokenSpan.kind||63===e.nextTokenSpan.kind;case 247:return 162===e.currentTokenSpan.kind||162===e.nextTokenSpan.kind}return!1}function R_e(e){return!w_e(e)}function N_e(e){return!D_e(e)}function D_e(e){const n=e.contextNode.kind;return 169===n||168===n||166===n||257===n||wd(n)}function O_e(e){return 224===e.contextNode.kind||191===e.contextNode.kind}function M_e(e){return e.TokensAreOnSameLine()||U_e(e)}function P_e(e){return 203===e.contextNode.kind||197===e.contextNode.kind||function(e){return B_e(e)&&(e.ContextNodeAllOnSameLine()||e.ContextNodeBlockIsOnOneLine())}(e)}function F_e(e){return U_e(e)&&!(e.NextNodeAllOnSameLine()||e.NextNodeBlockIsOnOneLine())}function G_e(e){return B_e(e)&&!(e.ContextNodeAllOnSameLine()||e.ContextNodeBlockIsOnOneLine())}function B_e(e){return V_e(e.contextNode)}function U_e(e){return V_e(e.nextTokenParent)}function V_e(e){if(q_e(e))return!0;switch(e.kind){case 238:case 266:case 207:case 265:return!0}return!1}function j_e(e){switch(e.contextNode.kind){case 259:case 171:case 170:case 174:case 175:case 176:case 215:case 173:case 216:case 261:return!0}return!1}function H_e(e){return!j_e(e)}function K_e(e){return 259===e.contextNode.kind||215===e.contextNode.kind}function W_e(e){return q_e(e.contextNode)}function q_e(e){switch(e.kind){case 260:case 228:case 261:case 263:case 184:case 264:case 275:case 276:case 269:case 272:return!0}return!1}function z_e(e){switch(e.currentTokenParent.kind){case 260:case 264:case 263:case 295:case 265:case 252:return!0;case 238:{const n=e.currentTokenParent.parent;if(!n||216!==n.kind&&215!==n.kind)return!0}}return!1}function J_e(e){switch(e.contextNode.kind){case 242:case 252:case 245:case 246:case 247:case 244:case 255:case 243:case 251:case 295:return!0;default:return!1}}function X_e(e){return 207===e.contextNode.kind}function Y_e(e){return function(e){return 210===e.contextNode.kind}(e)||function(e){return 211===e.contextNode.kind}(e)}function $_e(e){return 27!==e.currentTokenSpan.kind}function Q_e(e){return 23!==e.nextTokenSpan.kind}function Z_e(e){return 21!==e.nextTokenSpan.kind}function epe(e){return 216===e.contextNode.kind}function npe(e){return 202===e.contextNode.kind}function tpe(e){return e.TokensAreOnSameLine()&&11!==e.contextNode.kind}function rpe(e){return 11!==e.contextNode.kind}function ipe(e){return 281!==e.contextNode.kind&&285!==e.contextNode.kind}function ape(e){return 291===e.contextNode.kind||290===e.contextNode.kind}function ope(e){return 288===e.nextTokenParent.kind}function spe(e){return 288===e.contextNode.kind}function cpe(e){return 282===e.contextNode.kind}function lpe(e){return!j_e(e)&&!U_e(e)}function dpe(e){return e.TokensAreOnSameLine()&&yb(e.contextNode)&&upe(e.currentTokenParent)&&!upe(e.nextTokenParent)}function upe(e){for(;e&&uu(e);)e=e.parent;return e&&167===e.kind}function _pe(e){return 258===e.currentTokenParent.kind&&e.currentTokenParent.getStart(e.sourceFile)===e.currentTokenSpan.pos}function ppe(e){return 2!==e.formattingRequestKind}function fpe(e){return 264===e.contextNode.kind}function mpe(e){return 184===e.contextNode.kind}function hpe(e){return 177===e.contextNode.kind}function gpe(e,n){if(29!==e.kind&&31!==e.kind)return!1;switch(n.kind){case 180:case 213:case 262:case 260:case 228:case 261:case 259:case 215:case 216:case 171:case 170:case 176:case 177:case 210:case 211:case 230:return!0;default:return!1}}function ype(e){return gpe(e.currentTokenSpan,e.currentTokenParent)||gpe(e.nextTokenSpan,e.nextTokenParent)}function vpe(e){return 213===e.contextNode.kind}function bpe(e){return!vpe(e)}function Epe(e){return 114===e.currentTokenSpan.kind&&219===e.currentTokenParent.kind}function Tpe(e){return 226===e.contextNode.kind&&void 0!==e.contextNode.expression}function xpe(e){return 232===e.contextNode.kind}function Spe(e){return!function(e){switch(e.contextNode.kind){case 242:case 245:case 246:case 247:case 243:case 244:return!0;default:return!1}}(e)}function Ape(e){let n=e.nextTokenSpan.kind,t=e.nextTokenSpan.pos;if(xy(n)){const r=e.nextTokenParent===e.currentTokenParent?hX(e.currentTokenParent,Rc(e.currentTokenParent,(e=>!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:237!==n&&26!==n&&(261===e.contextNode.kind||262===e.contextNode.kind?!WC(e.currentTokenParent)||!!e.currentTokenParent.type||20!==n:qC(e.currentTokenParent)?!e.currentTokenParent.initializer:245!==e.currentTokenParent.kind&&239!==e.currentTokenParent.kind&&237!==e.currentTokenParent.kind&&22!==n&&20!==n&&39!==n&&40!==n&&43!==n&&13!==n&&27!==n&&225!==n&&15!==n&&14!==n&&24!==n)}function Lpe(e){return z$(e.currentTokenSpan.end,e.currentTokenParent,e.sourceFile)}function Cpe(e){return!Rk(e.contextNode)||!oC(e.contextNode.expression)||-1!==e.contextNode.expression.getText().indexOf(".")}var kpe,Ipe,wpe,Rpe,Npe,Dpe=E({"src/services/formatting/rules.ts"(){ufe(),dfe()}});function Ope(e,n){return{options:e,getRules:(void 0===kpe&&(kpe=function(e){const n=function(e){const n=new Array(Rpe*Rpe),t=new Array(n.length);for(const r of e){const e=r.leftTokenRange.isSpecific&&r.rightTokenRange.isSpecific;for(const i of r.leftTokenRange.tokens)for(const a of r.rightTokenRange.tokens){const o=Ppe(i,a);let s=n[o];void 0===s&&(s=n[o]=[]),Fpe(s,r.rule,e,t,o)}}return n}(e);return e=>{const t=n[Ppe(e.currentTokenSpan.kind,e.nextTokenSpan.kind)];if(t){const n=[];let r=0;for(const i of t){const t=~Mpe(r);i.action&t&&N(i.context,(n=>n(e)))&&(n.push(i),r|=i.action)}if(n.length)return n}}}(g_e())),kpe),host:n}}function Mpe(e){let n=0;return 1&e&&(n|=28),2&e&&(n|=96),28&e&&(n|=28),96&e&&(n|=96),n}function Ppe(e,n){return Nt.assert(e<=162&&n<=162,"Must compute formatting context from tokens"),e*Rpe+n}function Fpe(e,n,t,r,i){const a=3&n.action?t?0:Npe.StopRulesAny:n.context!==__e?t?Npe.ContextRulesSpecific:Npe.ContextRulesAny:t?Npe.NoContextRulesSpecific:Npe.NoContextRulesAny,o=r[i]||0;e.splice(function(e,n){let t=0;for(let r=0;r<=n;r+=Ipe)t+=e&wpe,e>>=Ipe;return t}(o,a),0,n),r[i]=function(e,n){const t=1+(e>>n&wpe);return Nt.assert((t&wpe)===t,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules."),e&~(wpe<<n)|t<<n}(o,a)}var Gpe,Bpe,Upe,Vpe=E({"src/services/formatting/rulesMap.ts"(){var e;ufe(),dfe(),Ipe=5,wpe=31,Rpe=163,(e=Npe||{})[e.StopRulesSpecific=0]="StopRulesSpecific",e[e.StopRulesAny=1*Ipe]="StopRulesAny",e[e.ContextRulesSpecific=2*Ipe]="ContextRulesSpecific",e[e.ContextRulesAny=3*Ipe]="ContextRulesAny",e[e.NoContextRulesSpecific=4*Ipe]="NoContextRulesSpecific",e[e.NoContextRulesAny=5*Ipe]="NoContextRulesAny",Npe=e}});function jpe(e,n,t){const r={pos:e,end:n,kind:t};return Nt.isDebugging&&Object.defineProperty(r,"__debugKind",{get:()=>Nt.formatSyntaxKind(t)}),r}function Hpe(e,n,t){const r=n.getLineAndCharacterOfPosition(e).line;if(0===r)return[];let i=Mp(r,n);for(;Ts(n.text.charCodeAt(i));)i--;return xs(n.text.charCodeAt(i))&&i--,efe({pos:Dp(r-1,n),end:i+1},n,t,2)}function Kpe(e,n,t){return Zpe(Ype(Xpe(e,26,n)),n,t,3)}function Wpe(e,n,t){const r=Xpe(e,18,n);return r?efe({pos:GJ(Ype(r.parent).getStart(n),n),end:e},n,t,4):[]}function qpe(e,n,t){return Zpe(Ype(Xpe(e,19,n)),n,t,5)}function zpe(e,n){return efe({pos:0,end:e.text.length},e,n,0)}function Jpe(e,n,t,r){return efe({pos:GJ(e,t),end:n},t,r,1)}function Xpe(e,n,t){const r=gX(e,t);return r&&r.kind===n&&e===r.getEnd()?r:void 0}function Ype(e){let n=e;for(;n&&n.parent&&n.parent.end===e.end&&!$pe(n.parent,n);)n=n.parent;return n}function $pe(e,n){switch(e.kind){case 260:case 261:return BJ(e.members,n);case 264:const t=e.body;return!!t&&265===t.kind&&BJ(t.statements,n);case 308:case 238:case 265:return BJ(e.statements,n);case 295:return BJ(e.block.statements,n)}return!1}function Qpe(e,n,t,r,i,a){const o={pos:e.pos,end:e.end};return u_e(n.text,t,o.pos,o.end,(t=>nfe(o,e,r,i,t,a,1,(e=>!1),n)))}function Zpe(e,n,t,r){return e?efe({pos:GJ(e.getStart(n),n),end:e.end},n,t,r):[]}function efe(e,n,t,r){const i=function(e,n){return function t(r){const i=ED(r,(t=>HJ(t.getStart(n),t.end,e)&&t));if(i){const e=t(i);if(e)return e}return r}(n)}(e,n);return u_e(n.text,n.languageVariant,function(e,n,t){const r=e.getStart(t);if(r===n.pos&&e.end===n.end)return r;const i=gX(n.pos,t);return i?i.end>=n.pos?e.pos:i.end:e.pos}(i,e,n),e.end,(a=>nfe(e,i,ife.getIndentationForNode(i,e,n,t.options),function(e,n,t){let r,i=-1;for(;e;){const a=t.getLineAndCharacterOfPosition(e.getStart(t)).line;if(-1!==i&&a!==i)break;if(ife.shouldIndentChildNode(n,e,r,t))return n.indentSize;i=a,r=e,e=e.parent}return 0}(i,t.options,n),a,t,r,function(e,n){if(!e.length)return i;const t=e.filter((e=>WJ(n,e.start,e.start+e.length))).sort(((e,n)=>e.start-n.start));if(!t.length)return i;let r=0;return e=>{for(;;){if(r>=t.length)return!1;const n=t[r];if(e.end<=n.start)return!1;if(zJ(e.pos,e.end,n.start,n.start+n.length))return!0;r++}};function i(){return!1}}(n.parseDiagnostics,e),n)))}function nfe(e,n,t,r,i,{options:a,getRules:o,host:s},c,l,d){var u;const _=new o_e(d,c,a);let p,f,m,h,g,y=-1;const v=[];if(i.advance(),i.isOnToken()){const o=d.getLineAndCharacterOfPosition(n.getStart(d)).line;let s=o;yb(n)&&(s=d.getLineAndCharacterOfPosition(Qp(n,d)).line),function n(t,r,o,s,c,u){if(!WJ(e,t.getStart(d),t.getEnd()))return;const _=b(t,o,c,u);let m=r;for(ED(t,(e=>{h(e,-1,t,_,o,s,!1)}),(n=>{!function(n,r,o,s){Nt.assert(nd(n)),Nt.assert(!zy(n));const c=function(e,n){switch(e.kind){case 173:case 259:case 215:case 171:case 170:case 216:case 176:case 177:case 181:case 182:case 174:case 175:if(e.typeParameters===n)return 29;if(e.parameters===n)return 20;break;case 210:case 211:if(e.typeArguments===n)return 29;if(e.arguments===n)return 20;break;case 260:case 228:case 261:case 262:if(e.typeParameters===n)return 29;break;case 180:case 212:case 183:case 230:case 202:if(e.typeArguments===n)return 29;break;case 184:return 18}return 0}(r,n);let l=s,u=o;if(!WJ(e,n.pos,n.end))return void(n.end<e.pos&&i.skipToEndOf(n));if(0!==c)for(;i.isOnToken()&&i.getStartPos()<e.end;){const e=i.readTokenInfo(r);if(e.token.end>n.pos)break;if(e.token.kind===c){let n;if(u=d.getLineAndCharacterOfPosition(e.token.pos).line,v(e,r,s,r),-1!==y)n=y;else{const t=GJ(e.token.pos,d);n=ife.findFirstNonWhitespaceColumn(t,e.token.pos,d,a)}l=b(r,o,n,a.indentSize)}else v(e,r,s,r)}let _=-1;for(let e=0;e<n.length;e++)_=h(n[e],_,t,l,u,u,!0,0===e);const p=function(e){switch(e){case 20:return 21;case 29:return 31;case 18:return 19}return 0}(c);if(0!==p&&i.isOnToken()&&i.getStartPos()<e.end){let e=i.readTokenInfo(r);27===e.token.kind&&(v(e,r,l,r),e=i.isOnToken()?i.readTokenInfo(r):void 0),e&&e.token.kind===p&&BJ(r,e.token)&&v(e,r,l,r,!0)}}(n,t,o,_)}));i.isOnToken()&&i.getStartPos()<e.end;){const n=i.readTokenInfo(t);if(n.token.end>Math.min(t.end,e.end))break;v(n,t,_,t)}function h(r,o,s,c,l,u,_,p){if(Nt.assert(!zy(r)),Fp(r)||Bp(s,r))return o;const f=r.getStart(d),h=d.getLineAndCharacterOfPosition(f).line;let b=h;yb(r)&&(b=d.getLineAndCharacterOfPosition(Qp(r,d)).line);let E=-1;if(_&&BJ(e,s)&&(E=function(e,n,t,r,i){if(WJ(r,e,n)||KJ(r,e,n)){if(-1!==i)return i}else{const n=d.getLineAndCharacterOfPosition(e).line,r=GJ(e,d),i=ife.findFirstNonWhitespaceColumn(r,e,d,a);if(n!==t||e===i){const e=ife.getBaseIndentation(a);return e>i?e:i}}return-1}(f,r.end,l,e,o),-1!==E&&(o=E)),!WJ(e,r.pos,r.end))return r.end<e.pos&&i.skipToEndOf(r),o;if(0===r.getFullWidth())return o;for(;i.isOnToken()&&i.getStartPos()<e.end;){const n=i.readTokenInfo(t);if(n.token.end>e.end)return o;if(n.token.end>f){n.token.pos>f&&i.skipToStartOf(r);break}v(n,t,c,t)}if(!i.isOnToken()||i.getStartPos()>=e.end)return o;if(ed(r)){const e=i.readTokenInfo(r);if(11!==r.kind)return Nt.assert(e.token.end===r.end,"Token end is child end"),v(e,t,c,r),o}const T=167===r.kind?h:u,x=function(e,n,t,r,i,o){const s=ife.shouldIndentChildNode(a,e)?a.indentSize:0;return o===n?{indentation:n===g?y:i.getIndentation(),delta:Math.min(a.indentSize,i.getDelta(e)+s)}:-1===t?20===e.kind&&n===g?{indentation:y,delta:i.getDelta(e)}:ife.childStartsOnTheSameLineWithElseInIfStatement(r,e,n,d)||ife.childIsUnindentedBranchOfConditionalExpression(r,e,n,d)||ife.argumentStartsOnSameLineAsPreviousArgument(r,e,n,d)?{indentation:i.getIndentation(),delta:s}:{indentation:i.getIndentation()+i.getDelta(e),delta:s}:{indentation:t,delta:s}}(r,h,E,t,c,T);return n(r,m,h,b,x.indentation,x.delta),m=t,p&&206===s.kind&&-1===o&&(o=x.indentation),o}function v(n,t,r,a,o){Nt.assert(BJ(t,n.token));const s=i.lastTrailingTriviaWasNewLine();let c=!1;n.leadingTrivia&&T(n.leadingTrivia,t,m,r);let u=0;const _=BJ(e,n.token),h=d.getLineAndCharacterOfPosition(n.token.pos);if(_){const e=l(n.token),i=f;if(u=x(n.token,h,t,m,r),!e)if(0===u){const e=i&&d.getLineAndCharacterOfPosition(i.end).line;c=s&&h.line!==e}else c=1===u}if(n.trailingTrivia&&(p=Ge(n.trailingTrivia).end,T(n.trailingTrivia,t,m,r)),c){const e=_&&!l(n.token)?r.getIndentationForToken(h.line,n.token.kind,a,!!o):-1;let t=!0;if(n.leadingTrivia){const i=r.getIndentationForComment(n.token.kind,e,a);t=E(n.leadingTrivia,i,t,(e=>A(e.pos,i,!1)))}-1!==e&&t&&(A(n.token.pos,e,1===u),g=h.line,y=e)}i.advance(),m=t}}(n,n,o,s,t,r)}if(!i.isOnToken()){const r=ife.nodeWillIndentChild(a,n,void 0,d,!1)?t+a.indentSize:t,o=i.getCurrentLeadingTrivia();o&&(E(o,r,!1,(e=>x(e,d.getLineAndCharacterOfPosition(e.pos),n,n,void 0))),!1!==a.trimTrailingWhitespace&&function(n){let t=f?f.end:e.pos;for(const e of n)FX(e.kind)&&(t<e.pos&&w(t,e.pos-1,f),t=e.end+1);t<e.end&&w(t,e.end,f)}(o))}if(f&&i.getStartPos()>=e.end){const e=i.isOnEOF()?i.readEOFTokenRange():i.isOnToken()?i.readTokenInfo(n).token:void 0;if(e&&e.pos===p){const t=(null==(u=gX(e.end,d,n))?void 0:u.parent)||m;S(e,d.getLineAndCharacterOfPosition(e.pos).line,t,f,h,m,t,void 0)}}return v;function b(e,n,t,r){return{getIndentationForComment:(e,n,r)=>{switch(e){case 19:case 23:case 21:return t+i(r)}return-1!==n?n:t},getIndentationForToken:(r,a,o,s)=>!s&&function(t,r,i){switch(r){case 18:case 19:case 21:case 91:case 115:case 59:return!1;case 43:case 31:switch(i.kind){case 283:case 284:case 282:return!1}break;case 22:case 23:if(197!==i.kind)return!1}return n!==t&&!(yb(e)&&r===function(e){if(PN(e)){const n=D(e.modifiers,Ed,M(e.modifiers,KC));if(n)return n.kind}switch(e.kind){case 260:return 84;case 261:return 118;case 259:return 98;case 263:return 263;case 174:return 137;case 175:return 151;case 171:if(e.asteriskToken)return 41;case 169:case 166:const n=Wc(e);if(n)return n.kind}}(e))}(r,a,o)?t+i(o):t,getIndentation:()=>t,getDelta:i,recomputeIndentation:(n,i)=>{ife.shouldIndentChildNode(a,i,e,d)&&(t+=n?a.indentSize:-a.indentSize,r=ife.shouldIndentChildNode(a,e)?a.indentSize:0)}};function i(n){return ife.nodeWillIndentChild(a,e,n,d,!0)?r:0}}function E(n,t,r,i){for(const a of n){const n=BJ(e,a);switch(a.kind){case 3:n&&C(a,t,!r),r=!1;break;case 2:r&&n&&i(a),r=!1;break;case 4:r=!0}}return r}function T(n,t,r,i){for(const a of n)FX(a.kind)&&BJ(e,a)&&x(a,d.getLineAndCharacterOfPosition(a.pos),t,r,i)}function x(n,t,r,i,a){let o=0;return l(n)||(f?o=S(n,t.line,r,f,h,m,i,a):k(d.getLineAndCharacterOfPosition(e.pos).line,t.line)),f=n,p=n.end,m=r,h=t.line,o}function S(e,n,t,r,i,c,l,u){_.updateContext(r,c,e,t,l);const p=o(_);let f=!1!==_.options.trimTrailingWhitespace,m=0;return p?L(p,(o=>{if(m=function(e,n,t,r,i){const o=i!==t;switch(e.action){case 1:return 0;case 16:if(n.end!==r.pos)return R(n.end,r.pos-n.end),o?2:0;break;case 32:R(n.pos,n.end-n.pos);break;case 8:if(1!==e.flags&&t!==i)return 0;if(1!=i-t)return N(n.end,r.pos-n.end,r$(s,a)),o?0:1;break;case 4:if(1!==e.flags&&t!==i)return 0;if(1!=r.pos-n.end||32!==d.text.charCodeAt(n.end))return N(n.end,r.pos-n.end," "),o?2:0;break;case 64:c=n.end,";"&&v.push(eY(c,0,";"))}var c;return 0}(o,r,i,e,n),u)switch(m){case 2:t.getStart(d)===e.pos&&u.recomputeIndentation(!1,l);break;case 1:t.getStart(d)===e.pos&&u.recomputeIndentation(!0,l);break;default:Nt.assert(0===m)}f=f&&!(16&o.action)&&1!==o.flags})):f=f&&1!==e.kind,n!==i&&f&&k(i,n,r),m}function A(e,n,t){const r=rfe(n,a);if(t)N(e,0,r);else{const t=d.getLineAndCharacterOfPosition(e),i=Dp(t.line,d);(n!==function(e,n){let t=0;for(let r=0;r<n;r++)9===d.text.charCodeAt(e+r)?t+=a.tabSize-t%a.tabSize:t++;return t}(i,t.character)||function(e,n){return e!==d.text.substr(n,e.length)}(r,i))&&N(i,t.character,r)}}function C(e,n,t,r=!0){let i=d.getLineAndCharacterOfPosition(e.pos).line;const o=d.getLineAndCharacterOfPosition(e.end).line;if(i===o)return void(t||A(e.pos,n,!1));const s=[];let c=e.pos;for(let e=i;e<o;e++){const n=Mp(e,d);s.push({pos:c,end:n}),c=Dp(e+1,d)}if(r&&s.push({pos:c,end:e.end}),0===s.length)return;const l=Dp(i,d),u=ife.findFirstNonWhitespaceCharacterAndColumn(l,s[0].pos,d,a);let _=0;t&&(_=1,i++);const p=n-u.column;for(let e=_;e<s.length;e++,i++){const n=Dp(i,d),t=0===e?u:ife.findFirstNonWhitespaceCharacterAndColumn(s[e].pos,s[e].end,d,a),r=t.column+p;if(r>0){const e=rfe(r,a);N(n,t.character,e)}else R(n,t.character)}}function k(e,n,t){for(let r=e;r<n;r++){const e=Dp(r,d),n=Mp(r,d);if(t&&(FX(t.kind)||GX(t.kind))&&t.pos<=n&&t.end>n)continue;const i=I(e,n);-1!==i&&(Nt.assert(i===e||!Ts(d.text.charCodeAt(i-1))),R(i,n+1-i))}}function I(e,n){let t=n;for(;t>=e&&Ts(d.text.charCodeAt(t));)t--;return t!==n?t+1:-1}function w(e,n,t){k(d.getLineAndCharacterOfPosition(e).line,d.getLineAndCharacterOfPosition(n).line+1,t)}function R(e,n){n&&v.push(eY(e,n,""))}function N(e,n,t){(n||t)&&v.push(eY(e,n,t))}}function tfe(e,n,t,r=_X(e,n)){const i=Rc(r,jw);if(i&&(r=i.parent),r.getStart(e)<=n&&n<r.getEnd())return;const a=de((t=null===t?void 0:void 0===t?gX(n,e):t)&&Us(e.text,t.end),gm(r,e));return a&&D(a,(t=>jJ(t,n)||n===t.end&&(2===t.kind||n===e.getFullWidth())))}function rfe(e,n){if((!Gpe||Gpe.tabSize!==n.tabSize||Gpe.indentSize!==n.indentSize)&&(Gpe={tabSize:n.tabSize,indentSize:n.indentSize},Bpe=Upe=void 0),n.convertTabsToSpaces){let t;const r=Math.floor(e/n.indentSize),i=e%n.indentSize;return Upe||(Upe=[]),void 0===Upe[r]?(t=cY(" ",n.indentSize*r),Upe[r]=t):t=Upe[r],i?t+cY(" ",i):t}{const t=Math.floor(e/n.tabSize),r=e-t*n.tabSize;let i;return Bpe||(Bpe=[]),void 0===Bpe[t]?Bpe[t]=i=cY("\t",t):i=Bpe[t],r?i+cY(" ",r):i}}var ife,afe=E({"src/services/formatting/formatting.ts"(){ufe(),dfe()}}),ofe=E({"src/services/formatting/smartIndenter.ts"(){ufe(),dfe(),(e=>{let n;var t;function r(e){return e.baseIndentSize||0}function i(e,n,t,i,s,c,l){var f;let m=e.parent;for(;m;){let r=!0;if(t){const n=e.getStart(s);r=n<t.pos||n>t.end}const g=a(m,e,s),y=g.line===n.line||_(m,e,n.line,s);if(r){const t=null==(f=p(e,s))?void 0:f[0];let r=h(e,s,l,!!t&&d(t,s).line>g.line);if(-1!==r)return r+i;if(r=o(e,m,n,y,s,l),-1!==r)return r+i}T(l,m,e,s,c)&&!y&&(i+=l.indentSize);const v=u(m,e,n.line,s);m=(e=m).parent,n=v?s.getLineAndCharacterOfPosition(e.getStart(s)):g}return i+r(l)}function a(e,n,t){const r=p(n,t),i=r?r.pos:e.getStart(t);return t.getLineAndCharacterOfPosition(i)}function o(e,n,t,r,i,a){return!Nu(e)&&!Ou(e)||308!==n.kind&&r?-1:y(t,i,a)}let s;var c;function l(e,n,t,r){const i=hX(e,n,r);return i?18===i.kind?1:19===i.kind&&t===d(i,r).line?2:0:0}function d(e,n){return n.getLineAndCharacterOfPosition(e.getStart(n))}function u(e,n,t,r){return!(!Dk(e)||!G(e.arguments,n))&&bs(r,e.expression.getEnd()).line===t}function _(e,n,t,r){if(242===e.kind&&e.elseStatement===n){const n=ZJ(e,91,r);return Nt.assert(void 0!==n),d(n,r).line===t}return!1}function p(e,n){return e.parent&&f(e.getStart(n),e.getEnd(),e.parent,n)}function f(e,n,t,r){switch(t.kind){case 180:return i(t.typeArguments);case 207:return i(t.properties);case 206:case 272:case 276:case 203:case 204:return i(t.elements);case 184:return i(t.members);case 259:case 215:case 216:case 171:case 170:case 176:case 173:case 182:case 177:return i(t.typeParameters)||i(t.parameters);case 174:return i(t.parameters);case 260:case 228:case 261:case 262:case 348:return i(t.typeParameters);case 211:case 210:return i(t.typeArguments)||i(t.arguments);case 258:return i(t.declarations)}function i(i){return i&&KJ(function(e,n,t){const r=e.getChildren(t);for(let e=1;e<r.length-1;e++)if(r[e].pos===n.pos&&r[e].end===n.end)return{pos:r[e-1].end,end:r[e+1].getStart(t)};return n}(t,i,r),e,n)?i:void 0}}function m(e,n,t){return e?y(n.getLineAndCharacterOfPosition(e.pos),n,t):-1}function h(e,n,t,r){if(e.parent&&258===e.parent.kind)return-1;const i=p(e,n);if(i){const a=i.indexOf(e);if(-1!==a){const e=g(i,a,n,t);if(-1!==e)return e}return m(i,n,t)+(r?t.indentSize:0)}return-1}function g(e,n,t,r){Nt.assert(n>=0&&n<e.length);let i=d(e[n],t);for(let a=n-1;a>=0;a--)if(27!==e[a].kind){if(t.getLineAndCharacterOfPosition(e[a].end).line!==i.line)return y(i,t,r);i=d(e[a],t)}return-1}function y(e,n,t){const r=n.getPositionOfLineAndCharacter(e.line,0);return b(r,r+e.character,n,t)}function v(e,n,t,r){let i=0,a=0;for(let o=e;o<n;o++){const e=t.text.charCodeAt(o);if(!Ts(e))break;9===e?a+=r.tabSize+a%r.tabSize:a++,i++}return{column:a,character:i}}function b(e,n,t,r){return v(e,n,t,r).column}function E(e,n,t,r,i){const a=t?t.kind:0;switch(n.kind){case 241:case 260:case 228:case 261:case 263:case 262:case 206:case 238:case 265:case 207:case 184:case 197:case 186:case 266:case 293:case 292:case 214:case 208:case 210:case 211:case 240:case 274:case 250:case 224:case 204:case 203:case 283:case 286:case 282:case 291:case 170:case 176:case 177:case 166:case 181:case 182:case 193:case 212:case 220:case 276:case 272:case 278:case 273:case 169:return!0;case 257:case 299:case 223:if(!e.indentMultiLineObjectLiteralBeginningOnBlankLine&&r&&207===a)return x(r,t);if(223===n.kind&&r&&t&&281===a)return r.getLineAndCharacterOfPosition(ks(r.text,n.pos)).line!==r.getLineAndCharacterOfPosition(ks(r.text,t.pos)).line;if(223!==n.kind)return!0;break;case 243:case 244:case 246:case 247:case 245:case 242:case 259:case 215:case 171:case 173:case 174:case 175:return 238!==a;case 216:return r&&214===a?x(r,t):238!==a;case 275:return 276!==a;case 269:return 270!==a||!!t.namedBindings&&272!==t.namedBindings.kind;case 281:return 284!==a;case 285:return 287!==a;case 190:case 189:if(184===a||186===a)return!1}return i}function T(e,n,t,r,i=!1){return E(e,n,t,r,!1)&&!(i&&t&&function(e,n){switch(e){case 250:case 254:case 248:case 249:return 238!==n.kind;default:return!1}}(t.kind,n))}function x(e,n){const t=ks(e.text,n.pos);return e.getLineAndCharacterOfPosition(t).line===e.getLineAndCharacterOfPosition(n.end).line}(t=n||(n={}))[t.Unknown=-1]="Unknown",e.getIndentation=function(e,n,t,a=!1){if(e>n.text.length)return r(t);if(0===t.indentStyle)return 0;const o=gX(e,n,void 0,!0),s=tfe(n,e,o||null);if(s&&3===s.kind)return function(e,n,t,r){const i=bs(e,n).line-1,a=bs(e,r.pos).line;if(Nt.assert(a>=0),i<=a)return b(Dp(a,e),n,e,t);const o=Dp(i,e),{column:s,character:c}=v(o,n,e,t);if(0===s)return s;return 42===e.text.charCodeAt(o+c)?s-1:s}(n,e,t,s);if(!o)return r(t);if(GX(o.kind)&&o.getStart(n)<=e&&e<o.end)return 0;const c=n.getLineAndCharacterOfPosition(e).line,u=_X(n,e),_=18===u.kind&&207===u.parent.kind;if(1===t.indentStyle||_)return function(e,n,t){let r=n;for(;r>0&&Es(e.text.charCodeAt(r));)r--;return b(GJ(r,e),r,e,t)}(n,e,t);if(27===o.kind&&223!==o.parent.kind){const e=function(e,n,t){const r=$J(e);return r&&r.listItemIndex>0?g(r.list.getChildren(),r.listItemIndex-1,n,t):-1}(o,n,t);if(-1!==e)return e}const p=function(e,n,t){return n&&f(e,e,n,t)}(e,o.parent,n);if(p&&!BJ(p,o)){const e=-1!==[215,216].indexOf(u.parent.kind)?0:t.indentSize;return m(p,n,t)+e}return function(e,n,t,a,o,s){let c,u=t;for(;u;){if(JJ(u,n,e)&&T(s,u,c,e,!0)){const n=d(u,e),r=l(t,u,a,e);return i(u,n,void 0,0!==r?o&&2===r?s.indentSize:0:a!==n.line?s.indentSize:0,e,!0,s)}const r=h(u,e,s,!0);if(-1!==r)return r;c=u,u=u.parent}return r(s)}(n,e,o,c,a,t)},e.getIndentationForNode=function(e,n,t,r){const a=t.getLineAndCharacterOfPosition(e.getStart(t));return i(e,a,n,0,t,!1,r)},e.getBaseIndentation=r,(c=s||(s={}))[c.Unknown=0]="Unknown",c[c.OpenBrace=1]="OpenBrace",c[c.CloseBrace=2]="CloseBrace",e.isArgumentAndStartLineOverlapsExpressionBeingCalled=u,e.childStartsOnTheSameLineWithElseInIfStatement=_,e.childIsUnindentedBranchOfConditionalExpression=function(e,n,t,r){if(zk(e)&&(n===e.whenTrue||n===e.whenFalse)){const i=bs(r,e.condition.end).line;if(n===e.whenTrue)return t===i;{const n=d(e.whenTrue,r).line,a=bs(r,e.whenTrue.end).line;return i===n&&a===t}}return!1},e.argumentStartsOnSameLineAsPreviousArgument=function(e,n,t,r){if(ru(e)){if(!e.arguments)return!1;const i=D(e.arguments,(e=>e.pos===n.pos));if(!i)return!1;const a=e.arguments.indexOf(i);if(0===a)return!1;if(t===bs(r,e.arguments[a-1].getEnd()).line)return!0}return!1},e.getContainingList=p,e.findFirstNonWhitespaceCharacterAndColumn=v,e.findFirstNonWhitespaceColumn=b,e.nodeWillIndentChild=E,e.shouldIndentChildNode=T})(ife||(ife={}))}}),sfe={};T(sfe,{FormattingContext:()=>o_e,FormattingRequestKind:()=>a_e,RuleAction:()=>p_e,RuleFlags:()=>f_e,SmartIndenter:()=>ife,anyContext:()=>__e,createTextRangeWithKind:()=>jpe,formatDocument:()=>zpe,formatNodeGivenIndentation:()=>Qpe,formatOnClosingCurly:()=>qpe,formatOnEnter:()=>Hpe,formatOnOpeningCurly:()=>Wpe,formatOnSemicolon:()=>Kpe,formatSelection:()=>Jpe,getAllRules:()=>g_e,getFormatContext:()=>Ope,getFormattingScanner:()=>u_e,getIndentationString:()=>rfe,getRangeOfEnclosingComment:()=>tfe});var cfe,lfe,dfe=E({"src/services/_namespaces/ts.formatting.ts"(){d_e(),m_e(),h_e(),Dpe(),Vpe(),afe(),ofe()}}),ufe=E({"src/services/_namespaces/ts.ts"(){Qq(),Xz(),oJ(),OQ(),KQ(),aZ(),oZ(),_Z(),TZ(),zZ(),YZ(),n0(),m0(),v0(),_2(),x2(),I2(),D2(),t4(),f4(),Hte(),Die(),Eae(),Bae(),Jae(),uoe(),V0(),q1(),Uoe(),$oe(),Sde(),Mde(),aue(),yue(),Oue(),l_e(),dfe()}});function _fe(e,n,t,r,i){let a=n?"DeprecationError: ":"DeprecationWarning: ";return a+=`'${e}' `,a+=r?`has been deprecated since v${r}`:"is deprecated",a+=n?" and can no longer be used.":t?` and will no longer be usable after v${t}.`:".",a+=i?` ${hT(i,[e],0)}`:"",a}function pfe(e,n){var r;return function(e,n){return function(){return e(),n.apply(this,arguments)}}(function(e,n={}){var r,i;const a="string"==typeof n.typeScriptVersion?new Ut(n.typeScriptVersion):null!=(r=n.typeScriptVersion)?r:null!=lfe?lfe:lfe=new Ut(t),o="string"==typeof n.errorAfter?new Ut(n.errorAfter):n.errorAfter,s="string"==typeof n.warnAfter?new Ut(n.warnAfter):n.warnAfter,c="string"==typeof n.since?new Ut(n.since):null!=(i=n.since)?i:s,l=n.error||o&&a.compareTo(o)>=0,d=!s||a.compareTo(s)>=0;return l?function(e,n,t,r){const i=_fe(e,!0,n,t,r);return()=>{throw new TypeError(i)}}(e,o,c,n.message):d?function(e,n,t,r){let i=!1;return()=>{cfe&&!i&&(Nt.log.warn(_fe(e,!1,n,t,r)),i=!0)}}(e,o,c,n.message):xn}(null!=(r=null==n?void 0:n.name)?r:Nt.getFunctionName(e),n),e)}var ffe=E({"src/deprecatedCompat/deprecate.ts"(){vfe(),cfe=!0}});function mfe(e,n,t,r){if(Object.defineProperty(a,"name",{...Object.getOwnPropertyDescriptor(a,"name"),value:e}),r)for(const t of Object.keys(r)){const i=+t;!isNaN(i)&&qe(n,`${i}`)&&(n[i]=pfe(n[i],{...r[i],name:e}))}const i=function(e,n){return t=>{for(let r=0;qe(e,`${r}`)&&qe(n,`${r}`);r++)if((0,n[r])(t))return r}}(n,t);return a;function a(...e){const t=i(e),r=void 0!==t?n[t]:void 0;if("function"==typeof r)return r(...e);throw new TypeError("Invalid arguments")}}function hfe(e){return{overload:n=>({bind:t=>({finish:()=>mfe(e,n,t),deprecate:r=>({finish:()=>mfe(e,n,t,r)})})})}}var gfe=E({"src/deprecatedCompat/deprecations.ts"(){vfe(),ffe()}}),yfe=E({"src/deprecatedCompat/5.0/identifierProperties.ts"(){vfe(),ffe(),fT((e=>{const n=e.getIdentifierConstructor();qe(n.prototype,"originalKeywordKind")||Object.defineProperty(n.prototype,"originalKeywordKind",{get:pfe((function(){return Fc(this)}),{name:"originalKeywordKind",since:"5.0",warnAfter:"5.1",errorAfter:"5.2",message:"Use 'identifierToKeywordKind(identifier)' instead."})}),qe(n.prototype,"isInJSDocNamespace")||Object.defineProperty(n.prototype,"isInJSDocNamespace",{get:pfe((function(){return!!(2048&this.flags)||void 0}),{name:"isInJSDocNamespace",since:"5.0",warnAfter:"5.1",errorAfter:"5.2",message:"Use '.parent' or the surrounding context to determine this instead."})})}))}}),vfe=E({"src/deprecatedCompat/_namespaces/ts.ts"(){Qq(),gfe(),yfe()}}),bfe={};T(bfe,{ANONYMOUS:()=>iJ,AccessFlags:()=>Ai,AssertionLevel:()=>_,AssignmentDeclarationKind:()=>Fi,AssignmentKind:()=>h_,Associativity:()=>y_,BreakpointResolver:()=>N2,BuilderFileEmit:()=>qH,BuilderProgramKind:()=>zH,BuilderState:()=>jH,BundleFileSectionKind:()=>ca,CallHierarchy:()=>$2,CharacterCodes:()=>Qi,CheckFlags:()=>yi,CheckMode:()=>MG,ClassificationType:()=>zz,ClassificationTypeNames:()=>qz,CommentDirectiveType:()=>Zr,Comparison:()=>r,CompletionInfoFlags:()=>Bz,CompletionTriggerKind:()=>Nz,Completions:()=>wie,ConfigFileProgramReloadLevel:()=>Tj,ContextFlags:()=>ci,CoreServicesShimHostAdapter:()=>g2,Debug:()=>Nt,DiagnosticCategory:()=>Gi,Diagnostics:()=>Vo,DocumentHighlights:()=>iZ,ElementFlags:()=>Si,EmitFlags:()=>ta,EmitHint:()=>aa,EmitOnly:()=>ri,EndOfLineState:()=>jz,EnumKind:()=>gi,ExitStatus:()=>ai,ExportKind:()=>DQ,Extension:()=>Zi,ExternalEmitHelpers:()=>ia,FileIncludeKind:()=>ni,FilePreprocessingDiagnosticsKind:()=>ti,FileSystemEntryKind:()=>xa,FileWatcherEventKind:()=>ma,FindAllReferences:()=>bae,FlattenLevel:()=>uU,FlowFlags:()=>Qr,ForegroundColorEscapeSequences:()=>Fj,FunctionFlags:()=>g_,GeneratedIdentifierFlags:()=>Yr,GetLiteralTextFlags:()=>u_,GoToDefinition:()=>Pae,HighlightSpanKind:()=>Oz,ImportKind:()=>NQ,ImportsNotUsedAsValues:()=>qi,IndentStyle:()=>Mz,IndexKind:()=>Ni,InferenceFlags:()=>Mi,InferencePriority:()=>Oi,InlayHintKind:()=>Dz,InlayHints:()=>Hae,InternalEmitFlags:()=>ra,InternalSymbolName:()=>vi,InvalidatedProjectKind:()=>IW,JsDoc:()=>loe,JsTyping:()=>lz,JsxEmit:()=>Wi,JsxFlags:()=>Jr,JsxReferenceKind:()=>Ci,LanguageServiceMode:()=>kz,LanguageServiceShimHostAdapter:()=>h2,LanguageVariant:()=>Yi,LexicalEnvironmentFlags:()=>sa,ListFormat:()=>la,LogLevel:()=>Rt,MemberOverrideStatus:()=>oi,ModifierFlags:()=>zr,ModuleDetectionKind:()=>Ui,ModuleInstanceState:()=>PF,ModuleKind:()=>Ki,ModuleResolutionKind:()=>Bi,ModuleSpecifierEnding:()=>ep,NavigateTo:()=>w0,NavigationBar:()=>k1,NewLineKind:()=>zi,NodeBuilderFlags:()=>li,NodeCheckFlags:()=>bi,NodeFactoryFlags:()=>cA,NodeFlags:()=>qr,NodeResolutionFeatures:()=>tP,ObjectFlags:()=>Ti,OperationCanceledException:()=>ei,OperatorPrecedence:()=>v_,OrganizeImports:()=>Goe,OrganizeImportsMode:()=>Rz,OuterExpressionKinds:()=>oa,OutliningElementsCollector:()=>Xoe,OutliningSpanKind:()=>Uz,OutputFileType:()=>Vz,PackageJsonAutoImportPreference:()=>Cz,PackageJsonDependencyGroup:()=>Lz,PatternMatchKind:()=>EZ,PollingInterval:()=>ha,PollingWatchKind:()=>Hi,PragmaKindFlags:()=>da,PrivateIdentifierKind:()=>EL,ProcessLevel:()=>TU,QuotePreference:()=>nJ,RelationComparisonResult:()=>Xr,Rename:()=>Nde,ScriptElementKind:()=>Kz,ScriptElementKindModifier:()=>Wz,ScriptKind:()=>Ji,ScriptSnapshot:()=>Az,ScriptTarget:()=>Xi,SemanticClassificationFormat:()=>wz,SemanticMeaning:()=>Qz,SemicolonPreference:()=>Pz,SignatureCheckMode:()=>PG,SignatureFlags:()=>Ri,SignatureHelp:()=>rue,SignatureKind:()=>ki,SmartSelectionRange:()=>hue,SnippetKind:()=>na,SortKind:()=>s,StructureIsReused:()=>ii,SymbolAccessibility:()=>_i,SymbolDisplay:()=>Lue,SymbolDisplayPartKind:()=>Gz,SymbolFlags:()=>hi,SymbolFormatFlags:()=>ui,SyntaxKind:()=>Wr,SyntheticSymbolKind:()=>pi,Ternary:()=>Pi,ThrottledCancellationToken:()=>H1,TokenClass:()=>Hz,TokenFlags:()=>$r,TransformFlags:()=>ea,TypeFacts:()=>DG,TypeFlags:()=>Ei,TypeFormatFlags:()=>di,TypeMapKind:()=>Di,TypePredicateKind:()=>fi,TypeReferenceSerializationKind:()=>mi,TypeScriptServicesFactory:()=>T2,UnionReduction:()=>si,UpToDateStatusType:()=>SW,VarianceFlags:()=>xi,Version:()=>Ut,VersionRange:()=>Vt,WatchDirectoryFlags:()=>$i,WatchDirectoryKind:()=>ji,WatchFileKind:()=>Vi,WatchLogLevel:()=>xj,WatchType:()=>BK,accessPrivateIdentifier:()=>dU,addEmitFlags:()=>BA,addEmitHelper:()=>aL,addEmitHelpers:()=>oL,addInternalEmitFlags:()=>VA,addNodeFactoryPatcher:()=>hA,addObjectAllocatorPatcher:()=>fT,addRange:()=>Ae,addRelatedInfo:()=>iS,addSyntheticLeadingComment:()=>QA,addSyntheticTrailingComment:()=>nL,addToSeen:()=>$E,advancedAsyncSuperHelper:()=>QL,affectsDeclarationPathOptionDeclarations:()=>ZD,affectsEmitOptionDeclarations:()=>QD,allKeysStartWithDot:()=>mF,altDirectorySeparator:()=>Ha,and:()=>gt,append:()=>Te,appendIfUnique:()=>Ce,arrayFrom:()=>Qe,arrayIsEqualTo:()=>ve,arrayIsHomogeneous:()=>gS,arrayIsSorted:()=>ge,arrayOf:()=>$e,arrayReverseIterator:()=>we,arrayToMap:()=>nn,arrayToMultiMap:()=>rn,arrayToNumericMap:()=>tn,arraysEqual:()=>B,assertType:()=>bt,assign:()=>Ze,assignHelper:()=>CL,asyncDelegator:()=>wL,asyncGeneratorHelper:()=>IL,asyncSuperHelper:()=>$L,asyncValues:()=>RL,attachFileToDiagnostics:()=>xT,awaitHelper:()=>kL,awaiterHelper:()=>DL,base64decode:()=>iE,base64encode:()=>rE,binarySearch:()=>He,binarySearchKey:()=>Ke,bindSourceFile:()=>HF,breakIntoCharacterSpans:()=>GZ,breakIntoWordSpans:()=>BZ,buildLinkParts:()=>t$,buildOpts:()=>aO,buildOverload:()=>hfe,bundlerModuleNameResolver:()=>HP,canBeConvertedToAsync:()=>_0,canHaveDecorators:()=>FN,canHaveExportModifier:()=>HS,canHaveFlowNode:()=>Cg,canHaveIllegalDecorators:()=>dN,canHaveIllegalModifiers:()=>uN,canHaveIllegalType:()=>cN,canHaveIllegalTypeParameters:()=>lN,canHaveJSDoc:()=>kg,canHaveLocals:()=>Iu,canHaveModifiers:()=>PN,canHaveSymbol:()=>ku,canJsonReportNoInputFiles:()=>xM,canProduceDiagnostics:()=>vV,canUsePropertyAccess:()=>WS,canWatchDirectoryOrFile:()=>NK,cartesianProduct:()=>xt,cast:()=>Tn,chainBundle:()=>GB,chainDiagnosticMessages:()=>kT,changeAnyExtension:()=>Co,changeCompilerHostLikeToUseCache:()=>iH,changeExtension:()=>qx,changesAffectModuleResolution:()=>cp,changesAffectingProgramStructure:()=>dp,childIsDecorated:()=>dh,classElementOrClassElementParameterIsDecorated:()=>_h,classOrConstructorParameterIsDecorated:()=>uh,classPrivateFieldGetHelper:()=>zL,classPrivateFieldInHelper:()=>XL,classPrivateFieldSetHelper:()=>JL,classicNameResolver:()=>RF,classifier:()=>u4,cleanExtendedConfigCache:()=>kj,clear:()=>K,clearMap:()=>VE,clearSharedExtendedConfigFileWatcher:()=>Cj,climbPastPropertyAccess:()=>bJ,climbPastPropertyOrElementAccess:()=>EJ,clone:()=>sn,cloneCompilerOptions:()=>HX,closeFileWatcher:()=>NE,closeFileWatcherOf:()=>Pj,codefix:()=>Ote,collapseTextChangeRangesAcrossMultipleVersions:()=>vc,collectExternalModuleInfo:()=>jB,combine:()=>xe,combinePaths:()=>go,commentPragmas:()=>ua,commonOptionsWithBuild:()=>qD,commonPackageFolders:()=>G_,compact:()=>be,compareBooleans:()=>$n,compareDataObjects:()=>UE,compareDiagnostics:()=>RT,compareDiagnosticsSkipRelatedInformation:()=>NT,compareEmitHelpers:()=>nC,compareNumberOfDirectorySeparators:()=>jx,comparePaths:()=>Ro,comparePathsCaseInsensitive:()=>wo,comparePathsCaseSensitive:()=>Io,comparePatternKeys:()=>gF,compareProperties:()=>Yn,compareStringsCaseInsensitive:()=>Hn,compareStringsCaseInsensitiveEslintCompatible:()=>Kn,compareStringsCaseSensitive:()=>Wn,compareStringsCaseSensitiveUI:()=>Xn,compareTextSpans:()=>Vn,compareValues:()=>Un,compileOnSaveCommandLineOption:()=>BD,compilerOptionsAffectDeclarationPath:()=>dx,compilerOptionsAffectEmit:()=>lx,compilerOptionsAffectSemanticDiagnostics:()=>cx,compilerOptionsDidYouMeanDiagnostics:()=>dO,compilerOptionsIndicateEsModules:()=>pY,compose:()=>Mn,computeCommonSourceDirectoryOfFilenames:()=>Zj,computeLineAndCharacterOfPosition:()=>gs,computeLineOfPosition:()=>ys,computeLineStarts:()=>ps,computePositionOfLineAndCharacter:()=>ms,computeSignature:()=>gK,computeSignatureWithDiagnostics:()=>hK,computeSuggestionDiagnostics:()=>t0,concatenate:()=>de,concatenateDiagnosticMessageChains:()=>IT,consumesNodeCoreModules:()=>oQ,contains:()=>G,containsIgnoredPath:()=>IS,containsObjectRestOrSpread:()=>DN,containsParseError:()=>kp,containsPath:()=>No,convertCompilerOptionsForTelemetry:()=>$M,convertCompilerOptionsFromJson:()=>CM,convertJsonOption:()=>OM,convertToBase64:()=>tE,convertToObject:()=>ZO,convertToObjectWorker:()=>eM,convertToOptionsWithAbsolutePaths:()=>pM,convertToRelativePath:()=>Po,convertToTSConfig:()=>rM,convertTypeAcquisitionFromJson:()=>kM,copyComments:()=>A$,copyEntries:()=>mp,copyLeadingComments:()=>w$,copyProperties:()=>ln,copyTrailingAsLeadingComments:()=>N$,copyTrailingComments:()=>R$,couldStartTrivia:()=>Cs,countWhere:()=>V,createAbstractBuilder:()=>IK,createAccessorPropertyBackingField:()=>CN,createAccessorPropertyGetRedirector:()=>kN,createAccessorPropertySetRedirector:()=>IN,createBaseNodeFactory:()=>eA,createBinaryExpressionTrampoline:()=>vN,createBindingHelper:()=>jL,createBuildInfo:()=>fj,createBuilderProgram:()=>yK,createBuilderProgramUsingProgramBuildInfo:()=>xK,createBuilderStatusReporter:()=>MW,createCacheWithRedirects:()=>IP,createCacheableExportInfoMap:()=>MQ,createCachedDirectoryStructureHost:()=>Aj,createClassifier:()=>WQ,createCommentDirectivesMap:()=>Yp,createCompilerDiagnostic:()=>LT,createCompilerDiagnosticForInvalidCustomType:()=>kO,createCompilerDiagnosticFromMessageChain:()=>CT,createCompilerHost:()=>eH,createCompilerHostFromProgramHost:()=>lW,createCompilerHostWorker:()=>rH,createDetachedDiagnostic:()=>bT,createDiagnosticCollection:()=>tv,createDiagnosticForFileFromMessageChain:()=>Yf,createDiagnosticForNode:()=>Hf,createDiagnosticForNodeArray:()=>Kf,createDiagnosticForNodeArrayFromMessageChain:()=>zf,createDiagnosticForNodeFromMessageChain:()=>qf,createDiagnosticForNodeInSourceFile:()=>Wf,createDiagnosticForRange:()=>Qf,createDiagnosticMessageChainFromDiagnostic:()=>$f,createDiagnosticReporter:()=>VK,createDocumentPositionMapper:()=>OB,createDocumentRegistry:()=>cZ,createDocumentRegistryInternal:()=>lZ,createEmitAndSemanticDiagnosticsBuilderProgram:()=>kK,createEmitHelperFactory:()=>eC,createEmptyExports:()=>vR,createExpressionForJsxElement:()=>SR,createExpressionForJsxFragment:()=>AR,createExpressionForObjectLiteralElementLike:()=>wR,createExpressionForPropertyName:()=>IR,createExpressionFromEntityName:()=>kR,createExternalHelpersImportDeclarationIfNeeded:()=>XR,createFileDiagnostic:()=>ST,createFileDiagnosticFromMessageChain:()=>Xf,createForOfBindingStatement:()=>LR,createGetCanonicalFileName:()=>lt,createGetSourceFile:()=>nH,createGetSymbolAccessibilityDiagnosticForNode:()=>EV,createGetSymbolAccessibilityDiagnosticForNodeName:()=>bV,createGetSymbolWalker:()=>YF,createIncrementalCompilerHost:()=>bW,createIncrementalProgram:()=>EW,createInputFiles:()=>IA,createInputFilesWithFilePaths:()=>wA,createInputFilesWithFileTexts:()=>RA,createJsxFactoryExpression:()=>xR,createLanguageService:()=>s2,createLanguageServiceSourceFile:()=>a2,createMemberAccessForPropertyName:()=>bR,createModeAwareCache:()=>NP,createModeAwareCacheKey:()=>RP,createModuleResolutionCache:()=>FP,createModuleResolutionLoader:()=>bH,createModuleSpecifierResolutionHost:()=>fY,createMultiMap:()=>un,createNodeConverters:()=>oA,createNodeFactory:()=>gA,createOptionNameMap:()=>LO,createOverload:()=>mfe,createPackageJsonImportFilter:()=>aQ,createPackageJsonInfo:()=>iQ,createParenthesizerRules:()=>rA,createPatternMatcher:()=>SZ,createPrependNodes:()=>FH,createPrinter:()=>yj,createPrinterWithDefaults:()=>KV,createPrinterWithRemoveComments:()=>WV,createPrinterWithRemoveCommentsNeverAsciiEscape:()=>qV,createPrinterWithRemoveCommentsOmitTrailingSemicolon:()=>zV,createProgram:()=>DH,createProgramHost:()=>_W,createPropertyNameNodeForIdentifierOrLiteral:()=>GS,createQueue:()=>mn,createRange:()=>lE,createRedirectedBuilderProgram:()=>AK,createResolutionCache:()=>DK,createRuntimeTypeSerializer:()=>DU,createScanner:()=>Ws,createSemanticDiagnosticsBuilderProgram:()=>CK,createSet:()=>hn,createSolutionBuilder:()=>BW,createSolutionBuilderHost:()=>FW,createSolutionBuilderWithWatch:()=>UW,createSolutionBuilderWithWatchHost:()=>GW,createSortedArray:()=>fe,createSourceFile:()=>AD,createSourceMapGenerator:()=>vB,createSourceMapSource:()=>NA,createSuperAccessVariableStatement:()=>UU,createSymbolTable:()=>op,createSymlinkCache:()=>hx,createSystemWatchFunctions:()=>Ba,createTextChange:()=>nY,createTextChangeFromStartLength:()=>eY,createTextChangeRange:()=>yc,createTextRangeFromNode:()=>$X,createTextRangeFromSpan:()=>ZX,createTextSpan:()=>fc,createTextSpanFromBounds:()=>mc,createTextSpanFromNode:()=>XX,createTextSpanFromRange:()=>QX,createTextSpanFromStringLiteralLikeContent:()=>YX,createTextWriter:()=>mv,createTokenRange:()=>mE,createTypeChecker:()=>zG,createTypeReferenceDirectiveResolutionCache:()=>GP,createTypeReferenceResolutionLoader:()=>TH,createUnderscoreEscapedMultiMap:()=>fn,createUnparsedSourceFile:()=>kA,createWatchCompilerHost:()=>TW,createWatchCompilerHostOfConfigFile:()=>mW,createWatchCompilerHostOfFilesAndCompilerOptions:()=>hW,createWatchFactory:()=>cW,createWatchHost:()=>sW,createWatchProgram:()=>xW,createWatchStatusReporter:()=>KK,createWriteFileMeasuringIO:()=>tH,declarationNameToString:()=>Ff,decodeMappings:()=>AB,decodedTextSpanIntersectsWith:()=>uc,decorateHelper:()=>TL,deduplicate:()=>pe,defaultIncludeSpec:()=>TO,defaultInitCompilerOptions:()=>lO,defaultMaximumTruncationLength:()=>c_,detectSortCaseSensitivity:()=>ye,diagnosticCategoryName:()=>fa,diagnosticToString:()=>CQ,directoryProbablyExists:()=>sE,directorySeparator:()=>ja,displayPart:()=>jY,displayPartsToString:()=>n2,disposeEmitNodes:()=>PA,documentSpansEqual:()=>OY,dumpTracingLegend:()=>Kr,elementAt:()=>c,elideNodes:()=>xN,emitComments:()=>tb,emitDetachedComments:()=>rb,emitFiles:()=>pj,emitFilesAndReportErrors:()=>aW,emitFilesAndReportErrorsAndGetExitStatus:()=>oW,emitModuleKindIsNonNodeESM:()=>VT,emitNewLineBeforeLeadingCommentOfPosition:()=>nb,emitNewLineBeforeLeadingComments:()=>Zv,emitNewLineBeforeLeadingCommentsOfPosition:()=>eb,emitSkippedWithNoDiagnostics:()=>Xj,emitUsingBuildInfo:()=>gj,emptyArray:()=>i,emptyFileSystemEntries:()=>tp,emptyMap:()=>a,emptyOptions:()=>Iz,emptySet:()=>o,endsWith:()=>et,ensurePathIsNonModuleName:()=>Lo,ensureScriptKind:()=>Nx,ensureTrailingDirectorySeparator:()=>Ao,entityNameToString:()=>jf,enumerateInsertsAndDeletes:()=>Tt,equalOwnProperties:()=>en,equateStringsCaseInsensitive:()=>Fn,equateStringsCaseSensitive:()=>Gn,equateValues:()=>Pn,esDecorateHelper:()=>AL,escapeJsxAttributeString:()=>lv,escapeLeadingUnderscores:()=>Oc,escapeNonAsciiString:()=>sv,escapeSnippetText:()=>PS,escapeString:()=>ov,every:()=>N,expandPreOrPostfixIncrementOrDecrementExpression:()=>RR,explainFiles:()=>ZK,explainIfFileIsRedirectAndImpliedFormat:()=>eW,exportAssignmentIsAlias:()=>oy,exportStarHelper:()=>qL,expressionResultIsUnused:()=>kS,extend:()=>cn,extendsHelper:()=>OL,extensionFromPath:()=>Qx,extensionIsTS:()=>Yx,externalHelpersModuleNameText:()=>s_,factory:()=>pA,fileExtensionIs:()=>to,fileExtensionIsOneOf:()=>ro,fileIncludeReasonToDiagnostics:()=>rW,filter:()=>j,filterMutate:()=>H,filterSemanticDiagnostics:()=>MH,find:()=>D,findAncestor:()=>Rc,findBestPatternMatch:()=>_t,findChildOfKind:()=>ZJ,findComputedPropertyNameCacheAssignment:()=>wN,findConfigFile:()=>$j,findContainingList:()=>eX,findDiagnosticForNode:()=>lQ,findFirstNonJsxWhitespaceToken:()=>fX,findIndex:()=>M,findLast:()=>O,findLastIndex:()=>P,findListItemInfo:()=>$J,findMap:()=>F,findModifier:()=>wY,findNextToken:()=>hX,findPackageJson:()=>tQ,findPackageJsons:()=>nQ,findPrecedingMatchingToken:()=>CX,findPrecedingToken:()=>gX,findSuperStatementIndex:()=>YB,findTokenOnLeftOfPosition:()=>mX,findUseStrictPrologue:()=>PR,first:()=>Me,firstDefined:()=>C,firstDefinedIterator:()=>k,firstIterator:()=>Pe,firstOrOnly:()=>fQ,firstOrUndefined:()=>De,firstOrUndefinedIterator:()=>Oe,fixupCompilerOptions:()=>y0,flatMap:()=>X,flatMapIterator:()=>$,flatMapToMutable:()=>Y,flatten:()=>J,flattenCommaList:()=>NN,flattenDestructuringAssignment:()=>pU,flattenDestructuringBinding:()=>hU,flattenDiagnosticMessageText:()=>pH,forEach:()=>A,forEachAncestor:()=>_p,forEachAncestorDirectory:()=>Bo,forEachChild:()=>ED,forEachChildRecursively:()=>TD,forEachEmittedFile:()=>YV,forEachEnclosingBlockScopeContainer:()=>Pf,forEachEntry:()=>pp,forEachExternalModuleToImportFrom:()=>FQ,forEachImportClauseDeclaration:()=>yg,forEachKey:()=>fp,forEachLeadingCommentRange:()=>Os,forEachNameInAccessChainWalkingLeft:()=>aT,forEachResolvedProjectReference:()=>SH,forEachReturnStatement:()=>Em,forEachRight:()=>L,forEachTrailingCommentRange:()=>Ms,forEachUnique:()=>MY,forEachYieldExpression:()=>Tm,forSomeAncestorDirectory:()=>zE,formatColorAndReset:()=>lH,formatDiagnostic:()=>sH,formatDiagnostics:()=>oH,formatDiagnosticsWithColorAndContext:()=>_H,formatGeneratedName:()=>LN,formatGeneratedNamePart:()=>AN,formatLocation:()=>uH,formatMessage:()=>AT,formatStringFromArgs:()=>hT,formatting:()=>sfe,fullTripleSlashAMDReferencePathRegEx:()=>f_,fullTripleSlashReferencePathRegEx:()=>__,generateDjb2Hash:()=>La,generateTSConfig:()=>_M,generatorHelper:()=>VL,getAdjustedReferenceLocation:()=>cX,getAdjustedRenameLocation:()=>lX,getAliasDeclarationFromName:()=>iy,getAllAccessorDeclarations:()=>zv,getAllDecoratorsOfClass:()=>rU,getAllDecoratorsOfClassElement:()=>iU,getAllJSDocTags:()=>kl,getAllJSDocTagsOfKind:()=>Il,getAllKeys:()=>Xe,getAllProjectOutputs:()=>dj,getAllSuperTypeNodes:()=>_y,getAllUnscopedEmitHelpers:()=>rC,getAllowJSCompilerOption:()=>ox,getAllowSyntheticDefaultImports:()=>$T,getAncestor:()=>my,getAnyExtensionFromPath:()=>_o,getAreDeclarationMapsEnabled:()=>XT,getAssignedExpandoInitializer:()=>Vh,getAssignedName:()=>qc,getAssignmentDeclarationKind:()=>Yh,getAssignmentDeclarationPropertyAccessKind:()=>og,getAssignmentTargetKind:()=>Vg,getAutomaticTypeDirectiveNames:()=>LP,getBaseFileName:()=>lo,getBinaryOperatorPrecedence:()=>ev,getBuildInfo:()=>hj,getBuildInfoFileVersionMap:()=>SK,getBuildInfoText:()=>mj,getBuildOrderFromAnyBuildOrder:()=>OW,getBuilderCreationParameters:()=>fK,getBuilderFileEmit:()=>XH,getCheckFlags:()=>DE,getClassExtendsHeritageElement:()=>dy,getClassLikeDeclarationOfSymbol:()=>WE,getCombinedLocalAndExportSymbolFlags:()=>PE,getCombinedModifierFlags:()=>Lc,getCombinedNodeFlags:()=>kc,getCombinedNodeFlagsAlwaysIncludeJSDoc:()=>Cc,getCommentRange:()=>JA,getCommonSourceDirectory:()=>cj,getCommonSourceDirectoryOfConfig:()=>lj,getCompilerOptionValue:()=>ux,getCompilerOptionsDiffValue:()=>dM,getConditions:()=>SP,getConfigFileParsingDiagnostics:()=>wH,getConstantValue:()=>rL,getContainerNode:()=>MJ,getContainingClass:()=>Wm,getContainingClassStaticBlock:()=>qm,getContainingFunction:()=>Hm,getContainingFunctionDeclaration:()=>Km,getContainingFunctionOrClassStaticBlock:()=>zm,getContainingNodeArray:()=>wS,getContainingObjectLiteralElement:()=>l2,getContextualTypeFromParent:()=>P$,getContextualTypeFromParentOrAncestorTypeNode:()=>iX,getCurrentTime:()=>NW,getDeclarationDiagnostics:()=>SV,getDeclarationEmitExtensionForPath:()=>Lv,getDeclarationEmitOutputFilePath:()=>Sv,getDeclarationEmitOutputFilePathWorker:()=>Av,getDeclarationFromName:()=>ey,getDeclarationModifierFlagsFromSymbol:()=>OE,getDeclarationOfKind:()=>ip,getDeclarationsOfKind:()=>ap,getDeclaredExpandoInitializer:()=>Uh,getDecorators:()=>zc,getDefaultCompilerOptions:()=>t2,getDefaultExportInfoWorker:()=>jQ,getDefaultFormatCodeSettings:()=>Yz,getDefaultLibFileName:()=>nc,getDefaultLibFilePath:()=>u2,getDefaultLikeExportInfo:()=>UQ,getDiagnosticText:()=>VO,getDiagnosticsWithinSpan:()=>dQ,getDirectoryPath:()=>co,getDocumentPositionMapper:()=>QZ,getESModuleInterop:()=>YT,getEditsForFileRename:()=>pZ,getEffectiveBaseTypeNode:()=>ly,getEffectiveConstraintOfTypeParameter:()=>Nl,getEffectiveContainerForJSDocTemplateTag:()=>Og,getEffectiveImplementsTypeNodes:()=>uy,getEffectiveInitializer:()=>Bh,getEffectiveJSDocHost:()=>Pg,getEffectiveModifierFlags:()=>Tb,getEffectiveModifierFlagsAlwaysIncludeJSDoc:()=>xb,getEffectiveModifierFlagsNoCache:()=>Lb,getEffectiveReturnTypeNode:()=>Yv,getEffectiveSetAccessorTypeAnnotationNode:()=>Qv,getEffectiveTypeAnnotationNode:()=>Jv,getEffectiveTypeParameterDeclarations:()=>Rl,getEffectiveTypeRoots:()=>bP,getElementOrPropertyAccessArgumentExpressionOrName:()=>ig,getElementOrPropertyAccessName:()=>ag,getElementsOfBindingOrAssignmentPattern:()=>oN,getEmitDeclarations:()=>tx,getEmitFlags:()=>of,getEmitHelpers:()=>cL,getEmitModuleDetectionKind:()=>HT,getEmitModuleKind:()=>UT,getEmitModuleResolutionKind:()=>jT,getEmitScriptTarget:()=>BT,getEnclosingBlockScopeContainer:()=>Mf,getEncodedSemanticClassifications:()=>QQ,getEncodedSyntacticClassifications:()=>rZ,getEndLinePosition:()=>Mp,getEntityNameFromTypeNode:()=>ah,getEntrypointsFromPackageJsonInfo:()=>oF,getErrorCountForSummary:()=>qK,getErrorSpanForNode:()=>nm,getErrorSummaryText:()=>YK,getEscapedTextOfIdentifierOrLiteral:()=>Dy,getExpandoInitializer:()=>jh,getExportAssignmentExpression:()=>sy,getExportInfoMap:()=>BQ,getExportNeedsImportStarHelper:()=>BB,getExpressionAssociativity:()=>Xy,getExpressionPrecedence:()=>$y,getExternalHelpersModuleName:()=>zR,getExternalModuleImportEqualsDeclarationExpression:()=>bh,getExternalModuleName:()=>mg,getExternalModuleNameFromDeclaration:()=>Ev,getExternalModuleNameFromPath:()=>Tv,getExternalModuleNameLiteral:()=>QR,getExternalModuleRequireArgument:()=>Eh,getFallbackOptions:()=>Mj,getFileEmitOutput:()=>WH,getFileMatcherPatterns:()=>Cx,getFileNamesFromConfigSpecs:()=>UM,getFileWatcherEventKind:()=>Da,getFilesInErrorForSummary:()=>zK,getFirstConstructorWithBody:()=>Bv,getFirstIdentifier:()=>Kb,getFirstNonSpaceCharacterPosition:()=>m$,getFirstProjectOutput:()=>_j,getFixableErrorSpanExpression:()=>_Q,getFormatCodeSettingsForWriting:()=>kQ,getFullWidth:()=>gp,getFunctionFlags:()=>Sy,getHeritageClause:()=>fy,getHostSignatureFromJSDoc:()=>Mg,getIdentifierAutoGenerate:()=>yL,getIdentifierGeneratedImportReference:()=>bL,getIdentifierTypeArguments:()=>hL,getImmediatelyInvokedFunctionExpression:()=>Zm,getImpliedNodeFormatForFile:()=>RH,getImpliedNodeFormatForFileWorker:()=>NH,getImportNeedsImportDefaultHelper:()=>VB,getImportNeedsImportStarHelper:()=>UB,getIndentSize:()=>pv,getIndentString:()=>_v,getInitializedVariables:()=>IE,getInitializerOfBinaryExpression:()=>sg,getInitializerOfBindingOrAssignmentElement:()=>eN,getInterfaceBaseTypeNodes:()=>py,getInternalEmitFlags:()=>sf,getInvokedExpression:()=>oh,getIsolatedModules:()=>WT,getJSDocAugmentsTag:()=>tl,getJSDocClassTag:()=>il,getJSDocCommentRanges:()=>ym,getJSDocCommentsAndTags:()=>Ig,getJSDocDeprecatedTag:()=>fl,getJSDocDeprecatedTagNoCache:()=>ml,getJSDocEnumTag:()=>hl,getJSDocHost:()=>Fg,getJSDocImplementsTags:()=>rl,getJSDocOverrideTagNoCache:()=>pl,getJSDocParameterTags:()=>Yc,getJSDocParameterTagsNoCache:()=>$c,getJSDocPrivateTag:()=>sl,getJSDocPrivateTagNoCache:()=>cl,getJSDocProtectedTag:()=>ll,getJSDocProtectedTagNoCache:()=>dl,getJSDocPublicTag:()=>al,getJSDocPublicTagNoCache:()=>ol,getJSDocReadonlyTag:()=>ul,getJSDocReadonlyTagNoCache:()=>_l,getJSDocReturnTag:()=>yl,getJSDocReturnType:()=>xl,getJSDocRoot:()=>Gg,getJSDocSatisfiesExpressionType:()=>$S,getJSDocSatisfiesTag:()=>bl,getJSDocTags:()=>Al,getJSDocTagsNoCache:()=>Ll,getJSDocTemplateTag:()=>vl,getJSDocThisTag:()=>gl,getJSDocType:()=>Tl,getJSDocTypeAliasName:()=>sN,getJSDocTypeAssertionType:()=>VR,getJSDocTypeParameterDeclarations:()=>$v,getJSDocTypeParameterTags:()=>Zc,getJSDocTypeParameterTagsNoCache:()=>el,getJSDocTypeTag:()=>El,getJSXImplicitImportBase:()=>px,getJSXRuntimeImport:()=>fx,getJSXTransformEnabled:()=>_x,getKeyForCompilerOptions:()=>kP,getLanguageVariant:()=>OT,getLastChild:()=>YE,getLeadingCommentRanges:()=>Bs,getLeadingCommentRangesOfNode:()=>gm,getLeftmostAccessExpression:()=>iT,getLeftmostExpression:()=>oT,getLineAndCharacterOfPosition:()=>bs,getLineInfo:()=>bB,getLineOfLocalPosition:()=>Fv,getLineOfLocalPositionFromLineMap:()=>Gv,getLineStartPositionForPosition:()=>GJ,getLineStarts:()=>hs,getLinesBetweenPositionAndNextNonWhitespaceCharacter:()=>CE,getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter:()=>LE,getLinesBetweenPositions:()=>vs,getLinesBetweenRangeEndAndRangeStart:()=>EE,getLinesBetweenRangeEndPositions:()=>TE,getLiteralText:()=>lf,getLocalNameForExternalImport:()=>$R,getLocalSymbolForExportDefault:()=>eE,getLocaleSpecificMessage:()=>vT,getLocaleTimeString:()=>HK,getMappedContextSpan:()=>BY,getMappedDocumentSpan:()=>GY,getMappedLocation:()=>FY,getMatchedFileSpec:()=>nW,getMatchedIncludeSpec:()=>tW,getMeaningFromDeclaration:()=>sJ,getMeaningFromLocation:()=>cJ,getMembersOfDeclaration:()=>Sm,getModeForFileReference:()=>fH,getModeForResolutionAtIndex:()=>mH,getModeForUsageLocation:()=>gH,getModifiedTime:()=>ka,getModifiers:()=>Jc,getModuleInstanceState:()=>BF,getModuleNameStringLiteralAt:()=>VH,getModuleSpecifierEndingPreference:()=>Bx,getModuleSpecifierResolverHost:()=>mY,getNameForExportedSymbol:()=>hQ,getNameFromIndexInfo:()=>Gf,getNameFromPropertyName:()=>dY,getNameOfAccessExpression:()=>nT,getNameOfCompilerOptionValue:()=>sM,getNameOfDeclaration:()=>Wc,getNameOfExpando:()=>Kh,getNameOfJSDocTypedef:()=>jc,getNameOrArgument:()=>rg,getNameTable:()=>c2,getNamesForExportedSymbol:()=>mQ,getNamespaceDeclarationNode:()=>hg,getNewLineCharacter:()=>cE,getNewLineKind:()=>LQ,getNewLineOrDefaultFromHost:()=>r$,getNewTargetContainer:()=>$m,getNextJSDocCommentLocation:()=>Ng,getNodeForGeneratedName:()=>SN,getNodeId:()=>KG,getNodeKind:()=>PJ,getNodeModifiers:()=>MX,getNodeModulePathParts:()=>US,getNonAssignedNameOfDeclaration:()=>Kc,getNonAssignmentOperatorForCompoundAssignment:()=>JB,getNonAugmentationDeclaration:()=>xf,getNonDecoratorTokenPosOfNode:()=>Qp,getNormalizedAbsolutePath:()=>bo,getNormalizedAbsolutePathWithoutRoot:()=>To,getNormalizedPathComponents:()=>vo,getObjectFlags:()=>qE,getOperator:()=>Qy,getOperatorAssociativity:()=>Yy,getOperatorPrecedence:()=>Zy,getOptionFromName:()=>FO,getOptionsNameMap:()=>CO,getOrCreateEmitNode:()=>MA,getOrCreateExternalHelpersModuleNameIfNeeded:()=>YR,getOrUpdate:()=>re,getOriginalNode:()=>wc,getOriginalNodeId:()=>PB,getOriginalSourceFile:()=>Jy,getOutputDeclarationFileName:()=>rj,getOutputExtension:()=>nj,getOutputFileNames:()=>uj,getOutputPathsFor:()=>ZV,getOutputPathsForBundle:()=>QV,getOwnEmitOutputFilePath:()=>xv,getOwnKeys:()=>Je,getOwnValues:()=>Ye,getPackageJsonInfo:()=>uF,getPackageJsonTypesVersionsPaths:()=>vP,getPackageJsonsVisibleToFile:()=>rQ,getPackageNameFromTypesPackageName:()=>kF,getPackageScopeForPath:()=>lF,getParameterSymbolFromJSDoc:()=>Dg,getParameterTypeNode:()=>VS,getParentNodeInSpan:()=>kY,getParseTreeNode:()=>Dc,getParsedCommandLineOfConfigFile:()=>jO,getPathComponents:()=>po,getPathComponentsRelativeTo:()=>Oo,getPathFromPathComponents:()=>fo,getPathUpdater:()=>fZ,getPathsBasePath:()=>Iv,getPatternFromSpec:()=>Sx,getPendingEmitKind:()=>YH,getPositionOfLineAndCharacter:()=>fs,getPossibleGenericSignatures:()=>wX,getPossibleOriginalInputExtensionForExtension:()=>Cv,getPossibleTypeArgumentsInfo:()=>RX,getPreEmitDiagnostics:()=>aH,getPrecedingNonSpaceCharacterPosition:()=>h$,getPrivateIdentifier:()=>cU,getProperties:()=>$B,getProperty:()=>ze,getPropertyArrayElementValue:()=>Bm,getPropertyAssignment:()=>Gm,getPropertyAssignmentAliasLikeExpression:()=>cy,getPropertyNameForPropertyNameNode:()=>wy,getPropertyNameForUniqueESSymbol:()=>Oy,getPropertyNameOfBindingOrAssignmentElement:()=>rN,getPropertySymbolFromBindingElement:()=>CY,getPropertySymbolsFromContextualType:()=>d2,getQuoteFromPreference:()=>TY,getQuotePreference:()=>EY,getRangesWhere:()=>le,getRefactorContextSpan:()=>uQ,getReferencedFileLocation:()=>kH,getRegexFromPattern:()=>kx,getRegularExpressionForWildcard:()=>Ex,getRegularExpressionsForWildcards:()=>Tx,getRelativePathFromDirectory:()=>Mo,getRelativePathFromFile:()=>Fo,getRelativePathToDirectoryOrUrl:()=>Go,getRenameLocation:()=>I$,getReplacementSpanForContextToken:()=>JX,getResolutionDiagnostic:()=>BH,getResolutionModeOverrideForClause:()=>yH,getResolveJsonModule:()=>nx,getResolvePackageJsonExports:()=>ZT,getResolvePackageJsonImports:()=>ex,getResolvedExternalModuleName:()=>vv,getResolvedModule:()=>yp,getResolvedTypeReferenceDirective:()=>Ep,getRestIndicatorOfBindingOrAssignmentElement:()=>tN,getRestParameterElementType:()=>xm,getRightMostAssignedExpression:()=>qh,getRootDeclaration:()=>Wy,getRootLength:()=>so,getScriptKind:()=>u$,getScriptKindFromFileName:()=>Dx,getScriptTargetFeatures:()=>cf,getSelectedEffectiveModifierFlags:()=>vb,getSelectedSyntacticModifierFlags:()=>bb,getSemanticClassifications:()=>YQ,getSemanticJsxChildren:()=>nv,getSetAccessorTypeAnnotationNode:()=>Vv,getSetAccessorValueParameter:()=>Uv,getSetExternalModuleIndicator:()=>GT,getShebang:()=>Vs,getSingleInitializerOfVariableStatementOrPropertyDeclaration:()=>Sg,getSingleVariableOfVariableStatement:()=>Ag,getSnapshotText:()=>sY,getSnippetElement:()=>dL,getSourceFileOfModule:()=>wp,getSourceFileOfNode:()=>Ip,getSourceFilePathInNewDir:()=>Nv,getSourceFilePathInNewDirWorker:()=>Dv,getSourceFileVersionAsHashFromText:()=>dW,getSourceFilesToEmit:()=>wv,getSourceMapRange:()=>jA,getSourceMapper:()=>$Z,getSourceTextOfNodeFromSourceFile:()=>Zp,getSpanOfTokenAtPosition:()=>Zf,getSpellingSuggestion:()=>Qn,getStartPositionOfLine:()=>Dp,getStartPositionOfRange:()=>AE,getStartsOnNewLine:()=>qA,getStaticPropertiesAndClassStaticBlock:()=>ZB,getStrictOptionValue:()=>ax,getStringComparer:()=>qn,getSuperCallFromStatement:()=>XB,getSuperContainer:()=>Qm,getSupportedCodeFixes:()=>r2,getSupportedExtensions:()=>Ox,getSupportedExtensionsWithJsonIfResolveJsonModule:()=>Mx,getSwitchedType:()=>V$,getSymbolId:()=>WG,getSymbolNameForPrivateIdentifier:()=>My,getSymbolTarget:()=>_$,getSyntacticClassifications:()=>tZ,getSyntacticModifierFlags:()=>Sb,getSyntacticModifierFlagsNoCache:()=>Cb,getSynthesizedDeepClone:()=>g$,getSynthesizedDeepCloneWithReplacements:()=>y$,getSynthesizedDeepClones:()=>b$,getSynthesizedDeepClonesWithReplacements:()=>E$,getSyntheticLeadingComments:()=>YA,getSyntheticTrailingComments:()=>ZA,getTargetLabel:()=>TJ,getTargetOfBindingOrAssignmentElement:()=>nN,getTemporaryModuleResolutionState:()=>cF,getTextOfConstantValue:()=>df,getTextOfIdentifierOrLiteral:()=>Ny,getTextOfJSDocComment:()=>wl,getTextOfNode:()=>tf,getTextOfNodeFromSourceText:()=>nf,getTextOfPropertyName:()=>Vf,getThisContainer:()=>Jm,getThisParameter:()=>jv,getTokenAtPosition:()=>_X,getTokenPosOfNode:()=>$p,getTokenSourceMapRange:()=>KA,getTouchingPropertyName:()=>dX,getTouchingToken:()=>uX,getTrailingCommentRanges:()=>Us,getTrailingSemicolonDeferringWriter:()=>hv,getTransformFlagsSubtreeExclusions:()=>LA,getTransformers:()=>DV,getTsBuildInfoEmitOutputFilePath:()=>$V,getTsConfigObjectLiteralExpression:()=>Um,getTsConfigPropArray:()=>jm,getTsConfigPropArrayElementValue:()=>Vm,getTypeAnnotationNode:()=>Xv,getTypeArgumentOrTypeParameterList:()=>PX,getTypeKeywordOfTypeOnlyImport:()=>NY,getTypeNode:()=>fL,getTypeNodeIfAccessible:()=>j$,getTypeParameterFromJsDoc:()=>Bg,getTypeParameterOwner:()=>bc,getTypesPackageName:()=>LF,getUILocale:()=>zn,getUniqueName:()=>k$,getUniqueSymbolId:()=>f$,getUseDefineForClassFields:()=>sx,getWatchErrorSummaryDiagnosticMessage:()=>JK,getWatchFactory:()=>Oj,group:()=>an,groupBy:()=>on,guessIndentation:()=>n_,handleNoEmitOptions:()=>OH,hasAbstractModifier:()=>fb,hasAccessorModifier:()=>hb,hasAmbientModifier:()=>mb,hasChangesInResolutions:()=>Cp,hasChildOfKind:()=>QJ,hasContextSensitiveParameters:()=>RS,hasDecorators:()=>yb,hasDocComment:()=>DX,hasDynamicName:()=>ky,hasEffectiveModifier:()=>lb,hasEffectiveModifiers:()=>sb,hasEffectiveReadonlyModifier:()=>gb,hasExtension:()=>no,hasIndexSignature:()=>U$,hasInitializer:()=>$u,hasInvalidEscape:()=>rv,hasJSDocNodes:()=>Xu,hasJSDocParameterTags:()=>nl,hasJSFileExtension:()=>Px,hasJsonModuleEmitEnabled:()=>KT,hasOnlyExpressionInitializer:()=>Qu,hasOverrideModifier:()=>pb,hasPossibleExternalModuleReference:()=>Df,hasProperty:()=>qe,hasPropertyAccessExpressionWithName:()=>xJ,hasQuestionToken:()=>vg,hasRecordedExternalHelpers:()=>JR,hasRestParameter:()=>i_,hasScopeMarker:()=>hu,hasStaticModifier:()=>_b,hasSyntacticModifier:()=>db,hasSyntacticModifiers:()=>cb,hasTSFileExtension:()=>Fx,hasTabstop:()=>qS,hasTrailingDirectorySeparator:()=>io,hasType:()=>Yu,hasTypeArguments:()=>Ug,hasZeroOrOneAsteriskCharacter:()=>mx,helperString:()=>tC,hostGetCanonicalFileName:()=>yv,hostUsesCaseSensitiveFileNames:()=>gv,idText:()=>Pc,identifierIsThisKeyword:()=>qv,identifierToKeywordKind:()=>Fc,identity:()=>Cn,identitySourceMapConsumer:()=>gB,ignoreSourceNewlines:()=>_L,ignoredPaths:()=>Ea,importDefaultHelper:()=>WL,importFromModuleSpecifier:()=>pg,importNameElisionDisabled:()=>qT,importStarHelper:()=>KL,indexOfAnyCharCode:()=>U,indexOfNode:()=>af,indicesOf:()=>_e,inferredTypesContainingFile:()=>zj,insertImports:()=>RY,insertLeadingStatement:()=>CR,insertSorted:()=>me,insertStatementAfterCustomPrologue:()=>zp,insertStatementAfterStandardPrologue:()=>qp,insertStatementsAfterCustomPrologue:()=>Wp,insertStatementsAfterStandardPrologue:()=>Kp,intersperse:()=>R,introducesArgumentsExoticObject:()=>Rm,inverseJsxOptionMap:()=>VD,isAbstractConstructorSymbol:()=>KE,isAbstractModifier:()=>OC,isAccessExpression:()=>eT,isAccessibilityModifier:()=>jX,isAccessor:()=>Od,isAccessorModifier:()=>PC,isAliasSymbolDeclaration:()=>ry,isAliasableExpression:()=>ay,isAmbientModule:()=>ff,isAmbientPropertyDeclaration:()=>Lf,isAnonymousFunctionDefinition:()=>Uy,isAnyDirectorySeparator:()=>Ja,isAnyImportOrBareOrAccessedRequire:()=>Rf,isAnyImportOrReExport:()=>Of,isAnyImportSyntax:()=>wf,isAnySupportedFileExtension:()=>Zx,isApplicableVersionedTypesKey:()=>bF,isArgumentExpressionOfElementAccess:()=>wJ,isArray:()=>gn,isArrayBindingElement:()=>qd,isArrayBindingOrAssignmentElement:()=>Zd,isArrayBindingOrAssignmentPattern:()=>Qd,isArrayBindingPattern:()=>Ck,isArrayLiteralExpression:()=>Ik,isArrayLiteralOrObjectLiteralDestructuringPattern:()=>KX,isArrayTypeNode:()=>ck,isArrowFunction:()=>Bk,isAsExpression:()=>eI,isAssertClause:()=>HI,isAssertEntry:()=>KI,isAssertionExpression:()=>_u,isAssertionKey:()=>_d,isAssertsKeyword:()=>wC,isAssignmentDeclaration:()=>Gh,isAssignmentExpression:()=>Bb,isAssignmentOperator:()=>Pb,isAssignmentPattern:()=>Wd,isAssignmentTarget:()=>jg,isAsteriskToken:()=>vC,isAsyncFunction:()=>Ay,isAsyncModifier:()=>IC,isAutoAccessorPropertyDeclaration:()=>Md,isAwaitExpression:()=>Hk,isAwaitKeyword:()=>RC,isBigIntLiteral:()=>sC,isBinaryExpression:()=>qk,isBinaryOperatorToken:()=>yN,isBindableObjectDefinePropertyCall:()=>$h,isBindableStaticAccessExpression:()=>eg,isBindableStaticElementAccessExpression:()=>ng,isBindableStaticNameExpression:()=>tg,isBindingElement:()=>kk,isBindingElementOfBareOrAccessedRequire:()=>Dh,isBindingName:()=>Sd,isBindingOrAssignmentElement:()=>Jd,isBindingOrAssignmentPattern:()=>Xd,isBindingPattern:()=>Kd,isBlock:()=>lI,isBlockOrCatchScoped:()=>_f,isBlockScope:()=>Cf,isBlockScopedContainerTopLevel:()=>vf,isBooleanLiteral:()=>kd,isBreakOrContinueStatement:()=>ql,isBreakStatement:()=>bI,isBuildInfoFile:()=>XV,isBuilderProgram:()=>$K,isBundle:()=>Lw,isBundleFileTextLike:()=>tT,isCallChain:()=>Fl,isCallExpression:()=>Dk,isCallExpressionTarget:()=>dJ,isCallLikeExpression:()=>tu,isCallOrNewExpression:()=>ru,isCallOrNewExpressionTarget:()=>_J,isCallSignatureDeclaration:()=>ZC,isCallToHelper:()=>iC,isCaseBlock:()=>FI,isCaseClause:()=>hw,isCaseKeyword:()=>BC,isCaseOrDefaultClause:()=>Hu,isCatchClause:()=>vw,isCatchClauseVariableDeclaration:()=>DS,isCatchClauseVariableDeclarationOrBindingElement:()=>pf,isCheckJsEnabledForFile:()=>nS,isChildOfNodeWithKind:()=>bm,isCircularBuildOrder:()=>DW,isClassDeclaration:()=>RI,isClassElement:()=>Nd,isClassExpression:()=>$k,isClassLike:()=>Dd,isClassMemberModifier:()=>bd,isClassOrTypeElement:()=>Ud,isClassStaticBlockDeclaration:()=>XC,isCollapsedRange:()=>fE,isColonToken:()=>TC,isCommaExpression:()=>GR,isCommaListExpression:()=>oI,isCommaSequence:()=>BR,isCommaToken:()=>hC,isComment:()=>FX,isCommonJsExportPropertyAssignment:()=>Im,isCommonJsExportedExpression:()=>km,isCompoundAssignment:()=>zB,isComputedNonLiteralName:()=>Bf,isComputedPropertyName:()=>VC,isConciseBody:()=>bu,isConditionalExpression:()=>zk,isConditionalTypeNode:()=>mk,isConstTypeReference:()=>Hl,isConstructSignatureDeclaration:()=>ek,isConstructorDeclaration:()=>YC,isConstructorTypeNode:()=>ak,isContextualKeyword:()=>gy,isContinueStatement:()=>vI,isCustomPrologue:()=>pm,isDebuggerStatement:()=>CI,isDeclaration:()=>Nu,isDeclarationBindingElement:()=>zd,isDeclarationFileName:()=>ND,isDeclarationName:()=>Zg,isDeclarationNameOfEnumOrNamespace:()=>kE,isDeclarationReadonly:()=>am,isDeclarationStatement:()=>Du,isDeclarationWithTypeParameterChildren:()=>If,isDeclarationWithTypeParameters:()=>kf,isDecorator:()=>KC,isDecoratorTarget:()=>fJ,isDefaultClause:()=>gw,isDefaultImport:()=>gg,isDefaultModifier:()=>kC,isDefaultedExpandoInitializer:()=>Hh,isDeleteExpression:()=>Uk,isDeleteTarget:()=>$g,isDeprecatedDeclaration:()=>SQ,isDestructuringAssignment:()=>Vb,isDiagnosticWithLocation:()=>cQ,isDiskPathRoot:()=>$a,isDoStatement:()=>fI,isDotDotDotToken:()=>mC,isDottedName:()=>Wb,isDynamicName:()=>Iy,isESSymbolIdentifier:()=>Gy,isEffectiveExternalModule:()=>Sf,isEffectiveModuleDeclaration:()=>gf,isEffectiveStrictModeSourceFile:()=>Af,isElementAccessChain:()=>Pl,isElementAccessExpression:()=>Nk,isEmittedFileOfProgram:()=>Dj,isEmptyArrayLiteral:()=>Zb,isEmptyBindingElement:()=>xc,isEmptyBindingPattern:()=>Tc,isEmptyObjectLiteral:()=>Qb,isEmptyStatement:()=>uI,isEmptyStringLiteral:()=>ph,isEndOfDeclarationMarker:()=>rw,isEntityName:()=>Td,isEntityNameExpression:()=>Hb,isEnumConst:()=>im,isEnumDeclaration:()=>OI,isEnumMember:()=>xw,isEqualityOperatorKind:()=>G$,isEqualsGreaterThanToken:()=>SC,isExclamationToken:()=>bC,isExcludedFile:()=>VM,isExclusivelyTypeOnlyImportOrExport:()=>hH,isExportAssignment:()=>XI,isExportDeclaration:()=>YI,isExportModifier:()=>CC,isExportName:()=>OR,isExportNamespaceAsDefaultDeclaration:()=>ef,isExportOrDefaultModifier:()=>EN,isExportSpecifier:()=>QI,isExportsIdentifier:()=>zh,isExportsOrModuleExportsOrAlias:()=>qF,isExpression:()=>uu,isExpressionNode:()=>mh,isExpressionOfExternalModuleImportEqualsDeclaration:()=>OJ,isExpressionOfOptionalChainRoot:()=>Ul,isExpressionStatement:()=>_I,isExpressionWithTypeArguments:()=>Zk,isExpressionWithTypeArgumentsInClassExtendsClause:()=>jb,isExternalModule:()=>kD,isExternalModuleAugmentation:()=>Ef,isExternalModuleImportEqualsDeclaration:()=>vh,isExternalModuleIndicator:()=>yu,isExternalModuleNameRelative:()=>Zs,isExternalModuleReference:()=>iw,isExternalModuleSymbol:()=>aY,isExternalOrCommonJsModule:()=>tm,isFileLevelUniqueName:()=>Pp,isFileProbablyExternalModule:()=>nD,isFirstDeclarationOfSymbolParameter:()=>UY,isFixablePromiseHandler:()=>s0,isForInOrOfStatement:()=>vu,isForInStatement:()=>gI,isForInitializer:()=>Tu,isForOfStatement:()=>yI,isForStatement:()=>hI,isFunctionBlock:()=>Dm,isFunctionBody:()=>Eu,isFunctionDeclaration:()=>wI,isFunctionExpression:()=>Gk,isFunctionExpressionOrArrowFunction:()=>MS,isFunctionLike:()=>Ad,isFunctionLikeDeclaration:()=>Cd,isFunctionLikeKind:()=>wd,isFunctionLikeOrClassStaticBlockDeclaration:()=>Ld,isFunctionOrConstructorTypeNode:()=>Hd,isFunctionOrModuleBlock:()=>Rd,isFunctionSymbol:()=>ug,isFunctionTypeNode:()=>ik,isFutureReservedKeyword:()=>vy,isGeneratedIdentifier:()=>fd,isGeneratedPrivateIdentifier:()=>md,isGetAccessor:()=>Ju,isGetAccessorDeclaration:()=>$C,isGetOrSetAccessorDeclaration:()=>Ol,isGlobalDeclaration:()=>TQ,isGlobalScopeAugmentation:()=>bf,isGrammarError:()=>Bp,isHeritageClause:()=>yw,isHoistedFunction:()=>fm,isHoistedVariableStatement:()=>hm,isIdentifier:()=>AC,isIdentifierANonContextualKeyword:()=>Ty,isIdentifierName:()=>ty,isIdentifierOrThisTypeNode:()=>pN,isIdentifierPart:()=>Hs,isIdentifierStart:()=>js,isIdentifierText:()=>Ks,isIdentifierTypePredicate:()=>Pm,isIdentifierTypeReference:()=>hS,isIfStatement:()=>pI,isIgnoredFileFromWildCardWatching:()=>Nj,isImplicitGlob:()=>xx,isImportCall:()=>lm,isImportClause:()=>VI,isImportDeclaration:()=>UI,isImportEqualsDeclaration:()=>BI,isImportKeyword:()=>GC,isImportMeta:()=>dm,isImportOrExportSpecifier:()=>cd,isImportOrExportSpecifierName:()=>d$,isImportSpecifier:()=>JI,isImportTypeAssertionContainer:()=>jI,isImportTypeNode:()=>xk,isImportableFile:()=>PQ,isInComment:()=>NX,isInExpressionContext:()=>hh,isInJSDoc:()=>kh,isInJSFile:()=>Ah,isInJSXText:()=>AX,isInJsonFile:()=>Lh,isInNonReferenceComment:()=>qX,isInReferenceComment:()=>WX,isInRightSideOfInternalImportEqualsDeclaration:()=>lJ,isInString:()=>EX,isInTemplateString:()=>SX,isInTopLevelContext:()=>Ym,isIncrementalCompilation:()=>ix,isIndexSignatureDeclaration:()=>nk,isIndexedAccessTypeNode:()=>bk,isInferTypeNode:()=>hk,isInfinityOrNaNString:()=>NS,isInitializedProperty:()=>eU,isInitializedVariable:()=>wE,isInsideJsxElement:()=>LX,isInsideJsxElementOrAttribute:()=>TX,isInsideNodeModules:()=>sQ,isInsideTemplateLiteral:()=>VX,isInstantiatedModule:()=>qG,isInterfaceDeclaration:()=>NI,isInternalDeclaration:()=>LV,isInternalModuleImportEqualsDeclaration:()=>Th,isInternalName:()=>NR,isIntersectionTypeNode:()=>fk,isIntrinsicJsxName:()=>uv,isIterationStatement:()=>fu,isJSDoc:()=>jw,isJSDocAllType:()=>Ow,isJSDocAugmentsTag:()=>Ww,isJSDocAuthorTag:()=>qw,isJSDocCallbackTag:()=>Jw,isJSDocClassTag:()=>zw,isJSDocCommentContainingNode:()=>Wu,isJSDocConstructSignature:()=>bg,isJSDocDeprecatedTag:()=>nR,isJSDocEnumTag:()=>rR,isJSDocFunctionType:()=>Bw,isJSDocImplementsTag:()=>_R,isJSDocIndexSignature:()=>Ih,isJSDocLikeText:()=>eD,isJSDocLink:()=>Rw,isJSDocLinkCode:()=>Nw,isJSDocLinkLike:()=>r_,isJSDocLinkPlain:()=>Dw,isJSDocMemberName:()=>ww,isJSDocNameReference:()=>Iw,isJSDocNamepathType:()=>Vw,isJSDocNamespaceBody:()=>Au,isJSDocNode:()=>Ku,isJSDocNonNullableType:()=>Fw,isJSDocNullableType:()=>Pw,isJSDocOptionalParameter:()=>zS,isJSDocOptionalType:()=>Gw,isJSDocOverloadTag:()=>eR,isJSDocOverrideTag:()=>Zw,isJSDocParameterTag:()=>iR,isJSDocPrivateTag:()=>Yw,isJSDocPropertyLikeTag:()=>Yl,isJSDocPropertyTag:()=>uR,isJSDocProtectedTag:()=>$w,isJSDocPublicTag:()=>Xw,isJSDocReadonlyTag:()=>Qw,isJSDocReturnTag:()=>aR,isJSDocSatisfiesExpression:()=>YS,isJSDocSatisfiesTag:()=>pR,isJSDocSeeTag:()=>tR,isJSDocSignature:()=>Kw,isJSDocTag:()=>qu,isJSDocTemplateTag:()=>cR,isJSDocThisTag:()=>oR,isJSDocThrowsTag:()=>fR,isJSDocTypeAlias:()=>Eg,isJSDocTypeAssertion:()=>UR,isJSDocTypeExpression:()=>kw,isJSDocTypeLiteral:()=>Hw,isJSDocTypeTag:()=>sR,isJSDocTypedefTag:()=>lR,isJSDocUnknownTag:()=>dR,isJSDocUnknownType:()=>Mw,isJSDocVariadicType:()=>Uw,isJSXTagName:()=>fh,isJsonEqual:()=>lS,isJsonSourceFile:()=>rm,isJsxAttribute:()=>_w,isJsxAttributeLike:()=>Uu,isJsxAttributes:()=>pw,isJsxChild:()=>Bu,isJsxClosingElement:()=>cw,isJsxClosingFragment:()=>uw,isJsxElement:()=>aw,isJsxExpression:()=>mw,isJsxFragment:()=>lw,isJsxOpeningElement:()=>sw,isJsxOpeningFragment:()=>dw,isJsxOpeningLikeElement:()=>ju,isJsxOpeningLikeElementTagName:()=>mJ,isJsxSelfClosingElement:()=>ow,isJsxSpreadAttribute:()=>fw,isJsxTagNameExpression:()=>Gu,isJsxText:()=>lC,isJumpStatementTarget:()=>SJ,isKeyword:()=>hy,isKnownSymbol:()=>Py,isLabelName:()=>LJ,isLabelOfLabeledStatement:()=>AJ,isLabeledStatement:()=>SI,isLateVisibilityPaintedStatement:()=>Nf,isLeftHandSideExpression:()=>au,isLeftHandSideOfAssignment:()=>Ub,isLet:()=>sm,isLineBreak:()=>xs,isLiteralComputedPropertyDeclarationName:()=>ny,isLiteralExpression:()=>rd,isLiteralExpressionOfObject:()=>id,isLiteralImportTypeNode:()=>um,isLiteralKind:()=>td,isLiteralLikeAccess:()=>Qh,isLiteralLikeElementAccess:()=>Zh,isLiteralNameOfPropertyDeclarationOrIndexAccess:()=>DJ,isLiteralTypeLikeExpression:()=>gN,isLiteralTypeLiteral:()=>du,isLiteralTypeNode:()=>Tk,isLocalName:()=>DR,isLogicalOperator:()=>Rb,isLogicalOrCoalescingAssignmentExpression:()=>Db,isLogicalOrCoalescingAssignmentOperator:()=>Nb,isLogicalOrCoalescingBinaryExpression:()=>Mb,isLogicalOrCoalescingBinaryOperator:()=>Ob,isMappedTypeNode:()=>Ek,isMemberName:()=>Dl,isMergeDeclarationMarker:()=>tw,isMetaProperty:()=>rI,isMethodDeclaration:()=>JC,isMethodOrAccessor:()=>Pd,isMethodSignature:()=>zC,isMinusToken:()=>yC,isMissingDeclaration:()=>ZI,isModifier:()=>Ed,isModifierKind:()=>yd,isModifierLike:()=>Gd,isModuleAugmentationExternal:()=>Tf,isModuleBlock:()=>PI,isModuleBody:()=>xu,isModuleDeclaration:()=>MI,isModuleExportsAccessExpression:()=>Xh,isModuleIdentifier:()=>Jh,isModuleName:()=>hN,isModuleOrEnumDeclaration:()=>Cu,isModuleReference:()=>Fu,isModuleSpecifierLike:()=>AY,isModuleWithStringLiteralName:()=>mf,isNameOfFunctionDeclaration:()=>NJ,isNameOfModuleDeclaration:()=>RJ,isNamedClassElement:()=>Fd,isNamedDeclaration:()=>Hc,isNamedEvaluation:()=>jy,isNamedEvaluationSource:()=>Vy,isNamedExportBindings:()=>zl,isNamedExports:()=>$I,isNamedImportBindings:()=>Lu,isNamedImports:()=>zI,isNamedImportsOrExports:()=>rT,isNamedTupleMember:()=>dk,isNamespaceBody:()=>Su,isNamespaceExport:()=>qI,isNamespaceExportDeclaration:()=>GI,isNamespaceImport:()=>WI,isNamespaceReexportDeclaration:()=>yh,isNewExpression:()=>Ok,isNewExpressionTarget:()=>uJ,isNightly:()=>fv,isNoSubstitutionTemplateLiteral:()=>uC,isNode:()=>$l,isNodeArray:()=>nd,isNodeArrayMultiLine:()=>xE,isNodeDescendantOf:()=>Qg,isNodeKind:()=>Ql,isNodeLikeSystem:()=>wt,isNodeModulesDirectory:()=>Uo,isNodeWithPossibleHoistedDeclaration:()=>Hg,isNonContextualKeyword:()=>yy,isNonExportDefaultModifier:()=>TN,isNonGlobalAmbientModule:()=>hf,isNonGlobalDeclaration:()=>xQ,isNonNullAccess:()=>XS,isNonNullChain:()=>Wl,isNonNullExpression:()=>tI,isNonStaticMethodOrAccessorWithPrivateName:()=>nU,isNotEmittedOrPartiallyEmittedNode:()=>pu,isNotEmittedStatement:()=>ew,isNullishCoalesce:()=>jl,isNumber:()=>bn,isNumericLiteral:()=>oC,isNumericLiteralName:()=>FS,isObjectBindingElementWithoutPropertyName:()=>LY,isObjectBindingOrAssignmentElement:()=>$d,isObjectBindingOrAssignmentPattern:()=>Yd,isObjectBindingPattern:()=>Lk,isObjectLiteralElement:()=>Zu,isObjectLiteralElementLike:()=>Vd,isObjectLiteralExpression:()=>wk,isObjectLiteralMethod:()=>Om,isObjectLiteralOrClassExpressionMethodOrAccessor:()=>Mm,isObjectTypeDeclaration:()=>QE,isOctalDigit:()=>Ls,isOmittedExpression:()=>Qk,isOptionalChain:()=>Gl,isOptionalChainRoot:()=>Bl,isOptionalDeclaration:()=>JS,isOptionalJSDocPropertyLikeTag:()=>KS,isOptionalTypeNode:()=>uk,isOuterExpression:()=>jR,isOutermostOptionalChain:()=>Vl,isOverrideModifier:()=>MC,isPackedArrayLiteral:()=>CS,isParameter:()=>HC,isParameterDeclaration:()=>Ky,isParameterOrCatchClauseVariable:()=>OS,isParameterPropertyDeclaration:()=>Ec,isParameterPropertyModifier:()=>vd,isParenthesizedExpression:()=>Fk,isParenthesizedTypeNode:()=>gk,isParseTreeNode:()=>Nc,isPartOfTypeNode:()=>vm,isPartOfTypeQuery:()=>gh,isPartiallyEmittedExpression:()=>aI,isPatternMatch:()=>ht,isPinnedComment:()=>Xp,isPlainJsFile:()=>Rp,isPlusToken:()=>gC,isPossiblyTypeArgumentPosition:()=>IX,isPostfixUnaryExpression:()=>Wk,isPrefixUnaryExpression:()=>Kk,isPrivateIdentifier:()=>LC,isPrivateIdentifierClassElementDeclaration:()=>hd,isPrivateIdentifierPropertyAccessExpression:()=>gd,isPrivateIdentifierSymbol:()=>Fy,isProgramBundleEmitBuildInfo:()=>dK,isProgramUptoDate:()=>IH,isPrologueDirective:()=>_m,isPropertyAccessChain:()=>Ml,isPropertyAccessEntityNameExpression:()=>qb,isPropertyAccessExpression:()=>Rk,isPropertyAccessOrQualifiedName:()=>nu,isPropertyAccessOrQualifiedNameOrImportTypeNode:()=>eu,isPropertyAssignment:()=>bw,isPropertyDeclaration:()=>qC,isPropertyName:()=>xd,isPropertyNameLiteral:()=>Ry,isPropertySignature:()=>WC,isProtoSetter:()=>By,isPrototypeAccess:()=>Jb,isPrototypePropertyAssignment:()=>cg,isPunctuation:()=>UX,isPushOrUnshiftIdentifier:()=>Hy,isQualifiedName:()=>UC,isQuestionDotToken:()=>xC,isQuestionOrExclamationToken:()=>_N,isQuestionOrPlusOrMinusToken:()=>mN,isQuestionToken:()=>EC,isRawSourceMap:()=>xB,isReadonlyKeyword:()=>NC,isReadonlyKeywordOrPlusOrMinusToken:()=>fN,isRecognizedTripleSlashComment:()=>Jp,isReferenceFileLocation:()=>CH,isReferencedFile:()=>LH,isRegularExpressionLiteral:()=>dC,isRequireCall:()=>wh,isRequireVariableStatement:()=>Mh,isRestParameter:()=>a_,isRestTypeNode:()=>_k,isReturnStatement:()=>EI,isReturnStatementWithFixablePromiseHandler:()=>o0,isRightSideOfAccessExpression:()=>Yb,isRightSideOfPropertyAccess:()=>IJ,isRightSideOfQualifiedName:()=>kJ,isRightSideOfQualifiedNameOrPropertyAccess:()=>Xb,isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName:()=>$b,isRootedDiskPath:()=>Ya,isSameEntityName:()=>Wh,isSatisfiesExpression:()=>nI,isScopeMarker:()=>mu,isSemicolonClassElement:()=>cI,isSetAccessor:()=>zu,isSetAccessorDeclaration:()=>QC,isShebangTrivia:()=>Rs,isShorthandAmbientModuleSymbol:()=>yf,isShorthandPropertyAssignment:()=>Ew,isSignedNumericLiteral:()=>Cy,isSimpleCopiableExpression:()=>WB,isSimpleInlineableExpression:()=>qB,isSingleOrDoubleQuote:()=>Ph,isSourceFile:()=>Aw,isSourceFileFromLibrary:()=>wQ,isSourceFileJS:()=>xh,isSourceFileNotJS:()=>Sh,isSourceFileNotJson:()=>Ch,isSourceMapping:()=>CB,isSpecialPropertyDeclaration:()=>lg,isSpreadAssignment:()=>Tw,isSpreadElement:()=>Yk,isStatement:()=>Mu,isStatementButNotDeclaration:()=>Ou,isStatementOrBlock:()=>Pu,isStatementWithLocals:()=>Np,isStatic:()=>ub,isStaticModifier:()=>DC,isString:()=>vn,isStringAKeyword:()=>Ey,isStringANonContextualKeyword:()=>by,isStringAndEmptyAnonymousObjectIntersection:()=>BX,isStringDoubleQuoted:()=>Fh,isStringLiteral:()=>cC,isStringLiteralLike:()=>t_,isStringLiteralOrJsxExpression:()=>Vu,isStringLiteralOrTemplate:()=>B$,isStringOrNumericLiteralLike:()=>Ly,isStringOrRegularExpressionOrTemplateLiteral:()=>GX,isStringTextContainingNode:()=>pd,isSuperCall:()=>cm,isSuperKeyword:()=>FC,isSuperOrSuperProperty:()=>eh,isSuperProperty:()=>nh,isSupportedSourceFileName:()=>Ux,isSwitchStatement:()=>xI,isSyntaxList:()=>mR,isSyntheticExpression:()=>iI,isSyntheticReference:()=>nw,isTagName:()=>CJ,isTaggedTemplateExpression:()=>Mk,isTaggedTemplateTag:()=>pJ,isTemplateExpression:()=>Jk,isTemplateHead:()=>_C,isTemplateLiteral:()=>iu,isTemplateLiteralKind:()=>ad,isTemplateLiteralToken:()=>od,isTemplateLiteralTypeNode:()=>Ak,isTemplateLiteralTypeSpan:()=>Sk,isTemplateMiddle:()=>pC,isTemplateMiddleOrTemplateTail:()=>sd,isTemplateSpan:()=>sI,isTemplateTail:()=>fC,isTextWhiteSpaceLike:()=>PY,isThis:()=>FJ,isThisContainerOrFunctionBlock:()=>Xm,isThisIdentifier:()=>Kv,isThisInTypeQuery:()=>Wv,isThisInitializedDeclaration:()=>rh,isThisInitializedObjectBindingExpression:()=>ih,isThisProperty:()=>th,isThisTypeNode:()=>yk,isThisTypeParameter:()=>BS,isThisTypePredicate:()=>Fm,isThrowStatement:()=>AI,isToken:()=>ed,isTokenKind:()=>Zl,isTraceEnabled:()=>sP,isTransientSymbol:()=>sp,isTrivia:()=>xy,isTryStatement:()=>LI,isTupleTypeNode:()=>lk,isTypeAlias:()=>Tg,isTypeAliasDeclaration:()=>DI,isTypeAssertionExpression:()=>Pk,isTypeDeclaration:()=>jS,isTypeElement:()=>Bd,isTypeKeyword:()=>tY,isTypeKeywordToken:()=>rY,isTypeKeywordTokenOrIdentifier:()=>iY,isTypeLiteralNode:()=>sk,isTypeNode:()=>jd,isTypeNodeKind:()=>ZE,isTypeOfExpression:()=>Vk,isTypeOnlyExportDeclaration:()=>dd,isTypeOnlyImportDeclaration:()=>ld,isTypeOnlyImportOrExportDeclaration:()=>ud,isTypeOperatorNode:()=>vk,isTypeParameterDeclaration:()=>jC,isTypePredicateNode:()=>tk,isTypeQueryNode:()=>ok,isTypeReferenceNode:()=>rk,isTypeReferenceType:()=>e_,isUMDExportSymbol:()=>JE,isUnaryExpression:()=>su,isUnaryExpressionWithWrite:()=>lu,isUnicodeIdentifierStart:()=>ds,isUnionTypeNode:()=>pk,isUnparsedNode:()=>Xl,isUnparsedPrepend:()=>Sw,isUnparsedSource:()=>Cw,isUnparsedTextLike:()=>Jl,isUrl:()=>Xa,isValidBigIntString:()=>fS,isValidESSymbolDeclaration:()=>wm,isValidTypeOnlyAliasUseSite:()=>mS,isValueSignatureDeclaration:()=>Kg,isVarConst:()=>om,isVariableDeclaration:()=>kI,isVariableDeclarationInVariableStatement:()=>Cm,isVariableDeclarationInitializedToBareOrAccessedRequire:()=>Nh,isVariableDeclarationInitializedToRequire:()=>Rh,isVariableDeclarationList:()=>II,isVariableLike:()=>Am,isVariableLikeOrAccessor:()=>Lm,isVariableStatement:()=>dI,isVoidExpression:()=>jk,isWatchSet:()=>RE,isWhileStatement:()=>mI,isWhiteSpaceLike:()=>Es,isWhiteSpaceSingleLine:()=>Ts,isWithStatement:()=>TI,isWriteAccess:()=>GE,isWriteOnlyAccess:()=>FE,isYieldExpression:()=>Xk,jsxModeNeedsExplicitImport:()=>IQ,keywordPart:()=>KY,last:()=>Ge,lastOrUndefined:()=>Fe,length:()=>S,libMap:()=>KD,libs:()=>HD,lineBreakPart:()=>i$,linkNamePart:()=>e$,linkPart:()=>n$,linkTextPart:()=>ZY,listFiles:()=>QK,loadModuleFromGlobalCache:()=>DF,loadWithModeAwareCache:()=>xH,makeIdentifierFromModuleName:()=>uf,makeImport:()=>yY,makeImportIfNecessary:()=>gY,makeStringLiteral:()=>vY,mangleScopedPackageName:()=>CF,map:()=>W,mapAllOrFail:()=>Z,mapDefined:()=>ee,mapDefinedEntries:()=>te,mapDefinedIterator:()=>ne,mapEntries:()=>se,mapIterator:()=>q,mapOneOrMany:()=>pQ,mapToDisplayParts:()=>a$,matchFiles:()=>Ix,matchPatternOrExact:()=>tS,matchedText:()=>ut,matchesExclude:()=>HM,maybeBind:()=>dn,maybeSetLocalizedDiagnosticMessages:()=>yT,memoize:()=>Rn,memoizeCached:()=>On,memoizeOne:()=>Nn,memoizeWeak:()=>Dn,metadataHelper:()=>xL,min:()=>jn,minAndMax:()=>aS,missingFileModifiedTime:()=>ga,modifierToFlag:()=>Ib,modifiersToFlags:()=>kb,moduleOptionDeclaration:()=>JD,moduleResolutionIsEqualTo:()=>xp,moduleResolutionNameAndModeGetter:()=>Wj,moduleResolutionOptionDeclarations:()=>eO,moduleResolutionSupportsPackageJsonExportsAndImports:()=>QT,moduleResolutionUsesNodeModules:()=>hY,moduleSpecifiers:()=>LG,moveEmitHelpers:()=>lL,moveRangeEnd:()=>dE,moveRangePastDecorators:()=>_E,moveRangePastModifiers:()=>pE,moveRangePos:()=>uE,moveSyntheticComments:()=>tL,mutateMap:()=>HE,mutateMapSkippingNewValues:()=>jE,needsParentheses:()=>M$,needsScopeMarker:()=>gu,newCaseClauseTracker:()=>RQ,newPrivateEnvironment:()=>sU,noEmitNotification:()=>UV,noEmitSubstitution:()=>BV,noTransformers:()=>wV,noTruncationMaximumTruncationLength:()=>l_,nodeCanBeDecorated:()=>sh,nodeHasName:()=>Vc,nodeIsDecorated:()=>ch,nodeIsMissing:()=>Fp,nodeIsPresent:()=>Gp,nodeIsSynthesized:()=>zy,nodeModuleNameResolver:()=>KP,nodeModulesPathPart:()=>rP,nodeNextJsonConfigResolver:()=>WP,nodeOrChildIsDecorated:()=>lh,nodeOverlapsWithStartEnd:()=>qJ,nodePosToString:()=>Op,nodeSeenTracker:()=>oY,nodeStartsNewLexicalEnvironment:()=>qy,nodeToDisplayParts:()=>l$,noop:()=>xn,noopFileWatcher:()=>FK,noopPush:()=>d,normalizePath:()=>Eo,normalizeSlashes:()=>mo,not:()=>vt,notImplemented:()=>wn,notImplementedResolver:()=>HV,nullNodeConverters:()=>iA,nullParenthesizerRules:()=>nA,nullTransformationContext:()=>RV,objectAllocator:()=>D_,operatorPart:()=>qY,optionDeclarations:()=>YD,optionMapToObject:()=>iM,optionsAffectingProgramStructure:()=>tO,optionsForBuild:()=>iO,optionsForWatch:()=>WD,optionsHaveChanges:()=>up,optionsHaveModuleResolutionChanges:()=>lp,or:()=>yt,orderedRemoveItem:()=>at,orderedRemoveItemAt:()=>ot,outFile:()=>kv,packageIdToPackageName:()=>Sp,packageIdToString:()=>Ap,padLeft:()=>At,padRight:()=>Lt,paramHelper:()=>SL,parameterIsThisKeyword:()=>Hv,parameterNamePart:()=>zY,parseBaseNodeFactory:()=>HN,parseBigInt:()=>_S,parseBuildCommand:()=>UO,parseCommandLine:()=>PO,parseCommandLineWorker:()=>OO,parseConfigFileTextToJson:()=>KO,parseConfigFileWithSystem:()=>WK,parseConfigHostFromCompilerHostLike:()=>PH,parseCustomTypeOption:()=>wO,parseIsolatedEntityName:()=>LD,parseIsolatedJSDocComment:()=>wD,parseJSDocTypeExpressionForTests:()=>RD,parseJsonConfigFileContent:()=>mM,parseJsonSourceFileConfigFileContent:()=>hM,parseJsonText:()=>CD,parseListTypeOption:()=>RO,parseNodeFactory:()=>KN,parseNodeModuleFromPath:()=>YP,parsePackageName:()=>fF,parsePseudoBigInt:()=>dS,parseValidBigInt:()=>pS,patchWriteFileEnsuringDirectory:()=>Ua,pathContainsNodeModules:()=>XP,pathIsAbsolute:()=>Qa,pathIsBareSpecifier:()=>eo,pathIsRelative:()=>Za,patternText:()=>dt,perfLogger:()=>mr,performIncrementalCompilation:()=>gW,performance:()=>Ur,plainJSErrors:()=>Jj,positionBelongsToNode:()=>JJ,positionIsASICandidate:()=>z$,positionIsSynthesized:()=>Xx,positionsAreOnSameLine:()=>SE,preProcessFile:()=>JZ,probablyUsesSemicolons:()=>J$,processCommentPragmas:()=>DD,processPragmasIntoFields:()=>OD,processTaggedTemplateExpression:()=>SU,programContainsEsModules:()=>_Y,programContainsModules:()=>uY,projectReferenceIsEqualTo:()=>Tp,propKeyHelper:()=>GL,propertyNamePart:()=>JY,pseudoBigIntToString:()=>uS,punctuationPart:()=>WY,pushIfUnique:()=>Le,quote:()=>F$,quotePreferenceFromString:()=>bY,rangeContainsPosition:()=>VJ,rangeContainsPositionExclusive:()=>jJ,rangeContainsRange:()=>BJ,rangeContainsRangeExclusive:()=>UJ,rangeContainsStartEnd:()=>KJ,rangeEndIsOnSameLineAsRangeStart:()=>bE,rangeEndPositionsAreOnSameLine:()=>yE,rangeEquals:()=>Ne,rangeIsOnSingleLine:()=>hE,rangeOfNode:()=>oS,rangeOfTypeParameters:()=>sS,rangeOverlapsWithStartEnd:()=>WJ,rangeStartIsOnSameLineAsRangeEnd:()=>vE,rangeStartPositionsAreOnSameLine:()=>gE,readBuilderProgram:()=>vW,readConfigFile:()=>HO,readHelper:()=>PL,readJson:()=>oE,readJsonConfigFile:()=>WO,readJsonOrUndefined:()=>aE,realizeDiagnostics:()=>C2,reduceEachLeadingCommentRange:()=>Ps,reduceEachTrailingCommentRange:()=>Fs,reduceLeft:()=>We,reduceLeftIterator:()=>I,reducePathComponents:()=>ho,refactor:()=>xde,regExpEscape:()=>vx,relativeComplement:()=>Ee,removeAllComments:()=>FA,removeEmitHelper:()=>sL,removeExtension:()=>Wx,removeFileExtension:()=>Hx,removeIgnoredPath:()=>RK,removeMinAndVersionNumbers:()=>it,removeOptionality:()=>kX,removePrefix:()=>ft,removeSuffix:()=>nt,removeTrailingDirectorySeparator:()=>So,repeatString:()=>cY,replaceElement:()=>je,resolutionExtensionIsTSOrJson:()=>$x,resolveConfigFileProjectName:()=>LW,resolveJSModule:()=>jP,resolveModuleName:()=>UP,resolveModuleNameFromCache:()=>BP,resolvePackageNameToPackageJson:()=>AP,resolvePath:()=>yo,resolveProjectReferencePath:()=>GH,resolveTripleslashReference:()=>Qj,resolveTypeReferenceDirective:()=>TP,resolvingEmptyArray:()=>o_,restHelper:()=>NL,returnFalse:()=>Sn,returnNoopFileWatcher:()=>GK,returnTrue:()=>An,returnUndefined:()=>Ln,returnsPromise:()=>a0,runInitializersHelper:()=>LL,sameFlatMap:()=>Q,sameMap:()=>z,sameMapping:()=>LB,scanShebangTrivia:()=>Ns,scanTokenAtPosition:()=>em,scanner:()=>$z,screenStartingMessageCodes:()=>PK,semanticDiagnosticsOptionDeclarations:()=>$D,serializeCompilerOptions:()=>cM,server:()=>Sz,servicesVersion:()=>I1,setCommentRange:()=>XA,setConfigFileInOptions:()=>gM,setConstantValue:()=>iL,setEachParent:()=>SS,setEmitFlags:()=>GA,setFunctionNameHelper:()=>BL,setGetSourceFileAsHashVersioned:()=>uW,setIdentifierAutoGenerate:()=>gL,setIdentifierGeneratedImportReference:()=>vL,setIdentifierTypeArguments:()=>mL,setInternalEmitFlags:()=>UA,setLocalizedDiagnosticMessages:()=>gT,setModuleDefaultHelper:()=>HL,setNodeFlags:()=>TS,setObjectAllocator:()=>mT,setOriginalNode:()=>DA,setParent:()=>xS,setParentRecursive:()=>AS,setPrivateIdentifier:()=>lU,setResolvedModule:()=>vp,setResolvedTypeReferenceDirective:()=>bp,setSnippetElement:()=>uL,setSourceMapRange:()=>HA,setStackTraceLimit:()=>Ca,setStartsOnNewLine:()=>zA,setSyntheticLeadingComments:()=>$A,setSyntheticTrailingComments:()=>eL,setSys:()=>Va,setSysLog:()=>Ma,setTextRange:()=>MN,setTextRangeEnd:()=>vS,setTextRangePos:()=>yS,setTextRangePosEnd:()=>bS,setTextRangePosWidth:()=>ES,setTokenSourceMapRange:()=>WA,setTypeNode:()=>pL,setUILocale:()=>Jn,setValueDeclaration:()=>dg,shouldAllowImportingTsExtension:()=>NF,shouldPreserveConstEnums:()=>rx,shouldUseUriStyleNodeCoreModules:()=>AQ,showModuleSpecifier:()=>XE,signatureHasLiteralTypes:()=>ZG,signatureHasRestParameter:()=>QG,signatureToDisplayParts:()=>c$,single:()=>Ue,singleElementArray:()=>Et,singleIterator:()=>ae,singleOrMany:()=>Ve,singleOrUndefined:()=>Be,skipAlias:()=>ME,skipAssertions:()=>WR,skipConstraint:()=>lY,skipOuterExpressions:()=>HR,skipParentheses:()=>Yg,skipPartiallyEmittedExpressions:()=>Kl,skipTrivia:()=>ks,skipTypeChecking:()=>cS,skipTypeParentheses:()=>Xg,skipWhile:()=>kt,sliceAfter:()=>rS,some:()=>ce,sort:()=>Ie,sortAndDeduplicate:()=>he,sortAndDeduplicateDiagnostics:()=>ec,sourceFileAffectingCompilerOptions:()=>nO,sourceFileMayBeEmitted:()=>Rv,sourceMapCommentRegExp:()=>mB,sourceMapCommentRegExpDontCareLineStart:()=>fB,spacePart:()=>HY,spanMap:()=>oe,spreadArrayHelper:()=>FL,stableSort:()=>Re,startEndContainsRange:()=>HJ,startEndOverlapsWithStartEnd:()=>zJ,startOnNewLine:()=>qR,startTracing:()=>Hr,startsWith:()=>pt,startsWithDirectory:()=>Do,startsWithUnderscore:()=>EQ,startsWithUseStrict:()=>FR,stringContains:()=>rt,stringContainsAt:()=>bQ,stringToToken:()=>_s,stripQuotes:()=>dv,supportedDeclarationExtensions:()=>Q_,supportedJSExtensions:()=>J_,supportedJSExtensionsFlat:()=>X_,supportedLocaleDirectories:()=>Ys,supportedTSExtensions:()=>K_,supportedTSExtensionsFlat:()=>W_,supportedTSImplementationExtensions:()=>Z_,suppressLeadingAndTrailingTrivia:()=>T$,suppressLeadingTrivia:()=>x$,suppressTrailingTrivia:()=>S$,symbolEscapedNameNoDefault:()=>SY,symbolName:()=>Gc,symbolNameNoDefault:()=>xY,symbolPart:()=>VY,symbolToDisplayParts:()=>s$,syntaxMayBeASICandidate:()=>aJ,syntaxRequiresTrailingSemicolonOrASI:()=>q$,sys:()=>Sa,sysLog:()=>Oa,tagNamesAreEquivalent:()=>GD,takeWhile:()=>Ct,targetOptionDeclaration:()=>zD,templateObjectHelper:()=>ML,testFormatSettings:()=>Fz,textChangeRangeIsUnchanged:()=>gc,textChangeRangeNewSpan:()=>hc,textChanges:()=>i_e,textOrKeywordPart:()=>XY,textPart:()=>YY,textRangeContainsPositionInclusive:()=>ac,textSpanContainsPosition:()=>ic,textSpanContainsTextSpan:()=>oc,textSpanEnd:()=>tc,textSpanIntersection:()=>pc,textSpanIntersectsWith:()=>dc,textSpanIntersectsWithPosition:()=>_c,textSpanIntersectsWithTextSpan:()=>lc,textSpanIsEmpty:()=>rc,textSpanOverlap:()=>cc,textSpanOverlapsWith:()=>sc,textSpansEqual:()=>DY,textToKeywordObj:()=>Ko,timestamp:()=>cr,toArray:()=>yn,toBuilderFileEmit:()=>EK,toBuilderStateFileInfoForMultiEmit:()=>bK,toEditorSettings:()=>Z1,toFileNameLowerCase:()=>In,toLowerCase:()=>kn,toPath:()=>xo,toProgramEmitPending:()=>TK,tokenIsIdentifierOrKeyword:()=>ss,tokenIsIdentifierOrKeywordOrGreaterThan:()=>cs,tokenToString:()=>us,trace:()=>oP,tracing:()=>Vr,tracingEnabled:()=>jr,transform:()=>p2,transformClassFields:()=>RU,transformDeclarations:()=>CV,transformECMAScriptModule:()=>mV,transformES2015:()=>iV,transformES2016:()=>nV,transformES2017:()=>BU,transformES2018:()=>jU,transformES2019:()=>KU,transformES2020:()=>qU,transformES2021:()=>JU,transformES5:()=>oV,transformESDecorators:()=>FU,transformESNext:()=>YU,transformGenerators:()=>cV,transformJsx:()=>ZU,transformLegacyDecorators:()=>MU,transformModule:()=>uV,transformNodeModule:()=>gV,transformNodes:()=>VV,transformSystemModule:()=>pV,transformTypeScript:()=>IU,transpile:()=>g0,transpileModule:()=>h0,transpileOptionValueCompilerOptions:()=>rO,trimString:()=>h,trimStringEnd:()=>g,trimStringStart:()=>y,tryAddToSet:()=>ie,tryAndIgnoreErrors:()=>Z$,tryCast:()=>En,tryDirectoryExists:()=>Q$,tryExtractTSExtension:()=>nE,tryFileExists:()=>$$,tryGetClassExtendingExpressionWithTypeArguments:()=>Fb,tryGetClassImplementingOrExtendingExpressionWithTypeArguments:()=>Gb,tryGetDirectories:()=>X$,tryGetExtensionFromPath:()=>eS,tryGetImportFromModuleSpecifier:()=>fg,tryGetJSDocSatisfiesTypeNode:()=>QS,tryGetModuleNameFromFile:()=>ZR,tryGetModuleSpecifierFromDeclaration:()=>_g,tryGetNativePerformanceHooks:()=>ur,tryGetPropertyAccessOrIdentifierToString:()=>zb,tryGetPropertyNameOfBindingOrAssignmentElement:()=>iN,tryGetSourceMappingURL:()=>EB,tryGetTextOfPropertyName:()=>Uf,tryIOAndConsumeErrors:()=>eQ,tryParsePattern:()=>zx,tryParsePatterns:()=>Jx,tryParseRawSourceMap:()=>SB,tryReadDirectory:()=>Y$,tryReadFile:()=>qO,tryRemoveDirectoryPrefix:()=>yx,tryRemoveExtension:()=>Kx,tryRemovePrefix:()=>mt,tryRemoveSuffix:()=>tt,typeAcquisitionDeclarations:()=>oO,typeAliasNamePart:()=>$Y,typeDirectiveIsEqualTo:()=>Lp,typeKeywords:()=>eJ,typeParameterNamePart:()=>QY,typeReferenceResolutionNameAndModeGetter:()=>qj,typeToDisplayParts:()=>o$,unchangedPollThresholds:()=>ba,unchangedTextChangeRange:()=>Xs,unescapeLeadingUnderscores:()=>Mc,unmangleScopedPackageName:()=>IF,unorderedRemoveItem:()=>ct,unorderedRemoveItemAt:()=>st,unreachableCodeIsError:()=>zT,unusedLabelIsError:()=>JT,unwrapInnermostStatementOfLabel:()=>Nm,updateErrorForNoInputFiles:()=>SM,updateLanguageServiceSourceFile:()=>o2,updateMissingFilePathsWatch:()=>wj,updatePackageJsonWatch:()=>Ij,updateResolutionField:()=>hP,updateSharedExtendedConfigFileWatcher:()=>Lj,updateSourceFile:()=>ID,updateWatchingWildcardDirectories:()=>Rj,usesExtensionsOnImports:()=>Gx,usingSingleLineStringWriter:()=>hp,utf16EncodeAsString:()=>Js,validateLocaleAndSetLanguage:()=>Ic,valuesHelper:()=>UL,version:()=>t,versionMajorMinor:()=>n,visitArray:()=>iB,visitCommaListElements:()=>uB,visitEachChild:()=>_B,visitFunctionBody:()=>lB,visitIterationBody:()=>dB,visitLexicalEnvironment:()=>oB,visitNode:()=>tB,visitNodes:()=>rB,visitParameterList:()=>sB,walkUpBindingElementsAndPatterns:()=>Sc,walkUpLexicalEnvironments:()=>oU,walkUpOuterExpressions:()=>KR,walkUpParenthesizedExpressions:()=>zg,walkUpParenthesizedTypes:()=>qg,walkUpParenthesizedTypesAndGetParentAndChild:()=>Jg,whitespaceOrMapCommentRegExp:()=>hB,writeCommentRange:()=>ib,writeFile:()=>Ov,writeFileEnsuringDirectories:()=>Pv,zipToModeAwareCache:()=>DP,zipWith:()=>w});var Efe,Tfe,xfe=E({"src/typescript/_namespaces/ts.ts"(){Qq(),Xz(),ufe(),vfe()}});return(Efe={"src/typescript/typescript.ts"(e,n){xfe(),xfe(),"undefined"!=typeof console&&(Nt.loggingHost={log(e,n){switch(e){case 1:return console.error(n);case 2:return console.warn(n);case 3:case 4:return console.log(n)}}}),n.exports=bfe}},function(){return Tfe||(0,Efe[b(Efe)[0]])((Tfe={exports:{}}).exports,Tfe),Tfe.exports})()})();void 0!==wi&&wi.exports&&(wi.exports=Ri);var Ni=Ri.createClassifier,Di=Ri.createLanguageService,Oi=Ri.displayPartsToString,Mi=Ri.EndOfLineState,Pi=Ri.flattenDiagnosticMessageText,Fi=Ri.IndentStyle,Gi=Ri.ScriptKind,Bi=Ri.ScriptTarget,Ui=Ri.TokenClass,Vi=Ri,ji={};function Hi(e){return"string"==typeof e?!!/^file:\/\/\//.test(e)&&!!ji[e.substr(8)]:0===e.path.indexOf("/lib.")&&!!ji[e.path.slice(1)]}ji["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/// <reference no-default-lib="true"/>\n\n/// <reference lib="es5" />\n/// <reference lib="dom" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n',ji["lib.decorators.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/// <reference no-default-lib="true"/>\n\n/**\n * The decorator context types provided to class element decorators.\n */\ntype ClassMemberDecoratorContext =\n | ClassMethodDecoratorContext\n | ClassGetterDecoratorContext\n | ClassSetterDecoratorContext\n | ClassFieldDecoratorContext\n | ClassAccessorDecoratorContext\n ;\n\n/**\n * The decorator context types provided to any decorator.\n */\ntype DecoratorContext =\n | ClassDecoratorContext\n | ClassMemberDecoratorContext\n ;\n\n/**\n * Context provided to a class decorator.\n * @template Class The type of the decorated class associated with this context.\n */\ninterface ClassDecoratorContext<\n Class extends abstract new (...args: any) => any = abstract new (...args: any) => any,\n> {\n /** The kind of element that was decorated. */\n readonly kind: "class";\n\n /** The name of the decorated class. */\n readonly name: string | undefined;\n\n /**\n * Adds a callback to be invoked after the class definition has been finalized.\n *\n * @example\n * ```ts\n * function customElement(name: string): ClassDecoratorFunction {\n * return (target, context) => {\n * context.addInitializer(function () {\n * customElements.define(name, this);\n * });\n * }\n * }\n *\n * @customElement("my-element")\n * class MyElement {}\n * ```\n */\n addInitializer(initializer: (this: Class) => void): void;\n}\n\n/**\n * Context provided to a class method decorator.\n * @template This The type on which the class element will be defined. For a static class element, this will be\n * the type of the constructor. For a non-static class element, this will be the type of the instance.\n * @template Value The type of the decorated class method.\n */\ninterface ClassMethodDecoratorContext<\n This = unknown,\n Value extends (this: This, ...args: any) => any = (this: This, ...args: any) => any,\n> {\n /** The kind of class element that was decorated. */\n readonly kind: "method";\n\n /** The name of the decorated class element. */\n readonly name: string | symbol;\n\n /** A value indicating whether the class element is a static (`true`) or instance (`false`) element. */\n readonly static: boolean;\n\n /** A value indicating whether the class element has a private name. */\n readonly private: boolean;\n\n /** An object that can be used to access the current value of the class element at runtime. */\n readonly access: {\n /**\n * Determines whether an object has a property with the same name as the decorated element.\n */\n has(object: This): boolean;\n /**\n * Gets the current value of the method from the provided object.\n *\n * @example\n * let fn = context.access.get(instance);\n */\n get(object: This): Value;\n };\n\n /**\n * Adds a callback to be invoked either before static initializers are run (when\n * decorating a `static` element), or before instance initializers are run (when\n * decorating a non-`static` element).\n *\n * @example\n * ```ts\n * const bound: ClassMethodDecoratorFunction = (value, context) {\n * if (context.private) throw new TypeError("Not supported on private methods.");\n * context.addInitializer(function () {\n * this[context.name] = this[context.name].bind(this);\n * });\n * }\n *\n * class C {\n * message = "Hello";\n *\n * @bound\n * m() {\n * console.log(this.message);\n * }\n * }\n * ```\n */\n addInitializer(initializer: (this: This) => void): void;\n}\n\n/**\n * Context provided to a class getter decorator.\n * @template This The type on which the class element will be defined. For a static class element, this will be\n * the type of the constructor. For a non-static class element, this will be the type of the instance.\n * @template Value The property type of the decorated class getter.\n */\ninterface ClassGetterDecoratorContext<\n This = unknown,\n Value = unknown,\n> {\n /** The kind of class element that was decorated. */\n readonly kind: "getter";\n\n /** The name of the decorated class element. */\n readonly name: string | symbol;\n\n /** A value indicating whether the class element is a static (`true`) or instance (`false`) element. */\n readonly static: boolean;\n\n /** A value indicating whether the class element has a private name. */\n readonly private: boolean;\n\n /** An object that can be used to access the current value of the class element at runtime. */\n readonly access: {\n /**\n * Determines whether an object has a property with the same name as the decorated element.\n */\n has(object: This): boolean;\n /**\n * Invokes the getter on the provided object.\n *\n * @example\n * let value = context.access.get(instance);\n */\n get(object: This): Value;\n };\n\n /**\n * Adds a callback to be invoked either before static initializers are run (when\n * decorating a `static` element), or before instance initializers are run (when\n * decorating a non-`static` element).\n */\n addInitializer(initializer: (this: This) => void): void;\n}\n\n/**\n * Context provided to a class setter decorator.\n * @template This The type on which the class element will be defined. For a static class element, this will be\n * the type of the constructor. For a non-static class element, this will be the type of the instance.\n * @template Value The type of the decorated class setter.\n */\ninterface ClassSetterDecoratorContext<\n This = unknown,\n Value = unknown,\n> {\n /** The kind of class element that was decorated. */\n readonly kind: "setter";\n\n /** The name of the decorated class element. */\n readonly name: string | symbol;\n\n /** A value indicating whether the class element is a static (`true`) or instance (`false`) element. */\n readonly static: boolean;\n\n /** A value indicating whether the class element has a private name. */\n readonly private: boolean;\n\n /** An object that can be used to access the current value of the class element at runtime. */\n readonly access: {\n /**\n * Determines whether an object has a property with the same name as the decorated element.\n */\n has(object: This): boolean;\n /**\n * Invokes the setter on the provided object.\n *\n * @example\n * context.access.set(instance, value);\n */\n set(object: This, value: Value): void;\n };\n\n /**\n * Adds a callback to be invoked either before static initializers are run (when\n * decorating a `static` element), or before instance initializers are run (when\n * decorating a non-`static` element).\n */\n addInitializer(initializer: (this: This) => void): void;\n}\n\n/**\n * Context provided to a class `accessor` field decorator.\n * @template This The type on which the class element will be defined. For a static class element, this will be\n * the type of the constructor. For a non-static class element, this will be the type of the instance.\n * @template Value The type of decorated class field.\n */\ninterface ClassAccessorDecoratorContext<\n This = unknown,\n Value = unknown,\n> {\n /** The kind of class element that was decorated. */\n readonly kind: "accessor";\n\n /** The name of the decorated class element. */\n readonly name: string | symbol;\n\n /** A value indicating whether the class element is a static (`true`) or instance (`false`) element. */\n readonly static: boolean;\n\n /** A value indicating whether the class element has a private name. */\n readonly private: boolean;\n\n /** An object that can be used to access the current value of the class element at runtime. */\n readonly access: {\n /**\n * Determines whether an object has a property with the same name as the decorated element.\n */\n has(object: This): boolean;\n\n /**\n * Invokes the getter on the provided object.\n *\n * @example\n * let value = context.access.get(instance);\n */\n get(object: This): Value;\n\n /**\n * Invokes the setter on the provided object.\n *\n * @example\n * context.access.set(instance, value);\n */\n set(object: This, value: Value): void;\n };\n\n /**\n * Adds a callback to be invoked either before static initializers are run (when\n * decorating a `static` element), or before instance initializers are run (when\n * decorating a non-`static` element).\n */\n addInitializer(initializer: (this: This) => void): void;\n}\n\n/**\n * Describes the target provided to class `accessor` field decorators.\n * @template This The `this` type to which the target applies.\n * @template Value The property type for the class `accessor` field.\n */\ninterface ClassAccessorDecoratorTarget<This, Value> {\n /**\n * Invokes the getter that was defined prior to decorator application.\n *\n * @example\n * let value = target.get.call(instance);\n */\n get(this: This): Value;\n\n /**\n * Invokes the setter that was defined prior to decorator application.\n *\n * @example\n * target.set.call(instance, value);\n */\n set(this: This, value: Value): void;\n}\n\n/**\n * Describes the allowed return value from a class `accessor` field decorator.\n * @template This The `this` type to which the target applies.\n * @template Value The property type for the class `accessor` field.\n */\ninterface ClassAccessorDecoratorResult<This, Value> {\n /**\n * An optional replacement getter function. If not provided, the existing getter function is used instead.\n */\n get?(this: This): Value;\n\n /**\n * An optional replacement setter function. If not provided, the existing setter function is used instead.\n */\n set?(this: This, value: Value): void;\n\n /**\n * An optional initializer mutator that is invoked when the underlying field initializer is evaluated.\n * @param value The incoming initializer value.\n * @returns The replacement initializer value.\n */\n init?(this: This, value: Value): Value;\n}\n\n/**\n * Context provided to a class field decorator.\n * @template This The type on which the class element will be defined. For a static class element, this will be\n * the type of the constructor. For a non-static class element, this will be the type of the instance.\n * @template Value The type of the decorated class field.\n */\ninterface ClassFieldDecoratorContext<\n This = unknown,\n Value = unknown,\n> {\n /** The kind of class element that was decorated. */\n readonly kind: "field";\n\n /** The name of the decorated class element. */\n readonly name: string | symbol;\n\n /** A value indicating whether the class element is a static (`true`) or instance (`false`) element. */\n readonly static: boolean;\n\n /** A value indicating whether the class element has a private name. */\n readonly private: boolean;\n\n /** An object that can be used to access the current value of the class element at runtime. */\n readonly access: {\n /**\n * Determines whether an object has a property with the same name as the decorated element.\n */\n has(object: This): boolean;\n\n /**\n * Gets the value of the field on the provided object.\n */\n get(object: This): Value;\n\n /**\n * Sets the value of the field on the provided object.\n */\n set(object: This, value: Value): void;\n };\n\n /**\n * Adds a callback to be invoked either before static initializers are run (when\n * decorating a `static` element), or before instance initializers are run (when\n * decorating a non-`static` element).\n */\n addInitializer(initializer: (this: This) => void): void;\n}\n',ji["lib.decorators.legacy.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/// <reference no-default-lib="true"/>\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',ji["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/// <reference no-default-lib="true"/>\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?: CSSNumberish | null;\n timelineTime?: CSSNumberish | 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 credProps?: boolean;\n hmacCreateSecret?: boolean;\n}\n\ninterface AuthenticationExtensionsClientOutputs {\n appid?: boolean;\n credProps?: CredentialPropertiesOutput;\n hmacCreateSecret?: boolean;\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 CheckVisibilityOptions {\n checkOpacity?: boolean;\n checkVisibilityCSS?: boolean;\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?: number | 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 DisplayMediaStreamOptions {\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 FileSystemGetDirectoryOptions {\n create?: boolean;\n}\n\ninterface FileSystemGetFileOptions {\n create?: boolean;\n}\n\ninterface FileSystemRemoveOptions {\n recursive?: boolean;\n}\n\ninterface FocusEventInit extends UIEventInit {\n relatedTarget?: EventTarget | null;\n}\n\ninterface FocusOptions {\n preventScroll?: boolean;\n}\n\ninterface FontFaceDescriptors {\n ascentOverride?: string;\n descentOverride?: string;\n display?: FontDisplay;\n featureSettings?: string;\n lineGapOverride?: 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 IDBTransactionOptions {\n durability?: IDBTransactionDurability;\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 ImageEncodeOptions {\n quality?: number;\n type?: string;\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 LockInfo {\n clientId?: string;\n mode?: LockMode;\n name?: string;\n}\n\ninterface LockManagerSnapshot {\n held?: LockInfo[];\n pending?: LockInfo[];\n}\n\ninterface LockOptions {\n ifAvailable?: boolean;\n mode?: LockMode;\n signal?: AbortSignal;\n steal?: boolean;\n}\n\ninterface MIDIConnectionEventInit extends EventInit {\n port?: MIDIPort;\n}\n\ninterface MIDIMessageEventInit extends EventInit {\n data?: Uint8Array;\n}\n\ninterface MIDIOptions {\n software?: boolean;\n sysex?: boolean;\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 MediaRecorderOptions {\n audioBitsPerSecond?: number;\n bitsPerSecond?: number;\n mimeType?: string;\n videoBitsPerSecond?: number;\n}\n\ninterface MediaSessionActionDetails {\n action: MediaSessionAction;\n fastSeek?: boolean;\n seekOffset?: number;\n seekTime?: number;\n}\n\ninterface MediaStreamAudioSourceOptions {\n mediaStream: MediaStream;\n}\n\ninterface MediaStreamConstraints {\n audio?: boolean | MediaTrackConstraints;\n peerIdentity?: string;\n preferCurrentTab?: boolean;\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 deviceId?: string;\n displaySurface?: string;\n echoCancellation?: boolean[];\n facingMode?: string[];\n frameRate?: DoubleRange;\n groupId?: string;\n height?: ULongRange;\n noiseSuppression?: boolean[];\n sampleRate?: ULongRange;\n sampleSize?: ULongRange;\n width?: ULongRange;\n}\n\ninterface MediaTrackConstraintSet {\n aspectRatio?: ConstrainDouble;\n autoGainControl?: ConstrainBoolean;\n channelCount?: ConstrainULong;\n deviceId?: ConstrainDOMString;\n displaySurface?: ConstrainDOMString;\n echoCancellation?: ConstrainBoolean;\n facingMode?: ConstrainDOMString;\n frameRate?: ConstrainDouble;\n groupId?: ConstrainDOMString;\n height?: ConstrainULong;\n noiseSuppression?: ConstrainBoolean;\n sampleRate?: ConstrainULong;\n sampleSize?: ConstrainULong;\n width?: ConstrainULong;\n}\n\ninterface MediaTrackConstraints extends MediaTrackConstraintSet {\n advanced?: MediaTrackConstraintSet[];\n}\n\ninterface MediaTrackSettings {\n aspectRatio?: number;\n autoGainControl?: boolean;\n channelCount?: number;\n deviceId?: string;\n displaySurface?: string;\n echoCancellation?: boolean;\n facingMode?: string;\n frameRate?: number;\n groupId?: string;\n height?: number;\n noiseSuppression?: boolean;\n sampleRate?: number;\n sampleSize?: number;\n width?: number;\n}\n\ninterface MediaTrackSupportedConstraints {\n aspectRatio?: boolean;\n autoGainControl?: boolean;\n channelCount?: boolean;\n deviceId?: boolean;\n displaySurface?: boolean;\n echoCancellation?: boolean;\n facingMode?: boolean;\n frameRate?: boolean;\n groupId?: boolean;\n height?: boolean;\n noiseSuppression?: boolean;\n sampleRate?: boolean;\n sampleSize?: 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 /** 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 attributeFilter?: string[];\n /** Set to true if attributes is true or omitted and target\'s attribute value before the mutation needs to be recorded. */\n attributeOldValue?: boolean;\n /** Set to true if mutations to target\'s attributes are to be observed. Can be omitted if attributeOldValue or attributeFilter is specified. */\n attributes?: boolean;\n /** Set to true if mutations to target\'s data are to be observed. Can be omitted if characterDataOldValue is specified. */\n characterData?: boolean;\n /** Set to true if characterData is set to true or omitted and target\'s data before the mutation needs to be recorded. */\n characterDataOldValue?: boolean;\n /** Set to true if mutations to target\'s children are to be observed. */\n childList?: boolean;\n /** Set to true if mutations to not just target, but also target\'s descendants are to be observed. */\n subtree?: boolean;\n}\n\ninterface NavigationPreloadState {\n enabled?: boolean;\n headerValue?: string;\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?: EpochTimeStamp;\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 PictureInPictureEventInit extends EventInit {\n pictureInPictureWindow: PictureInPictureWindow;\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 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?: EpochTimeStamp | 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?: number;\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 RTCEncodedAudioFrameMetadata {\n contributingSources?: number[];\n synchronizationSource?: number;\n}\n\ninterface RTCEncodedVideoFrameMetadata {\n contributingSources?: number[];\n dependencies?: number[];\n frameId?: number;\n height?: number;\n spatialIndex?: number;\n synchronizationSource?: number;\n temporalIndex?: number;\n width?: number;\n}\n\ninterface RTCErrorEventInit extends EventInit {\n error: RTCError;\n}\n\ninterface RTCErrorInit {\n errorDetail: RTCErrorDetailType;\n httpRequestStatusCode?: number;\n receivedAlert?: number;\n sctpCauseCode?: number;\n sdpLineNumber?: number;\n sentAlert?: number;\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 lastPacketReceivedTimestamp?: DOMHighResTimeStamp;\n lastPacketSentTimestamp?: DOMHighResTimeStamp;\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 urls: string | string[];\n username?: string;\n}\n\ninterface RTCInboundRtpStreamStats extends RTCReceivedRtpStreamStats {\n audioLevel?: number;\n bytesReceived?: number;\n concealedSamples?: number;\n concealmentEvents?: number;\n decoderImplementation?: string;\n estimatedPlayoutTimestamp?: DOMHighResTimeStamp;\n fecPacketsDiscarded?: number;\n fecPacketsReceived?: number;\n firCount?: number;\n frameHeight?: number;\n frameWidth?: number;\n framesDecoded?: number;\n framesDropped?: number;\n framesPerSecond?: number;\n framesReceived?: number;\n headerBytesReceived?: number;\n insertedSamplesForDeceleration?: number;\n jitterBufferDelay?: number;\n jitterBufferEmittedCount?: number;\n keyFramesDecoded?: number;\n kind: string;\n lastPacketReceivedTimestamp?: DOMHighResTimeStamp;\n nackCount?: number;\n packetsDiscarded?: number;\n pliCount?: number;\n qpSum?: number;\n remoteId?: string;\n removedSamplesForAcceleration?: number;\n silentConcealedSamples?: number;\n totalAudioEnergy?: number;\n totalDecodeTime?: number;\n totalInterFrameDelay?: number;\n totalProcessingDelay?: number;\n totalSamplesDuration?: number;\n totalSamplesReceived?: number;\n totalSquaredInterFrameDelay?: number;\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 frameHeight?: number;\n frameWidth?: number;\n framesEncoded?: number;\n framesPerSecond?: number;\n framesSent?: number;\n headerBytesSent?: number;\n hugeFramesSent?: number;\n keyFramesEncoded?: number;\n mediaSourceId?: string;\n nackCount?: number;\n pliCount?: number;\n qpSum?: number;\n qualityLimitationResolutionChanges?: number;\n remoteId?: string;\n retransmittedBytesSent?: number;\n retransmittedPacketsSent?: number;\n rid?: string;\n targetBitrate?: number;\n totalEncodeTime?: number;\n totalEncodedBytesTarget?: number;\n totalPacketSendDelay?: number;\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 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 maxFramerate?: number;\n networkPriority?: RTCPriorityType;\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 selectedCandidatePairId?: string;\n srtpCipher?: string;\n tlsVersion?: string;\n}\n\ninterface ReadableStreamGetReaderOptions {\n /**\n * Creates a ReadableStreamBYOBReader and locks the stream to the new reader.\n *\n * This call behaves the same way as the no-argument variant, except that it only works on readable byte streams, i.e. streams which were constructed specifically with the ability to handle "bring your own buffer" reading. The returned BYOB reader provides the ability to directly read individual chunks from the stream via its read() method, into developer-supplied buffers, allowing more precise control over allocation.\n */\n mode?: ReadableStreamReaderMode;\n}\n\ninterface ReadableStreamReadDoneResult<T> {\n done: true;\n value?: T;\n}\n\ninterface ReadableStreamReadValueResult<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 /** A BodyInit object or null to set request\'s body. */\n body?: BodyInit | null;\n /** A string indicating how the request will interact with the browser\'s cache to set request\'s cache. */\n cache?: RequestCache;\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 credentials?: RequestCredentials;\n /** A Headers object, an object literal, or an array of two-item arrays to set request\'s headers. */\n headers?: HeadersInit;\n /** A cryptographic hash of the resource to be fetched by request. Sets request\'s integrity. */\n integrity?: string;\n /** A boolean to set request\'s keepalive. */\n keepalive?: boolean;\n /** A string to set request\'s method. */\n method?: string;\n /** A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request\'s mode. */\n mode?: RequestMode;\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 redirect?: RequestRedirect;\n /** A string whose value is a same-origin URL, "about:client", or the empty string, to set request\'s referrer. */\n referrer?: string;\n /** A referrer policy to set request\'s referrerPolicy. */\n referrerPolicy?: ReferrerPolicy;\n /** An AbortSignal to set request\'s signal. */\n signal?: AbortSignal | null;\n /** Can only be null. Used to disassociate request from any Window. */\n window?: null;\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 StructuredSerializeOptions {\n transfer?: Transferable[];\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 UnderlyingByteSource {\n autoAllocateChunkSize?: number;\n cancel?: UnderlyingSourceCancelCallback;\n pull?: (controller: ReadableByteStreamController) => void | PromiseLike<void>;\n start?: (controller: ReadableByteStreamController) => any;\n type: "bytes";\n}\n\ninterface UnderlyingDefaultSource<R = any> {\n cancel?: UnderlyingSourceCancelCallback;\n pull?: (controller: ReadableStreamDefaultController<R>) => void | PromiseLike<void>;\n start?: (controller: ReadableStreamDefaultController<R>) => any;\n type?: 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 autoAllocateChunkSize?: number;\n cancel?: UnderlyingSourceCancelCallback;\n pull?: UnderlyingSourcePullCallback<R>;\n start?: UnderlyingSourceStartCallback<R>;\n type?: ReadableStreamType;\n}\n\ninterface ValidityStateFlags {\n badInput?: boolean;\n customError?: boolean;\n patternMismatch?: boolean;\n rangeOverflow?: boolean;\n rangeUnderflow?: boolean;\n stepMismatch?: boolean;\n tooLong?: boolean;\n tooShort?: boolean;\n typeMismatch?: boolean;\n valueMissing?: boolean;\n}\n\ninterface VideoColorSpaceInit {\n fullRange?: boolean | null;\n matrix?: VideoMatrixCoefficients | null;\n primaries?: VideoColorPrimaries | null;\n transfer?: VideoTransferCharacteristics | null;\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 VideoFrameCallbackMetadata {\n captureTime?: DOMHighResTimeStamp;\n expectedDisplayTime: DOMHighResTimeStamp;\n height: number;\n mediaTime: number;\n presentationTime: DOMHighResTimeStamp;\n presentedFrames: number;\n processingDuration?: number;\n receiveTime?: DOMHighResTimeStamp;\n rtpTimestamp?: number;\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 StructuredSerializeOptions {\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: 1;\n readonly FILTER_REJECT: 2;\n readonly FILTER_SKIP: 3;\n readonly SHOW_ALL: 0xFFFFFFFF;\n readonly SHOW_ELEMENT: 0x1;\n readonly SHOW_ATTRIBUTE: 0x2;\n readonly SHOW_TEXT: 0x4;\n readonly SHOW_CDATA_SECTION: 0x8;\n readonly SHOW_ENTITY_REFERENCE: 0x10;\n readonly SHOW_ENTITY: 0x20;\n readonly SHOW_PROCESSING_INSTRUCTION: 0x40;\n readonly SHOW_COMMENT: 0x80;\n readonly SHOW_DOCUMENT: 0x100;\n readonly SHOW_DOCUMENT_TYPE: 0x200;\n readonly SHOW_DOCUMENT_FRAGMENT: 0x400;\n readonly SHOW_NOTATION: 0x800;\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: 0x88FE;\n}\n\ninterface ARIAMixin {\n ariaAtomic: string | null;\n ariaAutoComplete: string | null;\n ariaBusy: string | null;\n ariaChecked: string | null;\n ariaColCount: string | null;\n ariaColIndex: string | null;\n ariaColSpan: string | null;\n ariaCurrent: string | null;\n ariaDisabled: string | null;\n ariaExpanded: string | null;\n ariaHasPopup: string | null;\n ariaHidden: string | null;\n ariaInvalid: string | null;\n ariaKeyShortcuts: string | null;\n ariaLabel: string | null;\n ariaLevel: string | null;\n ariaLive: string | null;\n ariaModal: string | null;\n ariaMultiLine: string | null;\n ariaMultiSelectable: string | null;\n ariaOrientation: string | null;\n ariaPlaceholder: string | null;\n ariaPosInSet: string | null;\n ariaPressed: string | null;\n ariaReadOnly: string | null;\n ariaRequired: string | null;\n ariaRoleDescription: string | null;\n ariaRowCount: string | null;\n ariaRowIndex: string | null;\n ariaRowSpan: string | null;\n ariaSelected: string | null;\n ariaSetSize: string | null;\n ariaSort: string | null;\n ariaValueMax: string | null;\n ariaValueMin: string | null;\n ariaValueNow: string | null;\n ariaValueText: string | null;\n role: string | null;\n}\n\n/** A controller object that allows you to abort one or more DOM requests as and when desired. */\ninterface AbortController {\n /** Returns the AbortSignal object associated with this object. */\n readonly signal: AbortSignal;\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 abort(reason?: any): 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 /** Returns true if this AbortSignal\'s AbortController has signaled to abort, and false otherwise. */\n readonly aborted: boolean;\n onabort: ((this: AbortSignal, ev: Event) => any) | null;\n readonly reason: any;\n throwIfAborted(): void;\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 abort(reason?: any): AbortSignal;\n timeout(milliseconds: number): AbortSignal;\n};\n\ninterface AbstractRange {\n /** Returns true if range is collapsed, and false otherwise. */\n readonly collapsed: boolean;\n /** Returns range\'s end node. */\n readonly endContainer: Node;\n /** Returns range\'s end offset. */\n readonly endOffset: number;\n /** Returns range\'s start node. */\n readonly startContainer: Node;\n /** Returns range\'s start offset. */\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: CSSNumberish | 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: CSSNumberish | 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: CSSNumberish | null;\n readonly timelineTime: CSSNumberish | 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 /** @deprecated */\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 readonly outputLatency: 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\n/** Available only in secure contexts. */\ninterface AudioWorklet extends Worklet {\n}\n\ndeclare var AudioWorklet: {\n prototype: AudioWorklet;\n new(): AudioWorklet;\n};\n\ninterface AudioWorkletNodeEventMap {\n "processorerror": Event;\n}\n\n/** Available only in secure contexts. */\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\n/** Available only in secure contexts. */\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\n/** Available only in secure contexts. */\ninterface AuthenticatorAttestationResponse extends AuthenticatorResponse {\n readonly attestationObject: ArrayBuffer;\n getAuthenticatorData(): ArrayBuffer;\n getPublicKey(): ArrayBuffer | null;\n getPublicKeyAlgorithm(): COSEAlgorithmIdentifier;\n getTransports(): string[];\n}\n\ndeclare var AuthenticatorAttestationResponse: {\n prototype: AuthenticatorAttestationResponse;\n new(): AuthenticatorAttestationResponse;\n};\n\n/** Available only in secure contexts. */\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 /** Available only in secure contexts. */\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<Uint8Array>;\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 /** Returns the channel name (as passed to the constructor). */\n readonly name: string;\n onmessage: ((this: BroadcastChannel, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: BroadcastChannel, ev: MessageEvent) => any) | null;\n /** Closes the BroadcastChannel object, opening it up to garbage collection. */\n close(): void;\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 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 readonly conditionText: string;\n}\n\ndeclare var CSSConditionRule: {\n prototype: CSSConditionRule;\n new(): CSSConditionRule;\n};\n\ninterface CSSContainerRule extends CSSConditionRule {\n}\n\ndeclare var CSSContainerRule: {\n prototype: CSSContainerRule;\n new(): CSSContainerRule;\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\ninterface CSSFontFeatureValuesRule extends CSSRule {\n fontFamily: string;\n}\n\ndeclare var CSSFontFeatureValuesRule: {\n prototype: CSSFontFeatureValuesRule;\n new(): CSSFontFeatureValuesRule;\n};\n\ninterface CSSFontPaletteValuesRule extends CSSRule {\n readonly basePalette: string;\n readonly fontFamily: string;\n readonly name: string;\n readonly overrideColors: string;\n}\n\ndeclare var CSSFontPaletteValuesRule: {\n prototype: CSSFontPaletteValuesRule;\n new(): CSSFontPaletteValuesRule;\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 layerName: string | null;\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 [index: number]: CSSKeyframeRule;\n}\n\ndeclare var CSSKeyframesRule: {\n prototype: CSSKeyframesRule;\n new(): CSSKeyframesRule;\n};\n\ninterface CSSLayerBlockRule extends CSSGroupingRule {\n readonly name: string;\n}\n\ndeclare var CSSLayerBlockRule: {\n prototype: CSSLayerBlockRule;\n new(): CSSLayerBlockRule;\n};\n\ninterface CSSLayerStatementRule extends CSSRule {\n readonly nameList: ReadonlyArray<string>;\n}\n\ndeclare var CSSLayerStatementRule: {\n prototype: CSSLayerStatementRule;\n new(): CSSLayerStatementRule;\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 STYLE_RULE: 1;\n readonly CHARSET_RULE: 2;\n readonly IMPORT_RULE: 3;\n readonly MEDIA_RULE: 4;\n readonly FONT_FACE_RULE: 5;\n readonly PAGE_RULE: 6;\n readonly NAMESPACE_RULE: 10;\n readonly KEYFRAMES_RULE: 7;\n readonly KEYFRAME_RULE: 8;\n readonly SUPPORTS_RULE: 12;\n}\n\ndeclare var CSSRule: {\n prototype: CSSRule;\n new(): CSSRule;\n readonly STYLE_RULE: 1;\n readonly CHARSET_RULE: 2;\n readonly IMPORT_RULE: 3;\n readonly MEDIA_RULE: 4;\n readonly FONT_FACE_RULE: 5;\n readonly PAGE_RULE: 6;\n readonly NAMESPACE_RULE: 10;\n readonly KEYFRAMES_RULE: 7;\n readonly KEYFRAME_RULE: 8;\n readonly SUPPORTS_RULE: 12;\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 accentColor: string;\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 backdropFilter: 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 containIntrinsicBlockSize: string;\n containIntrinsicHeight: string;\n containIntrinsicInlineSize: string;\n containIntrinsicSize: string;\n containIntrinsicWidth: string;\n container: string;\n containerName: string;\n containerType: string;\n content: string;\n contentVisibility: 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 fontPalette: string;\n fontSize: string;\n fontSizeAdjust: string;\n fontStretch: string;\n fontStyle: string;\n fontSynthesis: string;\n fontVariant: string;\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 /** @deprecated This is a legacy alias of `columnGap`. */\n gridColumnGap: string;\n gridColumnStart: string;\n /** @deprecated This is a legacy alias of `gap`. */\n gridGap: string;\n gridRow: string;\n gridRowEnd: string;\n /** @deprecated This is a legacy alias of `rowGap`. */\n gridRowGap: string;\n gridRowStart: string;\n gridTemplate: string;\n gridTemplateAreas: string;\n gridTemplateColumns: string;\n gridTemplateRows: string;\n height: string;\n hyphenateCharacter: 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 maskClip: string;\n maskComposite: string;\n maskImage: string;\n maskMode: string;\n maskOrigin: string;\n maskPosition: string;\n maskRepeat: string;\n maskSize: string;\n maskType: string;\n mathStyle: 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 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 overflowClipMargin: 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 printColorAdjust: 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 scrollbarGutter: 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 This is a legacy alias of `boxAlign`. */\n webkitBoxAlign: string;\n /** @deprecated This is a legacy alias of `boxFlex`. */\n webkitBoxFlex: string;\n /** @deprecated This is a legacy alias of `boxOrdinalGroup`. */\n webkitBoxOrdinalGroup: string;\n /** @deprecated This is a legacy alias of `boxOrient`. */\n webkitBoxOrient: string;\n /** @deprecated This is a legacy alias of `boxPack`. */\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 /** @deprecated This is a legacy alias of `textSizeAdjust`. */\n webkitTextSizeAdjust: 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 replace(text: string): Promise<CSSStyleSheet>;\n replaceSync(text: string): 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/**\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.\n * Available only in secure contexts.\n */\ninterface Cache {\n add(request: RequestInfo | URL): Promise<void>;\n addAll(requests: RequestInfo[]): Promise<void>;\n delete(request: RequestInfo | URL, options?: CacheQueryOptions): Promise<boolean>;\n keys(request?: RequestInfo | URL, options?: CacheQueryOptions): Promise<ReadonlyArray<Request>>;\n match(request: RequestInfo | URL, options?: CacheQueryOptions): Promise<Response | undefined>;\n matchAll(request?: RequestInfo | URL, options?: CacheQueryOptions): Promise<ReadonlyArray<Response>>;\n put(request: RequestInfo | URL, response: Response): Promise<void>;\n}\n\ndeclare var Cache: {\n prototype: Cache;\n new(): Cache;\n};\n\n/**\n * The storage for Cache objects.\n * Available only in secure contexts.\n */\ninterface CacheStorage {\n delete(cacheName: string): Promise<boolean>;\n has(cacheName: string): Promise<boolean>;\n keys(): Promise<string[]>;\n match(request: RequestInfo | URL, 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 CanvasCaptureMediaStreamTrack extends MediaStreamTrack {\n readonly canvas: HTMLCanvasElement;\n requestFrame(): void;\n addEventListener<K extends keyof MediaStreamTrackEventMap>(type: K, listener: (this: CanvasCaptureMediaStreamTrack, 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: CanvasCaptureMediaStreamTrack, ev: MediaStreamTrackEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var CanvasCaptureMediaStreamTrack: {\n prototype: CanvasCaptureMediaStreamTrack;\n new(): CanvasCaptureMediaStreamTrack;\n};\n\ninterface CanvasCompositing {\n globalAlpha: number;\n globalCompositeOperation: GlobalCompositeOperation;\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 createConicGradient(startAngle: number, x: number, y: number): CanvasGradient;\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 roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | (number | DOMPointInit)[]): 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 /** Sets the transformation matrix that will be used when rendering the pattern during a fill or stroke painting operation. */\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 fontKerning: CanvasFontKerning;\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 /** Removes node. */\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\n/** Available only in secure contexts. */\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\n/** Available only in secure contexts. */\ninterface ClipboardItem {\n readonly presentationStyle: PresentationStyle;\n readonly types: ReadonlyArray<string>;\n getType(type: string): Promise<Blob>;\n}\n\ndeclare var ClipboardItem: {\n prototype: ClipboardItem;\n new(items: Record<string, string | Blob | PromiseLike<string | Blob>>, 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 /** Returns the WebSocket connection close code provided by the server. */\n readonly code: number;\n /** Returns the WebSocket connection close reason provided by the server. */\n readonly reason: string;\n /** Returns true if the connection closed cleanly; false otherwise. */\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\n/** Available only in secure contexts. */\ninterface Credential {\n readonly id: string;\n readonly type: string;\n}\n\ndeclare var Credential: {\n prototype: Credential;\n new(): Credential;\n};\n\n/** Available only in secure contexts. */\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 /** Available only in secure contexts. */\n readonly subtle: SubtleCrypto;\n getRandomValues<T extends ArrayBufferView | null>(array: T): T;\n /** Available only in secure contexts. */\n randomUUID(): `${string}-${string}-${string}-${string}-${string}`;\n}\n\ndeclare var Crypto: {\n prototype: Crypto;\n new(): Crypto;\n};\n\n/**\n * The CryptoKey dictionary of the Web Crypto API represents a cryptographic key.\n * Available only in secure contexts.\n */\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 /** Returns any custom data event was created with. Typically used for synthetic events. */\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 extends Error {\n /** @deprecated */\n readonly code: number;\n readonly message: string;\n readonly name: string;\n readonly INDEX_SIZE_ERR: 1;\n readonly DOMSTRING_SIZE_ERR: 2;\n readonly HIERARCHY_REQUEST_ERR: 3;\n readonly WRONG_DOCUMENT_ERR: 4;\n readonly INVALID_CHARACTER_ERR: 5;\n readonly NO_DATA_ALLOWED_ERR: 6;\n readonly NO_MODIFICATION_ALLOWED_ERR: 7;\n readonly NOT_FOUND_ERR: 8;\n readonly NOT_SUPPORTED_ERR: 9;\n readonly INUSE_ATTRIBUTE_ERR: 10;\n readonly INVALID_STATE_ERR: 11;\n readonly SYNTAX_ERR: 12;\n readonly INVALID_MODIFICATION_ERR: 13;\n readonly NAMESPACE_ERR: 14;\n readonly INVALID_ACCESS_ERR: 15;\n readonly VALIDATION_ERR: 16;\n readonly TYPE_MISMATCH_ERR: 17;\n readonly SECURITY_ERR: 18;\n readonly NETWORK_ERR: 19;\n readonly ABORT_ERR: 20;\n readonly URL_MISMATCH_ERR: 21;\n readonly QUOTA_EXCEEDED_ERR: 22;\n readonly TIMEOUT_ERR: 23;\n readonly INVALID_NODE_TYPE_ERR: 24;\n readonly DATA_CLONE_ERR: 25;\n}\n\ndeclare var DOMException: {\n prototype: DOMException;\n new(message?: string, name?: string): DOMException;\n readonly INDEX_SIZE_ERR: 1;\n readonly DOMSTRING_SIZE_ERR: 2;\n readonly HIERARCHY_REQUEST_ERR: 3;\n readonly WRONG_DOCUMENT_ERR: 4;\n readonly INVALID_CHARACTER_ERR: 5;\n readonly NO_DATA_ALLOWED_ERR: 6;\n readonly NO_MODIFICATION_ALLOWED_ERR: 7;\n readonly NOT_FOUND_ERR: 8;\n readonly NOT_SUPPORTED_ERR: 9;\n readonly INUSE_ATTRIBUTE_ERR: 10;\n readonly INVALID_STATE_ERR: 11;\n readonly SYNTAX_ERR: 12;\n readonly INVALID_MODIFICATION_ERR: 13;\n readonly NAMESPACE_ERR: 14;\n readonly INVALID_ACCESS_ERR: 15;\n readonly VALIDATION_ERR: 16;\n readonly TYPE_MISMATCH_ERR: 17;\n readonly SECURITY_ERR: 18;\n readonly NETWORK_ERR: 19;\n readonly ABORT_ERR: 20;\n readonly URL_MISMATCH_ERR: 21;\n readonly QUOTA_EXCEEDED_ERR: 22;\n readonly TIMEOUT_ERR: 23;\n readonly INVALID_NODE_TYPE_ERR: 24;\n readonly DATA_CLONE_ERR: 25;\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 /** Returns the number of strings in strings. */\n readonly length: number;\n /** Returns true if strings contains string, and false otherwise. */\n contains(string: string): boolean;\n /** Returns the string with index index from strings. */\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 /** Returns the number of tokens. */\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 /** Returns true if token is present, and false otherwise. */\n contains(token: string): boolean;\n /** Returns the token with index index. */\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 /** Returns a FileList of the files being dragged, if any. */\n readonly files: FileList;\n /** Returns a DataTransferItemList object, with the drag data. */\n readonly items: DataTransferItemList;\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 readonly types: ReadonlyArray<string>;\n /** Removes the data of the specified formats. Removes all data if the argument is omitted. */\n clearData(format?: string): void;\n /** Returns the specified data. If there is no such data, returns the empty string. */\n getData(format: string): string;\n /** Adds the specified data. */\n setData(format: string, data: string): void;\n /** Uses the given element to update the drag feedback, replacing any previously specified feedback. */\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 /** Returns the drag data item kind, one of: "string", "file". */\n readonly kind: string;\n /** Returns the drag data item type string. */\n readonly type: string;\n /** Returns a File object, if the drag data item kind is File. */\n getAsFile(): File | null;\n /** Invokes the callback with the string data as the argument, if the drag data item kind is text. */\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 /** Returns the number of items in the drag data store. */\n readonly length: number;\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 add(data: string, type: string): DataTransferItem | null;\n add(data: File): DataTransferItem | null;\n /** Removes all the entries in the drag data store. */\n clear(): void;\n /** Removes the indexth entry in the drag data store. */\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/**\n * The DeviceMotionEvent provides web developers with information about the speed of changes for the device\'s position and orientation.\n * Available only in secure contexts.\n */\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\n/** Available only in secure contexts. */\ninterface DeviceMotionEventAcceleration {\n readonly x: number | null;\n readonly y: number | null;\n readonly z: number | null;\n}\n\n/** Available only in secure contexts. */\ninterface DeviceMotionEventRotationRate {\n readonly alpha: number | null;\n readonly beta: number | null;\n readonly gamma: number | null;\n}\n\n/**\n * The DeviceOrientationEvent provides web developers with information from the physical orientation of the device running the web page.\n * Available only in secure contexts.\n */\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 GlobalEventHandlersEventMap {\n "DOMContentLoaded": Event;\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, DocumentOrShadowRoot, FontFaceSource, GlobalEventHandlers, NonElementParentNode, ParentNode, XPathEvaluatorBase {\n /** Sets or gets the URL for the current document. */\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 /** Specifies the beginning and end of the document body. */\n body: HTMLElement;\n /** Returns document\'s encoding. */\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 /** Gets a value that indicates whether standards-compliant mode is switched on for the object. */\n readonly compatMode: string;\n /** Returns document\'s content type. */\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 /** Returns the Window object of the active document. */\n readonly defaultView: (WindowProxy & typeof globalThis) | null;\n /** Sets or gets a value that indicates whether the document can be edited. */\n designMode: string;\n /** Sets or retrieves a value that indicates the reading order of the object. */\n dir: string;\n /** Gets an object representing the document type declaration associated with the current document. */\n readonly doctype: DocumentType | null;\n /** Gets a reference to the root node of the document. */\n readonly documentElement: HTMLElement;\n /** Returns document\'s URL. */\n readonly documentURI: string;\n /**\n * Sets or gets the security domain of the document.\n * @deprecated\n */\n domain: string;\n /** Retrieves a collection of all embed objects in the document. */\n readonly embeds: HTMLCollectionOf<HTMLEmbedElement>;\n /**\n * Sets or gets the foreground (text) color of the document.\n * @deprecated\n */\n fgColor: string;\n /** Retrieves a collection, in source order, of all form objects in the document. */\n readonly forms: HTMLCollectionOf<HTMLFormElement>;\n /** @deprecated */\n readonly fullscreen: boolean;\n /** Returns true if document has the ability to display elements fullscreen and fullscreen is supported, or false otherwise. */\n readonly fullscreenEnabled: boolean;\n /** Returns the head element. */\n readonly head: HTMLHeadElement;\n readonly hidden: boolean;\n /** Retrieves a collection, in source order, of img objects in the document. */\n readonly images: HTMLCollectionOf<HTMLImageElement>;\n /** Gets the implementation object of the current document. */\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 /** Gets the date that the page was last modified, if the page supplies one. */\n readonly lastModified: string;\n /**\n * Sets or gets the color of the document links.\n * @deprecated\n */\n linkColor: string;\n /** Retrieves a collection of all a objects that specify the href property and all area objects in the document. */\n readonly links: HTMLCollectionOf<HTMLAnchorElement | HTMLAreaElement>;\n /** Contains information about the current URL. */\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 /** Return an HTMLCollection of the embed elements in the Document. */\n readonly plugins: HTMLCollectionOf<HTMLEmbedElement>;\n /** Retrieves a value that indicates the current state of the object. */\n readonly readyState: DocumentReadyState;\n /** Gets the URL of the location that referred the user to the current page. */\n readonly referrer: string;\n /** @deprecated */\n readonly rootElement: SVGSVGElement | null;\n /** Retrieves a collection of all script objects in the document. */\n readonly scripts: HTMLCollectionOf<HTMLScriptElement>;\n readonly scrollingElement: Element | null;\n readonly timeline: DocumentTimeline;\n /** Contains the title of the document. */\n title: string;\n readonly visibilityState: DocumentVisibilityState;\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 /** Closes an output stream and forces the sent data to display. */\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 /** Returns a CDATASection node whose data is data. */\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 /** Creates a new document. */\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<K extends keyof MathMLElementTagNameMap>(namespaceURI: "http://www.w3.org/1998/Math/MathML", qualifiedName: K): MathMLElementTagNameMap[K];\n createElementNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", qualifiedName: string): MathMLElement;\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: "Event"): Event;\n createEvent(eventInterface: "Events"): Event;\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: "MIDIConnectionEvent"): MIDIConnectionEvent;\n createEvent(eventInterface: "MIDIMessageEvent"): MIDIMessageEvent;\n createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent;\n createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent;\n createEvent(eventInterface: "MediaQueryListEvent"): MediaQueryListEvent;\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: "PictureInPictureEvent"): PictureInPictureEvent;\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: "RTCErrorEvent"): RTCErrorEvent;\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 /** 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 createProcessingInstruction(target: string, data: string): ProcessingInstruction;\n /** Returns an empty range object that has both of its boundary points positioned at the beginning of the document. */\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 * 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 /** Stops document\'s fullscreen element from being displayed fullscreen and resolves promise when done. */\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 /** 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 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<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;\n /** @deprecated */\n getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[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(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;\n getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;\n /** Returns an object representing the current selection of the document that is loaded into the object displaying a webpage. */\n getSelection(): Selection | null;\n /** Gets a value indicating whether the object currently has focus. */\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 * @deprecated\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 * @deprecated\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\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 adoptedStyleSheets: CSSStyleSheet[];\n /** Returns document\'s fullscreen element. */\n readonly fullscreenElement: Element | null;\n readonly pictureInPictureElement: Element | null;\n readonly pointerLockElement: Element | null;\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 readonly styleSheets: StyleSheetList;\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 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 /** Returns the DataTransfer object for the event. */\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 MIN_EXT: 0x8007;\n readonly MAX_EXT: 0x8008;\n}\n\ninterface EXT_color_buffer_float {\n}\n\ninterface EXT_color_buffer_half_float {\n readonly RGBA16F_EXT: 0x881A;\n readonly RGB16F_EXT: 0x881B;\n readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: 0x8211;\n readonly UNSIGNED_NORMALIZED_EXT: 0x8C17;\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 SRGB_EXT: 0x8C40;\n readonly SRGB_ALPHA_EXT: 0x8C42;\n readonly SRGB8_ALPHA8_EXT: 0x8C43;\n readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: 0x8210;\n}\n\ninterface EXT_shader_texture_lod {\n}\n\ninterface EXT_texture_compression_bptc {\n readonly COMPRESSED_RGBA_BPTC_UNORM_EXT: 0x8E8C;\n readonly COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT: 0x8E8D;\n readonly COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT: 0x8E8E;\n readonly COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT: 0x8E8F;\n}\n\ninterface EXT_texture_compression_rgtc {\n readonly COMPRESSED_RED_RGTC1_EXT: 0x8DBB;\n readonly COMPRESSED_SIGNED_RED_RGTC1_EXT: 0x8DBC;\n readonly COMPRESSED_RED_GREEN_RGTC2_EXT: 0x8DBD;\n readonly COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT: 0x8DBE;\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 TEXTURE_MAX_ANISOTROPY_EXT: 0x84FE;\n readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: 0x84FF;\n}\n\ninterface EXT_texture_norm16 {\n readonly R16_EXT: 0x822A;\n readonly RG16_EXT: 0x822C;\n readonly RGB16_EXT: 0x8054;\n readonly RGBA16_EXT: 0x805B;\n readonly R16_SNORM_EXT: 0x8F98;\n readonly RG16_SNORM_EXT: 0x8F99;\n readonly RGB16_SNORM_EXT: 0x8F9A;\n readonly RGBA16_SNORM_EXT: 0x8F9B;\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 /** Allows for manipulation of element\'s class content attribute as a set of whitespace-separated tokens through a DOMTokenList object. */\n readonly classList: DOMTokenList;\n /** Returns the value of element\'s class content attribute. Can be set to change it. */\n className: string;\n readonly clientHeight: number;\n readonly clientLeft: number;\n readonly clientTop: number;\n readonly clientWidth: number;\n /** Returns the value of element\'s id content attribute. Can be set to change it. */\n id: string;\n /** Returns the local name. */\n readonly localName: string;\n /** Returns the namespace. */\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 /** Returns the namespace prefix. */\n readonly prefix: string | null;\n readonly scrollHeight: number;\n scrollLeft: number;\n scrollTop: number;\n readonly scrollWidth: number;\n /** Returns element\'s shadow root, if any, and if shadow root\'s mode is "open", and null otherwise. */\n readonly shadowRoot: ShadowRoot | null;\n /** Returns the value of element\'s slot content attribute. Can be set to change it. */\n slot: string;\n /** Returns the HTML-uppercased qualified name. */\n readonly tagName: string;\n /** Creates a shadow root for element and returns it. */\n attachShadow(init: ShadowRootInit): ShadowRoot;\n checkVisibility(options?: CheckVisibilityOptions): boolean;\n /** Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise. */\n closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;\n closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;\n closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;\n closest<E extends Element = Element>(selectors: string): E | null;\n /** Returns element\'s first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise. */\n getAttribute(qualifiedName: string): string | null;\n /** Returns element\'s attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise. */\n getAttributeNS(namespace: string | null, localName: string): string | null;\n /** Returns the qualified names of all element\'s attributes. Can contain duplicates. */\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 /** 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 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<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;\n /** @deprecated */\n getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[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(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;\n getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;\n /** Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise. */\n hasAttribute(qualifiedName: string): boolean;\n /** Returns true if element has an attribute whose namespace is namespace and local name is localName. */\n hasAttributeNS(namespace: string | null, localName: string): boolean;\n /** Returns true if element has attributes, and false otherwise. */\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 /** Returns true if matching selectors against element\'s root yields element, and false otherwise. */\n matches(selectors: string): boolean;\n releasePointerCapture(pointerId: number): void;\n /** Removes element\'s first attribute whose qualified name is qualifiedName. */\n removeAttribute(qualifiedName: string): void;\n /** Removes element\'s attribute whose namespace is namespace and local name is localName. */\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 /** Sets the value of element\'s first attribute whose qualified name is qualifiedName to value. */\n setAttribute(qualifiedName: string, value: string): void;\n /** Sets the value of element\'s attribute whose namespace is namespace and local name is localName to value. */\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\ninterface ElementInternals extends ARIAMixin {\n /** Returns the form owner of internals\'s target element. */\n readonly form: HTMLFormElement | null;\n /** Returns a NodeList of all the label elements that internals\'s target element is associated with. */\n readonly labels: NodeList;\n /** Returns the ShadowRoot for internals\'s target element, if the target element is a shadow host, or null otherwise. */\n readonly shadowRoot: ShadowRoot | null;\n /** Returns the error message that would be shown to the user if internals\'s target element was to be checked for validity. */\n readonly validationMessage: string;\n /** Returns the ValidityState object for internals\'s target element. */\n readonly validity: ValidityState;\n /** Returns true if internals\'s target element will be validated when the form is submitted; false otherwise. */\n readonly willValidate: boolean;\n /** Returns true if internals\'s target element has no validity problems; false otherwise. Fires an invalid event at the element in the latter case. */\n checkValidity(): boolean;\n /** Returns true if internals\'s target element has no validity problems; otherwise, returns false, fires an invalid event at the element, and (if the event isn\'t canceled) reports the problem to the user. */\n reportValidity(): boolean;\n /**\n * Sets both the state and submission value of internals\'s target element to value.\n *\n * If value is null, the element won\'t participate in form submission.\n */\n setFormValue(value: File | string | FormData | null, state?: File | string | FormData | null): void;\n /** Marks internals\'s target element as suffering from the constraints indicated by the flags argument, and sets the element\'s validation message to message. If anchor is specified, the user agent might use it to indicate problems with the constraints of internals\'s target element when the form owner is validated interactively or reportValidity() is called. */\n setValidity(flags?: ValidityStateFlags, message?: string, anchor?: HTMLElement): void;\n}\n\ndeclare var ElementInternals: {\n prototype: ElementInternals;\n new(): ElementInternals;\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 /** 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 readonly bubbles: boolean;\n /** @deprecated */\n cancelBubble: boolean;\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 readonly cancelable: boolean;\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 readonly composed: boolean;\n /** Returns the object whose event listener\'s callback is currently being invoked. */\n readonly currentTarget: EventTarget | null;\n /** Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise. */\n readonly defaultPrevented: boolean;\n /** Returns the event\'s phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE. */\n readonly eventPhase: number;\n /** Returns true if event was dispatched by the user agent, and false otherwise. */\n readonly isTrusted: boolean;\n /** @deprecated */\n returnValue: boolean;\n /** @deprecated */\n readonly srcElement: EventTarget | null;\n /** Returns the object to which event is dispatched (its target). */\n readonly target: EventTarget | null;\n /** Returns the event\'s timestamp as the number of milliseconds measured relative to the time origin. */\n readonly timeStamp: DOMHighResTimeStamp;\n /** Returns the type of event, e.g. "click", "hashchange", or "submit". */\n readonly type: string;\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 composedPath(): EventTarget[];\n /** @deprecated */\n initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void;\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 preventDefault(): void;\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 stopImmediatePropagation(): void;\n /** When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object. */\n stopPropagation(): void;\n readonly NONE: 0;\n readonly CAPTURING_PHASE: 1;\n readonly AT_TARGET: 2;\n readonly BUBBLING_PHASE: 3;\n}\n\ndeclare var Event: {\n prototype: Event;\n new(type: string, eventInitDict?: EventInit): Event;\n readonly NONE: 0;\n readonly CAPTURING_PHASE: 1;\n readonly AT_TARGET: 2;\n readonly BUBBLING_PHASE: 3;\n};\n\ninterface EventCounts {\n forEach(callbackfn: (value: number, key: string, parent: EventCounts) => void, thisArg?: any): void;\n}\n\ndeclare var EventCounts: {\n prototype: EventCounts;\n new(): EventCounts;\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 /** Returns the state of this EventSource object\'s connection. It can have the values described below. */\n readonly readyState: number;\n /** Returns the URL providing the event stream. */\n readonly url: string;\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 readonly withCredentials: boolean;\n /** Aborts any instances of the fetch algorithm started for this EventSource object, and sets the readyState attribute to CLOSED. */\n close(): void;\n readonly CONNECTING: 0;\n readonly OPEN: 1;\n readonly CLOSED: 2;\n addEventListener<K extends keyof EventSourceEventMap>(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: (this: EventSource, event: MessageEvent) => 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: (this: EventSource, event: MessageEvent) => 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 CONNECTING: 0;\n readonly OPEN: 1;\n readonly CLOSED: 2;\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 /** 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 dispatchEvent(event: Event): boolean;\n /** Removes the event listener in target\'s event listener list with the same type, callback, and options. */\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: typeof FileReader.EMPTY | typeof FileReader.LOADING | typeof FileReader.DONE;\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 EMPTY: 0;\n readonly LOADING: 1;\n readonly DONE: 2;\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 EMPTY: 0;\n readonly LOADING: 1;\n readonly DONE: 2;\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/** Available only in secure contexts. */\ninterface FileSystemDirectoryHandle extends FileSystemHandle {\n readonly kind: "directory";\n getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise<FileSystemDirectoryHandle>;\n getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise<FileSystemFileHandle>;\n removeEntry(name: string, options?: FileSystemRemoveOptions): Promise<void>;\n resolve(possibleDescendant: FileSystemHandle): Promise<string[] | null>;\n}\n\ndeclare var FileSystemDirectoryHandle: {\n prototype: FileSystemDirectoryHandle;\n new(): FileSystemDirectoryHandle;\n};\n\ninterface FileSystemDirectoryReader {\n readEntries(successCallback: FileSystemEntriesCallback, errorCallback?: ErrorCallback): void;\n}\n\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/** Available only in secure contexts. */\ninterface FileSystemFileHandle extends FileSystemHandle {\n readonly kind: "file";\n getFile(): Promise<File>;\n}\n\ndeclare var FileSystemFileHandle: {\n prototype: FileSystemFileHandle;\n new(): FileSystemFileHandle;\n};\n\n/** Available only in secure contexts. */\ninterface FileSystemHandle {\n readonly kind: FileSystemHandleKind;\n readonly name: string;\n isSameEntry(other: FileSystemHandle): Promise<boolean>;\n}\n\ndeclare var FileSystemHandle: {\n prototype: FileSystemHandle;\n new(): FileSystemHandle;\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: FontDisplay;\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 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 /** 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 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/**\n * This Gamepad API interface defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id.\n * Available only in secure contexts.\n */\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/**\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.\n * Available only in secure contexts.\n */\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/**\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.\n * Available only in secure contexts.\n */\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\n/** Available only in secure contexts. */\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\n/** Available only in secure contexts. */\ninterface GeolocationPosition {\n readonly coords: GeolocationCoordinates;\n readonly timestamp: EpochTimeStamp;\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: 1;\n readonly POSITION_UNAVAILABLE: 2;\n readonly TIMEOUT: 3;\n}\n\ndeclare var GeolocationPositionError: {\n prototype: GeolocationPositionError;\n new(): GeolocationPositionError;\n readonly PERMISSION_DENIED: 1;\n readonly POSITION_UNAVAILABLE: 2;\n readonly TIMEOUT: 3;\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 "cancel": Event;\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 "copy": ClipboardEvent;\n "cuechange": Event;\n "cut": ClipboardEvent;\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 "paste": ClipboardEvent;\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 "slotchange": Event;\n "stalled": Event;\n "submit": SubmitEvent;\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 onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => 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 oncancel: ((this: GlobalEventHandlers, ev: Event) => 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 oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;\n oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => 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 onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => 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 onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => 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 onslotchange: ((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: SubmitEvent) => 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 /** @deprecated This is a legacy alias of `onanimationend`. */\n onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** @deprecated This is a legacy alias of `onanimationiteration`. */\n onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** @deprecated This is a legacy alias of `onanimationstart`. */\n onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;\n /** @deprecated This is a legacy alias of `ontransitionend`. */\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 /** Returns the number of elements in the collection. */\n readonly length: number;\n /** Returns the item with index index from the collection (determined by tree order). */\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 /** Sets or retrieves the language code of the object. */\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 /** Sets or retrieves the relationship between the object and the destination of the link. */\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 /** Sets or retrieves the window or frame at which to target content. */\n target: string;\n /** Retrieves or sets the text of the object as a string. */\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 /** Sets or retrieves a text alternative to the graphic. */\n alt: string;\n /** Sets or retrieves the coordinates of the object. */\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 /** Sets or retrieves the shape of the object. */\n shape: string;\n /** Sets or retrieves the window or frame at which to target content. */\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 /** Gets or sets the baseline URL on which relative links are based. */\n href: string;\n /** Sets or retrieves the window or frame at which to target content. */\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}\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 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 /** Retrieves a reference to the form that the object is embedded in. */\n readonly form: HTMLFormElement | null;\n /** Overrides the action attribute (where the data on a form is sent) on the parent form element. */\n formAction: string;\n /** Used to override the encoding (formEnctype attribute) specified on the form element. */\n formEnctype: string;\n /** Overrides the submit method attribute previously specified on a form element. */\n formMethod: string;\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 formNoValidate: boolean;\n /** Overrides the target attribute on a form element. */\n formTarget: string;\n readonly labels: NodeListOf<HTMLLabelElement>;\n /** Sets or retrieves the name of the object. */\n name: string;\n /** Gets the classification and default behavior of the button. */\n type: string;\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 readonly validationMessage: string;\n /** Returns a ValidityState object that represents the validity states of an element. */\n readonly validity: ValidityState;\n /** Sets or retrieves the default or selected value of the control. */\n value: string;\n /** Returns whether an element will successfully validate based on forms validation rules and constraints. */\n readonly willValidate: boolean;\n /** Returns whether a form will validate when it is submitted, without having to submit it. */\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 /** Gets or sets the height of a canvas element on a document. */\n height: number;\n /** Gets or sets the width of a canvas element on a document. */\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 transferControlToOffscreen(): OffscreenCanvas;\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 /** Sets or retrieves the number of objects in a collection. */\n readonly length: number;\n /** Retrieves an object from various collections. */\n item(index: number): Element | null;\n [index: number]: Element;\n}\n\ninterface HTMLCollection extends HTMLCollectionBase {\n /** Retrieves a select object or an object from an options collection. */\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 /** Returns an HTMLCollection of the option elements of the datalist element. */\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\ninterface HTMLDialogElement extends HTMLElement {\n open: boolean;\n returnValue: string;\n /**\n * Closes the dialog element.\n *\n * The argument, if provided, provides a return value.\n */\n close(returnValue?: string): void;\n /** Displays the dialog element. */\n show(): void;\n showModal(): void;\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\ndeclare var HTMLDialogElement: {\n prototype: HTMLDialogElement;\n new(): HTMLDialogElement;\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, 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, ElementCSSInlineStyle, ElementContentEditable, GlobalEventHandlers, HTMLOrSVGElement {\n accessKey: string;\n readonly accessKeyLabel: string;\n autocapitalize: string;\n dir: string;\n draggable: boolean;\n hidden: boolean;\n inert: 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 attachInternals(): ElementInternals;\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 /** Sets or retrieves the height of the object. */\n height: string;\n /**\n * Sets or retrieves the name of the object.\n * @deprecated\n */\n name: string;\n /** Sets or retrieves a URL to be loaded by the object. */\n src: string;\n type: string;\n /** Sets or retrieves the width of the object. */\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 /** Returns an HTMLCollection of the form controls in the element. */\n readonly elements: HTMLCollection;\n /** Retrieves a reference to the form that the object is embedded in. */\n readonly form: HTMLFormElement | null;\n name: string;\n /** Returns the string "fieldset". */\n readonly type: string;\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 readonly validationMessage: string;\n /** Returns a ValidityState object that represents the validity states of an element. */\n readonly validity: ValidityState;\n /** Returns whether an element will successfully validate based on forms validation rules and constraints. */\n readonly willValidate: boolean;\n /** Returns whether a form will validate when it is submitted, without having to submit it. */\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 /** Sets or retrieves a list of character encodings for input data that must be accepted by the server processing the form. */\n acceptCharset: string;\n /** Sets or retrieves the URL to which the form content is sent for processing. */\n action: string;\n /** Specifies whether autocomplete is applied to an editable text field. */\n autocomplete: string;\n /** Retrieves a collection, in source order, of all controls in a given form. */\n readonly elements: HTMLFormControlsCollection;\n /** Sets or retrieves the MIME encoding for the form. */\n encoding: string;\n /** Sets or retrieves the encoding type for the form. */\n enctype: string;\n /** Sets or retrieves the number of objects in a collection. */\n readonly length: number;\n /** Sets or retrieves how to send the form data to the server. */\n method: string;\n /** Sets or retrieves the name of the object. */\n name: string;\n /** Designates a form that is not validated when submitted. */\n noValidate: boolean;\n rel: string;\n readonly relList: DOMTokenList;\n /** Sets or retrieves the window or frame at which to target content. */\n target: string;\n /** Returns whether a form will validate when it is submitted, without having to submit it. */\n checkValidity(): boolean;\n reportValidity(): boolean;\n requestSubmit(submitter?: HTMLElement | null): void;\n /** Fires when the user resets a form. */\n reset(): void;\n /** Fires when a FORM is about to be submitted. */\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 /** Returns the hyperlink\'s URL\'s origin. */\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 /** Retrieves the document object of the page or frame. */\n readonly contentDocument: Document | null;\n /** Retrieves the object of the specified. */\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 /** Sets or retrieves the height of the object. */\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 /** Sets or retrieves the frame name. */\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 /** Sets or retrieves a URL to be loaded by the object. */\n src: string;\n /** Sets or retrives the content of the page that is to contain. */\n srcdoc: string;\n /** Sets or retrieves the width of the object. */\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 /** Sets or retrieves a text alternative to the graphic. */\n alt: string;\n /**\n * Specifies the properties of a border drawn around an object.\n * @deprecated\n */\n border: string;\n /** Retrieves whether the object is fully loaded. */\n readonly complete: boolean;\n crossOrigin: string | null;\n readonly currentSrc: string;\n decoding: "async" | "sync" | "auto";\n /** Sets or retrieves the height of the object. */\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 /** Sets or retrieves whether the image is a server-side image map. */\n isMap: boolean;\n /** Sets or retrieves the policy for loading image elements that are outside the viewport. */\n loading: "eager" | "lazy";\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 /** The original height of the image resource before sizing. */\n readonly naturalHeight: number;\n /** The original width of the image resource before sizing. */\n readonly naturalWidth: number;\n referrerPolicy: string;\n sizes: string;\n /** The address or URL of the a media resource that is to be considered. */\n src: string;\n srcset: string;\n /** Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map. */\n useMap: string;\n /**\n * Sets or retrieves the vertical margin for the object.\n * @deprecated\n */\n vspace: number;\n /** Sets or retrieves the width of the object. */\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 /** Sets or retrieves a comma-separated list of content types. */\n accept: string;\n /**\n * Sets or retrieves how the object is aligned with adjacent text.\n * @deprecated\n */\n align: string;\n /** Sets or retrieves a text alternative to the graphic. */\n alt: string;\n /** Specifies whether autocomplete is applied to an editable text field. */\n autocomplete: string;\n capture: string;\n /** Sets or retrieves the state of the check box or radio button. */\n checked: boolean;\n /** Sets or retrieves the state of the check box or radio button. */\n defaultChecked: boolean;\n /** Sets or retrieves the initial contents of the object. */\n defaultValue: string;\n dirName: string;\n disabled: boolean;\n /** Returns a FileList object on a file type input object. */\n files: FileList | null;\n /** Retrieves a reference to the form that the object is embedded in. */\n readonly form: HTMLFormElement | null;\n /** Overrides the action attribute (where the data on a form is sent) on the parent form element. */\n formAction: string;\n /** Used to override the encoding (formEnctype attribute) specified on the form element. */\n formEnctype: string;\n /** Overrides the submit method attribute previously specified on a form element. */\n formMethod: string;\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 formNoValidate: boolean;\n /** Overrides the target attribute on a form element. */\n formTarget: string;\n /** Sets or retrieves the height of the object. */\n height: number;\n /** When set, overrides the rendering of checkbox controls so that the current value is not visible. */\n indeterminate: boolean;\n readonly labels: NodeListOf<HTMLLabelElement> | null;\n /** Specifies the ID of a pre-defined datalist of options for an input element. */\n readonly list: HTMLDataListElement | null;\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 max: string;\n /** Sets or retrieves the maximum number of characters that the user can enter in a text control. */\n maxLength: number;\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 min: string;\n minLength: number;\n /** Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list. */\n multiple: boolean;\n /** Sets or retrieves the name of the object. */\n name: string;\n /** Gets or sets a string containing a regular expression that the user\'s input must match. */\n pattern: string;\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 placeholder: string;\n readOnly: boolean;\n /** When present, marks an element that can\'t be submitted without a value. */\n required: boolean;\n selectionDirection: "forward" | "backward" | "none" | null;\n /** Gets or sets the end position or offset of a text selection. */\n selectionEnd: number | null;\n /** Gets or sets the starting position or offset of a text selection. */\n selectionStart: number | null;\n size: number;\n /** The address or URL of the a media resource that is to be considered. */\n src: string;\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 step: string;\n /** Returns the content type of the object. */\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 /** 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 readonly validationMessage: string;\n /** Returns a ValidityState object that represents the validity states of an element. */\n readonly validity: ValidityState;\n /** Returns the value of the data at the cursor\'s current position. */\n value: string;\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 valueAsDate: Date | null;\n /** Returns the input field value as a number. */\n valueAsNumber: number;\n readonly webkitEntries: ReadonlyArray<FileSystemEntry>;\n webkitdirectory: boolean;\n /** Sets or retrieves the width of the object. */\n width: number;\n /** Returns whether an element will successfully validate based on forms validation rules and constraints. */\n readonly willValidate: boolean;\n /** Returns whether a form will validate when it is submitted, without having to submit it. */\n checkValidity(): boolean;\n reportValidity(): boolean;\n /** Makes the selection equal to the current object. */\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 showPicker(): 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 /** Sets or retrieves the value of a list item. */\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 /** Returns the form control that is associated with this element. */\n readonly control: HTMLElement | null;\n /** Retrieves a reference to the form that the object is embedded in. */\n readonly form: HTMLFormElement | null;\n /** Sets or retrieves the object to which the given label object is assigned. */\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 /** Retrieves a reference to the form that the object is embedded in. */\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 /** Sets or retrieves a destination URL or an anchor point. */\n href: string;\n /** Sets or retrieves the language code of the object. */\n hreflang: string;\n imageSizes: string;\n imageSrcset: string;\n integrity: string;\n /** Sets or retrieves the media type. */\n media: string;\n referrerPolicy: string;\n /** Sets or retrieves the relationship between the object and the destination of the link. */\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 /** Sets or retrieves the MIME type of the object. */\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 /** Retrieves a collection of the area objects defined for the given map object. */\n readonly areas: HTMLCollection;\n /** Sets or retrieves the name of the object. */\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 /** Gets or sets a value that indicates whether to start playing the media automatically. */\n autoplay: boolean;\n /** Gets a collection of buffered time ranges. */\n readonly buffered: TimeRanges;\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 controls: boolean;\n crossOrigin: string | null;\n /** Gets the address or URL of the current media resource that is selected by IHTMLMediaElement. */\n readonly currentSrc: string;\n /** Gets or sets the current playback position, in seconds. */\n currentTime: number;\n defaultMuted: boolean;\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 defaultPlaybackRate: number;\n disableRemotePlayback: boolean;\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 readonly duration: number;\n /** Gets information about whether the playback has ended or not. */\n readonly ended: boolean;\n /** Returns an object representing the current error state of the audio or video element. */\n readonly error: MediaError | null;\n /** Gets or sets a flag to specify whether playback should restart after it completes. */\n loop: boolean;\n /** Available only in secure contexts. */\n readonly mediaKeys: MediaKeys | null;\n /** Gets or sets a flag that indicates whether the audio (either audio or the audio track on video media) is muted. */\n muted: boolean;\n /** Gets the current network activity for the element. */\n readonly networkState: number;\n onencrypted: ((this: HTMLMediaElement, ev: MediaEncryptedEvent) => any) | null;\n onwaitingforkey: ((this: HTMLMediaElement, ev: Event) => any) | null;\n /** Gets a flag that specifies whether playback is paused. */\n readonly paused: boolean;\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 playbackRate: number;\n /** Gets TimeRanges for the current media resource that has been played. */\n readonly played: TimeRanges;\n /** Gets or sets a value indicating what data should be preloaded, if any. */\n preload: "none" | "metadata" | "auto" | "";\n preservesPitch: boolean;\n readonly readyState: number;\n readonly remote: RemotePlayback;\n /** Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked. */\n readonly seekable: TimeRanges;\n /** Gets a flag that indicates whether the client is currently moving to a new playback position in the media resource. */\n readonly seeking: boolean;\n /** The address or URL of the a media resource that is to be considered. */\n src: string;\n srcObject: MediaProvider | null;\n readonly textTracks: TextTrackList;\n /** Gets or sets the volume level for audio portions of the media element. */\n volume: number;\n addTextTrack(kind: TextTrackKind, label?: string, language?: string): TextTrack;\n /** Returns a string that specifies whether the client can play a given media resource type. */\n canPlayType(type: string): CanPlayTypeResult;\n fastSeek(time: number): void;\n /** Resets the audio or video object and loads a new media resource. */\n load(): void;\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 pause(): void;\n /** Loads and starts playback of a media resource. */\n play(): Promise<void>;\n /** Available only in secure contexts. */\n setMediaKeys(mediaKeys: MediaKeys | null): Promise<void>;\n readonly NETWORK_EMPTY: 0;\n readonly NETWORK_IDLE: 1;\n readonly NETWORK_LOADING: 2;\n readonly NETWORK_NO_SOURCE: 3;\n readonly HAVE_NOTHING: 0;\n readonly HAVE_METADATA: 1;\n readonly HAVE_CURRENT_DATA: 2;\n readonly HAVE_FUTURE_DATA: 3;\n readonly HAVE_ENOUGH_DATA: 4;\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 NETWORK_EMPTY: 0;\n readonly NETWORK_IDLE: 1;\n readonly NETWORK_LOADING: 2;\n readonly NETWORK_NO_SOURCE: 3;\n readonly HAVE_NOTHING: 0;\n readonly HAVE_METADATA: 1;\n readonly HAVE_CURRENT_DATA: 2;\n readonly HAVE_FUTURE_DATA: 3;\n readonly HAVE_ENOUGH_DATA: 4;\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 /** Gets or sets meta-information to associate with httpEquiv or name. */\n content: string;\n /** Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header. */\n httpEquiv: string;\n media: string;\n /** Sets or retrieves the value specified in the content attribute of the meta object. */\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 /** Sets or retrieves reference information about the object. */\n cite: string;\n /** Sets or retrieves the date and time of a modification to the object. */\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 /** The starting number. */\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 /** Retrieves the document object of the page or frame. */\n readonly contentDocument: Document | null;\n readonly contentWindow: WindowProxy | null;\n /** Sets or retrieves the URL that references the data of the object. */\n data: string;\n /** @deprecated */\n declare: boolean;\n /** Retrieves a reference to the form that the object is embedded in. */\n readonly form: HTMLFormElement | null;\n /** Sets or retrieves the height of the object. */\n height: string;\n /** @deprecated */\n hspace: number;\n /** Sets or retrieves the name of the object. */\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 /** Sets or retrieves the MIME type of the object. */\n type: string;\n /** Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map. */\n useMap: string;\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 readonly validationMessage: string;\n /** Returns a ValidityState object that represents the validity states of an element. */\n readonly validity: ValidityState;\n /** @deprecated */\n vspace: number;\n /** Sets or retrieves the width of the object. */\n width: string;\n /** Returns whether an element will successfully validate based on forms validation rules and constraints. */\n readonly willValidate: boolean;\n /** Returns whether a form will validate when it is submitted, without having to submit it. */\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 /** Sets or retrieves a value that you can use to implement your own label functionality for the object. */\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 /** Sets or retrieves the status of an option. */\n defaultSelected: boolean;\n disabled: boolean;\n /** Retrieves a reference to the form that the object is embedded in. */\n readonly form: HTMLFormElement | null;\n /** Sets or retrieves the ordinal position of an option in a list box. */\n readonly index: number;\n /** Sets or retrieves a value that you can use to implement your own label functionality for the object. */\n label: string;\n /** Sets or retrieves whether the option in the list box is the default item. */\n selected: boolean;\n /** Sets or retrieves the text string specified by the option tag. */\n text: string;\n /** Sets or retrieves the value which is returned to the server when the form control is submitted. */\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 /** Removes the item with index index from the collection. */\n remove(index: number): void;\n}\n\ndeclare var HTMLOptionsCollection: {\n prototype: HTMLOptionsCollection;\n new(): HTMLOptionsCollection;\n};\n\ninterface HTMLOrSVGElement {\n autofocus: boolean;\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 /** Returns the string "output". */\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/**\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.\n * @deprecated\n */\ninterface HTMLParamElement extends HTMLElement {\n /**\n * Sets or retrieves the name of an input parameter for an element.\n * @deprecated\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 * @deprecated\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\n/** @deprecated */\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 /** Defines the maximum, or "done" value for a progress element. */\n max: number;\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 readonly position: number;\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 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 /** Sets or retrieves reference information about the object. */\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 /** Sets or retrieves the status of the script. */\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 /** Retrieves the URL to an external file that contains the source code or data. */\n src: string;\n /** Retrieves or sets the text of the object as a string. */\n text: string;\n /** Sets or retrieves the MIME type for the associated scripting engine. */\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 supports(type: string): boolean;\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 /** Retrieves a reference to the form that the object is embedded in. */\n readonly form: HTMLFormElement | null;\n readonly labels: NodeListOf<HTMLLabelElement>;\n /** Sets or retrieves the number of objects in a collection. */\n length: number;\n /** Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list. */\n multiple: boolean;\n /** Sets or retrieves the name of the object. */\n name: string;\n /** Returns an HTMLOptionsCollection of the list of options. */\n readonly options: HTMLOptionsCollection;\n /** When present, marks an element that can\'t be submitted without a value. */\n required: boolean;\n /** Sets or retrieves the index of the selected option in a select object. */\n selectedIndex: number;\n readonly selectedOptions: HTMLCollectionOf<HTMLOptionElement>;\n /** Sets or retrieves the number of rows in the list box. */\n size: number;\n /** Retrieves the type of select control based on the value of the MULTIPLE attribute. */\n readonly type: string;\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 readonly validationMessage: string;\n /** Returns a ValidityState object that represents the validity states of an element. */\n readonly validity: ValidityState;\n /** Sets or retrieves the value which is returned to the server when the form control is submitted. */\n value: string;\n /** Returns whether an element will successfully validate based on forms validation rules and constraints. */\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 /** Returns whether a form will validate when it is submitted, without having to submit it. */\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 assign(...nodes: (Element | Text)[]): void;\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 height: number;\n /** Gets or sets the intended media type of the media source. */\n media: string;\n sizes: string;\n /** The address or URL of the a media resource that is to be considered. */\n src: string;\n srcset: string;\n /** Gets or sets the MIME type of a media resource. */\n type: string;\n width: number;\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 /** Enables or disables the style sheet. */\n disabled: boolean;\n /** Sets or retrieves the media type. */\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 /** Sets or retrieves abbreviated text for the object. */\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 /** Retrieves the position of the object in the cells collection of a row. */\n readonly cellIndex: number;\n /** @deprecated */\n ch: string;\n /** @deprecated */\n chOff: string;\n /** Sets or retrieves the number columns in the table that the object should span. */\n colSpan: number;\n /** Sets or retrieves a list of header cells that provide information for the object. */\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 /** Sets or retrieves how many rows in a table the cell should span. */\n rowSpan: number;\n /** Sets or retrieves the group of cells in a table to which the object\'s information applies. */\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 /** Sets or retrieves the number of columns in the group. */\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 /** Retrieves the caption object of a table. */\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 /** Sets or retrieves the number of horizontal rows contained in the object. */\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 /** Retrieves a collection of all tBody objects in the table. Objects in this collection are in source order. */\n readonly tBodies: HTMLCollectionOf<HTMLTableSectionElement>;\n /** Retrieves the tFoot object of the table. */\n tFoot: HTMLTableSectionElement | null;\n /** Retrieves the tHead object of the table. */\n tHead: HTMLTableSectionElement | null;\n /**\n * Sets or retrieves the width of the object.\n * @deprecated\n */\n width: string;\n /** Creates an empty caption element in the table. */\n createCaption(): HTMLTableCaptionElement;\n /** Creates an empty tBody element in the table. */\n createTBody(): HTMLTableSectionElement;\n /** Creates an empty tFoot element in the table. */\n createTFoot(): HTMLTableSectionElement;\n /** Returns the tHead element object if successful, or null otherwise. */\n createTHead(): HTMLTableSectionElement;\n /** Deletes the caption element and its contents from the table. */\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 /** Deletes the tFoot element and its contents from the table. */\n deleteTFoot(): void;\n /** Deletes the tHead element and its contents from the table. */\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 /** Retrieves a collection of all cells in the table row. */\n readonly cells: HTMLCollectionOf<HTMLTableCellElement>;\n /** @deprecated */\n ch: string;\n /** @deprecated */\n chOff: string;\n /** Retrieves the position of the object in the rows collection for the table. */\n readonly rowIndex: number;\n /** Retrieves the position of the object in the collection. */\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 /** Sets or retrieves the number of horizontal rows contained in the object. */\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 /** Returns the template contents (a DocumentFragment). */\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 /** Sets or retrieves the width of the object. */\n cols: number;\n /** Sets or retrieves the initial contents of the object. */\n defaultValue: string;\n dirName: string;\n disabled: boolean;\n /** Retrieves a reference to the form that the object is embedded in. */\n readonly form: HTMLFormElement | null;\n readonly labels: NodeListOf<HTMLLabelElement>;\n /** Sets or retrieves the maximum number of characters that the user can enter in a text control. */\n maxLength: number;\n minLength: number;\n /** Sets or retrieves the name of the object. */\n name: string;\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 placeholder: string;\n /** Sets or retrieves the value indicated whether the content of the object is read-only. */\n readOnly: boolean;\n /** When present, marks an element that can\'t be submitted without a value. */\n required: boolean;\n /** Sets or retrieves the number of horizontal rows contained in the object. */\n rows: number;\n selectionDirection: "forward" | "backward" | "none";\n /** Gets or sets the end position or offset of a text selection. */\n selectionEnd: number;\n /** Gets or sets the starting position or offset of a text selection. */\n selectionStart: number;\n readonly textLength: number;\n /** Retrieves the type of control. */\n readonly type: string;\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 readonly validationMessage: string;\n /** Returns a ValidityState object that represents the validity states of an element. */\n readonly validity: ValidityState;\n /** Retrieves or sets the text in the entry field of the textArea element. */\n value: string;\n /** Returns whether an element will successfully validate based on forms validation rules and constraints. */\n readonly willValidate: boolean;\n /** Sets or retrieves how to handle wordwrapping in the object. */\n wrap: string;\n /** Returns whether a form will validate when it is submitted, without having to submit it. */\n checkValidity(): boolean;\n reportValidity(): boolean;\n /** Highlights the input area of a form element. */\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 /** Retrieves or sets the text of the object as a string. */\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 /** Returns the TextTrack object corresponding to the text track of the track element. */\n readonly track: TextTrack;\n readonly NONE: 0;\n readonly LOADING: 1;\n readonly LOADED: 2;\n readonly ERROR: 3;\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 NONE: 0;\n readonly LOADING: 1;\n readonly LOADED: 2;\n readonly ERROR: 3;\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 /** Gets or sets the height of the video element. */\n height: number;\n onenterpictureinpicture: ((this: HTMLVideoElement, ev: Event) => any) | null;\n onleavepictureinpicture: ((this: HTMLVideoElement, ev: Event) => any) | null;\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 playsInline: boolean;\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 poster: string;\n /** Gets the intrinsic height of a video in CSS pixels, or zero if the dimensions are not known. */\n readonly videoHeight: number;\n /** Gets the intrinsic width of a video in CSS pixels, or zero if the dimensions are not known. */\n readonly videoWidth: number;\n /** Gets or sets the width of the video element. */\n width: number;\n cancelVideoFrameCallback(handle: number): void;\n getVideoPlaybackQuality(): VideoPlaybackQuality;\n requestPictureInPicture(): Promise<PictureInPictureWindow>;\n requestVideoFrameCallback(callback: VideoFrameRequestCallback): number;\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 /** Returns the URL of the session history entry that is now current. */\n readonly newURL: string;\n /** Returns the URL of the session history entry that was previously current. */\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 /** Returns the direction ("next", "nextunique", "prev" or "prevunique") of the cursor. */\n readonly direction: IDBCursorDirection;\n /** Returns the key of the cursor. Throws a "InvalidStateError" DOMException if the cursor is advancing or is finished. */\n readonly key: IDBValidKey;\n /** Returns the effective key of the cursor. Throws a "InvalidStateError" DOMException if the cursor is advancing or is finished. */\n readonly primaryKey: IDBValidKey;\n readonly request: IDBRequest;\n /** Returns the IDBObjectStore or IDBIndex the cursor was opened from. */\n readonly source: IDBObjectStore | IDBIndex;\n /** Advances the cursor through the next count records in range. */\n advance(count: number): void;\n /** Advances the cursor to the next record in range. */\n continue(key?: IDBValidKey): void;\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 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 /** Returns the cursor\'s current value. */\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 /** Returns the name of the database. */\n readonly name: string;\n /** Returns a list of the names of object stores in the database. */\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 /** Returns the version of the database. */\n readonly version: number;\n /** Closes the connection once all running transactions have finished. */\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 /** 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 transaction(storeNames: string | string[], mode?: IDBTransactionMode, options?: IDBTransactionOptions): 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 /** 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 deleteDatabase(name: string): IDBOpenDBRequest;\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 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 /** Returns the name of the index. */\n name: string;\n /** Returns the IDBObjectStore the index belongs to. */\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 /** Returns lower bound, or undefined if none. */\n readonly lower: any;\n /** Returns true if the lower open flag is set, and false otherwise. */\n readonly lowerOpen: boolean;\n /** Returns upper bound, or undefined if none. */\n readonly upper: any;\n /** Returns true if the upper open flag is set, and false otherwise. */\n readonly upperOpen: boolean;\n /** Returns true if key is included in the range, and false otherwise. */\n includes(key: any): boolean;\n}\n\ndeclare var IDBKeyRange: {\n prototype: IDBKeyRange;\n new(): IDBKeyRange;\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 bound(lower: any, upper: any, lowerOpen?: boolean, upperOpen?: boolean): IDBKeyRange;\n /** Returns a new IDBKeyRange starting at key with no upper bound. If open is true, key is not included in the range. */\n lowerBound(lower: any, open?: boolean): IDBKeyRange;\n /** Returns a new IDBKeyRange spanning only key. */\n only(value: any): IDBKeyRange;\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 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 /** Returns true if the store has a key generator, and false otherwise. */\n readonly autoIncrement: boolean;\n /** Returns a list of the names of indexes in the store. */\n readonly indexNames: DOMStringList;\n /** Returns the key path of the store, or null if none. */\n readonly keyPath: string | string[];\n /** Returns the name of the store. */\n name: string;\n /** Returns the associated transaction. */\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": IDBVersionChangeEvent;\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: IDBVersionChangeEvent) => 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 /** 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 readonly error: DOMException | null;\n onerror: ((this: IDBRequest<T>, ev: Event) => any) | null;\n onsuccess: ((this: IDBRequest<T>, ev: Event) => any) | null;\n /** Returns "pending" until a request is complete, then returns "done". */\n readonly readyState: IDBRequestReadyState;\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 readonly result: T;\n /** Returns the IDBObjectStore, IDBIndex, or IDBCursor the request was made against, or null if is was an open request. */\n readonly source: IDBObjectStore | IDBIndex | IDBCursor;\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 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 /** Returns the transaction\'s connection. */\n readonly db: IDBDatabase;\n readonly durability: IDBTransactionDurability;\n /** If the transaction was aborted, returns the error (a DOMException) providing the reason. */\n readonly error: DOMException | null;\n /** Returns the mode the transaction was created with ("readonly" or "readwrite"), or "versionchange" for an upgrade transaction. */\n readonly mode: IDBTransactionMode;\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 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 /** Aborts the transaction. All pending requests will fail with a "AbortError" DOMException and all changes made to the database will be reverted. */\n abort(): void;\n commit(): void;\n /** Returns an IDBObjectStore in the transaction\'s scope. */\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 /** Returns the intrinsic height of the image, in CSS pixels. */\n readonly height: number;\n /** Returns the intrinsic width of the image, in CSS pixels. */\n readonly width: number;\n /** Releases imageBitmap\'s underlying bitmap data. */\n close(): void;\n}\n\ndeclare var ImageBitmap: {\n prototype: ImageBitmap;\n new(): ImageBitmap;\n};\n\ninterface ImageBitmapRenderingContext {\n /** Returns the canvas element that the context is bound to. */\n readonly canvas: HTMLCanvasElement | OffscreenCanvas;\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 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 readonly colorSpace: PredefinedColorSpace;\n /** Returns the one-dimensional array containing the data in RGBA order, as integers in the range 0 to 255. */\n readonly data: Uint8ClampedArray;\n /** Returns the actual dimensions of the data in the ImageData object, in pixels. */\n readonly height: number;\n /** Returns the actual dimensions of the data in the ImageData object, in pixels. */\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\n/** Available only in secure contexts. */\ninterface InputDeviceInfo extends MediaDeviceInfo {\n}\n\ndeclare var InputDeviceInfo: {\n prototype: InputDeviceInfo;\n new(): InputDeviceInfo;\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: 0x91B1;\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_STANDARD: 0x00;\n readonly DOM_KEY_LOCATION_LEFT: 0x01;\n readonly DOM_KEY_LOCATION_RIGHT: 0x02;\n readonly DOM_KEY_LOCATION_NUMPAD: 0x03;\n}\n\ndeclare var KeyboardEvent: {\n prototype: KeyboardEvent;\n new(type: string, eventInitDict?: KeyboardEventInit): KeyboardEvent;\n readonly DOM_KEY_LOCATION_STANDARD: 0x00;\n readonly DOM_KEY_LOCATION_LEFT: 0x01;\n readonly DOM_KEY_LOCATION_RIGHT: 0x02;\n readonly DOM_KEY_LOCATION_NUMPAD: 0x03;\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 /** Returns a DOMStringList object listing the origins of the ancestor browsing contexts, from the parent browsing context to the top-level browsing context. */\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 /** Returns the Location object\'s URL\'s origin. */\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 /** Navigates to the given URL. */\n assign(url: string | URL): void;\n /** Reloads the current page. */\n reload(): void;\n /** Removes the current page from the session history and navigates to the given URL. */\n replace(url: string | URL): void;\n}\n\ndeclare var Location: {\n prototype: Location;\n new(): Location;\n};\n\n/** Available only in secure contexts. */\ninterface Lock {\n readonly mode: LockMode;\n readonly name: string;\n}\n\ndeclare var Lock: {\n prototype: Lock;\n new(): Lock;\n};\n\n/** Available only in secure contexts. */\ninterface LockManager {\n query(): Promise<LockManagerSnapshot>;\n request(name: string, callback: LockGrantedCallback): Promise<any>;\n request(name: string, options: LockOptions, callback: LockGrantedCallback): Promise<any>;\n}\n\ndeclare var LockManager: {\n prototype: LockManager;\n new(): LockManager;\n};\n\ninterface MIDIAccessEventMap {\n "statechange": Event;\n}\n\n/** Available only in secure contexts. */\ninterface MIDIAccess extends EventTarget {\n readonly inputs: MIDIInputMap;\n onstatechange: ((this: MIDIAccess, ev: Event) => any) | null;\n readonly outputs: MIDIOutputMap;\n readonly sysexEnabled: boolean;\n addEventListener<K extends keyof MIDIAccessEventMap>(type: K, listener: (this: MIDIAccess, ev: MIDIAccessEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MIDIAccessEventMap>(type: K, listener: (this: MIDIAccess, ev: MIDIAccessEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MIDIAccess: {\n prototype: MIDIAccess;\n new(): MIDIAccess;\n};\n\n/** Available only in secure contexts. */\ninterface MIDIConnectionEvent extends Event {\n readonly port: MIDIPort;\n}\n\ndeclare var MIDIConnectionEvent: {\n prototype: MIDIConnectionEvent;\n new(type: string, eventInitDict?: MIDIConnectionEventInit): MIDIConnectionEvent;\n};\n\ninterface MIDIInputEventMap extends MIDIPortEventMap {\n "midimessage": Event;\n}\n\n/** Available only in secure contexts. */\ninterface MIDIInput extends MIDIPort {\n onmidimessage: ((this: MIDIInput, ev: Event) => any) | null;\n addEventListener<K extends keyof MIDIInputEventMap>(type: K, listener: (this: MIDIInput, ev: MIDIInputEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MIDIInputEventMap>(type: K, listener: (this: MIDIInput, ev: MIDIInputEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MIDIInput: {\n prototype: MIDIInput;\n new(): MIDIInput;\n};\n\n/** Available only in secure contexts. */\ninterface MIDIInputMap {\n forEach(callbackfn: (value: MIDIInput, key: string, parent: MIDIInputMap) => void, thisArg?: any): void;\n}\n\ndeclare var MIDIInputMap: {\n prototype: MIDIInputMap;\n new(): MIDIInputMap;\n};\n\n/** Available only in secure contexts. */\ninterface MIDIMessageEvent extends Event {\n readonly data: Uint8Array;\n}\n\ndeclare var MIDIMessageEvent: {\n prototype: MIDIMessageEvent;\n new(type: string, eventInitDict?: MIDIMessageEventInit): MIDIMessageEvent;\n};\n\n/** Available only in secure contexts. */\ninterface MIDIOutput extends MIDIPort {\n send(data: number[], timestamp?: DOMHighResTimeStamp): void;\n addEventListener<K extends keyof MIDIPortEventMap>(type: K, listener: (this: MIDIOutput, ev: MIDIPortEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MIDIPortEventMap>(type: K, listener: (this: MIDIOutput, ev: MIDIPortEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MIDIOutput: {\n prototype: MIDIOutput;\n new(): MIDIOutput;\n};\n\n/** Available only in secure contexts. */\ninterface MIDIOutputMap {\n forEach(callbackfn: (value: MIDIOutput, key: string, parent: MIDIOutputMap) => void, thisArg?: any): void;\n}\n\ndeclare var MIDIOutputMap: {\n prototype: MIDIOutputMap;\n new(): MIDIOutputMap;\n};\n\ninterface MIDIPortEventMap {\n "statechange": Event;\n}\n\n/** Available only in secure contexts. */\ninterface MIDIPort extends EventTarget {\n readonly connection: MIDIPortConnectionState;\n readonly id: string;\n readonly manufacturer: string | null;\n readonly name: string | null;\n onstatechange: ((this: MIDIPort, ev: Event) => any) | null;\n readonly state: MIDIPortDeviceState;\n readonly type: MIDIPortType;\n readonly version: string | null;\n close(): Promise<MIDIPort>;\n open(): Promise<MIDIPort>;\n addEventListener<K extends keyof MIDIPortEventMap>(type: K, listener: (this: MIDIPort, ev: MIDIPortEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof MIDIPortEventMap>(type: K, listener: (this: MIDIPort, ev: MIDIPortEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var MIDIPort: {\n prototype: MIDIPort;\n new(): MIDIPort;\n};\n\ninterface MathMLElementEventMap extends ElementEventMap, GlobalEventHandlersEventMap {\n}\n\ninterface MathMLElement extends Element, 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/**\n * The MediaDevicesInfo interface contains information that describes a single media input or output device.\n * Available only in secure contexts.\n */\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/**\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.\n * Available only in secure contexts.\n */\ninterface MediaDevices extends EventTarget {\n ondevicechange: ((this: MediaDevices, ev: Event) => any) | null;\n enumerateDevices(): Promise<MediaDeviceInfo[]>;\n getDisplayMedia(options?: DisplayMediaStreamOptions): 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: 1;\n readonly MEDIA_ERR_NETWORK: 2;\n readonly MEDIA_ERR_DECODE: 3;\n readonly MEDIA_ERR_SRC_NOT_SUPPORTED: 4;\n}\n\ndeclare var MediaError: {\n prototype: MediaError;\n new(): MediaError;\n readonly MEDIA_ERR_ABORTED: 1;\n readonly MEDIA_ERR_NETWORK: 2;\n readonly MEDIA_ERR_DECODE: 3;\n readonly MEDIA_ERR_SRC_NOT_SUPPORTED: 4;\n};\n\n/**\n * This EncryptedMediaExtensions API interface contains the content and related data when the content decryption module generates a message for the session.\n * Available only in secure contexts.\n */\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/**\n * This EncryptedMediaExtensions API interface represents a context for message exchange with a content decryption module (CDM).\n * Available only in secure contexts.\n */\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/**\n * This EncryptedMediaExtensions API interface is a read-only map of media key statuses by key IDs.\n * Available only in secure contexts.\n */\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/**\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.\n * Available only in secure contexts.\n */\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/**\n * This EncryptedMediaExtensions API interface the represents a set of keys that an associated HTMLMediaElement can use for decryption of media data during playback.\n * Available only in secure contexts.\n */\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 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 /** Returns the first MessagePort object. */\n readonly port1: MessagePort;\n /** Returns the second MessagePort object. */\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 /** Returns the data of the message. */\n readonly data: T;\n /** Returns the last event ID string, for server-sent events. */\n readonly lastEventId: string;\n /** Returns the origin of the message, for server-sent events and cross-document messaging. */\n readonly origin: string;\n /** Returns the MessagePort array sent with the message, for cross-document messaging and channel messaging. */\n readonly ports: ReadonlyArray<MessagePort>;\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 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 /** Disconnects the port, so that it is no longer active. */\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?: StructuredSerializeOptions): void;\n /** Begins dispatching messages received on the port. */\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 MODIFICATION: 1;\n readonly ADDITION: 2;\n readonly REMOVAL: 3;\n}\n\n/** @deprecated */\ndeclare var MutationEvent: {\n prototype: MutationEvent;\n new(): MutationEvent;\n readonly MODIFICATION: 1;\n readonly ADDITION: 2;\n readonly REMOVAL: 3;\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 /** Stops observer from observing any mutations. Until the observe() method is used again, observer\'s callback will not be invoked. */\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 /** Empties the record queue and returns what was in there. */\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 /** Return the nodes added and removed respectively. */\n readonly addedNodes: NodeList;\n /** Returns the local name of the changed attribute, and null otherwise. */\n readonly attributeName: string | null;\n /** Returns the namespace of the changed attribute, and null otherwise. */\n readonly attributeNamespace: string | null;\n /** Return the previous and next sibling respectively of the added or removed nodes, and null otherwise. */\n readonly nextSibling: Node | null;\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 readonly oldValue: string | null;\n /** Return the previous and next sibling respectively of the added or removed nodes, and null otherwise. */\n readonly previousSibling: Node | null;\n /** Return the nodes added and removed respectively. */\n readonly removedNodes: NodeList;\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 readonly target: Node;\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 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/** Available only in secure contexts. */\ninterface NavigationPreloadManager {\n disable(): Promise<void>;\n enable(): Promise<void>;\n getState(): Promise<NavigationPreloadState>;\n setHeaderValue(value: string): Promise<void>;\n}\n\ndeclare var NavigationPreloadManager: {\n prototype: NavigationPreloadManager;\n new(): NavigationPreloadManager;\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, NavigatorLocks, NavigatorOnLine, NavigatorPlugins, NavigatorStorage {\n /** Available only in secure contexts. */\n readonly clipboard: Clipboard;\n /** Available only in secure contexts. */\n readonly credentials: CredentialsContainer;\n readonly doNotTrack: string | null;\n readonly geolocation: Geolocation;\n readonly maxTouchPoints: number;\n readonly mediaCapabilities: MediaCapabilities;\n /** Available only in secure contexts. */\n readonly mediaDevices: MediaDevices;\n readonly mediaSession: MediaSession;\n readonly permissions: Permissions;\n /** Available only in secure contexts. */\n readonly serviceWorker: ServiceWorkerContainer;\n /** Available only in secure contexts. */\n canShare(data?: ShareData): boolean;\n getGamepads(): (Gamepad | null)[];\n /** Available only in secure contexts. */\n requestMIDIAccess(options?: MIDIOptions): Promise<MIDIAccess>;\n /** Available only in secure contexts. */\n requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: MediaKeySystemConfiguration[]): Promise<MediaKeySystemAccess>;\n sendBeacon(url: string | URL, data?: BodyInit | null): boolean;\n /** Available only in secure contexts. */\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 /** Available only in secure contexts. */\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 /** @deprecated */\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\n/** Available only in secure contexts. */\ninterface NavigatorLocks {\n readonly locks: LockManager;\n}\n\ninterface NavigatorOnLine {\n readonly onLine: boolean;\n}\n\ninterface NavigatorPlugins {\n /** @deprecated */\n readonly mimeTypes: MimeTypeArray;\n readonly pdfViewerEnabled: boolean;\n /** @deprecated */\n readonly plugins: PluginArray;\n /** @deprecated */\n javaEnabled(): boolean;\n}\n\n/** Available only in secure contexts. */\ninterface NavigatorStorage {\n readonly storage: StorageManager;\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 /** Returns node\'s node document\'s document base URL. */\n readonly baseURI: string;\n /** Returns the children. */\n readonly childNodes: NodeListOf<ChildNode>;\n /** Returns the first child. */\n readonly firstChild: ChildNode | null;\n /** Returns true if node is connected and false otherwise. */\n readonly isConnected: boolean;\n /** Returns the last child. */\n readonly lastChild: ChildNode | null;\n /** Returns the next sibling. */\n readonly nextSibling: ChildNode | null;\n /** Returns a string appropriate for the type of node. */\n readonly nodeName: string;\n /** Returns the type of node. */\n readonly nodeType: number;\n nodeValue: string | null;\n /** Returns the node document. Returns null for documents. */\n readonly ownerDocument: Document | null;\n /** Returns the parent element. */\n readonly parentElement: HTMLElement | null;\n /** Returns the parent. */\n readonly parentNode: ParentNode | null;\n /** Returns the previous sibling. */\n readonly previousSibling: ChildNode | null;\n textContent: string | null;\n appendChild<T extends Node>(node: T): T;\n /** Returns a copy of node. If deep is true, the copy also includes the node\'s descendants. */\n cloneNode(deep?: boolean): Node;\n /** Returns a bitmask indicating the position of other relative to node. */\n compareDocumentPosition(other: Node): number;\n /** Returns true if other is an inclusive descendant of node, and false otherwise. */\n contains(other: Node | null): boolean;\n /** Returns node\'s root. */\n getRootNode(options?: GetRootNodeOptions): Node;\n /** Returns whether node has children. */\n hasChildNodes(): boolean;\n insertBefore<T extends Node>(node: T, child: Node | null): T;\n isDefaultNamespace(namespace: string | null): boolean;\n /** Returns whether node and otherNode have the same properties. */\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 /** Removes empty exclusive Text nodes and concatenates the data of remaining contiguous exclusive Text nodes into the first of their nodes. */\n normalize(): void;\n removeChild<T extends Node>(child: T): T;\n replaceChild<T extends Node>(node: Node, child: T): T;\n /** node is an element. */\n readonly ELEMENT_NODE: 1;\n readonly ATTRIBUTE_NODE: 2;\n /** node is a Text node. */\n readonly TEXT_NODE: 3;\n /** node is a CDATASection node. */\n readonly CDATA_SECTION_NODE: 4;\n readonly ENTITY_REFERENCE_NODE: 5;\n readonly ENTITY_NODE: 6;\n /** node is a ProcessingInstruction node. */\n readonly PROCESSING_INSTRUCTION_NODE: 7;\n /** node is a Comment node. */\n readonly COMMENT_NODE: 8;\n /** node is a document. */\n readonly DOCUMENT_NODE: 9;\n /** node is a doctype. */\n readonly DOCUMENT_TYPE_NODE: 10;\n /** node is a DocumentFragment node. */\n readonly DOCUMENT_FRAGMENT_NODE: 11;\n readonly NOTATION_NODE: 12;\n /** Set when node and other are not in the same tree. */\n readonly DOCUMENT_POSITION_DISCONNECTED: 0x01;\n /** Set when other is preceding node. */\n readonly DOCUMENT_POSITION_PRECEDING: 0x02;\n /** Set when other is following node. */\n readonly DOCUMENT_POSITION_FOLLOWING: 0x04;\n /** Set when other is an ancestor of node. */\n readonly DOCUMENT_POSITION_CONTAINS: 0x08;\n /** Set when other is a descendant of node. */\n readonly DOCUMENT_POSITION_CONTAINED_BY: 0x10;\n readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 0x20;\n}\n\ndeclare var Node: {\n prototype: Node;\n new(): Node;\n /** node is an element. */\n readonly ELEMENT_NODE: 1;\n readonly ATTRIBUTE_NODE: 2;\n /** node is a Text node. */\n readonly TEXT_NODE: 3;\n /** node is a CDATASection node. */\n readonly CDATA_SECTION_NODE: 4;\n readonly ENTITY_REFERENCE_NODE: 5;\n readonly ENTITY_NODE: 6;\n /** node is a ProcessingInstruction node. */\n readonly PROCESSING_INSTRUCTION_NODE: 7;\n /** node is a Comment node. */\n readonly COMMENT_NODE: 8;\n /** node is a document. */\n readonly DOCUMENT_NODE: 9;\n /** node is a doctype. */\n readonly DOCUMENT_TYPE_NODE: 10;\n /** node is a DocumentFragment node. */\n readonly DOCUMENT_FRAGMENT_NODE: 11;\n readonly NOTATION_NODE: 12;\n /** Set when node and other are not in the same tree. */\n readonly DOCUMENT_POSITION_DISCONNECTED: 0x01;\n /** Set when other is preceding node. */\n readonly DOCUMENT_POSITION_PRECEDING: 0x02;\n /** Set when other is following node. */\n readonly DOCUMENT_POSITION_FOLLOWING: 0x04;\n /** Set when other is an ancestor of node. */\n readonly DOCUMENT_POSITION_CONTAINS: 0x08;\n /** Set when other is a descendant of node. */\n readonly DOCUMENT_POSITION_CONTAINED_BY: 0x10;\n readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 0x20;\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 /** Returns the number of nodes in the collection. */\n readonly length: number;\n /** Returns the node with index index from the collection. The nodes are sorted in tree order. */\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 /** Returns the first following sibling that is an element, and null otherwise. */\n readonly nextElementSibling: Element | null;\n /** Returns the first preceding sibling that is an element, and null otherwise. */\n readonly previousElementSibling: Element | null;\n}\n\ninterface NonElementParentNode {\n /** Returns the first element within node\'s descendants whose ID is elementId. */\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\ninterface OES_draw_buffers_indexed {\n blendEquationSeparateiOES(buf: GLuint, modeRGB: GLenum, modeAlpha: GLenum): void;\n blendEquationiOES(buf: GLuint, mode: GLenum): void;\n blendFuncSeparateiOES(buf: GLuint, srcRGB: GLenum, dstRGB: GLenum, srcAlpha: GLenum, dstAlpha: GLenum): void;\n blendFunciOES(buf: GLuint, src: GLenum, dst: GLenum): void;\n colorMaskiOES(buf: GLuint, r: GLboolean, g: GLboolean, b: GLboolean, a: GLboolean): void;\n disableiOES(target: GLenum, index: GLuint): void;\n enableiOES(target: GLenum, index: GLuint): void;\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: 0x8B8B;\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: 0x8D61;\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: 0x85B5;\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_NUM_VIEWS_OVR: 0x9630;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR: 0x9632;\n readonly MAX_VIEWS_OVR: 0x9631;\n readonly FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR: 0x9633;\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\ninterface OffscreenCanvasEventMap {\n "contextlost": Event;\n "contextrestored": Event;\n}\n\ninterface OffscreenCanvas extends EventTarget {\n /**\n * These attributes return the dimensions of the OffscreenCanvas object\'s bitmap.\n *\n * They can be set, to replace the bitmap with a new, transparent black bitmap of the specified dimensions (effectively resizing it).\n */\n height: number;\n oncontextlost: ((this: OffscreenCanvas, ev: Event) => any) | null;\n oncontextrestored: ((this: OffscreenCanvas, ev: Event) => any) | null;\n /**\n * These attributes return the dimensions of the OffscreenCanvas object\'s bitmap.\n *\n * They can be set, to replace the bitmap with a new, transparent black bitmap of the specified dimensions (effectively resizing it).\n */\n width: number;\n /**\n * Returns a promise that will fulfill with a new Blob object representing a file containing the image in the OffscreenCanvas object.\n *\n * The argument, if provided, is a dictionary that controls the encoding options of the image file to be created. The type field specifies the file format and has a default value of "image/png"; that type is also used if the requested type isn\'t supported. If the image format supports variable quality (such as "image/jpeg"), then the quality field is a number in the range 0.0 to 1.0 inclusive indicating the desired quality level for the resulting image.\n */\n convertToBlob(options?: ImageEncodeOptions): Promise<Blob>;\n /**\n * Returns an object that exposes an API for drawing on the OffscreenCanvas object. contextId specifies the desired API: "2d", "bitmaprenderer", "webgl", or "webgl2". options is handled by that API.\n *\n * This specification defines the "2d" context below, which is similar but distinct from the "2d" context that is created from a canvas element. The WebGL specifications define the "webgl" and "webgl2" contexts. [WEBGL]\n *\n * Returns null if the canvas has already been initialized with another context type (e.g., trying to get a "2d" context after getting a "webgl" context).\n */\n getContext(contextId: "2d", options?: any): OffscreenCanvasRenderingContext2D | null;\n getContext(contextId: "bitmaprenderer", options?: any): ImageBitmapRenderingContext | null;\n getContext(contextId: "webgl", options?: any): WebGLRenderingContext | null;\n getContext(contextId: "webgl2", options?: any): WebGL2RenderingContext | null;\n getContext(contextId: OffscreenRenderingContextId, options?: any): OffscreenRenderingContext | null;\n /** Returns a newly created ImageBitmap object with the image in the OffscreenCanvas object. The image in the OffscreenCanvas object is replaced with a new blank image. */\n transferToImageBitmap(): ImageBitmap;\n addEventListener<K extends keyof OffscreenCanvasEventMap>(type: K, listener: (this: OffscreenCanvas, ev: OffscreenCanvasEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof OffscreenCanvasEventMap>(type: K, listener: (this: OffscreenCanvas, ev: OffscreenCanvasEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var OffscreenCanvas: {\n prototype: OffscreenCanvas;\n new(width: number, height: number): OffscreenCanvas;\n};\n\ninterface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform {\n readonly canvas: OffscreenCanvas;\n commit(): void;\n}\n\ndeclare var OffscreenCanvasRenderingContext2D: {\n prototype: OffscreenCanvasRenderingContext2D;\n new(): OffscreenCanvasRenderingContext2D;\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 /** Returns the child elements. */\n readonly children: HTMLCollection;\n /** Returns the first child that is an element, and null otherwise. */\n readonly firstElementChild: Element | null;\n /** Returns the last child that is an element, and null otherwise. */\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 /** Returns the first element that is a descendant of node that matches selectors. */\n querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;\n querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;\n querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;\n /** @deprecated */\n querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;\n querySelector<E extends Element = Element>(selectors: string): E | null;\n /** Returns all element descendants of node that match selectors. */\n querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;\n querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;\n querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;\n /** @deprecated */\n querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[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 /** Adds to the path the path given by the argument. */\n addPath(path: Path2D, transform?: DOMMatrix2DInit): void;\n}\n\ndeclare var Path2D: {\n prototype: Path2D;\n new(path?: Path2D | string): Path2D;\n};\n\n/** Available only in secure contexts. */\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/**\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.\n * Available only in secure contexts.\n */\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/**\n * This Payment Request API interface enables a web page to update the details of a PaymentRequest in response to a user action.\n * Available only in secure contexts.\n */\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/**\n * This Payment Request API interface is returned after a user selects a payment method and approves a payment request.\n * Available only in secure contexts.\n */\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 readonly eventCounts: EventCounts;\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 toJSON(): any;\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_NAVIGATE: 0;\n readonly TYPE_RELOAD: 1;\n readonly TYPE_BACK_FORWARD: 2;\n readonly TYPE_RESERVED: 255;\n}\n\n/** @deprecated */\ndeclare var PerformanceNavigation: {\n prototype: PerformanceNavigation;\n new(): PerformanceNavigation;\n readonly TYPE_NAVIGATE: 0;\n readonly TYPE_RELOAD: 1;\n readonly TYPE_BACK_FORWARD: 2;\n readonly TYPE_RESERVED: 255;\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: NavigationTimingType;\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 readonly name: string;\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 PictureInPictureEvent extends Event {\n readonly pictureInPictureWindow: PictureInPictureWindow;\n}\n\ndeclare var PictureInPictureEvent: {\n prototype: PictureInPictureEvent;\n new(type: string, eventInitDict: PictureInPictureEventInit): PictureInPictureEvent;\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 /** Available only in secure contexts. */\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 /** Returns a copy of the information that was provided to pushState() or replaceState(). */\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\n/** Available only in secure contexts. */\ninterface PublicKeyCredential extends Credential {\n readonly authenticatorAttachment: string | null;\n readonly rawId: ArrayBuffer;\n readonly response: AuthenticatorResponse;\n getClientExtensionResults(): AuthenticationExtensionsClientOutputs;\n}\n\ndeclare var PublicKeyCredential: {\n prototype: PublicKeyCredential;\n new(): PublicKeyCredential;\n isConditionalMediationAvailable(): Promise<boolean>;\n isUserVerifyingPlatformAuthenticatorAvailable(): Promise<boolean>;\n};\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.\n * Available only in secure contexts.\n */\ninterface PushManager {\n getSubscription(): Promise<PushSubscription | null>;\n permissionState(options?: PushSubscriptionOptionsInit): Promise<PermissionState>;\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/**\n * This Push API interface provides a subcription\'s URL endpoint and allows unsubscription from a push service.\n * Available only in secure contexts.\n */\ninterface PushSubscription {\n readonly endpoint: string;\n readonly expirationTime: EpochTimeStamp | null;\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\n/** Available only in secure contexts. */\ninterface PushSubscriptionOptions {\n readonly applicationServerKey: ArrayBuffer | null;\n readonly userVisibleOnly: boolean;\n}\n\ndeclare var PushSubscriptionOptions: {\n prototype: PushSubscriptionOptions;\n new(): PushSubscriptionOptions;\n};\n\ninterface RTCCertificate {\n readonly expires: EpochTimeStamp;\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 "closing": 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 onclosing: ((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 "error": Event;\n "statechange": Event;\n}\n\ninterface RTCDtlsTransport extends EventTarget {\n readonly iceTransport: RTCIceTransport;\n onerror: ((this: RTCDtlsTransport, ev: Event) => any) | null;\n onstatechange: ((this: RTCDtlsTransport, ev: Event) => any) | null;\n readonly state: RTCDtlsTransportState;\n getRemoteCertificates(): ArrayBuffer[];\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\ninterface RTCEncodedAudioFrame {\n data: ArrayBuffer;\n readonly timestamp: number;\n getMetadata(): RTCEncodedAudioFrameMetadata;\n}\n\ndeclare var RTCEncodedAudioFrame: {\n prototype: RTCEncodedAudioFrame;\n new(): RTCEncodedAudioFrame;\n};\n\ninterface RTCEncodedVideoFrame {\n data: ArrayBuffer;\n readonly timestamp: number;\n readonly type: RTCEncodedVideoFrameType;\n getMetadata(): RTCEncodedVideoFrameMetadata;\n}\n\ndeclare var RTCEncodedVideoFrame: {\n prototype: RTCEncodedVideoFrame;\n new(): RTCEncodedVideoFrame;\n};\n\ninterface RTCError extends DOMException {\n readonly errorDetail: RTCErrorDetailType;\n readonly receivedAlert: number | null;\n readonly sctpCauseCode: number | null;\n readonly sdpLineNumber: number | null;\n readonly sentAlert: number | null;\n}\n\ndeclare var RTCError: {\n prototype: RTCError;\n new(init: RTCErrorInit, message?: string): RTCError;\n};\n\ninterface RTCErrorEvent extends Event {\n readonly error: RTCError;\n}\n\ndeclare var RTCErrorEvent: {\n prototype: RTCErrorEvent;\n new(type: string, eventInitDict: RTCErrorEventInit): RTCErrorEvent;\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\ninterface RTCIceTransportEventMap {\n "gatheringstatechange": Event;\n "statechange": Event;\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 ongatheringstatechange: ((this: RTCIceTransport, ev: Event) => any) | null;\n onstatechange: ((this: RTCIceTransport, ev: Event) => any) | null;\n readonly state: RTCIceTransportState;\n addEventListener<K extends keyof RTCIceTransportEventMap>(type: K, listener: (this: RTCIceTransport, ev: RTCIceTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof RTCIceTransportEventMap>(type: K, listener: (this: RTCIceTransport, ev: RTCIceTransportEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\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 sctp: RTCSctpTransport | 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 setCodecPreferences(codecs: RTCRtpCodecCapability[]): void;\n stop(): void;\n}\n\ndeclare var RTCRtpTransceiver: {\n prototype: RTCRtpTransceiver;\n new(): RTCRtpTransceiver;\n};\n\ninterface RTCSctpTransportEventMap {\n "statechange": Event;\n}\n\ninterface RTCSctpTransport extends EventTarget {\n readonly maxChannels: number | null;\n readonly maxMessageSize: number;\n onstatechange: ((this: RTCSctpTransport, ev: Event) => any) | null;\n readonly state: RTCSctpTransportState;\n readonly transport: RTCDtlsTransport;\n addEventListener<K extends keyof RTCSctpTransportEventMap>(type: K, listener: (this: RTCSctpTransport, ev: RTCSctpTransportEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof RTCSctpTransportEventMap>(type: K, listener: (this: RTCSctpTransport, ev: RTCSctpTransportEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var RTCSctpTransport: {\n prototype: RTCSctpTransport;\n new(): RTCSctpTransport;\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 /** Returns the node, furthest away from the document, that is an ancestor of both range\'s start node and end node. */\n readonly commonAncestorContainer: Node;\n cloneContents(): DocumentFragment;\n cloneRange(): Range;\n collapse(toStart?: boolean): void;\n compareBoundaryPoints(how: number, sourceRange: Range): number;\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 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 /** Returns whether range intersects node. */\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 START_TO_START: 0;\n readonly START_TO_END: 1;\n readonly END_TO_END: 2;\n readonly END_TO_START: 3;\n}\n\ndeclare var Range: {\n prototype: Range;\n new(): Range;\n readonly START_TO_START: 0;\n readonly START_TO_END: 1;\n readonly END_TO_END: 2;\n readonly END_TO_START: 3;\n toString(): string;\n};\n\ninterface ReadableByteStreamController {\n readonly byobRequest: ReadableStreamBYOBRequest | null;\n readonly desiredSize: number | null;\n close(): void;\n enqueue(chunk: ArrayBufferView): void;\n error(e?: any): void;\n}\n\ndeclare var ReadableByteStreamController: {\n prototype: ReadableByteStreamController;\n new(): ReadableByteStreamController;\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(options: { mode: "byob" }): ReadableStreamBYOBReader;\n getReader(): ReadableStreamDefaultReader<R>;\n getReader(options?: ReadableStreamGetReaderOptions): ReadableStreamReader<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}\n\ndeclare var ReadableStream: {\n prototype: ReadableStream;\n new(underlyingSource: UnderlyingByteSource, strategy?: { highWaterMark?: number }): ReadableStream<Uint8Array>;\n new<R = any>(underlyingSource: UnderlyingDefaultSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;\n new<R = any>(underlyingSource?: UnderlyingSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;\n};\n\ninterface ReadableStreamBYOBReader extends ReadableStreamGenericReader {\n read<T extends ArrayBufferView>(view: T): Promise<ReadableStreamReadResult<T>>;\n releaseLock(): void;\n}\n\ndeclare var ReadableStreamBYOBReader: {\n prototype: ReadableStreamBYOBReader;\n new(stream: ReadableStream): ReadableStreamBYOBReader;\n};\n\ninterface ReadableStreamBYOBRequest {\n readonly view: ArrayBufferView | null;\n respond(bytesWritten: number): void;\n respondWithNewView(view: ArrayBufferView): void;\n}\n\ndeclare var ReadableStreamBYOBRequest: {\n prototype: ReadableStreamBYOBRequest;\n new(): ReadableStreamBYOBRequest;\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<ReadableStreamReadResult<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 /** 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 readonly cache: RequestCache;\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 readonly credentials: RequestCredentials;\n /** Returns the kind of resource requested by request, e.g., "document" or "script". */\n readonly destination: RequestDestination;\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 readonly headers: Headers;\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 readonly integrity: string;\n /** Returns a boolean indicating whether or not request can outlive the global in which it was created. */\n readonly keepalive: boolean;\n /** Returns request\'s HTTP method, which is "GET" by default. */\n readonly method: string;\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 readonly mode: RequestMode;\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 readonly redirect: RequestRedirect;\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 readonly referrer: string;\n /** Returns the referrer policy associated with request. This is used during fetching to compute the value of the request\'s referrer. */\n readonly referrerPolicy: ReferrerPolicy;\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 readonly signal: AbortSignal;\n /** Returns the URL of request as a string. */\n readonly url: string;\n clone(): Request;\n}\n\ndeclare var Request: {\n prototype: Request;\n new(input: RequestInfo | URL, 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 devicePixelContentBoxSize: ReadonlyArray<ResizeObserverSize>;\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_UNKNOWN: 0;\n readonly SVG_ANGLETYPE_UNSPECIFIED: 1;\n readonly SVG_ANGLETYPE_DEG: 2;\n readonly SVG_ANGLETYPE_RAD: 3;\n readonly SVG_ANGLETYPE_GRAD: 4;\n}\n\ndeclare var SVGAngle: {\n prototype: SVGAngle;\n new(): SVGAngle;\n readonly SVG_ANGLETYPE_UNKNOWN: 0;\n readonly SVG_ANGLETYPE_UNSPECIFIED: 1;\n readonly SVG_ANGLETYPE_DEG: 2;\n readonly SVG_ANGLETYPE_RAD: 3;\n readonly SVG_ANGLETYPE_GRAD: 4;\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_UNKNOWN: 0;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY: 1;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_TABLE: 2;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE: 3;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_LINEAR: 4;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_GAMMA: 5;\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_UNKNOWN: 0;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY: 1;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_TABLE: 2;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE: 3;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_LINEAR: 4;\n readonly SVG_FECOMPONENTTRANSFER_TYPE_GAMMA: 5;\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, 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, ElementCSSInlineStyle, 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_UNKNOWN: 0;\n readonly SVG_FEBLEND_MODE_NORMAL: 1;\n readonly SVG_FEBLEND_MODE_MULTIPLY: 2;\n readonly SVG_FEBLEND_MODE_SCREEN: 3;\n readonly SVG_FEBLEND_MODE_DARKEN: 4;\n readonly SVG_FEBLEND_MODE_LIGHTEN: 5;\n readonly SVG_FEBLEND_MODE_OVERLAY: 6;\n readonly SVG_FEBLEND_MODE_COLOR_DODGE: 7;\n readonly SVG_FEBLEND_MODE_COLOR_BURN: 8;\n readonly SVG_FEBLEND_MODE_HARD_LIGHT: 9;\n readonly SVG_FEBLEND_MODE_SOFT_LIGHT: 10;\n readonly SVG_FEBLEND_MODE_DIFFERENCE: 11;\n readonly SVG_FEBLEND_MODE_EXCLUSION: 12;\n readonly SVG_FEBLEND_MODE_HUE: 13;\n readonly SVG_FEBLEND_MODE_SATURATION: 14;\n readonly SVG_FEBLEND_MODE_COLOR: 15;\n readonly SVG_FEBLEND_MODE_LUMINOSITY: 16;\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_UNKNOWN: 0;\n readonly SVG_FEBLEND_MODE_NORMAL: 1;\n readonly SVG_FEBLEND_MODE_MULTIPLY: 2;\n readonly SVG_FEBLEND_MODE_SCREEN: 3;\n readonly SVG_FEBLEND_MODE_DARKEN: 4;\n readonly SVG_FEBLEND_MODE_LIGHTEN: 5;\n readonly SVG_FEBLEND_MODE_OVERLAY: 6;\n readonly SVG_FEBLEND_MODE_COLOR_DODGE: 7;\n readonly SVG_FEBLEND_MODE_COLOR_BURN: 8;\n readonly SVG_FEBLEND_MODE_HARD_LIGHT: 9;\n readonly SVG_FEBLEND_MODE_SOFT_LIGHT: 10;\n readonly SVG_FEBLEND_MODE_DIFFERENCE: 11;\n readonly SVG_FEBLEND_MODE_EXCLUSION: 12;\n readonly SVG_FEBLEND_MODE_HUE: 13;\n readonly SVG_FEBLEND_MODE_SATURATION: 14;\n readonly SVG_FEBLEND_MODE_COLOR: 15;\n readonly SVG_FEBLEND_MODE_LUMINOSITY: 16;\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_UNKNOWN: 0;\n readonly SVG_FECOLORMATRIX_TYPE_MATRIX: 1;\n readonly SVG_FECOLORMATRIX_TYPE_SATURATE: 2;\n readonly SVG_FECOLORMATRIX_TYPE_HUEROTATE: 3;\n readonly SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA: 4;\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_UNKNOWN: 0;\n readonly SVG_FECOLORMATRIX_TYPE_MATRIX: 1;\n readonly SVG_FECOLORMATRIX_TYPE_SATURATE: 2;\n readonly SVG_FECOLORMATRIX_TYPE_HUEROTATE: 3;\n readonly SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA: 4;\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_UNKNOWN: 0;\n readonly SVG_FECOMPOSITE_OPERATOR_OVER: 1;\n readonly SVG_FECOMPOSITE_OPERATOR_IN: 2;\n readonly SVG_FECOMPOSITE_OPERATOR_OUT: 3;\n readonly SVG_FECOMPOSITE_OPERATOR_ATOP: 4;\n readonly SVG_FECOMPOSITE_OPERATOR_XOR: 5;\n readonly SVG_FECOMPOSITE_OPERATOR_ARITHMETIC: 6;\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_UNKNOWN: 0;\n readonly SVG_FECOMPOSITE_OPERATOR_OVER: 1;\n readonly SVG_FECOMPOSITE_OPERATOR_IN: 2;\n readonly SVG_FECOMPOSITE_OPERATOR_OUT: 3;\n readonly SVG_FECOMPOSITE_OPERATOR_ATOP: 4;\n readonly SVG_FECOMPOSITE_OPERATOR_XOR: 5;\n readonly SVG_FECOMPOSITE_OPERATOR_ARITHMETIC: 6;\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_UNKNOWN: 0;\n readonly SVG_EDGEMODE_DUPLICATE: 1;\n readonly SVG_EDGEMODE_WRAP: 2;\n readonly SVG_EDGEMODE_NONE: 3;\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_UNKNOWN: 0;\n readonly SVG_EDGEMODE_DUPLICATE: 1;\n readonly SVG_EDGEMODE_WRAP: 2;\n readonly SVG_EDGEMODE_NONE: 3;\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_UNKNOWN: 0;\n readonly SVG_CHANNEL_R: 1;\n readonly SVG_CHANNEL_G: 2;\n readonly SVG_CHANNEL_B: 3;\n readonly SVG_CHANNEL_A: 4;\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_UNKNOWN: 0;\n readonly SVG_CHANNEL_R: 1;\n readonly SVG_CHANNEL_G: 2;\n readonly SVG_CHANNEL_B: 3;\n readonly SVG_CHANNEL_A: 4;\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_UNKNOWN: 0;\n readonly SVG_MORPHOLOGY_OPERATOR_ERODE: 1;\n readonly SVG_MORPHOLOGY_OPERATOR_DILATE: 2;\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_UNKNOWN: 0;\n readonly SVG_MORPHOLOGY_OPERATOR_ERODE: 1;\n readonly SVG_MORPHOLOGY_OPERATOR_DILATE: 2;\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_TURBULENCE_TYPE_UNKNOWN: 0;\n readonly SVG_TURBULENCE_TYPE_FRACTALNOISE: 1;\n readonly SVG_TURBULENCE_TYPE_TURBULENCE: 2;\n readonly SVG_STITCHTYPE_UNKNOWN: 0;\n readonly SVG_STITCHTYPE_STITCH: 1;\n readonly SVG_STITCHTYPE_NOSTITCH: 2;\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_TURBULENCE_TYPE_UNKNOWN: 0;\n readonly SVG_TURBULENCE_TYPE_FRACTALNOISE: 1;\n readonly SVG_TURBULENCE_TYPE_TURBULENCE: 2;\n readonly SVG_STITCHTYPE_UNKNOWN: 0;\n readonly SVG_STITCHTYPE_STITCH: 1;\n readonly SVG_STITCHTYPE_NOSTITCH: 2;\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_UNKNOWN: 0;\n readonly SVG_SPREADMETHOD_PAD: 1;\n readonly SVG_SPREADMETHOD_REFLECT: 2;\n readonly SVG_SPREADMETHOD_REPEAT: 3;\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_UNKNOWN: 0;\n readonly SVG_SPREADMETHOD_PAD: 1;\n readonly SVG_SPREADMETHOD_REFLECT: 2;\n readonly SVG_SPREADMETHOD_REPEAT: 3;\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_UNKNOWN: 0;\n readonly SVG_LENGTHTYPE_NUMBER: 1;\n readonly SVG_LENGTHTYPE_PERCENTAGE: 2;\n readonly SVG_LENGTHTYPE_EMS: 3;\n readonly SVG_LENGTHTYPE_EXS: 4;\n readonly SVG_LENGTHTYPE_PX: 5;\n readonly SVG_LENGTHTYPE_CM: 6;\n readonly SVG_LENGTHTYPE_MM: 7;\n readonly SVG_LENGTHTYPE_IN: 8;\n readonly SVG_LENGTHTYPE_PT: 9;\n readonly SVG_LENGTHTYPE_PC: 10;\n}\n\ndeclare var SVGLength: {\n prototype: SVGLength;\n new(): SVGLength;\n readonly SVG_LENGTHTYPE_UNKNOWN: 0;\n readonly SVG_LENGTHTYPE_NUMBER: 1;\n readonly SVG_LENGTHTYPE_PERCENTAGE: 2;\n readonly SVG_LENGTHTYPE_EMS: 3;\n readonly SVG_LENGTHTYPE_EXS: 4;\n readonly SVG_LENGTHTYPE_PX: 5;\n readonly SVG_LENGTHTYPE_CM: 6;\n readonly SVG_LENGTHTYPE_MM: 7;\n readonly SVG_LENGTHTYPE_IN: 8;\n readonly SVG_LENGTHTYPE_PT: 9;\n readonly SVG_LENGTHTYPE_PC: 10;\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_UNKNOWN: 0;\n readonly SVG_MARKERUNITS_USERSPACEONUSE: 1;\n readonly SVG_MARKERUNITS_STROKEWIDTH: 2;\n readonly SVG_MARKER_ORIENT_UNKNOWN: 0;\n readonly SVG_MARKER_ORIENT_AUTO: 1;\n readonly SVG_MARKER_ORIENT_ANGLE: 2;\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_UNKNOWN: 0;\n readonly SVG_MARKERUNITS_USERSPACEONUSE: 1;\n readonly SVG_MARKERUNITS_STROKEWIDTH: 2;\n readonly SVG_MARKER_ORIENT_UNKNOWN: 0;\n readonly SVG_MARKER_ORIENT_AUTO: 1;\n readonly SVG_MARKER_ORIENT_ANGLE: 2;\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_PRESERVEASPECTRATIO_UNKNOWN: 0;\n readonly SVG_PRESERVEASPECTRATIO_NONE: 1;\n readonly SVG_PRESERVEASPECTRATIO_XMINYMIN: 2;\n readonly SVG_PRESERVEASPECTRATIO_XMIDYMIN: 3;\n readonly SVG_PRESERVEASPECTRATIO_XMAXYMIN: 4;\n readonly SVG_PRESERVEASPECTRATIO_XMINYMID: 5;\n readonly SVG_PRESERVEASPECTRATIO_XMIDYMID: 6;\n readonly SVG_PRESERVEASPECTRATIO_XMAXYMID: 7;\n readonly SVG_PRESERVEASPECTRATIO_XMINYMAX: 8;\n readonly SVG_PRESERVEASPECTRATIO_XMIDYMAX: 9;\n readonly SVG_PRESERVEASPECTRATIO_XMAXYMAX: 10;\n readonly SVG_MEETORSLICE_UNKNOWN: 0;\n readonly SVG_MEETORSLICE_MEET: 1;\n readonly SVG_MEETORSLICE_SLICE: 2;\n}\n\ndeclare var SVGPreserveAspectRatio: {\n prototype: SVGPreserveAspectRatio;\n new(): SVGPreserveAspectRatio;\n readonly SVG_PRESERVEASPECTRATIO_UNKNOWN: 0;\n readonly SVG_PRESERVEASPECTRATIO_NONE: 1;\n readonly SVG_PRESERVEASPECTRATIO_XMINYMIN: 2;\n readonly SVG_PRESERVEASPECTRATIO_XMIDYMIN: 3;\n readonly SVG_PRESERVEASPECTRATIO_XMAXYMIN: 4;\n readonly SVG_PRESERVEASPECTRATIO_XMINYMID: 5;\n readonly SVG_PRESERVEASPECTRATIO_XMIDYMID: 6;\n readonly SVG_PRESERVEASPECTRATIO_XMAXYMID: 7;\n readonly SVG_PRESERVEASPECTRATIO_XMINYMAX: 8;\n readonly SVG_PRESERVEASPECTRATIO_XMIDYMAX: 9;\n readonly SVG_PRESERVEASPECTRATIO_XMAXYMAX: 10;\n readonly SVG_MEETORSLICE_UNKNOWN: 0;\n readonly SVG_MEETORSLICE_MEET: 1;\n readonly SVG_MEETORSLICE_SLICE: 2;\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 /** @deprecated */\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_UNKNOWN: 0;\n readonly LENGTHADJUST_SPACING: 1;\n readonly LENGTHADJUST_SPACINGANDGLYPHS: 2;\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_UNKNOWN: 0;\n readonly LENGTHADJUST_SPACING: 1;\n readonly LENGTHADJUST_SPACINGANDGLYPHS: 2;\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_UNKNOWN: 0;\n readonly TEXTPATH_METHODTYPE_ALIGN: 1;\n readonly TEXTPATH_METHODTYPE_STRETCH: 2;\n readonly TEXTPATH_SPACINGTYPE_UNKNOWN: 0;\n readonly TEXTPATH_SPACINGTYPE_AUTO: 1;\n readonly TEXTPATH_SPACINGTYPE_EXACT: 2;\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_UNKNOWN: 0;\n readonly TEXTPATH_METHODTYPE_ALIGN: 1;\n readonly TEXTPATH_METHODTYPE_STRETCH: 2;\n readonly TEXTPATH_SPACINGTYPE_UNKNOWN: 0;\n readonly TEXTPATH_SPACINGTYPE_AUTO: 1;\n readonly TEXTPATH_SPACINGTYPE_EXACT: 2;\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_UNKNOWN: 0;\n readonly SVG_TRANSFORM_MATRIX: 1;\n readonly SVG_TRANSFORM_TRANSLATE: 2;\n readonly SVG_TRANSFORM_SCALE: 3;\n readonly SVG_TRANSFORM_ROTATE: 4;\n readonly SVG_TRANSFORM_SKEWX: 5;\n readonly SVG_TRANSFORM_SKEWY: 6;\n}\n\ndeclare var SVGTransform: {\n prototype: SVGTransform;\n new(): SVGTransform;\n readonly SVG_TRANSFORM_UNKNOWN: 0;\n readonly SVG_TRANSFORM_MATRIX: 1;\n readonly SVG_TRANSFORM_TRANSLATE: 2;\n readonly SVG_TRANSFORM_SCALE: 3;\n readonly SVG_TRANSFORM_ROTATE: 4;\n readonly SVG_TRANSFORM_SKEWX: 5;\n readonly SVG_TRANSFORM_SKEWY: 6;\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_UNKNOWN: 0;\n readonly SVG_UNIT_TYPE_USERSPACEONUSE: 1;\n readonly SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: 2;\n}\n\ndeclare var SVGUnitTypes: {\n prototype: SVGUnitTypes;\n new(): SVGUnitTypes;\n readonly SVG_UNIT_TYPE_UNKNOWN: 0;\n readonly SVG_UNIT_TYPE_USERSPACEONUSE: 1;\n readonly SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: 2;\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 modify(alter?: string, direction?: string, granularity?: string): void;\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/**\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.\n * Available only in secure contexts.\n */\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?: StructuredSerializeOptions): 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/**\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.\n * Available only in secure contexts.\n */\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/**\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.\n * Available only in secure contexts.\n */\ninterface ServiceWorkerRegistration extends EventTarget {\n readonly active: ServiceWorker | null;\n readonly installing: ServiceWorker | null;\n readonly navigationPreload: NavigationPreloadManager;\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 ShadowRootEventMap {\n "slotchange": Event;\n}\n\ninterface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML {\n readonly delegatesFocus: boolean;\n readonly host: Element;\n readonly mode: ShadowRootMode;\n onslotchange: ((this: ShadowRoot, ev: Event) => any) | null;\n readonly slotAssignment: SlotAssignmentMode;\n /** Throws a "NotSupportedError" DOMException if context object is a shadow root. */\n addEventListener<K extends keyof ShadowRootEventMap>(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof ShadowRootEventMap>(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ShadowRoot: {\n prototype: ShadowRoot;\n new(): ShadowRoot;\n};\n\ninterface SharedWorker extends EventTarget, AbstractWorker {\n /** Returns sharedWorker\'s MessagePort object which can be used to communicate with the global environment. */\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 /** Returns the number of key/value pairs. */\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 /** Returns the current value associated with the given key, or null if the given key does not exist. */\n getItem(key: string): string | null;\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 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 /** Returns the key of the storage item being changed. */\n readonly key: string | null;\n /** Returns the new value of the key of the storage item whose value is being changed. */\n readonly newValue: string | null;\n /** Returns the old value of the key of the storage item whose value is being changed. */\n readonly oldValue: string | null;\n /** Returns the Storage object that was affected. */\n readonly storageArea: Storage | null;\n /** Returns the URL of the document whose storage item changed. */\n readonly url: string;\n /** @deprecated */\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\n/** Available only in secure contexts. */\ninterface StorageManager {\n estimate(): Promise<StorageEstimate>;\n getDirectory(): Promise<FileSystemDirectoryHandle>;\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 /** Returns the element representing the submit button that triggered the form submission, or null if the submission was not triggered by a button. */\n readonly submitter: HTMLElement | null;\n}\n\ndeclare var SubmitEvent: {\n prototype: SubmitEvent;\n new(type: string, eventInitDict?: SubmitEventInit): SubmitEvent;\n};\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).\n * Available only in secure contexts.\n */\ninterface SubtleCrypto {\n decrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>;\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<ArrayBuffer>;\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: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;\n generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<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: ReadonlyArray<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 /** Returns the combined data of all direct Text node siblings. */\n readonly wholeText: string;\n /** Splits data at the given offset and returns the remainder as Text node. */\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 /** Returns encoding\'s name, lowercased. */\n readonly encoding: string;\n /** Returns true if error mode is "fatal", otherwise false. */\n readonly fatal: boolean;\n /** Returns the value of ignore BOM. */\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 /** Returns the result of running UTF-8\'s encoder. */\n encode(input?: string): Uint8Array;\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 encodeInto(source: string, destination: Uint8Array): TextEncoderEncodeIntoResult;\n}\n\ndeclare var TextEncoder: {\n prototype: TextEncoder;\n new(): TextEncoder;\n};\n\ninterface TextEncoderCommon {\n /** Returns "utf-8". */\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 /** Returns the measurement described below. */\n readonly actualBoundingBoxAscent: number;\n /** Returns the measurement described below. */\n readonly actualBoundingBoxDescent: number;\n /** Returns the measurement described below. */\n readonly actualBoundingBoxLeft: number;\n /** Returns the measurement described below. */\n readonly actualBoundingBoxRight: number;\n /** Returns the measurement described below. */\n readonly fontBoundingBoxAscent: number;\n /** Returns the measurement described below. */\n readonly fontBoundingBoxDescent: number;\n /** Returns the measurement described below. */\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 /** 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 readonly activeCues: TextTrackCueList | null;\n /** Returns the text track list of cues, as a TextTrackCueList object. */\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 /** Returns the text track in-band metadata track dispatch type string. */\n readonly inBandMetadataTrackDispatchType: string;\n /** Returns the text track kind string. */\n readonly kind: TextTrackKind;\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 readonly label: string;\n /** Returns the text track language string. */\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 /** Adds the given cue to textTrack\'s text track list of cues. */\n addCue(cue: TextTrackCue): void;\n /** Removes the given cue from textTrack\'s text track list of cues. */\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 /** Returns the TextTrack object to which this text track cue belongs, if any, or null otherwise. */\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 /** Returns the number of cues in the list. */\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 /** Returns the number of ranges in the object. */\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 /** Returns the track object (TextTrack, AudioTrack, or VideoTrack) to which the event relates. */\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(obj: Blob | MediaSource): string;\n revokeObjectURL(url: string): void;\n};\n\ntype webkitURL = URL;\ndeclare var webkitURL: typeof URL;\n\ninterface URLSearchParams {\n /** Appends a specified key/value pair as a new search parameter. */\n append(name: string, value: string): void;\n /** Deletes the given search parameter, and its associated value, from the list of all search parameters. */\n delete(name: string): void;\n /** Returns the first value associated to the given search parameter. */\n get(name: string): string | null;\n /** Returns all the values association with a given search parameter. */\n getAll(name: string): string[];\n /** Returns a Boolean indicating if such a search parameter exists. */\n has(name: string): boolean;\n /** Sets the value associated to a given search parameter to the given value. If there were several values, delete the others. */\n set(name: string, value: string): void;\n sort(): void;\n /** Returns a string containing a query string suitable for use in a URL. Does not include the question mark. */\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\ninterface VideoColorSpace {\n readonly fullRange: boolean | null;\n readonly matrix: VideoMatrixCoefficients | null;\n readonly primaries: VideoColorPrimaries | null;\n readonly transfer: VideoTransferCharacteristics | null;\n toJSON(): VideoColorSpaceInit;\n}\n\ndeclare var VideoColorSpace: {\n prototype: VideoColorSpace;\n new(init?: VideoColorSpaceInit): VideoColorSpace;\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 RGBA32F_EXT: 0x8814;\n readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: 0x8211;\n readonly UNSIGNED_NORMALIZED_EXT: 0x8C17;\n}\n\ninterface WEBGL_compressed_texture_astc {\n getSupportedProfiles(): string[];\n readonly COMPRESSED_RGBA_ASTC_4x4_KHR: 0x93B0;\n readonly COMPRESSED_RGBA_ASTC_5x4_KHR: 0x93B1;\n readonly COMPRESSED_RGBA_ASTC_5x5_KHR: 0x93B2;\n readonly COMPRESSED_RGBA_ASTC_6x5_KHR: 0x93B3;\n readonly COMPRESSED_RGBA_ASTC_6x6_KHR: 0x93B4;\n readonly COMPRESSED_RGBA_ASTC_8x5_KHR: 0x93B5;\n readonly COMPRESSED_RGBA_ASTC_8x6_KHR: 0x93B6;\n readonly COMPRESSED_RGBA_ASTC_8x8_KHR: 0x93B7;\n readonly COMPRESSED_RGBA_ASTC_10x5_KHR: 0x93B8;\n readonly COMPRESSED_RGBA_ASTC_10x6_KHR: 0x93B9;\n readonly COMPRESSED_RGBA_ASTC_10x8_KHR: 0x93BA;\n readonly COMPRESSED_RGBA_ASTC_10x10_KHR: 0x93BB;\n readonly COMPRESSED_RGBA_ASTC_12x10_KHR: 0x93BC;\n readonly COMPRESSED_RGBA_ASTC_12x12_KHR: 0x93BD;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR: 0x93D0;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR: 0x93D1;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR: 0x93D2;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR: 0x93D3;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR: 0x93D4;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR: 0x93D5;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR: 0x93D6;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR: 0x93D7;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR: 0x93D8;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR: 0x93D9;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR: 0x93DA;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR: 0x93DB;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR: 0x93DC;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR: 0x93DD;\n}\n\ninterface WEBGL_compressed_texture_etc {\n readonly COMPRESSED_R11_EAC: 0x9270;\n readonly COMPRESSED_SIGNED_R11_EAC: 0x9271;\n readonly COMPRESSED_RG11_EAC: 0x9272;\n readonly COMPRESSED_SIGNED_RG11_EAC: 0x9273;\n readonly COMPRESSED_RGB8_ETC2: 0x9274;\n readonly COMPRESSED_SRGB8_ETC2: 0x9275;\n readonly COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2: 0x9276;\n readonly COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2: 0x9277;\n readonly COMPRESSED_RGBA8_ETC2_EAC: 0x9278;\n readonly COMPRESSED_SRGB8_ALPHA8_ETC2_EAC: 0x9279;\n}\n\ninterface WEBGL_compressed_texture_etc1 {\n readonly COMPRESSED_RGB_ETC1_WEBGL: 0x8D64;\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_RGB_S3TC_DXT1_EXT: 0x83F0;\n readonly COMPRESSED_RGBA_S3TC_DXT1_EXT: 0x83F1;\n readonly COMPRESSED_RGBA_S3TC_DXT3_EXT: 0x83F2;\n readonly COMPRESSED_RGBA_S3TC_DXT5_EXT: 0x83F3;\n}\n\ninterface WEBGL_compressed_texture_s3tc_srgb {\n readonly COMPRESSED_SRGB_S3TC_DXT1_EXT: 0x8C4C;\n readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: 0x8C4D;\n readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT: 0x8C4E;\n readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT: 0x8C4F;\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_VENDOR_WEBGL: 0x9245;\n readonly UNMASKED_RENDERER_WEBGL: 0x9246;\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: 0x84FA;\n}\n\ninterface WEBGL_draw_buffers {\n drawBuffersWEBGL(buffers: GLenum[]): void;\n readonly COLOR_ATTACHMENT0_WEBGL: 0x8CE0;\n readonly COLOR_ATTACHMENT1_WEBGL: 0x8CE1;\n readonly COLOR_ATTACHMENT2_WEBGL: 0x8CE2;\n readonly COLOR_ATTACHMENT3_WEBGL: 0x8CE3;\n readonly COLOR_ATTACHMENT4_WEBGL: 0x8CE4;\n readonly COLOR_ATTACHMENT5_WEBGL: 0x8CE5;\n readonly COLOR_ATTACHMENT6_WEBGL: 0x8CE6;\n readonly COLOR_ATTACHMENT7_WEBGL: 0x8CE7;\n readonly COLOR_ATTACHMENT8_WEBGL: 0x8CE8;\n readonly COLOR_ATTACHMENT9_WEBGL: 0x8CE9;\n readonly COLOR_ATTACHMENT10_WEBGL: 0x8CEA;\n readonly COLOR_ATTACHMENT11_WEBGL: 0x8CEB;\n readonly COLOR_ATTACHMENT12_WEBGL: 0x8CEC;\n readonly COLOR_ATTACHMENT13_WEBGL: 0x8CED;\n readonly COLOR_ATTACHMENT14_WEBGL: 0x8CEE;\n readonly COLOR_ATTACHMENT15_WEBGL: 0x8CEF;\n readonly DRAW_BUFFER0_WEBGL: 0x8825;\n readonly DRAW_BUFFER1_WEBGL: 0x8826;\n readonly DRAW_BUFFER2_WEBGL: 0x8827;\n readonly DRAW_BUFFER3_WEBGL: 0x8828;\n readonly DRAW_BUFFER4_WEBGL: 0x8829;\n readonly DRAW_BUFFER5_WEBGL: 0x882A;\n readonly DRAW_BUFFER6_WEBGL: 0x882B;\n readonly DRAW_BUFFER7_WEBGL: 0x882C;\n readonly DRAW_BUFFER8_WEBGL: 0x882D;\n readonly DRAW_BUFFER9_WEBGL: 0x882E;\n readonly DRAW_BUFFER10_WEBGL: 0x882F;\n readonly DRAW_BUFFER11_WEBGL: 0x8830;\n readonly DRAW_BUFFER12_WEBGL: 0x8831;\n readonly DRAW_BUFFER13_WEBGL: 0x8832;\n readonly DRAW_BUFFER14_WEBGL: 0x8833;\n readonly DRAW_BUFFER15_WEBGL: 0x8834;\n readonly MAX_COLOR_ATTACHMENTS_WEBGL: 0x8CDF;\n readonly MAX_DRAW_BUFFERS_WEBGL: 0x8824;\n}\n\ninterface WEBGL_lose_context {\n loseContext(): void;\n restoreContext(): void;\n}\n\ninterface WEBGL_multi_draw {\n multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: GLuint, countsList: Int32Array | GLsizei[], countsOffset: GLuint, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: GLuint, drawcount: GLsizei): void;\n multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: GLuint, countsList: Int32Array | GLsizei[], countsOffset: GLuint, drawcount: GLsizei): void;\n multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: GLuint, drawcount: GLsizei): void;\n multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, drawcount: GLsizei): 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 READ_BUFFER: 0x0C02;\n readonly UNPACK_ROW_LENGTH: 0x0CF2;\n readonly UNPACK_SKIP_ROWS: 0x0CF3;\n readonly UNPACK_SKIP_PIXELS: 0x0CF4;\n readonly PACK_ROW_LENGTH: 0x0D02;\n readonly PACK_SKIP_ROWS: 0x0D03;\n readonly PACK_SKIP_PIXELS: 0x0D04;\n readonly COLOR: 0x1800;\n readonly DEPTH: 0x1801;\n readonly STENCIL: 0x1802;\n readonly RED: 0x1903;\n readonly RGB8: 0x8051;\n readonly RGBA8: 0x8058;\n readonly RGB10_A2: 0x8059;\n readonly TEXTURE_BINDING_3D: 0x806A;\n readonly UNPACK_SKIP_IMAGES: 0x806D;\n readonly UNPACK_IMAGE_HEIGHT: 0x806E;\n readonly TEXTURE_3D: 0x806F;\n readonly TEXTURE_WRAP_R: 0x8072;\n readonly MAX_3D_TEXTURE_SIZE: 0x8073;\n readonly UNSIGNED_INT_2_10_10_10_REV: 0x8368;\n readonly MAX_ELEMENTS_VERTICES: 0x80E8;\n readonly MAX_ELEMENTS_INDICES: 0x80E9;\n readonly TEXTURE_MIN_LOD: 0x813A;\n readonly TEXTURE_MAX_LOD: 0x813B;\n readonly TEXTURE_BASE_LEVEL: 0x813C;\n readonly TEXTURE_MAX_LEVEL: 0x813D;\n readonly MIN: 0x8007;\n readonly MAX: 0x8008;\n readonly DEPTH_COMPONENT24: 0x81A6;\n readonly MAX_TEXTURE_LOD_BIAS: 0x84FD;\n readonly TEXTURE_COMPARE_MODE: 0x884C;\n readonly TEXTURE_COMPARE_FUNC: 0x884D;\n readonly CURRENT_QUERY: 0x8865;\n readonly QUERY_RESULT: 0x8866;\n readonly QUERY_RESULT_AVAILABLE: 0x8867;\n readonly STREAM_READ: 0x88E1;\n readonly STREAM_COPY: 0x88E2;\n readonly STATIC_READ: 0x88E5;\n readonly STATIC_COPY: 0x88E6;\n readonly DYNAMIC_READ: 0x88E9;\n readonly DYNAMIC_COPY: 0x88EA;\n readonly MAX_DRAW_BUFFERS: 0x8824;\n readonly DRAW_BUFFER0: 0x8825;\n readonly DRAW_BUFFER1: 0x8826;\n readonly DRAW_BUFFER2: 0x8827;\n readonly DRAW_BUFFER3: 0x8828;\n readonly DRAW_BUFFER4: 0x8829;\n readonly DRAW_BUFFER5: 0x882A;\n readonly DRAW_BUFFER6: 0x882B;\n readonly DRAW_BUFFER7: 0x882C;\n readonly DRAW_BUFFER8: 0x882D;\n readonly DRAW_BUFFER9: 0x882E;\n readonly DRAW_BUFFER10: 0x882F;\n readonly DRAW_BUFFER11: 0x8830;\n readonly DRAW_BUFFER12: 0x8831;\n readonly DRAW_BUFFER13: 0x8832;\n readonly DRAW_BUFFER14: 0x8833;\n readonly DRAW_BUFFER15: 0x8834;\n readonly MAX_FRAGMENT_UNIFORM_COMPONENTS: 0x8B49;\n readonly MAX_VERTEX_UNIFORM_COMPONENTS: 0x8B4A;\n readonly SAMPLER_3D: 0x8B5F;\n readonly SAMPLER_2D_SHADOW: 0x8B62;\n readonly FRAGMENT_SHADER_DERIVATIVE_HINT: 0x8B8B;\n readonly PIXEL_PACK_BUFFER: 0x88EB;\n readonly PIXEL_UNPACK_BUFFER: 0x88EC;\n readonly PIXEL_PACK_BUFFER_BINDING: 0x88ED;\n readonly PIXEL_UNPACK_BUFFER_BINDING: 0x88EF;\n readonly FLOAT_MAT2x3: 0x8B65;\n readonly FLOAT_MAT2x4: 0x8B66;\n readonly FLOAT_MAT3x2: 0x8B67;\n readonly FLOAT_MAT3x4: 0x8B68;\n readonly FLOAT_MAT4x2: 0x8B69;\n readonly FLOAT_MAT4x3: 0x8B6A;\n readonly SRGB: 0x8C40;\n readonly SRGB8: 0x8C41;\n readonly SRGB8_ALPHA8: 0x8C43;\n readonly COMPARE_REF_TO_TEXTURE: 0x884E;\n readonly RGBA32F: 0x8814;\n readonly RGB32F: 0x8815;\n readonly RGBA16F: 0x881A;\n readonly RGB16F: 0x881B;\n readonly VERTEX_ATTRIB_ARRAY_INTEGER: 0x88FD;\n readonly MAX_ARRAY_TEXTURE_LAYERS: 0x88FF;\n readonly MIN_PROGRAM_TEXEL_OFFSET: 0x8904;\n readonly MAX_PROGRAM_TEXEL_OFFSET: 0x8905;\n readonly MAX_VARYING_COMPONENTS: 0x8B4B;\n readonly TEXTURE_2D_ARRAY: 0x8C1A;\n readonly TEXTURE_BINDING_2D_ARRAY: 0x8C1D;\n readonly R11F_G11F_B10F: 0x8C3A;\n readonly UNSIGNED_INT_10F_11F_11F_REV: 0x8C3B;\n readonly RGB9_E5: 0x8C3D;\n readonly UNSIGNED_INT_5_9_9_9_REV: 0x8C3E;\n readonly TRANSFORM_FEEDBACK_BUFFER_MODE: 0x8C7F;\n readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: 0x8C80;\n readonly TRANSFORM_FEEDBACK_VARYINGS: 0x8C83;\n readonly TRANSFORM_FEEDBACK_BUFFER_START: 0x8C84;\n readonly TRANSFORM_FEEDBACK_BUFFER_SIZE: 0x8C85;\n readonly TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: 0x8C88;\n readonly RASTERIZER_DISCARD: 0x8C89;\n readonly MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: 0x8C8A;\n readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: 0x8C8B;\n readonly INTERLEAVED_ATTRIBS: 0x8C8C;\n readonly SEPARATE_ATTRIBS: 0x8C8D;\n readonly TRANSFORM_FEEDBACK_BUFFER: 0x8C8E;\n readonly TRANSFORM_FEEDBACK_BUFFER_BINDING: 0x8C8F;\n readonly RGBA32UI: 0x8D70;\n readonly RGB32UI: 0x8D71;\n readonly RGBA16UI: 0x8D76;\n readonly RGB16UI: 0x8D77;\n readonly RGBA8UI: 0x8D7C;\n readonly RGB8UI: 0x8D7D;\n readonly RGBA32I: 0x8D82;\n readonly RGB32I: 0x8D83;\n readonly RGBA16I: 0x8D88;\n readonly RGB16I: 0x8D89;\n readonly RGBA8I: 0x8D8E;\n readonly RGB8I: 0x8D8F;\n readonly RED_INTEGER: 0x8D94;\n readonly RGB_INTEGER: 0x8D98;\n readonly RGBA_INTEGER: 0x8D99;\n readonly SAMPLER_2D_ARRAY: 0x8DC1;\n readonly SAMPLER_2D_ARRAY_SHADOW: 0x8DC4;\n readonly SAMPLER_CUBE_SHADOW: 0x8DC5;\n readonly UNSIGNED_INT_VEC2: 0x8DC6;\n readonly UNSIGNED_INT_VEC3: 0x8DC7;\n readonly UNSIGNED_INT_VEC4: 0x8DC8;\n readonly INT_SAMPLER_2D: 0x8DCA;\n readonly INT_SAMPLER_3D: 0x8DCB;\n readonly INT_SAMPLER_CUBE: 0x8DCC;\n readonly INT_SAMPLER_2D_ARRAY: 0x8DCF;\n readonly UNSIGNED_INT_SAMPLER_2D: 0x8DD2;\n readonly UNSIGNED_INT_SAMPLER_3D: 0x8DD3;\n readonly UNSIGNED_INT_SAMPLER_CUBE: 0x8DD4;\n readonly UNSIGNED_INT_SAMPLER_2D_ARRAY: 0x8DD7;\n readonly DEPTH_COMPONENT32F: 0x8CAC;\n readonly DEPTH32F_STENCIL8: 0x8CAD;\n readonly FLOAT_32_UNSIGNED_INT_24_8_REV: 0x8DAD;\n readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: 0x8210;\n readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: 0x8211;\n readonly FRAMEBUFFER_ATTACHMENT_RED_SIZE: 0x8212;\n readonly FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: 0x8213;\n readonly FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: 0x8214;\n readonly FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: 0x8215;\n readonly FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: 0x8216;\n readonly FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: 0x8217;\n readonly FRAMEBUFFER_DEFAULT: 0x8218;\n readonly UNSIGNED_INT_24_8: 0x84FA;\n readonly DEPTH24_STENCIL8: 0x88F0;\n readonly UNSIGNED_NORMALIZED: 0x8C17;\n readonly DRAW_FRAMEBUFFER_BINDING: 0x8CA6;\n readonly READ_FRAMEBUFFER: 0x8CA8;\n readonly DRAW_FRAMEBUFFER: 0x8CA9;\n readonly READ_FRAMEBUFFER_BINDING: 0x8CAA;\n readonly RENDERBUFFER_SAMPLES: 0x8CAB;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: 0x8CD4;\n readonly MAX_COLOR_ATTACHMENTS: 0x8CDF;\n readonly COLOR_ATTACHMENT1: 0x8CE1;\n readonly COLOR_ATTACHMENT2: 0x8CE2;\n readonly COLOR_ATTACHMENT3: 0x8CE3;\n readonly COLOR_ATTACHMENT4: 0x8CE4;\n readonly COLOR_ATTACHMENT5: 0x8CE5;\n readonly COLOR_ATTACHMENT6: 0x8CE6;\n readonly COLOR_ATTACHMENT7: 0x8CE7;\n readonly COLOR_ATTACHMENT8: 0x8CE8;\n readonly COLOR_ATTACHMENT9: 0x8CE9;\n readonly COLOR_ATTACHMENT10: 0x8CEA;\n readonly COLOR_ATTACHMENT11: 0x8CEB;\n readonly COLOR_ATTACHMENT12: 0x8CEC;\n readonly COLOR_ATTACHMENT13: 0x8CED;\n readonly COLOR_ATTACHMENT14: 0x8CEE;\n readonly COLOR_ATTACHMENT15: 0x8CEF;\n readonly FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: 0x8D56;\n readonly MAX_SAMPLES: 0x8D57;\n readonly HALF_FLOAT: 0x140B;\n readonly RG: 0x8227;\n readonly RG_INTEGER: 0x8228;\n readonly R8: 0x8229;\n readonly RG8: 0x822B;\n readonly R16F: 0x822D;\n readonly R32F: 0x822E;\n readonly RG16F: 0x822F;\n readonly RG32F: 0x8230;\n readonly R8I: 0x8231;\n readonly R8UI: 0x8232;\n readonly R16I: 0x8233;\n readonly R16UI: 0x8234;\n readonly R32I: 0x8235;\n readonly R32UI: 0x8236;\n readonly RG8I: 0x8237;\n readonly RG8UI: 0x8238;\n readonly RG16I: 0x8239;\n readonly RG16UI: 0x823A;\n readonly RG32I: 0x823B;\n readonly RG32UI: 0x823C;\n readonly VERTEX_ARRAY_BINDING: 0x85B5;\n readonly R8_SNORM: 0x8F94;\n readonly RG8_SNORM: 0x8F95;\n readonly RGB8_SNORM: 0x8F96;\n readonly RGBA8_SNORM: 0x8F97;\n readonly SIGNED_NORMALIZED: 0x8F9C;\n readonly COPY_READ_BUFFER: 0x8F36;\n readonly COPY_WRITE_BUFFER: 0x8F37;\n readonly COPY_READ_BUFFER_BINDING: 0x8F36;\n readonly COPY_WRITE_BUFFER_BINDING: 0x8F37;\n readonly UNIFORM_BUFFER: 0x8A11;\n readonly UNIFORM_BUFFER_BINDING: 0x8A28;\n readonly UNIFORM_BUFFER_START: 0x8A29;\n readonly UNIFORM_BUFFER_SIZE: 0x8A2A;\n readonly MAX_VERTEX_UNIFORM_BLOCKS: 0x8A2B;\n readonly MAX_FRAGMENT_UNIFORM_BLOCKS: 0x8A2D;\n readonly MAX_COMBINED_UNIFORM_BLOCKS: 0x8A2E;\n readonly MAX_UNIFORM_BUFFER_BINDINGS: 0x8A2F;\n readonly MAX_UNIFORM_BLOCK_SIZE: 0x8A30;\n readonly MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: 0x8A31;\n readonly MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: 0x8A33;\n readonly UNIFORM_BUFFER_OFFSET_ALIGNMENT: 0x8A34;\n readonly ACTIVE_UNIFORM_BLOCKS: 0x8A36;\n readonly UNIFORM_TYPE: 0x8A37;\n readonly UNIFORM_SIZE: 0x8A38;\n readonly UNIFORM_BLOCK_INDEX: 0x8A3A;\n readonly UNIFORM_OFFSET: 0x8A3B;\n readonly UNIFORM_ARRAY_STRIDE: 0x8A3C;\n readonly UNIFORM_MATRIX_STRIDE: 0x8A3D;\n readonly UNIFORM_IS_ROW_MAJOR: 0x8A3E;\n readonly UNIFORM_BLOCK_BINDING: 0x8A3F;\n readonly UNIFORM_BLOCK_DATA_SIZE: 0x8A40;\n readonly UNIFORM_BLOCK_ACTIVE_UNIFORMS: 0x8A42;\n readonly UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: 0x8A43;\n readonly UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: 0x8A44;\n readonly UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: 0x8A46;\n readonly INVALID_INDEX: 0xFFFFFFFF;\n readonly MAX_VERTEX_OUTPUT_COMPONENTS: 0x9122;\n readonly MAX_FRAGMENT_INPUT_COMPONENTS: 0x9125;\n readonly MAX_SERVER_WAIT_TIMEOUT: 0x9111;\n readonly OBJECT_TYPE: 0x9112;\n readonly SYNC_CONDITION: 0x9113;\n readonly SYNC_STATUS: 0x9114;\n readonly SYNC_FLAGS: 0x9115;\n readonly SYNC_FENCE: 0x9116;\n readonly SYNC_GPU_COMMANDS_COMPLETE: 0x9117;\n readonly UNSIGNALED: 0x9118;\n readonly SIGNALED: 0x9119;\n readonly ALREADY_SIGNALED: 0x911A;\n readonly TIMEOUT_EXPIRED: 0x911B;\n readonly CONDITION_SATISFIED: 0x911C;\n readonly WAIT_FAILED: 0x911D;\n readonly SYNC_FLUSH_COMMANDS_BIT: 0x00000001;\n readonly VERTEX_ATTRIB_ARRAY_DIVISOR: 0x88FE;\n readonly ANY_SAMPLES_PASSED: 0x8C2F;\n readonly ANY_SAMPLES_PASSED_CONSERVATIVE: 0x8D6A;\n readonly SAMPLER_BINDING: 0x8919;\n readonly RGB10_A2UI: 0x906F;\n readonly INT_2_10_10_10_REV: 0x8D9F;\n readonly TRANSFORM_FEEDBACK: 0x8E22;\n readonly TRANSFORM_FEEDBACK_PAUSED: 0x8E23;\n readonly TRANSFORM_FEEDBACK_ACTIVE: 0x8E24;\n readonly TRANSFORM_FEEDBACK_BINDING: 0x8E25;\n readonly TEXTURE_IMMUTABLE_FORMAT: 0x912F;\n readonly MAX_ELEMENT_INDEX: 0x8D6B;\n readonly TEXTURE_IMMUTABLE_LEVELS: 0x82DF;\n readonly TIMEOUT_IGNORED: -1;\n readonly MAX_CLIENT_WAIT_TIMEOUT_WEBGL: 0x9247;\n readonly DEPTH_BUFFER_BIT: 0x00000100;\n readonly STENCIL_BUFFER_BIT: 0x00000400;\n readonly COLOR_BUFFER_BIT: 0x00004000;\n readonly POINTS: 0x0000;\n readonly LINES: 0x0001;\n readonly LINE_LOOP: 0x0002;\n readonly LINE_STRIP: 0x0003;\n readonly TRIANGLES: 0x0004;\n readonly TRIANGLE_STRIP: 0x0005;\n readonly TRIANGLE_FAN: 0x0006;\n readonly ZERO: 0;\n readonly ONE: 1;\n readonly SRC_COLOR: 0x0300;\n readonly ONE_MINUS_SRC_COLOR: 0x0301;\n readonly SRC_ALPHA: 0x0302;\n readonly ONE_MINUS_SRC_ALPHA: 0x0303;\n readonly DST_ALPHA: 0x0304;\n readonly ONE_MINUS_DST_ALPHA: 0x0305;\n readonly DST_COLOR: 0x0306;\n readonly ONE_MINUS_DST_COLOR: 0x0307;\n readonly SRC_ALPHA_SATURATE: 0x0308;\n readonly FUNC_ADD: 0x8006;\n readonly BLEND_EQUATION: 0x8009;\n readonly BLEND_EQUATION_RGB: 0x8009;\n readonly BLEND_EQUATION_ALPHA: 0x883D;\n readonly FUNC_SUBTRACT: 0x800A;\n readonly FUNC_REVERSE_SUBTRACT: 0x800B;\n readonly BLEND_DST_RGB: 0x80C8;\n readonly BLEND_SRC_RGB: 0x80C9;\n readonly BLEND_DST_ALPHA: 0x80CA;\n readonly BLEND_SRC_ALPHA: 0x80CB;\n readonly CONSTANT_COLOR: 0x8001;\n readonly ONE_MINUS_CONSTANT_COLOR: 0x8002;\n readonly CONSTANT_ALPHA: 0x8003;\n readonly ONE_MINUS_CONSTANT_ALPHA: 0x8004;\n readonly BLEND_COLOR: 0x8005;\n readonly ARRAY_BUFFER: 0x8892;\n readonly ELEMENT_ARRAY_BUFFER: 0x8893;\n readonly ARRAY_BUFFER_BINDING: 0x8894;\n readonly ELEMENT_ARRAY_BUFFER_BINDING: 0x8895;\n readonly STREAM_DRAW: 0x88E0;\n readonly STATIC_DRAW: 0x88E4;\n readonly DYNAMIC_DRAW: 0x88E8;\n readonly BUFFER_SIZE: 0x8764;\n readonly BUFFER_USAGE: 0x8765;\n readonly CURRENT_VERTEX_ATTRIB: 0x8626;\n readonly FRONT: 0x0404;\n readonly BACK: 0x0405;\n readonly FRONT_AND_BACK: 0x0408;\n readonly CULL_FACE: 0x0B44;\n readonly BLEND: 0x0BE2;\n readonly DITHER: 0x0BD0;\n readonly STENCIL_TEST: 0x0B90;\n readonly DEPTH_TEST: 0x0B71;\n readonly SCISSOR_TEST: 0x0C11;\n readonly POLYGON_OFFSET_FILL: 0x8037;\n readonly SAMPLE_ALPHA_TO_COVERAGE: 0x809E;\n readonly SAMPLE_COVERAGE: 0x80A0;\n readonly NO_ERROR: 0;\n readonly INVALID_ENUM: 0x0500;\n readonly INVALID_VALUE: 0x0501;\n readonly INVALID_OPERATION: 0x0502;\n readonly OUT_OF_MEMORY: 0x0505;\n readonly CW: 0x0900;\n readonly CCW: 0x0901;\n readonly LINE_WIDTH: 0x0B21;\n readonly ALIASED_POINT_SIZE_RANGE: 0x846D;\n readonly ALIASED_LINE_WIDTH_RANGE: 0x846E;\n readonly CULL_FACE_MODE: 0x0B45;\n readonly FRONT_FACE: 0x0B46;\n readonly DEPTH_RANGE: 0x0B70;\n readonly DEPTH_WRITEMASK: 0x0B72;\n readonly DEPTH_CLEAR_VALUE: 0x0B73;\n readonly DEPTH_FUNC: 0x0B74;\n readonly STENCIL_CLEAR_VALUE: 0x0B91;\n readonly STENCIL_FUNC: 0x0B92;\n readonly STENCIL_FAIL: 0x0B94;\n readonly STENCIL_PASS_DEPTH_FAIL: 0x0B95;\n readonly STENCIL_PASS_DEPTH_PASS: 0x0B96;\n readonly STENCIL_REF: 0x0B97;\n readonly STENCIL_VALUE_MASK: 0x0B93;\n readonly STENCIL_WRITEMASK: 0x0B98;\n readonly STENCIL_BACK_FUNC: 0x8800;\n readonly STENCIL_BACK_FAIL: 0x8801;\n readonly STENCIL_BACK_PASS_DEPTH_FAIL: 0x8802;\n readonly STENCIL_BACK_PASS_DEPTH_PASS: 0x8803;\n readonly STENCIL_BACK_REF: 0x8CA3;\n readonly STENCIL_BACK_VALUE_MASK: 0x8CA4;\n readonly STENCIL_BACK_WRITEMASK: 0x8CA5;\n readonly VIEWPORT: 0x0BA2;\n readonly SCISSOR_BOX: 0x0C10;\n readonly COLOR_CLEAR_VALUE: 0x0C22;\n readonly COLOR_WRITEMASK: 0x0C23;\n readonly UNPACK_ALIGNMENT: 0x0CF5;\n readonly PACK_ALIGNMENT: 0x0D05;\n readonly MAX_TEXTURE_SIZE: 0x0D33;\n readonly MAX_VIEWPORT_DIMS: 0x0D3A;\n readonly SUBPIXEL_BITS: 0x0D50;\n readonly RED_BITS: 0x0D52;\n readonly GREEN_BITS: 0x0D53;\n readonly BLUE_BITS: 0x0D54;\n readonly ALPHA_BITS: 0x0D55;\n readonly DEPTH_BITS: 0x0D56;\n readonly STENCIL_BITS: 0x0D57;\n readonly POLYGON_OFFSET_UNITS: 0x2A00;\n readonly POLYGON_OFFSET_FACTOR: 0x8038;\n readonly TEXTURE_BINDING_2D: 0x8069;\n readonly SAMPLE_BUFFERS: 0x80A8;\n readonly SAMPLES: 0x80A9;\n readonly SAMPLE_COVERAGE_VALUE: 0x80AA;\n readonly SAMPLE_COVERAGE_INVERT: 0x80AB;\n readonly COMPRESSED_TEXTURE_FORMATS: 0x86A3;\n readonly DONT_CARE: 0x1100;\n readonly FASTEST: 0x1101;\n readonly NICEST: 0x1102;\n readonly GENERATE_MIPMAP_HINT: 0x8192;\n readonly BYTE: 0x1400;\n readonly UNSIGNED_BYTE: 0x1401;\n readonly SHORT: 0x1402;\n readonly UNSIGNED_SHORT: 0x1403;\n readonly INT: 0x1404;\n readonly UNSIGNED_INT: 0x1405;\n readonly FLOAT: 0x1406;\n readonly DEPTH_COMPONENT: 0x1902;\n readonly ALPHA: 0x1906;\n readonly RGB: 0x1907;\n readonly RGBA: 0x1908;\n readonly LUMINANCE: 0x1909;\n readonly LUMINANCE_ALPHA: 0x190A;\n readonly UNSIGNED_SHORT_4_4_4_4: 0x8033;\n readonly UNSIGNED_SHORT_5_5_5_1: 0x8034;\n readonly UNSIGNED_SHORT_5_6_5: 0x8363;\n readonly FRAGMENT_SHADER: 0x8B30;\n readonly VERTEX_SHADER: 0x8B31;\n readonly MAX_VERTEX_ATTRIBS: 0x8869;\n readonly MAX_VERTEX_UNIFORM_VECTORS: 0x8DFB;\n readonly MAX_VARYING_VECTORS: 0x8DFC;\n readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: 0x8B4D;\n readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: 0x8B4C;\n readonly MAX_TEXTURE_IMAGE_UNITS: 0x8872;\n readonly MAX_FRAGMENT_UNIFORM_VECTORS: 0x8DFD;\n readonly SHADER_TYPE: 0x8B4F;\n readonly DELETE_STATUS: 0x8B80;\n readonly LINK_STATUS: 0x8B82;\n readonly VALIDATE_STATUS: 0x8B83;\n readonly ATTACHED_SHADERS: 0x8B85;\n readonly ACTIVE_UNIFORMS: 0x8B86;\n readonly ACTIVE_ATTRIBUTES: 0x8B89;\n readonly SHADING_LANGUAGE_VERSION: 0x8B8C;\n readonly CURRENT_PROGRAM: 0x8B8D;\n readonly NEVER: 0x0200;\n readonly LESS: 0x0201;\n readonly EQUAL: 0x0202;\n readonly LEQUAL: 0x0203;\n readonly GREATER: 0x0204;\n readonly NOTEQUAL: 0x0205;\n readonly GEQUAL: 0x0206;\n readonly ALWAYS: 0x0207;\n readonly KEEP: 0x1E00;\n readonly REPLACE: 0x1E01;\n readonly INCR: 0x1E02;\n readonly DECR: 0x1E03;\n readonly INVERT: 0x150A;\n readonly INCR_WRAP: 0x8507;\n readonly DECR_WRAP: 0x8508;\n readonly VENDOR: 0x1F00;\n readonly RENDERER: 0x1F01;\n readonly VERSION: 0x1F02;\n readonly NEAREST: 0x2600;\n readonly LINEAR: 0x2601;\n readonly NEAREST_MIPMAP_NEAREST: 0x2700;\n readonly LINEAR_MIPMAP_NEAREST: 0x2701;\n readonly NEAREST_MIPMAP_LINEAR: 0x2702;\n readonly LINEAR_MIPMAP_LINEAR: 0x2703;\n readonly TEXTURE_MAG_FILTER: 0x2800;\n readonly TEXTURE_MIN_FILTER: 0x2801;\n readonly TEXTURE_WRAP_S: 0x2802;\n readonly TEXTURE_WRAP_T: 0x2803;\n readonly TEXTURE_2D: 0x0DE1;\n readonly TEXTURE: 0x1702;\n readonly TEXTURE_CUBE_MAP: 0x8513;\n readonly TEXTURE_BINDING_CUBE_MAP: 0x8514;\n readonly TEXTURE_CUBE_MAP_POSITIVE_X: 0x8515;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_X: 0x8516;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Y: 0x8517;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: 0x8518;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Z: 0x8519;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: 0x851A;\n readonly MAX_CUBE_MAP_TEXTURE_SIZE: 0x851C;\n readonly TEXTURE0: 0x84C0;\n readonly TEXTURE1: 0x84C1;\n readonly TEXTURE2: 0x84C2;\n readonly TEXTURE3: 0x84C3;\n readonly TEXTURE4: 0x84C4;\n readonly TEXTURE5: 0x84C5;\n readonly TEXTURE6: 0x84C6;\n readonly TEXTURE7: 0x84C7;\n readonly TEXTURE8: 0x84C8;\n readonly TEXTURE9: 0x84C9;\n readonly TEXTURE10: 0x84CA;\n readonly TEXTURE11: 0x84CB;\n readonly TEXTURE12: 0x84CC;\n readonly TEXTURE13: 0x84CD;\n readonly TEXTURE14: 0x84CE;\n readonly TEXTURE15: 0x84CF;\n readonly TEXTURE16: 0x84D0;\n readonly TEXTURE17: 0x84D1;\n readonly TEXTURE18: 0x84D2;\n readonly TEXTURE19: 0x84D3;\n readonly TEXTURE20: 0x84D4;\n readonly TEXTURE21: 0x84D5;\n readonly TEXTURE22: 0x84D6;\n readonly TEXTURE23: 0x84D7;\n readonly TEXTURE24: 0x84D8;\n readonly TEXTURE25: 0x84D9;\n readonly TEXTURE26: 0x84DA;\n readonly TEXTURE27: 0x84DB;\n readonly TEXTURE28: 0x84DC;\n readonly TEXTURE29: 0x84DD;\n readonly TEXTURE30: 0x84DE;\n readonly TEXTURE31: 0x84DF;\n readonly ACTIVE_TEXTURE: 0x84E0;\n readonly REPEAT: 0x2901;\n readonly CLAMP_TO_EDGE: 0x812F;\n readonly MIRRORED_REPEAT: 0x8370;\n readonly FLOAT_VEC2: 0x8B50;\n readonly FLOAT_VEC3: 0x8B51;\n readonly FLOAT_VEC4: 0x8B52;\n readonly INT_VEC2: 0x8B53;\n readonly INT_VEC3: 0x8B54;\n readonly INT_VEC4: 0x8B55;\n readonly BOOL: 0x8B56;\n readonly BOOL_VEC2: 0x8B57;\n readonly BOOL_VEC3: 0x8B58;\n readonly BOOL_VEC4: 0x8B59;\n readonly FLOAT_MAT2: 0x8B5A;\n readonly FLOAT_MAT3: 0x8B5B;\n readonly FLOAT_MAT4: 0x8B5C;\n readonly SAMPLER_2D: 0x8B5E;\n readonly SAMPLER_CUBE: 0x8B60;\n readonly VERTEX_ATTRIB_ARRAY_ENABLED: 0x8622;\n readonly VERTEX_ATTRIB_ARRAY_SIZE: 0x8623;\n readonly VERTEX_ATTRIB_ARRAY_STRIDE: 0x8624;\n readonly VERTEX_ATTRIB_ARRAY_TYPE: 0x8625;\n readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: 0x886A;\n readonly VERTEX_ATTRIB_ARRAY_POINTER: 0x8645;\n readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: 0x889F;\n readonly IMPLEMENTATION_COLOR_READ_TYPE: 0x8B9A;\n readonly IMPLEMENTATION_COLOR_READ_FORMAT: 0x8B9B;\n readonly COMPILE_STATUS: 0x8B81;\n readonly LOW_FLOAT: 0x8DF0;\n readonly MEDIUM_FLOAT: 0x8DF1;\n readonly HIGH_FLOAT: 0x8DF2;\n readonly LOW_INT: 0x8DF3;\n readonly MEDIUM_INT: 0x8DF4;\n readonly HIGH_INT: 0x8DF5;\n readonly FRAMEBUFFER: 0x8D40;\n readonly RENDERBUFFER: 0x8D41;\n readonly RGBA4: 0x8056;\n readonly RGB5_A1: 0x8057;\n readonly RGB565: 0x8D62;\n readonly DEPTH_COMPONENT16: 0x81A5;\n readonly STENCIL_INDEX8: 0x8D48;\n readonly DEPTH_STENCIL: 0x84F9;\n readonly RENDERBUFFER_WIDTH: 0x8D42;\n readonly RENDERBUFFER_HEIGHT: 0x8D43;\n readonly RENDERBUFFER_INTERNAL_FORMAT: 0x8D44;\n readonly RENDERBUFFER_RED_SIZE: 0x8D50;\n readonly RENDERBUFFER_GREEN_SIZE: 0x8D51;\n readonly RENDERBUFFER_BLUE_SIZE: 0x8D52;\n readonly RENDERBUFFER_ALPHA_SIZE: 0x8D53;\n readonly RENDERBUFFER_DEPTH_SIZE: 0x8D54;\n readonly RENDERBUFFER_STENCIL_SIZE: 0x8D55;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: 0x8CD0;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: 0x8CD1;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: 0x8CD2;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: 0x8CD3;\n readonly COLOR_ATTACHMENT0: 0x8CE0;\n readonly DEPTH_ATTACHMENT: 0x8D00;\n readonly STENCIL_ATTACHMENT: 0x8D20;\n readonly DEPTH_STENCIL_ATTACHMENT: 0x821A;\n readonly NONE: 0;\n readonly FRAMEBUFFER_COMPLETE: 0x8CD5;\n readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: 0x8CD6;\n readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: 0x8CD7;\n readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: 0x8CD9;\n readonly FRAMEBUFFER_UNSUPPORTED: 0x8CDD;\n readonly FRAMEBUFFER_BINDING: 0x8CA6;\n readonly RENDERBUFFER_BINDING: 0x8CA7;\n readonly MAX_RENDERBUFFER_SIZE: 0x84E8;\n readonly INVALID_FRAMEBUFFER_OPERATION: 0x0506;\n readonly UNPACK_FLIP_Y_WEBGL: 0x9240;\n readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: 0x9241;\n readonly CONTEXT_LOST_WEBGL: 0x9242;\n readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: 0x9243;\n readonly BROWSER_DEFAULT_WEBGL: 0x9244;\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 READ_BUFFER: 0x0C02;\n readonly UNPACK_ROW_LENGTH: 0x0CF2;\n readonly UNPACK_SKIP_ROWS: 0x0CF3;\n readonly UNPACK_SKIP_PIXELS: 0x0CF4;\n readonly PACK_ROW_LENGTH: 0x0D02;\n readonly PACK_SKIP_ROWS: 0x0D03;\n readonly PACK_SKIP_PIXELS: 0x0D04;\n readonly COLOR: 0x1800;\n readonly DEPTH: 0x1801;\n readonly STENCIL: 0x1802;\n readonly RED: 0x1903;\n readonly RGB8: 0x8051;\n readonly RGBA8: 0x8058;\n readonly RGB10_A2: 0x8059;\n readonly TEXTURE_BINDING_3D: 0x806A;\n readonly UNPACK_SKIP_IMAGES: 0x806D;\n readonly UNPACK_IMAGE_HEIGHT: 0x806E;\n readonly TEXTURE_3D: 0x806F;\n readonly TEXTURE_WRAP_R: 0x8072;\n readonly MAX_3D_TEXTURE_SIZE: 0x8073;\n readonly UNSIGNED_INT_2_10_10_10_REV: 0x8368;\n readonly MAX_ELEMENTS_VERTICES: 0x80E8;\n readonly MAX_ELEMENTS_INDICES: 0x80E9;\n readonly TEXTURE_MIN_LOD: 0x813A;\n readonly TEXTURE_MAX_LOD: 0x813B;\n readonly TEXTURE_BASE_LEVEL: 0x813C;\n readonly TEXTURE_MAX_LEVEL: 0x813D;\n readonly MIN: 0x8007;\n readonly MAX: 0x8008;\n readonly DEPTH_COMPONENT24: 0x81A6;\n readonly MAX_TEXTURE_LOD_BIAS: 0x84FD;\n readonly TEXTURE_COMPARE_MODE: 0x884C;\n readonly TEXTURE_COMPARE_FUNC: 0x884D;\n readonly CURRENT_QUERY: 0x8865;\n readonly QUERY_RESULT: 0x8866;\n readonly QUERY_RESULT_AVAILABLE: 0x8867;\n readonly STREAM_READ: 0x88E1;\n readonly STREAM_COPY: 0x88E2;\n readonly STATIC_READ: 0x88E5;\n readonly STATIC_COPY: 0x88E6;\n readonly DYNAMIC_READ: 0x88E9;\n readonly DYNAMIC_COPY: 0x88EA;\n readonly MAX_DRAW_BUFFERS: 0x8824;\n readonly DRAW_BUFFER0: 0x8825;\n readonly DRAW_BUFFER1: 0x8826;\n readonly DRAW_BUFFER2: 0x8827;\n readonly DRAW_BUFFER3: 0x8828;\n readonly DRAW_BUFFER4: 0x8829;\n readonly DRAW_BUFFER5: 0x882A;\n readonly DRAW_BUFFER6: 0x882B;\n readonly DRAW_BUFFER7: 0x882C;\n readonly DRAW_BUFFER8: 0x882D;\n readonly DRAW_BUFFER9: 0x882E;\n readonly DRAW_BUFFER10: 0x882F;\n readonly DRAW_BUFFER11: 0x8830;\n readonly DRAW_BUFFER12: 0x8831;\n readonly DRAW_BUFFER13: 0x8832;\n readonly DRAW_BUFFER14: 0x8833;\n readonly DRAW_BUFFER15: 0x8834;\n readonly MAX_FRAGMENT_UNIFORM_COMPONENTS: 0x8B49;\n readonly MAX_VERTEX_UNIFORM_COMPONENTS: 0x8B4A;\n readonly SAMPLER_3D: 0x8B5F;\n readonly SAMPLER_2D_SHADOW: 0x8B62;\n readonly FRAGMENT_SHADER_DERIVATIVE_HINT: 0x8B8B;\n readonly PIXEL_PACK_BUFFER: 0x88EB;\n readonly PIXEL_UNPACK_BUFFER: 0x88EC;\n readonly PIXEL_PACK_BUFFER_BINDING: 0x88ED;\n readonly PIXEL_UNPACK_BUFFER_BINDING: 0x88EF;\n readonly FLOAT_MAT2x3: 0x8B65;\n readonly FLOAT_MAT2x4: 0x8B66;\n readonly FLOAT_MAT3x2: 0x8B67;\n readonly FLOAT_MAT3x4: 0x8B68;\n readonly FLOAT_MAT4x2: 0x8B69;\n readonly FLOAT_MAT4x3: 0x8B6A;\n readonly SRGB: 0x8C40;\n readonly SRGB8: 0x8C41;\n readonly SRGB8_ALPHA8: 0x8C43;\n readonly COMPARE_REF_TO_TEXTURE: 0x884E;\n readonly RGBA32F: 0x8814;\n readonly RGB32F: 0x8815;\n readonly RGBA16F: 0x881A;\n readonly RGB16F: 0x881B;\n readonly VERTEX_ATTRIB_ARRAY_INTEGER: 0x88FD;\n readonly MAX_ARRAY_TEXTURE_LAYERS: 0x88FF;\n readonly MIN_PROGRAM_TEXEL_OFFSET: 0x8904;\n readonly MAX_PROGRAM_TEXEL_OFFSET: 0x8905;\n readonly MAX_VARYING_COMPONENTS: 0x8B4B;\n readonly TEXTURE_2D_ARRAY: 0x8C1A;\n readonly TEXTURE_BINDING_2D_ARRAY: 0x8C1D;\n readonly R11F_G11F_B10F: 0x8C3A;\n readonly UNSIGNED_INT_10F_11F_11F_REV: 0x8C3B;\n readonly RGB9_E5: 0x8C3D;\n readonly UNSIGNED_INT_5_9_9_9_REV: 0x8C3E;\n readonly TRANSFORM_FEEDBACK_BUFFER_MODE: 0x8C7F;\n readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: 0x8C80;\n readonly TRANSFORM_FEEDBACK_VARYINGS: 0x8C83;\n readonly TRANSFORM_FEEDBACK_BUFFER_START: 0x8C84;\n readonly TRANSFORM_FEEDBACK_BUFFER_SIZE: 0x8C85;\n readonly TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: 0x8C88;\n readonly RASTERIZER_DISCARD: 0x8C89;\n readonly MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: 0x8C8A;\n readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: 0x8C8B;\n readonly INTERLEAVED_ATTRIBS: 0x8C8C;\n readonly SEPARATE_ATTRIBS: 0x8C8D;\n readonly TRANSFORM_FEEDBACK_BUFFER: 0x8C8E;\n readonly TRANSFORM_FEEDBACK_BUFFER_BINDING: 0x8C8F;\n readonly RGBA32UI: 0x8D70;\n readonly RGB32UI: 0x8D71;\n readonly RGBA16UI: 0x8D76;\n readonly RGB16UI: 0x8D77;\n readonly RGBA8UI: 0x8D7C;\n readonly RGB8UI: 0x8D7D;\n readonly RGBA32I: 0x8D82;\n readonly RGB32I: 0x8D83;\n readonly RGBA16I: 0x8D88;\n readonly RGB16I: 0x8D89;\n readonly RGBA8I: 0x8D8E;\n readonly RGB8I: 0x8D8F;\n readonly RED_INTEGER: 0x8D94;\n readonly RGB_INTEGER: 0x8D98;\n readonly RGBA_INTEGER: 0x8D99;\n readonly SAMPLER_2D_ARRAY: 0x8DC1;\n readonly SAMPLER_2D_ARRAY_SHADOW: 0x8DC4;\n readonly SAMPLER_CUBE_SHADOW: 0x8DC5;\n readonly UNSIGNED_INT_VEC2: 0x8DC6;\n readonly UNSIGNED_INT_VEC3: 0x8DC7;\n readonly UNSIGNED_INT_VEC4: 0x8DC8;\n readonly INT_SAMPLER_2D: 0x8DCA;\n readonly INT_SAMPLER_3D: 0x8DCB;\n readonly INT_SAMPLER_CUBE: 0x8DCC;\n readonly INT_SAMPLER_2D_ARRAY: 0x8DCF;\n readonly UNSIGNED_INT_SAMPLER_2D: 0x8DD2;\n readonly UNSIGNED_INT_SAMPLER_3D: 0x8DD3;\n readonly UNSIGNED_INT_SAMPLER_CUBE: 0x8DD4;\n readonly UNSIGNED_INT_SAMPLER_2D_ARRAY: 0x8DD7;\n readonly DEPTH_COMPONENT32F: 0x8CAC;\n readonly DEPTH32F_STENCIL8: 0x8CAD;\n readonly FLOAT_32_UNSIGNED_INT_24_8_REV: 0x8DAD;\n readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: 0x8210;\n readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: 0x8211;\n readonly FRAMEBUFFER_ATTACHMENT_RED_SIZE: 0x8212;\n readonly FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: 0x8213;\n readonly FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: 0x8214;\n readonly FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: 0x8215;\n readonly FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: 0x8216;\n readonly FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: 0x8217;\n readonly FRAMEBUFFER_DEFAULT: 0x8218;\n readonly UNSIGNED_INT_24_8: 0x84FA;\n readonly DEPTH24_STENCIL8: 0x88F0;\n readonly UNSIGNED_NORMALIZED: 0x8C17;\n readonly DRAW_FRAMEBUFFER_BINDING: 0x8CA6;\n readonly READ_FRAMEBUFFER: 0x8CA8;\n readonly DRAW_FRAMEBUFFER: 0x8CA9;\n readonly READ_FRAMEBUFFER_BINDING: 0x8CAA;\n readonly RENDERBUFFER_SAMPLES: 0x8CAB;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: 0x8CD4;\n readonly MAX_COLOR_ATTACHMENTS: 0x8CDF;\n readonly COLOR_ATTACHMENT1: 0x8CE1;\n readonly COLOR_ATTACHMENT2: 0x8CE2;\n readonly COLOR_ATTACHMENT3: 0x8CE3;\n readonly COLOR_ATTACHMENT4: 0x8CE4;\n readonly COLOR_ATTACHMENT5: 0x8CE5;\n readonly COLOR_ATTACHMENT6: 0x8CE6;\n readonly COLOR_ATTACHMENT7: 0x8CE7;\n readonly COLOR_ATTACHMENT8: 0x8CE8;\n readonly COLOR_ATTACHMENT9: 0x8CE9;\n readonly COLOR_ATTACHMENT10: 0x8CEA;\n readonly COLOR_ATTACHMENT11: 0x8CEB;\n readonly COLOR_ATTACHMENT12: 0x8CEC;\n readonly COLOR_ATTACHMENT13: 0x8CED;\n readonly COLOR_ATTACHMENT14: 0x8CEE;\n readonly COLOR_ATTACHMENT15: 0x8CEF;\n readonly FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: 0x8D56;\n readonly MAX_SAMPLES: 0x8D57;\n readonly HALF_FLOAT: 0x140B;\n readonly RG: 0x8227;\n readonly RG_INTEGER: 0x8228;\n readonly R8: 0x8229;\n readonly RG8: 0x822B;\n readonly R16F: 0x822D;\n readonly R32F: 0x822E;\n readonly RG16F: 0x822F;\n readonly RG32F: 0x8230;\n readonly R8I: 0x8231;\n readonly R8UI: 0x8232;\n readonly R16I: 0x8233;\n readonly R16UI: 0x8234;\n readonly R32I: 0x8235;\n readonly R32UI: 0x8236;\n readonly RG8I: 0x8237;\n readonly RG8UI: 0x8238;\n readonly RG16I: 0x8239;\n readonly RG16UI: 0x823A;\n readonly RG32I: 0x823B;\n readonly RG32UI: 0x823C;\n readonly VERTEX_ARRAY_BINDING: 0x85B5;\n readonly R8_SNORM: 0x8F94;\n readonly RG8_SNORM: 0x8F95;\n readonly RGB8_SNORM: 0x8F96;\n readonly RGBA8_SNORM: 0x8F97;\n readonly SIGNED_NORMALIZED: 0x8F9C;\n readonly COPY_READ_BUFFER: 0x8F36;\n readonly COPY_WRITE_BUFFER: 0x8F37;\n readonly COPY_READ_BUFFER_BINDING: 0x8F36;\n readonly COPY_WRITE_BUFFER_BINDING: 0x8F37;\n readonly UNIFORM_BUFFER: 0x8A11;\n readonly UNIFORM_BUFFER_BINDING: 0x8A28;\n readonly UNIFORM_BUFFER_START: 0x8A29;\n readonly UNIFORM_BUFFER_SIZE: 0x8A2A;\n readonly MAX_VERTEX_UNIFORM_BLOCKS: 0x8A2B;\n readonly MAX_FRAGMENT_UNIFORM_BLOCKS: 0x8A2D;\n readonly MAX_COMBINED_UNIFORM_BLOCKS: 0x8A2E;\n readonly MAX_UNIFORM_BUFFER_BINDINGS: 0x8A2F;\n readonly MAX_UNIFORM_BLOCK_SIZE: 0x8A30;\n readonly MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: 0x8A31;\n readonly MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: 0x8A33;\n readonly UNIFORM_BUFFER_OFFSET_ALIGNMENT: 0x8A34;\n readonly ACTIVE_UNIFORM_BLOCKS: 0x8A36;\n readonly UNIFORM_TYPE: 0x8A37;\n readonly UNIFORM_SIZE: 0x8A38;\n readonly UNIFORM_BLOCK_INDEX: 0x8A3A;\n readonly UNIFORM_OFFSET: 0x8A3B;\n readonly UNIFORM_ARRAY_STRIDE: 0x8A3C;\n readonly UNIFORM_MATRIX_STRIDE: 0x8A3D;\n readonly UNIFORM_IS_ROW_MAJOR: 0x8A3E;\n readonly UNIFORM_BLOCK_BINDING: 0x8A3F;\n readonly UNIFORM_BLOCK_DATA_SIZE: 0x8A40;\n readonly UNIFORM_BLOCK_ACTIVE_UNIFORMS: 0x8A42;\n readonly UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: 0x8A43;\n readonly UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: 0x8A44;\n readonly UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: 0x8A46;\n readonly INVALID_INDEX: 0xFFFFFFFF;\n readonly MAX_VERTEX_OUTPUT_COMPONENTS: 0x9122;\n readonly MAX_FRAGMENT_INPUT_COMPONENTS: 0x9125;\n readonly MAX_SERVER_WAIT_TIMEOUT: 0x9111;\n readonly OBJECT_TYPE: 0x9112;\n readonly SYNC_CONDITION: 0x9113;\n readonly SYNC_STATUS: 0x9114;\n readonly SYNC_FLAGS: 0x9115;\n readonly SYNC_FENCE: 0x9116;\n readonly SYNC_GPU_COMMANDS_COMPLETE: 0x9117;\n readonly UNSIGNALED: 0x9118;\n readonly SIGNALED: 0x9119;\n readonly ALREADY_SIGNALED: 0x911A;\n readonly TIMEOUT_EXPIRED: 0x911B;\n readonly CONDITION_SATISFIED: 0x911C;\n readonly WAIT_FAILED: 0x911D;\n readonly SYNC_FLUSH_COMMANDS_BIT: 0x00000001;\n readonly VERTEX_ATTRIB_ARRAY_DIVISOR: 0x88FE;\n readonly ANY_SAMPLES_PASSED: 0x8C2F;\n readonly ANY_SAMPLES_PASSED_CONSERVATIVE: 0x8D6A;\n readonly SAMPLER_BINDING: 0x8919;\n readonly RGB10_A2UI: 0x906F;\n readonly INT_2_10_10_10_REV: 0x8D9F;\n readonly TRANSFORM_FEEDBACK: 0x8E22;\n readonly TRANSFORM_FEEDBACK_PAUSED: 0x8E23;\n readonly TRANSFORM_FEEDBACK_ACTIVE: 0x8E24;\n readonly TRANSFORM_FEEDBACK_BINDING: 0x8E25;\n readonly TEXTURE_IMMUTABLE_FORMAT: 0x912F;\n readonly MAX_ELEMENT_INDEX: 0x8D6B;\n readonly TEXTURE_IMMUTABLE_LEVELS: 0x82DF;\n readonly TIMEOUT_IGNORED: -1;\n readonly MAX_CLIENT_WAIT_TIMEOUT_WEBGL: 0x9247;\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 DEPTH_BUFFER_BIT: 0x00000100;\n readonly STENCIL_BUFFER_BIT: 0x00000400;\n readonly COLOR_BUFFER_BIT: 0x00004000;\n readonly POINTS: 0x0000;\n readonly LINES: 0x0001;\n readonly LINE_LOOP: 0x0002;\n readonly LINE_STRIP: 0x0003;\n readonly TRIANGLES: 0x0004;\n readonly TRIANGLE_STRIP: 0x0005;\n readonly TRIANGLE_FAN: 0x0006;\n readonly ZERO: 0;\n readonly ONE: 1;\n readonly SRC_COLOR: 0x0300;\n readonly ONE_MINUS_SRC_COLOR: 0x0301;\n readonly SRC_ALPHA: 0x0302;\n readonly ONE_MINUS_SRC_ALPHA: 0x0303;\n readonly DST_ALPHA: 0x0304;\n readonly ONE_MINUS_DST_ALPHA: 0x0305;\n readonly DST_COLOR: 0x0306;\n readonly ONE_MINUS_DST_COLOR: 0x0307;\n readonly SRC_ALPHA_SATURATE: 0x0308;\n readonly FUNC_ADD: 0x8006;\n readonly BLEND_EQUATION: 0x8009;\n readonly BLEND_EQUATION_RGB: 0x8009;\n readonly BLEND_EQUATION_ALPHA: 0x883D;\n readonly FUNC_SUBTRACT: 0x800A;\n readonly FUNC_REVERSE_SUBTRACT: 0x800B;\n readonly BLEND_DST_RGB: 0x80C8;\n readonly BLEND_SRC_RGB: 0x80C9;\n readonly BLEND_DST_ALPHA: 0x80CA;\n readonly BLEND_SRC_ALPHA: 0x80CB;\n readonly CONSTANT_COLOR: 0x8001;\n readonly ONE_MINUS_CONSTANT_COLOR: 0x8002;\n readonly CONSTANT_ALPHA: 0x8003;\n readonly ONE_MINUS_CONSTANT_ALPHA: 0x8004;\n readonly BLEND_COLOR: 0x8005;\n readonly ARRAY_BUFFER: 0x8892;\n readonly ELEMENT_ARRAY_BUFFER: 0x8893;\n readonly ARRAY_BUFFER_BINDING: 0x8894;\n readonly ELEMENT_ARRAY_BUFFER_BINDING: 0x8895;\n readonly STREAM_DRAW: 0x88E0;\n readonly STATIC_DRAW: 0x88E4;\n readonly DYNAMIC_DRAW: 0x88E8;\n readonly BUFFER_SIZE: 0x8764;\n readonly BUFFER_USAGE: 0x8765;\n readonly CURRENT_VERTEX_ATTRIB: 0x8626;\n readonly FRONT: 0x0404;\n readonly BACK: 0x0405;\n readonly FRONT_AND_BACK: 0x0408;\n readonly CULL_FACE: 0x0B44;\n readonly BLEND: 0x0BE2;\n readonly DITHER: 0x0BD0;\n readonly STENCIL_TEST: 0x0B90;\n readonly DEPTH_TEST: 0x0B71;\n readonly SCISSOR_TEST: 0x0C11;\n readonly POLYGON_OFFSET_FILL: 0x8037;\n readonly SAMPLE_ALPHA_TO_COVERAGE: 0x809E;\n readonly SAMPLE_COVERAGE: 0x80A0;\n readonly NO_ERROR: 0;\n readonly INVALID_ENUM: 0x0500;\n readonly INVALID_VALUE: 0x0501;\n readonly INVALID_OPERATION: 0x0502;\n readonly OUT_OF_MEMORY: 0x0505;\n readonly CW: 0x0900;\n readonly CCW: 0x0901;\n readonly LINE_WIDTH: 0x0B21;\n readonly ALIASED_POINT_SIZE_RANGE: 0x846D;\n readonly ALIASED_LINE_WIDTH_RANGE: 0x846E;\n readonly CULL_FACE_MODE: 0x0B45;\n readonly FRONT_FACE: 0x0B46;\n readonly DEPTH_RANGE: 0x0B70;\n readonly DEPTH_WRITEMASK: 0x0B72;\n readonly DEPTH_CLEAR_VALUE: 0x0B73;\n readonly DEPTH_FUNC: 0x0B74;\n readonly STENCIL_CLEAR_VALUE: 0x0B91;\n readonly STENCIL_FUNC: 0x0B92;\n readonly STENCIL_FAIL: 0x0B94;\n readonly STENCIL_PASS_DEPTH_FAIL: 0x0B95;\n readonly STENCIL_PASS_DEPTH_PASS: 0x0B96;\n readonly STENCIL_REF: 0x0B97;\n readonly STENCIL_VALUE_MASK: 0x0B93;\n readonly STENCIL_WRITEMASK: 0x0B98;\n readonly STENCIL_BACK_FUNC: 0x8800;\n readonly STENCIL_BACK_FAIL: 0x8801;\n readonly STENCIL_BACK_PASS_DEPTH_FAIL: 0x8802;\n readonly STENCIL_BACK_PASS_DEPTH_PASS: 0x8803;\n readonly STENCIL_BACK_REF: 0x8CA3;\n readonly STENCIL_BACK_VALUE_MASK: 0x8CA4;\n readonly STENCIL_BACK_WRITEMASK: 0x8CA5;\n readonly VIEWPORT: 0x0BA2;\n readonly SCISSOR_BOX: 0x0C10;\n readonly COLOR_CLEAR_VALUE: 0x0C22;\n readonly COLOR_WRITEMASK: 0x0C23;\n readonly UNPACK_ALIGNMENT: 0x0CF5;\n readonly PACK_ALIGNMENT: 0x0D05;\n readonly MAX_TEXTURE_SIZE: 0x0D33;\n readonly MAX_VIEWPORT_DIMS: 0x0D3A;\n readonly SUBPIXEL_BITS: 0x0D50;\n readonly RED_BITS: 0x0D52;\n readonly GREEN_BITS: 0x0D53;\n readonly BLUE_BITS: 0x0D54;\n readonly ALPHA_BITS: 0x0D55;\n readonly DEPTH_BITS: 0x0D56;\n readonly STENCIL_BITS: 0x0D57;\n readonly POLYGON_OFFSET_UNITS: 0x2A00;\n readonly POLYGON_OFFSET_FACTOR: 0x8038;\n readonly TEXTURE_BINDING_2D: 0x8069;\n readonly SAMPLE_BUFFERS: 0x80A8;\n readonly SAMPLES: 0x80A9;\n readonly SAMPLE_COVERAGE_VALUE: 0x80AA;\n readonly SAMPLE_COVERAGE_INVERT: 0x80AB;\n readonly COMPRESSED_TEXTURE_FORMATS: 0x86A3;\n readonly DONT_CARE: 0x1100;\n readonly FASTEST: 0x1101;\n readonly NICEST: 0x1102;\n readonly GENERATE_MIPMAP_HINT: 0x8192;\n readonly BYTE: 0x1400;\n readonly UNSIGNED_BYTE: 0x1401;\n readonly SHORT: 0x1402;\n readonly UNSIGNED_SHORT: 0x1403;\n readonly INT: 0x1404;\n readonly UNSIGNED_INT: 0x1405;\n readonly FLOAT: 0x1406;\n readonly DEPTH_COMPONENT: 0x1902;\n readonly ALPHA: 0x1906;\n readonly RGB: 0x1907;\n readonly RGBA: 0x1908;\n readonly LUMINANCE: 0x1909;\n readonly LUMINANCE_ALPHA: 0x190A;\n readonly UNSIGNED_SHORT_4_4_4_4: 0x8033;\n readonly UNSIGNED_SHORT_5_5_5_1: 0x8034;\n readonly UNSIGNED_SHORT_5_6_5: 0x8363;\n readonly FRAGMENT_SHADER: 0x8B30;\n readonly VERTEX_SHADER: 0x8B31;\n readonly MAX_VERTEX_ATTRIBS: 0x8869;\n readonly MAX_VERTEX_UNIFORM_VECTORS: 0x8DFB;\n readonly MAX_VARYING_VECTORS: 0x8DFC;\n readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: 0x8B4D;\n readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: 0x8B4C;\n readonly MAX_TEXTURE_IMAGE_UNITS: 0x8872;\n readonly MAX_FRAGMENT_UNIFORM_VECTORS: 0x8DFD;\n readonly SHADER_TYPE: 0x8B4F;\n readonly DELETE_STATUS: 0x8B80;\n readonly LINK_STATUS: 0x8B82;\n readonly VALIDATE_STATUS: 0x8B83;\n readonly ATTACHED_SHADERS: 0x8B85;\n readonly ACTIVE_UNIFORMS: 0x8B86;\n readonly ACTIVE_ATTRIBUTES: 0x8B89;\n readonly SHADING_LANGUAGE_VERSION: 0x8B8C;\n readonly CURRENT_PROGRAM: 0x8B8D;\n readonly NEVER: 0x0200;\n readonly LESS: 0x0201;\n readonly EQUAL: 0x0202;\n readonly LEQUAL: 0x0203;\n readonly GREATER: 0x0204;\n readonly NOTEQUAL: 0x0205;\n readonly GEQUAL: 0x0206;\n readonly ALWAYS: 0x0207;\n readonly KEEP: 0x1E00;\n readonly REPLACE: 0x1E01;\n readonly INCR: 0x1E02;\n readonly DECR: 0x1E03;\n readonly INVERT: 0x150A;\n readonly INCR_WRAP: 0x8507;\n readonly DECR_WRAP: 0x8508;\n readonly VENDOR: 0x1F00;\n readonly RENDERER: 0x1F01;\n readonly VERSION: 0x1F02;\n readonly NEAREST: 0x2600;\n readonly LINEAR: 0x2601;\n readonly NEAREST_MIPMAP_NEAREST: 0x2700;\n readonly LINEAR_MIPMAP_NEAREST: 0x2701;\n readonly NEAREST_MIPMAP_LINEAR: 0x2702;\n readonly LINEAR_MIPMAP_LINEAR: 0x2703;\n readonly TEXTURE_MAG_FILTER: 0x2800;\n readonly TEXTURE_MIN_FILTER: 0x2801;\n readonly TEXTURE_WRAP_S: 0x2802;\n readonly TEXTURE_WRAP_T: 0x2803;\n readonly TEXTURE_2D: 0x0DE1;\n readonly TEXTURE: 0x1702;\n readonly TEXTURE_CUBE_MAP: 0x8513;\n readonly TEXTURE_BINDING_CUBE_MAP: 0x8514;\n readonly TEXTURE_CUBE_MAP_POSITIVE_X: 0x8515;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_X: 0x8516;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Y: 0x8517;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: 0x8518;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Z: 0x8519;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: 0x851A;\n readonly MAX_CUBE_MAP_TEXTURE_SIZE: 0x851C;\n readonly TEXTURE0: 0x84C0;\n readonly TEXTURE1: 0x84C1;\n readonly TEXTURE2: 0x84C2;\n readonly TEXTURE3: 0x84C3;\n readonly TEXTURE4: 0x84C4;\n readonly TEXTURE5: 0x84C5;\n readonly TEXTURE6: 0x84C6;\n readonly TEXTURE7: 0x84C7;\n readonly TEXTURE8: 0x84C8;\n readonly TEXTURE9: 0x84C9;\n readonly TEXTURE10: 0x84CA;\n readonly TEXTURE11: 0x84CB;\n readonly TEXTURE12: 0x84CC;\n readonly TEXTURE13: 0x84CD;\n readonly TEXTURE14: 0x84CE;\n readonly TEXTURE15: 0x84CF;\n readonly TEXTURE16: 0x84D0;\n readonly TEXTURE17: 0x84D1;\n readonly TEXTURE18: 0x84D2;\n readonly TEXTURE19: 0x84D3;\n readonly TEXTURE20: 0x84D4;\n readonly TEXTURE21: 0x84D5;\n readonly TEXTURE22: 0x84D6;\n readonly TEXTURE23: 0x84D7;\n readonly TEXTURE24: 0x84D8;\n readonly TEXTURE25: 0x84D9;\n readonly TEXTURE26: 0x84DA;\n readonly TEXTURE27: 0x84DB;\n readonly TEXTURE28: 0x84DC;\n readonly TEXTURE29: 0x84DD;\n readonly TEXTURE30: 0x84DE;\n readonly TEXTURE31: 0x84DF;\n readonly ACTIVE_TEXTURE: 0x84E0;\n readonly REPEAT: 0x2901;\n readonly CLAMP_TO_EDGE: 0x812F;\n readonly MIRRORED_REPEAT: 0x8370;\n readonly FLOAT_VEC2: 0x8B50;\n readonly FLOAT_VEC3: 0x8B51;\n readonly FLOAT_VEC4: 0x8B52;\n readonly INT_VEC2: 0x8B53;\n readonly INT_VEC3: 0x8B54;\n readonly INT_VEC4: 0x8B55;\n readonly BOOL: 0x8B56;\n readonly BOOL_VEC2: 0x8B57;\n readonly BOOL_VEC3: 0x8B58;\n readonly BOOL_VEC4: 0x8B59;\n readonly FLOAT_MAT2: 0x8B5A;\n readonly FLOAT_MAT3: 0x8B5B;\n readonly FLOAT_MAT4: 0x8B5C;\n readonly SAMPLER_2D: 0x8B5E;\n readonly SAMPLER_CUBE: 0x8B60;\n readonly VERTEX_ATTRIB_ARRAY_ENABLED: 0x8622;\n readonly VERTEX_ATTRIB_ARRAY_SIZE: 0x8623;\n readonly VERTEX_ATTRIB_ARRAY_STRIDE: 0x8624;\n readonly VERTEX_ATTRIB_ARRAY_TYPE: 0x8625;\n readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: 0x886A;\n readonly VERTEX_ATTRIB_ARRAY_POINTER: 0x8645;\n readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: 0x889F;\n readonly IMPLEMENTATION_COLOR_READ_TYPE: 0x8B9A;\n readonly IMPLEMENTATION_COLOR_READ_FORMAT: 0x8B9B;\n readonly COMPILE_STATUS: 0x8B81;\n readonly LOW_FLOAT: 0x8DF0;\n readonly MEDIUM_FLOAT: 0x8DF1;\n readonly HIGH_FLOAT: 0x8DF2;\n readonly LOW_INT: 0x8DF3;\n readonly MEDIUM_INT: 0x8DF4;\n readonly HIGH_INT: 0x8DF5;\n readonly FRAMEBUFFER: 0x8D40;\n readonly RENDERBUFFER: 0x8D41;\n readonly RGBA4: 0x8056;\n readonly RGB5_A1: 0x8057;\n readonly RGB565: 0x8D62;\n readonly DEPTH_COMPONENT16: 0x81A5;\n readonly STENCIL_INDEX8: 0x8D48;\n readonly DEPTH_STENCIL: 0x84F9;\n readonly RENDERBUFFER_WIDTH: 0x8D42;\n readonly RENDERBUFFER_HEIGHT: 0x8D43;\n readonly RENDERBUFFER_INTERNAL_FORMAT: 0x8D44;\n readonly RENDERBUFFER_RED_SIZE: 0x8D50;\n readonly RENDERBUFFER_GREEN_SIZE: 0x8D51;\n readonly RENDERBUFFER_BLUE_SIZE: 0x8D52;\n readonly RENDERBUFFER_ALPHA_SIZE: 0x8D53;\n readonly RENDERBUFFER_DEPTH_SIZE: 0x8D54;\n readonly RENDERBUFFER_STENCIL_SIZE: 0x8D55;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: 0x8CD0;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: 0x8CD1;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: 0x8CD2;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: 0x8CD3;\n readonly COLOR_ATTACHMENT0: 0x8CE0;\n readonly DEPTH_ATTACHMENT: 0x8D00;\n readonly STENCIL_ATTACHMENT: 0x8D20;\n readonly DEPTH_STENCIL_ATTACHMENT: 0x821A;\n readonly NONE: 0;\n readonly FRAMEBUFFER_COMPLETE: 0x8CD5;\n readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: 0x8CD6;\n readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: 0x8CD7;\n readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: 0x8CD9;\n readonly FRAMEBUFFER_UNSUPPORTED: 0x8CDD;\n readonly FRAMEBUFFER_BINDING: 0x8CA6;\n readonly RENDERBUFFER_BINDING: 0x8CA7;\n readonly MAX_RENDERBUFFER_SIZE: 0x84E8;\n readonly INVALID_FRAMEBUFFER_OPERATION: 0x0506;\n readonly UNPACK_FLIP_Y_WEBGL: 0x9240;\n readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: 0x9241;\n readonly CONTEXT_LOST_WEBGL: 0x9242;\n readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: 0x9243;\n readonly BROWSER_DEFAULT_WEBGL: 0x9244;\n};\n\ninterface WebGLRenderingContextBase {\n readonly canvas: HTMLCanvasElement | OffscreenCanvas;\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: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null;\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_frag_depth"): EXT_frag_depth | null;\n getExtension(extensionName: "EXT_sRGB"): EXT_sRGB | null;\n getExtension(extensionName: "EXT_shader_texture_lod"): EXT_shader_texture_lod | null;\n getExtension(extensionName: "EXT_texture_compression_bptc"): EXT_texture_compression_bptc | null;\n getExtension(extensionName: "EXT_texture_compression_rgtc"): EXT_texture_compression_rgtc | null;\n getExtension(extensionName: "EXT_texture_filter_anisotropic"): EXT_texture_filter_anisotropic | null;\n getExtension(extensionName: "KHR_parallel_shader_compile"): KHR_parallel_shader_compile | null;\n getExtension(extensionName: "OES_element_index_uint"): OES_element_index_uint | null;\n getExtension(extensionName: "OES_fbo_render_mipmap"): OES_fbo_render_mipmap | null;\n getExtension(extensionName: "OES_standard_derivatives"): OES_standard_derivatives | null;\n getExtension(extensionName: "OES_texture_float"): OES_texture_float | null;\n getExtension(extensionName: "OES_texture_float_linear"): OES_texture_float_linear | null;\n getExtension(extensionName: "OES_texture_half_float"): OES_texture_half_float | null;\n getExtension(extensionName: "OES_texture_half_float_linear"): OES_texture_half_float_linear | 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_s3tc"): WEBGL_compressed_texture_s3tc | null;\n getExtension(extensionName: "WEBGL_compressed_texture_s3tc_srgb"): WEBGL_compressed_texture_s3tc_srgb | null;\n getExtension(extensionName: "WEBGL_debug_renderer_info"): WEBGL_debug_renderer_info | null;\n getExtension(extensionName: "WEBGL_debug_shaders"): WEBGL_debug_shaders | null;\n getExtension(extensionName: "WEBGL_depth_texture"): WEBGL_depth_texture | 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_multi_draw"): WEBGL_multi_draw | 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 DEPTH_BUFFER_BIT: 0x00000100;\n readonly STENCIL_BUFFER_BIT: 0x00000400;\n readonly COLOR_BUFFER_BIT: 0x00004000;\n readonly POINTS: 0x0000;\n readonly LINES: 0x0001;\n readonly LINE_LOOP: 0x0002;\n readonly LINE_STRIP: 0x0003;\n readonly TRIANGLES: 0x0004;\n readonly TRIANGLE_STRIP: 0x0005;\n readonly TRIANGLE_FAN: 0x0006;\n readonly ZERO: 0;\n readonly ONE: 1;\n readonly SRC_COLOR: 0x0300;\n readonly ONE_MINUS_SRC_COLOR: 0x0301;\n readonly SRC_ALPHA: 0x0302;\n readonly ONE_MINUS_SRC_ALPHA: 0x0303;\n readonly DST_ALPHA: 0x0304;\n readonly ONE_MINUS_DST_ALPHA: 0x0305;\n readonly DST_COLOR: 0x0306;\n readonly ONE_MINUS_DST_COLOR: 0x0307;\n readonly SRC_ALPHA_SATURATE: 0x0308;\n readonly FUNC_ADD: 0x8006;\n readonly BLEND_EQUATION: 0x8009;\n readonly BLEND_EQUATION_RGB: 0x8009;\n readonly BLEND_EQUATION_ALPHA: 0x883D;\n readonly FUNC_SUBTRACT: 0x800A;\n readonly FUNC_REVERSE_SUBTRACT: 0x800B;\n readonly BLEND_DST_RGB: 0x80C8;\n readonly BLEND_SRC_RGB: 0x80C9;\n readonly BLEND_DST_ALPHA: 0x80CA;\n readonly BLEND_SRC_ALPHA: 0x80CB;\n readonly CONSTANT_COLOR: 0x8001;\n readonly ONE_MINUS_CONSTANT_COLOR: 0x8002;\n readonly CONSTANT_ALPHA: 0x8003;\n readonly ONE_MINUS_CONSTANT_ALPHA: 0x8004;\n readonly BLEND_COLOR: 0x8005;\n readonly ARRAY_BUFFER: 0x8892;\n readonly ELEMENT_ARRAY_BUFFER: 0x8893;\n readonly ARRAY_BUFFER_BINDING: 0x8894;\n readonly ELEMENT_ARRAY_BUFFER_BINDING: 0x8895;\n readonly STREAM_DRAW: 0x88E0;\n readonly STATIC_DRAW: 0x88E4;\n readonly DYNAMIC_DRAW: 0x88E8;\n readonly BUFFER_SIZE: 0x8764;\n readonly BUFFER_USAGE: 0x8765;\n readonly CURRENT_VERTEX_ATTRIB: 0x8626;\n readonly FRONT: 0x0404;\n readonly BACK: 0x0405;\n readonly FRONT_AND_BACK: 0x0408;\n readonly CULL_FACE: 0x0B44;\n readonly BLEND: 0x0BE2;\n readonly DITHER: 0x0BD0;\n readonly STENCIL_TEST: 0x0B90;\n readonly DEPTH_TEST: 0x0B71;\n readonly SCISSOR_TEST: 0x0C11;\n readonly POLYGON_OFFSET_FILL: 0x8037;\n readonly SAMPLE_ALPHA_TO_COVERAGE: 0x809E;\n readonly SAMPLE_COVERAGE: 0x80A0;\n readonly NO_ERROR: 0;\n readonly INVALID_ENUM: 0x0500;\n readonly INVALID_VALUE: 0x0501;\n readonly INVALID_OPERATION: 0x0502;\n readonly OUT_OF_MEMORY: 0x0505;\n readonly CW: 0x0900;\n readonly CCW: 0x0901;\n readonly LINE_WIDTH: 0x0B21;\n readonly ALIASED_POINT_SIZE_RANGE: 0x846D;\n readonly ALIASED_LINE_WIDTH_RANGE: 0x846E;\n readonly CULL_FACE_MODE: 0x0B45;\n readonly FRONT_FACE: 0x0B46;\n readonly DEPTH_RANGE: 0x0B70;\n readonly DEPTH_WRITEMASK: 0x0B72;\n readonly DEPTH_CLEAR_VALUE: 0x0B73;\n readonly DEPTH_FUNC: 0x0B74;\n readonly STENCIL_CLEAR_VALUE: 0x0B91;\n readonly STENCIL_FUNC: 0x0B92;\n readonly STENCIL_FAIL: 0x0B94;\n readonly STENCIL_PASS_DEPTH_FAIL: 0x0B95;\n readonly STENCIL_PASS_DEPTH_PASS: 0x0B96;\n readonly STENCIL_REF: 0x0B97;\n readonly STENCIL_VALUE_MASK: 0x0B93;\n readonly STENCIL_WRITEMASK: 0x0B98;\n readonly STENCIL_BACK_FUNC: 0x8800;\n readonly STENCIL_BACK_FAIL: 0x8801;\n readonly STENCIL_BACK_PASS_DEPTH_FAIL: 0x8802;\n readonly STENCIL_BACK_PASS_DEPTH_PASS: 0x8803;\n readonly STENCIL_BACK_REF: 0x8CA3;\n readonly STENCIL_BACK_VALUE_MASK: 0x8CA4;\n readonly STENCIL_BACK_WRITEMASK: 0x8CA5;\n readonly VIEWPORT: 0x0BA2;\n readonly SCISSOR_BOX: 0x0C10;\n readonly COLOR_CLEAR_VALUE: 0x0C22;\n readonly COLOR_WRITEMASK: 0x0C23;\n readonly UNPACK_ALIGNMENT: 0x0CF5;\n readonly PACK_ALIGNMENT: 0x0D05;\n readonly MAX_TEXTURE_SIZE: 0x0D33;\n readonly MAX_VIEWPORT_DIMS: 0x0D3A;\n readonly SUBPIXEL_BITS: 0x0D50;\n readonly RED_BITS: 0x0D52;\n readonly GREEN_BITS: 0x0D53;\n readonly BLUE_BITS: 0x0D54;\n readonly ALPHA_BITS: 0x0D55;\n readonly DEPTH_BITS: 0x0D56;\n readonly STENCIL_BITS: 0x0D57;\n readonly POLYGON_OFFSET_UNITS: 0x2A00;\n readonly POLYGON_OFFSET_FACTOR: 0x8038;\n readonly TEXTURE_BINDING_2D: 0x8069;\n readonly SAMPLE_BUFFERS: 0x80A8;\n readonly SAMPLES: 0x80A9;\n readonly SAMPLE_COVERAGE_VALUE: 0x80AA;\n readonly SAMPLE_COVERAGE_INVERT: 0x80AB;\n readonly COMPRESSED_TEXTURE_FORMATS: 0x86A3;\n readonly DONT_CARE: 0x1100;\n readonly FASTEST: 0x1101;\n readonly NICEST: 0x1102;\n readonly GENERATE_MIPMAP_HINT: 0x8192;\n readonly BYTE: 0x1400;\n readonly UNSIGNED_BYTE: 0x1401;\n readonly SHORT: 0x1402;\n readonly UNSIGNED_SHORT: 0x1403;\n readonly INT: 0x1404;\n readonly UNSIGNED_INT: 0x1405;\n readonly FLOAT: 0x1406;\n readonly DEPTH_COMPONENT: 0x1902;\n readonly ALPHA: 0x1906;\n readonly RGB: 0x1907;\n readonly RGBA: 0x1908;\n readonly LUMINANCE: 0x1909;\n readonly LUMINANCE_ALPHA: 0x190A;\n readonly UNSIGNED_SHORT_4_4_4_4: 0x8033;\n readonly UNSIGNED_SHORT_5_5_5_1: 0x8034;\n readonly UNSIGNED_SHORT_5_6_5: 0x8363;\n readonly FRAGMENT_SHADER: 0x8B30;\n readonly VERTEX_SHADER: 0x8B31;\n readonly MAX_VERTEX_ATTRIBS: 0x8869;\n readonly MAX_VERTEX_UNIFORM_VECTORS: 0x8DFB;\n readonly MAX_VARYING_VECTORS: 0x8DFC;\n readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: 0x8B4D;\n readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: 0x8B4C;\n readonly MAX_TEXTURE_IMAGE_UNITS: 0x8872;\n readonly MAX_FRAGMENT_UNIFORM_VECTORS: 0x8DFD;\n readonly SHADER_TYPE: 0x8B4F;\n readonly DELETE_STATUS: 0x8B80;\n readonly LINK_STATUS: 0x8B82;\n readonly VALIDATE_STATUS: 0x8B83;\n readonly ATTACHED_SHADERS: 0x8B85;\n readonly ACTIVE_UNIFORMS: 0x8B86;\n readonly ACTIVE_ATTRIBUTES: 0x8B89;\n readonly SHADING_LANGUAGE_VERSION: 0x8B8C;\n readonly CURRENT_PROGRAM: 0x8B8D;\n readonly NEVER: 0x0200;\n readonly LESS: 0x0201;\n readonly EQUAL: 0x0202;\n readonly LEQUAL: 0x0203;\n readonly GREATER: 0x0204;\n readonly NOTEQUAL: 0x0205;\n readonly GEQUAL: 0x0206;\n readonly ALWAYS: 0x0207;\n readonly KEEP: 0x1E00;\n readonly REPLACE: 0x1E01;\n readonly INCR: 0x1E02;\n readonly DECR: 0x1E03;\n readonly INVERT: 0x150A;\n readonly INCR_WRAP: 0x8507;\n readonly DECR_WRAP: 0x8508;\n readonly VENDOR: 0x1F00;\n readonly RENDERER: 0x1F01;\n readonly VERSION: 0x1F02;\n readonly NEAREST: 0x2600;\n readonly LINEAR: 0x2601;\n readonly NEAREST_MIPMAP_NEAREST: 0x2700;\n readonly LINEAR_MIPMAP_NEAREST: 0x2701;\n readonly NEAREST_MIPMAP_LINEAR: 0x2702;\n readonly LINEAR_MIPMAP_LINEAR: 0x2703;\n readonly TEXTURE_MAG_FILTER: 0x2800;\n readonly TEXTURE_MIN_FILTER: 0x2801;\n readonly TEXTURE_WRAP_S: 0x2802;\n readonly TEXTURE_WRAP_T: 0x2803;\n readonly TEXTURE_2D: 0x0DE1;\n readonly TEXTURE: 0x1702;\n readonly TEXTURE_CUBE_MAP: 0x8513;\n readonly TEXTURE_BINDING_CUBE_MAP: 0x8514;\n readonly TEXTURE_CUBE_MAP_POSITIVE_X: 0x8515;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_X: 0x8516;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Y: 0x8517;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: 0x8518;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Z: 0x8519;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: 0x851A;\n readonly MAX_CUBE_MAP_TEXTURE_SIZE: 0x851C;\n readonly TEXTURE0: 0x84C0;\n readonly TEXTURE1: 0x84C1;\n readonly TEXTURE2: 0x84C2;\n readonly TEXTURE3: 0x84C3;\n readonly TEXTURE4: 0x84C4;\n readonly TEXTURE5: 0x84C5;\n readonly TEXTURE6: 0x84C6;\n readonly TEXTURE7: 0x84C7;\n readonly TEXTURE8: 0x84C8;\n readonly TEXTURE9: 0x84C9;\n readonly TEXTURE10: 0x84CA;\n readonly TEXTURE11: 0x84CB;\n readonly TEXTURE12: 0x84CC;\n readonly TEXTURE13: 0x84CD;\n readonly TEXTURE14: 0x84CE;\n readonly TEXTURE15: 0x84CF;\n readonly TEXTURE16: 0x84D0;\n readonly TEXTURE17: 0x84D1;\n readonly TEXTURE18: 0x84D2;\n readonly TEXTURE19: 0x84D3;\n readonly TEXTURE20: 0x84D4;\n readonly TEXTURE21: 0x84D5;\n readonly TEXTURE22: 0x84D6;\n readonly TEXTURE23: 0x84D7;\n readonly TEXTURE24: 0x84D8;\n readonly TEXTURE25: 0x84D9;\n readonly TEXTURE26: 0x84DA;\n readonly TEXTURE27: 0x84DB;\n readonly TEXTURE28: 0x84DC;\n readonly TEXTURE29: 0x84DD;\n readonly TEXTURE30: 0x84DE;\n readonly TEXTURE31: 0x84DF;\n readonly ACTIVE_TEXTURE: 0x84E0;\n readonly REPEAT: 0x2901;\n readonly CLAMP_TO_EDGE: 0x812F;\n readonly MIRRORED_REPEAT: 0x8370;\n readonly FLOAT_VEC2: 0x8B50;\n readonly FLOAT_VEC3: 0x8B51;\n readonly FLOAT_VEC4: 0x8B52;\n readonly INT_VEC2: 0x8B53;\n readonly INT_VEC3: 0x8B54;\n readonly INT_VEC4: 0x8B55;\n readonly BOOL: 0x8B56;\n readonly BOOL_VEC2: 0x8B57;\n readonly BOOL_VEC3: 0x8B58;\n readonly BOOL_VEC4: 0x8B59;\n readonly FLOAT_MAT2: 0x8B5A;\n readonly FLOAT_MAT3: 0x8B5B;\n readonly FLOAT_MAT4: 0x8B5C;\n readonly SAMPLER_2D: 0x8B5E;\n readonly SAMPLER_CUBE: 0x8B60;\n readonly VERTEX_ATTRIB_ARRAY_ENABLED: 0x8622;\n readonly VERTEX_ATTRIB_ARRAY_SIZE: 0x8623;\n readonly VERTEX_ATTRIB_ARRAY_STRIDE: 0x8624;\n readonly VERTEX_ATTRIB_ARRAY_TYPE: 0x8625;\n readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: 0x886A;\n readonly VERTEX_ATTRIB_ARRAY_POINTER: 0x8645;\n readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: 0x889F;\n readonly IMPLEMENTATION_COLOR_READ_TYPE: 0x8B9A;\n readonly IMPLEMENTATION_COLOR_READ_FORMAT: 0x8B9B;\n readonly COMPILE_STATUS: 0x8B81;\n readonly LOW_FLOAT: 0x8DF0;\n readonly MEDIUM_FLOAT: 0x8DF1;\n readonly HIGH_FLOAT: 0x8DF2;\n readonly LOW_INT: 0x8DF3;\n readonly MEDIUM_INT: 0x8DF4;\n readonly HIGH_INT: 0x8DF5;\n readonly FRAMEBUFFER: 0x8D40;\n readonly RENDERBUFFER: 0x8D41;\n readonly RGBA4: 0x8056;\n readonly RGB5_A1: 0x8057;\n readonly RGB565: 0x8D62;\n readonly DEPTH_COMPONENT16: 0x81A5;\n readonly STENCIL_INDEX8: 0x8D48;\n readonly DEPTH_STENCIL: 0x84F9;\n readonly RENDERBUFFER_WIDTH: 0x8D42;\n readonly RENDERBUFFER_HEIGHT: 0x8D43;\n readonly RENDERBUFFER_INTERNAL_FORMAT: 0x8D44;\n readonly RENDERBUFFER_RED_SIZE: 0x8D50;\n readonly RENDERBUFFER_GREEN_SIZE: 0x8D51;\n readonly RENDERBUFFER_BLUE_SIZE: 0x8D52;\n readonly RENDERBUFFER_ALPHA_SIZE: 0x8D53;\n readonly RENDERBUFFER_DEPTH_SIZE: 0x8D54;\n readonly RENDERBUFFER_STENCIL_SIZE: 0x8D55;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: 0x8CD0;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: 0x8CD1;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: 0x8CD2;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: 0x8CD3;\n readonly COLOR_ATTACHMENT0: 0x8CE0;\n readonly DEPTH_ATTACHMENT: 0x8D00;\n readonly STENCIL_ATTACHMENT: 0x8D20;\n readonly DEPTH_STENCIL_ATTACHMENT: 0x821A;\n readonly NONE: 0;\n readonly FRAMEBUFFER_COMPLETE: 0x8CD5;\n readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: 0x8CD6;\n readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: 0x8CD7;\n readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: 0x8CD9;\n readonly FRAMEBUFFER_UNSUPPORTED: 0x8CDD;\n readonly FRAMEBUFFER_BINDING: 0x8CA6;\n readonly RENDERBUFFER_BINDING: 0x8CA7;\n readonly MAX_RENDERBUFFER_SIZE: 0x84E8;\n readonly INVALID_FRAMEBUFFER_OPERATION: 0x0506;\n readonly UNPACK_FLIP_Y_WEBGL: 0x9240;\n readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: 0x9241;\n readonly CONTEXT_LOST_WEBGL: 0x9242;\n readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: 0x9243;\n readonly BROWSER_DEFAULT_WEBGL: 0x9244;\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 /** Returns the extensions selected by the server, if any. */\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 /** 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 readonly protocol: string;\n /** Returns the state of the WebSocket object\'s connection. It can have the values described below. */\n readonly readyState: number;\n /** Returns the URL that was used to establish the WebSocket connection. */\n readonly url: string;\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 close(code?: number, reason?: string): void;\n /** Transmits data using the WebSocket connection. data can be a string, a Blob, an ArrayBuffer, or an ArrayBufferView. */\n send(data: string | ArrayBufferLike | Blob | ArrayBufferView): void;\n readonly CONNECTING: 0;\n readonly OPEN: 1;\n readonly CLOSING: 2;\n readonly CLOSED: 3;\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 CONNECTING: 0;\n readonly OPEN: 1;\n readonly CLOSING: 2;\n readonly CLOSED: 3;\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_PIXEL: 0x00;\n readonly DOM_DELTA_LINE: 0x01;\n readonly DOM_DELTA_PAGE: 0x02;\n}\n\ndeclare var WheelEvent: {\n prototype: WheelEvent;\n new(type: string, eventInitDict?: WheelEventInit): WheelEvent;\n readonly DOM_DELTA_PIXEL: 0x00;\n readonly DOM_DELTA_LINE: 0x01;\n readonly DOM_DELTA_PAGE: 0x02;\n};\n\ninterface WindowEventMap extends GlobalEventHandlersEventMap, WindowEventHandlersEventMap {\n "DOMContentLoaded": Event;\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 /** Returns true if the window has been closed, false otherwise. */\n readonly closed: boolean;\n /** Defines a new custom element, mapping the given name to the given constructor as an autonomous custom element. */\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 /** Returns true if the location bar is visible; otherwise, returns false. */\n readonly locationbar: BarProp;\n /** Returns true if the menu bar is visible; otherwise, returns false. */\n readonly menubar: BarProp;\n name: string;\n readonly navigator: Navigator;\n /** Available only in secure contexts. */\n ondevicemotion: ((this: Window, ev: DeviceMotionEvent) => any) | null;\n /** Available only in secure contexts. */\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 /**\n * Refers to either the parent WindowProxy, or itself.\n *\n * It can rarely be null e.g. for contentWindow of an iframe that is already removed from the parent.\n */\n readonly parent: WindowProxy;\n /** Returns true if the personal bar is visible; otherwise, returns false. */\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 /** Returns true if the scrollbars are visible; otherwise, returns false. */\n readonly scrollbars: BarProp;\n readonly self: Window & typeof globalThis;\n readonly speechSynthesis: SpeechSynthesis;\n /** @deprecated */\n status: string;\n /** Returns true if the status bar is visible; otherwise, returns false. */\n readonly statusbar: BarProp;\n /** Returns true if the toolbar is visible; otherwise, returns false. */\n readonly toolbar: BarProp;\n readonly top: WindowProxy | null;\n readonly visualViewport: VisualViewport | null;\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 /** Closes the window. */\n close(): void;\n confirm(message?: string): boolean;\n /** Moves the focus to the window\'s browsing context, if any. */\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 /** Cancels the document load. */\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": GamepadEvent;\n "gamepaddisconnected": GamepadEvent;\n "hashchange": HashChangeEvent;\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: GamepadEvent) => any) | null;\n ongamepaddisconnected: ((this: WindowEventHandlers, ev: GamepadEvent) => any) | null;\n onhashchange: ((this: WindowEventHandlers, ev: HashChangeEvent) => 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 /** Available only in secure contexts. */\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(id: number | undefined): void;\n clearTimeout(id: number | undefined): 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 | URL, init?: RequestInit): Promise<Response>;\n queueMicrotask(callback: VoidFunction): void;\n reportError(e: any): void;\n setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\n setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\n structuredClone(value: any, options?: StructuredSerializeOptions): any;\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 /** 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 postMessage(message: any, transfer: Transferable[]): void;\n postMessage(message: any, options?: StructuredSerializeOptions): void;\n /** Aborts worker\'s associated global environment. */\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\n/** Available only in secure contexts. */\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 readonly signal: AbortSignal;\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 /** Returns client\'s state. */\n readonly readyState: number;\n /** Returns the response body. */\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 /** Returns the associated XMLHttpRequestUpload object. It can be used to gather transmission information when data is transferred to a server. */\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 /** Cancels any network activity. */\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 UNSENT: 0;\n readonly OPENED: 1;\n readonly HEADERS_RECEIVED: 2;\n readonly LOADING: 3;\n readonly DONE: 4;\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 UNSENT: 0;\n readonly OPENED: 1;\n readonly HEADERS_RECEIVED: 2;\n readonly LOADING: 3;\n readonly DONE: 4;\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: 0;\n readonly NUMBER_TYPE: 1;\n readonly STRING_TYPE: 2;\n readonly BOOLEAN_TYPE: 3;\n readonly UNORDERED_NODE_ITERATOR_TYPE: 4;\n readonly ORDERED_NODE_ITERATOR_TYPE: 5;\n readonly UNORDERED_NODE_SNAPSHOT_TYPE: 6;\n readonly ORDERED_NODE_SNAPSHOT_TYPE: 7;\n readonly ANY_UNORDERED_NODE_TYPE: 8;\n readonly FIRST_ORDERED_NODE_TYPE: 9;\n}\n\ndeclare var XPathResult: {\n prototype: XPathResult;\n new(): XPathResult;\n readonly ANY_TYPE: 0;\n readonly NUMBER_TYPE: 1;\n readonly STRING_TYPE: 2;\n readonly BOOLEAN_TYPE: 3;\n readonly UNORDERED_NODE_ITERATOR_TYPE: 4;\n readonly ORDERED_NODE_ITERATOR_TYPE: 5;\n readonly UNORDERED_NODE_SNAPSHOT_TYPE: 6;\n readonly ORDERED_NODE_SNAPSHOT_TYPE: 7;\n readonly ANY_UNORDERED_NODE_TYPE: 8;\n readonly FIRST_ORDERED_NODE_TYPE: 9;\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(message?: string): CompileError;\n (message?: string): 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(message?: string): LinkError;\n (message?: string): 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(message?: string): RuntimeError;\n (message?: string): 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" | "v128";\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 LockGrantedCallback {\n (lock: Lock | null): any;\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 VideoFrameRequestCallback {\n (now: DOMHighResTimeStamp, metadata: VideoFrameCallbackMetadata): void;\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 "div": HTMLDivElement;\n "dl": HTMLDListElement;\n "dt": HTMLElement;\n "em": HTMLElement;\n "embed": HTMLEmbedElement;\n "fieldset": HTMLFieldSetElement;\n "figcaption": HTMLElement;\n "figure": HTMLElement;\n "footer": HTMLElement;\n "form": HTMLFormElement;\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 "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 "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 "acronym": HTMLElement;\n "applet": HTMLUnknownElement;\n "basefont": HTMLElement;\n "bgsound": HTMLUnknownElement;\n "big": HTMLElement;\n "blink": HTMLUnknownElement;\n "center": HTMLElement;\n "dir": HTMLDirectoryElement;\n "font": HTMLFontElement;\n "frame": HTMLFrameElement;\n "frameset": HTMLFrameSetElement;\n "isindex": HTMLUnknownElement;\n "keygen": HTMLUnknownElement;\n "listing": HTMLPreElement;\n "marquee": HTMLMarqueeElement;\n "menuitem": HTMLElement;\n "multicol": HTMLUnknownElement;\n "nextid": HTMLUnknownElement;\n "nobr": HTMLElement;\n "noembed": HTMLElement;\n "noframes": HTMLElement;\n "param": HTMLParamElement;\n "plaintext": HTMLElement;\n "rb": HTMLElement;\n "rtc": HTMLElement;\n "spacer": HTMLUnknownElement;\n "strike": HTMLElement;\n "tt": HTMLElement;\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\ninterface MathMLElementTagNameMap {\n "annotation": MathMLElement;\n "annotation-xml": MathMLElement;\n "maction": MathMLElement;\n "math": MathMLElement;\n "merror": MathMLElement;\n "mfrac": MathMLElement;\n "mi": MathMLElement;\n "mmultiscripts": MathMLElement;\n "mn": MathMLElement;\n "mo": MathMLElement;\n "mover": MathMLElement;\n "mpadded": MathMLElement;\n "mphantom": MathMLElement;\n "mprescripts": MathMLElement;\n "mroot": MathMLElement;\n "mrow": MathMLElement;\n "ms": MathMLElement;\n "mspace": MathMLElement;\n "msqrt": MathMLElement;\n "mstyle": MathMLElement;\n "msub": MathMLElement;\n "msubsup": MathMLElement;\n "msup": MathMLElement;\n "mtable": MathMLElement;\n "mtd": MathMLElement;\n "mtext": MathMLElement;\n "mtr": MathMLElement;\n "munder": MathMLElement;\n "munderover": MathMLElement;\n "semantics": MathMLElement;\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/** Returns true if the window has been closed, false otherwise. */\ndeclare var closed: boolean;\n/** Defines a new custom element, mapping the given name to the given constructor as an autonomous custom element. */\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/** Returns true if the location bar is visible; otherwise, returns false. */\ndeclare var locationbar: BarProp;\n/** Returns true if the menu bar is visible; otherwise, returns false. */\ndeclare var menubar: BarProp;\n/** @deprecated */\ndeclare const name: void;\ndeclare var navigator: Navigator;\n/** Available only in secure contexts. */\ndeclare var ondevicemotion: ((this: Window, ev: DeviceMotionEvent) => any) | null;\n/** Available only in secure contexts. */\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/**\n * Refers to either the parent WindowProxy, or itself.\n *\n * It can rarely be null e.g. for contentWindow of an iframe that is already removed from the parent.\n */\ndeclare var parent: WindowProxy;\n/** Returns true if the personal bar is visible; otherwise, returns false. */\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/** Returns true if the scrollbars are visible; otherwise, returns false. */\ndeclare var scrollbars: BarProp;\ndeclare var self: Window & typeof globalThis;\ndeclare var speechSynthesis: SpeechSynthesis;\n/** @deprecated */\ndeclare var status: string;\n/** Returns true if the status bar is visible; otherwise, returns false. */\ndeclare var statusbar: BarProp;\n/** Returns true if the toolbar is visible; otherwise, returns false. */\ndeclare var toolbar: BarProp;\ndeclare var top: WindowProxy | null;\ndeclare var visualViewport: VisualViewport | null;\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/** Closes the window. */\ndeclare function close(): void;\ndeclare function confirm(message?: string): boolean;\n/** Moves the focus to the window\'s browsing context, if any. */\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/** Cancels the document load. */\ndeclare function stop(): void;\ndeclare function toString(): string;\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. */\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;\ndeclare var onbeforeinput: ((this: Window, ev: InputEvent) => 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;\ndeclare var oncancel: ((this: Window, ev: Event) => 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 oncopy: ((this: Window, ev: ClipboardEvent) => any) | null;\ndeclare var oncuechange: ((this: Window, ev: Event) => any) | null;\ndeclare var oncut: ((this: Window, ev: ClipboardEvent) => 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;\ndeclare var onpaste: ((this: Window, ev: ClipboardEvent) => 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;\ndeclare var onsecuritypolicyviolation: ((this: Window, ev: SecurityPolicyViolationEvent) => 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;\ndeclare var onslotchange: ((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: SubmitEvent) => 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;\n/** @deprecated This is a legacy alias of `onanimationend`. */\ndeclare var onwebkitanimationend: ((this: Window, ev: Event) => any) | null;\n/** @deprecated This is a legacy alias of `onanimationiteration`. */\ndeclare var onwebkitanimationiteration: ((this: Window, ev: Event) => any) | null;\n/** @deprecated This is a legacy alias of `onanimationstart`. */\ndeclare var onwebkitanimationstart: ((this: Window, ev: Event) => any) | null;\n/** @deprecated This is a legacy alias of `ontransitionend`. */\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: GamepadEvent) => any) | null;\ndeclare var ongamepaddisconnected: ((this: Window, ev: GamepadEvent) => any) | null;\ndeclare var onhashchange: ((this: Window, ev: HashChangeEvent) => 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;\n/** Available only in secure contexts. */\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(id: number | undefined): void;\ndeclare function clearTimeout(id: number | undefined): 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 | URL, init?: RequestInit): Promise<Response>;\ndeclare function queueMicrotask(callback: VoidFunction): void;\ndeclare function reportError(e: any): void;\ndeclare function setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\ndeclare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\ndeclare function structuredClone(value: any, options?: StructuredSerializeOptions): any;\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 | OffscreenCanvas;\ntype ClipboardItemData = Promise<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 EpochTimeStamp = 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, string][] | Record<string, string> | Headers;\ntype IDBValidKey = number | string | Date | BufferSource | IDBValidKey[];\ntype ImageBitmapSource = CanvasImageSource | Blob | ImageData;\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 OffscreenRenderingContext = OffscreenCanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;\ntype OnBeforeUnloadEventHandler = OnBeforeUnloadEventHandlerNonNull | null;\ntype OnErrorEventHandler = OnErrorEventHandlerNonNull | null;\ntype PerformanceEntryList = PerformanceEntry[];\ntype ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;\ntype ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;\ntype ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;\ntype RenderingContext = CanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;\ntype RequestInfo = Request | string;\ntype TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas;\ntype TimerHandler = string | Function;\ntype Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer;\ntype Uint32List = Uint32Array | GLuint[];\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" | "hybrid" | "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 CredentialMediationRequirement = "optional" | "required" | "silent";\ntype DOMParserSupportedType = "application/xhtml+xml" | "application/xml" | "image/svg+xml" | "text/html" | "text/xml";\ntype DirectionSetting = "" | "lr" | "rl";\ntype DisplayCaptureSurfaceType = "browser" | "monitor" | "window";\ntype DistanceModelType = "exponential" | "inverse" | "linear";\ntype DocumentReadyState = "complete" | "interactive" | "loading";\ntype DocumentVisibilityState = "hidden" | "visible";\ntype EndOfStreamError = "decode" | "network";\ntype EndingType = "native" | "transparent";\ntype FileSystemHandleKind = "directory" | "file";\ntype FillMode = "auto" | "backwards" | "both" | "forwards" | "none";\ntype FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";\ntype FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";\ntype FontFaceSetLoadStatus = "loaded" | "loading";\ntype FullscreenNavigationUI = "auto" | "hide" | "show";\ntype GamepadHapticActuatorType = "vibration";\ntype GamepadMappingType = "" | "standard" | "xr-standard";\ntype GlobalCompositeOperation = "color" | "color-burn" | "color-dodge" | "copy" | "darken" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "lighter" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | "source-atop" | "source-in" | "source-out" | "source-over" | "xor";\ntype HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";\ntype IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";\ntype IDBRequestReadyState = "done" | "pending";\ntype IDBTransactionDurability = "default" | "relaxed" | "strict";\ntype IDBTransactionMode = "readonly" | "readwrite" | "versionchange";\ntype ImageOrientation = "flipY" | "from-image";\ntype ImageSmoothingQuality = "high" | "low" | "medium";\ntype InsertPosition = "afterbegin" | "afterend" | "beforebegin" | "beforeend";\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 LockMode = "exclusive" | "shared";\ntype MIDIPortConnectionState = "closed" | "open" | "pending";\ntype MIDIPortDeviceState = "connected" | "disconnected";\ntype MIDIPortType = "input" | "output";\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 = "nexttrack" | "pause" | "play" | "previoustrack" | "seekbackward" | "seekforward" | "seekto" | "skipad" | "stop";\ntype MediaSessionPlaybackState = "none" | "paused" | "playing";\ntype MediaStreamTrackState = "ended" | "live";\ntype NavigationTimingType = "back_forward" | "navigate" | "prerender" | "reload";\ntype NotificationDirection = "auto" | "ltr" | "rtl";\ntype NotificationPermission = "default" | "denied" | "granted";\ntype OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2" | "webgpu";\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 = "geolocation" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock" | "xr-spatial-tracking";\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 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 RTCEncodedVideoFrameType = "delta" | "empty" | "key";\ntype RTCErrorDetailType = "data-channel-failure" | "dtls-failure" | "fingerprint-failure" | "hardware-encoder-error" | "hardware-encoder-not-available" | "sctp-failure" | "sdp-syntax-error";\ntype RTCIceCandidateType = "host" | "prflx" | "relay" | "srflx";\ntype RTCIceComponent = "rtcp" | "rtp";\ntype RTCIceConnectionState = "checking" | "closed" | "completed" | "connected" | "disconnected" | "failed" | "new";\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 RTCSctpTransportState = "closed" | "connected" | "connecting";\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" | "data-channel" | "inbound-rtp" | "local-candidate" | "media-source" | "outbound-rtp" | "peer-connection" | "remote-candidate" | "remote-inbound-rtp" | "remote-outbound-rtp" | "track" | "transport";\ntype ReadableStreamReaderMode = "byob";\ntype ReadableStreamType = "bytes";\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 VideoColorPrimaries = "bt470bg" | "bt709" | "smpte170m";\ntype VideoFacingModeEnum = "environment" | "left" | "right" | "user";\ntype VideoMatrixCoefficients = "bt470bg" | "bt709" | "rgb" | "smpte170m";\ntype VideoTransferCharacteristics = "bt709" | "iec61966-2-1" | "smpte170m";\ntype WebGLPowerPreference = "default" | "high-performance" | "low-power";\ntype WorkerType = "classic" | "module";\ntype XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";\n',ji["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/// <reference no-default-lib="true"/>\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 CSSKeyframesRule {\n [Symbol.iterator](): IterableIterator<CSSKeyframeRule>;\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 CanvasPath {\n roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | Iterable<number | DOMPointInit>): 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 EventCounts extends ReadonlyMap<string, number> {\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 /** Returns an array of key, value pairs for every entry in the list. */\n entries(): IterableIterator<[string, FormDataEntryValue]>;\n /** Returns a list of keys in the list. */\n keys(): IterableIterator<string>;\n /** Returns a list of values in the list. */\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 /** Returns an iterator allowing to go through all key/value pairs contained in this object. */\n entries(): IterableIterator<[string, string]>;\n /** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */\n keys(): IterableIterator<string>;\n /** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */\n values(): IterableIterator<string>;\n}\n\ninterface IDBDatabase {\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 transaction(storeNames: string | Iterable<string>, mode?: IDBTransactionMode, options?: IDBTransactionOptions): 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 MIDIInputMap extends ReadonlyMap<string, MIDIInput> {\n}\n\ninterface MIDIOutput {\n send(data: Iterable<number>, timestamp?: DOMHighResTimeStamp): void;\n}\n\ninterface MIDIOutputMap extends ReadonlyMap<string, MIDIOutput> {\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 /** Available only in secure contexts. */\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 /** Returns an array of key, value pairs for every entry in the list. */\n entries(): IterableIterator<[number, Node]>;\n /** Returns an list of keys in the list. */\n keys(): IterableIterator<number>;\n /** Returns an list of values in the list. */\n values(): IterableIterator<Node>;\n}\n\ninterface NodeListOf<TNode extends Node> {\n [Symbol.iterator](): IterableIterator<TNode>;\n /** Returns an array of key, value pairs for every entry in the list. */\n entries(): IterableIterator<[number, TNode]>;\n /** Returns an list of keys in the list. */\n keys(): IterableIterator<number>;\n /** Returns an list of values in the list. */\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 RTCRtpTransceiver {\n setCodecPreferences(codecs: Iterable<RTCRtpCodecCapability>): void;\n}\n\ninterface RTCStatsReport extends ReadonlyMap<string, 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: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;\n generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<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: ReadonlyArray<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 /** Returns an array of key, value pairs for every entry in the search params. */\n entries(): IterableIterator<[string, string]>;\n /** Returns a list of keys in the search params. */\n keys(): IterableIterator<string>;\n /** Returns a list of values in the search params. */\n values(): IterableIterator<string>;\n}\n\ninterface WEBGL_draw_buffers {\n drawBuffersWEBGL(buffers: Iterable<GLenum>): void;\n}\n\ninterface WEBGL_multi_draw {\n multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;\n multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, drawcount: GLsizei): void;\n multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;\n multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, drawcount: GLsizei): 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',ji["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/// <reference no-default-lib="true"/>\n\ninterface Map<K, V> {\n\n clear(): void;\n /**\n * @returns true if an element in the Map existed and has been removed, or false if the element does not exist.\n */\n delete(key: K): boolean;\n /**\n * Executes a provided function once per each key/value pair in the Map, in insertion order.\n */\n forEach(callbackfn: (value: V, key: K, map: Map<K, V>) => void, thisArg?: any): void;\n /**\n * Returns a specified element from the Map object. If the value that is associated to the provided key is an object, then you will get a reference to that object and any change made to that object will effectively modify it inside the Map.\n * @returns Returns the element associated with the specified key. If no element is associated with the specified key, undefined is returned.\n */\n get(key: K): V | undefined;\n /**\n * @returns boolean indicating whether an element with the specified key exists or not.\n */\n has(key: K): boolean;\n /**\n * Adds a new element with a specified key and value to the Map. If an element with the same key already exists, the element will be updated.\n */\n set(key: K, value: V): this;\n /**\n * @returns the number of elements in the Map.\n */\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 /**\n * Removes the specified element from the WeakMap.\n * @returns true if the element was successfully removed, or false if it was not present.\n */\n delete(key: K): boolean;\n /**\n * @returns a specified element.\n */\n get(key: K): V | undefined;\n /**\n * @returns a boolean indicating whether an element with the specified key exists or not.\n */\n has(key: K): boolean;\n /**\n * Adds a new element with a specified key and value.\n * @param key Must be an object.\n */\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 /**\n * Appends a new element with a specified value to the end of the Set.\n */\n add(value: T): this;\n\n clear(): void;\n /**\n * Removes a specified value from the Set.\n * @returns Returns true if an element in the Set existed and has been removed, or false if the element does not exist.\n */\n delete(value: T): boolean;\n /**\n * Executes a provided function once per each value in the Set object, in insertion order.\n */\n forEach(callbackfn: (value: T, value2: T, set: Set<T>) => void, thisArg?: any): void;\n /**\n * @returns a boolean indicating whether an element with the specified value exists in the Set or not.\n */\n has(value: T): boolean;\n /**\n * @returns the number of (unique) elements in Set.\n */\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 /**\n * Appends a new object to the end of the WeakSet.\n */\n add(value: T): this;\n /**\n * Removes the specified element from the WeakSet.\n * @returns Returns true if the element existed and has been removed, or false if the element does not exist.\n */\n delete(value: T): boolean;\n /**\n * @returns a boolean indicating whether an object exists in the WeakSet or not.\n */\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',ji["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/// <reference no-default-lib="true"/>\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: (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 extends {}, 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 extends {}, 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 extends {}, 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: (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 * @deprecated A legacy feature for browser compatibility\n * @param name\n */\n anchor(name: string): string;\n\n /**\n * Returns a `<big>` HTML element\n * @deprecated A legacy feature for browser compatibility\n */\n big(): string;\n\n /**\n * Returns a `<blink>` HTML element\n * @deprecated A legacy feature for browser compatibility\n */\n blink(): string;\n\n /**\n * Returns a `<b>` HTML element\n * @deprecated A legacy feature for browser compatibility\n */\n bold(): string;\n\n /**\n * Returns a `<tt>` HTML element\n * @deprecated A legacy feature for browser compatibility\n */\n fixed(): string;\n\n /**\n * Returns a `<font>` HTML element and sets the color attribute value\n * @deprecated A legacy feature for browser compatibility\n */\n fontcolor(color: string): string;\n\n /**\n * Returns a `<font>` HTML element and sets the size attribute value\n * @deprecated A legacy feature for browser compatibility\n */\n fontsize(size: number): string;\n\n /**\n * Returns a `<font>` HTML element and sets the size attribute value\n * @deprecated A legacy feature for browser compatibility\n */\n fontsize(size: string): string;\n\n /**\n * Returns an `<i>` HTML element\n * @deprecated A legacy feature for browser compatibility\n */\n italics(): string;\n\n /**\n * Returns an `<a>` HTML element and sets the href attribute value\n * @deprecated A legacy feature for browser compatibility\n */\n link(url: string): string;\n\n /**\n * Returns a `<small>` HTML element\n * @deprecated A legacy feature for browser compatibility\n */\n small(): string;\n\n /**\n * Returns a `<strike>` HTML element\n * @deprecated A legacy feature for browser compatibility\n */\n strike(): string;\n\n /**\n * Returns a `<sub>` HTML element\n * @deprecated A legacy feature for browser compatibility\n */\n sub(): string;\n\n /**\n * Returns a `<sup>` HTML element\n * @deprecated A legacy feature for browser compatibility\n */\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',ji["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/// <reference no-default-lib="true"/>\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',ji["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/// <reference no-default-lib="true"/>\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',ji["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/// <reference no-default-lib=\"true\"/>\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(): Map<any, any>;\n new <K, V>(iterable?: Iterable<readonly [K, V]> | null): 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<Awaited<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<Awaited<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",ji["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/// <reference no-default-lib="true"/>\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<T extends readonly unknown[] | []>(values: T): Promise<{ -readonly [P in keyof T]: Awaited<T[P]> }>;\n\n // see: lib.es2015.iterable.d.ts\n // all<T>(values: Iterable<T | PromiseLike<T>>): Promise<Awaited<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 extends readonly unknown[] | []>(values: T): Promise<Awaited<T[number]>>;\n\n // see: lib.es2015.iterable.d.ts\n // race<T>(values: Iterable<T | PromiseLike<T>>): Promise<Awaited<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 * 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): Promise<Awaited<T>>;\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<Awaited<T>>;\n}\n\ndeclare var Promise: PromiseConstructor;\n',ji["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/// <reference no-default-lib="true"/>\n\ninterface ProxyHandler<T extends object> {\n /**\n * A trap method for a function call.\n * @param target The original callable object which is being proxied.\n */\n apply?(target: T, thisArg: any, argArray: any[]): any;\n\n /**\n * A trap for the `new` operator.\n * @param target The original object which is being proxied.\n * @param newTarget The constructor that was originally called.\n */\n construct?(target: T, argArray: any[], newTarget: Function): object;\n\n /**\n * A trap for `Object.defineProperty()`.\n * @param target The original object which is being proxied.\n * @returns A `Boolean` indicating whether or not the property has been defined.\n */\n defineProperty?(target: T, property: string | symbol, attributes: PropertyDescriptor): boolean;\n\n /**\n * A trap for the `delete` operator.\n * @param target The original object which is being proxied.\n * @param p The name or `Symbol` of the property to delete.\n * @returns A `Boolean` indicating whether or not the property was deleted.\n */\n deleteProperty?(target: T, p: string | symbol): boolean;\n\n /**\n * A trap for getting a property value.\n * @param target The original object which is being proxied.\n * @param p The name or `Symbol` of the property to get.\n * @param receiver The proxy or an object that inherits from the proxy.\n */\n get?(target: T, p: string | symbol, receiver: any): any;\n\n /**\n * A trap for `Object.getOwnPropertyDescriptor()`.\n * @param target The original object which is being proxied.\n * @param p The name of the property whose description should be retrieved.\n */\n getOwnPropertyDescriptor?(target: T, p: string | symbol): PropertyDescriptor | undefined;\n\n /**\n * A trap for the `[[GetPrototypeOf]]` internal method.\n * @param target The original object which is being proxied.\n */\n getPrototypeOf?(target: T): object | null;\n\n /**\n * A trap for the `in` operator.\n * @param target The original object which is being proxied.\n * @param p The name or `Symbol` of the property to check for existence.\n */\n has?(target: T, p: string | symbol): boolean;\n\n /**\n * A trap for `Object.isExtensible()`.\n * @param target The original object which is being proxied.\n */\n isExtensible?(target: T): boolean;\n\n /**\n * A trap for `Reflect.ownKeys()`.\n * @param target The original object which is being proxied.\n */\n ownKeys?(target: T): ArrayLike<string | symbol>;\n\n /**\n * A trap for `Object.preventExtensions()`.\n * @param target The original object which is being proxied.\n */\n preventExtensions?(target: T): boolean;\n\n /**\n * A trap for setting a property value.\n * @param target The original object which is being proxied.\n * @param p The name or `Symbol` of the property to set.\n * @param receiver The object to which the assignment was originally directed.\n * @returns A `Boolean` indicating whether or not the property was set.\n */\n set?(target: T, p: string | symbol, newValue: any, receiver: any): boolean;\n\n /**\n * A trap for `Object.setPrototypeOf()`.\n * @param target The original object which is being proxied.\n * @param newPrototype The object\'s new prototype or `null`.\n */\n setPrototypeOf?(target: T, v: object | null): boolean;\n}\n\ninterface ProxyConstructor {\n /**\n * Creates a revocable Proxy object.\n * @param target A target object to wrap with Proxy.\n * @param handler An object whose properties define the behavior of Proxy when an operation is attempted on it.\n */\n revocable<T extends object>(target: T, handler: ProxyHandler<T>): { proxy: T; revoke: () => void; };\n\n /**\n * Creates a Proxy object. The Proxy object allows you to create an object that can be used in place of the\n * original object, but which may redefine fundamental Object operations like getting, setting, and defining\n * properties. Proxy objects are commonly used to log property accesses, validate, format, or sanitize inputs.\n * @param target A target object to wrap with Proxy.\n * @param handler An object whose properties define the behavior of Proxy when an operation is attempted on it.\n */\n new <T extends object>(target: T, handler: ProxyHandler<T>): T;\n}\ndeclare var Proxy: ProxyConstructor;\n',ji["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/// <reference no-default-lib="true"/>\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<T, A extends readonly any[], R>(\n target: (this: T, ...args: A) => R,\n thisArgument: T,\n argumentsList: Readonly<A>,\n ): R;\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<A extends readonly any[], R>(\n target: new (...args: A) => R,\n argumentsList: Readonly<A>,\n newTarget?: new (...args: any) => any,\n ): R;\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 & ThisType<any>): 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<T extends object, P extends PropertyKey>(\n target: T,\n propertyKey: P,\n receiver?: unknown,\n ): P extends keyof T ? T[P] : 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<T extends object, P extends PropertyKey>(\n target: T,\n propertyKey: P,\n ): TypedPropertyDescriptor<P extends keyof T ? T[P] : any> | 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<T extends object, P extends PropertyKey>(\n target: T,\n propertyKey: P,\n value: P extends keyof T ? T[P] : any,\n receiver?: any,\n ): boolean;\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',ji["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/// <reference no-default-lib="true"/>\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;',ji["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/// <reference no-default-lib="true"/>\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 truthy properties are properties 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 * Is an object whose properties have the value \'true\'\n * when they will be absent when used in a \'with\' statement.\n */\n readonly [Symbol.unscopables]: {\n [K in keyof any[]]?: boolean;\n };\n}\n\ninterface ReadonlyArray<T> {\n /**\n * Is an object whose properties have the value \'true\'\n * when they will be absent when used in a \'with\' statement.\n */\n readonly [Symbol.unscopables]: {\n [K in keyof readonly any[]]?: 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 * Passes a string and {@linkcode replaceValue} to the `[Symbol.replace]` method on {@linkcode searchValue}. This method is expected to implement its own replacement algorithm.\n * @param searchValue An object that supports searching for and replacing matches within a string.\n * @param replaceValue The replacement text.\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',ji["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/// <reference no-default-lib="true"/>\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}',ji["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/// <reference no-default-lib="true"/>\n\n/// <reference lib="es2015" />\n/// <reference lib="es2016.array.include" />',ji["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/// <reference no-default-lib="true"/>\n\n/// <reference lib="es2016" />\n/// <reference lib="dom" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n/// <reference lib="dom.iterable" />',ji["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/// <reference no-default-lib="true"/>\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',ji["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/// <reference no-default-lib="true"/>\n\n/// <reference lib="es2017" />\n/// <reference lib="dom" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n/// <reference lib="dom.iterable" />',ji["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/// <reference no-default-lib="true"/>\n\ndeclare namespace Intl {\n\n interface DateTimeFormatPartTypesRegistry {\n day: any\n dayPeriod: any\n era: any\n hour: any\n literal: any\n minute: any\n month: any\n second: any\n timeZoneName: any\n weekday: any\n year: any\n }\n\n type DateTimeFormatPartTypes = keyof DateTimeFormatPartTypesRegistry;\n\n interface DateTimeFormatPart {\n type: DateTimeFormatPartTypes;\n value: string;\n }\n\n interface DateTimeFormat {\n formatToParts(date?: Date | number): DateTimeFormatPart[];\n }\n}\n',ji["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/// <reference no-default-lib="true"/>\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',ji["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/// <reference no-default-lib="true"/>\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',ji["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/// <reference no-default-lib="true"/>\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',ji["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/// <reference no-default-lib="true"/>\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',ji["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/// <reference no-default-lib="true"/>\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',ji["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/// <reference no-default-lib="true"/>\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}',ji["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/// <reference no-default-lib="true"/>\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',ji["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/// <reference no-default-lib="true"/>\n\n/// <reference lib="es2018" />\n/// <reference lib="dom" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n/// <reference lib="dom.iterable" />',ji["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/// <reference no-default-lib="true"/>\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" | undefined;\n type?: PluralRuleType | undefined;\n minimumIntegerDigits?: number | undefined;\n minimumFractionDigits?: number | undefined;\n maximumFractionDigits?: number | undefined;\n minimumSignificantDigits?: number | undefined;\n maximumSignificantDigits?: number | undefined;\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\n supportedLocalesOf(locales: string | string[], options?: { localeMatcher?: "lookup" | "best fit" }): string[];\n };\n\n // We can only have one definition for \'type\' in TypeScript, and so you can learn where the keys come from here:\n type ES2018NumberFormatPartType = "literal" | "nan" | "infinity" | "percent" | "integer" | "group" | "decimal" | "fraction" | "plusSign" | "minusSign" | "percentSign" | "currency" | "code" | "symbol" | "name";\n type ES2020NumberFormatPartType = "compact" | "exponentInteger" | "exponentMinusSign" | "exponentSeparator" | "unit" | "unknown";\n type NumberFormatPartTypes = ES2018NumberFormatPartType | ES2020NumberFormatPartType;\n\n interface NumberFormatPart {\n type: NumberFormatPartTypes;\n value: string;\n }\n\n interface NumberFormat {\n formatToParts(number?: number | bigint): NumberFormatPart[];\n }\n}\n',ji["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/// <reference no-default-lib="true"/>\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',ji["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/// <reference no-default-lib="true"/>\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}',ji["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/// <reference no-default-lib="true"/>\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',ji["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/// <reference no-default-lib="true"/>\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/// <reference lib="es2019.intl" />\n',ji["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/// <reference no-default-lib="true"/>\n\n/// <reference lib="es2019" />\n/// <reference lib="dom" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n/// <reference lib="dom.iterable" />\n',ji["lib.es2019.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/// <reference no-default-lib="true"/>\n\ndeclare namespace Intl {\n interface DateTimeFormatPartTypesRegistry {\n unknown: any\n }\n}\n',ji["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/// <reference no-default-lib="true"/>\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',ji["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/// <reference no-default-lib="true"/>\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 /**\n * Removes the leading white space and line terminator characters from a string.\n * @deprecated A legacy feature for browser compatibility. Use `trimStart` instead\n */\n trimLeft(): string;\n\n /**\n * Removes the trailing white space and line terminator characters from a string.\n * @deprecated A legacy feature for browser compatibility. Use `trimEnd` instead\n */\n trimRight(): string;\n}\n',ji["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/// <reference no-default-lib="true"/>\n\ninterface Symbol {\n /**\n * Expose the [[Description]] internal slot of a symbol directly.\n */\n readonly description: string | undefined;\n}\n',ji["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/// <reference no-default-lib="true"/>\n\n/// <reference lib="es2020.intl" />\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?: Intl.LocalesArgument, 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 * @param littleEndian If false or undefined, a big-endian value should be read.\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 * @param littleEndian If false or undefined, a big-endian value should be read.\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 */\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 */\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',ji["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/// <reference no-default-lib="true"/>\n\n/// <reference lib="es2019" />\n/// <reference lib="es2020.bigint" />\n/// <reference lib="es2020.date" />\n/// <reference lib="es2020.number" />\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',ji["lib.es2020.date.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/// <reference no-default-lib="true"/>\n\n/// <reference lib="es2020.intl" />\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, array of locale strings, Intl.Locale object, or array of Intl.Locale objects 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?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;\n\n /**\n * Converts a date to a string by using the current or specified locale.\n * @param locales A locale string, array of locale strings, Intl.Locale object, or array of Intl.Locale objects 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?: Intl.LocalesArgument, 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, array of locale strings, Intl.Locale object, or array of Intl.Locale objects 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?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;\n}',ji["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/// <reference no-default-lib="true"/>\n\n/// <reference lib="es2020" />\n/// <reference lib="dom" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n/// <reference lib="dom.iterable" />\n',ji["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/// <reference no-default-lib="true"/>\n\n/// <reference lib="es2018.intl" />\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 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 type RelativeTimeFormatUnit =\n | "year"\n | "years"\n | "quarter"\n | "quarters"\n | "month"\n | "months"\n | "week"\n | "weeks"\n | "day"\n | "days"\n | "hour"\n | "hours"\n | "minute"\n | "minutes"\n | "second"\n | "seconds";\n\n /**\n * Value of the `unit` property in objects returned by\n * `Intl.RelativeTimeFormat.prototype.formatToParts()`. `formatToParts` and\n * `format` methods accept either singular or plural unit names as input,\n * but `formatToParts` only outputs singular (e.g. "day") not plural (e.g.\n * "days").\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts#Using_formatToParts).\n */\n type RelativeTimeFormatUnitSingular =\n | "year"\n | "quarter"\n | "month"\n | "week"\n | "day"\n | "hour"\n | "minute"\n | "second";\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 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 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 type RelativeTimeFormatStyle = "long" | "short" | "narrow";\n\n /**\n * [BCP 47 language tag](http://tools.ietf.org/html/rfc5646) definition.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument).\n */\n type BCP47LanguageTag = string;\n\n /**\n * The locale(s) to use\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument).\n */\n type LocalesArgument = UnicodeBCP47LocaleIdentifier | Locale | readonly (UnicodeBCP47LocaleIdentifier | Locale)[] | undefined;\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 interface RelativeTimeFormatOptions {\n /** The locale matching algorithm to use. For information about this option, see [Intl page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation). */\n localeMatcher?: RelativeTimeFormatLocaleMatcher;\n /** The format of output message. */\n numeric?: RelativeTimeFormatNumeric;\n /** The length of the internationalized message. */\n style?: RelativeTimeFormatStyle;\n }\n\n /**\n * An object with properties reflecting the locale\n * and formatting options computed during initialization\n * of the `Intl.RelativeTimeFormat` object\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/resolvedOptions#Description).\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 type RelativeTimeFormatPart =\n | {\n type: "literal";\n value: string;\n }\n | {\n type: Exclude<NumberFormatPartTypes, "literal">;\n value: string;\n unit: RelativeTimeFormatUnitSingular;\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 *\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) to use in the relative time internationalized message.\n *\n * @throws `RangeError` if `unit` was given something other than `unit` possible values\n *\n * @returns {string} 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 format(value: number, unit: RelativeTimeFormatUnit): string;\n\n /**\n * Returns an array of objects representing the relative time format in parts that can be used for custom locale-aware formatting.\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) to use in the relative time internationalized message.\n *\n * @throws `RangeError` if `unit` was given something other than `unit` possible values\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts).\n */\n formatToParts(value: number, unit: RelativeTimeFormatUnit): RelativeTimeFormatPart[];\n\n /**\n * Provides access to the locale and options computed during initialization of this `Intl.RelativeTimeFormat` object.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/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 * [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat#Browser_compatibility).\n */\n const RelativeTimeFormat: {\n /**\n * Creates [Intl.RelativeTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat) 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 `RelativeTimeFormatOptions`.\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 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 *\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 supportedLocalesOf(\n locales?: UnicodeBCP47LocaleIdentifier | UnicodeBCP47LocaleIdentifier[],\n options?: RelativeTimeFormatOptions,\n ): UnicodeBCP47LocaleIdentifier[];\n };\n\n interface NumberFormatOptions {\n compactDisplay?: "short" | "long" | undefined;\n notation?: "standard" | "scientific" | "engineering" | "compact" | undefined;\n signDisplay?: "auto" | "never" | "always" | "exceptZero" | undefined;\n unit?: string | undefined;\n unitDisplay?: "short" | "long" | "narrow" | undefined;\n currencyDisplay?: string | undefined;\n currencySign?: string | undefined;\n }\n\n interface ResolvedNumberFormatOptions {\n compactDisplay?: "short" | "long";\n notation?: "standard" | "scientific" | "engineering" | "compact";\n signDisplay?: "auto" | "never" | "always" | "exceptZero";\n unit?: string;\n unitDisplay?: "short" | "long" | "narrow";\n currencyDisplay?: string;\n currencySign?: string;\n }\n\n interface DateTimeFormatOptions {\n calendar?: string | undefined;\n dayPeriod?: "narrow" | "short" | "long" | undefined;\n numberingSystem?: string | undefined;\n\n dateStyle?: "full" | "long" | "medium" | "short" | undefined;\n timeStyle?: "full" | "long" | "medium" | "short" | undefined;\n hourCycle?: "h11" | "h12" | "h23" | "h24" | undefined;\n }\n\n type LocaleHourCycleKey = "h12" | "h23" | "h11" | "h24";\n type LocaleCollationCaseFirst = "upper" | "lower" | "false";\n\n interface LocaleOptions {\n /** A string containing the language, and the script and region if available. */\n baseName?: string;\n /** The part of the Locale that indicates the locale\'s calendar era. */\n calendar?: string;\n /** Flag that defines whether case is taken into account for the locale\'s collation rules. */\n caseFirst?: LocaleCollationCaseFirst;\n /** The collation type used for sorting */\n collation?: string;\n /** The time keeping format convention used by the locale. */\n hourCycle?: LocaleHourCycleKey;\n /** The primary language subtag associated with the locale. */\n language?: string;\n /** The numeral system used by the locale. */\n numberingSystem?: string;\n /** Flag that defines whether the locale has special collation handling for numeric characters. */\n numeric?: boolean;\n /** The region of the world (usually a country) associated with the locale. Possible values are region codes as defined by ISO 3166-1. */\n region?: string;\n /** The script used for writing the particular language used in the locale. Possible values are script codes as defined by ISO 15924. */\n script?: string;\n }\n\n interface Locale extends LocaleOptions {\n /** A string containing the language, and the script and region if available. */\n baseName: string;\n /** The primary language subtag associated with the locale. */\n language: string;\n /** Gets the most likely values for the language, script, and region of the locale based on existing values. */\n maximize(): Locale;\n /** Attempts to remove information about the locale that would be added by calling `Locale.maximize()`. */\n minimize(): Locale;\n /** Returns the locale\'s full locale identifier string. */\n toString(): BCP47LanguageTag;\n }\n\n /**\n * Constructor creates [Intl.Locale](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale)\n * objects\n *\n * @param tag - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646).\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/Locale/Locale#Parameters) with some or all of options of the locale.\n *\n * @returns [Intl.Locale](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale) object.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale).\n */\n const Locale: {\n new (tag: BCP47LanguageTag | Locale, options?: LocaleOptions): Locale;\n };\n\n type DisplayNamesFallback =\n | "code"\n | "none";\n\n type DisplayNamesType =\n | "language"\n | "region"\n | "script"\n | "calendar"\n | "dateTimeField"\n | "currency";\n\n type DisplayNamesLanguageDisplay =\n | "dialect"\n | "standard";\n\n interface DisplayNamesOptions {\n localeMatcher?: RelativeTimeFormatLocaleMatcher;\n style?: RelativeTimeFormatStyle;\n type: DisplayNamesType;\n languageDisplay?: DisplayNamesLanguageDisplay;\n fallback?: DisplayNamesFallback;\n }\n\n interface ResolvedDisplayNamesOptions {\n locale: UnicodeBCP47LocaleIdentifier;\n style: RelativeTimeFormatStyle;\n type: DisplayNamesType;\n fallback: DisplayNamesFallback;\n languageDisplay?: DisplayNamesLanguageDisplay;\n }\n\n interface DisplayNames {\n /**\n * Receives a code and returns a string based on the locale and options provided when instantiating\n * [`Intl.DisplayNames()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames)\n *\n * @param code The `code` to provide depends on the `type` passed to display name during creation:\n * - If the type is `"region"`, code should be either an [ISO-3166 two letters region code](https://www.iso.org/iso-3166-country-codes.html),\n * or a [three digits UN M49 Geographic Regions](https://unstats.un.org/unsd/methodology/m49/).\n * - If the type is `"script"`, code should be an [ISO-15924 four letters script code](https://unicode.org/iso15924/iso15924-codes.html).\n * - If the type is `"language"`, code should be a `languageCode` ["-" `scriptCode`] ["-" `regionCode` ] *("-" `variant` )\n * subsequence of the unicode_language_id grammar in [UTS 35\'s Unicode Language and Locale Identifiers grammar](https://unicode.org/reports/tr35/#Unicode_language_identifier).\n * `languageCode` is either a two letters ISO 639-1 language code or a three letters ISO 639-2 language code.\n * - If the type is `"currency"`, code should be a [3-letter ISO 4217 currency code](https://www.iso.org/iso-4217-currency-codes.html).\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/of).\n */\n of(code: string): string | undefined;\n /**\n * Returns a new object with properties reflecting the locale and style formatting options computed during the construction of the current\n * [`Intl/DisplayNames`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames) object.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/resolvedOptions).\n */\n resolvedOptions(): ResolvedDisplayNamesOptions;\n }\n\n /**\n * The [`Intl.DisplayNames()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames)\n * object enables the consistent translation of language, region and script display names.\n *\n * [Compatibility](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames#browser_compatibility).\n */\n const DisplayNames: {\n prototype: DisplayNames;\n\n /**\n * @param locales A string with a BCP 47 language tag, or an array of such strings.\n * For the general form and interpretation of the `locales` argument, see the [Intl](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_identification_and_negotiation)\n * page.\n *\n * @param options An object for setting up a display name.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/DisplayNames).\n */\n new(locales: LocalesArgument, options: DisplayNamesOptions): DisplayNames;\n\n /**\n * Returns an array containing those of the provided locales that are supported in display names without having to fall back to the runtime\'s default locale.\n *\n * @param locales A string with a BCP 47 language tag, or an array of such strings.\n * For the general form and interpretation of the `locales` argument, see the [Intl](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_identification_and_negotiation)\n * page.\n *\n * @param options An object with a locale matcher.\n *\n * @returns An array of strings representing a subset of the given locale tags that are supported in display names 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/DisplayNames/supportedLocalesOf).\n */\n supportedLocalesOf(locales?: LocalesArgument, options?: { localeMatcher?: RelativeTimeFormatLocaleMatcher }): BCP47LanguageTag[];\n };\n\n}\n',ji["lib.es2020.number.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/// <reference no-default-lib="true"/>\n\n/// <reference lib="es2020.intl" />\n\ninterface Number {\n /**\n * Converts a number to a string by using the current or specified locale.\n * @param locales A locale string, array of locale strings, Intl.Locale object, or array of Intl.Locale objects 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?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;\n}\n',ji["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/// <reference no-default-lib="true"/>\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[] | []>(values: T): Promise<{ -readonly [P in keyof T]: PromiseSettledResult<Awaited<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 | PromiseLike<T>>): Promise<PromiseSettledResult<Awaited<T>>[]>;\n}\n',ji["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/// <reference no-default-lib="true"/>\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',ji["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/// <reference no-default-lib="true"/>\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',ji["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/// <reference no-default-lib="true"/>\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',ji["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/// <reference no-default-lib="true"/>\n\n/// <reference lib="es2020" />\n/// <reference lib="es2021.promise" />\n/// <reference lib="es2021.string" />\n/// <reference lib="es2021.weakref" />\n/// <reference lib="es2021.intl" />\n',ji["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/// <reference no-default-lib="true"/>\n\n/// <reference lib="es2021" />\n/// <reference lib="dom" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n/// <reference lib="dom.iterable" />\n',ji["lib.es2021.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/// <reference no-default-lib="true"/>\n\ndeclare namespace Intl {\n\n interface DateTimeFormatPartTypesRegistry {\n fractionalSecond: any\n }\n\n interface DateTimeFormatOptions {\n formatMatcher?: "basic" | "best fit" | "best fit" | undefined;\n dateStyle?: "full" | "long" | "medium" | "short" | undefined;\n timeStyle?: "full" | "long" | "medium" | "short" | undefined;\n dayPeriod?: "narrow" | "short" | "long" | undefined;\n fractionalSecondDigits?: 1 | 2 | 3 | undefined;\n }\n\n interface DateTimeRangeFormatPart extends DateTimeFormatPart {\n source: "startRange" | "endRange" | "shared"\n }\n\n interface DateTimeFormat {\n formatRange(startDate: Date | number | bigint, endDate: Date | number | bigint): string;\n formatRangeToParts(startDate: Date | number | bigint, endDate: Date | number | bigint): DateTimeRangeFormatPart[];\n }\n\n interface ResolvedDateTimeFormatOptions {\n formatMatcher?: "basic" | "best fit" | "best fit";\n dateStyle?: "full" | "long" | "medium" | "short";\n timeStyle?: "full" | "long" | "medium" | "short";\n hourCycle?: "h11" | "h12" | "h23" | "h24";\n dayPeriod?: "narrow" | "short" | "long";\n fractionalSecondDigits?: 1 | 2 | 3;\n }\n\n /**\n * The locale matching algorithm to use.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters).\n */\n type ListFormatLocaleMatcher = "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/ListFormat/ListFormat#parameters).\n */\n type ListFormatType = "conjunction" | "disjunction" | "unit";\n\n /**\n * The length of the formatted message.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters).\n */\n type ListFormatStyle = "long" | "short" | "narrow";\n\n /**\n * An object with some or all properties of the `Intl.ListFormat` constructor `options` parameter.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters).\n */\n interface ListFormatOptions {\n /** The locale matching algorithm to use. For information about this option, see [Intl page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation). */\n localeMatcher?: ListFormatLocaleMatcher | undefined;\n /** The format of output message. */\n type?: ListFormatType | undefined;\n /** The length of the internationalized message. */\n style?: ListFormatStyle | undefined;\n }\n\n interface ResolvedListFormatOptions {\n locale: string;\n style: ListFormatStyle;\n type: ListFormatType;\n }\n\n interface ListFormat {\n /**\n * Returns a string with a language-specific representation of the list.\n *\n * @param list - An iterable object, such as an [Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array).\n *\n * @throws `TypeError` if `list` includes something other than the possible values.\n *\n * @returns {string} A language-specific formatted string representing the elements of the list.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/format).\n */\n format(list: Iterable<string>): string;\n\n /**\n * Returns an Array of objects representing the different components that can be used to format a list of values in a locale-aware fashion.\n *\n * @param list - An iterable object, such as an [Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array), to be formatted according to a locale.\n *\n * @throws `TypeError` if `list` includes something other than the possible values.\n *\n * @returns {{ type: "element" | "literal", value: string; }[]} An Array of components which contains the formatted parts from the list.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/formatToParts).\n */\n formatToParts(list: Iterable<string>): { type: "element" | "literal", value: string; }[];\n\n /**\n * Returns a new object with properties reflecting the locale and style\n * formatting options computed during the construction of the current\n * `Intl.ListFormat` object.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/resolvedOptions).\n */\n resolvedOptions(): ResolvedListFormatOptions;\n }\n\n const ListFormat: {\n prototype: ListFormat;\n\n /**\n * Creates [Intl.ListFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat) objects that\n * enable language-sensitive list formatting.\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/ListFormat/ListFormat#parameters)\n * with some or all options of `ListFormatOptions`.\n *\n * @returns [Intl.ListFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat) object.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat).\n */\n new(locales?: BCP47LanguageTag | BCP47LanguageTag[], options?: ListFormatOptions): ListFormat;\n\n /**\n * Returns an array containing those of the provided locales that are\n * supported in list formatting 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/ListFormat/supportedLocalesOf#parameters).\n * with some or all possible options.\n *\n * @returns An array of strings representing a subset of the given locale tags that are supported in list\n * formatting 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/ListFormat/supportedLocalesOf).\n */\n supportedLocalesOf(locales: BCP47LanguageTag | BCP47LanguageTag[], options?: Pick<ListFormatOptions, "localeMatcher">): BCP47LanguageTag[];\n };\n}\n',ji["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/// <reference no-default-lib="true"/>\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 extends readonly unknown[] | []>(values: T): Promise<Awaited<T[number]>>;\n\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: Iterable<T | PromiseLike<T>>): Promise<Awaited<T>>\n}\n',ji["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/// <reference no-default-lib="true"/>\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',ji["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/// <reference no-default-lib="true"/>\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',ji["lib.es2022.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/// <reference no-default-lib="true"/>\n\ninterface Array<T> {\n /**\n * Returns the item located at the specified index.\n * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.\n */\n at(index: number): T | undefined;\n}\n\ninterface ReadonlyArray<T> {\n /**\n * Returns the item located at the specified index.\n * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.\n */\n at(index: number): T | undefined;\n}\n\ninterface Int8Array {\n /**\n * Returns the item located at the specified index.\n * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.\n */\n at(index: number): number | undefined;\n}\n\ninterface Uint8Array {\n /**\n * Returns the item located at the specified index.\n * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.\n */\n at(index: number): number | undefined;\n}\n\ninterface Uint8ClampedArray {\n /**\n * Returns the item located at the specified index.\n * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.\n */\n at(index: number): number | undefined;\n}\n\ninterface Int16Array {\n /**\n * Returns the item located at the specified index.\n * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.\n */\n at(index: number): number | undefined;\n}\n\ninterface Uint16Array {\n /**\n * Returns the item located at the specified index.\n * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.\n */\n at(index: number): number | undefined;\n}\n\ninterface Int32Array {\n /**\n * Returns the item located at the specified index.\n * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.\n */\n at(index: number): number | undefined;\n}\n\ninterface Uint32Array {\n /**\n * Returns the item located at the specified index.\n * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.\n */\n at(index: number): number | undefined;\n}\n\ninterface Float32Array {\n /**\n * Returns the item located at the specified index.\n * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.\n */\n at(index: number): number | undefined;\n}\n\ninterface Float64Array {\n /**\n * Returns the item located at the specified index.\n * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.\n */\n at(index: number): number | undefined;\n}\n\ninterface BigInt64Array {\n /**\n * Returns the item located at the specified index.\n * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.\n */\n at(index: number): bigint | undefined;\n}\n\ninterface BigUint64Array {\n /**\n * Returns the item located at the specified index.\n * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.\n */\n at(index: number): bigint | undefined;\n}\n',ji["lib.es2022.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/// <reference no-default-lib="true"/>\n\n/// <reference lib="es2021" />\n/// <reference lib="es2022.array" />\n/// <reference lib="es2022.error" />\n/// <reference lib="es2022.intl" />\n/// <reference lib="es2022.object" />\n/// <reference lib="es2022.sharedmemory" />\n/// <reference lib="es2022.string" />\n/// <reference lib="es2022.regexp" />\n',ji["lib.es2022.error.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/// <reference no-default-lib="true"/>\n\ninterface ErrorOptions {\n cause?: unknown;\n}\n\ninterface Error {\n cause?: unknown;\n}\n\ninterface ErrorConstructor {\n new (message?: string, options?: ErrorOptions): Error;\n (message?: string, options?: ErrorOptions): Error;\n}\n\ninterface EvalErrorConstructor {\n new (message?: string, options?: ErrorOptions): EvalError;\n (message?: string, options?: ErrorOptions): EvalError;\n}\n\ninterface RangeErrorConstructor {\n new (message?: string, options?: ErrorOptions): RangeError;\n (message?: string, options?: ErrorOptions): RangeError;\n}\n\ninterface ReferenceErrorConstructor {\n new (message?: string, options?: ErrorOptions): ReferenceError;\n (message?: string, options?: ErrorOptions): ReferenceError;\n}\n\ninterface SyntaxErrorConstructor {\n new (message?: string, options?: ErrorOptions): SyntaxError;\n (message?: string, options?: ErrorOptions): SyntaxError;\n}\n\ninterface TypeErrorConstructor {\n new (message?: string, options?: ErrorOptions): TypeError;\n (message?: string, options?: ErrorOptions): TypeError;\n}\n\ninterface URIErrorConstructor {\n new (message?: string, options?: ErrorOptions): URIError;\n (message?: string, options?: ErrorOptions): URIError;\n}\n\ninterface AggregateErrorConstructor {\n new (\n errors: Iterable<any>,\n message?: string,\n options?: ErrorOptions\n ): AggregateError;\n (\n errors: Iterable<any>,\n message?: string,\n options?: ErrorOptions\n ): AggregateError;\n}\n',ji["lib.es2022.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/// <reference no-default-lib="true"/>\n\n/// <reference lib="es2022" />\n/// <reference lib="dom" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n/// <reference lib="dom.iterable" />\n',ji["lib.es2022.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/// <reference no-default-lib="true"/>\n\ndeclare namespace Intl {\n\n /**\n * An object with some or all properties of the `Intl.Segmenter` constructor `options` parameter.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/Segmenter#parameters)\n */\n interface SegmenterOptions {\n /** The locale matching algorithm to use. For information about this option, see [Intl page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation). */\n localeMatcher?: "best fit" | "lookup" | undefined;\n /** The type of input to be split */\n granularity?: "grapheme" | "word" | "sentence" | undefined;\n }\n\n interface Segmenter {\n /**\n * Returns `Segments` object containing the segments of the input string, using the segmenter\'s locale and granularity.\n *\n * @param input - The text to be segmented as a `string`.\n *\n * @returns A new iterable Segments object containing the segments of the input string, using the segmenter\'s locale and granularity.\n */\n segment(input: string): Segments;\n resolvedOptions(): ResolvedSegmenterOptions;\n }\n\n interface ResolvedSegmenterOptions {\n locale: string;\n granularity: "grapheme" | "word" | "sentence";\n }\n\n interface Segments {\n /**\n * Returns an object describing the segment in the original string that includes the code unit at a specified index.\n *\n * @param codeUnitIndex - A number specifying the index of the code unit in the original input string. If the value is omitted, it defaults to `0`.\n */\n containing(codeUnitIndex?: number): SegmentData;\n\n /** Returns an iterator to iterate over the segments. */\n [Symbol.iterator](): IterableIterator<SegmentData>;\n }\n\n interface SegmentData {\n /** A string containing the segment extracted from the original input string. */\n segment: string;\n /** The code unit index in the original input string at which the segment begins. */\n index: number;\n /** The complete input string that was segmented. */\n input: string;\n /**\n * A boolean value only if granularity is "word"; otherwise, undefined.\n * If granularity is "word", then isWordLike is true when the segment is word-like (i.e., consists of letters/numbers/ideographs/etc.); otherwise, false.\n */\n isWordLike?: boolean;\n }\n\n const Segmenter: {\n prototype: Segmenter;\n\n /**\n * Creates a new `Intl.Segmenter` object.\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/Segmenter/Segmenter#parameters)\n * with some or all options of `SegmenterOptions`.\n *\n * @returns [Intl.Segmenter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segments) object.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter).\n */\n new(locales?: BCP47LanguageTag | BCP47LanguageTag[], options?: SegmenterOptions): Segmenter;\n\n /**\n * Returns an array containing those of the provided locales that are supported 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/Segmenter/supportedLocalesOf#parameters).\n * with some or all possible options.\n *\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/supportedLocalesOf)\n */\n supportedLocalesOf(locales: BCP47LanguageTag | BCP47LanguageTag[], options?: Pick<SegmenterOptions, "localeMatcher">): BCP47LanguageTag[];\n };\n}\n',ji["lib.es2022.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/// <reference no-default-lib="true"/>\n\ninterface ObjectConstructor {\n /**\n * Determines whether an object has a property with the specified name.\n * @param o An object.\n * @param v A property name.\n */\n hasOwn(o: object, v: PropertyKey): boolean;\n}\n',ji["lib.es2022.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/// <reference no-default-lib="true"/>\n\ninterface RegExpMatchArray {\n indices?: RegExpIndicesArray;\n}\n\ninterface RegExpExecArray {\n indices?: RegExpIndicesArray;\n}\n\ninterface RegExpIndicesArray extends Array<[number, number]> {\n groups?: {\n [key: string]: [number, number];\n };\n}\n\ninterface RegExp {\n /**\n * Returns a Boolean value indicating the state of the hasIndices flag (d) used with with a regular expression.\n * Default is false. Read-only.\n */\n readonly hasIndices: boolean;\n}\n',ji["lib.es2022.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/// <reference no-default-lib="true"/>\n\ninterface Atomics {\n /**\n * A non-blocking, asynchronous version of wait which is usable on the main thread.\n * Waits asynchronously on a shared memory location and returns a Promise\n * @param typedArray A shared Int32Array or BigInt64Array.\n * @param index The position in the typedArray to wait on.\n * @param value The expected value to test.\n * @param [timeout] The expected value to test.\n */\n waitAsync(typedArray: Int32Array, index: number, value: number, timeout?: number): { async: false, value: "not-equal" | "timed-out" } | { async: true, value: Promise<"ok" | "timed-out"> };\n\n /**\n * A non-blocking, asynchronous version of wait which is usable on the main thread.\n * Waits asynchronously on a shared memory location and returns a Promise\n * @param typedArray A shared Int32Array or BigInt64Array.\n * @param index The position in the typedArray to wait on.\n * @param value The expected value to test.\n * @param [timeout] The expected value to test.\n */\n waitAsync(typedArray: BigInt64Array, index: number, value: bigint, timeout?: number): { async: false, value: "not-equal" | "timed-out" } | { async: true, value: Promise<"ok" | "timed-out"> };\n}\n',ji["lib.es2022.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/// <reference no-default-lib="true"/>\n\ninterface String {\n /**\n * Returns a new String consisting of the single UTF-16 code unit located at the specified index.\n * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.\n */\n at(index: number): string | undefined;\n}\n',ji["lib.es2023.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/// <reference no-default-lib="true"/>\n\ninterface Array<T> {\n /**\n * Returns the value of the last element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate findLast calls predicate once for each element of the array, in descending\n * order, until it finds one where predicate returns true. If such an element is found, findLast\n * immediately returns that element value. Otherwise, findLast 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 findLast<S extends T>(predicate: (value: T, index: number, array: T[]) => value is S, thisArg?: any): S | undefined;\n findLast(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any): T | undefined;\n\n /**\n * Returns the index of the last element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate findLastIndex calls predicate once for each element of the array, in descending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findLastIndex immediately returns that element index. Otherwise, findLastIndex 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 findLastIndex(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any): number;\n}\n\ninterface ReadonlyArray<T> {\n /**\n * Returns the value of the last element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate findLast calls predicate once for each element of the array, in descending\n * order, until it finds one where predicate returns true. If such an element is found, findLast\n * immediately returns that element value. Otherwise, findLast 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 findLast<S extends T>(predicate: (value: T, index: number, array: readonly T[]) => value is S, thisArg?: any): S | undefined;\n findLast(predicate: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): T | undefined;\n\n /**\n * Returns the index of the last element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate findLastIndex calls predicate once for each element of the array, in descending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findLastIndex immediately returns that element index. Otherwise, findLastIndex 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 findLastIndex(predicate: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): number;\n}\n\ninterface Int8Array {\n /**\n * Returns the value of the last element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate findLast calls predicate once for each element of the array, in descending\n * order, until it finds one where predicate returns true. If such an element is found, findLast\n * immediately returns that element value. Otherwise, findLast 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 findLast<S extends number>(predicate: (value: number, index: number, array: Int8Array) => value is S, thisArg?: any): S | undefined;\n findLast(predicate: (value: number, index: number, array: Int8Array) => unknown, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the last element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate findLastIndex calls predicate once for each element of the array, in descending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findLastIndex immediately returns that element index. Otherwise, findLastIndex 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 findLastIndex(predicate: (value: number, index: number, array: Int8Array) => unknown, thisArg?: any): number;\n}\n\ninterface Uint8Array {\n /**\n * Returns the value of the last element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate findLast calls predicate once for each element of the array, in descending\n * order, until it finds one where predicate returns true. If such an element is found, findLast\n * immediately returns that element value. Otherwise, findLast 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 findLast<S extends number>(predicate: (value: number, index: number, array: Uint8Array) => value is S, thisArg?: any): S | undefined;\n findLast(predicate: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the last element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate findLastIndex calls predicate once for each element of the array, in descending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findLastIndex immediately returns that element index. Otherwise, findLastIndex 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 findLastIndex(predicate: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any): number;\n}\n\ninterface Uint8ClampedArray {\n /**\n * Returns the value of the last element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate findLast calls predicate once for each element of the array, in descending\n * order, until it finds one where predicate returns true. If such an element is found, findLast\n * immediately returns that element value. Otherwise, findLast 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 findLast<S extends number>(predicate: (value: number, index: number, array: Uint8ClampedArray) => value is S, thisArg?: any): S | undefined;\n findLast(predicate: (value: number, index: number, array: Uint8ClampedArray) => unknown, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the last element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate findLastIndex calls predicate once for each element of the array, in descending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findLastIndex immediately returns that element index. Otherwise, findLastIndex 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 findLastIndex(predicate: (value: number, index: number, array: Uint8ClampedArray) => unknown, thisArg?: any): number;\n}\n\ninterface Int16Array {\n /**\n * Returns the value of the last element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate findLast calls predicate once for each element of the array, in descending\n * order, until it finds one where predicate returns true. If such an element is found, findLast\n * immediately returns that element value. Otherwise, findLast 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 findLast<S extends number>(predicate: (value: number, index: number, array: Int16Array) => value is S, thisArg?: any): S | undefined;\n findLast(predicate: (value: number, index: number, array: Int16Array) => unknown, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the last element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate findLastIndex calls predicate once for each element of the array, in descending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findLastIndex immediately returns that element index. Otherwise, findLastIndex 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 findLastIndex(predicate: (value: number, index: number, array: Int16Array) => unknown, thisArg?: any): number;\n}\n\ninterface Uint16Array {\n /**\n * Returns the value of the last element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate findLast calls predicate once for each element of the array, in descending\n * order, until it finds one where predicate returns true. If such an element is found, findLast\n * immediately returns that element value. Otherwise, findLast 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 findLast<S extends number>(predicate: (value: number, index: number, array: Uint16Array) => value is S, thisArg?: any): S | undefined;\n findLast(predicate: (value: number, index: number, array: Uint16Array) => unknown, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the last element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate findLastIndex calls predicate once for each element of the array, in descending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findLastIndex immediately returns that element index. Otherwise, findLastIndex 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 findLastIndex(predicate: (value: number, index: number, array: Uint16Array) => unknown, thisArg?: any): number;\n}\n\ninterface Int32Array {\n /**\n * Returns the value of the last element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate findLast calls predicate once for each element of the array, in descending\n * order, until it finds one where predicate returns true. If such an element is found, findLast\n * immediately returns that element value. Otherwise, findLast 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 findLast<S extends number>(predicate: (value: number, index: number, array: Int32Array) => value is S, thisArg?: any): S | undefined;\n findLast(predicate: (value: number, index: number, array: Int32Array) => unknown, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the last element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate findLastIndex calls predicate once for each element of the array, in descending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findLastIndex immediately returns that element index. Otherwise, findLastIndex 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 findLastIndex(predicate: (value: number, index: number, array: Int32Array) => unknown, thisArg?: any): number;\n}\n\ninterface Uint32Array {\n /**\n * Returns the value of the last element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate findLast calls predicate once for each element of the array, in descending\n * order, until it finds one where predicate returns true. If such an element is found, findLast\n * immediately returns that element value. Otherwise, findLast 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 findLast<S extends number>(predicate: (value: number, index: number, array: Uint32Array) => value is S, thisArg?: any): S | undefined;\n findLast(predicate: (value: number, index: number, array: Uint32Array) => unknown, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the last element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate findLastIndex calls predicate once for each element of the array, in descending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findLastIndex immediately returns that element index. Otherwise, findLastIndex 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 findLastIndex(predicate: (value: number, index: number, array: Uint32Array) => unknown, thisArg?: any): number;\n}\n\ninterface Float32Array {\n /**\n * Returns the value of the last element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate findLast calls predicate once for each element of the array, in descending\n * order, until it finds one where predicate returns true. If such an element is found, findLast\n * immediately returns that element value. Otherwise, findLast 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 findLast<S extends number>(predicate: (value: number, index: number, array: Float32Array) => value is S, thisArg?: any): S | undefined;\n findLast(predicate: (value: number, index: number, array: Float32Array) => unknown, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the last element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate findLastIndex calls predicate once for each element of the array, in descending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findLastIndex immediately returns that element index. Otherwise, findLastIndex 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 findLastIndex(predicate: (value: number, index: number, array: Float32Array) => unknown, thisArg?: any): number;\n}\n\ninterface Float64Array {\n /**\n * Returns the value of the last element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate findLast calls predicate once for each element of the array, in descending\n * order, until it finds one where predicate returns true. If such an element is found, findLast\n * immediately returns that element value. Otherwise, findLast 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 findLast<S extends number>(predicate: (value: number, index: number, array: Float64Array) => value is S, thisArg?: any): S | undefined;\n findLast(predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the last element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate findLastIndex calls predicate once for each element of the array, in descending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findLastIndex immediately returns that element index. Otherwise, findLastIndex 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 findLastIndex(predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any): number;\n}\n\ninterface BigInt64Array {\n /**\n * Returns the value of the last element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate findLast calls predicate once for each element of the array, in descending\n * order, until it finds one where predicate returns true. If such an element is found, findLast\n * immediately returns that element value. Otherwise, findLast 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 findLast<S extends bigint>(predicate: (value: bigint, index: number, array: BigInt64Array) => value is S, thisArg?: any): S | undefined;\n findLast(predicate: (value: bigint, index: number, array: BigInt64Array) => unknown, thisArg?: any): bigint | undefined;\n\n /**\n * Returns the index of the last element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate findLastIndex calls predicate once for each element of the array, in descending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findLastIndex immediately returns that element index. Otherwise, findLastIndex 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 findLastIndex(predicate: (value: bigint, index: number, array: BigInt64Array) => unknown, thisArg?: any): number;\n}\n\ninterface BigUint64Array {\n /**\n * Returns the value of the last element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate findLast calls predicate once for each element of the array, in descending\n * order, until it finds one where predicate returns true. If such an element is found, findLast\n * immediately returns that element value. Otherwise, findLast 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 findLast<S extends bigint>(predicate: (value: bigint, index: number, array: BigUint64Array) => value is S, thisArg?: any): S | undefined;\n findLast(predicate: (value: bigint, index: number, array: BigUint64Array) => unknown, thisArg?: any): bigint | undefined;\n\n /**\n * Returns the index of the last element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate findLastIndex calls predicate once for each element of the array, in descending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findLastIndex immediately returns that element index. Otherwise, findLastIndex 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 findLastIndex(predicate: (value: bigint, index: number, array: BigUint64Array) => unknown, thisArg?: any): number;\n}\n',ji["lib.es2023.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/// <reference no-default-lib="true"/>\n\n/// <reference lib="es2022" />\n/// <reference lib="es2023.array" />\n',ji["lib.es2023.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/// <reference no-default-lib="true"/>\n\n/// <reference lib="es2023" />\n/// <reference lib="dom" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n/// <reference lib="dom.iterable" />\n',ji["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/// <reference no-default-lib="true"/>\n\n/// <reference lib="decorators" />\n/// <reference lib="decorators.legacy" />\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 unencoded 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 unencoded 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 * @deprecated A legacy feature for browser compatibility\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 * @deprecated A legacy feature for browser compatibility\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 [key: PropertyKey]: 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 f 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 extends {[idx: string]: U | null | undefined | object}, U extends string | bigint | number | boolean | symbol>(o: 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>(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: never) => 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 or regular expression to search for.\n * @param replaceValue A string containing the text to replace. When the {@linkcode searchValue} is a `RegExp`, all matches are replaced if the `g` flag is set (or only those matches at the beginning, if the `y` flag is also present). Otherwise, only the first match of {@linkcode searchValue} is replaced.\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 * @deprecated A legacy feature for browser compatibility\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\n/**\n * The type for the optional second argument to `import()`.\n *\n * If your host environment supports additional options, this type may be\n * augmented via interface merging.\n */\ninterface ImportCallOptions {\n assert?: ImportAssertions;\n}\n\n/**\n * The type for the `assert` property of the optional second argument to `import()`.\n */\ninterface ImportAssertions {\n [key: string]: string;\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 /** Returns the stored time value in milliseconds since midnight, January 1, 1970 UTC. */\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 /**\n * Creates a new 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 monthIndex 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 new(year: number, monthIndex: 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 monthIndex 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, monthIndex: number, date?: number, hours?: number, minutes?: number, seconds?: number, ms?: number): number;\n /** Returns the number of milliseconds elapsed since midnight, January 1, 1970 Universal Coordinated Time (UTC). */\n now(): number;\n}\n\ndeclare var Date: DateConstructor;\n\ninterface RegExpMatchArray extends Array<string> {\n /**\n * The index of the search at which the result was found.\n */\n index?: number;\n /**\n * A copy of the search string.\n */\n input?: string;\n /**\n * The first match. This will always be present because `null` will be returned if there are no matches.\n */\n 0: string;\n}\n\ninterface RegExpExecArray extends Array<string> {\n /**\n * The index of the search at which the result was found.\n */\n index: number;\n /**\n * A copy of the search string.\n */\n input: string;\n /**\n * The first match. This will always be present because `null` will be returned if there are no matches.\n */\n 0: 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 /** @deprecated A legacy feature for browser compatibility */\n compile(pattern: string, flags?: string): 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 /** @deprecated A legacy feature for browser compatibility */\n $1: string;\n /** @deprecated A legacy feature for browser compatibility */\n $2: string;\n /** @deprecated A legacy feature for browser compatibility */\n $3: string;\n /** @deprecated A legacy feature for browser compatibility */\n $4: string;\n /** @deprecated A legacy feature for browser compatibility */\n $5: string;\n /** @deprecated A legacy feature for browser compatibility */\n $6: string;\n /** @deprecated A legacy feature for browser compatibility */\n $7: string;\n /** @deprecated A legacy feature for browser compatibility */\n $8: string;\n /** @deprecated A legacy feature for browser compatibility */\n $9: string;\n /** @deprecated A legacy feature for browser compatibility */\n input: string;\n /** @deprecated A legacy feature for browser compatibility */\n $_: string;\n /** @deprecated A legacy feature for browser compatibility */\n lastMatch: string;\n /** @deprecated A legacy feature for browser compatibility */\n "$&": string;\n /** @deprecated A legacy feature for browser compatibility */\n lastParen: string;\n /** @deprecated A legacy feature for browser compatibility */\n "$+": string;\n /** @deprecated A legacy feature for browser compatibility */\n leftContext: string;\n /** @deprecated A legacy feature for browser compatibility */\n "$`": string;\n /** @deprecated A legacy feature for browser compatibility */\n rightContext: string;\n /** @deprecated A legacy feature for browser compatibility */\n "$\'": 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 the first argument is less than the 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 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\n/**\n * Recursively unwraps the "awaited type" of a type. Non-promise "thenables" should resolve to `never`. This emulates the behavior of `await`.\n */\ntype Awaited<T> =\n T extends null | undefined ? T : // special case for `null | undefined` when not in `--strictNullChecks` mode\n T extends object & { then(onfulfilled: infer F, ...args: infer _): any } ? // `await` only unwraps object types with a callable `then`. Non-object types are not unwrapped\n F extends ((value: infer V, ...args: infer _) => any) ? // if the argument to `then` is callable, extracts the first argument\n Awaited<V> : // recursively unwrap the value\n never : // the argument to `then` was not callable\n T; // non-object or non-thenable\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 & {};\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 * @param littleEndian If false or undefined, a big-endian value should be read.\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 * @param littleEndian If false or undefined, a big-endian value should be read.\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 * @param littleEndian If false or undefined, a big-endian value should be read.\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 * @param littleEndian If false or undefined, a big-endian value should be read.\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 * @param littleEndian If false or undefined, a big-endian value should be read.\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 * @param littleEndian If false or undefined, a big-endian value should be read.\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 */\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 */\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 */\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 */\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 */\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 */\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 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 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 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 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 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 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 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 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 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 | undefined;\n localeMatcher?: string | undefined;\n numeric?: boolean | undefined;\n caseFirst?: string | undefined;\n sensitivity?: string | undefined;\n ignorePunctuation?: boolean | undefined;\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 | undefined;\n style?: string | undefined;\n currency?: string | undefined;\n currencySign?: string | undefined;\n useGrouping?: boolean | undefined;\n minimumIntegerDigits?: number | undefined;\n minimumFractionDigits?: number | undefined;\n maximumFractionDigits?: number | undefined;\n minimumSignificantDigits?: number | undefined;\n maximumSignificantDigits?: number | undefined;\n }\n\n interface ResolvedNumberFormatOptions {\n locale: string;\n numberingSystem: string;\n style: string;\n currency?: 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 readonly prototype: NumberFormat;\n };\n\n interface DateTimeFormatOptions {\n localeMatcher?: "best fit" | "lookup" | undefined;\n weekday?: "long" | "short" | "narrow" | undefined;\n era?: "long" | "short" | "narrow" | undefined;\n year?: "numeric" | "2-digit" | undefined;\n month?: "numeric" | "2-digit" | "long" | "short" | "narrow" | undefined;\n day?: "numeric" | "2-digit" | undefined;\n hour?: "numeric" | "2-digit" | undefined;\n minute?: "numeric" | "2-digit" | undefined;\n second?: "numeric" | "2-digit" | undefined;\n timeZoneName?: "short" | "long" | "shortOffset" | "longOffset" | "shortGeneric" | "longGeneric" | undefined;\n formatMatcher?: "best fit" | "basic" | undefined;\n hour12?: boolean | undefined;\n timeZone?: string | undefined;\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 readonly prototype: DateTimeFormat;\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',ji["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/// <reference no-default-lib="true"/>\n\n/// <reference lib="es2015" />\n/// <reference lib="dom" />\n/// <reference lib="dom.iterable" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n',ji["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/// <reference no-default-lib="true"/>\n\n/// <reference lib="es2023" />\n/// <reference lib="esnext.intl" />\n',ji["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/// <reference no-default-lib="true"/>\n\n/// <reference lib="esnext" />\n/// <reference lib="dom" />\n/// <reference lib="webworker.importscripts" />\n/// <reference lib="scripthost" />\n/// <reference lib="dom.iterable" />',ji["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/// <reference no-default-lib="true"/>\n\ndeclare namespace Intl {\n interface NumberRangeFormatPart extends NumberFormatPart {\n source: "startRange" | "endRange" | "shared"\n }\n\n interface NumberFormat {\n formatRange(start: number | bigint, end: number | bigint): string;\n formatRangeToParts(start: number | bigint, end: number | bigint): NumberRangeFormatPart[];\n }\n}\n',ji["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/// <reference no-default-lib="true"/>\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',ji["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/// <reference no-default-lib="true"/>\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 FileSystemGetDirectoryOptions {\n create?: boolean;\n}\n\ninterface FileSystemGetFileOptions {\n create?: boolean;\n}\n\ninterface FileSystemReadWriteOptions {\n at?: number;\n}\n\ninterface FileSystemRemoveOptions {\n recursive?: boolean;\n}\n\ninterface FontFaceDescriptors {\n ascentOverride?: string;\n descentOverride?: string;\n display?: FontDisplay;\n featureSettings?: string;\n lineGapOverride?: 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 IDBTransactionOptions {\n durability?: IDBTransactionDurability;\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 ImageEncodeOptions {\n quality?: number;\n type?: string;\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 LockInfo {\n clientId?: string;\n mode?: LockMode;\n name?: string;\n}\n\ninterface LockManagerSnapshot {\n held?: LockInfo[];\n pending?: LockInfo[];\n}\n\ninterface LockOptions {\n ifAvailable?: boolean;\n mode?: LockMode;\n signal?: AbortSignal;\n steal?: boolean;\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 NavigationPreloadState {\n enabled?: boolean;\n headerValue?: 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?: EpochTimeStamp;\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 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?: EpochTimeStamp | 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 RTCEncodedAudioFrameMetadata {\n contributingSources?: number[];\n synchronizationSource?: number;\n}\n\ninterface RTCEncodedVideoFrameMetadata {\n contributingSources?: number[];\n dependencies?: number[];\n frameId?: number;\n height?: number;\n spatialIndex?: number;\n synchronizationSource?: number;\n temporalIndex?: number;\n width?: number;\n}\n\ninterface ReadableStreamGetReaderOptions {\n /**\n * Creates a ReadableStreamBYOBReader and locks the stream to the new reader.\n *\n * This call behaves the same way as the no-argument variant, except that it only works on readable byte streams, i.e. streams which were constructed specifically with the ability to handle "bring your own buffer" reading. The returned BYOB reader provides the ability to directly read individual chunks from the stream via its read() method, into developer-supplied buffers, allowing more precise control over allocation.\n */\n mode?: ReadableStreamReaderMode;\n}\n\ninterface ReadableStreamReadDoneResult<T> {\n done: true;\n value?: T;\n}\n\ninterface ReadableStreamReadValueResult<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 /** A BodyInit object or null to set request\'s body. */\n body?: BodyInit | null;\n /** A string indicating how the request will interact with the browser\'s cache to set request\'s cache. */\n cache?: RequestCache;\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 credentials?: RequestCredentials;\n /** A Headers object, an object literal, or an array of two-item arrays to set request\'s headers. */\n headers?: HeadersInit;\n /** A cryptographic hash of the resource to be fetched by request. Sets request\'s integrity. */\n integrity?: string;\n /** A boolean to set request\'s keepalive. */\n keepalive?: boolean;\n /** A string to set request\'s method. */\n method?: string;\n /** A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request\'s mode. */\n mode?: RequestMode;\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 redirect?: RequestRedirect;\n /** A string whose value is a same-origin URL, "about:client", or the empty string, to set request\'s referrer. */\n referrer?: string;\n /** A referrer policy to set request\'s referrerPolicy. */\n referrerPolicy?: ReferrerPolicy;\n /** An AbortSignal to set request\'s signal. */\n signal?: AbortSignal | null;\n /** Can only be null. Used to disassociate request from any Window. */\n window?: null;\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 StructuredSerializeOptions {\n transfer?: Transferable[];\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 UnderlyingByteSource {\n autoAllocateChunkSize?: number;\n cancel?: UnderlyingSourceCancelCallback;\n pull?: (controller: ReadableByteStreamController) => void | PromiseLike<void>;\n start?: (controller: ReadableByteStreamController) => any;\n type: "bytes";\n}\n\ninterface UnderlyingDefaultSource<R = any> {\n cancel?: UnderlyingSourceCancelCallback;\n pull?: (controller: ReadableStreamDefaultController<R>) => void | PromiseLike<void>;\n start?: (controller: ReadableStreamDefaultController<R>) => any;\n type?: 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 autoAllocateChunkSize?: number;\n cancel?: UnderlyingSourceCancelCallback;\n pull?: UnderlyingSourcePullCallback<R>;\n start?: UnderlyingSourceStartCallback<R>;\n type?: ReadableStreamType;\n}\n\ninterface VideoColorSpaceInit {\n fullRange?: boolean | null;\n matrix?: VideoMatrixCoefficients | null;\n primaries?: VideoColorPrimaries | null;\n transfer?: VideoTransferCharacteristics | null;\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: 0x88FE;\n}\n\n/** A controller object that allows you to abort one or more DOM requests as and when desired. */\ninterface AbortController {\n /** Returns the AbortSignal object associated with this object. */\n readonly signal: AbortSignal;\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 abort(reason?: any): 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 /** Returns true if this AbortSignal\'s AbortController has signaled to abort, and false otherwise. */\n readonly aborted: boolean;\n onabort: ((this: AbortSignal, ev: Event) => any) | null;\n readonly reason: any;\n throwIfAborted(): void;\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 abort(reason?: any): AbortSignal;\n timeout(milliseconds: number): 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<Uint8Array>;\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 /** Returns the channel name (as passed to the constructor). */\n readonly name: string;\n onmessage: ((this: BroadcastChannel, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: BroadcastChannel, ev: MessageEvent) => any) | null;\n /** Closes the BroadcastChannel object, opening it up to garbage collection. */\n close(): void;\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 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/**\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.\n * Available only in secure contexts.\n */\ninterface Cache {\n add(request: RequestInfo | URL): Promise<void>;\n addAll(requests: RequestInfo[]): Promise<void>;\n delete(request: RequestInfo | URL, options?: CacheQueryOptions): Promise<boolean>;\n keys(request?: RequestInfo | URL, options?: CacheQueryOptions): Promise<ReadonlyArray<Request>>;\n match(request: RequestInfo | URL, options?: CacheQueryOptions): Promise<Response | undefined>;\n matchAll(request?: RequestInfo | URL, options?: CacheQueryOptions): Promise<ReadonlyArray<Response>>;\n put(request: RequestInfo | URL, response: Response): Promise<void>;\n}\n\ndeclare var Cache: {\n prototype: Cache;\n new(): Cache;\n};\n\n/**\n * The storage for Cache objects.\n * Available only in secure contexts.\n */\ninterface CacheStorage {\n delete(cacheName: string): Promise<boolean>;\n has(cacheName: string): Promise<boolean>;\n keys(): Promise<string[]>;\n match(request: RequestInfo | URL, 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: GlobalCompositeOperation;\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 createConicGradient(startAngle: number, x: number, y: number): CanvasGradient;\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 roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | (number | DOMPointInit)[]): 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 /** Sets the transformation matrix that will be used when rendering the pattern during a fill or stroke painting operation. */\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\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 fontKerning: CanvasFontKerning;\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\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?: StructuredSerializeOptions): 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 /** Returns the WebSocket connection close code provided by the server. */\n readonly code: number;\n /** Returns the WebSocket connection close reason provided by the server. */\n readonly reason: string;\n /** Returns true if the connection closed cleanly; false otherwise. */\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 /** Available only in secure contexts. */\n readonly subtle: SubtleCrypto;\n getRandomValues<T extends ArrayBufferView | null>(array: T): T;\n /** Available only in secure contexts. */\n randomUUID(): `${string}-${string}-${string}-${string}-${string}`;\n}\n\ndeclare var Crypto: {\n prototype: Crypto;\n new(): Crypto;\n};\n\n/**\n * The CryptoKey dictionary of the Web Crypto API represents a cryptographic key.\n * Available only in secure contexts.\n */\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 /** Returns any custom data event was created with. Typically used for synthetic events. */\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 extends Error {\n /** @deprecated */\n readonly code: number;\n readonly message: string;\n readonly name: string;\n readonly INDEX_SIZE_ERR: 1;\n readonly DOMSTRING_SIZE_ERR: 2;\n readonly HIERARCHY_REQUEST_ERR: 3;\n readonly WRONG_DOCUMENT_ERR: 4;\n readonly INVALID_CHARACTER_ERR: 5;\n readonly NO_DATA_ALLOWED_ERR: 6;\n readonly NO_MODIFICATION_ALLOWED_ERR: 7;\n readonly NOT_FOUND_ERR: 8;\n readonly NOT_SUPPORTED_ERR: 9;\n readonly INUSE_ATTRIBUTE_ERR: 10;\n readonly INVALID_STATE_ERR: 11;\n readonly SYNTAX_ERR: 12;\n readonly INVALID_MODIFICATION_ERR: 13;\n readonly NAMESPACE_ERR: 14;\n readonly INVALID_ACCESS_ERR: 15;\n readonly VALIDATION_ERR: 16;\n readonly TYPE_MISMATCH_ERR: 17;\n readonly SECURITY_ERR: 18;\n readonly NETWORK_ERR: 19;\n readonly ABORT_ERR: 20;\n readonly URL_MISMATCH_ERR: 21;\n readonly QUOTA_EXCEEDED_ERR: 22;\n readonly TIMEOUT_ERR: 23;\n readonly INVALID_NODE_TYPE_ERR: 24;\n readonly DATA_CLONE_ERR: 25;\n}\n\ndeclare var DOMException: {\n prototype: DOMException;\n new(message?: string, name?: string): DOMException;\n readonly INDEX_SIZE_ERR: 1;\n readonly DOMSTRING_SIZE_ERR: 2;\n readonly HIERARCHY_REQUEST_ERR: 3;\n readonly WRONG_DOCUMENT_ERR: 4;\n readonly INVALID_CHARACTER_ERR: 5;\n readonly NO_DATA_ALLOWED_ERR: 6;\n readonly NO_MODIFICATION_ALLOWED_ERR: 7;\n readonly NOT_FOUND_ERR: 8;\n readonly NOT_SUPPORTED_ERR: 9;\n readonly INUSE_ATTRIBUTE_ERR: 10;\n readonly INVALID_STATE_ERR: 11;\n readonly SYNTAX_ERR: 12;\n readonly INVALID_MODIFICATION_ERR: 13;\n readonly NAMESPACE_ERR: 14;\n readonly INVALID_ACCESS_ERR: 15;\n readonly VALIDATION_ERR: 16;\n readonly TYPE_MISMATCH_ERR: 17;\n readonly SECURITY_ERR: 18;\n readonly NETWORK_ERR: 19;\n readonly ABORT_ERR: 20;\n readonly URL_MISMATCH_ERR: 21;\n readonly QUOTA_EXCEEDED_ERR: 22;\n readonly TIMEOUT_ERR: 23;\n readonly INVALID_NODE_TYPE_ERR: 24;\n readonly DATA_CLONE_ERR: 25;\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 /** Returns the number of strings in strings. */\n readonly length: number;\n /** Returns true if strings contains string, and false otherwise. */\n contains(string: string): boolean;\n /** Returns the string with index index from strings. */\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 /** Returns dedicatedWorkerGlobal\'s name, i.e. the value given to the Worker constructor. Primarily useful for debugging. */\n readonly name: string;\n onmessage: ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) | null;\n onmessageerror: ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) | null;\n /** Aborts dedicatedWorkerGlobal. */\n close(): void;\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 postMessage(message: any, transfer: Transferable[]): void;\n postMessage(message: any, options?: StructuredSerializeOptions): 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 MIN_EXT: 0x8007;\n readonly MAX_EXT: 0x8008;\n}\n\ninterface EXT_color_buffer_float {\n}\n\ninterface EXT_color_buffer_half_float {\n readonly RGBA16F_EXT: 0x881A;\n readonly RGB16F_EXT: 0x881B;\n readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: 0x8211;\n readonly UNSIGNED_NORMALIZED_EXT: 0x8C17;\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 SRGB_EXT: 0x8C40;\n readonly SRGB_ALPHA_EXT: 0x8C42;\n readonly SRGB8_ALPHA8_EXT: 0x8C43;\n readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: 0x8210;\n}\n\ninterface EXT_shader_texture_lod {\n}\n\ninterface EXT_texture_compression_bptc {\n readonly COMPRESSED_RGBA_BPTC_UNORM_EXT: 0x8E8C;\n readonly COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT: 0x8E8D;\n readonly COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT: 0x8E8E;\n readonly COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT: 0x8E8F;\n}\n\ninterface EXT_texture_compression_rgtc {\n readonly COMPRESSED_RED_RGTC1_EXT: 0x8DBB;\n readonly COMPRESSED_SIGNED_RED_RGTC1_EXT: 0x8DBC;\n readonly COMPRESSED_RED_GREEN_RGTC2_EXT: 0x8DBD;\n readonly COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT: 0x8DBE;\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 TEXTURE_MAX_ANISOTROPY_EXT: 0x84FE;\n readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: 0x84FF;\n}\n\ninterface EXT_texture_norm16 {\n readonly R16_EXT: 0x822A;\n readonly RG16_EXT: 0x822C;\n readonly RGB16_EXT: 0x8054;\n readonly RGBA16_EXT: 0x805B;\n readonly R16_SNORM_EXT: 0x8F98;\n readonly RG16_SNORM_EXT: 0x8F99;\n readonly RGB16_SNORM_EXT: 0x8F9A;\n readonly RGBA16_SNORM_EXT: 0x8F9B;\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 /** 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 readonly bubbles: boolean;\n /** @deprecated */\n cancelBubble: boolean;\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 readonly cancelable: boolean;\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 readonly composed: boolean;\n /** Returns the object whose event listener\'s callback is currently being invoked. */\n readonly currentTarget: EventTarget | null;\n /** Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise. */\n readonly defaultPrevented: boolean;\n /** Returns the event\'s phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE. */\n readonly eventPhase: number;\n /** Returns true if event was dispatched by the user agent, and false otherwise. */\n readonly isTrusted: boolean;\n /** @deprecated */\n returnValue: boolean;\n /** @deprecated */\n readonly srcElement: EventTarget | null;\n /** Returns the object to which event is dispatched (its target). */\n readonly target: EventTarget | null;\n /** Returns the event\'s timestamp as the number of milliseconds measured relative to the time origin. */\n readonly timeStamp: DOMHighResTimeStamp;\n /** Returns the type of event, e.g. "click", "hashchange", or "submit". */\n readonly type: string;\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 composedPath(): EventTarget[];\n /** @deprecated */\n initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void;\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 preventDefault(): void;\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 stopImmediatePropagation(): void;\n /** When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object. */\n stopPropagation(): void;\n readonly NONE: 0;\n readonly CAPTURING_PHASE: 1;\n readonly AT_TARGET: 2;\n readonly BUBBLING_PHASE: 3;\n}\n\ndeclare var Event: {\n prototype: Event;\n new(type: string, eventInitDict?: EventInit): Event;\n readonly NONE: 0;\n readonly CAPTURING_PHASE: 1;\n readonly AT_TARGET: 2;\n readonly BUBBLING_PHASE: 3;\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 /** Returns the state of this EventSource object\'s connection. It can have the values described below. */\n readonly readyState: number;\n /** Returns the URL providing the event stream. */\n readonly url: string;\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 readonly withCredentials: boolean;\n /** Aborts any instances of the fetch algorithm started for this EventSource object, and sets the readyState attribute to CLOSED. */\n close(): void;\n readonly CONNECTING: 0;\n readonly OPEN: 1;\n readonly CLOSED: 2;\n addEventListener<K extends keyof EventSourceEventMap>(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: (this: EventSource, event: MessageEvent) => 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: (this: EventSource, event: MessageEvent) => 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 CONNECTING: 0;\n readonly OPEN: 1;\n readonly CLOSED: 2;\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 /** 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 dispatchEvent(event: Event): boolean;\n /** Removes the event listener in target\'s event listener list with the same type, callback, and options. */\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: Promise<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 preloadResponse: Promise<any>;\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: typeof FileReader.EMPTY | typeof FileReader.LOADING | typeof FileReader.DONE;\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 EMPTY: 0;\n readonly LOADING: 1;\n readonly DONE: 2;\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 EMPTY: 0;\n readonly LOADING: 1;\n readonly DONE: 2;\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\n/** Available only in secure contexts. */\ninterface FileSystemDirectoryHandle extends FileSystemHandle {\n readonly kind: "directory";\n getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise<FileSystemDirectoryHandle>;\n getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise<FileSystemFileHandle>;\n removeEntry(name: string, options?: FileSystemRemoveOptions): Promise<void>;\n resolve(possibleDescendant: FileSystemHandle): Promise<string[] | null>;\n}\n\ndeclare var FileSystemDirectoryHandle: {\n prototype: FileSystemDirectoryHandle;\n new(): FileSystemDirectoryHandle;\n};\n\n/** Available only in secure contexts. */\ninterface FileSystemFileHandle extends FileSystemHandle {\n readonly kind: "file";\n createSyncAccessHandle(): Promise<FileSystemSyncAccessHandle>;\n getFile(): Promise<File>;\n}\n\ndeclare var FileSystemFileHandle: {\n prototype: FileSystemFileHandle;\n new(): FileSystemFileHandle;\n};\n\n/** Available only in secure contexts. */\ninterface FileSystemHandle {\n readonly kind: FileSystemHandleKind;\n readonly name: string;\n isSameEntry(other: FileSystemHandle): Promise<boolean>;\n}\n\ndeclare var FileSystemHandle: {\n prototype: FileSystemHandle;\n new(): FileSystemHandle;\n};\n\n/** Available only in secure contexts. */\ninterface FileSystemSyncAccessHandle {\n close(): void;\n flush(): void;\n getSize(): number;\n read(buffer: BufferSource, options?: FileSystemReadWriteOptions): number;\n truncate(newSize: number): void;\n write(buffer: BufferSource, options?: FileSystemReadWriteOptions): number;\n}\n\ndeclare var FileSystemSyncAccessHandle: {\n prototype: FileSystemSyncAccessHandle;\n new(): FileSystemSyncAccessHandle;\n};\n\ninterface FontFace {\n ascentOverride: string;\n descentOverride: string;\n display: FontDisplay;\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 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 /** Returns the direction ("next", "nextunique", "prev" or "prevunique") of the cursor. */\n readonly direction: IDBCursorDirection;\n /** Returns the key of the cursor. Throws a "InvalidStateError" DOMException if the cursor is advancing or is finished. */\n readonly key: IDBValidKey;\n /** Returns the effective key of the cursor. Throws a "InvalidStateError" DOMException if the cursor is advancing or is finished. */\n readonly primaryKey: IDBValidKey;\n readonly request: IDBRequest;\n /** Returns the IDBObjectStore or IDBIndex the cursor was opened from. */\n readonly source: IDBObjectStore | IDBIndex;\n /** Advances the cursor through the next count records in range. */\n advance(count: number): void;\n /** Advances the cursor to the next record in range. */\n continue(key?: IDBValidKey): void;\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 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 /** Returns the cursor\'s current value. */\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 /** Returns the name of the database. */\n readonly name: string;\n /** Returns a list of the names of object stores in the database. */\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 /** Returns the version of the database. */\n readonly version: number;\n /** Closes the connection once all running transactions have finished. */\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 /** 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 transaction(storeNames: string | string[], mode?: IDBTransactionMode, options?: IDBTransactionOptions): 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 /** 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 deleteDatabase(name: string): IDBOpenDBRequest;\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 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 /** Returns the name of the index. */\n name: string;\n /** Returns the IDBObjectStore the index belongs to. */\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 /** Returns lower bound, or undefined if none. */\n readonly lower: any;\n /** Returns true if the lower open flag is set, and false otherwise. */\n readonly lowerOpen: boolean;\n /** Returns upper bound, or undefined if none. */\n readonly upper: any;\n /** Returns true if the upper open flag is set, and false otherwise. */\n readonly upperOpen: boolean;\n /** Returns true if key is included in the range, and false otherwise. */\n includes(key: any): boolean;\n}\n\ndeclare var IDBKeyRange: {\n prototype: IDBKeyRange;\n new(): IDBKeyRange;\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 bound(lower: any, upper: any, lowerOpen?: boolean, upperOpen?: boolean): IDBKeyRange;\n /** Returns a new IDBKeyRange starting at key with no upper bound. If open is true, key is not included in the range. */\n lowerBound(lower: any, open?: boolean): IDBKeyRange;\n /** Returns a new IDBKeyRange spanning only key. */\n only(value: any): IDBKeyRange;\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 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 /** Returns true if the store has a key generator, and false otherwise. */\n readonly autoIncrement: boolean;\n /** Returns a list of the names of indexes in the store. */\n readonly indexNames: DOMStringList;\n /** Returns the key path of the store, or null if none. */\n readonly keyPath: string | string[];\n /** Returns the name of the store. */\n name: string;\n /** Returns the associated transaction. */\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": IDBVersionChangeEvent;\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: IDBVersionChangeEvent) => 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 /** 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 readonly error: DOMException | null;\n onerror: ((this: IDBRequest<T>, ev: Event) => any) | null;\n onsuccess: ((this: IDBRequest<T>, ev: Event) => any) | null;\n /** Returns "pending" until a request is complete, then returns "done". */\n readonly readyState: IDBRequestReadyState;\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 readonly result: T;\n /** Returns the IDBObjectStore, IDBIndex, or IDBCursor the request was made against, or null if is was an open request. */\n readonly source: IDBObjectStore | IDBIndex | IDBCursor;\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 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 /** Returns the transaction\'s connection. */\n readonly db: IDBDatabase;\n readonly durability: IDBTransactionDurability;\n /** If the transaction was aborted, returns the error (a DOMException) providing the reason. */\n readonly error: DOMException | null;\n /** Returns the mode the transaction was created with ("readonly" or "readwrite"), or "versionchange" for an upgrade transaction. */\n readonly mode: IDBTransactionMode;\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 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 /** Aborts the transaction. All pending requests will fail with a "AbortError" DOMException and all changes made to the database will be reverted. */\n abort(): void;\n commit(): void;\n /** Returns an IDBObjectStore in the transaction\'s scope. */\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 /** Returns the intrinsic height of the image, in CSS pixels. */\n readonly height: number;\n /** Returns the intrinsic width of the image, in CSS pixels. */\n readonly width: number;\n /** Releases imageBitmap\'s underlying bitmap data. */\n close(): void;\n}\n\ndeclare var ImageBitmap: {\n prototype: ImageBitmap;\n new(): ImageBitmap;\n};\n\ninterface ImageBitmapRenderingContext {\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 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 readonly colorSpace: PredefinedColorSpace;\n /** Returns the one-dimensional array containing the data in RGBA order, as integers in the range 0 to 255. */\n readonly data: Uint8ClampedArray;\n /** Returns the actual dimensions of the data in the ImageData object, in pixels. */\n readonly height: number;\n /** Returns the actual dimensions of the data in the ImageData object, in pixels. */\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: 0x91B1;\n}\n\n/** Available only in secure contexts. */\ninterface Lock {\n readonly mode: LockMode;\n readonly name: string;\n}\n\ndeclare var Lock: {\n prototype: Lock;\n new(): Lock;\n};\n\n/** Available only in secure contexts. */\ninterface LockManager {\n query(): Promise<LockManagerSnapshot>;\n request(name: string, callback: LockGrantedCallback): Promise<any>;\n request(name: string, options: LockOptions, callback: LockGrantedCallback): Promise<any>;\n}\n\ndeclare var LockManager: {\n prototype: LockManager;\n new(): LockManager;\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 /** Returns the first MessagePort object. */\n readonly port1: MessagePort;\n /** Returns the second MessagePort object. */\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 /** Returns the data of the message. */\n readonly data: T;\n /** Returns the last event ID string, for server-sent events. */\n readonly lastEventId: string;\n /** Returns the origin of the message, for server-sent events and cross-document messaging. */\n readonly origin: string;\n /** Returns the MessagePort array sent with the message, for cross-document messaging and channel messaging. */\n readonly ports: ReadonlyArray<MessagePort>;\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 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 /** Disconnects the port, so that it is no longer active. */\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?: StructuredSerializeOptions): void;\n /** Begins dispatching messages received on the port. */\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/** Available only in secure contexts. */\ninterface NavigationPreloadManager {\n disable(): Promise<void>;\n enable(): Promise<void>;\n getState(): Promise<NavigationPreloadState>;\n setHeaderValue(value: string): Promise<void>;\n}\n\ndeclare var NavigationPreloadManager: {\n prototype: NavigationPreloadManager;\n new(): NavigationPreloadManager;\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\n/** Available only in secure contexts. */\ninterface NavigatorLocks {\n readonly locks: LockManager;\n}\n\ninterface NavigatorOnLine {\n readonly onLine: boolean;\n}\n\n/** Available only in secure contexts. */\ninterface NavigatorStorage {\n readonly storage: StorageManager;\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\ninterface OES_draw_buffers_indexed {\n blendEquationSeparateiOES(buf: GLuint, modeRGB: GLenum, modeAlpha: GLenum): void;\n blendEquationiOES(buf: GLuint, mode: GLenum): void;\n blendFuncSeparateiOES(buf: GLuint, srcRGB: GLenum, dstRGB: GLenum, srcAlpha: GLenum, dstAlpha: GLenum): void;\n blendFunciOES(buf: GLuint, src: GLenum, dst: GLenum): void;\n colorMaskiOES(buf: GLuint, r: GLboolean, g: GLboolean, b: GLboolean, a: GLboolean): void;\n disableiOES(target: GLenum, index: GLuint): void;\n enableiOES(target: GLenum, index: GLuint): void;\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: 0x8B8B;\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: 0x8D61;\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: 0x85B5;\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_NUM_VIEWS_OVR: 0x9630;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR: 0x9632;\n readonly MAX_VIEWS_OVR: 0x9631;\n readonly FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR: 0x9633;\n}\n\ninterface OffscreenCanvasEventMap {\n "contextlost": Event;\n "contextrestored": Event;\n}\n\ninterface OffscreenCanvas extends EventTarget {\n /**\n * These attributes return the dimensions of the OffscreenCanvas object\'s bitmap.\n *\n * They can be set, to replace the bitmap with a new, transparent black bitmap of the specified dimensions (effectively resizing it).\n */\n height: number;\n oncontextlost: ((this: OffscreenCanvas, ev: Event) => any) | null;\n oncontextrestored: ((this: OffscreenCanvas, ev: Event) => any) | null;\n /**\n * These attributes return the dimensions of the OffscreenCanvas object\'s bitmap.\n *\n * They can be set, to replace the bitmap with a new, transparent black bitmap of the specified dimensions (effectively resizing it).\n */\n width: number;\n /**\n * Returns a promise that will fulfill with a new Blob object representing a file containing the image in the OffscreenCanvas object.\n *\n * The argument, if provided, is a dictionary that controls the encoding options of the image file to be created. The type field specifies the file format and has a default value of "image/png"; that type is also used if the requested type isn\'t supported. If the image format supports variable quality (such as "image/jpeg"), then the quality field is a number in the range 0.0 to 1.0 inclusive indicating the desired quality level for the resulting image.\n */\n convertToBlob(options?: ImageEncodeOptions): Promise<Blob>;\n /**\n * Returns an object that exposes an API for drawing on the OffscreenCanvas object. contextId specifies the desired API: "2d", "bitmaprenderer", "webgl", or "webgl2". options is handled by that API.\n *\n * This specification defines the "2d" context below, which is similar but distinct from the "2d" context that is created from a canvas element. The WebGL specifications define the "webgl" and "webgl2" contexts. [WEBGL]\n *\n * Returns null if the canvas has already been initialized with another context type (e.g., trying to get a "2d" context after getting a "webgl" context).\n */\n getContext(contextId: "2d", options?: any): OffscreenCanvasRenderingContext2D | null;\n getContext(contextId: "bitmaprenderer", options?: any): ImageBitmapRenderingContext | null;\n getContext(contextId: "webgl", options?: any): WebGLRenderingContext | null;\n getContext(contextId: "webgl2", options?: any): WebGL2RenderingContext | null;\n getContext(contextId: OffscreenRenderingContextId, options?: any): OffscreenRenderingContext | null;\n /** Returns a newly created ImageBitmap object with the image in the OffscreenCanvas object. The image in the OffscreenCanvas object is replaced with a new blank image. */\n transferToImageBitmap(): ImageBitmap;\n addEventListener<K extends keyof OffscreenCanvasEventMap>(type: K, listener: (this: OffscreenCanvas, ev: OffscreenCanvasEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener<K extends keyof OffscreenCanvasEventMap>(type: K, listener: (this: OffscreenCanvas, ev: OffscreenCanvasEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var OffscreenCanvas: {\n prototype: OffscreenCanvas;\n new(width: number, height: number): OffscreenCanvas;\n};\n\ninterface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform {\n readonly canvas: OffscreenCanvas;\n commit(): void;\n}\n\ndeclare var OffscreenCanvasRenderingContext2D: {\n prototype: OffscreenCanvasRenderingContext2D;\n new(): OffscreenCanvasRenderingContext2D;\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 /** Adds to the path the path given by the argument. */\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 readonly name: string;\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/**\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.\n * Available only in secure contexts.\n */\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/**\n * This Push API interface provides a way to receive notifications from third-party servers as well as request URLs for push notifications.\n * Available only in secure contexts.\n */\ninterface PushManager {\n getSubscription(): Promise<PushSubscription | null>;\n permissionState(options?: PushSubscriptionOptionsInit): Promise<PermissionState>;\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/**\n * This Push API interface provides methods which let you retrieve the push data sent by a server in various formats.\n * Available only in secure contexts.\n */\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/**\n * This Push API interface provides a subcription\'s URL endpoint and allows unsubscription from a push service.\n * Available only in secure contexts.\n */\ninterface PushSubscription {\n readonly endpoint: string;\n readonly expirationTime: EpochTimeStamp | null;\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\n/** Available only in secure contexts. */\ninterface PushSubscriptionOptions {\n readonly applicationServerKey: ArrayBuffer | null;\n readonly userVisibleOnly: boolean;\n}\n\ndeclare var PushSubscriptionOptions: {\n prototype: PushSubscriptionOptions;\n new(): PushSubscriptionOptions;\n};\n\ninterface RTCEncodedAudioFrame {\n data: ArrayBuffer;\n readonly timestamp: number;\n getMetadata(): RTCEncodedAudioFrameMetadata;\n}\n\ndeclare var RTCEncodedAudioFrame: {\n prototype: RTCEncodedAudioFrame;\n new(): RTCEncodedAudioFrame;\n};\n\ninterface RTCEncodedVideoFrame {\n data: ArrayBuffer;\n readonly timestamp: number;\n readonly type: RTCEncodedVideoFrameType;\n getMetadata(): RTCEncodedVideoFrameMetadata;\n}\n\ndeclare var RTCEncodedVideoFrame: {\n prototype: RTCEncodedVideoFrame;\n new(): RTCEncodedVideoFrame;\n};\n\ninterface ReadableByteStreamController {\n readonly byobRequest: ReadableStreamBYOBRequest | null;\n readonly desiredSize: number | null;\n close(): void;\n enqueue(chunk: ArrayBufferView): void;\n error(e?: any): void;\n}\n\ndeclare var ReadableByteStreamController: {\n prototype: ReadableByteStreamController;\n new(): ReadableByteStreamController;\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(options: { mode: "byob" }): ReadableStreamBYOBReader;\n getReader(): ReadableStreamDefaultReader<R>;\n getReader(options?: ReadableStreamGetReaderOptions): ReadableStreamReader<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}\n\ndeclare var ReadableStream: {\n prototype: ReadableStream;\n new(underlyingSource: UnderlyingByteSource, strategy?: { highWaterMark?: number }): ReadableStream<Uint8Array>;\n new<R = any>(underlyingSource: UnderlyingDefaultSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;\n new<R = any>(underlyingSource?: UnderlyingSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;\n};\n\ninterface ReadableStreamBYOBReader extends ReadableStreamGenericReader {\n read<T extends ArrayBufferView>(view: T): Promise<ReadableStreamReadResult<T>>;\n releaseLock(): void;\n}\n\ndeclare var ReadableStreamBYOBReader: {\n prototype: ReadableStreamBYOBReader;\n new(stream: ReadableStream): ReadableStreamBYOBReader;\n};\n\ninterface ReadableStreamBYOBRequest {\n readonly view: ArrayBufferView | null;\n respond(bytesWritten: number): void;\n respondWithNewView(view: ArrayBufferView): void;\n}\n\ndeclare var ReadableStreamBYOBRequest: {\n prototype: ReadableStreamBYOBRequest;\n new(): ReadableStreamBYOBRequest;\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<ReadableStreamReadResult<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 /** 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 readonly cache: RequestCache;\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 readonly credentials: RequestCredentials;\n /** Returns the kind of resource requested by request, e.g., "document" or "script". */\n readonly destination: RequestDestination;\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 readonly headers: Headers;\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 readonly integrity: string;\n /** Returns a boolean indicating whether or not request can outlive the global in which it was created. */\n readonly keepalive: boolean;\n /** Returns request\'s HTTP method, which is "GET" by default. */\n readonly method: string;\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 readonly mode: RequestMode;\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 readonly redirect: RequestRedirect;\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 readonly referrer: string;\n /** Returns the referrer policy associated with request. This is used during fetching to compute the value of the request\'s referrer. */\n readonly referrerPolicy: ReferrerPolicy;\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 readonly signal: AbortSignal;\n /** Returns the URL of request as a string. */\n readonly url: string;\n clone(): Request;\n}\n\ndeclare var Request: {\n prototype: Request;\n new(input: RequestInfo | URL, 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/**\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.\n * Available only in secure contexts.\n */\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?: StructuredSerializeOptions): 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/**\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.\n * Available only in secure contexts.\n */\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 "pushsubscriptionchange": Event;\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 onpushsubscriptionchange: ((this: ServiceWorkerGlobalScope, ev: Event) => any) | null;\n readonly registration: ServiceWorkerRegistration;\n readonly serviceWorker: ServiceWorker;\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/**\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.\n * Available only in secure contexts.\n */\ninterface ServiceWorkerRegistration extends EventTarget {\n readonly active: ServiceWorker | null;\n readonly installing: ServiceWorker | null;\n readonly navigationPreload: NavigationPreloadManager;\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 /** 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 readonly name: string;\n onconnect: ((this: SharedWorkerGlobalScope, ev: MessageEvent) => any) | null;\n /** Aborts sharedWorkerGlobal. */\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\n/** Available only in secure contexts. */\ninterface StorageManager {\n estimate(): Promise<StorageEstimate>;\n getDirectory(): Promise<FileSystemDirectoryHandle>;\n persisted(): Promise<boolean>;\n}\n\ndeclare var StorageManager: {\n prototype: StorageManager;\n new(): StorageManager;\n};\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).\n * Available only in secure contexts.\n */\ninterface SubtleCrypto {\n decrypt(algorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, key: CryptoKey, data: BufferSource): Promise<ArrayBuffer>;\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<ArrayBuffer>;\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: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;\n generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<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: ReadonlyArray<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 /** Returns encoding\'s name, lowercased. */\n readonly encoding: string;\n /** Returns true if error mode is "fatal", otherwise false. */\n readonly fatal: boolean;\n /** Returns the value of ignore BOM. */\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 /** Returns the result of running UTF-8\'s encoder. */\n encode(input?: string): Uint8Array;\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 encodeInto(source: string, destination: Uint8Array): TextEncoderEncodeIntoResult;\n}\n\ndeclare var TextEncoder: {\n prototype: TextEncoder;\n new(): TextEncoder;\n};\n\ninterface TextEncoderCommon {\n /** Returns "utf-8". */\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 /** Returns the measurement described below. */\n readonly actualBoundingBoxAscent: number;\n /** Returns the measurement described below. */\n readonly actualBoundingBoxDescent: number;\n /** Returns the measurement described below. */\n readonly actualBoundingBoxLeft: number;\n /** Returns the measurement described below. */\n readonly actualBoundingBoxRight: number;\n /** Returns the measurement described below. */\n readonly fontBoundingBoxAscent: number;\n /** Returns the measurement described below. */\n readonly fontBoundingBoxDescent: number;\n /** Returns the measurement described below. */\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(obj: Blob): string;\n revokeObjectURL(url: string): void;\n};\n\ninterface URLSearchParams {\n /** Appends a specified key/value pair as a new search parameter. */\n append(name: string, value: string): void;\n /** Deletes the given search parameter, and its associated value, from the list of all search parameters. */\n delete(name: string): void;\n /** Returns the first value associated to the given search parameter. */\n get(name: string): string | null;\n /** Returns all the values association with a given search parameter. */\n getAll(name: string): string[];\n /** Returns a Boolean indicating if such a search parameter exists. */\n has(name: string): boolean;\n /** Sets the value associated to a given search parameter to the given value. If there were several values, delete the others. */\n set(name: string, value: string): void;\n sort(): void;\n /** Returns a string containing a query string suitable for use in a URL. Does not include the question mark. */\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 VideoColorSpace {\n readonly fullRange: boolean | null;\n readonly matrix: VideoMatrixCoefficients | null;\n readonly primaries: VideoColorPrimaries | null;\n readonly transfer: VideoTransferCharacteristics | null;\n toJSON(): VideoColorSpaceInit;\n}\n\ndeclare var VideoColorSpace: {\n prototype: VideoColorSpace;\n new(init?: VideoColorSpaceInit): VideoColorSpace;\n};\n\ninterface WEBGL_color_buffer_float {\n readonly RGBA32F_EXT: 0x8814;\n readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: 0x8211;\n readonly UNSIGNED_NORMALIZED_EXT: 0x8C17;\n}\n\ninterface WEBGL_compressed_texture_astc {\n getSupportedProfiles(): string[];\n readonly COMPRESSED_RGBA_ASTC_4x4_KHR: 0x93B0;\n readonly COMPRESSED_RGBA_ASTC_5x4_KHR: 0x93B1;\n readonly COMPRESSED_RGBA_ASTC_5x5_KHR: 0x93B2;\n readonly COMPRESSED_RGBA_ASTC_6x5_KHR: 0x93B3;\n readonly COMPRESSED_RGBA_ASTC_6x6_KHR: 0x93B4;\n readonly COMPRESSED_RGBA_ASTC_8x5_KHR: 0x93B5;\n readonly COMPRESSED_RGBA_ASTC_8x6_KHR: 0x93B6;\n readonly COMPRESSED_RGBA_ASTC_8x8_KHR: 0x93B7;\n readonly COMPRESSED_RGBA_ASTC_10x5_KHR: 0x93B8;\n readonly COMPRESSED_RGBA_ASTC_10x6_KHR: 0x93B9;\n readonly COMPRESSED_RGBA_ASTC_10x8_KHR: 0x93BA;\n readonly COMPRESSED_RGBA_ASTC_10x10_KHR: 0x93BB;\n readonly COMPRESSED_RGBA_ASTC_12x10_KHR: 0x93BC;\n readonly COMPRESSED_RGBA_ASTC_12x12_KHR: 0x93BD;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR: 0x93D0;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR: 0x93D1;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR: 0x93D2;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR: 0x93D3;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR: 0x93D4;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR: 0x93D5;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR: 0x93D6;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR: 0x93D7;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR: 0x93D8;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR: 0x93D9;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR: 0x93DA;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR: 0x93DB;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR: 0x93DC;\n readonly COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR: 0x93DD;\n}\n\ninterface WEBGL_compressed_texture_etc {\n readonly COMPRESSED_R11_EAC: 0x9270;\n readonly COMPRESSED_SIGNED_R11_EAC: 0x9271;\n readonly COMPRESSED_RG11_EAC: 0x9272;\n readonly COMPRESSED_SIGNED_RG11_EAC: 0x9273;\n readonly COMPRESSED_RGB8_ETC2: 0x9274;\n readonly COMPRESSED_SRGB8_ETC2: 0x9275;\n readonly COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2: 0x9276;\n readonly COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2: 0x9277;\n readonly COMPRESSED_RGBA8_ETC2_EAC: 0x9278;\n readonly COMPRESSED_SRGB8_ALPHA8_ETC2_EAC: 0x9279;\n}\n\ninterface WEBGL_compressed_texture_etc1 {\n readonly COMPRESSED_RGB_ETC1_WEBGL: 0x8D64;\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_RGB_S3TC_DXT1_EXT: 0x83F0;\n readonly COMPRESSED_RGBA_S3TC_DXT1_EXT: 0x83F1;\n readonly COMPRESSED_RGBA_S3TC_DXT3_EXT: 0x83F2;\n readonly COMPRESSED_RGBA_S3TC_DXT5_EXT: 0x83F3;\n}\n\ninterface WEBGL_compressed_texture_s3tc_srgb {\n readonly COMPRESSED_SRGB_S3TC_DXT1_EXT: 0x8C4C;\n readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: 0x8C4D;\n readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT: 0x8C4E;\n readonly COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT: 0x8C4F;\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_VENDOR_WEBGL: 0x9245;\n readonly UNMASKED_RENDERER_WEBGL: 0x9246;\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: 0x84FA;\n}\n\ninterface WEBGL_draw_buffers {\n drawBuffersWEBGL(buffers: GLenum[]): void;\n readonly COLOR_ATTACHMENT0_WEBGL: 0x8CE0;\n readonly COLOR_ATTACHMENT1_WEBGL: 0x8CE1;\n readonly COLOR_ATTACHMENT2_WEBGL: 0x8CE2;\n readonly COLOR_ATTACHMENT3_WEBGL: 0x8CE3;\n readonly COLOR_ATTACHMENT4_WEBGL: 0x8CE4;\n readonly COLOR_ATTACHMENT5_WEBGL: 0x8CE5;\n readonly COLOR_ATTACHMENT6_WEBGL: 0x8CE6;\n readonly COLOR_ATTACHMENT7_WEBGL: 0x8CE7;\n readonly COLOR_ATTACHMENT8_WEBGL: 0x8CE8;\n readonly COLOR_ATTACHMENT9_WEBGL: 0x8CE9;\n readonly COLOR_ATTACHMENT10_WEBGL: 0x8CEA;\n readonly COLOR_ATTACHMENT11_WEBGL: 0x8CEB;\n readonly COLOR_ATTACHMENT12_WEBGL: 0x8CEC;\n readonly COLOR_ATTACHMENT13_WEBGL: 0x8CED;\n readonly COLOR_ATTACHMENT14_WEBGL: 0x8CEE;\n readonly COLOR_ATTACHMENT15_WEBGL: 0x8CEF;\n readonly DRAW_BUFFER0_WEBGL: 0x8825;\n readonly DRAW_BUFFER1_WEBGL: 0x8826;\n readonly DRAW_BUFFER2_WEBGL: 0x8827;\n readonly DRAW_BUFFER3_WEBGL: 0x8828;\n readonly DRAW_BUFFER4_WEBGL: 0x8829;\n readonly DRAW_BUFFER5_WEBGL: 0x882A;\n readonly DRAW_BUFFER6_WEBGL: 0x882B;\n readonly DRAW_BUFFER7_WEBGL: 0x882C;\n readonly DRAW_BUFFER8_WEBGL: 0x882D;\n readonly DRAW_BUFFER9_WEBGL: 0x882E;\n readonly DRAW_BUFFER10_WEBGL: 0x882F;\n readonly DRAW_BUFFER11_WEBGL: 0x8830;\n readonly DRAW_BUFFER12_WEBGL: 0x8831;\n readonly DRAW_BUFFER13_WEBGL: 0x8832;\n readonly DRAW_BUFFER14_WEBGL: 0x8833;\n readonly DRAW_BUFFER15_WEBGL: 0x8834;\n readonly MAX_COLOR_ATTACHMENTS_WEBGL: 0x8CDF;\n readonly MAX_DRAW_BUFFERS_WEBGL: 0x8824;\n}\n\ninterface WEBGL_lose_context {\n loseContext(): void;\n restoreContext(): void;\n}\n\ninterface WEBGL_multi_draw {\n multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: GLuint, countsList: Int32Array | GLsizei[], countsOffset: GLuint, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: GLuint, drawcount: GLsizei): void;\n multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: GLuint, countsList: Int32Array | GLsizei[], countsOffset: GLuint, drawcount: GLsizei): void;\n multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: GLuint, drawcount: GLsizei): void;\n multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, drawcount: GLsizei): void;\n}\n\ninterface WebGL2RenderingContext extends WebGL2RenderingContextBase, WebGL2RenderingContextOverloads, WebGLRenderingContextBase {\n}\n\ndeclare var WebGL2RenderingContext: {\n prototype: WebGL2RenderingContext;\n new(): WebGL2RenderingContext;\n readonly READ_BUFFER: 0x0C02;\n readonly UNPACK_ROW_LENGTH: 0x0CF2;\n readonly UNPACK_SKIP_ROWS: 0x0CF3;\n readonly UNPACK_SKIP_PIXELS: 0x0CF4;\n readonly PACK_ROW_LENGTH: 0x0D02;\n readonly PACK_SKIP_ROWS: 0x0D03;\n readonly PACK_SKIP_PIXELS: 0x0D04;\n readonly COLOR: 0x1800;\n readonly DEPTH: 0x1801;\n readonly STENCIL: 0x1802;\n readonly RED: 0x1903;\n readonly RGB8: 0x8051;\n readonly RGBA8: 0x8058;\n readonly RGB10_A2: 0x8059;\n readonly TEXTURE_BINDING_3D: 0x806A;\n readonly UNPACK_SKIP_IMAGES: 0x806D;\n readonly UNPACK_IMAGE_HEIGHT: 0x806E;\n readonly TEXTURE_3D: 0x806F;\n readonly TEXTURE_WRAP_R: 0x8072;\n readonly MAX_3D_TEXTURE_SIZE: 0x8073;\n readonly UNSIGNED_INT_2_10_10_10_REV: 0x8368;\n readonly MAX_ELEMENTS_VERTICES: 0x80E8;\n readonly MAX_ELEMENTS_INDICES: 0x80E9;\n readonly TEXTURE_MIN_LOD: 0x813A;\n readonly TEXTURE_MAX_LOD: 0x813B;\n readonly TEXTURE_BASE_LEVEL: 0x813C;\n readonly TEXTURE_MAX_LEVEL: 0x813D;\n readonly MIN: 0x8007;\n readonly MAX: 0x8008;\n readonly DEPTH_COMPONENT24: 0x81A6;\n readonly MAX_TEXTURE_LOD_BIAS: 0x84FD;\n readonly TEXTURE_COMPARE_MODE: 0x884C;\n readonly TEXTURE_COMPARE_FUNC: 0x884D;\n readonly CURRENT_QUERY: 0x8865;\n readonly QUERY_RESULT: 0x8866;\n readonly QUERY_RESULT_AVAILABLE: 0x8867;\n readonly STREAM_READ: 0x88E1;\n readonly STREAM_COPY: 0x88E2;\n readonly STATIC_READ: 0x88E5;\n readonly STATIC_COPY: 0x88E6;\n readonly DYNAMIC_READ: 0x88E9;\n readonly DYNAMIC_COPY: 0x88EA;\n readonly MAX_DRAW_BUFFERS: 0x8824;\n readonly DRAW_BUFFER0: 0x8825;\n readonly DRAW_BUFFER1: 0x8826;\n readonly DRAW_BUFFER2: 0x8827;\n readonly DRAW_BUFFER3: 0x8828;\n readonly DRAW_BUFFER4: 0x8829;\n readonly DRAW_BUFFER5: 0x882A;\n readonly DRAW_BUFFER6: 0x882B;\n readonly DRAW_BUFFER7: 0x882C;\n readonly DRAW_BUFFER8: 0x882D;\n readonly DRAW_BUFFER9: 0x882E;\n readonly DRAW_BUFFER10: 0x882F;\n readonly DRAW_BUFFER11: 0x8830;\n readonly DRAW_BUFFER12: 0x8831;\n readonly DRAW_BUFFER13: 0x8832;\n readonly DRAW_BUFFER14: 0x8833;\n readonly DRAW_BUFFER15: 0x8834;\n readonly MAX_FRAGMENT_UNIFORM_COMPONENTS: 0x8B49;\n readonly MAX_VERTEX_UNIFORM_COMPONENTS: 0x8B4A;\n readonly SAMPLER_3D: 0x8B5F;\n readonly SAMPLER_2D_SHADOW: 0x8B62;\n readonly FRAGMENT_SHADER_DERIVATIVE_HINT: 0x8B8B;\n readonly PIXEL_PACK_BUFFER: 0x88EB;\n readonly PIXEL_UNPACK_BUFFER: 0x88EC;\n readonly PIXEL_PACK_BUFFER_BINDING: 0x88ED;\n readonly PIXEL_UNPACK_BUFFER_BINDING: 0x88EF;\n readonly FLOAT_MAT2x3: 0x8B65;\n readonly FLOAT_MAT2x4: 0x8B66;\n readonly FLOAT_MAT3x2: 0x8B67;\n readonly FLOAT_MAT3x4: 0x8B68;\n readonly FLOAT_MAT4x2: 0x8B69;\n readonly FLOAT_MAT4x3: 0x8B6A;\n readonly SRGB: 0x8C40;\n readonly SRGB8: 0x8C41;\n readonly SRGB8_ALPHA8: 0x8C43;\n readonly COMPARE_REF_TO_TEXTURE: 0x884E;\n readonly RGBA32F: 0x8814;\n readonly RGB32F: 0x8815;\n readonly RGBA16F: 0x881A;\n readonly RGB16F: 0x881B;\n readonly VERTEX_ATTRIB_ARRAY_INTEGER: 0x88FD;\n readonly MAX_ARRAY_TEXTURE_LAYERS: 0x88FF;\n readonly MIN_PROGRAM_TEXEL_OFFSET: 0x8904;\n readonly MAX_PROGRAM_TEXEL_OFFSET: 0x8905;\n readonly MAX_VARYING_COMPONENTS: 0x8B4B;\n readonly TEXTURE_2D_ARRAY: 0x8C1A;\n readonly TEXTURE_BINDING_2D_ARRAY: 0x8C1D;\n readonly R11F_G11F_B10F: 0x8C3A;\n readonly UNSIGNED_INT_10F_11F_11F_REV: 0x8C3B;\n readonly RGB9_E5: 0x8C3D;\n readonly UNSIGNED_INT_5_9_9_9_REV: 0x8C3E;\n readonly TRANSFORM_FEEDBACK_BUFFER_MODE: 0x8C7F;\n readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: 0x8C80;\n readonly TRANSFORM_FEEDBACK_VARYINGS: 0x8C83;\n readonly TRANSFORM_FEEDBACK_BUFFER_START: 0x8C84;\n readonly TRANSFORM_FEEDBACK_BUFFER_SIZE: 0x8C85;\n readonly TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: 0x8C88;\n readonly RASTERIZER_DISCARD: 0x8C89;\n readonly MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: 0x8C8A;\n readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: 0x8C8B;\n readonly INTERLEAVED_ATTRIBS: 0x8C8C;\n readonly SEPARATE_ATTRIBS: 0x8C8D;\n readonly TRANSFORM_FEEDBACK_BUFFER: 0x8C8E;\n readonly TRANSFORM_FEEDBACK_BUFFER_BINDING: 0x8C8F;\n readonly RGBA32UI: 0x8D70;\n readonly RGB32UI: 0x8D71;\n readonly RGBA16UI: 0x8D76;\n readonly RGB16UI: 0x8D77;\n readonly RGBA8UI: 0x8D7C;\n readonly RGB8UI: 0x8D7D;\n readonly RGBA32I: 0x8D82;\n readonly RGB32I: 0x8D83;\n readonly RGBA16I: 0x8D88;\n readonly RGB16I: 0x8D89;\n readonly RGBA8I: 0x8D8E;\n readonly RGB8I: 0x8D8F;\n readonly RED_INTEGER: 0x8D94;\n readonly RGB_INTEGER: 0x8D98;\n readonly RGBA_INTEGER: 0x8D99;\n readonly SAMPLER_2D_ARRAY: 0x8DC1;\n readonly SAMPLER_2D_ARRAY_SHADOW: 0x8DC4;\n readonly SAMPLER_CUBE_SHADOW: 0x8DC5;\n readonly UNSIGNED_INT_VEC2: 0x8DC6;\n readonly UNSIGNED_INT_VEC3: 0x8DC7;\n readonly UNSIGNED_INT_VEC4: 0x8DC8;\n readonly INT_SAMPLER_2D: 0x8DCA;\n readonly INT_SAMPLER_3D: 0x8DCB;\n readonly INT_SAMPLER_CUBE: 0x8DCC;\n readonly INT_SAMPLER_2D_ARRAY: 0x8DCF;\n readonly UNSIGNED_INT_SAMPLER_2D: 0x8DD2;\n readonly UNSIGNED_INT_SAMPLER_3D: 0x8DD3;\n readonly UNSIGNED_INT_SAMPLER_CUBE: 0x8DD4;\n readonly UNSIGNED_INT_SAMPLER_2D_ARRAY: 0x8DD7;\n readonly DEPTH_COMPONENT32F: 0x8CAC;\n readonly DEPTH32F_STENCIL8: 0x8CAD;\n readonly FLOAT_32_UNSIGNED_INT_24_8_REV: 0x8DAD;\n readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: 0x8210;\n readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: 0x8211;\n readonly FRAMEBUFFER_ATTACHMENT_RED_SIZE: 0x8212;\n readonly FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: 0x8213;\n readonly FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: 0x8214;\n readonly FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: 0x8215;\n readonly FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: 0x8216;\n readonly FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: 0x8217;\n readonly FRAMEBUFFER_DEFAULT: 0x8218;\n readonly UNSIGNED_INT_24_8: 0x84FA;\n readonly DEPTH24_STENCIL8: 0x88F0;\n readonly UNSIGNED_NORMALIZED: 0x8C17;\n readonly DRAW_FRAMEBUFFER_BINDING: 0x8CA6;\n readonly READ_FRAMEBUFFER: 0x8CA8;\n readonly DRAW_FRAMEBUFFER: 0x8CA9;\n readonly READ_FRAMEBUFFER_BINDING: 0x8CAA;\n readonly RENDERBUFFER_SAMPLES: 0x8CAB;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: 0x8CD4;\n readonly MAX_COLOR_ATTACHMENTS: 0x8CDF;\n readonly COLOR_ATTACHMENT1: 0x8CE1;\n readonly COLOR_ATTACHMENT2: 0x8CE2;\n readonly COLOR_ATTACHMENT3: 0x8CE3;\n readonly COLOR_ATTACHMENT4: 0x8CE4;\n readonly COLOR_ATTACHMENT5: 0x8CE5;\n readonly COLOR_ATTACHMENT6: 0x8CE6;\n readonly COLOR_ATTACHMENT7: 0x8CE7;\n readonly COLOR_ATTACHMENT8: 0x8CE8;\n readonly COLOR_ATTACHMENT9: 0x8CE9;\n readonly COLOR_ATTACHMENT10: 0x8CEA;\n readonly COLOR_ATTACHMENT11: 0x8CEB;\n readonly COLOR_ATTACHMENT12: 0x8CEC;\n readonly COLOR_ATTACHMENT13: 0x8CED;\n readonly COLOR_ATTACHMENT14: 0x8CEE;\n readonly COLOR_ATTACHMENT15: 0x8CEF;\n readonly FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: 0x8D56;\n readonly MAX_SAMPLES: 0x8D57;\n readonly HALF_FLOAT: 0x140B;\n readonly RG: 0x8227;\n readonly RG_INTEGER: 0x8228;\n readonly R8: 0x8229;\n readonly RG8: 0x822B;\n readonly R16F: 0x822D;\n readonly R32F: 0x822E;\n readonly RG16F: 0x822F;\n readonly RG32F: 0x8230;\n readonly R8I: 0x8231;\n readonly R8UI: 0x8232;\n readonly R16I: 0x8233;\n readonly R16UI: 0x8234;\n readonly R32I: 0x8235;\n readonly R32UI: 0x8236;\n readonly RG8I: 0x8237;\n readonly RG8UI: 0x8238;\n readonly RG16I: 0x8239;\n readonly RG16UI: 0x823A;\n readonly RG32I: 0x823B;\n readonly RG32UI: 0x823C;\n readonly VERTEX_ARRAY_BINDING: 0x85B5;\n readonly R8_SNORM: 0x8F94;\n readonly RG8_SNORM: 0x8F95;\n readonly RGB8_SNORM: 0x8F96;\n readonly RGBA8_SNORM: 0x8F97;\n readonly SIGNED_NORMALIZED: 0x8F9C;\n readonly COPY_READ_BUFFER: 0x8F36;\n readonly COPY_WRITE_BUFFER: 0x8F37;\n readonly COPY_READ_BUFFER_BINDING: 0x8F36;\n readonly COPY_WRITE_BUFFER_BINDING: 0x8F37;\n readonly UNIFORM_BUFFER: 0x8A11;\n readonly UNIFORM_BUFFER_BINDING: 0x8A28;\n readonly UNIFORM_BUFFER_START: 0x8A29;\n readonly UNIFORM_BUFFER_SIZE: 0x8A2A;\n readonly MAX_VERTEX_UNIFORM_BLOCKS: 0x8A2B;\n readonly MAX_FRAGMENT_UNIFORM_BLOCKS: 0x8A2D;\n readonly MAX_COMBINED_UNIFORM_BLOCKS: 0x8A2E;\n readonly MAX_UNIFORM_BUFFER_BINDINGS: 0x8A2F;\n readonly MAX_UNIFORM_BLOCK_SIZE: 0x8A30;\n readonly MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: 0x8A31;\n readonly MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: 0x8A33;\n readonly UNIFORM_BUFFER_OFFSET_ALIGNMENT: 0x8A34;\n readonly ACTIVE_UNIFORM_BLOCKS: 0x8A36;\n readonly UNIFORM_TYPE: 0x8A37;\n readonly UNIFORM_SIZE: 0x8A38;\n readonly UNIFORM_BLOCK_INDEX: 0x8A3A;\n readonly UNIFORM_OFFSET: 0x8A3B;\n readonly UNIFORM_ARRAY_STRIDE: 0x8A3C;\n readonly UNIFORM_MATRIX_STRIDE: 0x8A3D;\n readonly UNIFORM_IS_ROW_MAJOR: 0x8A3E;\n readonly UNIFORM_BLOCK_BINDING: 0x8A3F;\n readonly UNIFORM_BLOCK_DATA_SIZE: 0x8A40;\n readonly UNIFORM_BLOCK_ACTIVE_UNIFORMS: 0x8A42;\n readonly UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: 0x8A43;\n readonly UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: 0x8A44;\n readonly UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: 0x8A46;\n readonly INVALID_INDEX: 0xFFFFFFFF;\n readonly MAX_VERTEX_OUTPUT_COMPONENTS: 0x9122;\n readonly MAX_FRAGMENT_INPUT_COMPONENTS: 0x9125;\n readonly MAX_SERVER_WAIT_TIMEOUT: 0x9111;\n readonly OBJECT_TYPE: 0x9112;\n readonly SYNC_CONDITION: 0x9113;\n readonly SYNC_STATUS: 0x9114;\n readonly SYNC_FLAGS: 0x9115;\n readonly SYNC_FENCE: 0x9116;\n readonly SYNC_GPU_COMMANDS_COMPLETE: 0x9117;\n readonly UNSIGNALED: 0x9118;\n readonly SIGNALED: 0x9119;\n readonly ALREADY_SIGNALED: 0x911A;\n readonly TIMEOUT_EXPIRED: 0x911B;\n readonly CONDITION_SATISFIED: 0x911C;\n readonly WAIT_FAILED: 0x911D;\n readonly SYNC_FLUSH_COMMANDS_BIT: 0x00000001;\n readonly VERTEX_ATTRIB_ARRAY_DIVISOR: 0x88FE;\n readonly ANY_SAMPLES_PASSED: 0x8C2F;\n readonly ANY_SAMPLES_PASSED_CONSERVATIVE: 0x8D6A;\n readonly SAMPLER_BINDING: 0x8919;\n readonly RGB10_A2UI: 0x906F;\n readonly INT_2_10_10_10_REV: 0x8D9F;\n readonly TRANSFORM_FEEDBACK: 0x8E22;\n readonly TRANSFORM_FEEDBACK_PAUSED: 0x8E23;\n readonly TRANSFORM_FEEDBACK_ACTIVE: 0x8E24;\n readonly TRANSFORM_FEEDBACK_BINDING: 0x8E25;\n readonly TEXTURE_IMMUTABLE_FORMAT: 0x912F;\n readonly MAX_ELEMENT_INDEX: 0x8D6B;\n readonly TEXTURE_IMMUTABLE_LEVELS: 0x82DF;\n readonly TIMEOUT_IGNORED: -1;\n readonly MAX_CLIENT_WAIT_TIMEOUT_WEBGL: 0x9247;\n readonly DEPTH_BUFFER_BIT: 0x00000100;\n readonly STENCIL_BUFFER_BIT: 0x00000400;\n readonly COLOR_BUFFER_BIT: 0x00004000;\n readonly POINTS: 0x0000;\n readonly LINES: 0x0001;\n readonly LINE_LOOP: 0x0002;\n readonly LINE_STRIP: 0x0003;\n readonly TRIANGLES: 0x0004;\n readonly TRIANGLE_STRIP: 0x0005;\n readonly TRIANGLE_FAN: 0x0006;\n readonly ZERO: 0;\n readonly ONE: 1;\n readonly SRC_COLOR: 0x0300;\n readonly ONE_MINUS_SRC_COLOR: 0x0301;\n readonly SRC_ALPHA: 0x0302;\n readonly ONE_MINUS_SRC_ALPHA: 0x0303;\n readonly DST_ALPHA: 0x0304;\n readonly ONE_MINUS_DST_ALPHA: 0x0305;\n readonly DST_COLOR: 0x0306;\n readonly ONE_MINUS_DST_COLOR: 0x0307;\n readonly SRC_ALPHA_SATURATE: 0x0308;\n readonly FUNC_ADD: 0x8006;\n readonly BLEND_EQUATION: 0x8009;\n readonly BLEND_EQUATION_RGB: 0x8009;\n readonly BLEND_EQUATION_ALPHA: 0x883D;\n readonly FUNC_SUBTRACT: 0x800A;\n readonly FUNC_REVERSE_SUBTRACT: 0x800B;\n readonly BLEND_DST_RGB: 0x80C8;\n readonly BLEND_SRC_RGB: 0x80C9;\n readonly BLEND_DST_ALPHA: 0x80CA;\n readonly BLEND_SRC_ALPHA: 0x80CB;\n readonly CONSTANT_COLOR: 0x8001;\n readonly ONE_MINUS_CONSTANT_COLOR: 0x8002;\n readonly CONSTANT_ALPHA: 0x8003;\n readonly ONE_MINUS_CONSTANT_ALPHA: 0x8004;\n readonly BLEND_COLOR: 0x8005;\n readonly ARRAY_BUFFER: 0x8892;\n readonly ELEMENT_ARRAY_BUFFER: 0x8893;\n readonly ARRAY_BUFFER_BINDING: 0x8894;\n readonly ELEMENT_ARRAY_BUFFER_BINDING: 0x8895;\n readonly STREAM_DRAW: 0x88E0;\n readonly STATIC_DRAW: 0x88E4;\n readonly DYNAMIC_DRAW: 0x88E8;\n readonly BUFFER_SIZE: 0x8764;\n readonly BUFFER_USAGE: 0x8765;\n readonly CURRENT_VERTEX_ATTRIB: 0x8626;\n readonly FRONT: 0x0404;\n readonly BACK: 0x0405;\n readonly FRONT_AND_BACK: 0x0408;\n readonly CULL_FACE: 0x0B44;\n readonly BLEND: 0x0BE2;\n readonly DITHER: 0x0BD0;\n readonly STENCIL_TEST: 0x0B90;\n readonly DEPTH_TEST: 0x0B71;\n readonly SCISSOR_TEST: 0x0C11;\n readonly POLYGON_OFFSET_FILL: 0x8037;\n readonly SAMPLE_ALPHA_TO_COVERAGE: 0x809E;\n readonly SAMPLE_COVERAGE: 0x80A0;\n readonly NO_ERROR: 0;\n readonly INVALID_ENUM: 0x0500;\n readonly INVALID_VALUE: 0x0501;\n readonly INVALID_OPERATION: 0x0502;\n readonly OUT_OF_MEMORY: 0x0505;\n readonly CW: 0x0900;\n readonly CCW: 0x0901;\n readonly LINE_WIDTH: 0x0B21;\n readonly ALIASED_POINT_SIZE_RANGE: 0x846D;\n readonly ALIASED_LINE_WIDTH_RANGE: 0x846E;\n readonly CULL_FACE_MODE: 0x0B45;\n readonly FRONT_FACE: 0x0B46;\n readonly DEPTH_RANGE: 0x0B70;\n readonly DEPTH_WRITEMASK: 0x0B72;\n readonly DEPTH_CLEAR_VALUE: 0x0B73;\n readonly DEPTH_FUNC: 0x0B74;\n readonly STENCIL_CLEAR_VALUE: 0x0B91;\n readonly STENCIL_FUNC: 0x0B92;\n readonly STENCIL_FAIL: 0x0B94;\n readonly STENCIL_PASS_DEPTH_FAIL: 0x0B95;\n readonly STENCIL_PASS_DEPTH_PASS: 0x0B96;\n readonly STENCIL_REF: 0x0B97;\n readonly STENCIL_VALUE_MASK: 0x0B93;\n readonly STENCIL_WRITEMASK: 0x0B98;\n readonly STENCIL_BACK_FUNC: 0x8800;\n readonly STENCIL_BACK_FAIL: 0x8801;\n readonly STENCIL_BACK_PASS_DEPTH_FAIL: 0x8802;\n readonly STENCIL_BACK_PASS_DEPTH_PASS: 0x8803;\n readonly STENCIL_BACK_REF: 0x8CA3;\n readonly STENCIL_BACK_VALUE_MASK: 0x8CA4;\n readonly STENCIL_BACK_WRITEMASK: 0x8CA5;\n readonly VIEWPORT: 0x0BA2;\n readonly SCISSOR_BOX: 0x0C10;\n readonly COLOR_CLEAR_VALUE: 0x0C22;\n readonly COLOR_WRITEMASK: 0x0C23;\n readonly UNPACK_ALIGNMENT: 0x0CF5;\n readonly PACK_ALIGNMENT: 0x0D05;\n readonly MAX_TEXTURE_SIZE: 0x0D33;\n readonly MAX_VIEWPORT_DIMS: 0x0D3A;\n readonly SUBPIXEL_BITS: 0x0D50;\n readonly RED_BITS: 0x0D52;\n readonly GREEN_BITS: 0x0D53;\n readonly BLUE_BITS: 0x0D54;\n readonly ALPHA_BITS: 0x0D55;\n readonly DEPTH_BITS: 0x0D56;\n readonly STENCIL_BITS: 0x0D57;\n readonly POLYGON_OFFSET_UNITS: 0x2A00;\n readonly POLYGON_OFFSET_FACTOR: 0x8038;\n readonly TEXTURE_BINDING_2D: 0x8069;\n readonly SAMPLE_BUFFERS: 0x80A8;\n readonly SAMPLES: 0x80A9;\n readonly SAMPLE_COVERAGE_VALUE: 0x80AA;\n readonly SAMPLE_COVERAGE_INVERT: 0x80AB;\n readonly COMPRESSED_TEXTURE_FORMATS: 0x86A3;\n readonly DONT_CARE: 0x1100;\n readonly FASTEST: 0x1101;\n readonly NICEST: 0x1102;\n readonly GENERATE_MIPMAP_HINT: 0x8192;\n readonly BYTE: 0x1400;\n readonly UNSIGNED_BYTE: 0x1401;\n readonly SHORT: 0x1402;\n readonly UNSIGNED_SHORT: 0x1403;\n readonly INT: 0x1404;\n readonly UNSIGNED_INT: 0x1405;\n readonly FLOAT: 0x1406;\n readonly DEPTH_COMPONENT: 0x1902;\n readonly ALPHA: 0x1906;\n readonly RGB: 0x1907;\n readonly RGBA: 0x1908;\n readonly LUMINANCE: 0x1909;\n readonly LUMINANCE_ALPHA: 0x190A;\n readonly UNSIGNED_SHORT_4_4_4_4: 0x8033;\n readonly UNSIGNED_SHORT_5_5_5_1: 0x8034;\n readonly UNSIGNED_SHORT_5_6_5: 0x8363;\n readonly FRAGMENT_SHADER: 0x8B30;\n readonly VERTEX_SHADER: 0x8B31;\n readonly MAX_VERTEX_ATTRIBS: 0x8869;\n readonly MAX_VERTEX_UNIFORM_VECTORS: 0x8DFB;\n readonly MAX_VARYING_VECTORS: 0x8DFC;\n readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: 0x8B4D;\n readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: 0x8B4C;\n readonly MAX_TEXTURE_IMAGE_UNITS: 0x8872;\n readonly MAX_FRAGMENT_UNIFORM_VECTORS: 0x8DFD;\n readonly SHADER_TYPE: 0x8B4F;\n readonly DELETE_STATUS: 0x8B80;\n readonly LINK_STATUS: 0x8B82;\n readonly VALIDATE_STATUS: 0x8B83;\n readonly ATTACHED_SHADERS: 0x8B85;\n readonly ACTIVE_UNIFORMS: 0x8B86;\n readonly ACTIVE_ATTRIBUTES: 0x8B89;\n readonly SHADING_LANGUAGE_VERSION: 0x8B8C;\n readonly CURRENT_PROGRAM: 0x8B8D;\n readonly NEVER: 0x0200;\n readonly LESS: 0x0201;\n readonly EQUAL: 0x0202;\n readonly LEQUAL: 0x0203;\n readonly GREATER: 0x0204;\n readonly NOTEQUAL: 0x0205;\n readonly GEQUAL: 0x0206;\n readonly ALWAYS: 0x0207;\n readonly KEEP: 0x1E00;\n readonly REPLACE: 0x1E01;\n readonly INCR: 0x1E02;\n readonly DECR: 0x1E03;\n readonly INVERT: 0x150A;\n readonly INCR_WRAP: 0x8507;\n readonly DECR_WRAP: 0x8508;\n readonly VENDOR: 0x1F00;\n readonly RENDERER: 0x1F01;\n readonly VERSION: 0x1F02;\n readonly NEAREST: 0x2600;\n readonly LINEAR: 0x2601;\n readonly NEAREST_MIPMAP_NEAREST: 0x2700;\n readonly LINEAR_MIPMAP_NEAREST: 0x2701;\n readonly NEAREST_MIPMAP_LINEAR: 0x2702;\n readonly LINEAR_MIPMAP_LINEAR: 0x2703;\n readonly TEXTURE_MAG_FILTER: 0x2800;\n readonly TEXTURE_MIN_FILTER: 0x2801;\n readonly TEXTURE_WRAP_S: 0x2802;\n readonly TEXTURE_WRAP_T: 0x2803;\n readonly TEXTURE_2D: 0x0DE1;\n readonly TEXTURE: 0x1702;\n readonly TEXTURE_CUBE_MAP: 0x8513;\n readonly TEXTURE_BINDING_CUBE_MAP: 0x8514;\n readonly TEXTURE_CUBE_MAP_POSITIVE_X: 0x8515;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_X: 0x8516;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Y: 0x8517;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: 0x8518;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Z: 0x8519;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: 0x851A;\n readonly MAX_CUBE_MAP_TEXTURE_SIZE: 0x851C;\n readonly TEXTURE0: 0x84C0;\n readonly TEXTURE1: 0x84C1;\n readonly TEXTURE2: 0x84C2;\n readonly TEXTURE3: 0x84C3;\n readonly TEXTURE4: 0x84C4;\n readonly TEXTURE5: 0x84C5;\n readonly TEXTURE6: 0x84C6;\n readonly TEXTURE7: 0x84C7;\n readonly TEXTURE8: 0x84C8;\n readonly TEXTURE9: 0x84C9;\n readonly TEXTURE10: 0x84CA;\n readonly TEXTURE11: 0x84CB;\n readonly TEXTURE12: 0x84CC;\n readonly TEXTURE13: 0x84CD;\n readonly TEXTURE14: 0x84CE;\n readonly TEXTURE15: 0x84CF;\n readonly TEXTURE16: 0x84D0;\n readonly TEXTURE17: 0x84D1;\n readonly TEXTURE18: 0x84D2;\n readonly TEXTURE19: 0x84D3;\n readonly TEXTURE20: 0x84D4;\n readonly TEXTURE21: 0x84D5;\n readonly TEXTURE22: 0x84D6;\n readonly TEXTURE23: 0x84D7;\n readonly TEXTURE24: 0x84D8;\n readonly TEXTURE25: 0x84D9;\n readonly TEXTURE26: 0x84DA;\n readonly TEXTURE27: 0x84DB;\n readonly TEXTURE28: 0x84DC;\n readonly TEXTURE29: 0x84DD;\n readonly TEXTURE30: 0x84DE;\n readonly TEXTURE31: 0x84DF;\n readonly ACTIVE_TEXTURE: 0x84E0;\n readonly REPEAT: 0x2901;\n readonly CLAMP_TO_EDGE: 0x812F;\n readonly MIRRORED_REPEAT: 0x8370;\n readonly FLOAT_VEC2: 0x8B50;\n readonly FLOAT_VEC3: 0x8B51;\n readonly FLOAT_VEC4: 0x8B52;\n readonly INT_VEC2: 0x8B53;\n readonly INT_VEC3: 0x8B54;\n readonly INT_VEC4: 0x8B55;\n readonly BOOL: 0x8B56;\n readonly BOOL_VEC2: 0x8B57;\n readonly BOOL_VEC3: 0x8B58;\n readonly BOOL_VEC4: 0x8B59;\n readonly FLOAT_MAT2: 0x8B5A;\n readonly FLOAT_MAT3: 0x8B5B;\n readonly FLOAT_MAT4: 0x8B5C;\n readonly SAMPLER_2D: 0x8B5E;\n readonly SAMPLER_CUBE: 0x8B60;\n readonly VERTEX_ATTRIB_ARRAY_ENABLED: 0x8622;\n readonly VERTEX_ATTRIB_ARRAY_SIZE: 0x8623;\n readonly VERTEX_ATTRIB_ARRAY_STRIDE: 0x8624;\n readonly VERTEX_ATTRIB_ARRAY_TYPE: 0x8625;\n readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: 0x886A;\n readonly VERTEX_ATTRIB_ARRAY_POINTER: 0x8645;\n readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: 0x889F;\n readonly IMPLEMENTATION_COLOR_READ_TYPE: 0x8B9A;\n readonly IMPLEMENTATION_COLOR_READ_FORMAT: 0x8B9B;\n readonly COMPILE_STATUS: 0x8B81;\n readonly LOW_FLOAT: 0x8DF0;\n readonly MEDIUM_FLOAT: 0x8DF1;\n readonly HIGH_FLOAT: 0x8DF2;\n readonly LOW_INT: 0x8DF3;\n readonly MEDIUM_INT: 0x8DF4;\n readonly HIGH_INT: 0x8DF5;\n readonly FRAMEBUFFER: 0x8D40;\n readonly RENDERBUFFER: 0x8D41;\n readonly RGBA4: 0x8056;\n readonly RGB5_A1: 0x8057;\n readonly RGB565: 0x8D62;\n readonly DEPTH_COMPONENT16: 0x81A5;\n readonly STENCIL_INDEX8: 0x8D48;\n readonly DEPTH_STENCIL: 0x84F9;\n readonly RENDERBUFFER_WIDTH: 0x8D42;\n readonly RENDERBUFFER_HEIGHT: 0x8D43;\n readonly RENDERBUFFER_INTERNAL_FORMAT: 0x8D44;\n readonly RENDERBUFFER_RED_SIZE: 0x8D50;\n readonly RENDERBUFFER_GREEN_SIZE: 0x8D51;\n readonly RENDERBUFFER_BLUE_SIZE: 0x8D52;\n readonly RENDERBUFFER_ALPHA_SIZE: 0x8D53;\n readonly RENDERBUFFER_DEPTH_SIZE: 0x8D54;\n readonly RENDERBUFFER_STENCIL_SIZE: 0x8D55;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: 0x8CD0;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: 0x8CD1;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: 0x8CD2;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: 0x8CD3;\n readonly COLOR_ATTACHMENT0: 0x8CE0;\n readonly DEPTH_ATTACHMENT: 0x8D00;\n readonly STENCIL_ATTACHMENT: 0x8D20;\n readonly DEPTH_STENCIL_ATTACHMENT: 0x821A;\n readonly NONE: 0;\n readonly FRAMEBUFFER_COMPLETE: 0x8CD5;\n readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: 0x8CD6;\n readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: 0x8CD7;\n readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: 0x8CD9;\n readonly FRAMEBUFFER_UNSUPPORTED: 0x8CDD;\n readonly FRAMEBUFFER_BINDING: 0x8CA6;\n readonly RENDERBUFFER_BINDING: 0x8CA7;\n readonly MAX_RENDERBUFFER_SIZE: 0x84E8;\n readonly INVALID_FRAMEBUFFER_OPERATION: 0x0506;\n readonly UNPACK_FLIP_Y_WEBGL: 0x9240;\n readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: 0x9241;\n readonly CONTEXT_LOST_WEBGL: 0x9242;\n readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: 0x9243;\n readonly BROWSER_DEFAULT_WEBGL: 0x9244;\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 READ_BUFFER: 0x0C02;\n readonly UNPACK_ROW_LENGTH: 0x0CF2;\n readonly UNPACK_SKIP_ROWS: 0x0CF3;\n readonly UNPACK_SKIP_PIXELS: 0x0CF4;\n readonly PACK_ROW_LENGTH: 0x0D02;\n readonly PACK_SKIP_ROWS: 0x0D03;\n readonly PACK_SKIP_PIXELS: 0x0D04;\n readonly COLOR: 0x1800;\n readonly DEPTH: 0x1801;\n readonly STENCIL: 0x1802;\n readonly RED: 0x1903;\n readonly RGB8: 0x8051;\n readonly RGBA8: 0x8058;\n readonly RGB10_A2: 0x8059;\n readonly TEXTURE_BINDING_3D: 0x806A;\n readonly UNPACK_SKIP_IMAGES: 0x806D;\n readonly UNPACK_IMAGE_HEIGHT: 0x806E;\n readonly TEXTURE_3D: 0x806F;\n readonly TEXTURE_WRAP_R: 0x8072;\n readonly MAX_3D_TEXTURE_SIZE: 0x8073;\n readonly UNSIGNED_INT_2_10_10_10_REV: 0x8368;\n readonly MAX_ELEMENTS_VERTICES: 0x80E8;\n readonly MAX_ELEMENTS_INDICES: 0x80E9;\n readonly TEXTURE_MIN_LOD: 0x813A;\n readonly TEXTURE_MAX_LOD: 0x813B;\n readonly TEXTURE_BASE_LEVEL: 0x813C;\n readonly TEXTURE_MAX_LEVEL: 0x813D;\n readonly MIN: 0x8007;\n readonly MAX: 0x8008;\n readonly DEPTH_COMPONENT24: 0x81A6;\n readonly MAX_TEXTURE_LOD_BIAS: 0x84FD;\n readonly TEXTURE_COMPARE_MODE: 0x884C;\n readonly TEXTURE_COMPARE_FUNC: 0x884D;\n readonly CURRENT_QUERY: 0x8865;\n readonly QUERY_RESULT: 0x8866;\n readonly QUERY_RESULT_AVAILABLE: 0x8867;\n readonly STREAM_READ: 0x88E1;\n readonly STREAM_COPY: 0x88E2;\n readonly STATIC_READ: 0x88E5;\n readonly STATIC_COPY: 0x88E6;\n readonly DYNAMIC_READ: 0x88E9;\n readonly DYNAMIC_COPY: 0x88EA;\n readonly MAX_DRAW_BUFFERS: 0x8824;\n readonly DRAW_BUFFER0: 0x8825;\n readonly DRAW_BUFFER1: 0x8826;\n readonly DRAW_BUFFER2: 0x8827;\n readonly DRAW_BUFFER3: 0x8828;\n readonly DRAW_BUFFER4: 0x8829;\n readonly DRAW_BUFFER5: 0x882A;\n readonly DRAW_BUFFER6: 0x882B;\n readonly DRAW_BUFFER7: 0x882C;\n readonly DRAW_BUFFER8: 0x882D;\n readonly DRAW_BUFFER9: 0x882E;\n readonly DRAW_BUFFER10: 0x882F;\n readonly DRAW_BUFFER11: 0x8830;\n readonly DRAW_BUFFER12: 0x8831;\n readonly DRAW_BUFFER13: 0x8832;\n readonly DRAW_BUFFER14: 0x8833;\n readonly DRAW_BUFFER15: 0x8834;\n readonly MAX_FRAGMENT_UNIFORM_COMPONENTS: 0x8B49;\n readonly MAX_VERTEX_UNIFORM_COMPONENTS: 0x8B4A;\n readonly SAMPLER_3D: 0x8B5F;\n readonly SAMPLER_2D_SHADOW: 0x8B62;\n readonly FRAGMENT_SHADER_DERIVATIVE_HINT: 0x8B8B;\n readonly PIXEL_PACK_BUFFER: 0x88EB;\n readonly PIXEL_UNPACK_BUFFER: 0x88EC;\n readonly PIXEL_PACK_BUFFER_BINDING: 0x88ED;\n readonly PIXEL_UNPACK_BUFFER_BINDING: 0x88EF;\n readonly FLOAT_MAT2x3: 0x8B65;\n readonly FLOAT_MAT2x4: 0x8B66;\n readonly FLOAT_MAT3x2: 0x8B67;\n readonly FLOAT_MAT3x4: 0x8B68;\n readonly FLOAT_MAT4x2: 0x8B69;\n readonly FLOAT_MAT4x3: 0x8B6A;\n readonly SRGB: 0x8C40;\n readonly SRGB8: 0x8C41;\n readonly SRGB8_ALPHA8: 0x8C43;\n readonly COMPARE_REF_TO_TEXTURE: 0x884E;\n readonly RGBA32F: 0x8814;\n readonly RGB32F: 0x8815;\n readonly RGBA16F: 0x881A;\n readonly RGB16F: 0x881B;\n readonly VERTEX_ATTRIB_ARRAY_INTEGER: 0x88FD;\n readonly MAX_ARRAY_TEXTURE_LAYERS: 0x88FF;\n readonly MIN_PROGRAM_TEXEL_OFFSET: 0x8904;\n readonly MAX_PROGRAM_TEXEL_OFFSET: 0x8905;\n readonly MAX_VARYING_COMPONENTS: 0x8B4B;\n readonly TEXTURE_2D_ARRAY: 0x8C1A;\n readonly TEXTURE_BINDING_2D_ARRAY: 0x8C1D;\n readonly R11F_G11F_B10F: 0x8C3A;\n readonly UNSIGNED_INT_10F_11F_11F_REV: 0x8C3B;\n readonly RGB9_E5: 0x8C3D;\n readonly UNSIGNED_INT_5_9_9_9_REV: 0x8C3E;\n readonly TRANSFORM_FEEDBACK_BUFFER_MODE: 0x8C7F;\n readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: 0x8C80;\n readonly TRANSFORM_FEEDBACK_VARYINGS: 0x8C83;\n readonly TRANSFORM_FEEDBACK_BUFFER_START: 0x8C84;\n readonly TRANSFORM_FEEDBACK_BUFFER_SIZE: 0x8C85;\n readonly TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: 0x8C88;\n readonly RASTERIZER_DISCARD: 0x8C89;\n readonly MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: 0x8C8A;\n readonly MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: 0x8C8B;\n readonly INTERLEAVED_ATTRIBS: 0x8C8C;\n readonly SEPARATE_ATTRIBS: 0x8C8D;\n readonly TRANSFORM_FEEDBACK_BUFFER: 0x8C8E;\n readonly TRANSFORM_FEEDBACK_BUFFER_BINDING: 0x8C8F;\n readonly RGBA32UI: 0x8D70;\n readonly RGB32UI: 0x8D71;\n readonly RGBA16UI: 0x8D76;\n readonly RGB16UI: 0x8D77;\n readonly RGBA8UI: 0x8D7C;\n readonly RGB8UI: 0x8D7D;\n readonly RGBA32I: 0x8D82;\n readonly RGB32I: 0x8D83;\n readonly RGBA16I: 0x8D88;\n readonly RGB16I: 0x8D89;\n readonly RGBA8I: 0x8D8E;\n readonly RGB8I: 0x8D8F;\n readonly RED_INTEGER: 0x8D94;\n readonly RGB_INTEGER: 0x8D98;\n readonly RGBA_INTEGER: 0x8D99;\n readonly SAMPLER_2D_ARRAY: 0x8DC1;\n readonly SAMPLER_2D_ARRAY_SHADOW: 0x8DC4;\n readonly SAMPLER_CUBE_SHADOW: 0x8DC5;\n readonly UNSIGNED_INT_VEC2: 0x8DC6;\n readonly UNSIGNED_INT_VEC3: 0x8DC7;\n readonly UNSIGNED_INT_VEC4: 0x8DC8;\n readonly INT_SAMPLER_2D: 0x8DCA;\n readonly INT_SAMPLER_3D: 0x8DCB;\n readonly INT_SAMPLER_CUBE: 0x8DCC;\n readonly INT_SAMPLER_2D_ARRAY: 0x8DCF;\n readonly UNSIGNED_INT_SAMPLER_2D: 0x8DD2;\n readonly UNSIGNED_INT_SAMPLER_3D: 0x8DD3;\n readonly UNSIGNED_INT_SAMPLER_CUBE: 0x8DD4;\n readonly UNSIGNED_INT_SAMPLER_2D_ARRAY: 0x8DD7;\n readonly DEPTH_COMPONENT32F: 0x8CAC;\n readonly DEPTH32F_STENCIL8: 0x8CAD;\n readonly FLOAT_32_UNSIGNED_INT_24_8_REV: 0x8DAD;\n readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: 0x8210;\n readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: 0x8211;\n readonly FRAMEBUFFER_ATTACHMENT_RED_SIZE: 0x8212;\n readonly FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: 0x8213;\n readonly FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: 0x8214;\n readonly FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: 0x8215;\n readonly FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: 0x8216;\n readonly FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: 0x8217;\n readonly FRAMEBUFFER_DEFAULT: 0x8218;\n readonly UNSIGNED_INT_24_8: 0x84FA;\n readonly DEPTH24_STENCIL8: 0x88F0;\n readonly UNSIGNED_NORMALIZED: 0x8C17;\n readonly DRAW_FRAMEBUFFER_BINDING: 0x8CA6;\n readonly READ_FRAMEBUFFER: 0x8CA8;\n readonly DRAW_FRAMEBUFFER: 0x8CA9;\n readonly READ_FRAMEBUFFER_BINDING: 0x8CAA;\n readonly RENDERBUFFER_SAMPLES: 0x8CAB;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: 0x8CD4;\n readonly MAX_COLOR_ATTACHMENTS: 0x8CDF;\n readonly COLOR_ATTACHMENT1: 0x8CE1;\n readonly COLOR_ATTACHMENT2: 0x8CE2;\n readonly COLOR_ATTACHMENT3: 0x8CE3;\n readonly COLOR_ATTACHMENT4: 0x8CE4;\n readonly COLOR_ATTACHMENT5: 0x8CE5;\n readonly COLOR_ATTACHMENT6: 0x8CE6;\n readonly COLOR_ATTACHMENT7: 0x8CE7;\n readonly COLOR_ATTACHMENT8: 0x8CE8;\n readonly COLOR_ATTACHMENT9: 0x8CE9;\n readonly COLOR_ATTACHMENT10: 0x8CEA;\n readonly COLOR_ATTACHMENT11: 0x8CEB;\n readonly COLOR_ATTACHMENT12: 0x8CEC;\n readonly COLOR_ATTACHMENT13: 0x8CED;\n readonly COLOR_ATTACHMENT14: 0x8CEE;\n readonly COLOR_ATTACHMENT15: 0x8CEF;\n readonly FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: 0x8D56;\n readonly MAX_SAMPLES: 0x8D57;\n readonly HALF_FLOAT: 0x140B;\n readonly RG: 0x8227;\n readonly RG_INTEGER: 0x8228;\n readonly R8: 0x8229;\n readonly RG8: 0x822B;\n readonly R16F: 0x822D;\n readonly R32F: 0x822E;\n readonly RG16F: 0x822F;\n readonly RG32F: 0x8230;\n readonly R8I: 0x8231;\n readonly R8UI: 0x8232;\n readonly R16I: 0x8233;\n readonly R16UI: 0x8234;\n readonly R32I: 0x8235;\n readonly R32UI: 0x8236;\n readonly RG8I: 0x8237;\n readonly RG8UI: 0x8238;\n readonly RG16I: 0x8239;\n readonly RG16UI: 0x823A;\n readonly RG32I: 0x823B;\n readonly RG32UI: 0x823C;\n readonly VERTEX_ARRAY_BINDING: 0x85B5;\n readonly R8_SNORM: 0x8F94;\n readonly RG8_SNORM: 0x8F95;\n readonly RGB8_SNORM: 0x8F96;\n readonly RGBA8_SNORM: 0x8F97;\n readonly SIGNED_NORMALIZED: 0x8F9C;\n readonly COPY_READ_BUFFER: 0x8F36;\n readonly COPY_WRITE_BUFFER: 0x8F37;\n readonly COPY_READ_BUFFER_BINDING: 0x8F36;\n readonly COPY_WRITE_BUFFER_BINDING: 0x8F37;\n readonly UNIFORM_BUFFER: 0x8A11;\n readonly UNIFORM_BUFFER_BINDING: 0x8A28;\n readonly UNIFORM_BUFFER_START: 0x8A29;\n readonly UNIFORM_BUFFER_SIZE: 0x8A2A;\n readonly MAX_VERTEX_UNIFORM_BLOCKS: 0x8A2B;\n readonly MAX_FRAGMENT_UNIFORM_BLOCKS: 0x8A2D;\n readonly MAX_COMBINED_UNIFORM_BLOCKS: 0x8A2E;\n readonly MAX_UNIFORM_BUFFER_BINDINGS: 0x8A2F;\n readonly MAX_UNIFORM_BLOCK_SIZE: 0x8A30;\n readonly MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: 0x8A31;\n readonly MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: 0x8A33;\n readonly UNIFORM_BUFFER_OFFSET_ALIGNMENT: 0x8A34;\n readonly ACTIVE_UNIFORM_BLOCKS: 0x8A36;\n readonly UNIFORM_TYPE: 0x8A37;\n readonly UNIFORM_SIZE: 0x8A38;\n readonly UNIFORM_BLOCK_INDEX: 0x8A3A;\n readonly UNIFORM_OFFSET: 0x8A3B;\n readonly UNIFORM_ARRAY_STRIDE: 0x8A3C;\n readonly UNIFORM_MATRIX_STRIDE: 0x8A3D;\n readonly UNIFORM_IS_ROW_MAJOR: 0x8A3E;\n readonly UNIFORM_BLOCK_BINDING: 0x8A3F;\n readonly UNIFORM_BLOCK_DATA_SIZE: 0x8A40;\n readonly UNIFORM_BLOCK_ACTIVE_UNIFORMS: 0x8A42;\n readonly UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: 0x8A43;\n readonly UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: 0x8A44;\n readonly UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: 0x8A46;\n readonly INVALID_INDEX: 0xFFFFFFFF;\n readonly MAX_VERTEX_OUTPUT_COMPONENTS: 0x9122;\n readonly MAX_FRAGMENT_INPUT_COMPONENTS: 0x9125;\n readonly MAX_SERVER_WAIT_TIMEOUT: 0x9111;\n readonly OBJECT_TYPE: 0x9112;\n readonly SYNC_CONDITION: 0x9113;\n readonly SYNC_STATUS: 0x9114;\n readonly SYNC_FLAGS: 0x9115;\n readonly SYNC_FENCE: 0x9116;\n readonly SYNC_GPU_COMMANDS_COMPLETE: 0x9117;\n readonly UNSIGNALED: 0x9118;\n readonly SIGNALED: 0x9119;\n readonly ALREADY_SIGNALED: 0x911A;\n readonly TIMEOUT_EXPIRED: 0x911B;\n readonly CONDITION_SATISFIED: 0x911C;\n readonly WAIT_FAILED: 0x911D;\n readonly SYNC_FLUSH_COMMANDS_BIT: 0x00000001;\n readonly VERTEX_ATTRIB_ARRAY_DIVISOR: 0x88FE;\n readonly ANY_SAMPLES_PASSED: 0x8C2F;\n readonly ANY_SAMPLES_PASSED_CONSERVATIVE: 0x8D6A;\n readonly SAMPLER_BINDING: 0x8919;\n readonly RGB10_A2UI: 0x906F;\n readonly INT_2_10_10_10_REV: 0x8D9F;\n readonly TRANSFORM_FEEDBACK: 0x8E22;\n readonly TRANSFORM_FEEDBACK_PAUSED: 0x8E23;\n readonly TRANSFORM_FEEDBACK_ACTIVE: 0x8E24;\n readonly TRANSFORM_FEEDBACK_BINDING: 0x8E25;\n readonly TEXTURE_IMMUTABLE_FORMAT: 0x912F;\n readonly MAX_ELEMENT_INDEX: 0x8D6B;\n readonly TEXTURE_IMMUTABLE_LEVELS: 0x82DF;\n readonly TIMEOUT_IGNORED: -1;\n readonly MAX_CLIENT_WAIT_TIMEOUT_WEBGL: 0x9247;\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 DEPTH_BUFFER_BIT: 0x00000100;\n readonly STENCIL_BUFFER_BIT: 0x00000400;\n readonly COLOR_BUFFER_BIT: 0x00004000;\n readonly POINTS: 0x0000;\n readonly LINES: 0x0001;\n readonly LINE_LOOP: 0x0002;\n readonly LINE_STRIP: 0x0003;\n readonly TRIANGLES: 0x0004;\n readonly TRIANGLE_STRIP: 0x0005;\n readonly TRIANGLE_FAN: 0x0006;\n readonly ZERO: 0;\n readonly ONE: 1;\n readonly SRC_COLOR: 0x0300;\n readonly ONE_MINUS_SRC_COLOR: 0x0301;\n readonly SRC_ALPHA: 0x0302;\n readonly ONE_MINUS_SRC_ALPHA: 0x0303;\n readonly DST_ALPHA: 0x0304;\n readonly ONE_MINUS_DST_ALPHA: 0x0305;\n readonly DST_COLOR: 0x0306;\n readonly ONE_MINUS_DST_COLOR: 0x0307;\n readonly SRC_ALPHA_SATURATE: 0x0308;\n readonly FUNC_ADD: 0x8006;\n readonly BLEND_EQUATION: 0x8009;\n readonly BLEND_EQUATION_RGB: 0x8009;\n readonly BLEND_EQUATION_ALPHA: 0x883D;\n readonly FUNC_SUBTRACT: 0x800A;\n readonly FUNC_REVERSE_SUBTRACT: 0x800B;\n readonly BLEND_DST_RGB: 0x80C8;\n readonly BLEND_SRC_RGB: 0x80C9;\n readonly BLEND_DST_ALPHA: 0x80CA;\n readonly BLEND_SRC_ALPHA: 0x80CB;\n readonly CONSTANT_COLOR: 0x8001;\n readonly ONE_MINUS_CONSTANT_COLOR: 0x8002;\n readonly CONSTANT_ALPHA: 0x8003;\n readonly ONE_MINUS_CONSTANT_ALPHA: 0x8004;\n readonly BLEND_COLOR: 0x8005;\n readonly ARRAY_BUFFER: 0x8892;\n readonly ELEMENT_ARRAY_BUFFER: 0x8893;\n readonly ARRAY_BUFFER_BINDING: 0x8894;\n readonly ELEMENT_ARRAY_BUFFER_BINDING: 0x8895;\n readonly STREAM_DRAW: 0x88E0;\n readonly STATIC_DRAW: 0x88E4;\n readonly DYNAMIC_DRAW: 0x88E8;\n readonly BUFFER_SIZE: 0x8764;\n readonly BUFFER_USAGE: 0x8765;\n readonly CURRENT_VERTEX_ATTRIB: 0x8626;\n readonly FRONT: 0x0404;\n readonly BACK: 0x0405;\n readonly FRONT_AND_BACK: 0x0408;\n readonly CULL_FACE: 0x0B44;\n readonly BLEND: 0x0BE2;\n readonly DITHER: 0x0BD0;\n readonly STENCIL_TEST: 0x0B90;\n readonly DEPTH_TEST: 0x0B71;\n readonly SCISSOR_TEST: 0x0C11;\n readonly POLYGON_OFFSET_FILL: 0x8037;\n readonly SAMPLE_ALPHA_TO_COVERAGE: 0x809E;\n readonly SAMPLE_COVERAGE: 0x80A0;\n readonly NO_ERROR: 0;\n readonly INVALID_ENUM: 0x0500;\n readonly INVALID_VALUE: 0x0501;\n readonly INVALID_OPERATION: 0x0502;\n readonly OUT_OF_MEMORY: 0x0505;\n readonly CW: 0x0900;\n readonly CCW: 0x0901;\n readonly LINE_WIDTH: 0x0B21;\n readonly ALIASED_POINT_SIZE_RANGE: 0x846D;\n readonly ALIASED_LINE_WIDTH_RANGE: 0x846E;\n readonly CULL_FACE_MODE: 0x0B45;\n readonly FRONT_FACE: 0x0B46;\n readonly DEPTH_RANGE: 0x0B70;\n readonly DEPTH_WRITEMASK: 0x0B72;\n readonly DEPTH_CLEAR_VALUE: 0x0B73;\n readonly DEPTH_FUNC: 0x0B74;\n readonly STENCIL_CLEAR_VALUE: 0x0B91;\n readonly STENCIL_FUNC: 0x0B92;\n readonly STENCIL_FAIL: 0x0B94;\n readonly STENCIL_PASS_DEPTH_FAIL: 0x0B95;\n readonly STENCIL_PASS_DEPTH_PASS: 0x0B96;\n readonly STENCIL_REF: 0x0B97;\n readonly STENCIL_VALUE_MASK: 0x0B93;\n readonly STENCIL_WRITEMASK: 0x0B98;\n readonly STENCIL_BACK_FUNC: 0x8800;\n readonly STENCIL_BACK_FAIL: 0x8801;\n readonly STENCIL_BACK_PASS_DEPTH_FAIL: 0x8802;\n readonly STENCIL_BACK_PASS_DEPTH_PASS: 0x8803;\n readonly STENCIL_BACK_REF: 0x8CA3;\n readonly STENCIL_BACK_VALUE_MASK: 0x8CA4;\n readonly STENCIL_BACK_WRITEMASK: 0x8CA5;\n readonly VIEWPORT: 0x0BA2;\n readonly SCISSOR_BOX: 0x0C10;\n readonly COLOR_CLEAR_VALUE: 0x0C22;\n readonly COLOR_WRITEMASK: 0x0C23;\n readonly UNPACK_ALIGNMENT: 0x0CF5;\n readonly PACK_ALIGNMENT: 0x0D05;\n readonly MAX_TEXTURE_SIZE: 0x0D33;\n readonly MAX_VIEWPORT_DIMS: 0x0D3A;\n readonly SUBPIXEL_BITS: 0x0D50;\n readonly RED_BITS: 0x0D52;\n readonly GREEN_BITS: 0x0D53;\n readonly BLUE_BITS: 0x0D54;\n readonly ALPHA_BITS: 0x0D55;\n readonly DEPTH_BITS: 0x0D56;\n readonly STENCIL_BITS: 0x0D57;\n readonly POLYGON_OFFSET_UNITS: 0x2A00;\n readonly POLYGON_OFFSET_FACTOR: 0x8038;\n readonly TEXTURE_BINDING_2D: 0x8069;\n readonly SAMPLE_BUFFERS: 0x80A8;\n readonly SAMPLES: 0x80A9;\n readonly SAMPLE_COVERAGE_VALUE: 0x80AA;\n readonly SAMPLE_COVERAGE_INVERT: 0x80AB;\n readonly COMPRESSED_TEXTURE_FORMATS: 0x86A3;\n readonly DONT_CARE: 0x1100;\n readonly FASTEST: 0x1101;\n readonly NICEST: 0x1102;\n readonly GENERATE_MIPMAP_HINT: 0x8192;\n readonly BYTE: 0x1400;\n readonly UNSIGNED_BYTE: 0x1401;\n readonly SHORT: 0x1402;\n readonly UNSIGNED_SHORT: 0x1403;\n readonly INT: 0x1404;\n readonly UNSIGNED_INT: 0x1405;\n readonly FLOAT: 0x1406;\n readonly DEPTH_COMPONENT: 0x1902;\n readonly ALPHA: 0x1906;\n readonly RGB: 0x1907;\n readonly RGBA: 0x1908;\n readonly LUMINANCE: 0x1909;\n readonly LUMINANCE_ALPHA: 0x190A;\n readonly UNSIGNED_SHORT_4_4_4_4: 0x8033;\n readonly UNSIGNED_SHORT_5_5_5_1: 0x8034;\n readonly UNSIGNED_SHORT_5_6_5: 0x8363;\n readonly FRAGMENT_SHADER: 0x8B30;\n readonly VERTEX_SHADER: 0x8B31;\n readonly MAX_VERTEX_ATTRIBS: 0x8869;\n readonly MAX_VERTEX_UNIFORM_VECTORS: 0x8DFB;\n readonly MAX_VARYING_VECTORS: 0x8DFC;\n readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: 0x8B4D;\n readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: 0x8B4C;\n readonly MAX_TEXTURE_IMAGE_UNITS: 0x8872;\n readonly MAX_FRAGMENT_UNIFORM_VECTORS: 0x8DFD;\n readonly SHADER_TYPE: 0x8B4F;\n readonly DELETE_STATUS: 0x8B80;\n readonly LINK_STATUS: 0x8B82;\n readonly VALIDATE_STATUS: 0x8B83;\n readonly ATTACHED_SHADERS: 0x8B85;\n readonly ACTIVE_UNIFORMS: 0x8B86;\n readonly ACTIVE_ATTRIBUTES: 0x8B89;\n readonly SHADING_LANGUAGE_VERSION: 0x8B8C;\n readonly CURRENT_PROGRAM: 0x8B8D;\n readonly NEVER: 0x0200;\n readonly LESS: 0x0201;\n readonly EQUAL: 0x0202;\n readonly LEQUAL: 0x0203;\n readonly GREATER: 0x0204;\n readonly NOTEQUAL: 0x0205;\n readonly GEQUAL: 0x0206;\n readonly ALWAYS: 0x0207;\n readonly KEEP: 0x1E00;\n readonly REPLACE: 0x1E01;\n readonly INCR: 0x1E02;\n readonly DECR: 0x1E03;\n readonly INVERT: 0x150A;\n readonly INCR_WRAP: 0x8507;\n readonly DECR_WRAP: 0x8508;\n readonly VENDOR: 0x1F00;\n readonly RENDERER: 0x1F01;\n readonly VERSION: 0x1F02;\n readonly NEAREST: 0x2600;\n readonly LINEAR: 0x2601;\n readonly NEAREST_MIPMAP_NEAREST: 0x2700;\n readonly LINEAR_MIPMAP_NEAREST: 0x2701;\n readonly NEAREST_MIPMAP_LINEAR: 0x2702;\n readonly LINEAR_MIPMAP_LINEAR: 0x2703;\n readonly TEXTURE_MAG_FILTER: 0x2800;\n readonly TEXTURE_MIN_FILTER: 0x2801;\n readonly TEXTURE_WRAP_S: 0x2802;\n readonly TEXTURE_WRAP_T: 0x2803;\n readonly TEXTURE_2D: 0x0DE1;\n readonly TEXTURE: 0x1702;\n readonly TEXTURE_CUBE_MAP: 0x8513;\n readonly TEXTURE_BINDING_CUBE_MAP: 0x8514;\n readonly TEXTURE_CUBE_MAP_POSITIVE_X: 0x8515;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_X: 0x8516;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Y: 0x8517;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: 0x8518;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Z: 0x8519;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: 0x851A;\n readonly MAX_CUBE_MAP_TEXTURE_SIZE: 0x851C;\n readonly TEXTURE0: 0x84C0;\n readonly TEXTURE1: 0x84C1;\n readonly TEXTURE2: 0x84C2;\n readonly TEXTURE3: 0x84C3;\n readonly TEXTURE4: 0x84C4;\n readonly TEXTURE5: 0x84C5;\n readonly TEXTURE6: 0x84C6;\n readonly TEXTURE7: 0x84C7;\n readonly TEXTURE8: 0x84C8;\n readonly TEXTURE9: 0x84C9;\n readonly TEXTURE10: 0x84CA;\n readonly TEXTURE11: 0x84CB;\n readonly TEXTURE12: 0x84CC;\n readonly TEXTURE13: 0x84CD;\n readonly TEXTURE14: 0x84CE;\n readonly TEXTURE15: 0x84CF;\n readonly TEXTURE16: 0x84D0;\n readonly TEXTURE17: 0x84D1;\n readonly TEXTURE18: 0x84D2;\n readonly TEXTURE19: 0x84D3;\n readonly TEXTURE20: 0x84D4;\n readonly TEXTURE21: 0x84D5;\n readonly TEXTURE22: 0x84D6;\n readonly TEXTURE23: 0x84D7;\n readonly TEXTURE24: 0x84D8;\n readonly TEXTURE25: 0x84D9;\n readonly TEXTURE26: 0x84DA;\n readonly TEXTURE27: 0x84DB;\n readonly TEXTURE28: 0x84DC;\n readonly TEXTURE29: 0x84DD;\n readonly TEXTURE30: 0x84DE;\n readonly TEXTURE31: 0x84DF;\n readonly ACTIVE_TEXTURE: 0x84E0;\n readonly REPEAT: 0x2901;\n readonly CLAMP_TO_EDGE: 0x812F;\n readonly MIRRORED_REPEAT: 0x8370;\n readonly FLOAT_VEC2: 0x8B50;\n readonly FLOAT_VEC3: 0x8B51;\n readonly FLOAT_VEC4: 0x8B52;\n readonly INT_VEC2: 0x8B53;\n readonly INT_VEC3: 0x8B54;\n readonly INT_VEC4: 0x8B55;\n readonly BOOL: 0x8B56;\n readonly BOOL_VEC2: 0x8B57;\n readonly BOOL_VEC3: 0x8B58;\n readonly BOOL_VEC4: 0x8B59;\n readonly FLOAT_MAT2: 0x8B5A;\n readonly FLOAT_MAT3: 0x8B5B;\n readonly FLOAT_MAT4: 0x8B5C;\n readonly SAMPLER_2D: 0x8B5E;\n readonly SAMPLER_CUBE: 0x8B60;\n readonly VERTEX_ATTRIB_ARRAY_ENABLED: 0x8622;\n readonly VERTEX_ATTRIB_ARRAY_SIZE: 0x8623;\n readonly VERTEX_ATTRIB_ARRAY_STRIDE: 0x8624;\n readonly VERTEX_ATTRIB_ARRAY_TYPE: 0x8625;\n readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: 0x886A;\n readonly VERTEX_ATTRIB_ARRAY_POINTER: 0x8645;\n readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: 0x889F;\n readonly IMPLEMENTATION_COLOR_READ_TYPE: 0x8B9A;\n readonly IMPLEMENTATION_COLOR_READ_FORMAT: 0x8B9B;\n readonly COMPILE_STATUS: 0x8B81;\n readonly LOW_FLOAT: 0x8DF0;\n readonly MEDIUM_FLOAT: 0x8DF1;\n readonly HIGH_FLOAT: 0x8DF2;\n readonly LOW_INT: 0x8DF3;\n readonly MEDIUM_INT: 0x8DF4;\n readonly HIGH_INT: 0x8DF5;\n readonly FRAMEBUFFER: 0x8D40;\n readonly RENDERBUFFER: 0x8D41;\n readonly RGBA4: 0x8056;\n readonly RGB5_A1: 0x8057;\n readonly RGB565: 0x8D62;\n readonly DEPTH_COMPONENT16: 0x81A5;\n readonly STENCIL_INDEX8: 0x8D48;\n readonly DEPTH_STENCIL: 0x84F9;\n readonly RENDERBUFFER_WIDTH: 0x8D42;\n readonly RENDERBUFFER_HEIGHT: 0x8D43;\n readonly RENDERBUFFER_INTERNAL_FORMAT: 0x8D44;\n readonly RENDERBUFFER_RED_SIZE: 0x8D50;\n readonly RENDERBUFFER_GREEN_SIZE: 0x8D51;\n readonly RENDERBUFFER_BLUE_SIZE: 0x8D52;\n readonly RENDERBUFFER_ALPHA_SIZE: 0x8D53;\n readonly RENDERBUFFER_DEPTH_SIZE: 0x8D54;\n readonly RENDERBUFFER_STENCIL_SIZE: 0x8D55;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: 0x8CD0;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: 0x8CD1;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: 0x8CD2;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: 0x8CD3;\n readonly COLOR_ATTACHMENT0: 0x8CE0;\n readonly DEPTH_ATTACHMENT: 0x8D00;\n readonly STENCIL_ATTACHMENT: 0x8D20;\n readonly DEPTH_STENCIL_ATTACHMENT: 0x821A;\n readonly NONE: 0;\n readonly FRAMEBUFFER_COMPLETE: 0x8CD5;\n readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: 0x8CD6;\n readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: 0x8CD7;\n readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: 0x8CD9;\n readonly FRAMEBUFFER_UNSUPPORTED: 0x8CDD;\n readonly FRAMEBUFFER_BINDING: 0x8CA6;\n readonly RENDERBUFFER_BINDING: 0x8CA7;\n readonly MAX_RENDERBUFFER_SIZE: 0x84E8;\n readonly INVALID_FRAMEBUFFER_OPERATION: 0x0506;\n readonly UNPACK_FLIP_Y_WEBGL: 0x9240;\n readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: 0x9241;\n readonly CONTEXT_LOST_WEBGL: 0x9242;\n readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: 0x9243;\n readonly BROWSER_DEFAULT_WEBGL: 0x9244;\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: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null;\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_frag_depth"): EXT_frag_depth | null;\n getExtension(extensionName: "EXT_sRGB"): EXT_sRGB | null;\n getExtension(extensionName: "EXT_shader_texture_lod"): EXT_shader_texture_lod | null;\n getExtension(extensionName: "EXT_texture_compression_bptc"): EXT_texture_compression_bptc | null;\n getExtension(extensionName: "EXT_texture_compression_rgtc"): EXT_texture_compression_rgtc | null;\n getExtension(extensionName: "EXT_texture_filter_anisotropic"): EXT_texture_filter_anisotropic | null;\n getExtension(extensionName: "KHR_parallel_shader_compile"): KHR_parallel_shader_compile | null;\n getExtension(extensionName: "OES_element_index_uint"): OES_element_index_uint | null;\n getExtension(extensionName: "OES_fbo_render_mipmap"): OES_fbo_render_mipmap | null;\n getExtension(extensionName: "OES_standard_derivatives"): OES_standard_derivatives | null;\n getExtension(extensionName: "OES_texture_float"): OES_texture_float | null;\n getExtension(extensionName: "OES_texture_float_linear"): OES_texture_float_linear | null;\n getExtension(extensionName: "OES_texture_half_float"): OES_texture_half_float | null;\n getExtension(extensionName: "OES_texture_half_float_linear"): OES_texture_half_float_linear | 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_s3tc"): WEBGL_compressed_texture_s3tc | null;\n getExtension(extensionName: "WEBGL_compressed_texture_s3tc_srgb"): WEBGL_compressed_texture_s3tc_srgb | null;\n getExtension(extensionName: "WEBGL_debug_renderer_info"): WEBGL_debug_renderer_info | null;\n getExtension(extensionName: "WEBGL_debug_shaders"): WEBGL_debug_shaders | null;\n getExtension(extensionName: "WEBGL_depth_texture"): WEBGL_depth_texture | 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_multi_draw"): WEBGL_multi_draw | 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 DEPTH_BUFFER_BIT: 0x00000100;\n readonly STENCIL_BUFFER_BIT: 0x00000400;\n readonly COLOR_BUFFER_BIT: 0x00004000;\n readonly POINTS: 0x0000;\n readonly LINES: 0x0001;\n readonly LINE_LOOP: 0x0002;\n readonly LINE_STRIP: 0x0003;\n readonly TRIANGLES: 0x0004;\n readonly TRIANGLE_STRIP: 0x0005;\n readonly TRIANGLE_FAN: 0x0006;\n readonly ZERO: 0;\n readonly ONE: 1;\n readonly SRC_COLOR: 0x0300;\n readonly ONE_MINUS_SRC_COLOR: 0x0301;\n readonly SRC_ALPHA: 0x0302;\n readonly ONE_MINUS_SRC_ALPHA: 0x0303;\n readonly DST_ALPHA: 0x0304;\n readonly ONE_MINUS_DST_ALPHA: 0x0305;\n readonly DST_COLOR: 0x0306;\n readonly ONE_MINUS_DST_COLOR: 0x0307;\n readonly SRC_ALPHA_SATURATE: 0x0308;\n readonly FUNC_ADD: 0x8006;\n readonly BLEND_EQUATION: 0x8009;\n readonly BLEND_EQUATION_RGB: 0x8009;\n readonly BLEND_EQUATION_ALPHA: 0x883D;\n readonly FUNC_SUBTRACT: 0x800A;\n readonly FUNC_REVERSE_SUBTRACT: 0x800B;\n readonly BLEND_DST_RGB: 0x80C8;\n readonly BLEND_SRC_RGB: 0x80C9;\n readonly BLEND_DST_ALPHA: 0x80CA;\n readonly BLEND_SRC_ALPHA: 0x80CB;\n readonly CONSTANT_COLOR: 0x8001;\n readonly ONE_MINUS_CONSTANT_COLOR: 0x8002;\n readonly CONSTANT_ALPHA: 0x8003;\n readonly ONE_MINUS_CONSTANT_ALPHA: 0x8004;\n readonly BLEND_COLOR: 0x8005;\n readonly ARRAY_BUFFER: 0x8892;\n readonly ELEMENT_ARRAY_BUFFER: 0x8893;\n readonly ARRAY_BUFFER_BINDING: 0x8894;\n readonly ELEMENT_ARRAY_BUFFER_BINDING: 0x8895;\n readonly STREAM_DRAW: 0x88E0;\n readonly STATIC_DRAW: 0x88E4;\n readonly DYNAMIC_DRAW: 0x88E8;\n readonly BUFFER_SIZE: 0x8764;\n readonly BUFFER_USAGE: 0x8765;\n readonly CURRENT_VERTEX_ATTRIB: 0x8626;\n readonly FRONT: 0x0404;\n readonly BACK: 0x0405;\n readonly FRONT_AND_BACK: 0x0408;\n readonly CULL_FACE: 0x0B44;\n readonly BLEND: 0x0BE2;\n readonly DITHER: 0x0BD0;\n readonly STENCIL_TEST: 0x0B90;\n readonly DEPTH_TEST: 0x0B71;\n readonly SCISSOR_TEST: 0x0C11;\n readonly POLYGON_OFFSET_FILL: 0x8037;\n readonly SAMPLE_ALPHA_TO_COVERAGE: 0x809E;\n readonly SAMPLE_COVERAGE: 0x80A0;\n readonly NO_ERROR: 0;\n readonly INVALID_ENUM: 0x0500;\n readonly INVALID_VALUE: 0x0501;\n readonly INVALID_OPERATION: 0x0502;\n readonly OUT_OF_MEMORY: 0x0505;\n readonly CW: 0x0900;\n readonly CCW: 0x0901;\n readonly LINE_WIDTH: 0x0B21;\n readonly ALIASED_POINT_SIZE_RANGE: 0x846D;\n readonly ALIASED_LINE_WIDTH_RANGE: 0x846E;\n readonly CULL_FACE_MODE: 0x0B45;\n readonly FRONT_FACE: 0x0B46;\n readonly DEPTH_RANGE: 0x0B70;\n readonly DEPTH_WRITEMASK: 0x0B72;\n readonly DEPTH_CLEAR_VALUE: 0x0B73;\n readonly DEPTH_FUNC: 0x0B74;\n readonly STENCIL_CLEAR_VALUE: 0x0B91;\n readonly STENCIL_FUNC: 0x0B92;\n readonly STENCIL_FAIL: 0x0B94;\n readonly STENCIL_PASS_DEPTH_FAIL: 0x0B95;\n readonly STENCIL_PASS_DEPTH_PASS: 0x0B96;\n readonly STENCIL_REF: 0x0B97;\n readonly STENCIL_VALUE_MASK: 0x0B93;\n readonly STENCIL_WRITEMASK: 0x0B98;\n readonly STENCIL_BACK_FUNC: 0x8800;\n readonly STENCIL_BACK_FAIL: 0x8801;\n readonly STENCIL_BACK_PASS_DEPTH_FAIL: 0x8802;\n readonly STENCIL_BACK_PASS_DEPTH_PASS: 0x8803;\n readonly STENCIL_BACK_REF: 0x8CA3;\n readonly STENCIL_BACK_VALUE_MASK: 0x8CA4;\n readonly STENCIL_BACK_WRITEMASK: 0x8CA5;\n readonly VIEWPORT: 0x0BA2;\n readonly SCISSOR_BOX: 0x0C10;\n readonly COLOR_CLEAR_VALUE: 0x0C22;\n readonly COLOR_WRITEMASK: 0x0C23;\n readonly UNPACK_ALIGNMENT: 0x0CF5;\n readonly PACK_ALIGNMENT: 0x0D05;\n readonly MAX_TEXTURE_SIZE: 0x0D33;\n readonly MAX_VIEWPORT_DIMS: 0x0D3A;\n readonly SUBPIXEL_BITS: 0x0D50;\n readonly RED_BITS: 0x0D52;\n readonly GREEN_BITS: 0x0D53;\n readonly BLUE_BITS: 0x0D54;\n readonly ALPHA_BITS: 0x0D55;\n readonly DEPTH_BITS: 0x0D56;\n readonly STENCIL_BITS: 0x0D57;\n readonly POLYGON_OFFSET_UNITS: 0x2A00;\n readonly POLYGON_OFFSET_FACTOR: 0x8038;\n readonly TEXTURE_BINDING_2D: 0x8069;\n readonly SAMPLE_BUFFERS: 0x80A8;\n readonly SAMPLES: 0x80A9;\n readonly SAMPLE_COVERAGE_VALUE: 0x80AA;\n readonly SAMPLE_COVERAGE_INVERT: 0x80AB;\n readonly COMPRESSED_TEXTURE_FORMATS: 0x86A3;\n readonly DONT_CARE: 0x1100;\n readonly FASTEST: 0x1101;\n readonly NICEST: 0x1102;\n readonly GENERATE_MIPMAP_HINT: 0x8192;\n readonly BYTE: 0x1400;\n readonly UNSIGNED_BYTE: 0x1401;\n readonly SHORT: 0x1402;\n readonly UNSIGNED_SHORT: 0x1403;\n readonly INT: 0x1404;\n readonly UNSIGNED_INT: 0x1405;\n readonly FLOAT: 0x1406;\n readonly DEPTH_COMPONENT: 0x1902;\n readonly ALPHA: 0x1906;\n readonly RGB: 0x1907;\n readonly RGBA: 0x1908;\n readonly LUMINANCE: 0x1909;\n readonly LUMINANCE_ALPHA: 0x190A;\n readonly UNSIGNED_SHORT_4_4_4_4: 0x8033;\n readonly UNSIGNED_SHORT_5_5_5_1: 0x8034;\n readonly UNSIGNED_SHORT_5_6_5: 0x8363;\n readonly FRAGMENT_SHADER: 0x8B30;\n readonly VERTEX_SHADER: 0x8B31;\n readonly MAX_VERTEX_ATTRIBS: 0x8869;\n readonly MAX_VERTEX_UNIFORM_VECTORS: 0x8DFB;\n readonly MAX_VARYING_VECTORS: 0x8DFC;\n readonly MAX_COMBINED_TEXTURE_IMAGE_UNITS: 0x8B4D;\n readonly MAX_VERTEX_TEXTURE_IMAGE_UNITS: 0x8B4C;\n readonly MAX_TEXTURE_IMAGE_UNITS: 0x8872;\n readonly MAX_FRAGMENT_UNIFORM_VECTORS: 0x8DFD;\n readonly SHADER_TYPE: 0x8B4F;\n readonly DELETE_STATUS: 0x8B80;\n readonly LINK_STATUS: 0x8B82;\n readonly VALIDATE_STATUS: 0x8B83;\n readonly ATTACHED_SHADERS: 0x8B85;\n readonly ACTIVE_UNIFORMS: 0x8B86;\n readonly ACTIVE_ATTRIBUTES: 0x8B89;\n readonly SHADING_LANGUAGE_VERSION: 0x8B8C;\n readonly CURRENT_PROGRAM: 0x8B8D;\n readonly NEVER: 0x0200;\n readonly LESS: 0x0201;\n readonly EQUAL: 0x0202;\n readonly LEQUAL: 0x0203;\n readonly GREATER: 0x0204;\n readonly NOTEQUAL: 0x0205;\n readonly GEQUAL: 0x0206;\n readonly ALWAYS: 0x0207;\n readonly KEEP: 0x1E00;\n readonly REPLACE: 0x1E01;\n readonly INCR: 0x1E02;\n readonly DECR: 0x1E03;\n readonly INVERT: 0x150A;\n readonly INCR_WRAP: 0x8507;\n readonly DECR_WRAP: 0x8508;\n readonly VENDOR: 0x1F00;\n readonly RENDERER: 0x1F01;\n readonly VERSION: 0x1F02;\n readonly NEAREST: 0x2600;\n readonly LINEAR: 0x2601;\n readonly NEAREST_MIPMAP_NEAREST: 0x2700;\n readonly LINEAR_MIPMAP_NEAREST: 0x2701;\n readonly NEAREST_MIPMAP_LINEAR: 0x2702;\n readonly LINEAR_MIPMAP_LINEAR: 0x2703;\n readonly TEXTURE_MAG_FILTER: 0x2800;\n readonly TEXTURE_MIN_FILTER: 0x2801;\n readonly TEXTURE_WRAP_S: 0x2802;\n readonly TEXTURE_WRAP_T: 0x2803;\n readonly TEXTURE_2D: 0x0DE1;\n readonly TEXTURE: 0x1702;\n readonly TEXTURE_CUBE_MAP: 0x8513;\n readonly TEXTURE_BINDING_CUBE_MAP: 0x8514;\n readonly TEXTURE_CUBE_MAP_POSITIVE_X: 0x8515;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_X: 0x8516;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Y: 0x8517;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Y: 0x8518;\n readonly TEXTURE_CUBE_MAP_POSITIVE_Z: 0x8519;\n readonly TEXTURE_CUBE_MAP_NEGATIVE_Z: 0x851A;\n readonly MAX_CUBE_MAP_TEXTURE_SIZE: 0x851C;\n readonly TEXTURE0: 0x84C0;\n readonly TEXTURE1: 0x84C1;\n readonly TEXTURE2: 0x84C2;\n readonly TEXTURE3: 0x84C3;\n readonly TEXTURE4: 0x84C4;\n readonly TEXTURE5: 0x84C5;\n readonly TEXTURE6: 0x84C6;\n readonly TEXTURE7: 0x84C7;\n readonly TEXTURE8: 0x84C8;\n readonly TEXTURE9: 0x84C9;\n readonly TEXTURE10: 0x84CA;\n readonly TEXTURE11: 0x84CB;\n readonly TEXTURE12: 0x84CC;\n readonly TEXTURE13: 0x84CD;\n readonly TEXTURE14: 0x84CE;\n readonly TEXTURE15: 0x84CF;\n readonly TEXTURE16: 0x84D0;\n readonly TEXTURE17: 0x84D1;\n readonly TEXTURE18: 0x84D2;\n readonly TEXTURE19: 0x84D3;\n readonly TEXTURE20: 0x84D4;\n readonly TEXTURE21: 0x84D5;\n readonly TEXTURE22: 0x84D6;\n readonly TEXTURE23: 0x84D7;\n readonly TEXTURE24: 0x84D8;\n readonly TEXTURE25: 0x84D9;\n readonly TEXTURE26: 0x84DA;\n readonly TEXTURE27: 0x84DB;\n readonly TEXTURE28: 0x84DC;\n readonly TEXTURE29: 0x84DD;\n readonly TEXTURE30: 0x84DE;\n readonly TEXTURE31: 0x84DF;\n readonly ACTIVE_TEXTURE: 0x84E0;\n readonly REPEAT: 0x2901;\n readonly CLAMP_TO_EDGE: 0x812F;\n readonly MIRRORED_REPEAT: 0x8370;\n readonly FLOAT_VEC2: 0x8B50;\n readonly FLOAT_VEC3: 0x8B51;\n readonly FLOAT_VEC4: 0x8B52;\n readonly INT_VEC2: 0x8B53;\n readonly INT_VEC3: 0x8B54;\n readonly INT_VEC4: 0x8B55;\n readonly BOOL: 0x8B56;\n readonly BOOL_VEC2: 0x8B57;\n readonly BOOL_VEC3: 0x8B58;\n readonly BOOL_VEC4: 0x8B59;\n readonly FLOAT_MAT2: 0x8B5A;\n readonly FLOAT_MAT3: 0x8B5B;\n readonly FLOAT_MAT4: 0x8B5C;\n readonly SAMPLER_2D: 0x8B5E;\n readonly SAMPLER_CUBE: 0x8B60;\n readonly VERTEX_ATTRIB_ARRAY_ENABLED: 0x8622;\n readonly VERTEX_ATTRIB_ARRAY_SIZE: 0x8623;\n readonly VERTEX_ATTRIB_ARRAY_STRIDE: 0x8624;\n readonly VERTEX_ATTRIB_ARRAY_TYPE: 0x8625;\n readonly VERTEX_ATTRIB_ARRAY_NORMALIZED: 0x886A;\n readonly VERTEX_ATTRIB_ARRAY_POINTER: 0x8645;\n readonly VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: 0x889F;\n readonly IMPLEMENTATION_COLOR_READ_TYPE: 0x8B9A;\n readonly IMPLEMENTATION_COLOR_READ_FORMAT: 0x8B9B;\n readonly COMPILE_STATUS: 0x8B81;\n readonly LOW_FLOAT: 0x8DF0;\n readonly MEDIUM_FLOAT: 0x8DF1;\n readonly HIGH_FLOAT: 0x8DF2;\n readonly LOW_INT: 0x8DF3;\n readonly MEDIUM_INT: 0x8DF4;\n readonly HIGH_INT: 0x8DF5;\n readonly FRAMEBUFFER: 0x8D40;\n readonly RENDERBUFFER: 0x8D41;\n readonly RGBA4: 0x8056;\n readonly RGB5_A1: 0x8057;\n readonly RGB565: 0x8D62;\n readonly DEPTH_COMPONENT16: 0x81A5;\n readonly STENCIL_INDEX8: 0x8D48;\n readonly DEPTH_STENCIL: 0x84F9;\n readonly RENDERBUFFER_WIDTH: 0x8D42;\n readonly RENDERBUFFER_HEIGHT: 0x8D43;\n readonly RENDERBUFFER_INTERNAL_FORMAT: 0x8D44;\n readonly RENDERBUFFER_RED_SIZE: 0x8D50;\n readonly RENDERBUFFER_GREEN_SIZE: 0x8D51;\n readonly RENDERBUFFER_BLUE_SIZE: 0x8D52;\n readonly RENDERBUFFER_ALPHA_SIZE: 0x8D53;\n readonly RENDERBUFFER_DEPTH_SIZE: 0x8D54;\n readonly RENDERBUFFER_STENCIL_SIZE: 0x8D55;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: 0x8CD0;\n readonly FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: 0x8CD1;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: 0x8CD2;\n readonly FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: 0x8CD3;\n readonly COLOR_ATTACHMENT0: 0x8CE0;\n readonly DEPTH_ATTACHMENT: 0x8D00;\n readonly STENCIL_ATTACHMENT: 0x8D20;\n readonly DEPTH_STENCIL_ATTACHMENT: 0x821A;\n readonly NONE: 0;\n readonly FRAMEBUFFER_COMPLETE: 0x8CD5;\n readonly FRAMEBUFFER_INCOMPLETE_ATTACHMENT: 0x8CD6;\n readonly FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: 0x8CD7;\n readonly FRAMEBUFFER_INCOMPLETE_DIMENSIONS: 0x8CD9;\n readonly FRAMEBUFFER_UNSUPPORTED: 0x8CDD;\n readonly FRAMEBUFFER_BINDING: 0x8CA6;\n readonly RENDERBUFFER_BINDING: 0x8CA7;\n readonly MAX_RENDERBUFFER_SIZE: 0x84E8;\n readonly INVALID_FRAMEBUFFER_OPERATION: 0x0506;\n readonly UNPACK_FLIP_Y_WEBGL: 0x9240;\n readonly UNPACK_PREMULTIPLY_ALPHA_WEBGL: 0x9241;\n readonly CONTEXT_LOST_WEBGL: 0x9242;\n readonly UNPACK_COLORSPACE_CONVERSION_WEBGL: 0x9243;\n readonly BROWSER_DEFAULT_WEBGL: 0x9244;\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 /** Returns the extensions selected by the server, if any. */\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 /** 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 readonly protocol: string;\n /** Returns the state of the WebSocket object\'s connection. It can have the values described below. */\n readonly readyState: number;\n /** Returns the URL that was used to establish the WebSocket connection. */\n readonly url: string;\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 close(code?: number, reason?: string): void;\n /** Transmits data using the WebSocket connection. data can be a string, a Blob, an ArrayBuffer, or an ArrayBufferView. */\n send(data: string | ArrayBufferLike | Blob | ArrayBufferView): void;\n readonly CONNECTING: 0;\n readonly OPEN: 1;\n readonly CLOSING: 2;\n readonly CLOSED: 3;\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 CONNECTING: 0;\n readonly OPEN: 1;\n readonly CLOSING: 2;\n readonly CLOSED: 3;\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: DocumentVisibilityState;\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 /** Available only in secure contexts. */\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(id: number | undefined): void;\n clearTimeout(id: number | undefined): 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 | URL, init?: RequestInit): Promise<Response>;\n queueMicrotask(callback: VoidFunction): void;\n reportError(e: any): void;\n setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\n setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\n structuredClone(value: any, options?: StructuredSerializeOptions): any;\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 /** 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 postMessage(message: any, transfer: Transferable[]): void;\n postMessage(message: any, options?: StructuredSerializeOptions): void;\n /** Aborts worker\'s associated global environment. */\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 /** Returns workerGlobal\'s WorkerLocation object. */\n readonly location: WorkerLocation;\n /** Returns workerGlobal\'s WorkerNavigator object. */\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 /** Returns workerGlobal. */\n readonly self: WorkerGlobalScope & typeof globalThis;\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 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, NavigatorLocks, 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 readonly signal: AbortSignal;\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 /** Returns client\'s state. */\n readonly readyState: number;\n /** Returns the response body. */\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 /** Returns the associated XMLHttpRequestUpload object. It can be used to gather transmission information when data is transferred to a server. */\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 /** Cancels any network activity. */\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 UNSENT: 0;\n readonly OPENED: 1;\n readonly HEADERS_RECEIVED: 2;\n readonly LOADING: 3;\n readonly DONE: 4;\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 UNSENT: 0;\n readonly OPENED: 1;\n readonly HEADERS_RECEIVED: 2;\n readonly LOADING: 3;\n readonly DONE: 4;\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(message?: string): CompileError;\n (message?: string): 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(message?: string): LinkError;\n (message?: string): 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(message?: string): RuntimeError;\n (message?: string): 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" | "v128";\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 LockGrantedCallback {\n (lock: Lock | null): any;\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/** Returns dedicatedWorkerGlobal\'s name, i.e. the value given to the Worker constructor. Primarily useful for debugging. */\ndeclare var name: string;\ndeclare var onmessage: ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) | null;\ndeclare var onmessageerror: ((this: DedicatedWorkerGlobalScope, ev: MessageEvent) => any) | null;\n/** Aborts dedicatedWorkerGlobal. */\ndeclare function close(): void;\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. */\ndeclare function postMessage(message: any, transfer: Transferable[]): void;\ndeclare function postMessage(message: any, options?: StructuredSerializeOptions): void;\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. */\ndeclare function dispatchEvent(event: Event): boolean;\n/** Returns workerGlobal\'s WorkerLocation object. */\ndeclare var location: WorkerLocation;\n/** Returns workerGlobal\'s WorkerNavigator object. */\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/** Returns workerGlobal. */\ndeclare var self: WorkerGlobalScope & typeof globalThis;\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). */\ndeclare function importScripts(...urls: (string | URL)[]): void;\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. */\ndeclare function dispatchEvent(event: Event): boolean;\ndeclare var fonts: FontFaceSet;\n/** Available only in secure contexts. */\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(id: number | undefined): void;\ndeclare function clearTimeout(id: number | undefined): 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 | URL, init?: RequestInit): Promise<Response>;\ndeclare function queueMicrotask(callback: VoidFunction): void;\ndeclare function reportError(e: any): void;\ndeclare function setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\ndeclare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;\ndeclare function structuredClone(value: any, options?: StructuredSerializeOptions): any;\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 EpochTimeStamp = 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, 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 OffscreenRenderingContext = OffscreenCanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;\ntype OnErrorEventHandler = OnErrorEventHandlerNonNull | null;\ntype PerformanceEntryList = PerformanceEntry[];\ntype PushMessageDataInit = BufferSource | string;\ntype ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;\ntype ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;\ntype ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;\ntype RequestInfo = Request | string;\ntype TexImageSource = ImageBitmap | ImageData | OffscreenCanvas;\ntype TimerHandler = string | Function;\ntype Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer;\ntype Uint32List = Uint32Array | GLuint[];\ntype VibratePattern = number | number[];\ntype XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;\ntype BinaryType = "arraybuffer" | "blob";\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 ClientTypes = "all" | "sharedworker" | "window" | "worker";\ntype ColorGamut = "p3" | "rec2020" | "srgb";\ntype ColorSpaceConversion = "default" | "none";\ntype DocumentVisibilityState = "hidden" | "visible";\ntype EndingType = "native" | "transparent";\ntype FileSystemHandleKind = "directory" | "file";\ntype FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";\ntype FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";\ntype FontFaceSetLoadStatus = "loaded" | "loading";\ntype FrameType = "auxiliary" | "nested" | "none" | "top-level";\ntype GlobalCompositeOperation = "color" | "color-burn" | "color-dodge" | "copy" | "darken" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "lighter" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | "source-atop" | "source-in" | "source-out" | "source-over" | "xor";\ntype HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";\ntype IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";\ntype IDBRequestReadyState = "done" | "pending";\ntype IDBTransactionDurability = "default" | "relaxed" | "strict";\ntype IDBTransactionMode = "readonly" | "readwrite" | "versionchange";\ntype ImageOrientation = "flipY" | "from-image";\ntype ImageSmoothingQuality = "high" | "low" | "medium";\ntype KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";\ntype KeyType = "private" | "public" | "secret";\ntype KeyUsage = "decrypt" | "deriveBits" | "deriveKey" | "encrypt" | "sign" | "unwrapKey" | "verify" | "wrapKey";\ntype LockMode = "exclusive" | "shared";\ntype MediaDecodingType = "file" | "media-source" | "webrtc";\ntype MediaEncodingType = "record" | "webrtc";\ntype NotificationDirection = "auto" | "ltr" | "rtl";\ntype NotificationPermission = "default" | "denied" | "granted";\ntype OffscreenRenderingContextId = "2d" | "bitmaprenderer" | "webgl" | "webgl2" | "webgpu";\ntype PermissionName = "geolocation" | "notifications" | "persistent-storage" | "push" | "screen-wake-lock" | "xr-spatial-tracking";\ntype PermissionState = "denied" | "granted" | "prompt";\ntype PredefinedColorSpace = "display-p3" | "srgb";\ntype PremultiplyAlpha = "default" | "none" | "premultiply";\ntype PushEncryptionKeyName = "auth" | "p256dh";\ntype RTCEncodedVideoFrameType = "delta" | "empty" | "key";\ntype ReadableStreamReaderMode = "byob";\ntype ReadableStreamType = "bytes";\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 VideoColorPrimaries = "bt470bg" | "bt709" | "smpte170m";\ntype VideoMatrixCoefficients = "bt470bg" | "bt709" | "rgb" | "smpte170m";\ntype VideoTransferCharacteristics = "bt709" | "iec61966-2-1" | "smpte170m";\ntype WebGLPowerPreference = "default" | "high-performance" | "low-power";\ntype WorkerType = "classic" | "module";\ntype XMLHttpRequestResponseType = "" | "arraybuffer" | "blob" | "document" | "json" | "text";\n',ji["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/// <reference no-default-lib="true"/>\n\n\n/////////////////////////////\n/// WorkerGlobalScope APIs\n/////////////////////////////\n// These are only available in a Web Worker\ndeclare function importScripts(...urls: string[]): void;\n',ji["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/// <reference no-default-lib="true"/>\n\n/////////////////////////////\n/// Worker Iterable APIs\n/////////////////////////////\n\ninterface Cache {\n addAll(requests: Iterable<RequestInfo>): Promise<void>;\n}\n\ninterface CanvasPath {\n roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | Iterable<number | DOMPointInit>): void;\n}\n\ninterface CanvasPathDrawingStyles {\n setLineDash(segments: Iterable<number>): 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 /** Returns an array of key, value pairs for every entry in the list. */\n entries(): IterableIterator<[string, FormDataEntryValue]>;\n /** Returns a list of keys in the list. */\n keys(): IterableIterator<string>;\n /** Returns a list of values in the list. */\n values(): IterableIterator<FormDataEntryValue>;\n}\n\ninterface Headers {\n [Symbol.iterator](): IterableIterator<[string, string]>;\n /** Returns an iterator allowing to go through all key/value pairs contained in this object. */\n entries(): IterableIterator<[string, string]>;\n /** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */\n keys(): IterableIterator<string>;\n /** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */\n values(): IterableIterator<string>;\n}\n\ninterface IDBDatabase {\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 transaction(storeNames: string | Iterable<string>, mode?: IDBTransactionMode, options?: IDBTransactionOptions): 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 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: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;\n generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<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: ReadonlyArray<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 /** Returns an array of key, value pairs for every entry in the search params. */\n entries(): IterableIterator<[string, string]>;\n /** Returns a list of keys in the search params. */\n keys(): IterableIterator<string>;\n /** Returns a list of values in the search params. */\n values(): IterableIterator<string>;\n}\n\ninterface WEBGL_draw_buffers {\n drawBuffersWEBGL(buffers: Iterable<GLenum>): void;\n}\n\ninterface WEBGL_multi_draw {\n multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;\n multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, drawcount: GLsizei): void;\n multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;\n multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, drawcount: GLsizei): 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';var Ki=class{_ctx;_extraLibs=Object.create(null);_languageService=Di(this);_compilerOptions;_inlayHintsOptions;constructor(e,n){this._ctx=e,this._compilerOptions=n.compilerOptions,this._extraLibs=n.extraLibs,this._inlayHintsOptions=n.inlayHintsOptions}getCompilationSettings(){return this._compilerOptions}getLanguageService(){return this._languageService}getExtraLibs(){return this._extraLibs}getScriptFileNames(){return this._ctx.getMirrorModels().map((e=>e.uri)).filter((e=>!Hi(e))).map((e=>e.toString())).concat(Object.keys(this._extraLibs))}_getModel(e){let n=this._ctx.getMirrorModels();for(let t=0;t<n.length;t++){const r=n[t].uri;if(r.toString()===e||r.toString(!0)===e)return n[t]}return null}getScriptVersion(e){let n=this._getModel(e);return n?n.version.toString():this.isDefaultLibFileName(e)?"1":e in this._extraLibs?String(this._extraLibs[e].version):""}async getScriptText(e){return this._getScriptText(e)}_getScriptText(e){let n,t=this._getModel(e);const r="lib."+e+".d.ts";if(t)n=t.getValue();else if(e in ji)n=ji[e];else if(r in ji)n=ji[r];else{if(!(e in this._extraLibs))return;n=this._extraLibs[e].content}return n}getScriptSnapshot(e){const n=this._getScriptText(e);if(void 0!==n)return{getText:(e,t)=>n.substring(e,t),getLength:()=>n.length,getChangeRange:()=>{}}}getScriptKind(e){switch(e.substr(e.lastIndexOf(".")+1)){case"ts":return Gi.TS;case"tsx":return Gi.TSX;case"js":return Gi.JS;case"jsx":return Gi.JSX;default:return this.getCompilationSettings().allowJs?Gi.JS:Gi.TS}}getCurrentDirectory(){return""}getDefaultLibFileName(e){switch(e.target){case 99:const n="lib.esnext.full.d.ts";if(n in ji||n in this._extraLibs)return n;case 7:case 6:case 5:case 4:case 3:case 2:default:const t=`lib.es${2013+(e.target||99)}.full.d.ts`;return t in ji||t in this._extraLibs?t:"lib.es6.d.ts";case 1:case 0:return"lib.d.ts"}}isDefaultLibFileName(e){return e===this.getDefaultLibFileName(this._compilerOptions)}readFile(e){return this._getScriptText(e)}fileExists(e){return void 0!==this._getScriptText(e)}async getLibFiles(){return ji}static clearFiles(e){const n=[];for(const t of e){const e={...t};if(e.file=e.file?{fileName:e.file.fileName}:void 0,t.relatedInformation){e.relatedInformation=[];for(const n of t.relatedInformation){const t={...n};t.file=t.file?{fileName:t.file.fileName}:void 0,e.relatedInformation.push(t)}}n.push(e)}return n}async getSyntacticDiagnostics(e){if(Hi(e))return[];const n=this._languageService.getSyntacticDiagnostics(e);return Ki.clearFiles(n)}async getSemanticDiagnostics(e){if(Hi(e))return[];const n=this._languageService.getSemanticDiagnostics(e);return Ki.clearFiles(n)}async getSuggestionDiagnostics(e){if(Hi(e))return[];const n=this._languageService.getSuggestionDiagnostics(e);return Ki.clearFiles(n)}async getCompilerOptionsDiagnostics(e){if(Hi(e))return[];const n=this._languageService.getCompilerOptionsDiagnostics();return Ki.clearFiles(n)}async getCompletionsAtPosition(e,n){if(!Hi(e))return this._languageService.getCompletionsAtPosition(e,n,void 0)}async getCompletionEntryDetails(e,n,t){return this._languageService.getCompletionEntryDetails(e,n,t,void 0,void 0,void 0,void 0)}async getSignatureHelpItems(e,n,t){if(!Hi(e))return this._languageService.getSignatureHelpItems(e,n,t)}async getQuickInfoAtPosition(e,n){if(!Hi(e))return this._languageService.getQuickInfoAtPosition(e,n)}async getDocumentHighlights(e,n,t){if(!Hi(e))return this._languageService.getDocumentHighlights(e,n,t)}async getDefinitionAtPosition(e,n){if(!Hi(e))return this._languageService.getDefinitionAtPosition(e,n)}async getReferencesAtPosition(e,n){if(!Hi(e))return this._languageService.getReferencesAtPosition(e,n)}async getNavigationTree(e){if(!Hi(e))return this._languageService.getNavigationTree(e)}async getFormattingEditsForDocument(e,n){return Hi(e)?[]:this._languageService.getFormattingEditsForDocument(e,n)}async getFormattingEditsForRange(e,n,t,r){return Hi(e)?[]:this._languageService.getFormattingEditsForRange(e,n,t,r)}async getFormattingEditsAfterKeystroke(e,n,t,r){return Hi(e)?[]:this._languageService.getFormattingEditsAfterKeystroke(e,n,t,r)}async findRenameLocations(e,n,t,r,i){if(!Hi(e))return this._languageService.findRenameLocations(e,n,t,r,i)}async getRenameInfo(e,n,t){return Hi(e)?{canRename:!1,localizedErrorMessage:"Cannot rename in lib file"}:this._languageService.getRenameInfo(e,n,t)}async getEmitOutput(e){return Hi(e)?{outputFiles:[],emitSkipped:!0}:this._languageService.getEmitOutput(e)}async getCodeFixesAtPosition(e,n,t,r,i){if(Hi(e))return[];const a={};try{return this._languageService.getCodeFixesAtPosition(e,n,t,r,i,a)}catch{return[]}}async updateExtraLibs(e){this._extraLibs=e}async provideInlayHints(e,n,t){if(Hi(e))return[];const r=this._inlayHintsOptions??{},i={start:n,length:t-n};try{return this._languageService.provideInlayHints(e,i,r)}catch{return[]}}};globalThis.ts=Vi,self.onmessage=()=>{Ai(((e,n)=>function(e,n){let t=Ki;if(n.customWorkerPath)if("undefined"==typeof importScripts)console.warn("Monaco is not using webworkers for background tasks, and that is needed to support the customWorkerPath flag");else{self.importScripts(n.customWorkerPath);const e=self.customTSWorkerFactory;if(!e)throw new Error(`The script at ${n.customWorkerPath} does not add customTSWorkerFactory to self`);t=e(Ki,ki,ji)}return new t(e,n)}(e,n)))}})();